linux/drivers/soc
Gokul krishna Krishnakumar 210d12c819 soc: qcom: mdt_loader: Enhance split binary detection
It may be that the offset of the first program header lies inside the mdt's
filesize, in this case the loader would incorrectly assume that the bins
were not split and in this scenario the firmware authentication fails.
This change updates the logic used by the mdt loader to understand whether
the firmware images are split or not. It figures this out by checking if
each programs header's segment lies within the file or not.

Co-developed-by: Melody Olvera <quic_molvera@quicinc.com>
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230509001821.24010-1-quic_gokukris@quicinc.com
2023-05-24 19:28:57 -07:00
..
actions
amlogic Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
apple modules-6.4-rc1 2023-04-27 16:36:55 -07:00
aspeed
atmel ARM: at91: add support in soc driver for new SAMA7G54 SiPs 2023-01-09 13:58:02 +02:00
bcm soc: bcm: brcmstb: biuctrl: fix of_iomap leak 2023-04-03 13:37:24 -07:00
canaan soc: canaan: Make K210_SYSCTL depend on CLK_K210 2023-03-15 14:22:53 +00:00
dove
fsl sound updates for 6.4-rc1 2023-04-27 10:58:37 -07:00
fujitsu soc: fujitsu: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:50 -07:00
gemini
imx soc: imx: imx8m-blk-ctrl: reordering the fields 2023-03-27 09:52:41 +08:00
ixp4xx ARM: ixp4xx: Replace 0-length arrays with flexible arrays 2023-01-19 15:18:19 -08:00
lantiq
litex
loongson soc: loongson: add GUTS driver for loongson-2 platforms 2022-11-14 16:01:32 +01:00
mediatek Devicetree updates for v6.4, part 2: 2023-04-27 10:09:05 -07:00
microchip soc: microchip: mpfs: add a prefix to rx_callback() 2023-04-03 20:32:43 +01:00
nuvoton soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
pxa pxa: Remove dev_err() after platform_get_irq() 2022-12-04 13:10:57 +01:00
qcom soc: qcom: mdt_loader: Enhance split binary detection 2023-05-24 19:28:57 -07:00
renesas soc: renesas: renesas-soc: Release 'chipid' from ioremap() 2023-04-04 10:01:58 +02:00
rockchip soc: rockchip: power-domain: add power domain support for rk3588 2022-09-09 19:06:41 +02:00
samsung soc: s3c: remove pm-debug hack 2023-01-16 09:26:06 +01:00
sifive soc: sifive: ccache: Add StarFive JH7110 support 2022-12-26 22:50:15 +00:00
starfive soc: starfive: Add StarFive JH71XX pmu driver 2023-01-20 21:55:59 +00:00
sunxi kbuild, soc: sunxi: sram: remove MODULE_LICENSE in non-modules 2023-03-14 21:39:11 +01:00
tegra soc/tegra: cbb: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
ti soc: ti: smartreflex: Simplify getting the opam_sr pointer 2023-04-14 18:03:06 +02:00
ux500 ARM: ux500: do not directly dereference __iomem 2022-11-08 21:13:56 +01:00
versatile
xilinx firmware: xilinx: Remove kernel-doc marking in the code 2023-01-05 10:18:07 +01:00
Kconfig soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
Makefile soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00