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

Paul Mackerras paulus at ozlabs.org
Fri Nov 11 12:07:11 AEDT 2016


On Thu, Nov 10, 2016 at 02:54:23PM +0530, 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")

This seems like a lot of churn on top of a lot of churn.

I think we should use the old format almost everywhere, and just
convert at the last minute in functions such as native_hpte_insert(),
native_hpte_invalidate(), etc.

Paul.


More information about the Linuxppc-dev mailing list