linux_dsm_epyc7002/arch/arm/mach-davinci
David Lechner 3424a516d9 ARM: davinci: da8xx: fix oops in USB PHY driver due to stack allocated platform_data
This fixes a possible kernel oops due to using stack allocated platform
data for the USB PHY driver on DA8XX devices. If the platform device
probe is deferred, then we get a corrupt pointer for the platform data.

We now use a global static struct for the platform data so that the
platform data pointer does not get written over.

Fixes: bdec5a6b57 ("ARM: da8xx: use platform data for CFGCHIP syscon regmap")
Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2018-03-29 12:18:32 +05:30
..
include/mach ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
aemif.c
asp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-da830-evm.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
board-da850-evm.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
board-dm355-evm.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
board-dm355-leopard.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
board-dm365-evm.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
board-dm644x-evm.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
board-dm646x-evm.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
board-mityomapl138.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
board-neuros-osd2.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
board-omapl138-hawk.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
board-sffsdr.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
clock.c ARM: davinci: normalize clk API 2017-07-27 13:15:29 +02:00
clock.h ARM: davinci: remove watchdog reset 2018-02-19 16:25:15 +05:30
common.c ARM: davinci: make argument to davinci_common_init() as const 2017-12-23 15:46:24 +05:30
cp_intc.c
cp_intc.h
cpuidle.c
cpuidle.h
da8xx-dt.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
da830.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
da850.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
davinci.h ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
ddr2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
devices-da8xx.c ARM: davinci: remove watchdog reset 2018-02-19 16:25:15 +05:30
devices.c ARM: davinci: remove watchdog reset 2018-02-19 16:25:15 +05:30
dm355.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
dm365.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
dm644x.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
dm646x.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
irq.c
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile.boot License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mux.c
mux.h
pdata-quirks.c ARM: davinci: fix const warnings 2017-06-15 19:18:24 +05:30
pm_domain.c
pm.c ARM: davinci: PM: Do not free useful resources in normal path in 'davinci_pm_init' 2017-05-17 15:25:18 +05:30
psc.c
psc.h
serial.c
sleep.S
sram.c
sram.h
time.c ARM: davinci: remove watchdog reset 2018-02-19 16:25:15 +05:30
usb-da8xx.c ARM: davinci: da8xx: fix oops in USB PHY driver due to stack allocated platform_data 2018-03-29 12:18:32 +05:30
usb.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00