Re: [PATCH] Revert "MIPS: make userspace mapping young by default".

2021-04-19 Thread Huang Pei
Hi, On Mon, Apr 19, 2021 at 10:21:40PM +0800, Zhou Yanjie wrote: > Hi > > On 2021/4/19 下午12:56, Huang Pei wrote: > > On Sat, Apr 17, 2021 at 12:45:59AM +0800, Zhou Yanjie wrote: > > > On 2021/4/16 下午5:20, 黄沛 wrote: > > > > Is there any log about the panic

Re: [PATCH] Revert "MIPS: make userspace mapping young by default".

2021-04-18 Thread Huang Pei
On Sat, Apr 17, 2021 at 12:45:59AM +0800, Zhou Yanjie wrote: > > On 2021/4/16 下午5:20, 黄沛 wrote: > > Is there any log about the panic? > > > Yes, below is the log: > > > [  195.436017] CPU 0 Unable to handle kernel paging request at virtual > address 77eb8000, epc == 80117868, ra == 80118208 >

Re: [PATCH] MIPS: perf: Fix wrong check condition of Loongson event IDs

2020-09-01 Thread Huang Pei
(base_id >= 320 && base_id < 358) || > > + (base_id >= 256 && base_id < 275) || > > + (base_id >= 320 && base_id < 361) || > > (base_id >= 384 && base_id < 574)) > > break; > > > > -- > > 2.1.0 > > Acked-by: Huang Pei

Re: [PATCH v2 1/2] MIPS: Set page access bit with pgprot on

2020-08-24 Thread Huang Pei
adjust the code and add support non-rixi

[PATCH] MIPS: make userspace mapping young by default

2020-08-24 Thread Huang Pei
invalid exceptions [1]: https://lkml.kernel.org/lkml/1591416169-2-1-git-send-email-maob...@loongson.cn/ Signed-off-by: Huang Pei --- arch/mips/include/asm/pgtable.h | 32 +++- arch/mips/mm/cache.c| 25 + mm/memory.c