[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limitations for Running Xen on KVM Arm64


  • To: Julien Grall <julien@xxxxxxx>, Mohamed Mediouni <mohamed@xxxxxxxxxxxxxxxx>
  • From: "haseeb.ashraf@xxxxxxxxxxx" <haseeb.ashraf@xxxxxxxxxxx>
  • Date: Tue, 4 Nov 2025 07:50:53 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none
  • 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=Kvm+t/xGsiM+lbZlrTAwyM+EuKzV8yz6WhcROFyS78o=; b=scbDI8RzQ30zbgII8g4GWrDvKVuEi19ESap5T48h99izYzlCFyK6SnwbBWtOAm3Ud96tV6pegB5SmyMMjAwo1N2+tapoGz966nx41oLeibnF+aVpWPKx6AVVP7RN3NnDNl2mkUm3qbWY0XHKnZw0UgSoBFm9PYkFSRZ+8ES4EwuG6dXToflr7HDLH2DCtYkgUOhCMKUqImQG04613f7czAnYkAr2RVy0e+SnWRA4vYZYFLvYqh/1zOvAYco9ybYFj70e5D/nwRJk8GMbyxeviFypyox+c/Pzt201OsRXzyQB4K7BfcrEZoS7+Xn4JzejalU0UstXMreujkByP14x8A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Fl8jtECy71FC3NObj1odYS+78KJ7ek287xIyPgIvPZ9wRNc8mKxqV9UNkLq4tZxqGN5f8M5GYhPL6jWlpaNtatkpPjDXJF5YljX2+hNBTmN/svEohIjQlZ6kUtlWsJHkCts4kyio+Y9WVne2HjOg44CUUpGrby5B18MTpEbBWYRYGGI+GQFS90b3TF4BBqrdsvDkbYRaSdNIp9TYmpU9WnwwWN+BHFDKbiwkhKLZ/QBAb8lypGjw4VnbX2IkWk8HnE7oowNczrBuD3iUyWz+TGPuqCIwGUBmjAtPfa1I4Xno21opRw0VrTWJWgNaH9A2bnLxMNwbeI0AfCOlFp/Gfw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "Volodymyr_Babchuk@xxxxxxxx" <Volodymyr_Babchuk@xxxxxxxx>, "Driscoll, Dan" <dan.driscoll@xxxxxxxxxxx>, "Bachtel, Andrew" <andrew.bachtel@xxxxxxxxxxx>, "fahad.arslan@xxxxxxxxxxx" <fahad.arslan@xxxxxxxxxxx>, "noor.ahsan@xxxxxxxxxxx" <noor.ahsan@xxxxxxxxxxx>, "brian.sheppard@xxxxxxxxxxx" <brian.sheppard@xxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>
  • Delivery-date: Tue, 04 Nov 2025 07:51:37 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Msip_labels: MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_Enabled=True;MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_SiteId=38ae3bcd-9579-4fd4-adda-b42e1495d55a;MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_SetDate=2025-11-04T07:50:52.767Z;MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_Name=C1 - Restricted;MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_ContentBits=1;MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_Method=Standard;
  • Thread-index: AQHcSVi3paxtnyIgIkOf6jhuJCbvfrTalv6cgABtkgCAAFoJgIAABxcAgACWJ4CAABonw4ACEJkAgAKjdLSAAEALAIABEzaE
  • Thread-topic: Limitations for Running Xen on KVM Arm64

Hi,

> Does this mean only one ioctl call will be issue per blob will be used?
Yes, one ioctl is issued to add all pages to physmap IOCTL_PRIVCMD_MMAPBATCH_V2 then all pages are removed from physmap as a result of munmap().

> At least to me, it feels like switching to TLBI range (or a series os IPAS2E1IS) is an easier win. But if you feel like doing the larger rework, I would be happy to have a look to check whether it would be an acceptable change for upstream.
Thank you. Yes, I agree. I just wanted a solution that also works for older CPUs. A series of IPAS2E1IS can work for older CPUs but there will be a lot of invocations (222815 * 4K, using the same example). Although, each invocation would be much less costly as compared to VMALLS12E1IS, so still seems like a viable solution. I shall evaluate this and let you know.

> IPAS2E1IS only allows you to invalidate one address at the time and is available on all processors. The R version is only available when the processor support TLBI range and allow you to invalidate multiple contiguous address.
Thanks, got it.

Regards,
Haseeb


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.