Re: [PATCH v3 12/35] x86/msi: Provide msi message shadow structs

2022-04-06 Thread Thomas Gleixner
On Wed, Apr 06 2022 at 10:36, Reto Buerki wrote: > While working on some out-of-tree patches, we noticed that assignment to > dmar_subhandle of struct x86_msi_data lead to a QEMU warning about > reserved bits in MSI data being set: > > qemu-system-x86_64: vtd_interrupt_remap_msi: invalid IR MSI (si

Re: [PATCH v3 12/35] x86/msi: Provide msi message shadow structs

2022-04-06 Thread Reto Buerki
While working on some out-of-tree patches, we noticed that assignment to dmar_subhandle of struct x86_msi_data lead to a QEMU warning about reserved bits in MSI data being set: qemu-system-x86_64: vtd_interrupt_remap_msi: invalid IR MSI (sid=256, address=0xfee003d8, data=0x1) This message or

[PATCH v3 12/35] x86/msi: Provide msi message shadow structs

2020-10-24 Thread David Woodhouse
From: Thomas Gleixner Create shadow structs with named bitfields for msi_msg data, address_lo and address_hi and use them in the MSI message composer. Provide a function to retrieve the destination ID. This could be inline, but that'd create a circular header dependency. [dwmw2: fix bitfields n