Repository navigation
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
after booting on Up2 w/ Hifiberry (doing nothing), when I try to remove the modules w/ sof_remove.sh, I see an attempt to resume the DSP and a debugfs error.
[ 7.711909] sof-audio sof-audio: ipc tx: 0x40010000: GLB_PM_MSG: CTX_SAVE
[ 7.711978] sof-audio sof-audio: ipc tx succeeded: 0x40010000: GLB_PM_MSG: CTX_SAVE
[ 7.711989] sof-audio sof-audio: tag 1 not opened!
[ 7.733272] sof-audio sof-audio: DSP core(s) enabled? 0 : core_mask 3
At this point the audio driver is in D3. When I run sof_remove.sh, I get
[ 99.765883] sof-audio sof-audio: loading firmware
[ 99.765892] sof-audio sof-audio: booting DSP firmware
[ 99.766093] sof-audio sof-audio: unstall/run core: core_mask = 1
[ 99.766099] sof-audio sof-audio: DSP core(s) enabled? 1 : core_mask 1
[ 99.810698] sof-audio sof-audio: Firmware download successful, booting...
[ 99.810826] sof-audio sof-audio: ipc rx: 0x70000000: FW_READY
[ 99.810835] sof-audio sof-audio: ipc: DSP is ready 0x70000000 offset 0x81000
[ 99.810876] sof-audio sof-audio: Firmware info: version 1.1-83ed9 build 32 on Aug 22 2018:17:28:31
[ 99.810968] sof-audio sof-audio: found ext header type 1 size 0x9c
[ 99.810997] sof-audio sof-audio: cannot create debugfs entry.
[ 99.811373] sof-audio sof-audio: cannot create debugfs entry.
[ 99.811806] sof-audio sof-audio: cannot create debugfs entry.
[ 99.812174] sof-audio sof-audio: cannot create debugfs entry.
[ 99.812561] sof-audio sof-audio: cannot create debugfs entry.
[ 99.812925] sof-audio sof-audio: cannot create debugfs entry.
[ 99.813290] sof-audio sof-audio: cannot create debugfs entry.
[ 99.813666] sof-audio sof-audio: mailbox upstream 0x81000 - size 0x1000
[ 99.813682] sof-audio sof-audio: mailbox downstream 0xa0000 - size 0x2000
[ 99.813692] sof-audio sof-audio: stream region 0xc1000 - size 0x1000
[ 99.813697] sof-audio sof-audio: booting DSP firmware completed
[ 99.813705] sof-audio sof-audio: ipc rx done: 0x70000000: FW_READY
[ 99.815614] sof-audio sof-audio: firmware boot complete
[ 99.815647] sof-audio sof-audio: stream_tag: 1
Unclear to me why the resume happens precisely when the module is being removed?
In addition we shouldn't see this debugfs error.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Activity
ranj063 commentedon Sep 25, 2018
@mengdonglin this is expected behaviour for PCI devices. The pci device if it is runtime suspended at the time the kernel module is unloaded, its runtime_resume gets called to bring it back to full power.
So it is not an issue. Is it OK to close this now?
wenqingfu commentedon Dec 20, 2018
@plbossart are you ok to close it?
mm/memory_hotplug.c: fix notification in offline error path
mm/memory_hotplug.c: fix notification in offline error path
KVM: x86: Grab KVM's srcu lock when setting nested state
Merge pull request thesofproject#94 from Rust-for-Linux/rust-clippy
drm/fb-helper: Use a per-driver FB deferred I/O handler
selftests/bpf: Fix probe_user test failure with clang build kernel
net: phy: micrel: Do not use kszphy_suspend/resume for KSZ8061
selftests/bpf: Remove filtered subtests from output
vmap(): don't allow invalid pages
md/raid5: avoid BUG_ON() while continue reshape after reassembling
md: make rdev_addable usable for rcu mode