WSL2-Linux-Kernel/arch/arm/mach-omap1
Janusz Krzysztofik 07ad6ab3d7 omap: drop __initdata tags from static struct platform_device declarations
Pointers to statically declared platform device structures which are
registered with platform_device_register() are then used during run time
to access these structure members, for example from platform_uevent()
and much more. Therefore, these structures should never be placed inside
sections which are dropped after boot. Fix platform devices incorrectly
tagged with __initdata which happen to exist inside OMAP sub-trees.

This bug has exhibited itself on my ARM/OMAP1 based Amstrad Delta
videophone after commit 6d3163ce86, "mm:
check if any page in a pageblock is reserved before marking it
MIGRATE_RESERVE", resulting in reading from several
/sys/device/platform/*/uevent files always ending up with segmentation
faults.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Felipe Balbi <balbi@ti.com>
Cc: Varadarajan, Charulatha <charu@ti.com>
Cc: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2011-07-04 03:56:15 -07:00
..
include/mach Fix common misspellings 2011-03-31 11:26:23 -03:00
Kconfig omap1: Fix booting for 15xx and 730 with omap1_defconfig 2011-01-19 10:38:43 -08:00
Makefile OMAP1: PM: register notifiers with generic clock ops even when !PM_RUNTIME 2011-06-14 05:53:18 -07:00
Makefile.boot [PATCH] ARM: 2798/1: OMAP update 2/11: Change ARM Kconfig to support omap1 and omap2 2005-07-10 19:58:08 +01:00
ams-delta-fiq-handler.S Fix common misspellings 2011-03-31 11:26:23 -03:00
ams-delta-fiq.c ARM: omap1: irq_data conversion. 2011-01-13 17:18:51 +01:00
board-ams-delta.c omap: drop __initdata tags from static struct platform_device declarations 2011-07-04 03:56:15 -07:00
board-fsample.c wip: fix section mismatches in omap1_defconfig 2011-02-09 16:40:30 -08:00
board-generic.c arm: remove machine_desc.io_pg_offst and .phys_io 2010-10-20 00:27:46 -04:00
board-h2-mmc.c omap: Fix spotty MMC voltages 2010-10-12 16:07:51 -07:00
board-h2.c arm: mach-omap1: board-h2: make h2_nand_platdata static 2011-01-27 16:39:48 -08:00
board-h2.h ARM: OMAP: No need to include board-h2.h from hardware.h 2009-03-23 18:07:33 -07:00
board-h3-mmc.c omap: Fix spotty MMC voltages 2010-10-12 16:07:51 -07:00
board-h3.c arm: mach-omap1: board-h3: make nand_platdata static 2011-01-27 16:39:48 -08:00
board-h3.h ARM: OMAP: No need to include board-h3.h from hardware.h 2009-03-23 18:07:33 -07:00
board-htcherald.c arm: mach-omap1: board-htcherald: make htcpld_chips and htcpld_pfdata static 2011-01-27 16:39:48 -08:00
board-innovator.c arm: mach-omap1: board-innovator: make innovator_mmc_init() static 2011-01-27 16:39:48 -08:00
board-nokia770.c ARM: omap1/nokia770: mark some functions __init 2011-02-09 16:36:39 -08:00
board-osk.c arm: Cleanup the irq namespace 2011-03-29 14:47:57 +02:00
board-palmte.c arm: omap1: fix compile warning 2011-01-27 16:39:41 -08:00
board-palmtt.c Keyboard: omap-keypad: use matrix_keypad.h 2010-12-22 11:11:47 -08:00
board-palmz71.c arm: Cleanup the irq namespace 2011-03-29 14:47:57 +02:00
board-perseus2.c Keyboard: omap-keypad: use matrix_keypad.h 2010-12-22 11:11:47 -08:00
board-sx1-mmc.c omap: Fix spotty MMC voltages 2010-10-12 16:07:51 -07:00
board-sx1.c Fix common misspellings 2011-03-31 11:26:23 -03:00
board-voiceblue.c arm: Cleanup the irq namespace 2011-03-29 14:47:57 +02:00
clock.c ARM: 6483/1: arm & sh: factorised duplicated clkdev.c 2010-11-26 10:51:04 +00:00
clock.h OMAP1: clock: some cleanup 2010-07-26 16:34:28 -06:00
clock_data.c OMAP1: clock_data: use runtime cpu / machine checks 2010-12-21 21:08:15 -07:00
devices.c Fix common misspellings 2011-03-31 11:26:23 -03:00
dma.c arch/arm/mach-omap1/dma.c: Invert calls to platform_device_put and platform_device_del 2011-06-01 02:25:04 -07:00
flash.c ARM: 6910/1: MTD: physmap: let set_vpp() pass a platform_device instead of a map_info 2011-05-20 22:27:34 +01:00
fpga.c arm: Cleanup the irq namespace 2011-03-29 14:47:57 +02:00
gpio7xx.c omap: drop __initdata tags from static struct platform_device declarations 2011-07-04 03:56:15 -07:00
gpio15xx.c omap: drop __initdata tags from static struct platform_device declarations 2011-07-04 03:56:15 -07:00
gpio16xx.c omap: drop __initdata tags from static struct platform_device declarations 2011-07-04 03:56:15 -07:00
i2c.c omap: i2c: Fix muxing for command line enabled bus 2010-02-25 14:45:08 -08:00
id.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
io.c omap: Split omap_read/write functions for omap1 and omap2+ 2010-12-10 09:46:24 -08:00
irq.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
lcd_dma.c OMAP1: Fix non-working LCD on OMAP310 2011-02-02 12:13:50 -08:00
leds-h2p2-debug.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
leds-innovator.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-osk.c ARM: OMAP: switch to standard gpio get/set calls 2008-12-10 17:35:25 -08:00
leds.c omap1: Add initcall checks for omap1 and booted board 2010-12-10 09:46:24 -08:00
leds.h [PATCH] ARM: 2799/1: OMAP update 4/11: Move OMAP1 LED code into mach-omap1 directory 2005-07-10 19:58:10 +01:00
mailbox.c arm: omap1: mbox: delete unused variable 2010-11-24 16:48:47 -08:00
mcbsp.c OMAP1: McBSP: fix build break for non-multi-OMAP1 configs 2011-03-08 15:10:17 -08:00
mux.c arm: omap1: make some functions static 2010-11-24 16:48:25 -08:00
opp.h OMAP1 clock: convert mach-omap1/clock.h to mach-omap1/clock_data.c 2009-12-11 17:00:40 -07:00
opp_data.c OMAP1 clock: convert mach-omap1/clock.h to mach-omap1/clock_data.c 2009-12-11 17:00:40 -07:00
pm.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-01-13 10:05:56 -08:00
pm.h ARM: 6649/1: omap: use fncpy to copy the PM code functions to SRAM 2011-02-04 14:26:08 +00:00
pm_bus.c OMAP1: PM: register notifiers with generic clock ops even when !PM_RUNTIME 2011-06-14 05:53:18 -07:00
reset.c ARM: OMAP: Allow platforms to hook reset cleanly 2011-01-27 16:39:48 -08:00
serial.c omap1: Add initcall checks for omap1 and booted board 2010-12-10 09:46:24 -08:00
sleep.S ARM: 6649/1: omap: use fncpy to copy the PM code functions to SRAM 2011-02-04 14:26:08 +00:00
sram.S ARM: 6649/1: omap: use fncpy to copy the PM code functions to SRAM 2011-02-04 14:26:08 +00:00
time.c clocksource: convert OMAP1 to 32-bit down counting clocksource 2011-05-23 18:04:52 +01:00
timer32k.c omap1: Fix booting for 15xx and 730 with omap1_defconfig 2011-01-19 10:38:43 -08:00
usb.c omap: Move omap1 USB platform init code into mach-omap1/usb.c 2010-07-05 16:31:30 +03:00