Skip to content

iommu/amd: Use MAX buffer size when SNP is enabled on Family 0x19

Vasant Hegde linux-iommu 1 version Applied

Status from this message: Applied to fixes, thanks Vasant.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2iommu/amd: Use maximum Event log buffer size when SNP is enabled on Family 0x19drivers/iommu/amd/amd_iommu.h drivers/iommu/amd/amd_iommu_types.h drivers/iommu/amd/init.c +1 more+86 -380 replies
2/2iommu/amd: Use maximum PPR log buffer size when SNP is enabled on Family 0x19drivers/iommu/amd/amd_iommu.h drivers/iommu/amd/amd_iommu_types.h drivers/iommu/amd/init.c +1 more+24 -90 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchDheeraj Kumar Srivastava
SeriesT-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] iommu/amd: Use MAX buffer size when SNP is enabled on Family 0x19

This series addresses CVE-2023-20585 [1] by increasing the AMD IOMMU Event log and PPR log buffer sizes to the maximum supported value (512K) on affected CPU families when SNP is enabled.

Use MAX buffer size when SNP is enabled on Milan/Genoa. Impacted buffers:
- Milan : Event log (PPR/GALog is not supported when SNP is enabled)
- Genoa : Event and PPR log (GALog is not supported when SNP is enabled)

[1] https://www.amd.com/en/resources/product-security/bulletin/amd-sb-3016.html

Cc Borislav Petkov <[email protected]>
Cc Suravee Suthikulpanit <[email protected]>
Cc Joerg Roedel <[email protected]>

Vasant Hegde (2):
iommu/amd: Use maximum Event log buffer size when SNP is enabled on Family 0x19 iommu/amd: Use maximum PPR log buffer size when SNP is enabled on Family 0x19

 drivers/iommu/amd/amd_iommu.h       |   3 +
 drivers/iommu/amd/amd_iommu_types.h |  21 +++--
 drivers/iommu/amd/init.c            | 123 ++++++++++++++++++++--------
 drivers/iommu/amd/iommu.c           |   2 +-
 drivers/iommu/amd/ppr.c             |   8 +-
 5 files changed, 110 insertions(+), 47 deletions(-)
Signature · 1 line
2.31.1