Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a42a984c authored by Adrian Huang's avatar Adrian Huang Committed by Greg Kroah-Hartman
Browse files

iommu/amd: Fix the configuration of GCR3 table root pointer



[ Upstream commit c20f36534666e37858a14e591114d93cc1be0d34 ]

The SPA of the GCR3 table root pointer[51:31] masks 20 bits. However,
this requires 21 bits (Please see the AMD IOMMU specification).
This leads to the potential failure when the bit 51 of SPA of
the GCR3 table root pointer is 1'.

Signed-off-by: default avatarAdrian Huang <ahuang12@lenovo.com>
Fixes: 52815b75 ("iommu/amd: Add support for IOMMUv2 domain mode")
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2567276b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment