pgtable.h (d85ddd1318e66c0c2665dbfcbc21a8b66c9152aa) pgtable.h (12564485ed8caac3c18572793ec01330792c7191)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_POWERPC_NOHASH_64_PGTABLE_H
3#define _ASM_POWERPC_NOHASH_64_PGTABLE_H
4/*
5 * This file contains the functions and defines necessary to modify and use
6 * the ppc64 non-hashed page table.
7 */
8

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

77#define vmemmap ((struct page *)VMEMMAP_BASE)
78
79
80/*
81 * Include the PTE bits definitions
82 */
83#include <asm/nohash/pte-book3e.h>
84
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_POWERPC_NOHASH_64_PGTABLE_H
3#define _ASM_POWERPC_NOHASH_64_PGTABLE_H
4/*
5 * This file contains the functions and defines necessary to modify and use
6 * the ppc64 non-hashed page table.
7 */
8

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

77#define vmemmap ((struct page *)VMEMMAP_BASE)
78
79
80/*
81 * Include the PTE bits definitions
82 */
83#include <asm/nohash/pte-book3e.h>
84
85#define _PAGE_SAO 0
86
85#define PTE_RPN_MASK (~((1UL << PTE_RPN_SHIFT) - 1))
86
87/*
88 * _PAGE_CHG_MASK masks of bits that are to be preserved across
89 * pgprot changes.
90 */
91#define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SPECIAL)
92

--- 224 unchanged lines hidden ---
87#define PTE_RPN_MASK (~((1UL << PTE_RPN_SHIFT) - 1))
88
89/*
90 * _PAGE_CHG_MASK masks of bits that are to be preserved across
91 * pgprot changes.
92 */
93#define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SPECIAL)
94

--- 224 unchanged lines hidden ---