Re: [PATCH] iommu/iova: Don't BUG on invalid PFNs

2020-06-30 Thread Joerg Roedel
On Tue, Jun 02, 2020 at 02:08:18PM +0100, Robin Murphy wrote: > Unlike the other instances which represent a complete loss of > consistency within the rcache mechanism itself, or a fundamental > and obvious misconfiguration by an IOMMU driver, the BUG_ON() in > iova_magazine_free_pfns() can be prov

Re: [PATCH] iommu/iova: Don't BUG on invalid PFNs

2020-06-10 Thread Robin Murphy
On 2020-06-10 10:27, gup...@codeaurora.org wrote: On 2020-06-02 18:38, Robin Murphy wrote: Unlike the other instances which represent a complete loss of consistency within the rcache mechanism itself, or a fundamental and obvious misconfiguration by an IOMMU driver, the BUG_ON() in iova_magazine

Re: [PATCH] iommu/iova: Don't BUG on invalid PFNs

2020-06-10 Thread guptap
On 2020-06-02 18:38, Robin Murphy wrote: Unlike the other instances which represent a complete loss of consistency within the rcache mechanism itself, or a fundamental and obvious misconfiguration by an IOMMU driver, the BUG_ON() in iova_magazine_free_pfns() can be provoked at more or less any ti

[PATCH] iommu/iova: Don't BUG on invalid PFNs

2020-06-02 Thread Robin Murphy
Unlike the other instances which represent a complete loss of consistency within the rcache mechanism itself, or a fundamental and obvious misconfiguration by an IOMMU driver, the BUG_ON() in iova_magazine_free_pfns() can be provoked at more or less any time in a "spooky action-at-a-distance" manne