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

From: Balbir Singh <[email-masked]>
Date: Fri, 11 Nov 2016 10:54:49 +1100

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 <[email-masked]>

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