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 <[email protected]> > Reviewed-by: Tomasz Nowicki <[email protected]> > Tested-by: Hanjun Guo <[email protected]> > Tested-by: Tomasz Nowicki <[email protected]> > Cc: Will Deacon <[email protected]> > Cc: Hanjun Guo <[email protected]> > Cc: Robin Murphy <[email protected]> > --- > drivers/iommu/arm-smmu.c | 62 > +++++++++++++++++++++++++++++------------------- > 1 file changed, 37 insertions(+), 25 deletions(-)
Reviewed-by: Will Deacon <[email protected]> Although I'd also like Robin to have a look at this. Will

