Contributors: 16
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Paul Mackerras |
40 |
23.39% |
4 |
14.29% |
Christophe Leroy |
29 |
16.96% |
2 |
7.14% |
Benjamin Herrenschmidt |
25 |
14.62% |
4 |
14.29% |
Anton Blanchard |
23 |
13.45% |
4 |
14.29% |
Aneesh Kumar K.V |
18 |
10.53% |
2 |
7.14% |
Linus Torvalds (pre-git) |
6 |
3.51% |
1 |
3.57% |
Linus Torvalds |
6 |
3.51% |
2 |
7.14% |
Andrew Morton |
6 |
3.51% |
1 |
3.57% |
Matt Porter |
6 |
3.51% |
1 |
3.57% |
David S. Miller |
3 |
1.75% |
1 |
3.57% |
Nicholas Piggin |
3 |
1.75% |
1 |
3.57% |
Arnd Bergmann |
2 |
1.17% |
1 |
3.57% |
Simon Kågström |
1 |
0.58% |
1 |
3.57% |
Roland Dreier |
1 |
0.58% |
1 |
3.57% |
Greg Kroah-Hartman |
1 |
0.58% |
1 |
3.57% |
Mathieu Malaterre |
1 |
0.58% |
1 |
3.57% |
Total |
171 |
|
28 |
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_POWERPC_BOOK3S_PGTABLE_H
#define _ASM_POWERPC_BOOK3S_PGTABLE_H
#ifdef CONFIG_PPC64
#include <asm/book3s/64/pgtable.h>
#else
#include <asm/book3s/32/pgtable.h>
#endif
#ifndef __ASSEMBLY__
/* Insert a PTE, top-level function is out of line. It uses an inline
* low level function in the respective pgtable-* files
*/
extern void set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep,
pte_t pte);
#define __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS
extern int ptep_set_access_flags(struct vm_area_struct *vma, unsigned long address,
pte_t *ptep, pte_t entry, int dirty);
struct file;
extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
unsigned long size, pgprot_t vma_prot);
#define __HAVE_PHYS_MEM_ACCESS_PROT
void __update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t *ptep);
/*
* This gets called at the end of handling a page fault, when
* the kernel has put a new PTE into the page table for the process.
* We use it to ensure coherency between the i-cache and d-cache
* for the page which has just been mapped in.
* On machines which use an MMU hash table, we use this to put a
* corresponding HPTE into the hash table ahead of time, instead of
* waiting for the inevitable extra hash-table miss exception.
*/
static inline void update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t *ptep)
{
if (IS_ENABLED(CONFIG_PPC32) && !mmu_has_feature(MMU_FTR_HPTE_TABLE))
return;
if (radix_enabled())
return;
__update_mmu_cache(vma, address, ptep);
}
#endif /* __ASSEMBLY__ */
#endif