Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* Questions About SM8550 Support
@ 2026-01-27 22:48 Aaron Kling
  2026-01-28  8:50 ` Neil Armstrong
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Aaron Kling @ 2026-01-27 22:48 UTC (permalink / raw)
  To: linux-arm-msm

I am working on the AYN Odin 2 qcs8550 series of devices, specifically
for Android, using mainline kernel drivers. I have come across some
missing functionality and failures that I would like to inquire about.

* ABL fails to load a dtbo using a baseline dtb unmodified from
mainline. Using changes described in the gunyah watchdog thread [0], a
dtbo loads and the devices boot as expected. If any of the changes in
that post don't exist in the base dtb, abl will fail to load the dtbo
and go to the bootloader menu. This appears to be an issue in the
baseline abl code, affecting all devices of that generation. Would it
be allowable to merge a change adding those changes to the sm8550
dtsi, allowing an unmodified mainline dtb to work with overlays?

* SM8550 does not have cpu opp tables, thus cpufreq does not work. I
have locally copied the commits from sm8650 and adapted for sm8550,
and that seems to work okay. But no measuring of bandwidth was done,
so the numbers are likely not entirely correct. Is there any plan to
generate correct tables for sm8550?

* As part of a series to support the original Odin 2, a patch to
update sm8550 EAS values was submitted [1]. But that series stalled
and this was never merged. If this change is valid, which per that
discussion it appears to be, can it be resubmitted by itself and
merged?

* Per the mainline kernel device trees and audio topology provide by
the oem, these devices use primary i2s for the speakers path. There
was a commit adding clock support for that as part of an hdmi series
[2], but that seems to have stalled. Is this going to be picked back
up?

* Inline crypto fails to detect hwkm support. And I see other logs
online, such as for the sm8550 qrd, that logs the same way my device
does. I traced the issue to the check for wrapped key support [3]. On
my devices, the derive call is supported, but the other three calls
are not. I was pointed at the downstream headers for sm8550 support
and only derive is listed there, the other three don't appear to be
used in the downstream driver. Is this expected? And if so, will this
case be added to the mainline drivers?

* Some gpu related clocks complain about being stuck off during boot,
causing stack traces, but the gpu does work. I tried to do some
research into this, but quickly got lost in the weeds and I have no
idea where to even look.
[    0.367278] gpu_cc_cxo_clk status stuck at 'off'
[    0.367962] gpu_cc_hub_cx_int_clk status stuck at 'off'
[    0.368595] gpu_cc_cx_gmu_clk status stuck at 'off'
[    0.369245] disp_cc_mdss_ahb1_clk status stuck at 'off'

* Sometimes when starting rendering, a bandwidth submission times out,
then the driver immediately complains that said id was left on the
queue. I have tried increasing the timeout, but the same sequence
still happens. Timeout happens, immediately followed by a matching
unexpected response. Implying that this isn't actually a delay /
timeout issue.
[ 1848.517020] platform 3d6a000.gmu:
[drm:a6xx_hfi_wait_for_msg_interrupt [msm]] *ERROR* Message
HFI_H2F_MSG_GX_BW_PERF_VOTE id 1015 timed out waiting for response
[ 1848.518020] platform 3d6a000.gmu: [drm:a6xx_hfi_send_msg [msm]]
*ERROR* Unexpected message id 1015 on the response queue

* Some 3dmark benchmarks such as solar bay cause a gpu crash. I am
unsure if this is a kernel problem or userspace, so I'm submitting
here first. If the consensus is that it's a userspace issue, I'll
submit it to mesa.
[ 1860.112008] adreno 3d00000.gpu: [drm:a6xx_irq [msm]] *ERROR* gpu
fault ring 2 fence a261 status 00EF0585 rb 06df/090f ib1
00000001512E9000/003d ib2 00000001512E7000/0000
[ 1860.113122] msm_dpu ae01000.display-controller: [drm:recover_worker
[msm]] *ERROR* 67.5.10.1: hangcheck recover!
[ 1860.113238] msm_dpu ae01000.display-controller: [drm:recover_worker
[msm]] *ERROR* 67.5.10.1: offending task: Thread-23
(com.futuremark.dmandroid.application)
[ 1860.258126] revision: 0 (67.5.10.1)
[ 1860.258132] rb 0: fence:    2884/2884
[ 1860.258133] rptr:     36
[ 1860.258134] rb wptr:  36
[ 1860.258135] rb 1: fence:    -256/-256
[ 1860.258138] rptr:     0
[ 1860.258138] rb wptr:  0
[ 1860.258139] rb 2: fence:    41563/41569
[ 1860.258140] rptr:     1752
[ 1860.258140] rb wptr:  2319
[ 1860.258141] rb 3: fence:    -256/-256
[ 1860.258141] rptr:     0
[ 1860.258142] rb wptr:  0
[ 1860.258146] adreno 3d00000.gpu: [drm:a6xx_recover [msm]] CP_SCRATCH_REG0: 0
[ 1860.258220] adreno 3d00000.gpu: [drm:a6xx_recover [msm]] CP_SCRATCH_REG1: 0
[ 1860.258266] adreno 3d00000.gpu: [drm:a6xx_recover [msm]]
CP_SCRATCH_REG2: 41562
[ 1860.258310] adreno 3d00000.gpu: [drm:a6xx_recover [msm]] CP_SCRATCH_REG3: 0
[ 1860.258354] adreno 3d00000.gpu: [drm:a6xx_recover [msm]]
CP_SCRATCH_REG4: 3736059565
[ 1860.258399] adreno 3d00000.gpu: [drm:a6xx_recover [msm]]
CP_SCRATCH_REG5: 3736059565
[ 1860.258443] adreno 3d00000.gpu: [drm:a6xx_recover [msm]]
CP_SCRATCH_REG6: 3736059565
[ 1860.258487] adreno 3d00000.gpu: [drm:a6xx_recover [msm]]
CP_SCRATCH_REG7: 3736059565

Aaron

[0] https://lore.kernel.org/all/91002189-9d9e-48a2-8424-c42705fed3f8@quicinc.com/
[1] https://lore.kernel.org/all/20240424-ayn-odin2-initial-v1-7-e0aa05c991fd@gmail.com/
[2] https://lore.kernel.org/all/20251008-topic-sm8x50-next-hdk-i2s-v2-3-6b7d38d4ad5e@linaro.org/
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/firmware/qcom/qcom_scm.c?h=v6.18#n1285

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2026-03-11 23:33 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-27 22:48 Questions About SM8550 Support Aaron Kling
2026-01-28  8:50 ` Neil Armstrong
2026-01-28 14:46   ` Rob Clark
2026-01-28 17:54     ` Aaron Kling
2026-01-29 23:11       ` Akhil P Oommen
2026-01-30  2:35         ` Aaron Kling
2026-02-05  8:01           ` Aaron Kling
2026-02-05 10:54             ` Konrad Dybcio
2026-02-05 13:29             ` Akhil P Oommen
2026-02-05 17:40               ` Aaron Kling
2026-03-10 21:33                 ` Akhil P Oommen
2026-03-10 21:53                   ` Aaron Kling
2026-03-11  8:47                     ` Konrad Dybcio
2026-03-11 23:33                       ` Aaron Kling
2026-02-05 14:43             ` Dmitry Baryshkov
2026-01-28 18:42   ` Aaron Kling
2026-02-06 15:04     ` Neil Armstrong
2026-01-28 14:03 ` Konrad Dybcio
2026-01-28 18:20   ` Aaron Kling
2026-02-02  9:35   ` Taniya Das
2026-02-02 23:01     ` Aaron Kling
2026-02-03  6:34       ` Jagadeesh Kona
2026-02-03 23:21         ` Aaron Kling
2026-02-04 16:53           ` Taniya Das
2026-02-04 18:18             ` Aaron Kling
2026-01-30 11:01 ` Konrad Dybcio
2026-01-30 17:13   ` Aaron Kling
2026-02-02 10:36     ` Konrad Dybcio
2026-02-02 23:12       ` Aaron Kling
2026-02-03 10:31         ` Konrad Dybcio
2026-02-03 17:31           ` Aaron Kling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox