Skip to contentSkip to conversation

granting access to MSI-X table and pending bit array

DISCUSSION Jan Beulich 1 participant 1 message Aug 5, 2010

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines
Quoted 1 line
Quoted 1 line

"Jiang, Yunhong" 07/15/10 10:24 AM >>>

Will the small window for qemu exists still? QEMU may setup the mapping before the msix_capability_init().

Yes, I think so, as Dom0 still is permitted to map this area writable (revoking this requires a qemu fix to be committed at the same time, or a prerequisite fix to make qemu map this area read-only, which I think doesn't fit well within the MMIO model used there).

Quoted 1 line

BTW, I'm not sure if mapping as RO this will solve the sharing issue (i.e. the PBA or table entry share with other resource).

Not if the device meets the standard's requirement of these two tables being allowed to share a page between them, but not with any other resource.

Jan