diff options
author | David Woodhouse <[email protected]> | 2020-11-26 11:13:51 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-11-26 14:50:24 +0000 |
commit | d76b42e92780c3587c1a998a3a943b501c137553 (patch) | |
tree | 17299f741bc4c68f792f2d6ddfe8d0bcd1cdd1ff /scripts/clang-tools/gen_compile_commands.py | |
parent | e2be2a833ab5338fa5b8b99ba622b911d96f1795 (diff) |
iommu/vt-d: Don't read VCCAP register unless it exists
My virtual IOMMU implementation is whining that the guest is reading a
register that doesn't exist. Only read the VCCAP_REG if the corresponding
capability is set in ECAP_REG to indicate that it actually exists.
Fixes: 3375303e8287 ("iommu/vt-d: Add custom allocator for IOASID")
Signed-off-by: David Woodhouse <[email protected]>
Reviewed-by: Liu Yi L <[email protected]>
Cc: [email protected] # v5.7+
Acked-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions