diff options
| author | Jan Beulich | 2015-06-02 17:07:01 +0200 |
|---|---|---|
| committer | Stefano Stabellini | 2015-06-02 17:07:01 +0200 |
| commit | 0e7ef22136955169a0fd03c4e41af95662352733 (patch) | |
| tree | 86f3231c8611a3966ee917c15e91a51265362095 /scripts/checkpatch.pl | |
| parent | xen/pt: correctly handle PM status bit (diff) | |
| download | qemu-0e7ef22136955169a0fd03c4e41af95662352733.tar.gz qemu-0e7ef22136955169a0fd03c4e41af95662352733.tar.xz qemu-0e7ef22136955169a0fd03c4e41af95662352733.zip | |
xen/pt: split out calculation of throughable mask in PCI config space handling
This is just to avoid having to adjust that calculation later in
multiple places.
Note that including ->ro_mask in get_throughable_mask()'s calculation
is only an apparent (i.e. benign) behavioral change: For r/o fields it
doesn't matter > whether they get passed through - either the same flag
is also set in emu_mask (then there's no change at all) or the field is
r/o in hardware (and hence a write won't change it anyway).
This is a preparatory patch for XSA-131.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
