Skip to content

Conversation

@ujfalusi
Copy link
Contributor

@ujfalusi ujfalusi commented Oct 28, 2025

he dst pointer must not be used directly while applying TRANS_GAIN to
avoid corrupting memory in heap.

Signed-off-by: Peter Ujfalusi peter.ujfalusi@linux.intel.com
Fixes: 6993617 ("copier: gain: add processing functions")
Closes: #10318

Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

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

A "fixes: xxx" would be useful but not manadatory for FW commits.

@kv2019i kv2019i requested a review from iganakov October 28, 2025 18:01
The dst pointer must not be used directly while applying TRANS_GAIN to
avoid corrupting memory in heap.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fixes: 6993617 ("copier: gain: add processing functions")
Closes: thesofproject#10318
@ujfalusi ujfalusi force-pushed the peter/pr/gain-with-gcc-fix branch from 9e4e3aa to 130464f Compare October 29, 2025 06:26
@ujfalusi
Copy link
Contributor Author

Changes since v1:

  • Fixes tag added
  • Commit message reworded a bit
  • dropped the reset of fade_in_sg_count as it is not needed (double checked it)

@lgirdwood
Copy link
Member

@lrudyX good to merge, passing on other CIs.

@lrudyX
Copy link

lrudyX commented Oct 30, 2025

@lrudyX good to merge, passing on other CIs.

Failed at one test, scheduled for rerun

@ujfalusi
Copy link
Contributor Author

@lrudyX good to merge, passing on other CIs.

Failed at one test, scheduled for rerun

@lrudyX, does the test uses the copier-generic.c or the copier-hifi.c? Iow, do you compile it with GCC or Xcc?

@lrudyX
Copy link

lrudyX commented Oct 30, 2025

@lrudyX good to merge, passing on other CIs.

Failed at one test, scheduled for rerun

@lrudyX, does the test uses the copier-generic.c or the copier-hifi.c? Iow, do you compile it with GCC or Xcc?

All tests passed after rerun. That was rather sporadic issue, not related to this PR

@lgirdwood lgirdwood merged commit be3ebee into thesofproject:main Oct 30, 2025
39 of 45 checks passed
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.

[BUG] DMIC capture fails to DSP out of memory with GCC build

8 participants