android_kernel_xiaomi_sm8350/drivers/scsi
Eric Dumazet 88a2a4ac6b [PATCH] percpu data: only iterate over possible CPUs
percpu_data blindly allocates bootmem memory to store NR_CPUS instances of
cpudata, instead of allocating memory only for possible cpus.

As a preparation for changing that, we need to convert various 0 -> NR_CPUS
loops to use for_each_cpu().

(The above only applies to users of asm-generic/percpu.h.  powerpc has gone it
alone and is presently only allocating memory for present CPUs, so it's
currently corrupting memory).

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Jens Axboe <axboe@suse.de>
Cc: Anton Blanchard <anton@samba.org>
Acked-by: William Irwin <wli@holomorphy.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-05 11:06:51 -08:00
..
aacraid [SCSI] aacraid: README update 2006-01-12 11:55:16 -06:00
aic7xxx [SCSI] aic79xx: Fix timer handling 2006-01-31 14:39:50 -06:00
aic7xxx_old
arm [ARM] Remove asm/irq.h includes from ARM drivers 2006-01-09 13:56:42 +00:00
dpt
ibmvscsi [SCSI] ibmvscsi: handle re-enable firmware message 2006-01-26 08:10:08 -05:00
lpfc [SCSI] lpfc_scsi.c: make lpfc_get_scsi_buf() static 2006-01-12 11:36:37 -06:00
megaraid [SCSI] megaraid_sas: new template defined to represent each type of controllers 2006-01-29 11:25:30 -06:00
pcmcia [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback 2006-01-06 00:03:24 +01:00
qla2xxx [SCSI] qla2xxx: Drop legacy 'bypass lun scan for tape device' code. 2006-01-26 08:17:25 -05:00
sym53c8xx_2 [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
.gitignore gitignore: misc files 2006-01-01 22:21:50 +01:00
3w-9xxx.c [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
3w-9xxx.h [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
3w-xxxx.c [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
3w-xxxx.h [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
53c7xx_d.h_shipped
53c7xx_u.h_shipped
53c7xx.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
53c7xx.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
53c7xx.scr
53c700_d.h_shipped
53c700.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
53c700.h [SCSI] 53c700: update endian processing macros 2005-12-16 09:51:01 -08:00
53c700.scr
a100u2w.c
a100u2w.h
a2091.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
a2091.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
a3000.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
a3000.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
advansys.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
advansys.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
aha152x.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
aha152x.h
aha1542.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
aha1542.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
aha1740.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
aha1740.h
ahci.c [libata ahci] add another JMicron pci id 2006-01-29 12:40:57 -05:00
aic7xxx_old.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
amiga7xx.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
amiga7xx.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ata_piix.c [PATCH] Intel ICH8 SATA: add PCI device IDs 2006-01-17 19:31:54 -05:00
atari_dma_emul.c
atari_NCR5380.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
atari_scsi.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
atari_scsi.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
atp870u.c
atp870u.h
blz1230.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
blz2060.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
BusLogic.c [SCSI] Pass proper device from BusLogic to SCSI layer 2006-01-12 15:26:13 -06:00
BusLogic.h
bvme6000.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
bvme6000.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ch.c [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
constants.c [SCSI] Move scsi_print_msg to SPI class 2005-12-15 18:41:13 -08:00
cyberstorm.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
cyberstormII.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
dc395x.c [SCSI] dc395x: "fix" virt_addr calculation on AUTO_REQSENSE 2006-01-26 08:11:13 -05:00
dc395x.h
dec_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
dmx3191d.c
dpt_i2o.c [SCSI] I2O: move pci_request_regions() just behind pci_enable_device() 2006-01-14 10:54:54 -06:00
dpti.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
dtc.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
dtc.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
eata_generic.h
eata_pio.c
eata_pio.h
eata.c
esp.c
esp.h
fastlane.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
fcal.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
fcal.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
fd_mcs.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
fdomain.c
fdomain.h
FlashPoint.c Fix "stuct", "strut", "struc" typos 2006-01-15 02:12:54 +01:00
g_NCR5380_mmio.c
g_NCR5380.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
g_NCR5380.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
gdth_ioctl.h
gdth_kcompat.h
gdth_proc.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
gdth_proc.h
gdth.c spelling: s/appropiate/appropriate/ 2006-01-15 02:00:17 +01:00
gdth.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
gvp11.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
gvp11.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
hosts.c [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
hosts.h
ibmmca.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
ibmmca.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ide-scsi.c [PATCH] ide-scsi: fix for IDE probe/remove ops changes 2006-02-01 08:53:09 -08:00
imm.c
imm.h
in2000.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
in2000.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
initio.c
initio.h
ipr.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6 2006-01-04 18:44:12 -08:00
ipr.h [SCSI] ipr: Driver initialization fix for kexec/kdump 2005-12-13 18:10:58 -07:00
ips.c [SCSI] ServeRAID: prevent seeing DADSI devices 2006-01-31 14:43:18 -06:00
ips.h Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
iscsi_tcp.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
iscsi_tcp.h [SCSI] iscsi: add high mem support 2006-01-14 10:55:18 -06:00
jazz_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
Kconfig [PATCH] parport: Kconfig dependency fixes 2006-01-06 08:33:57 -08:00
lasi700.c
libata-core.c [PATCH] libata: Code for the IRQ mask flag 2006-01-17 19:37:45 -05:00
libata-scsi.c [LIBATA] Blacklist certain Maxtor firmware revisions for FUA support 2006-01-30 16:09:35 +01:00
libata.h [BLOCK] add FUA support to libata 2006-01-06 09:56:18 +01:00
mac53c94.c [PATCH] powerpc: Remove device_node addrs/n_addr 2006-01-09 14:53:55 +11:00
mac53c94.h
mac_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
mac_scsi.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
mac_scsi.h
Makefile Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2006-01-14 12:16:07 -08:00
mca_53c9x.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
megaraid.c [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
megaraid.h [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
mesh.c [PATCH] powerpc: Remove device_node addrs/n_addr 2006-01-09 14:53:55 +11:00
mesh.h
mvme16x.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
mvme16x.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
mvme147.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
mvme147.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ncr53c8xx.c [SCSI] Merge sym53c8xx_comm.h and sym53c8xx_defs.h into ncr driver 2005-12-16 10:53:47 -08:00
ncr53c8xx.h [SCSI] Merge sym53c8xx_comm.h and sym53c8xx_defs.h into ncr driver 2005-12-16 10:53:47 -08:00
NCR53c406a.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
NCR53C9x.c [PATCH] m68k: fix PIO case in esp 2006-01-12 09:09:05 -08:00
NCR53C9x.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
NCR5380.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
NCR5380.h
NCR_D700.c
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
nsp32_debug.c
nsp32_io.h
nsp32.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
nsp32.h [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
oktagon_esp.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
oktagon_io.S
osst_detect.h
osst_options.h
osst.c
osst.h
pas16.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
pas16.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
pci2000.h Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
pdc_adma.c [PATCH] libata: move err_mask to ata_queued_cmd 2005-12-06 04:49:22 -05:00
pluto.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
pluto.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
ppa.c
ppa.h
psi240i.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
psi240i.h
psi_chip.h
ql1040_fw.h
ql1280_fw.h
ql12160_fw.h
qla1280.c [SCSI] qla1280: remove < 2.6.0 support 2006-01-26 08:08:26 -05:00
qla1280.h
qlogicfas408.c
qlogicfas408.h
qlogicfas.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
qlogicfc_asm.c
qlogicfc.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
qlogicpti_asm.c
qlogicpti.c
qlogicpti.h
raid_class.c [SCSI] raid_class.c - adding RAID10 and RAID10 defines 2006-01-12 11:35:15 -06:00
sata_mv.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_nv.c [PATCH] sata_nv, spurious interrupts at system startup with MAXTOR 6H500F0 drive 2006-01-09 10:42:06 -05:00
sata_promise.c [libata] sata_promise: add pci id 2006-01-17 08:06:21 -05:00
sata_promise.h
sata_qstor.c [PATCH] libata: move err_mask to ata_queued_cmd 2005-12-06 04:49:22 -05:00
sata_sil24.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_sil.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_sis.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_svw.c [libata] sata_svw: add pci id 2006-01-17 07:58:42 -05:00
sata_sx4.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_uli.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_via.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_vsc.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
script_asm.pl
scsi_debug.c [PATCH] Add Pseudo LLD bus_type probe and remove methods 2006-01-13 11:26:10 -08:00
scsi_debug.h
scsi_devinfo.c [SCSI] correct some dropped const compiler warnings 2005-12-13 18:12:05 -07:00
scsi_error.c [SCSI] Prevent scsi_execute_async from guessing cdb length 2006-01-26 15:13:50 -05:00
scsi_ioctl.c
scsi_lib.c [SCSI] Prevent scsi_execute_async from guessing cdb length 2006-01-26 15:13:50 -05:00
scsi_logging.h
scsi_module.c
scsi_priv.h [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_proc.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_scan.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_sysctl.c
scsi_sysfs.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_transport_fc.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_transport_iscsi.c [SCSI] iscsi: fix 4k stack iscsi setups 2006-01-14 10:55:21 -06:00
scsi_transport_sas.c [SCSI] scsi_transport_sas.c: display port identifier 2006-01-31 14:39:36 -06:00
scsi_transport_spi.c [SCSI] sem2mutex: scsi_transport_spi.c 2006-01-14 10:55:01 -06:00
scsi_typedefs.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
scsi.c [PATCH] percpu data: only iterate over possible CPUs 2006-02-05 11:06:51 -08:00
scsi.h
scsicam.c
sd.c [SCSI] always handle REQ_BLOCK_PC requests in common code 2006-01-14 10:54:45 -06:00
seagate.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
seagate.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sg.c [SCSI] Prevent scsi_execute_async from guessing cdb length 2006-01-26 15:13:50 -05:00
sgiwd93.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
sim710.c
sr_ioctl.c [SCSI] sr: split sr_audio_ioctl into specific helpers 2006-01-14 10:54:46 -06:00
sr_vendor.c [SCSI] Missing const in sr_vendor 2005-12-17 10:50:23 -06:00
sr.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
sr.h
st_options.h
st.c [SCSI] Prevent scsi_execute_async from guessing cdb length 2006-01-26 15:13:50 -05:00
st.h [SCSI] convert st to use scsi_execute_async 2005-12-14 19:16:31 -08:00
sun3_NCR5380.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
sun3_scsi_vme.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sun3_scsi.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sun3_scsi.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sun3x_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sym53c416.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sym53c416.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
t128.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
t128.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
tmscsim.c
tmscsim.h
u14-34f.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ultrastor.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ultrastor.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
wd33c93.c [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
wd33c93.h
wd7000.c
zalon.c