android_kernel_xiaomi_sm8350/drivers/pcmcia
Dominik Brodowski a3f916f2c8 pcmcia: disable pcmcia ioctl for !ARM, prepare for removal
The PCMCIA ioctl -- deprecated for years -- suffers from insufficient
locking. As it already has been deprecated for years, with its removal
long overdue, limit it to !SMP and !PREEMPT.

Furthermore, the last legitimate use of the ioctl to be reported
relates to the ARM architecture in 2008.[1] Attempts to resolve
this issue turned out unsuccessful so far.[2] Other usages have only
been reported as hear-say. If there are any legitiate and necessary
use-cases remaining, please speak out before the end of the grace
period until 2.6.3{5,6}(-rc1).

[1] http://lists.infradead.org/pipermail/linux-pcmcia/2008-April/005440.html
    see also: http://lkml.org/lkml/2008/2/27/291
[2] http://lists.infradead.org/pipermail/linux-pcmcia/2008-April/005450.html
    http://lists.infradead.org/pipermail/linux-pcmcia/2010-January/006740.html
    see also: http://lists.infradead.org/pipermail/linux-pcmcia/2008-April/005453.html

CC: Russell King <rmk+kernel@arm.linux.org.uk>
CC: Alan Cox <alan@lxorguk.ukuu.org.uk>
CC: Robert P. J. Day <rpjday@crashcourse.ca>
CC: Jaswinder Singh Rajput <jaswinder@kernel.org>
CC: linux-kernel@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2010-03-03 08:37:41 +01:00
..
at91_cf.c pcmcia/at91_cf: don't redefine SZ_2K 2010-02-17 17:48:10 +01:00
au1000_generic.c MIPS: Alchemy: use 36bit addresses for PCMCIA resources. 2010-02-27 12:53:43 +01:00
au1000_generic.h MIPS: Alchemy: use 36bit addresses for PCMCIA resources. 2010-02-27 12:53:43 +01:00
au1000_pb1x00.c MIPS: PCMCIA: new socket driver for Au1000 demoboards. 2010-02-27 12:52:51 +01:00
bcm63xx_pcmcia.c
bcm63xx_pcmcia.h
bfin_cf_pcmcia.c pcmcia/bfin_cf: don't check platform_get_irq's return value against zero 2010-02-17 17:37:36 +01:00
cardbus.c pcmcia: CodingStyle fixes 2010-03-03 08:32:15 +01:00
cirrus.h
cistpl.c pcmcia: CodingStyle fixes 2010-03-03 08:32:15 +01:00
cs_internal.h pcmcia: delay re-scanning and re-querying of PCMCIA bus 2010-02-17 17:48:26 +01:00
cs.c pcmcia: remove useless msleep in ds.c 2010-02-17 18:05:54 +01:00
db1xxx_ss.c pcmcia: alchemy: fixup wrong comments 2010-03-02 22:20:53 +01:00
ds.c pcmcia: remove useless msleep in ds.c 2010-02-17 18:05:54 +01:00
electra_cf.c pcmcia: make Open Firmware device id constant 2010-02-17 17:37:34 +01:00
i82092.c
i82092aa.h
i82365.c
i82365.h pcmcia/i82365: fix typos in comments 2010-02-17 17:48:12 +01:00
Kconfig pcmcia: disable pcmcia ioctl for !ARM, prepare for removal 2010-03-03 08:37:41 +01:00
m8xx_pcmcia.c pcmcia: make Open Firmware device id constant 2010-02-17 17:37:34 +01:00
m32r_cfc.c pcmcia: m32r uses static socket resources 2010-01-24 19:57:56 +01:00
m32r_cfc.h
m32r_pcc.c
m32r_pcc.h
Makefile Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2010-02-27 16:19:22 -08:00
o2micro.h pcmcia/yenta: add module parameter for O2 speedups 2010-02-17 17:37:35 +01:00
omap_cf.c pcmcia/omap_cf: don't redefine SZ_2K 2010-02-17 17:48:11 +01:00
pcmcia_ioctl.c pcmcia: use pccardd to handle eject, insert, suspend and resume requests 2010-02-17 17:48:25 +01:00
pcmcia_resource.c pcmcia: assert locking to struct pcmcia_device 2010-02-17 17:48:22 +01:00
pd6729.c pcmcia: remove irq_list parameter from pd6729 2010-03-02 22:20:51 +01:00
pd6729.h pcmcia: use dev_dbg and dev_print in pd6729.c 2009-11-09 08:30:07 +01:00
pxa2xx_base.c PCMCIA: fix pxa2xx_lubbock modular build error 2009-12-16 20:11:02 +00:00
pxa2xx_base.h PCMCIA: fix pxa2xx_lubbock modular build error 2009-12-12 10:08:12 +00:00
pxa2xx_cm_x2xx.c
pxa2xx_cm_x255.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
pxa2xx_cm_x270.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
pxa2xx_e740.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
pxa2xx_lubbock.c PCMCIA: sa1111: remove duplicated initializers 2009-11-09 08:30:12 +01:00
pxa2xx_mainstone.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
pxa2xx_palmld.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
pxa2xx_palmtc.c ARM: pxa: fix now incorrect reference of skt->irq by using skt->socket.pci_irq 2009-12-13 16:33:13 +00:00
pxa2xx_palmtx.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
pxa2xx_sharpsl.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
pxa2xx_stargate2.c ARM: pxa: fix now incorrect reference of skt->irq by using skt->socket.pci_irq 2009-12-13 16:33:13 +00:00
pxa2xx_trizeps4.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
pxa2xx_viper.c [ARM] pxa/zeus: make Viper pcmcia support more generic to support Zeus 2009-12-13 21:42:58 +08:00
ricoh.h
rsrc_mgr.c pcmcia: CodingStyle fixes 2010-03-03 08:32:15 +01:00
rsrc_nonstatic.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2010-02-27 16:18:30 -08:00
sa11xx_base.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
sa11xx_base.h PCMCIA: sa1111: wrap soc_pcmcia_socket to contain sa1111 specific data 2009-11-09 08:30:11 +01:00
sa1100_assabet.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
sa1100_badge4.c PCMCIA: sa1111: remove duplicated initializers 2009-11-09 08:30:12 +01:00
sa1100_cerf.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
sa1100_generic.c ARM: 5824/1: SA1100: reuse h3600 PCMCIA driver on h3100 2009-12-06 16:52:57 +00:00
sa1100_generic.h
sa1100_h3600.c ARM: 5824/1: SA1100: reuse h3600 PCMCIA driver on h3100 2009-12-06 16:52:57 +00:00
sa1100_jornada720.c PCMCIA: sa1111: remove duplicated initializers 2009-11-09 08:30:12 +01:00
sa1100_neponset.c PCMCIA: sa1111: remove duplicated initializers 2009-11-09 08:30:12 +01:00
sa1100_shannon.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
sa1100_simpad.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
sa1111_generic.c drivers/pcmcia: remove unnecessary kzalloc 2009-11-22 13:03:50 +01:00
sa1111_generic.h PCMCIA: sa1111: remove duplicated initializers 2009-11-09 08:30:12 +01:00
soc_common.c PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
soc_common.h PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket 2009-11-09 08:30:16 +01:00
socket_sysfs.c pcmcia: delay re-scanning and re-querying of PCMCIA bus 2010-02-17 17:48:26 +01:00
tcic.c
tcic.h
ti113x.h
topic.h pcmcia: correct handling for Zoomed Video registers in topic.h 2009-11-11 19:34:27 +01:00
vg468.h
vrc4171_card.c
vrc4173_cardu.c
vrc4173_cardu.h
xxs1500_ss.c pcmcia: alchemy: fixup wrong comments 2010-03-02 22:20:53 +01:00
yenta_socket.c yenta_socket: ENE CB712 CardBus bridge needs special treatment with Echo Audio Indigo soundcards 2010-03-02 22:19:53 +01:00
yenta_socket.h