firmware: cs_dsp: test_bin_error: Fix uninitialized data used as fw versionCall cs_dsp_mock_xm_header_get_fw_version() to get the firmware versionfrom the dummy XM header data in cs_dsp_bin_err_te
firmware: cs_dsp: test_bin_error: Fix uninitialized data used as fw versionCall cs_dsp_mock_xm_header_get_fw_version() to get the firmware versionfrom the dummy XM header data in cs_dsp_bin_err_test_common_init().Make the same change to cs_dsp_bin_test_common_init() and remove thecs_dsp_mock_xm_header_get_fw_version_from_regmap() function.The code in cs_dsp_test_bin.c was correctly callingcs_dsp_mock_xm_header_get_fw_version_from_regmap() to fetch the fw versionfrom a dummy header it wrote to XM registers. However incs_dsp_test_bin_error.c the test doesn't stuff a dummy header into XM, itpopulates it the normal way using a wmfw file. It should have calledcs_dsp_mock_xm_header_get_fw_version() to get the data from its blobbuffer, but was calling cs_dsp_mock_xm_header_get_fw_version_from_regmap().As nothing had been written to the registers this returned the value ofuninitialized data.The only other use of cs_dsp_mock_xm_header_get_fw_version_from_regmap()was cs_dsp_test_bin.c, but it doesn't need to use it. It already has ablob buffer containing the dummy XM header so it can usecs_dsp_mock_xm_header_get_fw_version() to read from that.Fixes: cd8c058499b6 ("firmware: cs_dsp: Add KUnit testing of bin error cases")Signed-off-by: Richard Fitzgerald <[email protected]>Link: https://patch.msgid.link/[email protected]Signed-off-by: Mark Brown <[email protected]>
show more ...
Merge tag 'soc-dt-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/socPull SoC devicetree updates from Arnd Bergmann: "There is new support for additional on-chip devices on Apple, Med
Merge tag 'soc-dt-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/socPull SoC devicetree updates from Arnd Bergmann: "There is new support for additional on-chip devices on Apple, Mediatek, Renesas, Rockchip, Samsung, Google, TI, ST, Nvidia and Amlogic devices. The Arm Morello reference platform gets a devicetree for booting in normal aarch64 mode. The hardware supports experimental CHERI support, which requires a modified kernel. The AMD (formerly Xilinx) Versal NET SoC gets added, this is a combined FPGA with Cortex-A78 CPUs in a SoC. Six new ST STM32MP2 SoC variants are added. Like the earlier STM32MP25, the MP211, MP213, MP215, MP231, MP233 and MP235 models are based on one or two Cortex-A35 cores but each feature a different set of I/O devices. Mediatek MT8370 is a minor variation of MT8390 with fewer CPU and GPU cores Apple T2 is the baseboard management controller on earlier Intel CPU based Macs, with 16 models now gaining initial support. All the above come with dts files for the reference boards. In addition, these boards are added for the SoCs that are already supported: - The Milk-V Jupiter board based on SpacemiT K1/M1 - NetCube Systems Kumquat board based on the 32-bit Allwinner V3s SoC - Three boards based on 32-bit stm32mp1 - 11 distinct board variants from Toradex and one from Variscite, all based on i.MX6 - Google Pixel Pro 6 phone based on gs101 (Tensor) - Three additional variants of the i.MX8MP based "Skov" board - A second variant of the i.MX95 EVK board - Two boards based on Renesas SoCs - Four boards based the Rockchip RK35xx series, plus the RK3588 'MNT Reform 2' laptop"* tag 'soc-dt-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (538 commits) arm64: dts: Add gpio_intc node for Amlogic A5 SoCs arm64: dts: Add gpio_intc node for Amlogic A4 SoCs arm64: dts: hi3660: Add property for fixing CPUIdle arm64: dts: rockchip: remove ethm0_clk0_25m_out from Sige5 gmac0 arm64: dts: marvell: Use preferred node names for "simple-bus" arm64: dts: marvell: Drop unused CP11X_TYPE define arm64: dts: marvell: Move arch timer and pmu nodes to top-level arm64: dts: rockchip: Fix PWM pinctrl names arm64: dts: rockchip: fix RK3576 SCMI clock IDs dt-bindings: clock: rk3576: add SCMI clocks arm64: dts: rockchip: Fix pcie reset gpio on Orange Pi 5 Max arm64: dts: amd/seattle: Drop undocumented "spi-controller" properties arm64: dts: amd/seattle: Fix bus, mmc, and ethernet node names arm64: dts: amd/seattle: Move and simplify fixed clocks arm64: dts: amd/seattle: Base Overdrive B1 on top of B0 version arm64: dts: rockchip: Enable HDMI audio output for ArmSoM Sige7 arm64: dts: rockchip: Enable onboard eMMC on Radxa E20C arm64: dts: rockchip: Add SDHCI controller for RK3528 arm64: dts: rockchip: Remove bluetooth node from rock-3a arm64: dts: rockchip: Move rk356x scmi SHMEM to reserved memory ...
Merge tag 'zynqmp-soc-for-6.15' of https://github.com/Xilinx/linux-xlnx into soc/driversarm64: ZynqMP SoC changes for 6.15- Align fpga config status with firmware* tag 'zynqmp-soc-for-6.15' of
Merge tag 'zynqmp-soc-for-6.15' of https://github.com/Xilinx/linux-xlnx into soc/driversarm64: ZynqMP SoC changes for 6.15- Align fpga config status with firmware* tag 'zynqmp-soc-for-6.15' of https://github.com/Xilinx/linux-xlnx: firmware: xilinx: Dont send linux address to get fpga config get statusLink: https://lore.kernel.org/r/CAHTX3d+T+_zvwAVqGO+J_+Yia+wXAGsaEbPi1ye1AUYXoq6dmw@mail.gmail.comSigned-off-by: Arnd Bergmann <[email protected]>