Public bug reported: [Impact]
* Unable to use gpio-poweroff driver to poweroff via u-boot/opensbi/kernel * Unable to use LED colors * Unable to mmap PCI resources * Cherrypick dtb changes from meta-sifive 2021.08 release https://github.com/sifive/meta-sifive/tree/2021.08/recipes- kernel/linux/files * Fixup linux kernel to allow using gpio-poweroff driver for poweroff, without re-enabling back deprecated OpenSBI v0.1 extensions support (CONFIG_RISCV_SBI_V01) [Test Plan] * Boot Unmatched board, poweroff, it should poweroff. * No test case for LEDs (will try to figure it out) * No test case for mmap PCI resources (needs compatible hardware) [Where problems could occur] * DTB changes have already landed in opensbi/u-boot and thus kernel is being brought it line with matching support. pm_power_off reboot handling will have to change again in the future when support for OpenSBI v0.3 system reset extension is added in the kernel. When available, it will be used by default with regular power drivers probably compiled only as modules. [Other Info] * Alternative to taking this patches, poweroff support could be enabled by turning back on deprecated OpenSBI v0.1 extensions, which is a step backwards. OpenSBI v0.1 will not be available in the future. ** Affects: linux-riscv (Ubuntu) Importance: Undecided Assignee: Dimitri John Ledkov (xnox) Status: In Progress ** Changed in: linux-riscv (Ubuntu) Assignee: (unassigned) => Dimitri John Ledkov (xnox) ** Changed in: linux-riscv (Ubuntu) Status: New => In Progress ** Summary changed: - unmatched 2020.08 enablement + Unmatched enable poweroff, LEDs, mmap PCI -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942806 Title: Unmatched enable poweroff, LEDs, mmap PCI To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-riscv/+bug/1942806/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs