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.ku...@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