diff options
author | Jan Beulich <JBeulich@suse.com> | 2017-09-25 11:01:01 +0300 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-09-28 15:26:25 +0300 |
commit | 8c28ef3f1c1c57b6f468343d5959e5125b30334d (patch) | |
tree | d0ed3d8dbfbd919dabab198cf9187c77e23177b5 /drivers/xen/swiotlb-xen.c | |
parent | 51a9a8284e43642fc3e85810fd54f4c245d23a14 (diff) | |
download | linux-8c28ef3f1c1c57b6f468343d5959e5125b30334d.tar.xz |
xen-pciback: relax BAR sizing write value check
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 <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers/xen/swiotlb-xen.c')
0 files changed, 0 insertions, 0 deletions