lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 05 Jul 2021 19:50:52 -0700 (PDT) From: Palmer Dabbelt <palmer@...belt.com> To: alex@...ti.fr CC: Paul Walmsley <paul.walmsley@...ive.com>, aou@...s.berkeley.edu, linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org, alex@...ti.fr Subject: Re: [PATCH] riscv: Introduce structure that group all variables regarding kernel mapping On Thu, 17 Jun 2021 06:53:07 PDT (-0700), alex@...ti.fr wrote: > We have a lot of variables that are used to hold kernel mapping addresses, > offsets between physical and virtual mappings and some others used for XIP > kernels: they are all defined at different places in mm/init.c, so group > them into a single structure with, for some of them, more explicit and concise > names. > > Signed-off-by: Alexandre Ghiti <alex@...ti.fr> > --- > arch/riscv/include/asm/page.h | 60 ++++++++++-------- > arch/riscv/kernel/asm-offsets.c | 2 + > arch/riscv/kernel/head.S | 4 +- > arch/riscv/kernel/kexec_relocate.S | 4 +- > arch/riscv/kernel/machine_kexec.c | 2 +- > arch/riscv/mm/init.c | 98 +++++++++++------------------- > arch/riscv/mm/physaddr.c | 2 +- > arch/riscv/mm/ptdump.c | 2 +- > 8 files changed, 78 insertions(+), 96 deletions(-) There were some conflicts, but I've fixed them up and put it on for-next. Thanks!
Powered by blists - more mailing lists