mmu.h (2ac5e38ea4203852d6e99edd3cf11f044b0a409f) mmu.h (d7cceda96badc1bd444cff27ab9c375a1277c1e3)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_POWERPC_MMU_H_
3#define _ASM_POWERPC_MMU_H_
4#ifdef __KERNEL__
5
6#include <linux/types.h>
7
8#include <asm/asm-const.h>

--- 34 unchanged lines hidden (view full) ---

43 * tlbie* instructions
44 */
45#define MMU_FTR_TLBIE_CROP_VA ASM_CONST(0x00008000)
46
47/* Enable use of high BAT registers */
48#define MMU_FTR_USE_HIGH_BATS ASM_CONST(0x00010000)
49
50/* Enable >32-bit physical addresses on 32-bit processor, only used
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_POWERPC_MMU_H_
3#define _ASM_POWERPC_MMU_H_
4#ifdef __KERNEL__
5
6#include <linux/types.h>
7
8#include <asm/asm-const.h>

--- 34 unchanged lines hidden (view full) ---

43 * tlbie* instructions
44 */
45#define MMU_FTR_TLBIE_CROP_VA ASM_CONST(0x00008000)
46
47/* Enable use of high BAT registers */
48#define MMU_FTR_USE_HIGH_BATS ASM_CONST(0x00010000)
49
50/* Enable >32-bit physical addresses on 32-bit processor, only used
51 * by CONFIG_6xx currently as BookE supports that from day 1
51 * by CONFIG_PPC_BOOK3S_32 currently as BookE supports that from day 1
52 */
53#define MMU_FTR_BIG_PHYS ASM_CONST(0x00020000)
54
55/* Enable use of broadcast TLB invalidations. We don't always set it
56 * on processors that support it due to other constraints with the
57 * use of such invalidations
58 */
59#define MMU_FTR_USE_TLBIVAX_BCAST ASM_CONST(0x00040000)

--- 300 unchanged lines hidden ---
52 */
53#define MMU_FTR_BIG_PHYS ASM_CONST(0x00020000)
54
55/* Enable use of broadcast TLB invalidations. We don't always set it
56 * on processors that support it due to other constraints with the
57 * use of such invalidations
58 */
59#define MMU_FTR_USE_TLBIVAX_BCAST ASM_CONST(0x00040000)

--- 300 unchanged lines hidden ---