Re: [PATCH 1/1] iommu/amd: Fix the configuration of GCR3 table root pointer

2020-02-19 Thread Joerg Roedel
On Fri, Feb 14, 2020 at 06:44:51PM +0800, Adrian Huang wrote: > From: Adrian Huang > > 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

[PATCH 1/1] iommu/amd: Fix the configuration of GCR3 table root pointer

2020-02-14 Thread Adrian Huang
From: Adrian Huang 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: Adrian Huang ---