Home
last modified time | relevance | path

Searched refs:base_pg_shift (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/ppc/
H A Dspapr_softmmu.c446 unsigned base_pg_shift; in rehash_hpte() local
455 base_pg_shift = ppc_hash64_hpte_page_shift_noslb(cpu, pte0, pte1); in rehash_hpte()
456 assert(base_pg_shift); /* H_ENTER shouldn't allow a bad encoding */ in rehash_hpte()
457 avpn = HPTE64_V_AVPN_VAL(pte0) & ~(((1ULL << base_pg_shift) - 1) >> 23); in rehash_hpte()
470 if (base_pg_shift < 23) { in rehash_hpte()
471 offset |= ((vsid ^ pteg) & old_hash_mask) << base_pg_shift; in rehash_hpte()
474 hash = vsid ^ (offset >> base_pg_shift); in rehash_hpte()
481 if (base_pg_shift < 23) { in rehash_hpte()
483 << base_pg_shift; in rehash_hpte()
486 hash = vsid ^ (vsid << 25) ^ (offset >> base_pg_shift); in rehash_hpte()