[lvc-project] Fwd: [PATCH] iommu/io-pgtable-arm: Remove iommu_dev==NULL special case
Alexey Khoroshilov
khoroshilov at ispras.ru
Wed Sep 7 17:45:57 MSK 2022
-------- Forwarded Message --------
Subject: Re: [PATCH] iommu/io-pgtable-arm: Remove iommu_dev==NULL
special case
Date: Wed, 7 Sep 2022 14:19:04 +0200
From: Joerg Roedel <joro at 8bytes.org>
To: Robin Murphy <robin.murphy at arm.com>
CC: will at kernel.org, iommu at lists.linux.dev, subkhankulov at ispras.ru,
khoroshilov at ispras.ru, linux-kernel at vger.kernel.org
On Mon, Aug 15, 2022 at 05:15:55PM +0100, Robin Murphy wrote:
> The special case to allow iommu_dev==NULL in __arm_lpae_alloc_pages() is
> confusing to static checkers (and possibly readers in general), since
> it's not obvious that that is only intended for the selftests. However
> it only serves to get around the dev_to_node() call, and we can easily
> fake up enough to make that work anyway, so let's simply remove this
> consideration from the normal flow and punt the responsibility over to
> the test harness itself.
>
> Reported-by: Rustam Subkhankulov <subkhankulov at ispras.ru>
> Signed-off-by: Robin Murphy <robin.murphy at arm.com>
Applied, thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxtesting.org/pipermail/lvc-project/attachments/20220907/09b226e9/attachment.html>
More information about the lvc-project
mailing list