Skip to content
Snippets Groups Projects

linux-postmarketos-qcom-sdm845: upgrade to 6.11.0

Merged Imported Administrator requested to merge sdm845/6.11-rc2 into master

Let's get this cooking on edge Boot tested on the OnePlus 6, 6T, and Yoga C630. Audio and calls not yet tested

Please try this out once CI passes! Testing instructions can be found here. Testing is done using the mrtest tool.

  • Qualcomm Snapdragon 845/850 (SDM845/SDM850):
    • oneplus-enchilada (@, @Breakfastisready, @CarbonatedCaffeine, @antonok, @crowdtier, @fdlamotte, @magdesign, @panzersajt)
    • xiaomi-beryllium (@anjandev, @longnoserob, @panzersajt)
Edited by Administrator

Merge request reports

Checking pipeline status.

Merged by AdministratorAdministrator 5 months ago (Oct 4, 2024 6:39pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Administrator assigned to @calebccff · Imported

    assigned to @calebccff

    By Caleb Connolly on 2024-08-11T22:50:26

  • Administrator changed the description · Imported

    changed the description

    By Caleb Connolly on 2024-08-11T22:50:43

  • Administrator changed the description · Imported

    changed the description

    By Caleb Connolly on 2024-08-11T22:50:54

  • Administrator added 1 commit · Imported

    added 1 commit

    • 2086adb4 - linux-postmarketos-qcom-sdm845: upgrade to 6.11.0-rc2

    Compare with previous version

    By Caleb Connolly on 2024-08-11T22:52:09

  • Administrator changed the description · Imported

    changed the description

    By Caleb Connolly on 2024-08-11T22:52:42

    • Author Owner
      Resolved by Administrator

      thanks for the MR

      I did some testing with mrtest on edge with phosh:

      xiaomi-beryllium:

      • boots
      • charger
      • sensors NG--> see below
      • haptics
      • torch

      connectivity:

      • wlan
      • bluetooth
      • modem - calls
      • modem - data waiting for new sim for testing
      • modem - gnss
      • usb network

      audio:

      • playback

      • recoding

      • calls

      • camera waiting for test

      sensors:

      no screen-rotation and no activity in monitor-sensor made me suspicious..

      Click to expand there is one kernel panic early on and the remoteproc seems to have some issue:
      [   47.564023] q6asm-dai remoteproc-adsp:glink-edge:apr:service@7:dais: command[0x10bdb] not expecting rsp
      [   47.585963] tas2559 5-004c: tas2559_mute
      [   47.585985] tas2559 5-004c: tas2559_enable: Off
      [   47.587811] tas2559 5-004c: tas2559_DevShutdown, dev=3
      [   47.635984] tas2559 5-004c: tas2559_enable: exit
      [   57.328921] qcom_scm firmware:scm: Assign memory protection call failed -22
      [   57.329003] ath10k_snoc 18800000.wifi: failed to unmap msa permissions: -22
      [   57.329236] qcom_scm firmware:scm: Assign memory protection call failed -22
      [   57.329292] ath10k_snoc 18800000.wifi: failed to unmap msa permissions: -22
      [   57.329334] ath10k_snoc 18800000.wifi: firmware crashed! (guid 2d7cac4b-7b38-4c7f-bf90-a768af667959)
      [   57.329355] ath10k_snoc 18800000.wifi: (null) target 0x00000000 chip_id 0x00000000 sub 0000:0000
      [   57.329373] ath10k_snoc 18800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
      [   57.329388] ath10k_snoc 18800000.wifi: firmware ver  api 0 features  crc32 00000000
      [   57.329405] ath10k_snoc 18800000.wifi: board_file api 0 bmi_id N/A crc32 00000000
      [   57.329421] ath10k_snoc 18800000.wifi: htt-ver 0.0 wmi-op 0 htt-op 0 cal file max-sta 0 raw 0 hwcrypto 1
      [   57.425511] ath10k_snoc 18800000.wifi: qmi chip_id 0x30214 chip_family 0x4001 board_id 0xff soc_id 0x40030001
      [   57.425656] ath10k_snoc 18800000.wifi: qmi fw_version 0x20090216 fw_build_timestamp 2019-12-18 08:15 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.2.0.c3-00534-QCAHLSWMTPLZ-1
      [   59.649063] qcom_q6v5_pas 5c00000.remoteproc: fatal error received: err_qdi.c:456:EF:sensor_process:1:dog_virtual_user.c:240:USER-PD DOG detects stalled initialization, triage with IMAGE OWNER
      [   59.649153] remoteproc remoteproc2: crash detected in 5c00000.remoteproc: type fatal error
      [   59.649247] remoteproc remoteproc2: handling crash #1 in 5c00000.remoteproc
      [   59.649260] remoteproc remoteproc2: recovering 5c00000.remoteproc
      [   59.672035] ------------[ cut here ]------------
      [   59.672053] refcount_t: underflow; use-after-free.
      [   59.672094] WARNING: CPU: 1 PID: 58 at lib/refcount.c:87 refcount_dec_not_one+0xa0/0xbc
      [   59.672121] Modules linked in: zstd zram zsmalloc nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink uhid ipv6 fuse venus_enc venus_dec videobuf2_dma_contig videobuf2_memops snd_soc_wcd934x soundwire_qcom snd_soc_wcd_mbhc gpio_wcd934x snd_soc_wcd_classh q6asm_dai q6routing q6afe_dai q6voice_dai q6voice q6asm q6adm wcd934x snd_q6dsp_common q6cvs regmap_slimbus q6mvm q6cvp q6afe q6voice_common q6core fastrpc qrtr_smd rpmsg_ctrl qcom_pd_mapper leds_qcom_lpg qcom_pbs leds_qcom_flash led_class_multicolor snd_soc_sdm845 rtc_pm8xxx qcom_spmi_haptics snd_soc_rt5663 qcom_spmi_rradc snd_soc_qcom_common crct10dif_ce snd_soc_rl6231 soundwire_bus qcom_stats hci_uart btqca venus_core btbcm v4l2_mem2mem bluetooth videobuf2_v4l2 videobuf2_common reset_qcom_pdc videodev ath10k_snoc ecdh_generic ecc ath10k_core mc pwrseq_core coresight_stm coresight_tmc coresight_replicator coresight_funnel stm_core coresight camcc_sdm845 snd_soc_tas2559 ath joydev mac80211 ipa
      [   59.672474]  qcom_rng qcom_q6v5_mss libarc4 cfg80211 rfkill qrtr qcom_q6v5_pas qcom_pil_info slim_qcom_ngd_ctrl qcom_q6v5 qcom_wdt icc_bwmon qcom_sysmon qcom_common qcom_glink_smem novatek_nvt_ts qcom_fg qcom_pmi8998_charger gpi
      [   59.672556] CPU: 1 UID: 0 PID: 58 Comm: kworker/u32:1 Not tainted 6.11.0-rc2-sdm845 #1-postmarketos-qcom-sdm845
      [   59.672569] Hardware name: Xiaomi Pocophone F1 (Tianma) (DT)
      [   59.672578] Workqueue: rproc_recovery_wq rproc_crash_handler_work
      [   59.672599] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
      [   59.672610] pc : refcount_dec_not_one+0xa0/0xbc
      [   59.672619] lr : refcount_dec_not_one+0xa0/0xbc
      [   59.672628] sp : ffff80008036bb30
      [   59.672633] x29: ffff80008036bb30 x28: 0000000000000000 x27: 0000000000000000
      [   59.672649] x26: ffff7aae00028028 x25: 0000000000000000 x24: ffff7aae00eac038
      [   59.672664] x23: ffffcf0183b64030 x22: ffffcf0183b64030 x21: ffff7aae0677c480
      [   59.672680] x20: ffffcf0183b640f0 x19: ffff7aae06457800 x18: ffffffffffff35d0
      [   59.672696] x17: 0000000000000014 x16: 0000000000000000 x15: ffff80008036b7a8
      [   59.672711] x14: ffffcf01fc601bc8 x13: 2e656572662d7265 x12: 7466612d65737520
      [   59.672727] x11: ffffcf01fc601bc8 x10: 0000000000000413 x9 : ffffcf01fc659bc8
      [   59.672741] x8 : 0000000000017fe8 x7 : 00000000fffff000 x6 : ffffcf01fc659bc8
      [   59.672756] x5 : ffff7aaefc704f88 x4 : 0000000000000000 x3 : ffffabad001ec000
      [   59.672773] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff7aae00800000
      [   59.672790] Call trace:
      [   59.672795]  refcount_dec_not_one+0xa0/0xbc
      [   59.672805]  refcount_dec_and_mutex_lock+0x1c/0xb8
      [   59.672816]  qcom_pdm_remove+0x30/0x7c [qcom_pd_mapper]
      [   59.672840]  auxiliary_bus_remove+0x24/0x40
      [   59.672853]  device_remove+0x4c/0x80
      [   59.672867]  device_release_driver_internal+0x1cc/0x224
      [   59.672880]  device_release_driver+0x18/0x24
      [   59.672892]  bus_remove_device+0xc8/0x108
      [   59.672904]  device_del+0x154/0x41c
      [   59.672915]  pdm_notify_unprepare+0x20/0x3c [qcom_common]
      [   59.672944]  rproc_unprepare_subdevices+0x30/0x4c
      [   59.672954]  rproc_stop+0x7c/0x100
      [   59.672963]  rproc_trigger_recovery+0xdc/0x140
      [   59.672973]  rproc_crash_handler_work+0xb8/0xbc
      [   59.672984]  process_one_work+0x148/0x284
      [   59.673001]  worker_thread+0x2c4/0x410
      [   59.673015]  kthread+0x110/0x114
      [   59.673026]  ret_from_fork+0x10/0x20
      [   59.673040] ---[ end trace 0000000000000000 ]---
      [   59.674057] remoteproc remoteproc2: stopped remote processor 5c00000.remoteproc
      [   59.843233] qcom,fastrpc 5c00000.remoteproc:glink-edge.fastrpcglink-apps-dsp.-1.-1: assigned reserved memory node fastrpc
      [   59.843582] qcom_scm firmware:scm: Assign memory protection call failed -22
      [   59.843754] remoteproc remoteproc2: remote processor 5c00000.remoteproc is now up
      [   60.487829] ath10k_snoc 18800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
      [   60.487883] ath10k_snoc 18800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
      [   60.487904] ath10k_snoc 18800000.wifi: firmware ver  api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790
      [   60.550764] ath10k_snoc 18800000.wifi: htt-ver 3.73 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1
      [   60.645625] ath10k_snoc 18800000.wifi: invalid MAC address; choosing random
      [   60.645990] ath: EEPROM regdomain: 0x809c
      [   60.646000] ath: EEPROM indicates we should expect a country code
      [   60.646010] ath: doing EEPROM country->regdmn map search
      [   60.646016] ath: country maps to regdmn code: 0x52
      [   60.646024] ath: Country alpha2 being used: CN
      [   60.646031] ath: Regpair used: 0x52
      [   61.055990] Bluetooth: MGMT ver 1.23
      [   63.783603] wlan0: authenticate with c8:8e:d1:52:1e:2c (local address=ee:5a:e5:49:31:7f)
      [   63.783664] wlan0: send auth to c8:8e:d1:52:1e:2c (try 1/3)
      [   63.788933] wlan0: authenticated
      [   63.790704] wlan0: associate with c8:8e:d1:52:1e:2c (try 1/3)
      [   63.795378] wlan0: RX AssocResp from c8:8e:d1:52:1e:2c (capab=0x411 status=0 aid=6)
      [   63.866546] wlan0: associated
      [   69.245456] rfkill: input handler disabled
      [   99.887964] qcom_q6v5_pas 5c00000.remoteproc: fatal error received: err_qdi.c:456:EF:sensor_process:1:dog_virtual_user.c:240:USER-PD DOG detects stalled initialization, triage with IMAGE OWNER
      [   99.888041] remoteproc remoteproc2: crash detected in 5c00000.remoteproc: type fatal error
      [   99.888161] remoteproc remoteproc2: handling crash #2 in 5c00000.remoteproc
      [   99.888171] remoteproc remoteproc2: recovering 5c00000.remoteproc
      [   99.924929] remoteproc remoteproc2: stopped remote processor 5c00000.remoteproc
      [  100.091045] qcom,fastrpc 5c00000.remoteproc:glink-edge.fastrpcglink-apps-dsp.-1.-1: assigned reserved memory node fastrpc
      [  100.091389] qcom_scm firmware:scm: Assign memory protection call failed -22
      [  100.091472] remoteproc remoteproc2: remote processor 5c00000.remoteproc is now up
      [  140.136192] qcom_q6v5_pas 5c00000.remoteproc: fatal error received: err_qdi.c:456:EF:sensor_process:1:dog_virtual_user.c:240:USER-PD DOG detects stalled initialization, triage with IMAGE OWNER
      [  140.136339] remoteproc remoteproc2: crash detected in 5c00000.remoteproc: type fatal error
      [  140.136398] remoteproc remoteproc2: handling crash #3 in 5c00000.remoteproc
      [  140.136411] remoteproc remoteproc2: recovering 5c00000.remoteproc
      [  140.178753] remoteproc remoteproc2: stopped remote processor 5c00000.remoteproc
      [  140.350552] qcom,fastrpc 5c00000.remoteproc:glink-edge.fastrpcglink-apps-dsp.-1.-1: assigned reserved memory node fastrpc
      [  140.350963] qcom_scm firmware:scm: Assign memory protection call failed -22

      these remoteproc2 messages continue on

      full dmesg could be provided if needed

      By Robert Eckelmann on 2024-10-04T16:29:13

      Edited by Administrator
  • Author Owner

    I tested on OP6

    • Torch works
    • Sound works
    • Call works
    • SMS Works
    • Wifi works
    • Bluetooth works
    • Modem Network works
    • Sensors not works but works well on 6.9 seems to be fixed in next rc
    • Microphone not works but works well on 6.9

    By Florian RICHER on 2024-08-15T16:05:40

    Edited by Administrator
  • Administrator mentioned in merge request !5514 (merged) · Imported

    mentioned in merge request !5514 (merged)

    By Caleb Connolly on 2024-08-18T20:58:28

  • Administrator added 33 commits · Imported

    added 33 commits

    Compare with previous version

    By Caleb Connolly on 2024-08-18T21:12:06

  • Administrator added 1 commit · Imported

    added 1 commit

    • 45773212 - linux-postmarketos-qcom-sdm845: upgrade to 6.11.0-rc2

    Compare with previous version

    By Caleb Connolly on 2024-08-18T21:18:14

  • Author Owner

    As @longnoserob mentioned, the config needs to be regenerated and updated.

    By Joel Selvaraj on 2024-08-19T08:01:40

    Edited by Administrator
    • Author Owner
      Resolved by Administrator

      just tested on oneplus enchilada 256gb with a 3rd party screen. this kernel does not support my screen, it stays black. issue persist since 6.9.0-r1

      (tested with pmbootstrap chroot -r)

      would be lovely if this gets reverted/fixed. happy to test another mr

      By magdesign on 2024-10-04T16:30:46

      Edited by Administrator
  • Administrator added 1 commit · Imported

    added 1 commit

    • bfd6193d - linux-postmarketos-qcom-sdm845: upgrade to 6.11.0

    Compare with previous version

    By Caleb Connolly on 2024-10-04T16:29:01

  • Administrator resolved all threads · Imported

    resolved all threads

    By Caleb Connolly on 2024-10-04T16:30:46

  • Administrator changed title from linux-postmarketos-qcom-sdm845: upgrade to 6.11.0-rc2 to linux-postmarketos-qcom-sdm845: upgrade to 6.11.0 · Imported

    changed title from linux-postmarketos-qcom-sdm845: upgrade to 6.11.0-rc2 to linux-postmarketos-qcom-sdm845: upgrade to 6.11.0

    By Caleb Connolly on 2024-10-04T18:25:06

  • Administrator added 232 commits · Imported

    added 232 commits

    Compare with previous version

    By Caleb Connolly on 2024-10-04T18:29:45

  • Administrator added 1 commit · Imported

    added 1 commit

    • 72eb3957 - linux-postmarketos-qcom-sdm845: upgrade to 6.11.0 (MR 5486)

    Compare with previous version

    By Caleb Connolly on 2024-10-04T18:31:05

  • Administrator enabled an automatic merge when all merge checks for 72eb3957 pass · Imported

    enabled an automatic merge when all merge checks for 72eb3957 pass

    By Caleb Connolly on 2024-10-04T18:31:15

  • Administrator aborted the automatic merge because the source branch was updated. Learn more. · Imported

    aborted the automatic merge because the source branch was updated. Learn more.

    By Caleb Connolly on 2024-10-04T18:34:22

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading