From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753817AbcKRQni (ORCPT ); Fri, 18 Nov 2016 11:43:38 -0500 Received: from foss.arm.com ([217.140.101.70]:53042 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751971AbcKRQnf (ORCPT ); Fri, 18 Nov 2016 11:43:35 -0500 Subject: Re: [PATCH v8 12/16] drivers: iommu: arm-smmu: split probe functions into DT/generic portions To: Will Deacon , Lorenzo Pieralisi References: <20161116152936.22955-1-lorenzo.pieralisi@arm.com> <20161116152936.22955-13-lorenzo.pieralisi@arm.com> <20161118160006.GW13470@arm.com> Cc: iommu@lists.linux-foundation.org, Hanjun Guo , Marc Zyngier , Joerg Roedel , "Rafael J. Wysocki" , Tomasz Nowicki , Jon Masters , Eric Auger , Sinan Kaya , Nate Watterson , Prem Mallappa , Dennis Chen , linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org From: Robin Murphy Message-ID: <28abb42b-4a93-fbb0-d8bb-e6b82b2b992f@arm.com> Date: Fri, 18 Nov 2016 16:43:30 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161118160006.GW13470@arm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/11/16 16:00, Will Deacon wrote: > On Wed, Nov 16, 2016 at 03:29:32PM +0000, Lorenzo Pieralisi wrote: >> Current ARM SMMU probe functions intermingle HW and DT probing >> in the initialization functions to detect and programme the ARM SMMU >> driver features. In order to allow probing the ARM SMMU with other >> firmwares than DT, this patch splits the ARM SMMU init functions into >> DT and HW specific portions so that other FW interfaces (ie ACPI) can >> reuse the HW probing functions and skip the DT portion accordingly. >> >> This patch implements no functional change, only code reshuffling. >> >> Signed-off-by: Lorenzo Pieralisi >> Reviewed-by: Tomasz Nowicki >> Tested-by: Hanjun Guo >> Tested-by: Tomasz Nowicki >> Cc: Will Deacon >> Cc: Hanjun Guo >> Cc: Robin Murphy >> --- >> drivers/iommu/arm-smmu.c | 62 +++++++++++++++++++++++++++++------------------- >> 1 file changed, 37 insertions(+), 25 deletions(-) > > Reviewed-by: Will Deacon > > Although I'd also like Robin to have a look at this. Sorry, I've been slow this week. Having finally got round to taking a proper look, I swear this seems even tidier than the last version I looked at closely. It doesn't break DT boot on my Juno, either. Reviewed-by: Robin Murphy > > Will >