[Bug 1215268] New: [TRACKERBUG][aarch64][Lenovo-X13s] Some workaround patches for the current kernel support on X13s
https://bugzilla.suse.com/show_bug.cgi?id=1215268 Bug ID: 1215268 Summary: [TRACKERBUG][aarch64][Lenovo-X13s] Some workaround patches for the current kernel support on X13s Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: aarch64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: chester.lin@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- This is a tracer bug, which offers some information about the missing patches required by enabling openSUSE on Lenovo X13s [aarch64 laptop]. In summary, X13s needs the following reviewing patches to be backported in the current stable tree [v6.5]: Link: https://lore.kernel.org/lkml/072b3df6-09fb-98a8-2b58-41dfcabd98c0@gmail.com/... This series adds basic support for the QSEECOM interface used to communicate with secure applications running in the TrustZone on certain Qualcomm devices. In addition to that, it also provides a driver for "uefisecapp", the secure application managing access to UEFI variables on such platforms. .... <snip> ..... Maximilian Luz (3): lib/ucs2_string: Add UCS-2 strscpy function firmware: qcom_scm: Add support for Qualcomm Secure Execution Environment SCM interface firmware: Add support for Qualcomm UEFI Secure Application -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215268 https://bugzilla.suse.com/show_bug.cgi?id=1215268#c1 Chester Lin <chester.lin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|kernel-bugs@opensuse.org |chester.lin@suse.com --- Comment #1 from Chester Lin <chester.lin@suse.com> --- The following configs need to be enabled for audio support on X13s: CONFIG_SND_SOC_LPASS_WSA_MACRO=m CONFIG_SND_SOC_LPASS_VA_MACRO=m CONFIG_SND_SOC_LPASS_RX_MACRO=m CONFIG_SND_SOC_LPASS_TX_MACRO=m -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215268 https://bugzilla.suse.com/show_bug.cgi?id=1215268#c2 --- Comment #2 from Chester Lin <chester.lin@suse.com> --- The UEFI firmware of X13s has clk DT overlays that do not match the upstream DT (See as below example). Here we will need a downstream patch in order to enable audio system (LPASS) on X13s. ============ [In FDT overlaid by UEFI] clock-controller@3300000 { compatible = "qcom,sc8280xp-lpass-audio-csr"; ...... }; clock-controller@33e0000 { compatible = "qcom,sc8280xp-lpass-tcsr"; ...... }; [Upstream DT] clock-controller@32a9000 { compatible = "qcom,sc8280xp-lpassaudiocc"; reg = <0x00 0x32a9000 0x00 0x1000>; #clock-cells = <0x01>; #reset-cells = <0x01>; phandle = <0x6f>; }; clock-controller@33e0000 { compatible = "qcom,sc8280xp-lpasscc"; reg = <0x00 0x33e0000 0x00 0x12000>; #clock-cells = <0x01>; #reset-cells = <0x01>; phandle = <0x76>; }; -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215268 https://bugzilla.suse.com/show_bug.cgi?id=1215268#c3 --- Comment #3 from Chester Lin <chester.lin@suse.com> --- pushed into users/clin/stable/for-next. Waiting for code merge. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215268 Chester Lin <chester.lin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |afaerber@suse.com, | |jlee@suse.com, | |mbenes@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215268 https://bugzilla.suse.com/show_bug.cgi?id=1215268#c4 Chester Lin <chester.lin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmueller@suse.com, | |guillaume.gardet@arm.com, | |ivan.ivanov@suse.com, | |tiwai@suse.com --- Comment #4 from Chester Lin <chester.lin@suse.com> --- (In reply to Chester Lin from comment #1)
The following configs need to be enabled for audio support on X13s:
CONFIG_SND_SOC_LPASS_WSA_MACRO=m CONFIG_SND_SOC_LPASS_VA_MACRO=m CONFIG_SND_SOC_LPASS_RX_MACRO=m CONFIG_SND_SOC_LPASS_TX_MACRO=m
Rebased my for-next PR based on Takashi's CONFIG_SND_SOC_LPASS* PR from bsc#1215256. Thanks for Ivan's reminder. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215268 https://bugzilla.suse.com/show_bug.cgi?id=1215268#c5 Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jslaby@suse.com --- Comment #5 from Jiri Slaby <jslaby@suse.com> --- (In reply to Chester Lin from comment #2)
The UEFI firmware of X13s has clk DT overlays that do not match the upstream DT (See as below example). Here we will need a downstream patch in order to enable audio system (LPASS) on X13s.
So how is this going to be handled in upstream? IOW, why do we need a downstream patch and keep upstream broken? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215268 https://bugzilla.suse.com/show_bug.cgi?id=1215268#c6 --- Comment #6 from Chester Lin <chester.lin@suse.com> --- (In reply to Jiri Slaby from comment #5)
(In reply to Chester Lin from comment #2)
The UEFI firmware of X13s has clk DT overlays that do not match the upstream DT (See as below example). Here we will need a downstream patch in order to enable audio system (LPASS) on X13s.
So how is this going to be handled in upstream? IOW, why do we need a downstream patch and keep upstream broken?
I think this issue must be fixed in Lenovo UEFI firmware since Lenovo should follow the upstream dt-bindings (since v6.5): https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Docu... I will contact ARM & Lenovo to see if this issue can be fixed in later releases. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215268 https://bugzilla.suse.com/show_bug.cgi?id=1215268#c8 Chester Lin <chester.lin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |UPSTREAM Summary|[TRACKERBUG][aarch64][Lenov |[TRACKERBUG][aarch64][Lenov |o-X13s] Some workaround |o-X13s] Some workaround |patches [EFI, SND_SOC, |patches [EFI, sound_clock] |sound_clock] for the |for the current kernel |current kernel support on |support on X13s |X13s | --- Comment #8 from Chester Lin <chester.lin@suse.com> --- (In reply to Chester Lin from comment #7)
(In reply to Chester Lin from comment #6)
(In reply to Jiri Slaby from comment #5)
(In reply to Chester Lin from comment #2)
The UEFI firmware of X13s has clk DT overlays that do not match the upstream DT (See as below example). Here we will need a downstream patch in order to enable audio system (LPASS) on X13s.
So how is this going to be handled in upstream? IOW, why do we need a downstream patch and keep upstream broken?
I think this issue must be fixed in Lenovo UEFI firmware since Lenovo should follow the upstream dt-bindings (since v6.5):
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/ Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml
I will contact ARM & Lenovo to see if this issue can be fixed in later releases.
The compatible mismatch issue is now fixed in X13s UEFI FW v1.58.
I have dropped the workaround patch of lpasscc and confirmed that all QCOM EFI patches will be applied in v6.7-rc1. Let's close this bug, thank you. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com