Re: [PATCH RFC v9 47/51] iommu/amd: Add IOMMU_SNP_SHUTDOWN support

From: Suthikulpanit, Suravee
Date: Thu Sep 07 2023 - 11:36:36 EST


Mike / Ashish

FYI, you might need to start including the change from this patch

https://lore.kernel.org/linux-iommu/ZPiAUx9Qysw0AKNq@xxxxxxxx/T/

in this series since Christoph would like to remove the code from the current upstream, and re-introduce the change within this series instead.

Regards,
Suravee

On 6/12/2023 11:25 AM, Michael Roth wrote:
From: Ashish Kalra<ashish.kalra@xxxxxxx>

Add a new IOMMU API interface amd_iommu_snp_disable() to transition
IOMMU pages to Hypervisor state from Reclaim state after SNP_SHUTDOWN_EX
command. Invoke this API from the CCP driver after SNP_SHUTDOWN_EX
command.

Signed-off-by: Ashish Kalra<ashish.kalra@xxxxxxx>
Signed-off-by: Michael Roth<michael.roth@xxxxxxx>