riscv: backport support for SiFive Unmatched
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
linux (Ubuntu) | Status tracked in Hirsute | |||||
| Focal |
Undecided
|
Unassigned | |||
| Groovy |
High
|
Unassigned | |||
| Hirsute |
High
|
Colin Ian King |
Bug Description
== SRU Justifcation Groovy/RISCV ==
The SiFive HiFive Unmatched board should be supported as well as the current Unleashed. There are various upstream commits for this support and some misc fixes for the Unleashed and Unmatched that are required for this
board support.
== The fix(es) ==
The following changes since commit 7295e646e91b648
UBUNTU: Ubuntu-
are available in the Git repository at:
https:/
for you to fetch changes up to 86de0730500269f
UBUNTU: [Config] Align configs with Unleashed defconfigs (2021-01-11 09:37:13 +0000)
-------
Colin Ian King (1):
UBUNTU: [Config] Align configs with Unleashed defconfigs
David Abdurachmanov (5):
PCI: microsemi: Add host driver for Microsemi PCIe controller
Microsemi PCIe expansion board DT entry.
HACK: Revert "of/device: Really only set bus DMA mask when appropriate"
SiFive Unleashed CPUFreq
SiFive HiFive Unleashed: Add PWM LEDs (D1, D2, D3, D4)
Greentime Hu (2):
irqchip/
irqchip/
Pragnesh Patel (1):
clk: sifive: Add clock enable and disable ops
Rob Herring (2):
dt-bindings: More whitespace clean-ups in schema files
dt-bindings: Explicitly allow additional properties in board/SoC schemas
Sagar Kadam (2):
dt-bindings: riscv: sifive-l2-cache: convert bindings to json-schema
dt-bindings: riscv: convert pwm bindings to json-schema
Sagar Shrikant Kadam (1):
i2c: ocores: fix polling mode workaround on FU540-C000 SoC
Yash Shah (6):
RISC-V: Update l2 cache DT documentation to add support for SiFive FU740
RISC-V: sifive_l2_cache: Update L2 cache driver to support SiFive FU740
dt-bindings: riscv: Update DT binding docs to support SiFive FU740 SoC
riscv: dts: add initial support for the SiFive FU740-C000 SoC
dt-bindings: riscv: Update YAML doc to support SiFive HiFive Unmatched board
riscv: dts: add initial board data for the SiFive HiFive Unmatched
Zong Li (5):
clk: sifive: Extract prci core to common base
clk: sifive: Use common name for prci configuration
clk: sifive: Add a driver for the SiFive FU740 PRCI IP block
clk: sifive: Fix the wrong bit field shift
dt-bindings: fu740: prci: add YAML documentation for the FU740 PRCI
Documentation/
Documentation/
Documentation/
Documentation/
Documentation/
Documentation/
Documentation/
Documentation/
Documentation/
Documentation/
Documentation/
arch/riscv/Kconfig | 8 +
arch/riscv/
arch/riscv/
arch/riscv/
arch/riscv/
arch/riscv/
arch/riscv/
arch/riscv/
arch/riscv/
debian.
debian.
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
include/
38 files changed, 2906 insertions(+), 732 deletions(-)
create mode 100644 Documentation/
delete mode 100644 Documentation/
create mode 100644 Documentation/
delete mode 100644 Documentation/
create mode 100644 Documentation/
create mode 100644 arch/riscv/
create mode 100644 arch/riscv/
create mode 100644 arch/riscv/
create mode 100644 drivers/
create mode 100644 drivers/
create mode 100644 drivers/
create mode 100644 drivers/
create mode 100644 drivers/
create mode 100644 drivers/
create mode 100644 include/
The RISC-V configs have also been re-aligned to match the RISC-V Unleashed/Unmatched defconfig for improved clock and power stability and to fix some weird clock/scheduling random RCU timeouts and hangs during heavy load on slow backing store I/O at boot time.
== Test Case ==
Build ubuntu 5.8 risc kernel with these patches. QEMU and RISC-V Unleashed and Unmatched should boot and be rebootable with this fixes. Tested also with stress-ng and a network uptime ping test for 48 hours.
== Where problems could occur ==
Several places:
1. Clocks - IRQ and clock handling has been modified, so potential for random timing behaviour changes.
2. CONFIG changes - now aligning the clock, scheduling and power config settings to the defconfigs for RISC-V unleashed. This does improve stability on the Ubuntu boots and reboots, but may have unforeseen side effects.
3. CPU affinity fixes should improve some historical SMP problems but may uncover other SMP issues.
4. Some of these patches are still not upstream, so there may be some question to their unreviewed quality.
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
Changed in linux (Ubuntu): | |
status: | Incomplete → In Progress |
importance: | Undecided → High |
assignee: | nobody → Colin Ian King (colin-king) |
description: | updated |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Groovy): | |
importance: | Undecided → High |
status: | New → In Progress |
Changed in linux (Ubuntu Groovy): | |
status: | In Progress → Fix Committed |
Launchpad Janitor (janitor) wrote : | #2 |
This bug was fixed in the package linux - 5.11.0-11.12
---------------
linux (5.11.0-11.12) hirsute; urgency=medium
* hirsute/linux: 5.11.0-11.12 -proposed tracker (LP: #1917335)
* Packaging resync (LP: #1786013)
- update dkms package versions
- [Packaging] update variants
* Support no udeb profile (LP: #1916095)
- [Packaging] replace custom filter script with dctrl-tools
- [Packaging] correctly implement noudeb build profiles.
* Miscellaneous Ubuntu changes
- [Packaging] dkms-versions -- remove nvidia-
- [Debian] run ubuntu-
- [Packaging] remove Provides: aufs-dkms
- [Packaging] Change source package name to linux
- [Config] update gcc version in config due to toolchain update
* Miscellaneous upstream changes
- Revert "UBUNTU: [Config] disable nvidia and nvidia_server builds"
- Xen/x86: don't bail early from clear_foreign_
- Xen/x86: also check kernel mapping in set_foreign_
- Xen/gntdev: correct dev_bus_addr handling in gntdev_
- Xen/gntdev: correct error checking in gntdev_
- xen/arm: don't ignore return errors from set_phys_to_machine
- xen-blkback: don't "handle" error by BUG()
- xen-netback: don't "handle" error by BUG()
- xen-scsiback: don't "handle" error by BUG()
- xen-blkback: fix error handling in xen_blkbk_map()
- tty: protect tty_write from odd low-level tty disciplines
- Bluetooth: btusb: Always fallback to alt 1 for WBS
- media: pwc: Use correct device for DMA
- bpf: Fix truncation handling for mod32 dst reg wrt zero
- HID: make arrays usage and value to be the same
- USB: quirks: sort quirk entries
- usb: quirks: add quirk to start video capture on ELMO L-12F document camera
reliable
- ntfs: check for valid standard information attribute
- Bluetooth: btusb: Some Qualcomm Bluetooth adapters stop working
- arm64: tegra: Add power-domain for Tegra210 HDA
- hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
- KVM: x86: Zap the oldest MMU pages, not the newest
- KVM: do not assume PTE is writable after follow_pfn
- mm: provide a saner PTE walking API for modules
- KVM: Use kvm_pfn_t for local PFN variable in hva_to_
-- Andrea Righi <email address hidden> Mon, 01 Mar 2021 18:17:45 +0100
Changed in linux (Ubuntu Hirsute): | |
status: | In Progress → Fix Released |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1910965
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.