[PATCH] powerpc/mm: Move hpte encode routine to platform specific files

Balbir Singh bsingharora at gmail.com
Fri Nov 11 10:54:49 AEDT 2016



On 10/11/16 20:24, Aneesh Kumar K.V wrote:
> They differ between powernv and pseries. While we are at it copy
> a version for ps3 too. For now this is same as what we have for pSeries.
> 
> Fixes: 50de596de8be6 ("powerpc/mm/hash: Add support for Power9 Hash")
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>


I have not looked at the patch closely, but do we want all of this
duplication. I was wondering if instead of

cpu_has_feature() we could firmware_has_feature() for now


Balbir


More information about the Linuxppc-dev mailing list