Re: [PATCH v1 1/2] util: Add functions for s390x mmio read/write

2025-03-27 Thread Farhan Ali
On 3/27/2025 12:20 PM, Stefan Hajnoczi wrote: On Wed, Mar 26, 2025 at 11:10:06AM -0700, Farhan Ali wrote: Starting with z15 (or newer) we can execute mmio instructions from userspace. On older platforms where we don't have these instructions available we can fallback to using system calls to a

Re: [PATCH v1 1/2] util: Add functions for s390x mmio read/write

2025-03-27 Thread Stefan Hajnoczi
On Wed, Mar 26, 2025 at 11:10:06AM -0700, Farhan Ali wrote: > Starting with z15 (or newer) we can execute mmio > instructions from userspace. On older platforms > where we don't have these instructions available > we can fallback to using system calls to access > the PCI mapped resources. > > This

[PATCH v1 1/2] util: Add functions for s390x mmio read/write

2025-03-26 Thread Farhan Ali
Starting with z15 (or newer) we can execute mmio instructions from userspace. On older platforms where we don't have these instructions available we can fallback to using system calls to access the PCI mapped resources. This patch adds helper functions for mmio reads and writes for s390x. Signed-