Re: [PATCH v2 2/2] riscv: Introduce huge page support for 32/64bit kernel

2019-04-25 Thread Alex Ghiti
On 4/25/19 1:42 PM, Palmer Dabbelt wrote: On Mon, 08 Apr 2019 23:14:49 PDT (-0700), a...@ghiti.fr wrote: This patch implements both 4MB huge page support for 32bit kernel and 2MB/1GB huge pages support for 64bit kernel. Signed-off-by: Alexandre Ghiti ---  arch/riscv/Kconfig   |  8

Re: [PATCH v2 2/2] riscv: Introduce huge page support for 32/64bit kernel

2019-04-25 Thread Palmer Dabbelt
On Mon, 08 Apr 2019 23:14:49 PDT (-0700), a...@ghiti.fr wrote: This patch implements both 4MB huge page support for 32bit kernel and 2MB/1GB huge pages support for 64bit kernel. Signed-off-by: Alexandre Ghiti --- arch/riscv/Kconfig | 8 ++ arch/riscv/include/asm/hugetlb.h |

[PATCH v2 2/2] riscv: Introduce huge page support for 32/64bit kernel

2019-04-08 Thread Alexandre Ghiti
This patch implements both 4MB huge page support for 32bit kernel and 2MB/1GB huge pages support for 64bit kernel. Signed-off-by: Alexandre Ghiti --- arch/riscv/Kconfig | 8 ++ arch/riscv/include/asm/hugetlb.h | 18 + arch/riscv/include/asm/page.h| 10