[opensuse-kernel] [PATCH 0/3] Lenovo Yoga C630
Here are 3 patches which ensure successful booting of the AArch64 based Lenovo Yoga C630 laptop, assuming [0] are enabled in your distro (a patch to enable them in the upstream defconfig is in -next). The other two patches are proper bug fixes. The first ensures the avoidance of a NULL dereference when booting with ACPI, the second ensures that an I2C transation do not cause a platform reboot. Although the DTS patch is not a strictly bug-fix is considered very low risk, but high reward (for Linaro Yoga C630 owners). NB: These patches have already been applied to Fedora earlier today. [0] CONFIG_I2C_QCOM_GENI=m CONFIG_FB_EFI=y CONFIG_PHY_QCOM_QUSB2=m Bjorn Andersson (1): arm64: dts: qcom: Add Lenovo Yoga C630 Lee Jones (2): soc: qcom: geni: Provide parameter error checking i2c: qcom-geni: Disable DMA processing on the Lenovo Yoga C630 arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 446 ++++++++++++++++++ drivers/i2c/busses/i2c-qcom-geni.c | 12 +- drivers/soc/qcom/qcom-geni-se.c | 6 + 4 files changed, 461 insertions(+), 4 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts -- 2.17.1 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
When booting with ACPI, the Geni Serial Engine is not set as the I2C/SPI
parent and thus, the wrapper (parent device) is unassigned. This causes
the kernel to crash with a null dereference error.
Fixes: 8bc529b25354 ("soc: qcom: geni: Add support for ACPI")
Acked-by: Bjorn Andersson
We have a production-level laptop (Lenovo Yoga C630) which is exhibiting
a rather horrific bug. When I2C HID devices are being scanned for at
boot-time the QCom Geni based I2C (Serial Engine) attempts to use DMA.
When it does, the laptop reboots and the user never sees the OS.
Attempts are being made to debug the reason for the spontaneous reboot.
No luck so far, hence the requirement for this hot-fix. This workaround
will be removed once we have a viable fix.
Signed-off-by: Lee Jones
From: Bjorn Andersson
Am Freitag, den 06.09.2019, 10:40 +0100 schrieb Lee Jones:
Here are 3 patches which ensure successful booting of the AArch64 based Lenovo Yoga C630 laptop, assuming [0] are enabled in your distro (a patch to enable them in the upstream defconfig is in -next).
The other two patches are proper bug fixes. The first ensures the avoidance of a NULL dereference when booting with ACPI, the second ensures that an I2C transation do not cause a platform reboot.
Although the DTS patch is not a strictly bug-fix is considered very low risk, but high reward (for Linaro Yoga C630 owners).
NB: These patches have already been applied to Fedora earlier today.
Hi, it is not clear to me which of these patches have gone upstream. Could you clarify? Regards Oliver -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Mon, 09 Sep 2019, Oliver Neukum wrote:
Am Freitag, den 06.09.2019, 10:40 +0100 schrieb Lee Jones:
Here are 3 patches which ensure successful booting of the AArch64 based Lenovo Yoga C630 laptop, assuming [0] are enabled in your distro (a patch to enable them in the upstream defconfig is in -next).
The other two patches are proper bug fixes. The first ensures the avoidance of a NULL dereference when booting with ACPI, the second ensures that an I2C transation do not cause a platform reboot.
Although the DTS patch is not a strictly bug-fix is considered very low risk, but high reward (for Linaro Yoga C630 owners).
NB: These patches have already been applied to Fedora earlier today.
Hi,
it is not clear to me which of these patches have gone upstream. Could you clarify?
All of them. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Mon, 09 Sep 2019 13:58:18 +0200, Lee Jones wrote:
On Mon, 09 Sep 2019, Oliver Neukum wrote:
Am Freitag, den 06.09.2019, 10:40 +0100 schrieb Lee Jones:
Here are 3 patches which ensure successful booting of the AArch64 based Lenovo Yoga C630 laptop, assuming [0] are enabled in your distro (a patch to enable them in the upstream defconfig is in -next).
The other two patches are proper bug fixes. The first ensures the avoidance of a NULL dereference when booting with ACPI, the second ensures that an I2C transation do not cause a platform reboot.
Although the DTS patch is not a strictly bug-fix is considered very low risk, but high reward (for Linaro Yoga C630 owners).
NB: These patches have already been applied to Fedora earlier today.
Hi,
it is not clear to me which of these patches have gone upstream. Could you clarify?
All of them.
That's great. In that case, it'd be appreciated if you put the upstream commit id in each patch; then we can just take it as is. BTW, do you mean "upstream" as Linus tree, or in subsystem trees destined for 5.4? thanks, Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (3)
-
Lee Jones
-
Oliver Neukum
-
Takashi Iwai