Skip to content

Tags: thesofproject/sof

Tags

v2.12

zephyr: fix overflow and overlap checks in memcpy_s

This patch addresses an issue in the `memcpy_s` function within the
Zephyr RTOS string header. The issue was identified during IPC3 fuzz
testing with UndefinedBehaviorSanitizer enabled.

Changes include:
- Adding `stdint.h` for `uintptr_t` type.
- Adding checks to prevent overflow in pointer arithmetic.
- Adjusting overlap checks to avoid overflow.

These changes ensure that the `memcpy_s` function correctly handles edge
cases, preventing undefined behavior due to pointer arithmetic overflow
and memory overlap.

Fixes #9768

Signed-off-by: Tomasz Leman <[email protected]>
(cherry picked from commit 7d11802)
Signed-off-by: Kai Vehmanen <[email protected]>

v2.12-rc2

zephyr: fix overflow and overlap checks in memcpy_s

This patch addresses an issue in the `memcpy_s` function within the
Zephyr RTOS string header. The issue was identified during IPC3 fuzz
testing with UndefinedBehaviorSanitizer enabled.

Changes include:
- Adding `stdint.h` for `uintptr_t` type.
- Adding checks to prevent overflow in pointer arithmetic.
- Adjusting overlap checks to avoid overflow.

These changes ensure that the `memcpy_s` function correctly handles edge
cases, preventing undefined behavior due to pointer arithmetic overflow
and memory overlap.

Fixes #9768

Signed-off-by: Tomasz Leman <[email protected]>
(cherry picked from commit 7d11802)
Signed-off-by: Kai Vehmanen <[email protected]>

v2.2.13

topology1: add sof-adl-rt1316-l02-4ch support

The configuration has no jack and use rt1316 amps and PCH DMIC.

Signed-off-by: Bard Liao <[email protected]>

releases/ptl/v3.0

versions.json: set version to 2.12.0

Set version to 2.12.0 to prepare for stable release.

Signed-off-by: Kai Vehmanen <[email protected]>

v2.12-rc1

topology2: Add support for cs42l43 SKU with two host DMICs

Add support for another Lenovo SKU that uses cs42l43, but has two
host-side DMICs instead of the CODECs DMICs.

Signed-off-by: Richard Fitzgerald <[email protected]>

v2.11.3

Tools: Topology2: SDW: Use for PCH DMIC IIR type with +20 dB gain

The existing default is high-pass 40 Hz with 0 dB gain. This
change amplifies captured sound from DMIC by 20 dB. The same
amplifying IIR type is used in hda-generic.

The change is for now, but not the final solution. After we have
UCM2 control for capture processing in SOF we can shift applying
more gain to the DRC component that will provide more robustness
with silent and loud environments.

Signed-off-by: Seppo Ingalsuo <[email protected]>
(cherry picked from commit 9fd7ef7)

v2.11.2

topology2: rename sof-arl-rt722-l0-rt1320-l2

The file name defined in the Linux kernel is
sof-arl-rt722-l0_rt1320-l2.tplg.

Signed-off-by: Bard Liao <[email protected]>
(cherry picked from commit 72d03ef)
Signed-off-by: Kai Vehmanen <[email protected]>

v2.2.12

topology1: add sdw multi-function codec support

The topology includes multi-function codec support on single
SoundWire link. The hardware configuration on RPL product is below:

Soundwire#
  link 0: cs42l43 multi-function codec with
          JACK, DMIC and Speakers endpoints.

The SDW used bidirectional DAI for each sdw link. DAI index starts from 2.
sdw0/1/2/3: 2(ALH_OUT/IN) / 3(ALH_IN/OUT)

In this SKU, reorder to match cs42l43 DAIs Pin on sdw link 0:
sdw0: 2(JACK_OUT), 3(DMIC_IN), 4(JACK_IN), 5(AMP_OUT)

Besides, align the partial string match of dai name from main branch.

Signed-off-by: Mac Chiang <[email protected]>

releases/ptl/v2.0

boards: ace20/ace30: disable KCPS dynamic clock control

KCPS must be disabled until full perf measurement data
for audio modules is provided

Signed-off-by: Adrian Bonislawski <[email protected]>

v2.11.1

versions.js: bump version to 2.11.1

Bump the version to 2.11.1 to prepare for release.

Signed-off-by: Kai Vehmanen <[email protected]>