]> Git Repo - linux.git/commit
powerpc/pseries: Read TLB Block Invalidate Characteristics
authorLaurent Dufour <[email protected]>
Fri, 20 Sep 2019 13:05:22 +0000 (15:05 +0200)
committerMichael Ellerman <[email protected]>
Tue, 24 Sep 2019 09:58:42 +0000 (19:58 +1000)
commit1211ee61b4a8e60d6dc77211cdcf01906915bfba
tree9384fb9c94a3d2589242afcced1abba2fd658c2f
parent3a83f677a6eeff65751b29e3648d7c69c3be83f3
powerpc/pseries: Read TLB Block Invalidate Characteristics

The PAPR document specifies the TLB Block Invalidate Characteristics
which tells for each pair of segment base page size, actual page size,
the size of the block the hcall H_BLOCK_REMOVE supports.

These characteristics are loaded at boot time in a new table
hblkr_size. The table is separate from the mmu_psize_def because this
is specific to the pseries platform.

A new init function, pseries_lpar_read_hblkrm_characteristics() is
added to read the characteristics. It is called from
pSeries_setup_arch().

Fixes: ba2dd8a26baa ("powerpc/pseries/mm: call H_BLOCK_REMOVE")
Signed-off-by: Laurent Dufour <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/platforms/pseries/pseries.h
arch/powerpc/platforms/pseries/setup.c
This page took 0.058412 seconds and 4 git commands to generate.