Tags: thesofproject/sof
Tags
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 <tomasz.m.leman@intel.com> (cherry picked from commit 7d11802) Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
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 <tomasz.m.leman@intel.com> (cherry picked from commit 7d11802) Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
versions.json: set version to 2.12.0 Set version to 2.12.0 to prepare for stable release. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
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 <seppo.ingalsuo@linux.intel.com> (cherry picked from commit 9fd7ef7)
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 <yung-chuan.liao@linux.intel.com> (cherry picked from commit 72d03ef) Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
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 <mac.chiang@intel.com>
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 <adrian.bonislawski@intel.com>
PreviousNext