mbox series

[GIT,PULL] RISC-V Fixes for 5.6-rc4

Message ID mhng-464e74b9-125c-42e3-9384-60c871d22cfd@palmerdabbelt-glaptop1 (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] RISC-V Fixes for 5.6-rc4 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linux-5.6-rc4

Message

Palmer Dabbelt Feb. 25, 2020, 5:37 p.m. UTC
The following changes since commit 11a48a5a18c63fd7621bb050228cebf13566e4d8:

  Linux 5.6-rc2 (2020-02-16 13:16:59 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linux-5.6-rc4

for you to fetch changes up to 8458ca147c204e7db124e8baa8fede219006e80d:

  riscv: adjust the indent (2020-02-24 13:12:53 -0800)

----------------------------------------------------------------
RISC-V Fixes for 5.6-rc4

This tag contains a handful of RISC-V related fixes that I've collected and
would like to target for 5.6-rc4:

* A fix to set up the PMPs on boot, which allows the kernel to access memory on
  systems that don't set up permissive PMPs before getting to Linux.  This only
  effects machine-mode kernels, which currently means only NOMMU kernels.
* A fix to avoid enabling supervisor-mode interrupts when running in
  machine-mode, also only for NOMMU kernels.
* A pair of fixes to our KASAN support to avoid corrupting memory.
* A gitignore fix.

This boots on QEMU's virt board for me.

----------------------------------------------------------------
Anup Patel (1):
      RISC-V: Don't enable all interrupts in trap_init()

Damien Le Moal (1):
      riscv: Fix gitignore

Greentime Hu (1):
      riscv: set pmp configuration if kernel is running in M-mode

Zong Li (2):
      riscv: allocate a complete page size for each page table
      riscv: adjust the indent

 arch/riscv/boot/.gitignore   |  2 ++
 arch/riscv/include/asm/csr.h | 12 ++++++++++
 arch/riscv/kernel/head.S     |  6 +++++
 arch/riscv/kernel/traps.c    |  4 ++--
 arch/riscv/mm/kasan_init.c   | 53 ++++++++++++++++++++++++++------------------
 5 files changed, 53 insertions(+), 24 deletions(-)

Comments

pr-tracker-bot@kernel.org Feb. 25, 2020, 6:55 p.m. UTC | #1
The pull request you sent on Tue, 25 Feb 2020 09:37:31 -0800 (PST):

> git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linux-5.6-rc4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c5f86891185c408b2241ba9a82ae8622d8386aff

Thank you!
Alexandre Ghiti Feb. 26, 2020, 7:56 a.m. UTC | #2
Hi Palmer,

On 2/25/20 6:37 PM, Palmer Dabbelt wrote:
> The following changes since commit 11a48a5a18c63fd7621bb050228cebf13566e4d8:
> 
>    Linux 5.6-rc2 (2020-02-16 13:16:59 -0800)
> 
> are available in the Git repository at:
> 
>    git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linux-5.6-rc4
> 
> for you to fetch changes up to 8458ca147c204e7db124e8baa8fede219006e80d:
> 
>    riscv: adjust the indent (2020-02-24 13:12:53 -0800)
> 
> ----------------------------------------------------------------
> RISC-V Fixes for 5.6-rc4
> 
> This tag contains a handful of RISC-V related fixes that I've collected and
> would like to target for 5.6-rc4:
> 
> * A fix to set up the PMPs on boot, which allows the kernel to access memory on
>    systems that don't set up permissive PMPs before getting to Linux.  This only
>    effects machine-mode kernels, which currently means only NOMMU kernels.
> * A fix to avoid enabling supervisor-mode interrupts when running in
>    machine-mode, also only for NOMMU kernels.
> * A pair of fixes to our KASAN support to avoid corrupting memory.
> * A gitignore fix.
> 
> This boots on QEMU's virt board for me.
> 
> ----------------------------------------------------------------
> Anup Patel (1):
>        RISC-V: Don't enable all interrupts in trap_init()
> 
> Damien Le Moal (1):
>        riscv: Fix gitignore
> 
> Greentime Hu (1):
>        riscv: set pmp configuration if kernel is running in M-mode
> 
> Zong Li (2):
>        riscv: allocate a complete page size for each page table
>        riscv: adjust the indent
> 
>   arch/riscv/boot/.gitignore   |  2 ++
>   arch/riscv/include/asm/csr.h | 12 ++++++++++
>   arch/riscv/kernel/head.S     |  6 +++++
>   arch/riscv/kernel/traps.c    |  4 ++--
>   arch/riscv/mm/kasan_init.c   | 53 ++++++++++++++++++++++++++------------------
>   5 files changed, 53 insertions(+), 24 deletions(-)
> 

What about this patch https://patchwork.kernel.org/patch/11395273/ from 
Vincent that fixes module loading problems described here:

https://lore.kernel.org/linux-riscv/d868acf5-7242-93dc-0051-f97e64dc4387@ghiti.fr/T/

Do you consider it for 5.6 ?

Thanks,

Alex
Palmer Dabbelt Feb. 26, 2020, 7:14 p.m. UTC | #3
[Moving Linus and linux-kernel to BCC, as it's a RISC-V thing]

On Tue, 25 Feb 2020 23:56:54 PST (-0800), alex@ghiti.fr wrote:
> Hi Palmer,
>
> On 2/25/20 6:37 PM, Palmer Dabbelt wrote:
>> The following changes since commit 11a48a5a18c63fd7621bb050228cebf13566e4d8:
>>
>>    Linux 5.6-rc2 (2020-02-16 13:16:59 -0800)
>>
>> are available in the Git repository at:
>>
>>    git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linux-5.6-rc4
>>
>> for you to fetch changes up to 8458ca147c204e7db124e8baa8fede219006e80d:
>>
>>    riscv: adjust the indent (2020-02-24 13:12:53 -0800)
>>
>> ----------------------------------------------------------------
>> RISC-V Fixes for 5.6-rc4
>>
>> This tag contains a handful of RISC-V related fixes that I've collected and
>> would like to target for 5.6-rc4:
>>
>> * A fix to set up the PMPs on boot, which allows the kernel to access memory on
>>    systems that don't set up permissive PMPs before getting to Linux.  This only
>>    effects machine-mode kernels, which currently means only NOMMU kernels.
>> * A fix to avoid enabling supervisor-mode interrupts when running in
>>    machine-mode, also only for NOMMU kernels.
>> * A pair of fixes to our KASAN support to avoid corrupting memory.
>> * A gitignore fix.
>>
>> This boots on QEMU's virt board for me.
>>
>> ----------------------------------------------------------------
>> Anup Patel (1):
>>        RISC-V: Don't enable all interrupts in trap_init()
>>
>> Damien Le Moal (1):
>>        riscv: Fix gitignore
>>
>> Greentime Hu (1):
>>        riscv: set pmp configuration if kernel is running in M-mode
>>
>> Zong Li (2):
>>        riscv: allocate a complete page size for each page table
>>        riscv: adjust the indent
>>
>>   arch/riscv/boot/.gitignore   |  2 ++
>>   arch/riscv/include/asm/csr.h | 12 ++++++++++
>>   arch/riscv/kernel/head.S     |  6 +++++
>>   arch/riscv/kernel/traps.c    |  4 ++--
>>   arch/riscv/mm/kasan_init.c   | 53 ++++++++++++++++++++++++++------------------
>>   5 files changed, 53 insertions(+), 24 deletions(-)
>>
>
> What about this patch https://patchwork.kernel.org/patch/11395273/ from
> Vincent that fixes module loading problems described here:
>
> https://lore.kernel.org/linux-riscv/d868acf5-7242-93dc-0051-f97e64dc4387@ghiti.fr/T/
>
> Do you consider it for 5.6 ?

I haven't gotten to them yet, but at a glance it's probably a big enough change
that it should should go in during a merge window.  The module loading stuff is
a bit of a rats nest because it never really got finished, so I want to make
sure things get sufficient testing over there.

I'll try to take a look, though -- it's only ~1K messages deep in my inbox, so
there's hope :).