Re: [PATCH v2 2/2] iommu/vt-d: skip invalid RMRR entries

2020-01-10 Thread Chen, Yian
Hi Barret, this looks good. thanks Yian On 1/7/2020 11:16 AM, Barret Rhoden wrote: The VT-d docs specify requirements for the RMRR entries base and end (called 'Limit' in the docs) addresses. This commit will cause the DMAR processing to skip any RMRR entries that do not meet these

Re: [PATCH v2 2/2] iommu/vt-d: skip invalid RMRR entries

2020-01-08 Thread Barret Rhoden via iommu
On 1/7/20 8:27 PM, Lu Baolu wrote: diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index a8bb458845bc..32c3c6338a3d 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c @@ -4315,13 +4315,25 @@ static void __init init_iommu_pm_ops(void)   static inline

Re: [PATCH v2 2/2] iommu/vt-d: skip invalid RMRR entries

2020-01-07 Thread Lu Baolu
Hi, On 1/8/20 3:16 AM, Barret Rhoden via iommu wrote: The VT-d docs specify requirements for the RMRR entries base and end (called 'Limit' in the docs) addresses. This commit will cause the DMAR processing to skip any RMRR entries that do not meet these requirements and mark the firmware as

[PATCH v2 2/2] iommu/vt-d: skip invalid RMRR entries

2020-01-07 Thread Barret Rhoden via iommu
The VT-d docs specify requirements for the RMRR entries base and end (called 'Limit' in the docs) addresses. This commit will cause the DMAR processing to skip any RMRR entries that do not meet these requirements and mark the firmware as tainted, since the firmware is giving us junk.