aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MAINTAINERS176
-rw-r--r--arch/ia64/kvm/kvm-ia64.c7
-rw-r--r--arch/mips/kernel/cpu-probe.c16
-rw-r--r--arch/mips/kernel/genex.S37
-rw-r--r--arch/mips/kernel/process.c2
-rw-r--r--arch/mips/kernel/traps.c22
-rw-r--r--arch/mips/kernel/vmlinux.lds.S1
-rw-r--r--arch/mips/lib/csum_partial.S21
-rw-r--r--drivers/mmc/card/block.c9
-rw-r--r--drivers/mmc/card/mmc_test.c4
-rw-r--r--drivers/mmc/host/atmel-mci.c12
-rw-r--r--drivers/mmc/host/tmio_mmc.h4
12 files changed, 182 insertions, 129 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 0a613cb926c6..cad81a24e832 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -271,20 +271,20 @@ W: http://www.lesswatts.org/projects/acpi/
271S: Supported 271S: Supported
272 272
273ACPI WMI DRIVER 273ACPI WMI DRIVER
274P: Carlos Corbacho 274P: Carlos Corbacho
275M: carlos@strangeworlds.co.uk 275M: carlos@strangeworlds.co.uk
276L: linux-acpi@vger.kernel.org 276L: linux-acpi@vger.kernel.org
277W: http://www.lesswatts.org/projects/acpi/ 277W: http://www.lesswatts.org/projects/acpi/
278S: Maintained 278S: Maintained
279 279
280AD1889 ALSA SOUND DRIVER 280AD1889 ALSA SOUND DRIVER
281P: Kyle McMartin 281P: Kyle McMartin
282M: kyle@mcmartin.ca 282M: kyle@mcmartin.ca
283P: Thibaut Varene 283P: Thibaut Varene
284M: T-Bone@parisc-linux.org 284M: T-Bone@parisc-linux.org
285W: http://wiki.parisc-linux.org/AD1889 285W: http://wiki.parisc-linux.org/AD1889
286L: linux-parisc@vger.kernel.org 286L: linux-parisc@vger.kernel.org
287S: Maintained 287S: Maintained
288 288
289ADM1025 HARDWARE MONITOR DRIVER 289ADM1025 HARDWARE MONITOR DRIVER
290P: Jean Delvare 290P: Jean Delvare
@@ -473,11 +473,11 @@ L: linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
473S: Maintained 473S: Maintained
474 474
475ARM/ATMEL AT91RM9200 ARM ARCHITECTURE 475ARM/ATMEL AT91RM9200 ARM ARCHITECTURE
476P: Andrew Victor 476P: Andrew Victor
477M: linux@maxim.org.za 477M: linux@maxim.org.za
478L: linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only) 478L: linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
479W: http://maxim.org.za/at91_26.html 479W: http://maxim.org.za/at91_26.html
480S: Maintained 480S: Maintained
481 481
482ARM/CIRRUS LOGIC EP93XX ARM ARCHITECTURE 482ARM/CIRRUS LOGIC EP93XX ARM ARCHITECTURE
483P: Lennert Buytenhek 483P: Lennert Buytenhek
@@ -532,10 +532,10 @@ L: linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
532S: Maintained 532S: Maintained
533 533
534ARM/HP JORNADA 7XX MACHINE SUPPORT 534ARM/HP JORNADA 7XX MACHINE SUPPORT
535P: Kristoffer Ericson 535P: Kristoffer Ericson
536M: kristoffer.ericson@gmail.com 536M: kristoffer.ericson@gmail.com
537W: www.jlime.com 537W: www.jlime.com
538S: Maintained 538S: Maintained
539 539
540ARM/INTEL IOP32X ARM ARCHITECTURE 540ARM/INTEL IOP32X ARM ARCHITECTURE
541P: Lennert Buytenhek 541P: Lennert Buytenhek
@@ -1017,7 +1017,7 @@ T: git kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git
1017S: Maintained 1017S: Maintained
1018 1018
1019CAFE CMOS INTEGRATED CAMERA CONTROLLER DRIVER 1019CAFE CMOS INTEGRATED CAMERA CONTROLLER DRIVER
1020P: Jonathan Corbet 1020P: Jonathan Corbet
1021M: corbet@lwn.net 1021M: corbet@lwn.net
1022L: video4linux-list@redhat.com 1022L: video4linux-list@redhat.com
1023S: Maintained 1023S: Maintained
@@ -1359,7 +1359,7 @@ P: Digi International, Inc
1359M: Eng.Linux@digi.com 1359M: Eng.Linux@digi.com
1360L: Eng.Linux@digi.com 1360L: Eng.Linux@digi.com
1361W: http://www.digi.com 1361W: http://www.digi.com
1362S: Orphaned 1362S: Orphan
1363 1363
1364DIRECTORY NOTIFICATION 1364DIRECTORY NOTIFICATION
1365P: Stephen Rothwell 1365P: Stephen Rothwell
@@ -1423,12 +1423,12 @@ L: linux-acpi@vger.kernel.org
1423S: Supported 1423S: Supported
1424 1424
1425DOCUMENTATION (/Documentation directory) 1425DOCUMENTATION (/Documentation directory)
1426P: Michael Kerrisk 1426P: Michael Kerrisk
1427M: mtk.manpages@gmail.com 1427M: mtk.manpages@gmail.com
1428P: Randy Dunlap 1428P: Randy Dunlap
1429M: rdunlap@xenotime.net 1429M: rdunlap@xenotime.net
1430L: linux-doc@vger.kernel.org 1430L: linux-doc@vger.kernel.org
1431S: Maintained 1431S: Maintained
1432 1432
1433DOUBLETALK DRIVER 1433DOUBLETALK DRIVER
1434P: James R. Van Zandt 1434P: James R. Van Zandt
@@ -1459,7 +1459,7 @@ S: Maintained
1459DVB SUBSYSTEM AND DRIVERS 1459DVB SUBSYSTEM AND DRIVERS
1460P: LinuxTV.org Project 1460P: LinuxTV.org Project
1461M: v4l-dvb-maintainer@linuxtv.org 1461M: v4l-dvb-maintainer@linuxtv.org
1462L: linux-dvb@linuxtv.org (subscription required) 1462L: linux-dvb@linuxtv.org (subscription required)
1463W: http://linuxtv.org/ 1463W: http://linuxtv.org/
1464T: git kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git 1464T: git kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git
1465S: Maintained 1465S: Maintained
@@ -1797,7 +1797,7 @@ FUTURE DOMAIN TMC-16x0 SCSI DRIVER (16-bit)
1797P: Rik Faith 1797P: Rik Faith
1798M: faith@cs.unc.edu 1798M: faith@cs.unc.edu
1799L: linux-scsi@vger.kernel.org 1799L: linux-scsi@vger.kernel.org
1800S: Odd fixes (e.g., new signatures) 1800S: Odd Fixes (e.g., new signatures)
1801 1801
1802GDT SCSI DISK ARRAY CONTROLLER DRIVER 1802GDT SCSI DISK ARRAY CONTROLLER DRIVER
1803P: Achim Leubner 1803P: Achim Leubner
@@ -1838,10 +1838,10 @@ S: Maintained
1838HARDWARE MONITORING 1838HARDWARE MONITORING
1839L: lm-sensors@lm-sensors.org 1839L: lm-sensors@lm-sensors.org
1840W: http://www.lm-sensors.org/ 1840W: http://www.lm-sensors.org/
1841S: Orphaned 1841S: Orphan
1842 1842
1843HARDWARE RANDOM NUMBER GENERATOR CORE 1843HARDWARE RANDOM NUMBER GENERATOR CORE
1844S: Orphaned 1844S: Orphan
1845 1845
1846HARD DRIVE ACTIVE PROTECTION SYSTEM (HDAPS) DRIVER 1846HARD DRIVE ACTIVE PROTECTION SYSTEM (HDAPS) DRIVER
1847P: Robert Love 1847P: Robert Love
@@ -2108,7 +2108,7 @@ M: rolandd@cisco.com
2108P: Sean Hefty 2108P: Sean Hefty
2109M: sean.hefty@intel.com 2109M: sean.hefty@intel.com
2110P: Hal Rosenstock 2110P: Hal Rosenstock
2111M: hal.rosenstock@gmail.com 2111M: hal.rosenstock@gmail.com
2112L: general@lists.openfabrics.org 2112L: general@lists.openfabrics.org
2113W: http://www.openib.org/ 2113W: http://www.openib.org/
2114T: git kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git 2114T: git kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git
@@ -2696,17 +2696,17 @@ S: Maintained
2696 2696
2697MARVELL YUKON / SYSKONNECT DRIVER 2697MARVELL YUKON / SYSKONNECT DRIVER
2698P: Mirko Lindner 2698P: Mirko Lindner
2699M: mlindner@syskonnect.de 2699M: mlindner@syskonnect.de
2700P: Ralph Roesler 2700P: Ralph Roesler
2701M: rroesler@syskonnect.de 2701M: rroesler@syskonnect.de
2702W: http://www.syskonnect.com 2702W: http://www.syskonnect.com
2703S: Supported 2703S: Supported
2704 2704
2705MAN-PAGES: MANUAL PAGES FOR LINUX -- Sections 2, 3, 4, 5, and 7 2705MAN-PAGES: MANUAL PAGES FOR LINUX -- Sections 2, 3, 4, 5, and 7
2706P: Michael Kerrisk 2706P: Michael Kerrisk
2707M: mtk.manpages@gmail.com 2707M: mtk.manpages@gmail.com
2708W: http://www.kernel.org/doc/man-pages 2708W: http://www.kernel.org/doc/man-pages
2709S: Supported 2709S: Supported
2710 2710
2711MARVELL LIBERTAS WIRELESS DRIVER 2711MARVELL LIBERTAS WIRELESS DRIVER
2712P: Dan Williams 2712P: Dan Williams
@@ -2735,7 +2735,7 @@ S: Maintained
2735MEGARAID SCSI DRIVERS 2735MEGARAID SCSI DRIVERS
2736P: Neela Syam Kolli 2736P: Neela Syam Kolli
2737M: megaraidlinux@lsi.com 2737M: megaraidlinux@lsi.com
2738S: linux-scsi@vger.kernel.org 2738L: linux-scsi@vger.kernel.org
2739W: http://megaraid.lsilogic.com 2739W: http://megaraid.lsilogic.com
2740S: Maintained 2740S: Maintained
2741 2741
@@ -2853,7 +2853,7 @@ MULTIMEDIA CARD (MMC) ETC. OVER SPI
2853P: David Brownell 2853P: David Brownell
2854M: dbrownell@users.sourceforge.net 2854M: dbrownell@users.sourceforge.net
2855L: linux-kernel@vger.kernel.org 2855L: linux-kernel@vger.kernel.org
2856S: Odd fixes 2856S: Odd Fixes
2857 2857
2858MULTISOUND SOUND DRIVER 2858MULTISOUND SOUND DRIVER
2859P: Andrew Veliath 2859P: Andrew Veliath
@@ -2867,10 +2867,10 @@ L: linux-kernel@vger.kernel.org
2867S: Maintained 2867S: Maintained
2868 2868
2869MUSB MULTIPOINT HIGH SPEED DUAL-ROLE CONTROLLER 2869MUSB MULTIPOINT HIGH SPEED DUAL-ROLE CONTROLLER
2870P: Felipe Balbi 2870P: Felipe Balbi
2871M: felipe.balbi@nokia.com 2871M: felipe.balbi@nokia.com
2872L: linux-usb@vger.kernel.org 2872L: linux-usb@vger.kernel.org
2873S: Maintained 2873S: Maintained
2874 2874
2875MYRICOM MYRI-10G 10GbE DRIVER (MYRI10GE) 2875MYRICOM MYRI-10G 10GbE DRIVER (MYRI10GE)
2876P: Andrew Gallatin 2876P: Andrew Gallatin
@@ -2882,7 +2882,7 @@ W: http://www.myri.com/scs/download-Myri10GE.html
2882S: Supported 2882S: Supported
2883 2883
2884NATSEMI ETHERNET DRIVER (DP8381x) 2884NATSEMI ETHERNET DRIVER (DP8381x)
2885P: Tim Hockin 2885P: Tim Hockin
2886M: thockin@hockin.org 2886M: thockin@hockin.org
2887S: Maintained 2887S: Maintained
2888 2888
@@ -3101,7 +3101,7 @@ M: laforge@gnumonks.org
3101S: Maintained 3101S: Maintained
3102 3102
3103OMNIVISION OV7670 SENSOR DRIVER 3103OMNIVISION OV7670 SENSOR DRIVER
3104P: Jonathan Corbet 3104P: Jonathan Corbet
3105M: corbet@lwn.net 3105M: corbet@lwn.net
3106L: video4linux-list@redhat.com 3106L: video4linux-list@redhat.com
3107S: Maintained 3107S: Maintained
@@ -3211,7 +3211,7 @@ T: git kernel.org:/pub/scm/linux/kernel/git/jbarnes/pci-2.6.git
3211S: Supported 3211S: Supported
3212 3212
3213PCI HOTPLUG CORE 3213PCI HOTPLUG CORE
3214P: Kristen Carlson Accardi 3214P: Kristen Carlson Accardi
3215M: kristen.c.accardi@intel.com 3215M: kristen.c.accardi@intel.com
3216S: Supported 3216S: Supported
3217 3217
@@ -3650,7 +3650,7 @@ M: jmorris@namei.org
3650P: Eric Paris 3650P: Eric Paris
3651M: eparis@parisplace.org 3651M: eparis@parisplace.org
3652L: linux-kernel@vger.kernel.org (kernel issues) 3652L: linux-kernel@vger.kernel.org (kernel issues)
3653L: selinux@tycho.nsa.gov (subscribers-only, general discussion) 3653L: selinux@tycho.nsa.gov (subscribers-only, general discussion)
3654W: http://www.nsa.gov/selinux 3654W: http://www.nsa.gov/selinux
3655S: Supported 3655S: Supported
3656 3656
@@ -3768,10 +3768,10 @@ M: bn@niasdigital.com
3768S: Maintained 3768S: Maintained
3769 3769
3770SOC-CAMERA V4L2 SUBSYSTEM 3770SOC-CAMERA V4L2 SUBSYSTEM
3771P: Guennadi Liakhovetski 3771P: Guennadi Liakhovetski
3772M: g.liakhovetski@gmx.de 3772M: g.liakhovetski@gmx.de
3773L: video4linux-list@redhat.com 3773L: video4linux-list@redhat.com
3774S: Maintained 3774S: Maintained
3775 3775
3776SOFTWARE RAID (Multiple Disks) SUPPORT 3776SOFTWARE RAID (Multiple Disks) SUPPORT
3777P: Ingo Molnar 3777P: Ingo Molnar
@@ -3925,7 +3925,7 @@ S: Maintained
3925 3925
3926STARMODE RADIO IP (STRIP) PROTOCOL DRIVER 3926STARMODE RADIO IP (STRIP) PROTOCOL DRIVER
3927W: http://mosquitonet.Stanford.EDU/strip.html 3927W: http://mosquitonet.Stanford.EDU/strip.html
3928S: Unsupported ? 3928S: Orphan
3929 3929
3930STRADIS MPEG-2 DECODER DRIVER 3930STRADIS MPEG-2 DECODER DRIVER
3931P: Nathan Laredo 3931P: Nathan Laredo
@@ -4006,9 +4006,9 @@ T: git repo.or.cz/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git
4006S: Maintained 4006S: Maintained
4007 4007
4008TI FLASH MEDIA INTERFACE DRIVER 4008TI FLASH MEDIA INTERFACE DRIVER
4009P: Alex Dubov 4009P: Alex Dubov
4010M: oakad@yahoo.com 4010M: oakad@yahoo.com
4011S: Maintained 4011S: Maintained
4012 4012
4013TI OMAP MMC INTERFACE DRIVER 4013TI OMAP MMC INTERFACE DRIVER
4014P: Carlos Aguiar, Anderson Briglia and Syed Khasim 4014P: Carlos Aguiar, Anderson Briglia and Syed Khasim
@@ -4154,13 +4154,13 @@ USB BLOCK DRIVER (UB ub)
4154P: Pete Zaitcev 4154P: Pete Zaitcev
4155M: zaitcev@redhat.com 4155M: zaitcev@redhat.com
4156L: linux-kernel@vger.kernel.org 4156L: linux-kernel@vger.kernel.org
4157L: linux-usb@vger.kernel.org 4157L: linux-usb@vger.kernel.org
4158S: Supported 4158S: Supported
4159 4159
4160USB CDC ETHERNET DRIVER 4160USB CDC ETHERNET DRIVER
4161P: Greg Kroah-Hartman 4161P: Greg Kroah-Hartman
4162M: greg@kroah.com 4162M: greg@kroah.com
4163L: linux-usb@vger.kernel.org 4163L: linux-usb@vger.kernel.org
4164S: Maintained 4164S: Maintained
4165W: http://www.kroah.com/linux-usb/ 4165W: http://www.kroah.com/linux-usb/
4166 4166
@@ -4187,13 +4187,13 @@ S: Maintained
4187USB EHCI DRIVER 4187USB EHCI DRIVER
4188P: David Brownell 4188P: David Brownell
4189M: dbrownell@users.sourceforge.net 4189M: dbrownell@users.sourceforge.net
4190L: linux-usb@vger.kernel.org 4190L: linux-usb@vger.kernel.org
4191S: Odd Fixes 4191S: Odd Fixes
4192 4192
4193USB ET61X[12]51 DRIVER 4193USB ET61X[12]51 DRIVER
4194P: Luca Risolia 4194P: Luca Risolia
4195M: luca.risolia@studio.unibo.it 4195M: luca.risolia@studio.unibo.it
4196L: linux-usb@vger.kernel.org 4196L: linux-usb@vger.kernel.org
4197L: video4linux-list@redhat.com 4197L: video4linux-list@redhat.com
4198W: http://www.linux-projects.org 4198W: http://www.linux-projects.org
4199S: Maintained 4199S: Maintained
@@ -4201,33 +4201,33 @@ S: Maintained
4201USB GADGET/PERIPHERAL SUBSYSTEM 4201USB GADGET/PERIPHERAL SUBSYSTEM
4202P: David Brownell 4202P: David Brownell
4203M: dbrownell@users.sourceforge.net 4203M: dbrownell@users.sourceforge.net
4204L: linux-usb@vger.kernel.org 4204L: linux-usb@vger.kernel.org
4205W: http://www.linux-usb.org/gadget 4205W: http://www.linux-usb.org/gadget
4206S: Maintained 4206S: Maintained
4207 4207
4208USB HID/HIDBP DRIVERS (USB KEYBOARDS, MICE, REMOTE CONTROLS, ...) 4208USB HID/HIDBP DRIVERS (USB KEYBOARDS, MICE, REMOTE CONTROLS, ...)
4209P: Jiri Kosina 4209P: Jiri Kosina
4210M: jkosina@suse.cz 4210M: jkosina@suse.cz
4211L: linux-usb@vger.kernel.org 4211L: linux-usb@vger.kernel.org
4212T: git kernel.org:/pub/scm/linux/kernel/git/jikos/hid.git 4212T: git kernel.org:/pub/scm/linux/kernel/git/jikos/hid.git
4213S: Maintained 4213S: Maintained
4214 4214
4215USB ISP116X DRIVER 4215USB ISP116X DRIVER
4216P: Olav Kongas 4216P: Olav Kongas
4217M: ok@artecdesign.ee 4217M: ok@artecdesign.ee
4218L: linux-usb@vger.kernel.org 4218L: linux-usb@vger.kernel.org
4219S: Maintained 4219S: Maintained
4220 4220
4221USB KAWASAKI LSI DRIVER 4221USB KAWASAKI LSI DRIVER
4222P: Oliver Neukum 4222P: Oliver Neukum
4223M: oliver@neukum.name 4223M: oliver@neukum.name
4224L: linux-usb@vger.kernel.org 4224L: linux-usb@vger.kernel.org
4225S: Maintained 4225S: Maintained
4226 4226
4227USB MASS STORAGE DRIVER 4227USB MASS STORAGE DRIVER
4228P: Matthew Dharm 4228P: Matthew Dharm
4229M: mdharm-usb@one-eyed-alien.net 4229M: mdharm-usb@one-eyed-alien.net
4230L: linux-usb@vger.kernel.org 4230L: linux-usb@vger.kernel.org
4231L: usb-storage@lists.one-eyed-alien.net 4231L: usb-storage@lists.one-eyed-alien.net
4232S: Maintained 4232S: Maintained
4233W: http://www.one-eyed-alien.net/~mdharm/linux-usb/ 4233W: http://www.one-eyed-alien.net/~mdharm/linux-usb/
@@ -4235,26 +4235,26 @@ W: http://www.one-eyed-alien.net/~mdharm/linux-usb/
4235USB OHCI DRIVER 4235USB OHCI DRIVER
4236P: David Brownell 4236P: David Brownell
4237M: dbrownell@users.sourceforge.net 4237M: dbrownell@users.sourceforge.net
4238L: linux-usb@vger.kernel.org 4238L: linux-usb@vger.kernel.org
4239S: Odd Fixes 4239S: Odd Fixes
4240 4240
4241USB OPTION-CARD DRIVER 4241USB OPTION-CARD DRIVER
4242P: Matthias Urlichs 4242P: Matthias Urlichs
4243M: smurf@smurf.noris.de 4243M: smurf@smurf.noris.de
4244L: linux-usb@vger.kernel.org 4244L: linux-usb@vger.kernel.org
4245S: Maintained 4245S: Maintained
4246 4246
4247USB OV511 DRIVER 4247USB OV511 DRIVER
4248P: Mark McClelland 4248P: Mark McClelland
4249M: mmcclell@bigfoot.com 4249M: mmcclell@bigfoot.com
4250L: linux-usb@vger.kernel.org 4250L: linux-usb@vger.kernel.org
4251W: http://alpha.dyndns.org/ov511/ 4251W: http://alpha.dyndns.org/ov511/
4252S: Maintained 4252S: Maintained
4253 4253
4254USB PEGASUS DRIVER 4254USB PEGASUS DRIVER
4255P: Petko Manolov 4255P: Petko Manolov
4256M: petkan@users.sourceforge.net 4256M: petkan@users.sourceforge.net
4257L: linux-usb@vger.kernel.org 4257L: linux-usb@vger.kernel.org
4258L: netdev@vger.kernel.org 4258L: netdev@vger.kernel.org
4259W: http://pegasus2.sourceforge.net/ 4259W: http://pegasus2.sourceforge.net/
4260S: Maintained 4260S: Maintained
@@ -4262,13 +4262,13 @@ S: Maintained
4262USB PRINTER DRIVER (usblp) 4262USB PRINTER DRIVER (usblp)
4263P: Pete Zaitcev 4263P: Pete Zaitcev
4264M: zaitcev@redhat.com 4264M: zaitcev@redhat.com
4265L: linux-usb@vger.kernel.org 4265L: linux-usb@vger.kernel.org
4266S: Supported 4266S: Supported
4267 4267
4268USB RTL8150 DRIVER 4268USB RTL8150 DRIVER
4269P: Petko Manolov 4269P: Petko Manolov
4270M: petkan@users.sourceforge.net 4270M: petkan@users.sourceforge.net
4271L: linux-usb@vger.kernel.org 4271L: linux-usb@vger.kernel.org
4272L: netdev@vger.kernel.org 4272L: netdev@vger.kernel.org
4273W: http://pegasus2.sourceforge.net/ 4273W: http://pegasus2.sourceforge.net/
4274S: Maintained 4274S: Maintained
@@ -4276,20 +4276,20 @@ S: Maintained
4276USB SE401 DRIVER 4276USB SE401 DRIVER
4277P: Jeroen Vreeken 4277P: Jeroen Vreeken
4278M: pe1rxq@amsat.org 4278M: pe1rxq@amsat.org
4279L: linux-usb@vger.kernel.org 4279L: linux-usb@vger.kernel.org
4280W: http://www.chello.nl/~j.vreeken/se401/ 4280W: http://www.chello.nl/~j.vreeken/se401/
4281S: Maintained 4281S: Maintained
4282 4282
4283USB SERIAL BELKIN F5U103 DRIVER 4283USB SERIAL BELKIN F5U103 DRIVER
4284P: William Greathouse 4284P: William Greathouse
4285M: wgreathouse@smva.com 4285M: wgreathouse@smva.com
4286L: linux-usb@vger.kernel.org 4286L: linux-usb@vger.kernel.org
4287S: Maintained 4287S: Maintained
4288 4288
4289USB SERIAL CYPRESS M8 DRIVER 4289USB SERIAL CYPRESS M8 DRIVER
4290P: Lonnie Mendez 4290P: Lonnie Mendez
4291M: dignome@gmail.com 4291M: dignome@gmail.com
4292L: linux-usb@vger.kernel.org 4292L: linux-usb@vger.kernel.org
4293S: Maintained 4293S: Maintained
4294W: http://geocities.com/i0xox0i 4294W: http://geocities.com/i0xox0i
4295W: http://firstlight.net/cvs 4295W: http://firstlight.net/cvs
@@ -4304,39 +4304,39 @@ USB SERIAL DIGI ACCELEPORT DRIVER
4304P: Peter Berger and Al Borchers 4304P: Peter Berger and Al Borchers
4305M: pberger@brimson.com 4305M: pberger@brimson.com
4306M: alborchers@steinerpoint.com 4306M: alborchers@steinerpoint.com
4307L: linux-usb@vger.kernel.org 4307L: linux-usb@vger.kernel.org
4308S: Maintained 4308S: Maintained
4309 4309
4310USB SERIAL DRIVER 4310USB SERIAL DRIVER
4311P: Greg Kroah-Hartman 4311P: Greg Kroah-Hartman
4312M: gregkh@suse.de 4312M: gregkh@suse.de
4313L: linux-usb@vger.kernel.org 4313L: linux-usb@vger.kernel.org
4314S: Supported 4314S: Supported
4315 4315
4316USB SERIAL EMPEG EMPEG-CAR MARK I/II DRIVER 4316USB SERIAL EMPEG EMPEG-CAR MARK I/II DRIVER
4317P: Gary Brubaker 4317P: Gary Brubaker
4318M: xavyer@ix.netcom.com 4318M: xavyer@ix.netcom.com
4319L: linux-usb@vger.kernel.org 4319L: linux-usb@vger.kernel.org
4320S: Maintained 4320S: Maintained
4321 4321
4322USB SERIAL KEYSPAN DRIVER 4322USB SERIAL KEYSPAN DRIVER
4323P: Greg Kroah-Hartman 4323P: Greg Kroah-Hartman
4324M: greg@kroah.com 4324M: greg@kroah.com
4325L: linux-usb@vger.kernel.org 4325L: linux-usb@vger.kernel.org
4326W: http://www.kroah.com/linux/ 4326W: http://www.kroah.com/linux/
4327S: Maintained 4327S: Maintained
4328 4328
4329USB SERIAL WHITEHEAT DRIVER 4329USB SERIAL WHITEHEAT DRIVER
4330P: Support Department 4330P: Support Department
4331M: support@connecttech.com 4331M: support@connecttech.com
4332L: linux-usb@vger.kernel.org 4332L: linux-usb@vger.kernel.org
4333W: http://www.connecttech.com 4333W: http://www.connecttech.com
4334S: Supported 4334S: Supported
4335 4335
4336USB SN9C1xx DRIVER 4336USB SN9C1xx DRIVER
4337P: Luca Risolia 4337P: Luca Risolia
4338M: luca.risolia@studio.unibo.it 4338M: luca.risolia@studio.unibo.it
4339L: linux-usb@vger.kernel.org 4339L: linux-usb@vger.kernel.org
4340L: video4linux-list@redhat.com 4340L: video4linux-list@redhat.com
4341W: http://www.linux-projects.org 4341W: http://www.linux-projects.org
4342S: Maintained 4342S: Maintained
@@ -4344,7 +4344,7 @@ S: Maintained
4344USB SUBSYSTEM 4344USB SUBSYSTEM
4345P: Greg Kroah-Hartman 4345P: Greg Kroah-Hartman
4346M: gregkh@suse.de 4346M: gregkh@suse.de
4347L: linux-usb@vger.kernel.org 4347L: linux-usb@vger.kernel.org
4348W: http://www.linux-usb.org 4348W: http://www.linux-usb.org
4349T: quilt kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/ 4349T: quilt kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/
4350S: Supported 4350S: Supported
@@ -4352,7 +4352,7 @@ S: Supported
4352USB UHCI DRIVER 4352USB UHCI DRIVER
4353P: Alan Stern 4353P: Alan Stern
4354M: stern@rowland.harvard.edu 4354M: stern@rowland.harvard.edu
4355L: linux-usb@vger.kernel.org 4355L: linux-usb@vger.kernel.org
4356S: Maintained 4356S: Maintained
4357 4357
4358USB "USBNET" DRIVER FRAMEWORK 4358USB "USBNET" DRIVER FRAMEWORK
@@ -4373,7 +4373,7 @@ S: Maintained
4373USB W996[87]CF DRIVER 4373USB W996[87]CF DRIVER
4374P: Luca Risolia 4374P: Luca Risolia
4375M: luca.risolia@studio.unibo.it 4375M: luca.risolia@studio.unibo.it
4376L: linux-usb@vger.kernel.org 4376L: linux-usb@vger.kernel.org
4377L: video4linux-list@redhat.com 4377L: video4linux-list@redhat.com
4378W: http://www.linux-projects.org 4378W: http://www.linux-projects.org
4379S: Maintained 4379S: Maintained
@@ -4387,7 +4387,7 @@ S: Maintained
4387USB ZC0301 DRIVER 4387USB ZC0301 DRIVER
4388P: Luca Risolia 4388P: Luca Risolia
4389M: luca.risolia@studio.unibo.it 4389M: luca.risolia@studio.unibo.it
4390L: linux-usb@vger.kernel.org 4390L: linux-usb@vger.kernel.org
4391L: video4linux-list@redhat.com 4391L: video4linux-list@redhat.com
4392W: http://www.linux-projects.org 4392W: http://www.linux-projects.org
4393S: Maintained 4393S: Maintained
@@ -4395,14 +4395,14 @@ S: Maintained
4395USB ZD1201 DRIVER 4395USB ZD1201 DRIVER
4396P: Jeroen Vreeken 4396P: Jeroen Vreeken
4397M: pe1rxq@amsat.org 4397M: pe1rxq@amsat.org
4398L: linux-usb@vger.kernel.org 4398L: linux-usb@vger.kernel.org
4399W: http://linux-lc100020.sourceforge.net 4399W: http://linux-lc100020.sourceforge.net
4400S: Maintained 4400S: Maintained
4401 4401
4402USB ZR364XX DRIVER 4402USB ZR364XX DRIVER
4403P: Antoine Jacquet 4403P: Antoine Jacquet
4404M: royale@zerezo.com 4404M: royale@zerezo.com
4405L: linux-usb@vger.kernel.org 4405L: linux-usb@vger.kernel.org
4406L: video4linux-list@redhat.com 4406L: video4linux-list@redhat.com
4407W: http://royale.zerezo.com/zr364xx/ 4407W: http://royale.zerezo.com/zr364xx/
4408S: Maintained 4408S: Maintained
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c
index 7a37d06376be..cd0d1a7284b7 100644
--- a/arch/ia64/kvm/kvm-ia64.c
+++ b/arch/ia64/kvm/kvm-ia64.c
@@ -38,6 +38,7 @@
38#include <asm/cacheflush.h> 38#include <asm/cacheflush.h>
39#include <asm/div64.h> 39#include <asm/div64.h>
40#include <asm/tlb.h> 40#include <asm/tlb.h>
41#include <asm/elf.h>
41 42
42#include "misc.h" 43#include "misc.h"
43#include "vti.h" 44#include "vti.h"
@@ -61,12 +62,6 @@ struct kvm_stats_debugfs_item debugfs_entries[] = {
61 { NULL } 62 { NULL }
62}; 63};
63 64
64
65struct fdesc{
66 unsigned long ip;
67 unsigned long gp;
68};
69
70static void kvm_flush_icache(unsigned long start, unsigned long len) 65static void kvm_flush_icache(unsigned long start, unsigned long len)
71{ 66{
72 int l; 67 int l;
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index 335a6ae3d594..11c92dc53791 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -45,18 +45,7 @@ static void r39xx_wait(void)
45 local_irq_enable(); 45 local_irq_enable();
46} 46}
47 47
48/* 48extern void r4k_wait(void);
49 * There is a race when WAIT instruction executed with interrupt
50 * enabled.
51 * But it is implementation-dependent wheter the pipelie restarts when
52 * a non-enabled interrupt is requested.
53 */
54static void r4k_wait(void)
55{
56 __asm__(" .set mips3 \n"
57 " wait \n"
58 " .set mips0 \n");
59}
60 49
61/* 50/*
62 * This variant is preferable as it allows testing need_resched and going to 51 * This variant is preferable as it allows testing need_resched and going to
@@ -128,7 +117,7 @@ static int __init wait_disable(char *s)
128 117
129__setup("nowait", wait_disable); 118__setup("nowait", wait_disable);
130 119
131static inline void check_wait(void) 120void __init check_wait(void)
132{ 121{
133 struct cpuinfo_mips *c = &current_cpu_data; 122 struct cpuinfo_mips *c = &current_cpu_data;
134 123
@@ -242,7 +231,6 @@ static inline void check_errata(void)
242 231
243void __init check_bugs32(void) 232void __init check_bugs32(void)
244{ 233{
245 check_wait();
246 check_errata(); 234 check_errata();
247} 235}
248 236
diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S
index c6ada98ee042..f886dd7f708e 100644
--- a/arch/mips/kernel/genex.S
+++ b/arch/mips/kernel/genex.S
@@ -20,6 +20,7 @@
20#include <asm/stackframe.h> 20#include <asm/stackframe.h>
21#include <asm/war.h> 21#include <asm/war.h>
22#include <asm/page.h> 22#include <asm/page.h>
23#include <asm/thread_info.h>
23 24
24#define PANIC_PIC(msg) \ 25#define PANIC_PIC(msg) \
25 .set push; \ 26 .set push; \
@@ -126,7 +127,42 @@ handle_vcei:
126 127
127 __FINIT 128 __FINIT
128 129
130 .align 5 /* 32 byte rollback region */
131LEAF(r4k_wait)
132 .set push
133 .set noreorder
134 /* start of rollback region */
135 LONG_L t0, TI_FLAGS($28)
136 nop
137 andi t0, _TIF_NEED_RESCHED
138 bnez t0, 1f
139 nop
140 nop
141 nop
142 .set mips3
143 wait
144 /* end of rollback region (the region size must be power of two) */
145 .set pop
1461:
147 jr ra
148 END(r4k_wait)
149
150 .macro BUILD_ROLLBACK_PROLOGUE handler
151 FEXPORT(rollback_\handler)
152 .set push
153 .set noat
154 MFC0 k0, CP0_EPC
155 PTR_LA k1, r4k_wait
156 ori k0, 0x1f /* 32 byte rollback region */
157 xori k0, 0x1f
158 bne k0, k1, 9f
159 MTC0 k0, CP0_EPC
1609:
161 .set pop
162 .endm
163
129 .align 5 164 .align 5
165BUILD_ROLLBACK_PROLOGUE handle_int
130NESTED(handle_int, PT_SIZE, sp) 166NESTED(handle_int, PT_SIZE, sp)
131#ifdef CONFIG_TRACE_IRQFLAGS 167#ifdef CONFIG_TRACE_IRQFLAGS
132 /* 168 /*
@@ -201,6 +237,7 @@ NESTED(except_vec_ejtag_debug, 0, sp)
201 * This prototype is copied to ebase + n*IntCtl.VS and patched 237 * This prototype is copied to ebase + n*IntCtl.VS and patched
202 * to invoke the handler 238 * to invoke the handler
203 */ 239 */
240BUILD_ROLLBACK_PROLOGUE except_vec_vi
204NESTED(except_vec_vi, 0, sp) 241NESTED(except_vec_vi, 0, sp)
205 SAVE_SOME 242 SAVE_SOME
206 SAVE_AT 243 SAVE_AT
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c
index b16facd9ea8e..ce7684335a41 100644
--- a/arch/mips/kernel/process.c
+++ b/arch/mips/kernel/process.c
@@ -148,6 +148,8 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
148 clear_tsk_thread_flag(p, TIF_USEDFPU); 148 clear_tsk_thread_flag(p, TIF_USEDFPU);
149 149
150#ifdef CONFIG_MIPS_MT_FPAFF 150#ifdef CONFIG_MIPS_MT_FPAFF
151 clear_tsk_thread_flag(p, TIF_FPUBOUND);
152
151 /* 153 /*
152 * FPU affinity support is cleaner if we track the 154 * FPU affinity support is cleaner if we track the
153 * user-visible CPU affinity from the very beginning. 155 * user-visible CPU affinity from the very beginning.
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 6bee29097a56..5fd0cd020af5 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -46,6 +46,9 @@
46#include <asm/types.h> 46#include <asm/types.h>
47#include <asm/stacktrace.h> 47#include <asm/stacktrace.h>
48 48
49extern void check_wait(void);
50extern asmlinkage void r4k_wait(void);
51extern asmlinkage void rollback_handle_int(void);
49extern asmlinkage void handle_int(void); 52extern asmlinkage void handle_int(void);
50extern asmlinkage void handle_tlbm(void); 53extern asmlinkage void handle_tlbm(void);
51extern asmlinkage void handle_tlbl(void); 54extern asmlinkage void handle_tlbl(void);
@@ -1251,6 +1254,9 @@ static void *set_vi_srs_handler(int n, vi_handler_t addr, int srs)
1251 1254
1252 extern char except_vec_vi, except_vec_vi_lui; 1255 extern char except_vec_vi, except_vec_vi_lui;
1253 extern char except_vec_vi_ori, except_vec_vi_end; 1256 extern char except_vec_vi_ori, except_vec_vi_end;
1257 extern char rollback_except_vec_vi;
1258 char *vec_start = (cpu_wait == r4k_wait) ?
1259 &rollback_except_vec_vi : &except_vec_vi;
1254#ifdef CONFIG_MIPS_MT_SMTC 1260#ifdef CONFIG_MIPS_MT_SMTC
1255 /* 1261 /*
1256 * We need to provide the SMTC vectored interrupt handler 1262 * We need to provide the SMTC vectored interrupt handler
@@ -1258,11 +1264,11 @@ static void *set_vi_srs_handler(int n, vi_handler_t addr, int srs)
1258 * Status.IM bit to be masked before going there. 1264 * Status.IM bit to be masked before going there.
1259 */ 1265 */
1260 extern char except_vec_vi_mori; 1266 extern char except_vec_vi_mori;
1261 const int mori_offset = &except_vec_vi_mori - &except_vec_vi; 1267 const int mori_offset = &except_vec_vi_mori - vec_start;
1262#endif /* CONFIG_MIPS_MT_SMTC */ 1268#endif /* CONFIG_MIPS_MT_SMTC */
1263 const int handler_len = &except_vec_vi_end - &except_vec_vi; 1269 const int handler_len = &except_vec_vi_end - vec_start;
1264 const int lui_offset = &except_vec_vi_lui - &except_vec_vi; 1270 const int lui_offset = &except_vec_vi_lui - vec_start;
1265 const int ori_offset = &except_vec_vi_ori - &except_vec_vi; 1271 const int ori_offset = &except_vec_vi_ori - vec_start;
1266 1272
1267 if (handler_len > VECTORSPACING) { 1273 if (handler_len > VECTORSPACING) {
1268 /* 1274 /*
@@ -1272,7 +1278,7 @@ static void *set_vi_srs_handler(int n, vi_handler_t addr, int srs)
1272 panic("VECTORSPACING too small"); 1278 panic("VECTORSPACING too small");
1273 } 1279 }
1274 1280
1275 memcpy(b, &except_vec_vi, handler_len); 1281 memcpy(b, vec_start, handler_len);
1276#ifdef CONFIG_MIPS_MT_SMTC 1282#ifdef CONFIG_MIPS_MT_SMTC
1277 BUG_ON(n > 7); /* Vector index %d exceeds SMTC maximum. */ 1283 BUG_ON(n > 7); /* Vector index %d exceeds SMTC maximum. */
1278 1284
@@ -1554,6 +1560,10 @@ void __init trap_init(void)
1554 extern char except_vec3_generic, except_vec3_r4000; 1560 extern char except_vec3_generic, except_vec3_r4000;
1555 extern char except_vec4; 1561 extern char except_vec4;
1556 unsigned long i; 1562 unsigned long i;
1563 int rollback;
1564
1565 check_wait();
1566 rollback = (cpu_wait == r4k_wait);
1557 1567
1558#if defined(CONFIG_KGDB) 1568#if defined(CONFIG_KGDB)
1559 if (kgdb_early_setup) 1569 if (kgdb_early_setup)
@@ -1618,7 +1628,7 @@ void __init trap_init(void)
1618 if (board_be_init) 1628 if (board_be_init)
1619 board_be_init(); 1629 board_be_init();
1620 1630
1621 set_except_vector(0, handle_int); 1631 set_except_vector(0, rollback ? rollback_handle_int : handle_int);
1622 set_except_vector(1, handle_tlbm); 1632 set_except_vector(1, handle_tlbm);
1623 set_except_vector(2, handle_tlbl); 1633 set_except_vector(2, handle_tlbl);
1624 set_except_vector(3, handle_tlbs); 1634 set_except_vector(3, handle_tlbs);
diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
index b5470ceb418b..afb119f35682 100644
--- a/arch/mips/kernel/vmlinux.lds.S
+++ b/arch/mips/kernel/vmlinux.lds.S
@@ -36,6 +36,7 @@ SECTIONS
36 SCHED_TEXT 36 SCHED_TEXT
37 LOCK_TEXT 37 LOCK_TEXT
38 KPROBES_TEXT 38 KPROBES_TEXT
39 *(.text.*)
39 *(.fixup) 40 *(.fixup)
40 *(.gnu.warning) 41 *(.gnu.warning)
41 } :text = 0 42 } :text = 0
diff --git a/arch/mips/lib/csum_partial.S b/arch/mips/lib/csum_partial.S
index 8d7784122c14..edac9892c51a 100644
--- a/arch/mips/lib/csum_partial.S
+++ b/arch/mips/lib/csum_partial.S
@@ -39,12 +39,14 @@
39#ifdef USE_DOUBLE 39#ifdef USE_DOUBLE
40 40
41#define LOAD ld 41#define LOAD ld
42#define LOAD32 lwu
42#define ADD daddu 43#define ADD daddu
43#define NBYTES 8 44#define NBYTES 8
44 45
45#else 46#else
46 47
47#define LOAD lw 48#define LOAD lw
49#define LOAD32 lw
48#define ADD addu 50#define ADD addu
49#define NBYTES 4 51#define NBYTES 4
50 52
@@ -60,6 +62,14 @@
60 ADD sum, v1; \ 62 ADD sum, v1; \
61 .set pop 63 .set pop
62 64
65#define ADDC32(sum,reg) \
66 .set push; \
67 .set noat; \
68 addu sum, reg; \
69 sltu v1, sum, reg; \
70 addu sum, v1; \
71 .set pop
72
63#define CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3) \ 73#define CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3) \
64 LOAD _t0, (offset + UNIT(0))(src); \ 74 LOAD _t0, (offset + UNIT(0))(src); \
65 LOAD _t1, (offset + UNIT(1))(src); \ 75 LOAD _t1, (offset + UNIT(1))(src); \
@@ -132,7 +142,7 @@ LEAF(csum_partial)
132 beqz t8, .Lqword_align 142 beqz t8, .Lqword_align
133 andi t8, src, 0x8 143 andi t8, src, 0x8
134 144
135 lw t0, 0x00(src) 145 LOAD32 t0, 0x00(src)
136 LONG_SUBU a1, a1, 0x4 146 LONG_SUBU a1, a1, 0x4
137 ADDC(sum, t0) 147 ADDC(sum, t0)
138 PTR_ADDU src, src, 0x4 148 PTR_ADDU src, src, 0x4
@@ -211,7 +221,7 @@ LEAF(csum_partial)
211 LONG_SRL t8, t8, 0x2 221 LONG_SRL t8, t8, 0x2
212 222
213.Lend_words: 223.Lend_words:
214 lw t0, (src) 224 LOAD32 t0, (src)
215 LONG_SUBU t8, t8, 0x1 225 LONG_SUBU t8, t8, 0x1
216 ADDC(sum, t0) 226 ADDC(sum, t0)
217 .set reorder /* DADDI_WAR */ 227 .set reorder /* DADDI_WAR */
@@ -230,6 +240,9 @@ LEAF(csum_partial)
230 /* Still a full word to go */ 240 /* Still a full word to go */
231 ulw t1, (src) 241 ulw t1, (src)
232 PTR_ADDIU src, 4 242 PTR_ADDIU src, 4
243#ifdef USE_DOUBLE
244 dsll t1, t1, 32 /* clear lower 32bit */
245#endif
233 ADDC(sum, t1) 246 ADDC(sum, t1)
234 247
2351: move t1, zero 2481: move t1, zero
@@ -280,7 +293,7 @@ LEAF(csum_partial)
2801: 2931:
281 .set reorder 294 .set reorder
282 /* Add the passed partial csum. */ 295 /* Add the passed partial csum. */
283 ADDC(sum, a2) 296 ADDC32(sum, a2)
284 jr ra 297 jr ra
285 .set noreorder 298 .set noreorder
286 END(csum_partial) 299 END(csum_partial)
@@ -681,7 +694,7 @@ EXC( sb t0, NBYTES-2(dst), .Ls_exc)
681 .set pop 694 .set pop
6821: 6951:
683 .set reorder 696 .set reorder
684 ADDC(sum, psum) 697 ADDC32(sum, psum)
685 jr ra 698 jr ra
686 .set noreorder 699 .set noreorder
687 700
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index 6986f3926244..ebc8b9d77613 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -615,14 +615,19 @@ static struct mmc_driver mmc_driver = {
615 615
616static int __init mmc_blk_init(void) 616static int __init mmc_blk_init(void)
617{ 617{
618 int res = -ENOMEM; 618 int res;
619 619
620 res = register_blkdev(MMC_BLOCK_MAJOR, "mmc"); 620 res = register_blkdev(MMC_BLOCK_MAJOR, "mmc");
621 if (res) 621 if (res)
622 goto out; 622 goto out;
623 623
624 return mmc_register_driver(&mmc_driver); 624 res = mmc_register_driver(&mmc_driver);
625 if (res)
626 goto out2;
625 627
628 return 0;
629 out2:
630 unregister_blkdev(MMC_BLOCK_MAJOR, "mmc");
626 out: 631 out:
627 return res; 632 return res;
628} 633}
diff --git a/drivers/mmc/card/mmc_test.c b/drivers/mmc/card/mmc_test.c
index f26b01d811ae..b92b172074ee 100644
--- a/drivers/mmc/card/mmc_test.c
+++ b/drivers/mmc/card/mmc_test.c
@@ -1040,7 +1040,7 @@ static const struct mmc_test_case mmc_test_cases[] = {
1040 1040
1041}; 1041};
1042 1042
1043static struct mutex mmc_test_lock; 1043static DEFINE_MUTEX(mmc_test_lock);
1044 1044
1045static void mmc_test_run(struct mmc_test_card *test, int testcase) 1045static void mmc_test_run(struct mmc_test_card *test, int testcase)
1046{ 1046{
@@ -1171,8 +1171,6 @@ static int mmc_test_probe(struct mmc_card *card)
1171 if ((card->type != MMC_TYPE_MMC) && (card->type != MMC_TYPE_SD)) 1171 if ((card->type != MMC_TYPE_MMC) && (card->type != MMC_TYPE_SD))
1172 return -ENODEV; 1172 return -ENODEV;
1173 1173
1174 mutex_init(&mmc_test_lock);
1175
1176 ret = device_create_file(&card->dev, &dev_attr_test); 1174 ret = device_create_file(&card->dev, &dev_attr_test);
1177 if (ret) 1175 if (ret)
1178 return ret; 1176 return ret;
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index 0bd06f5bd62f..917035e16da4 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -195,7 +195,9 @@ static int atmci_regs_show(struct seq_file *s, void *v)
195 195
196 /* Grab a more or less consistent snapshot */ 196 /* Grab a more or less consistent snapshot */
197 spin_lock_irq(&host->mmc->lock); 197 spin_lock_irq(&host->mmc->lock);
198 clk_enable(host->mck);
198 memcpy_fromio(buf, host->regs, MCI_REGS_SIZE); 199 memcpy_fromio(buf, host->regs, MCI_REGS_SIZE);
200 clk_disable(host->mck);
199 spin_unlock_irq(&host->mmc->lock); 201 spin_unlock_irq(&host->mmc->lock);
200 202
201 seq_printf(s, "MR:\t0x%08x%s%s CLKDIV=%u\n", 203 seq_printf(s, "MR:\t0x%08x%s%s CLKDIV=%u\n",
@@ -216,6 +218,8 @@ static int atmci_regs_show(struct seq_file *s, void *v)
216 atmci_show_status_reg(s, "SR", buf[MCI_SR / 4]); 218 atmci_show_status_reg(s, "SR", buf[MCI_SR / 4]);
217 atmci_show_status_reg(s, "IMR", buf[MCI_IMR / 4]); 219 atmci_show_status_reg(s, "IMR", buf[MCI_IMR / 4]);
218 220
221 kfree(buf);
222
219 return 0; 223 return 0;
220} 224}
221 225
@@ -237,7 +241,6 @@ static void atmci_init_debugfs(struct atmel_mci *host)
237 struct mmc_host *mmc; 241 struct mmc_host *mmc;
238 struct dentry *root; 242 struct dentry *root;
239 struct dentry *node; 243 struct dentry *node;
240 struct resource *res;
241 244
242 mmc = host->mmc; 245 mmc = host->mmc;
243 root = mmc->debugfs_root; 246 root = mmc->debugfs_root;
@@ -251,9 +254,6 @@ static void atmci_init_debugfs(struct atmel_mci *host)
251 if (!node) 254 if (!node)
252 goto err; 255 goto err;
253 256
254 res = platform_get_resource(host->pdev, IORESOURCE_MEM, 0);
255 node->d_inode->i_size = res->end - res->start + 1;
256
257 node = debugfs_create_file("req", S_IRUSR, root, host, &atmci_req_fops); 257 node = debugfs_create_file("req", S_IRUSR, root, host, &atmci_req_fops);
258 if (!node) 258 if (!node)
259 goto err; 259 goto err;
@@ -1059,6 +1059,10 @@ static int __init atmci_probe(struct platform_device *pdev)
1059 host->present = !gpio_get_value(host->detect_pin); 1059 host->present = !gpio_get_value(host->detect_pin);
1060 } 1060 }
1061 } 1061 }
1062
1063 if (!gpio_is_valid(host->detect_pin))
1064 mmc->caps |= MMC_CAP_NEEDS_POLL;
1065
1062 if (gpio_is_valid(host->wp_pin)) { 1066 if (gpio_is_valid(host->wp_pin)) {
1063 if (gpio_request(host->wp_pin, "mmc_wp")) { 1067 if (gpio_request(host->wp_pin, "mmc_wp")) {
1064 dev_dbg(&mmc->class_dev, "no WP pin available\n"); 1068 dev_dbg(&mmc->class_dev, "no WP pin available\n");
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h
index 9e647a06054f..ba2b4240a86a 100644
--- a/drivers/mmc/host/tmio_mmc.h
+++ b/drivers/mmc/host/tmio_mmc.h
@@ -159,10 +159,10 @@ static inline void tmio_mmc_kunmap_atomic(struct tmio_mmc_host *host,
159#define STATUS_TO_TEXT(a) \ 159#define STATUS_TO_TEXT(a) \
160 do { \ 160 do { \
161 if (status & TMIO_STAT_##a) \ 161 if (status & TMIO_STAT_##a) \
162 printf(#a); \ 162 printk(#a); \
163 } while (0) 163 } while (0)
164 164
165void debug_status(u32 status) 165void pr_debug_status(u32 status)
166{ 166{
167 printk(KERN_DEBUG "status: %08x = ", status); 167 printk(KERN_DEBUG "status: %08x = ", status);
168 STATUS_TO_TEXT(CARD_REMOVE); 168 STATUS_TO_TEXT(CARD_REMOVE);