On Fri, 1 Apr 2022 at 17:11, Wei Huang <wei.hua...@amd.com> wrote: > > > > On 3/31/22 21:09, Jason Wang wrote: > > On Fri, Apr 1, 2022 at 2:30 AM Peter Xu <pet...@redhat.com> wrote: > >> > >> On Thu, Mar 31, 2022 at 05:01:52PM +0100, Peter Maydell wrote: > >>> (4) The claimed bit layout of the event structure doesn't > >>> match up with the one in the spec document I found. This > >>> could be because I found a document for some other bit > >>> of hardware, of course. > Could you elaborate? Are you referring to amdvi_setevent_bits(evt, info, > 55, 8)?
https://www.amd.com/system/files/TechDocs/48882_IOMMU.pdf was the spec I found through random googling, but the event structure layouts in chapter 2.5 of that document aren't at all like the one that amdvi_encode_event() is using. Maybe that's the wrong spec, as I say. thanks -- PMM