diff options
author | Yi Liu <[email protected]> | 2023-10-24 08:00:11 -0700 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2023-10-26 11:16:11 -0300 |
commit | a2cdecdf9d234455fdfc8f539bbf5818711bc29d (patch) | |
tree | cdc9e010626db90fe25ce92e549d7a710d779cb9 /tools/perf/util/trace-event-scripting.c | |
parent | 55a01657cbee07d772b1d3cb144f867a326e4673 (diff) |
iommu/vt-d: Enhance capability check for nested parent domain allocation
This adds the scalable mode check before allocating the nested parent domain
as checking nested capability is not enough. User may turn off scalable mode
which also means no nested support even if the hardware supports it.
Fixes: c97d1b20d383 ("iommu/vt-d: Add domain_alloc_user op")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Yi Liu <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions