Skip to contentSkip to conversation

xen-pciback: relax BAR sizing write value check

PATCH Applied Juergen Gross 2 participants 2 messages Sep 26, 2017 – Sep 27, 2017 1 message not in the archive

lore
Share & tools
lore

Juergen Gross

author Reviewed-by
#1 lore raw
In reply to a message not in the archive
Quoted 6 lines · Jan Beulich

Just like done in d2bd05d88d ("xen-pciback: return proper values during BAR sizing") for the ROM BAR, ordinary ones also shouldn't compare the written value directly against ~0, but consider the r/o bits at the bottom (if any).

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw
Quoted 8 lines · Juergen Gross
Quoted 6 lines · Jan Beulich

Just like done in d2bd05d88d ("xen-pciback: return proper values during BAR sizing") for the ROM BAR, ordinary ones also shouldn't compare the written value directly against ~0, but consider the r/o bits at the bottom (if any).

Applied to for-linus-14b

-boris

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel