diff options
author | Vasant Hegde <vasant.hegde@amd.com> | 2023-06-28 07:45:53 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-07-14 16:21:41 +0200 |
commit | f52c895a2de8697108c6385e9695061585690dc8 (patch) | |
tree | 70dfa242d514d29e601702d98195d4969e5039a8 /fs/nfsd/blocklayoutxdr.c | |
parent | iommu/amd: Disable PPR log/interrupt in iommu_disable() (diff) | |
download | linux-f52c895a2de8697108c6385e9695061585690dc8.tar.xz linux-f52c895a2de8697108c6385e9695061585690dc8.zip |
iommu/amd: Consolidate PPR log enablement
Move PPR log interrupt bit setting to iommu_enable_ppr_log(). Also
rearrange iommu_enable_ppr_log() such that PPREn bit is enabled
before enabling PPRLog and PPRInt bits. So that when PPRLog bit is
set it will clear the PPRLogOverflow bit and sets the PPRLogRun bit
in the IOMMU Status Register [MMIO Offset 2020h].
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Link: https://lore.kernel.org/r/20230628054554.6131-3-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'fs/nfsd/blocklayoutxdr.c')
0 files changed, 0 insertions, 0 deletions