Skip to content

Revert of fastrpc: Add missing bug fixes#487

Open
sgaud-quic wants to merge 4 commits intoqualcomm-linux:qcom-6.18.yfrom
sgaud-quic:fastrpc_revert
Open

Revert of fastrpc: Add missing bug fixes#487
sgaud-quic wants to merge 4 commits intoqualcomm-linux:qcom-6.18.yfrom
sgaud-quic:fastrpc_revert

Conversation

@sgaud-quic
Copy link
Copy Markdown
Contributor

synchronous external abort seen on rb3gen2 board :

[   12.956733] Internal error: synchronous external abort: 0000000086000010 [#1]  SMP
he[0m.
[   13.062890] CPU: 7 UID: 0 PID: 70 Comm: kworker/u32:1 Tainted: G   M    W           6.18.21-gc6e76e40614f-dirty #1 PREEMPT
[   13.062896] Tainted: [M]=MACHINE_CHECK, [W]=WARN
[   13.062897] Hardware name: Qualcomm Technologies, Inc. Robotics RB3gen2 (DT)
[   13.062900] Workqueue: efi_rts_wq efi_call_rts
[[0;32m  OK  [0m] Finished [0;1;39mAutomatic Boot Loader Upda[   13.062910] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   13.062914] pc : 0x9d26b120
[   13.062917] lr : __efi_rt_asm_wrapper+0x50/0x74
[   13.062924] sp : ffff8000803a3ff0
[   13.062926] x29: ffff8000808dbd00 x28: 0000000000000000 x27: 0000000000000000
[   13.062930] x26: ffff000080020828 x25: 0000000000000000 x24: ffff000081469e05
[   13.062934] x23: ffffd32513994848 x22: ffff000080020800 x21: 0000000000000000
[   13.062938] x20: ffff8000859fbbd0 x19: ffffd32513994830 x18: ffff800085cdbc10
te[0m.
[   13.062941] x17: 0000000000000000 x16: ffff8000803a4000 x15: 000123007dce662a
[   13.062944] x14: ffff000080bb93d0 x13: ffff2cdc6c0e5000 x12: 0000000000000001
[   13.062948] x11: 00000000000000c0 x10: 0000000000000c50 x9 : ffff8000808dbd20
[   13.062951] x8 : 000000009d26b120 x7 : ffff00008092b988 x6 : ffff000088bd87c0
[   13.062955] x5 : 0000000000000020 x4 : ffff000088bd87c0 x3 : 0000000000000020
[   13.062958] x2 : 0000000000000007 x1 : ffff0000899c3c00 x0 : ffff0000899c3800
[   13.062962] Call trace:
[   13.062964]  0x9d26b120 (P)
[   13.062967]  efi_call_rts+0x1c0/0x274
[   13.062970]  process_one_work+0x154/0x3ac
[   13.062974]  worker_thread+0x18c/0x30c
[   13.062977]  kthread+0x140/0x220
[   13.062982]  ret_from_fork+0x10/0x20
[   13.062986] ---[ end trace 0000000000000000 ]---

…ULL"

synchronous external abort seen on rb3gen2 board :

[   12.956733] Internal error: synchronous external abort: 0000000086000010 [#1]  SMP
he[0m.
[   13.062890] CPU: 7 UID: 0 PID: 70 Comm: kworker/u32:1 Tainted: G   M    W           6.18.21-gc6e76e40614f-dirty #1 PREEMPT
[   13.062896] Tainted: [M]=MACHINE_CHECK, [W]=WARN
[   13.062897] Hardware name: Qualcomm Technologies, Inc. Robotics RB3gen2 (DT)
[   13.062900] Workqueue: efi_rts_wq efi_call_rts
[[0;32m  OK  [0m] Finished [0;1;39mAutomatic Boot Loader Upda[   13.062910] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   13.062914] pc : 0x9d26b120
[   13.062917] lr : __efi_rt_asm_wrapper+0x50/0x74
[   13.062924] sp : ffff8000803a3ff0
[   13.062926] x29: ffff8000808dbd00 x28: 0000000000000000 x27: 0000000000000000
[   13.062930] x26: ffff000080020828 x25: 0000000000000000 x24: ffff000081469e05
[   13.062934] x23: ffffd32513994848 x22: ffff000080020800 x21: 0000000000000000
[   13.062938] x20: ffff8000859fbbd0 x19: ffffd32513994830 x18: ffff800085cdbc10
te[0m.
[   13.062941] x17: 0000000000000000 x16: ffff8000803a4000 x15: 000123007dce662a
[   13.062944] x14: ffff000080bb93d0 x13: ffff2cdc6c0e5000 x12: 0000000000000001
[   13.062948] x11: 00000000000000c0 x10: 0000000000000c50 x9 : ffff8000808dbd20
[   13.062951] x8 : 000000009d26b120 x7 : ffff00008092b988 x6 : ffff000088bd87c0
[   13.062955] x5 : 0000000000000020 x4 : ffff000088bd87c0 x3 : 0000000000000020
[   13.062958] x2 : 0000000000000007 x1 : ffff0000899c3c00 x0 : ffff0000899c3800
[   13.062962] Call trace:
[   13.062964]  0x9d26b120 (P)
[   13.062967]  efi_call_rts+0x1c0/0x274
[   13.062970]  process_one_work+0x154/0x3ac
[   13.062974]  worker_thread+0x18c/0x30c
[   13.062977]  kthread+0x140/0x220
[   13.062982]  ret_from_fork+0x10/0x20
[   13.062986] ---[ end trace 0000000000000000 ]---

This reverts commit d1a141e.
…Audio PD in probe"

synchronous external abort seen on rb3gen2 board :

    [   12.956733] Internal error: synchronous external abort: 0000000086000010 [#1]  SMP
    he[0m.
    [   13.062890] CPU: 7 UID: 0 PID: 70 Comm: kworker/u32:1 Tainted: G   M    W           6.18.21-gc6e76e40614f-dirty #1 PREEMPT
    [   13.062896] Tainted: [M]=MACHINE_CHECK, [W]=WARN
    [   13.062897] Hardware name: Qualcomm Technologies, Inc. Robotics RB3gen2 (DT)
    [   13.062900] Workqueue: efi_rts_wq efi_call_rts
    [[0;32m  OK  [0m] Finished [0;1;39mAutomatic Boot Loader Upda[   13.062910] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [   13.062914] pc : 0x9d26b120
    [   13.062917] lr : __efi_rt_asm_wrapper+0x50/0x74
    [   13.062924] sp : ffff8000803a3ff0
    [   13.062926] x29: ffff8000808dbd00 x28: 0000000000000000 x27: 0000000000000000
    [   13.062930] x26: ffff000080020828 x25: 0000000000000000 x24: ffff000081469e05
    [   13.062934] x23: ffffd32513994848 x22: ffff000080020800 x21: 0000000000000000
    [   13.062938] x20: ffff8000859fbbd0 x19: ffffd32513994830 x18: ffff800085cdbc10
    te[0m.
    [   13.062941] x17: 0000000000000000 x16: ffff8000803a4000 x15: 000123007dce662a
    [   13.062944] x14: ffff000080bb93d0 x13: ffff2cdc6c0e5000 x12: 0000000000000001
    [   13.062948] x11: 00000000000000c0 x10: 0000000000000c50 x9 : ffff8000808dbd20
    [   13.062951] x8 : 000000009d26b120 x7 : ffff00008092b988 x6 : ffff000088bd87c0
    [   13.062955] x5 : 0000000000000020 x4 : ffff000088bd87c0 x3 : 0000000000000020
    [   13.062958] x2 : 0000000000000007 x1 : ffff0000899c3c00 x0 : ffff0000899c3800
    [   13.062962] Call trace:
    [   13.062964]  0x9d26b120 (P)
    [   13.062967]  efi_call_rts+0x1c0/0x274
    [   13.062970]  process_one_work+0x154/0x3ac
    [   13.062974]  worker_thread+0x18c/0x30c
    [   13.062977]  kthread+0x140/0x220
    [   13.062982]  ret_from_fork+0x10/0x20
    [   13.062986] ---[ end trace 0000000000000000 ]---

This reverts commit cf859be.
…ap operation"

synchronous external abort seen on rb3gen2 board :

[   12.956733] Internal error: synchronous external abort: 0000000086000010 [#1]  SMP
he[0m.
[   13.062890] CPU: 7 UID: 0 PID: 70 Comm: kworker/u32:1 Tainted: G   M    W           6.18.21-gc6e76e40614f-dirty #1 PREEMPT
[   13.062896] Tainted: [M]=MACHINE_CHECK, [W]=WARN
[   13.062897] Hardware name: Qualcomm Technologies, Inc. Robotics RB3gen2 (DT)
[   13.062900] Workqueue: efi_rts_wq efi_call_rts
[[0;32m  OK  [0m] Finished [0;1;39mAutomatic Boot Loader Upda[   13.062910] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   13.062914] pc : 0x9d26b120
[   13.062917] lr : __efi_rt_asm_wrapper+0x50/0x74
[   13.062924] sp : ffff8000803a3ff0
[   13.062926] x29: ffff8000808dbd00 x28: 0000000000000000 x27: 0000000000000000
[   13.062930] x26: ffff000080020828 x25: 0000000000000000 x24: ffff000081469e05
[   13.062934] x23: ffffd32513994848 x22: ffff000080020800 x21: 0000000000000000
[   13.062938] x20: ffff8000859fbbd0 x19: ffffd32513994830 x18: ffff800085cdbc10
te[0m.
[   13.062941] x17: 0000000000000000 x16: ffff8000803a4000 x15: 000123007dce662a
[   13.062944] x14: ffff000080bb93d0 x13: ffff2cdc6c0e5000 x12: 0000000000000001
[   13.062948] x11: 00000000000000c0 x10: 0000000000000c50 x9 : ffff8000808dbd20
[   13.062951] x8 : 000000009d26b120 x7 : ffff00008092b988 x6 : ffff000088bd87c0
[   13.062955] x5 : 0000000000000020 x4 : ffff000088bd87c0 x3 : 0000000000000020
[   13.062958] x2 : 0000000000000007 x1 : ffff0000899c3c00 x0 : ffff0000899c3800
[   13.062962] Call trace:
[   13.062964]  0x9d26b120 (P)
[   13.062967]  efi_call_rts+0x1c0/0x274
[   13.062970]  process_one_work+0x154/0x3ac
[   13.062974]  worker_thread+0x18c/0x30c
[   13.062977]  kthread+0x140/0x220
[   13.062982]  ret_from_fork+0x10/0x20
[   13.062986] ---[ end trace 0000000000000000 ]---

This reverts commit 5d08c5a.
…dio PD memory pool"

synchronous external abort seen on rb3gen2 board :

[   12.956733] Internal error: synchronous external abort: 0000000086000010 [#1]  SMP
he[0m.
[   13.062890] CPU: 7 UID: 0 PID: 70 Comm: kworker/u32:1 Tainted: G   M    W           6.18.21-gc6e76e40614f-dirty #1 PREEMPT
[   13.062896] Tainted: [M]=MACHINE_CHECK, [W]=WARN
[   13.062897] Hardware name: Qualcomm Technologies, Inc. Robotics RB3gen2 (DT)
[   13.062900] Workqueue: efi_rts_wq efi_call_rts
[[0;32m  OK  [0m] Finished [0;1;39mAutomatic Boot Loader Upda[   13.062910] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   13.062914] pc : 0x9d26b120
[   13.062917] lr : __efi_rt_asm_wrapper+0x50/0x74
[   13.062924] sp : ffff8000803a3ff0
[   13.062926] x29: ffff8000808dbd00 x28: 0000000000000000 x27: 0000000000000000
[   13.062930] x26: ffff000080020828 x25: 0000000000000000 x24: ffff000081469e05
[   13.062934] x23: ffffd32513994848 x22: ffff000080020800 x21: 0000000000000000
[   13.062938] x20: ffff8000859fbbd0 x19: ffffd32513994830 x18: ffff800085cdbc10
te[0m.
[   13.062941] x17: 0000000000000000 x16: ffff8000803a4000 x15: 000123007dce662a
[   13.062944] x14: ffff000080bb93d0 x13: ffff2cdc6c0e5000 x12: 0000000000000001
[   13.062948] x11: 00000000000000c0 x10: 0000000000000c50 x9 : ffff8000808dbd20
[   13.062951] x8 : 000000009d26b120 x7 : ffff00008092b988 x6 : ffff000088bd87c0
[   13.062955] x5 : 0000000000000020 x4 : ffff000088bd87c0 x3 : 0000000000000020
[   13.062958] x2 : 0000000000000007 x1 : ffff0000899c3c00 x0 : ffff0000899c3800
[   13.062962] Call trace:
[   13.062964]  0x9d26b120 (P)
[   13.062967]  efi_call_rts+0x1c0/0x274
[   13.062970]  process_one_work+0x154/0x3ac
[   13.062974]  worker_thread+0x18c/0x30c
[   13.062977]  kthread+0x140/0x220
[   13.062982]  ret_from_fork+0x10/0x20
[   13.062986] ---[ end trace 0000000000000000 ]---

This reverts commit 10c92d2.
Copy link
Copy Markdown

@shashim-quic shashim-quic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved the revert for release milestone. fastrpc must review and check the patches before resubmitting.

  cf859be8c367 in PR #433 — committed April 13, merged April 15, 2026

  Commit: FROMLIST: misc: fastrpc: Allocate entire reserved memory for Audio PD in probe

  What it does: Extends fastrpc_rpmsg_probe() to call qcom_scm_assign_mem() for the ADSP domain — something that was previously only done for SDSP. This
  reassigns adsp-rpc-remote-heap@9cb80000 (0x9cb80000–0x9d37ffff, 8 MiB) from HLOS to QCOM_SCM_VMID_LPASS + QCOM_SCM_VMID_ADSP_HEAP via TrustZone XPU,
  revoking HLOS CPU access to that range.

  Why it breaks: EFI firmware v2.7 has its runtime code/data inside that exact physical range (EFI tables at 0x9cc85018, 0x9cdbe018; EFI execution at
  0x9d26b120). After fastrpc probes and calls qcom_scm_assign_mem() at ~T=13 s, any subsequent EFI runtime call (via efi_rts_wq → efi_call_rts) hits an XPU
  violation → synchronous external abort → EFI runtime services permanently broken → systemd-random-seed SetVariable hangs forever → boot never reaches
  login.

@qcomlnxci
Copy link
Copy Markdown

Test Matrix

Test Case lemans-evk monaco-evk qcs615-ride qcs6490-rb3gen2 qcs8300-ride qcs9100-ride-r3 sm8750-mtp x1e80100-crd
0_qcom-next-ci-premerge-tests ◻️ ❌ Fail ◻️ ◻️ ◻️ ◻️ ◻️ ◻️
BT_FW_KMD_Service ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
BT_ON_OFF ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
BT_SCAN ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
CPUFreq_Validation ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
CPU_affinity ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
DSP_AudioPD ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
Ethernet ◻️ ✅ Pass ◻️ ⚠️ skip ✅ Pass ◻️ ◻️ ◻️
Freq_Scaling ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
GIC ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
IPA ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
Interrupts ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
OpenCV ◻️ ⚠️ skip ◻️ ⚠️ skip ⚠️ skip ◻️ ◻️ ◻️
PCIe ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
Probe_Failure_Check ◻️ ❌ Fail ◻️ ❌ Fail ❌ Fail ◻️ ◻️ ◻️
RMNET ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
UFS_Validation ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
USBHost ◻️ ✅ Pass ◻️ ❌ Fail ✅ Pass ◻️ ◻️ ◻️
WiFi_Firmware_Driver ◻️ ⚠️ skip ◻️ ⚠️ skip ⚠️ skip ◻️ ◻️ ◻️
WiFi_OnOff ◻️ ⚠️ skip ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
cdsp_remoteproc ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
hotplug ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
irq ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
kaslr ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
pinctrl ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
qcom_hwrng ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
remoteproc ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
rngtest ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
shmbridge ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
smmu ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
watchdog ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️
wpss_remoteproc ◻️ ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️ ◻️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants