[v9,1/8] powerpc: introduce pte_set_hidx() helper

Michael Ellerman patch-notifications at ellerman.id.au
Thu Jan 18 00:30:00 AEDT 2018


On Mon, 2017-11-06 at 08:50:45 UTC, Ram Pai wrote:
> Introduce pte_set_hidx().It sets the (H_PAGE_F_SECOND|H_PAGE_F_GIX) bits
> at the appropriate location in the PTE of 4K PTE. For 64K PTE, it sets
> the bits in the second part of the PTE. Though the implementation for
> the former just needs the slot parameter, it does take some additional
> parameters to keep the prototype consistent.
> 
> This function will be handy as we work towards re-arranging the bits in
> the subsequent patches.
> 
> Acked-by: Balbir Singh <bsingharora at gmail.com>
> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
> Signed-off-by: Ram Pai <linuxram at us.ibm.com>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/59aa31fd6f964ac63ac9cb90c8468f

cheers


More information about the Linuxppc-dev mailing list