rnel@vger.kernel.org; Mike
> > Rapoport ; Christoph Hellwig ; Atish
> > Patra ; Paul Walmsley ;
> > linux-ri...@lists.infradead.org; Christoph Hellwig
> > Subject: [PATCH] RISC-V: Always compile mm/init.c with cmodel=medany
> >
> > diff --git a/arch
On Sun, Mar 24, 2019 at 8:27 PM Christoph Hellwig wrote:
>
> On Sun, Mar 24, 2019 at 11:08:29AM +, Anup Patel wrote:
> > Signed-off-by: Christoph Hellwig
> > Signed-off-by: Mike Rapoport
>
> Huh? I don't think this is from Mike and me.
>
> > +unsigned long va_pa_offset;
> >
On Sun, Mar 24, 2019 at 10:13 PM Mike Rapoport wrote:
>
> On Sun, Mar 24, 2019 at 03:57:08PM +0100, Christoph Hellwig wrote:
> > On Sun, Mar 24, 2019 at 11:08:29AM +, Anup Patel wrote:
> > > Signed-off-by: Christoph Hellwig
> > > Signed-off-by: Mike Rapoport
> >
> > Huh? I don't think this
ul Walmsley ;
> linux-ri...@lists.infradead.org; Christoph Hellwig
> Subject: [PATCH] RISC-V: Always compile mm/init.c with cmodel=medany
>
> diff --git a/arch/riscv/mm/Makefile b/arch/riscv/mm/Makefile
> index eb22ab49b3e0..7307609d405b 100644
> --- a/arch/riscv/mm/Makefile
> +++ b/arch/riscv/m
On Sun, Mar 24, 2019 at 03:57:08PM +0100, Christoph Hellwig wrote:
> On Sun, Mar 24, 2019 at 11:08:29AM +, Anup Patel wrote:
> > Signed-off-by: Christoph Hellwig
> > Signed-off-by: Mike Rapoport
>
> Huh? I don't think this is from Mike and me.
Suggested-by: would me more appropriate
On Sun, Mar 24, 2019 at 11:08:29AM +, Anup Patel wrote:
> Signed-off-by: Christoph Hellwig
> Signed-off-by: Mike Rapoport
Huh? I don't think this is from Mike and me.
> +unsigned long va_pa_offset;
> +EXPORT_SYMBOL(va_pa_offset);
> +unsigned long pfn_base;
> +EXPORT_SYMBOL(pfn_base);
Can
The Linux RISC-V 32bit kernel is broken after we moved setup_vm() from
kernel/setup.c to mm/init.c because Linux RISC-V 32bit kernel by default
uses cmodel=medlow which results in a non-position-independent setup_vm().
This patch fixes Linux RISC-V 32bit kernel booting by:
1. Forcing
7 matches
Mail list logo