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_vhyp_mmu.c442 unsigned base_pg_shift; in rehash_hpte() local
451 base_pg_shift = ppc_hash64_hpte_page_shift_noslb(cpu, pte0, pte1); in rehash_hpte()
452 assert(base_pg_shift); /* H_ENTER shouldn't allow a bad encoding */ in rehash_hpte()
453 avpn = HPTE64_V_AVPN_VAL(pte0) & ~(((1ULL << base_pg_shift) - 1) >> 23); in rehash_hpte()
466 if (base_pg_shift < 23) { in rehash_hpte()
467 offset |= ((vsid ^ pteg) & old_hash_mask) << base_pg_shift; in rehash_hpte()
470 hash = vsid ^ (offset >> base_pg_shift); in rehash_hpte()
477 if (base_pg_shift < 23) { in rehash_hpte()
479 << base_pg_shift; in rehash_hpte()
482 hash = vsid ^ (vsid << 25) ^ (offset >> base_pg_shift); in rehash_hpte()