powerpc/32s: In add_hash_page(), calculate VSID later
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 24 Nov 2020 19:51:56 +0000 (19:51 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 9 Dec 2020 12:48:14 +0000 (23:48 +1100)
commitfec6166b44ded68e68144144a02e498580118f1a
tree37a145e67b338ba97682c4e47a05648334e4fb28
parentc5ccb4e78968fbe64f938a5a012fc8ec25cafabf
powerpc/32s: In add_hash_page(), calculate VSID later

VSID is only for create_hpte(). When _PAGE_HASHPTE is
already set, add_hash_page() bails out without calling
create_hpte() and doesn't need the value of VSID.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/3907199974c89b85a3441cf3f528751173b7649c.1606247495.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/book3s32/hash_low.S