Hi Alex, Palmer
On Thu, Feb 25, 2021 at 03:11:07AM +0800, Alex Ghiti wrote:
> Hi Nylon,
>
> Le 2/22/21 ?? 12:13 PM, Alex Ghiti a ??crit??:
> > Le 2/21/21 ?? 8:37 PM, Nylon Chen a ??crit??:
> >> Hi Alex, Palmer
> >>
> >> Sorry I missed this message.
>
>> I think we can improve the changelog a bit here with something like that:
> >>
> >> "KASAN vmalloc space used to be mapped using kasan early shadow page.
> >> KASAN_VMALLOC requires the top-level of the kernel page table to be
> >> properly popul
v1: https://lore.kernel.org/patchwork/cover/1364392/
v2:
1) Fix checkpatch issues.
2) Remove set_pmd and pmd_populate because it's not necessary.
Nylon Chen (1):
riscv/kasan: add KASAN_VMALLOC support
arch/riscv/Kconfig | 1 +
arch/riscv/mm/kasan_init.c
It references to x86/s390 architecture.
So, it doesn't map the early shadow page to cover VMALLOC space.
Prepopulate top level page table for the range that would otherwise be
empty.
lower levels are filled dynamically upon memory allocation while
booting.
Signed-off-by: Nylon Chen
Signe
ok 37 - vmalloc_oob
Nylon Chen (1):
riscv/kasan: add KASAN_VMALLOC support
arch/riscv/Kconfig | 1 +
arch/riscv/mm/kasan_init.c | 66 +-
2 files changed, 66 insertions(+), 1 deletion(-)
--
2.17.1
It's reference x86/s390 architecture.
So, it's don't map the early shadow page to cover VMALLOC space.
Prepopulate top level page table for the range that would otherwise be
empty.
lower levels are filled dynamically upon memory allocation while
booting.
Signed-off-by: Nylon C
From: Nick Hu
Use virtual address instead of physical address when translating
the address to shadow memory by kasan_mem_to_shadow().
Signed-off-by: Nick Hu
Signed-off-by: Nylon Chen
---
arch/riscv/mm/kasan_init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch
The hwcap_str should be set in a correct order according to HWCAP_xx.
We also add the missing "fpu_dp" to it.
Signed-off-by: Nylon Chen
---
arch/nds32/kernel/setup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/nds32/kernel/setup.c b/arch/nds32/kernel/set
We add a config for user to enable or disable this feature.
It can be used to control the hardware prefetch function.
Signed-off-by: Nylon Chen
---
arch/nds32/Kconfig.cpu| 7 +++
arch/nds32/include/asm/bitfield.h | 6 ++
arch/nds32/kernel/head.S | 2 +-
arch/nds32
We add a config for user to enable or disable this feature.
It can be used to control the hardware prefetch function.
Signed-off-by: Nylon Chen
---
arch/nds32/Kconfig.cpu| 7 +++
arch/nds32/include/asm/bitfield.h | 6 ++
arch/nds32/kernel/head.S | 2 +-
arch/nds32
The hwcap_str should be set in a correct order according to HWCAP_xx.
We also add the missing "fpu_dp" to it.
Signed-off-by: Nylon Chen
---
arch/nds32/kernel/setup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/nds32/kernel/setup.c b/arch/nds32/kernel/set
The "fpu_dp" should be added to hwcap_str table to make sure the cpu features
displayed correctly.
Signed-off-by: Nylon Chen
---
arch/nds32/kernel/setup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/nds32/kernel/setup.c b/arch/nds32/kernel/setup.c
index eacc79024879..e3
We add a config for user to enable or disable this feature.
It can be used to control the hardware prefetch function.
Signed-off-by: Nylon Chen
---
arch/nds32/Kconfig.cpu| 7 +++
arch/nds32/include/asm/bitfield.h | 6 ++
arch/nds32/kernel/head.S | 2 +-
arch/nds32
13 matches
Mail list logo