summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>2024-11-18 05:49:31 +0000
committerJoerg Roedel <jroedel@suse.de>2024-12-18 09:37:38 +0100
commit7bea695ada0e84c40685551159068996cea29ef8 (patch)
treeff73f03a132c1272554475afb31e60d0535a38ae /tools
parent82582f85ed22ba6cd27fea76b4248745f3b9fdf7 (diff)
iommu/amd: Introduce struct ivhd_dte_flags to store persistent DTE flags
During early initialization, the driver parses IVRS IVHD block to get list of downstream devices along with their DTE flags (i.e INITPass, EIntPass, NMIPass, SysMgt, Lint0Pass, Lint1Pass). This information is currently store in the device DTE, and needs to be preserved when clearing and configuring each DTE, which makes it difficult to manage. Introduce struct ivhd_dte_flags to store IVHD DTE settings for a device or range of devices, which are stored in the amd_ivhd_dev_flags_list during initial IVHD parsing. Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Link: https://lore.kernel.org/r/20241118054937.5203-4-suravee.suthikulpanit@amd.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions