From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH] iommu/io-pgtable-arm: Fix pgtable allocation in selftest Date: Tue, 19 Jun 2018 11:02:48 +0100 Message-ID: <20180619100247.GE13984@arm.com> References: <20180618112754.24942-1-jean-philippe.brucker@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20180618112754.24942-1-jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Jean-Philippe Brucker Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Mon, Jun 18, 2018 at 12:27:54PM +0100, Jean-Philippe Brucker wrote: > Commit 4b123757eeaa ("iommu/io-pgtable-arm: Make allocations > NUMA-aware") added a NUMA hint to page table allocation, but the pgtable > selftest doesn't provide an SMMU device parameter. Since dev_to_node > doesn't accept a NULL argument, add a special case for selftest. > > Signed-off-by: Jean-Philippe Brucker > --- > drivers/iommu/io-pgtable-arm.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Thanks, I'll pick this up. Will