diff options
author | Tom Lendacky <[email protected]> | 2023-01-17 04:40:38 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-01-20 10:41:57 +0100 |
commit | 05d227efbd8d3ce28c3a87b66b5794235be197f4 (patch) | |
tree | 0f3677b10f52bac4763058a74e8bda2c18c4f4fa /tools/perf/scripts/python | |
parent | 080920e52148b4fbbf9360d5345fdcd7846e4841 (diff) |
iommu/amd: Do not clear event/ppr log buffer when snp is enabled
Current code clears event log and ppr log entry after processing it due
to hardware errata ([1] erratum #732, #733). We do not have hardware
issue on SNP enabled system.
When SNP is enabled, the event logs, PPR log and completion wait buffer
are read-only to the host (see SNP FW ABI spec [2]). Clearing those entry
will result in a kernel #PF for an RMP violation. Hence do not clear
event and ppr log entry after processing it.
[1] http://developer.amd.com/wordpress/media/2012/10/48931_15h_Mod_10h-1Fh_Rev_Guide.pdf
[2] https://www.amd.com/system/files/TechDocs/56860.pdf
Signed-off-by: Tom Lendacky <[email protected]>
Signed-off-by: Vasant Hegde <[email protected]>
Reviewed-by: Suravee Suthikulpanit <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions