[PATCH 7/9] RISC-V: Paging and MMU

2017-07-04 Thread Palmer Dabbelt
This patch contains code to manage the RISC-V MMU, including definitions of the page tables and the page walking code. Signed-off-by: Palmer Dabbelt --- arch/riscv/include/asm/mmu_context.h | 69 ++ arch/riscv/include/asm/page.h | 134 +++

[PATCH 7/9] RISC-V: Paging and MMU

2017-07-04 Thread Palmer Dabbelt
This patch contains code to manage the RISC-V MMU, including definitions of the page tables and the page walking code. Signed-off-by: Palmer Dabbelt --- arch/riscv/include/asm/mmu_context.h | 69 ++ arch/riscv/include/asm/page.h | 134 +++ arch/riscv/include/asm/pgalloc.h

Re: [PATCH 7/9] RISC-V: Paging and MMU

2017-06-29 Thread Palmer Dabbelt
On Wed, 28 Jun 2017 16:09:59 PDT (-0700), james.ho...@imgtec.com wrote: > On Wed, Jun 28, 2017 at 11:55:36AM -0700, Palmer Dabbelt wrote: >> diff --git a/arch/riscv/include/asm/page.h b/arch/riscv/include/asm/page.h >> new file mode 100644 >> index ..e1491c20d6fd >> --- /dev/null >>

Re: [PATCH 7/9] RISC-V: Paging and MMU

2017-06-29 Thread Palmer Dabbelt
On Wed, 28 Jun 2017 16:09:59 PDT (-0700), james.ho...@imgtec.com wrote: > On Wed, Jun 28, 2017 at 11:55:36AM -0700, Palmer Dabbelt wrote: >> diff --git a/arch/riscv/include/asm/page.h b/arch/riscv/include/asm/page.h >> new file mode 100644 >> index ..e1491c20d6fd >> --- /dev/null >>

Re: [PATCH 7/9] RISC-V: Paging and MMU

2017-06-28 Thread James Hogan
On Wed, Jun 28, 2017 at 11:55:36AM -0700, Palmer Dabbelt wrote: > diff --git a/arch/riscv/include/asm/page.h b/arch/riscv/include/asm/page.h > new file mode 100644 > index ..e1491c20d6fd > --- /dev/null > +++ b/arch/riscv/include/asm/page.h ... > +#ifdef __KERNEL__ I think thats a

Re: [PATCH 7/9] RISC-V: Paging and MMU

2017-06-28 Thread James Hogan
On Wed, Jun 28, 2017 at 11:55:36AM -0700, Palmer Dabbelt wrote: > diff --git a/arch/riscv/include/asm/page.h b/arch/riscv/include/asm/page.h > new file mode 100644 > index ..e1491c20d6fd > --- /dev/null > +++ b/arch/riscv/include/asm/page.h ... > +#ifdef __KERNEL__ I think thats a

[PATCH 7/9] RISC-V: Paging and MMU

2017-06-28 Thread Palmer Dabbelt
This patch contains code to manage the RISC-V MMU, including definitions of the page tables and the page walking code. Signed-off-by: Palmer Dabbelt --- arch/riscv/include/asm/mmu_context.h | 69 ++ arch/riscv/include/asm/page.h | 138 +++

[PATCH 7/9] RISC-V: Paging and MMU

2017-06-28 Thread Palmer Dabbelt
This patch contains code to manage the RISC-V MMU, including definitions of the page tables and the page walking code. Signed-off-by: Palmer Dabbelt --- arch/riscv/include/asm/mmu_context.h | 69 ++ arch/riscv/include/asm/page.h | 138 +++ arch/riscv/include/asm/pgalloc.h