[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3] x86/hyperv: use dynamically allocated page for hypercalls
- To: Jan Beulich <jbeulich@xxxxxxxx>, Ariadne Conill <ariadne@ariadne.space>
- From: Alejandro Vallejo <agarciav@xxxxxxx>
- Date: Tue, 29 Apr 2025 11:48:14 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=suse.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Sttm8s1uGCTttkHZMDDpjqYWTyRVWRUuSomde1IFgaQ=; b=AJTrB2pjOq+t6g6uHKey1SCWRRJ6VSk5FMIe+q0Jn8xHyTbJzxH3djyDYL7SkZesVlhG1O78zssRDSBOvpQE2S+Orj+g0BWKUA1kRRoJisMjz/7mK/JooA9rmxOr617PZxfFtpx4B0vo7bu6n/lyMl1JX+uMg1xZgqLm9HWkdDN33peNGgTbWPvNxcwNe+GvBZ5JjOVtqvxLuKYuZa1U+igs/C091by2xTKXt0VA5GILZXF8LbLL+yvjsgoZ0DFlQJGJBdgEtGuhS0AInd9RgaHs2LoN+T1hkHZ2XCcgCxgQDIIAzICF3odK2qfxDps+bZUhkPXpqndI3sGivlg6uQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=VMQKR4LHtvr4M13atWuzMA+DRXHYFKeVY4H2yHpWGMqN+f0z57husT7g54PfBtKMNqWng1mgdkngmsIds4y35QmrA2pQvSs+T5MTuLOuDVYLblH4MavAKdsJx3f5HvADsjIVHCHeFFqeFuxdLCZ6ZtXKQ2juU4G/F8RIy5m48C7XytRGreBOFocGnMjZjMLTkZmaTAwweNlOfnBIIzuLNTFMcg6ZhS4WcfNbedZAd5WyqEcuRmAnb6cOYokesbH1J1e84Txpq5GwbU5yZbJa9bU836z6vbQTI/qEF1ghOJeZDrEtiQecGdamZrW4RyRbEduyK3ELX15agIV/24yOtg==
- Cc: Paul Durrant <paul@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, "Alexander M . Merritt" <alexander@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Tue, 29 Apr 2025 10:48:22 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Tue Apr 29, 2025 at 9:28 AM BST, Jan Beulich wrote:
> On 28.04.2025 21:57, Ariadne Conill wrote:
>> Previously Xen placed the hypercall page at the highest possible MFN,
>> but this caused problems on systems where there is more than 36 bits
>> of physical address space.
>
> Hmm, I should have asked already on the earlier version: What kinds of
> problems are these, beyond ...
>
>> In general, it also seems unreliable to assume that the highest possible
>> MFN is not already reserved for some other purpose.
>
> ... this particular aspect? I find it puzzling that such problems would
> depend on the number of physical address bits.
>
> Jan
Pagefault on access (due to reserved bits being set) on access to the
hypercall page. The available guest-physical address space doesn't seem
to be as wide as advertised, though I didn't carry enough tests to
single this as the only explanation. Seeing how we don't really know
what's already on the last mfn this seems like a strict improvement
irrespective of the actual cause of the fault.
Cheers,
Alejandro
|