History

Merge tag 'riscv-for-linus-5.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux

Pull RISC-V fixes Palmer Dabbelt: - A pair of build fixes for the recent cpuidle driver - A fix for systems without sv57 that manifests as a crash early in boot * tag 'riscv-for-linus-5.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: RISC-V: cpuidle: fix Kconfig select for RISCV_SBI_CPUIDLE RISC-V: mm: Fix set_satp_mode() for platform not having Sv57 cpuidle: riscv: support non-SMP config

Linus Torvalds committed 4 years ago

Commit 4e339e52 parents 7200095 bf9bac43 files · +3 −1Browse files

Unified · Split

3 files
  1. arch/riscv/Kconfig.socs +1 −1
  2. arch/riscv/mm/init.c +1 −0
  3. drivers/cpuidle/cpuidle-riscv-sbi.c +1 −0
arch/riscv/Kconfig.socs+1−1
@@ -38,7 +38,7 @@ config SOC_VIRT · 37 unmodified lines
38 select SIFIVE_PLIC38 select SIFIVE_PLIC
39 select PM_GENERIC_DOMAINS if PM39 select PM_GENERIC_DOMAINS if PM
40 select PM_GENERIC_DOMAINS_OF if PM && OF40 select PM_GENERIC_DOMAINS_OF if PM && OF
41 select RISCV_SBI_CPUIDLE if CPU_IDLE41 select RISCV_SBI_CPUIDLE if CPU_IDLE && RISCV_SBI
42 help42 help
43 This enables support for QEMU Virt Machine.43 This enables support for QEMU Virt Machine.
44 44
arch/riscv/mm/init.c+1−0
@@ -718,6 +718,7 @@ retry: · 717 unmodified lines
718 if (!check_l4) {718 if (!check_l4) {
719 disable_pgtable_l5();719 disable_pgtable_l5();
720 check_l4 = true;720 check_l4 = true;
721 memset(early_pg_dir, 0, PAGE_SIZE);
721 goto retry;722 goto retry;
722 }723 }
723 disable_pgtable_l4();724 disable_pgtable_l4();
drivers/cpuidle/cpuidle-riscv-sbi.c+1−0
@@ -22,6 +22,7 @@ · 21 unmodified lines
22#include <linux/pm_runtime.h>22#include <linux/pm_runtime.h>
23#include <asm/cpuidle.h>23#include <asm/cpuidle.h>
24#include <asm/sbi.h>24#include <asm/sbi.h>
25#include <asm/smp.h>
25#include <asm/suspend.h>26#include <asm/suspend.h>
26 27
27#include "dt_idle_states.h"28#include "dt_idle_states.h"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t