xen-pciback: relax BAR sizing write value check
Juergen Gross
Reviewed-byQuoted 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).Signed-off-by Jan Beulich <[email protected]>
Reviewed-by Juergen Gross <[email protected]>
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Boris Ostrovsky
AppliedQuoted 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).Signed-off-by Jan Beulich <[email protected]>Reviewed-by Juergen Gross <[email protected]>
Applied to for-linus-14b
-boris
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel