Re: [PATCH v5 3/7] x86/hvm: Allow access to registers on the same page as MSI-X table

2024-04-29 Thread Jan Beulich
On 26.04.2024 17:26, Marek Marczykowski-Górecki wrote: > On Thu, Apr 25, 2024 at 01:15:34PM +0200, Jan Beulich wrote: >> On 13.03.2024 16:16, Marek Marczykowski-Górecki wrote: >>> +hwaddr = fix_to_virt(fixmap_idx) + PAGE_OFFSET(address); >>> + >>> +switch ( len ) >>> +{ >>> +case

Re: [PATCH v5 3/7] x86/hvm: Allow access to registers on the same page as MSI-X table

2024-04-26 Thread Marek Marczykowski-Górecki
On Thu, Apr 25, 2024 at 01:15:34PM +0200, Jan Beulich wrote: > On 13.03.2024 16:16, Marek Marczykowski-Górecki wrote: > > Some devices (notably Intel Wifi 6 AX210 card) keep auxiliary registers > > on the same page as MSI-X table. Device model (especially one in > > stubdomain) cannot really

Re: [PATCH v5 3/7] x86/hvm: Allow access to registers on the same page as MSI-X table

2024-04-25 Thread Jan Beulich
On 13.03.2024 16:16, Marek Marczykowski-Górecki wrote: > Some devices (notably Intel Wifi 6 AX210 card) keep auxiliary registers > on the same page as MSI-X table. Device model (especially one in > stubdomain) cannot really handle those, as direct writes to that page is > refused (page is on the

[PATCH v5 3/7] x86/hvm: Allow access to registers on the same page as MSI-X table

2024-03-13 Thread Marek Marczykowski-Górecki
Some devices (notably Intel Wifi 6 AX210 card) keep auxiliary registers on the same page as MSI-X table. Device model (especially one in stubdomain) cannot really handle those, as direct writes to that page is refused (page is on the mmio_ro_ranges list). Instead, extend msixtbl_mmio_ops to handle