** Description changed: [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) Submitted at https://lore.kernel.org/linux- riscv/20210907002847.111633-1-dimitri.led...@canonical.com/T/#u [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 these 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. + + https://lists.ubuntu.com/archives/kernel-team/2021-September/123845.html
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-riscv in Ubuntu. https://bugs.launchpad.net/bugs/1942806 Title: Unmatched enable poweroff, LEDs, mmap PCI Status in linux-riscv package in Ubuntu: In Progress Bug description: [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) Submitted at https://lore.kernel.org/linux- riscv/20210907002847.111633-1-dimitri.led...@canonical.com/T/#u [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 these 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. https://lists.ubuntu.com/archives/kernel- team/2021-September/123845.html To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-riscv/+bug/1942806/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp