[PATCH 00/15][unstable][riscv][hirsute] sifive unmatched support
Dimitri John Ledkov
xnox at ubuntu.com
Tue Mar 16 21:31:02 UTC 2021
These are more patches to gain unmatched support.
Tested on the unmatched board that I have on my desk.
Note that although I have tried to update the annotations that did not
work for me. Not sure what is the right way to apply this patches.
The origin of this patches is:
https://github.com/sifive/meta-sifive/tree/master/recipes-kernel/linux/files/unmatched
The patches 1-8 were already applied in our trees, so these are 9-21
patches that are new.
Maybe we can revert the old patches, and apply these as a stack
together, not sure what's best.
This patchset is against the linux-riscv hirsute v5.11 tree, however
this need to go into unstable tree too.
David Abdurachmanov (3):
riscv: dts: fu740: fix cache-controller interrupts
riscv: sifive: fu740: cpu{1,2,3,4} set compatible to sifive,u74-mc
riscv: sifive: unmatched: update for 16GB rev3
Dimitri John Ledkov (2):
UBUNTU: [Config] update configs for unmatched
update annotations
Greentime Hu (5):
clk: sifive: Add pcie_aux clock in prci driver for PCIe driver
clk: sifive: Use reset-simple in prci driver for PCIe driver
MAINTAINERS: Add maintainers for SiFive FU740 PCIe driver
dt-bindings: PCI: Add SiFive FU740 PCIe host controller
riscv: dts: Add PCIe support for the SiFive FU740-C000 SoC
Paul Walmsley (1):
PCI: designware: Add SiFive FU740 PCIe host controller driver
Vincent Chen (4):
riscv: Add 3 SBI wrapper functions to get cpu manufacturer information
riscv: Get CPU manufacturer information
riscv: Introduce alternative mechanism to apply errata solution
riscv: sifive:a pply errata "cip-453" patch
.../bindings/pci/sifive,fu740-pcie.yaml | 119 +++++
MAINTAINERS | 8 +
arch/riscv/Kconfig | 1 +
arch/riscv/Kconfig.erratas | 34 ++
arch/riscv/Kconfig.socs | 1 +
arch/riscv/Makefile | 1 +
arch/riscv/boot/dts/sifive/fu740-c000.dtsi | 44 +-
.../boot/dts/sifive/hifive-unmatched-a00.dts | 34 +-
arch/riscv/errata/Makefile | 2 +
arch/riscv/errata/alternative.c | 69 +++
arch/riscv/errata/sifive/Makefile | 2 +
arch/riscv/errata/sifive/altern_ops.c | 56 +++
arch/riscv/errata/sifive/errata_cip_453.S | 34 ++
arch/riscv/include/asm/alternative-macros.h | 110 +++++
arch/riscv/include/asm/alternative.h | 44 ++
arch/riscv/include/asm/asm.h | 1 +
arch/riscv/include/asm/csr.h | 3 +
arch/riscv/include/asm/errata_list.h | 9 +
arch/riscv/include/asm/hwcap.h | 6 +
arch/riscv/include/asm/processor.h | 2 +
arch/riscv/include/asm/sbi.h | 3 +
arch/riscv/include/asm/sections.h | 2 +
arch/riscv/include/asm/soc.h | 1 +
arch/riscv/include/asm/vendorid_list.h | 6 +
arch/riscv/kernel/cpufeature.c | 17 +
arch/riscv/kernel/entry.S | 12 +-
arch/riscv/kernel/sbi.c | 15 +
arch/riscv/kernel/setup.c | 2 +
arch/riscv/kernel/smpboot.c | 4 +
arch/riscv/kernel/soc.c | 1 +
arch/riscv/kernel/vmlinux.lds.S | 14 +
debian.riscv/config/annotations | 5 +
debian.riscv/config/config.common.ubuntu | 5 +
drivers/clk/sifive/Kconfig | 2 +
drivers/clk/sifive/fu740-prci.c | 11 +
drivers/clk/sifive/fu740-prci.h | 2 +-
drivers/clk/sifive/sifive-prci.c | 55 +++
drivers/clk/sifive/sifive-prci.h | 13 +
drivers/pci/controller/dwc/Kconfig | 9 +
drivers/pci/controller/dwc/Makefile | 1 +
drivers/pci/controller/dwc/pcie-fu740.c | 455 ++++++++++++++++++
drivers/reset/Kconfig | 3 +-
include/dt-bindings/clock/sifive-fu740-prci.h | 1 +
43 files changed, 1193 insertions(+), 26 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pci/sifive,fu740-pcie.yaml
create mode 100644 arch/riscv/Kconfig.erratas
create mode 100644 arch/riscv/errata/Makefile
create mode 100644 arch/riscv/errata/alternative.c
create mode 100644 arch/riscv/errata/sifive/Makefile
create mode 100644 arch/riscv/errata/sifive/altern_ops.c
create mode 100644 arch/riscv/errata/sifive/errata_cip_453.S
create mode 100644 arch/riscv/include/asm/alternative-macros.h
create mode 100644 arch/riscv/include/asm/alternative.h
create mode 100644 arch/riscv/include/asm/errata_list.h
create mode 100644 arch/riscv/include/asm/vendorid_list.h
create mode 100644 drivers/pci/controller/dwc/pcie-fu740.c
--
2.27.0
More information about the kernel-team
mailing list