[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <mhng-563e7d68-e504-4e0a-b666-f7c2fbab62db@palmer-ri-x1c9>
Date: Fri, 12 Aug 2022 17:37:06 -0700 (PDT)
From: Palmer Dabbelt <palmer@...osinc.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org
Subject: [GIT PULL] RISC-V Patches for the 5.20 Merge Window, Part 2
The following changes since commit 4d1044fcb996e8de9b9ab392f4a767890e45202d:
Merge tag 'riscv-for-linus-5.20-mw0' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux (2022-08-06 15:04:48 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-5.20-mw2
for you to fetch changes up to 5cef38dd03f33ef206eb792df0fb3b200d762546:
dt-bindings: gpio: sifive: add gpio-line-names (2022-08-12 09:00:01 -0700)
----------------------------------------------------------------
RISC-V Patches for the 5.20 Merge Window, Part 2
There's still a handful of new features in here, but there are a lot of
fixes/cleanups as well:
* Support for the Zicbom for explicit cache-block management, along with
the necessary bits to make the non-standard cache management ops on
the Allwinner D1 function.
* Support for the Zihintpause extension, which codifies a go-slow
instruction used for cpu_relax().
* Support for the Sstc extension for supervisor-mode timer/counter
management.
* Many device tree fixes and cleanups, including a large set for the
Canaan device trees.
* A handful of fixes and cleanups for the PMU driver.
----------------------------------------------------------------
These all pass for me, but they do require some sparse patches that I just
posted to handle the new ISA strings. There are a handful of warnings, but
they're all in various stages of being fixed and the only one that's
reproducing locally for me is the bluetooth issue that's not related to any of
these.
----------------------------------------------------------------
Atish Patra (9):
RISC-V: Add SSTC extension CSR details
RISC-V: Enable sstc extension parsing from DT
RISC-V: Prefer sstc extension if available
RISC-V: Fix counter restart during overflow for RV32
RISC-V: Update user page mapping only once during start
RISC-V: Fix SBI PMU calls for RV32
RISC-V: Move counter info definition to sbi header file
RISC-V: Improve SBI definitions
RISC-V: KVM: Support sstc extension
Atul Khare (1):
dt-bindings: gpio: sifive: add gpio-line-names
Ben Dooks (2):
RISC-V: Declare cpu_ops_spinwait in <asm/cpu_ops.h>
RISC-V: cpu_ops_spinwait.c should include head.h
Chen Lifu (1):
riscv: lib: uaccess: fix CSR_STATUS SR_SUM bit
Conor Dooley (14):
dt-bindings: display: convert ilitek,ili9341.txt to dt-schema
dt-bindings: display: ili9341: document canaan kd233's lcd
dt-bindings: memory-controllers: add canaan k210 sram controller
riscv: dts: canaan: fix the k210's memory node
riscv: dts: canaan: fix the k210's timer nodes
riscv: dts: canaan: fix mmc node names
riscv: dts: canaan: fix kd233 display spi frequency
riscv: dts: canaan: use custom compatible for k210 i2s
riscv: dts: canaan: remove spi-max-frequency from controllers
riscv: dts: canaan: fix bus {ranges,reg} warnings
riscv: dts: canaan: add specific compatible for kd233's LCD
riscv: dts: canaan: build all devicetress if SOC_CANAAN
riscv: ensure cpu_ops_sbi is declared
dt-bindings: riscv: fix SiFive l2-cache's cache-sets
Dao Lu (1):
arch/riscv: add Zihintpause support
Emil Renner Berthing (1):
riscv: dts: sifive unmatched: Add PWM controlled LEDs
Heiko Stuebner (4):
of: also handle dma-noncoherent in of_dma_is_coherent()
dt-bindings: riscv: document cbom-block-size
riscv: Add support for non-coherent devices using zicbom extension
riscv: implement cache-management errata for T-Head SoCs
Jason A. Donenfeld (1):
wireguard: selftests: set CONFIG_NONPORTABLE on riscv32
Krzysztof Kozlowski (1):
riscv: traps_misaligned: do not duplicate stringify
Mark Kettenis (1):
riscv: dts: starfive: correct number of external interrupts
Masahiro Yamada (2):
riscv/purgatory: hard-code obj-y in Makefile
riscv/purgatory: Omit use of bin2c
Palmer Dabbelt (5):
RISC-V: Canaan devicetree fixes
riscv: implement Zicbom-based CMO instructions + the t-head variant
RISC-V: fixups to work with crash tool
RISC-V: Add Sstc extension support
perf: riscv_pmu{,_sbi}: Miscallenous improvement & fixes
Xianting Tian (4):
RISC-V: kexec: Fixup use of smp_processor_id() in preemptible context
RISC-V: Fixup get incorrect user mode PC for kernel mode regs
RISC-V: Fixup schedule out issue in machine_crash_shutdown()
RISC-V: Add modules to virtual kernel memory layout dump
Yipeng Zou (1):
riscv:uprobe fix SR_SPIE set/clear handling
.../devicetree/bindings/display/ilitek,ili9341.txt | 27 ----
.../bindings/display/panel/ilitek,ili9341.yaml | 49 +++++--
.../devicetree/bindings/gpio/sifive,gpio.yaml | 4 +
.../memory-controllers/canaan,k210-sram.yaml | 52 ++++++++
Documentation/devicetree/bindings/riscv/cpus.yaml | 5 +
.../devicetree/bindings/riscv/sifive-l2-cache.yaml | 6 +-
arch/riscv/Kconfig | 32 ++++-
arch/riscv/Kconfig.erratas | 11 ++
arch/riscv/Makefile | 8 ++
arch/riscv/boot/dts/canaan/Makefile | 10 +-
arch/riscv/boot/dts/canaan/canaan_kd233.dts | 6 +-
arch/riscv/boot/dts/canaan/k210.dtsi | 73 +++++++----
arch/riscv/boot/dts/canaan/sipeed_maix_bit.dts | 2 +-
arch/riscv/boot/dts/canaan/sipeed_maix_dock.dts | 2 +-
arch/riscv/boot/dts/canaan/sipeed_maix_go.dts | 2 +-
arch/riscv/boot/dts/canaan/sipeed_maixduino.dts | 2 +-
.../riscv/boot/dts/sifive/hifive-unmatched-a00.dts | 42 ++++++
arch/riscv/boot/dts/starfive/jh7100.dtsi | 2 +-
arch/riscv/errata/thead/errata.c | 20 +++
arch/riscv/include/asm/cache.h | 4 +
arch/riscv/include/asm/cacheflush.h | 10 ++
arch/riscv/include/asm/cpu_ops.h | 1 +
arch/riscv/include/asm/cpu_ops_sbi.h | 2 +
arch/riscv/include/asm/csr.h | 5 +
arch/riscv/include/asm/errata_list.h | 59 ++++++++-
arch/riscv/include/asm/hwcap.h | 7 +
arch/riscv/include/asm/kvm_vcpu_timer.h | 7 +
arch/riscv/include/asm/sbi.h | 32 ++++-
arch/riscv/include/asm/vdso/processor.h | 21 ++-
arch/riscv/include/uapi/asm/kvm.h | 1 +
arch/riscv/kernel/cpu.c | 3 +
arch/riscv/kernel/cpu_ops.c | 5 +-
arch/riscv/kernel/cpu_ops_spinwait.c | 2 +
arch/riscv/kernel/cpufeature.c | 26 ++++
arch/riscv/kernel/crash_save_regs.S | 2 +-
arch/riscv/kernel/machine_kexec.c | 28 +++-
arch/riscv/kernel/probes/uprobes.c | 6 -
arch/riscv/kernel/setup.c | 2 +
arch/riscv/kernel/traps_misaligned.c | 8 +-
arch/riscv/kvm/vcpu.c | 8 +-
arch/riscv/kvm/vcpu_timer.c | 144 ++++++++++++++++++++-
arch/riscv/lib/uaccess.S | 4 +-
arch/riscv/mm/Makefile | 1 +
arch/riscv/mm/dma-noncoherent.c | 116 +++++++++++++++++
arch/riscv/mm/init.c | 4 +
arch/riscv/purgatory/.gitignore | 1 -
arch/riscv/purgatory/Makefile | 10 +-
arch/riscv/purgatory/kexec-purgatory.S | 14 ++
drivers/clocksource/timer-riscv.c | 25 +++-
drivers/of/address.c | 17 ++-
drivers/perf/riscv_pmu.c | 1 -
drivers/perf/riscv_pmu_sbi.c | 30 +++--
scripts/remove-stale-files | 2 +
.../selftests/wireguard/qemu/arch/riscv32.config | 1 +
54 files changed, 821 insertions(+), 143 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/display/ilitek,ili9341.txt
create mode 100644 Documentation/devicetree/bindings/memory-controllers/canaan,k210-sram.yaml
create mode 100644 arch/riscv/mm/dma-noncoherent.c
create mode 100644 arch/riscv/purgatory/kexec-purgatory.S
Powered by blists - more mailing lists