development kernel tree: Changes to 'master'
git at git.openmoko.org
git at git.openmoko.org
Sun Aug 3 21:23:44 CEST 2008
Documentation/ABI/testing/sysfs-class-regulator | 315 ++
Documentation/DMA-API.txt | 4 +-
Documentation/DocBook/kgdb.tmpl | 18 +
Documentation/Intel-IOMMU.txt | 4 +-
Documentation/SubmittingPatches | 26 +
Documentation/accounting/taskstats-struct.txt | 2 +-
Documentation/arm/Interrupts | 10 +-
Documentation/cpu-freq/governors.txt | 2 +-
Documentation/edac.txt | 2 +-
Documentation/feature-removal-schedule.txt | 24 +
Documentation/filesystems/configfs/configfs.txt | 17 +-
.../filesystems/configfs/configfs_example.c | 485 --
.../configfs/configfs_example_explicit.c | 485 ++
.../filesystems/configfs/configfs_example_macros.c | 448 ++
Documentation/filesystems/omfs.txt | 106 +
Documentation/filesystems/proc.txt | 4 +-
Documentation/filesystems/relay.txt | 10 +
Documentation/filesystems/vfs.txt | 6 +-
Documentation/ftrace.txt | 1 +
Documentation/hwmon/dme1737 | 4 +
Documentation/hwmon/lm85 | 11 +-
Documentation/i2c/upgrading-clients | 281 ++
Documentation/ia64/kvm.txt | 8 +-
Documentation/input/cs461x.txt | 2 +-
Documentation/ioctl/ioctl-decoding.txt | 4 +-
Documentation/iostats.txt | 2 +-
Documentation/isdn/README.mISDN | 6 +
Documentation/kdump/kdump.txt | 20 +-
Documentation/keys.txt | 2 +-
Documentation/leds-class.txt | 2 +-
Documentation/lguest/lguest.c | 519 ++-
Documentation/local_ops.txt | 2 +-
Documentation/networking/bonding.txt | 2 +-
Documentation/networking/can.txt | 4 +-
Documentation/networking/packet_mmap.txt | 2 +-
Documentation/networking/tc-actions-env-rules.txt | 15 +-
Documentation/power/power_supply_class.txt | 4 +
Documentation/power/regulator/consumer.txt | 182 +
Documentation/power/regulator/machine.txt | 101 +
Documentation/power/regulator/overview.txt | 171 +
Documentation/power/regulator/regulator.txt | 30 +
Documentation/powerpc/00-INDEX | 2 -
Documentation/powerpc/SBC8260_memory_mapping.txt | 197 -
Documentation/powerpc/booting-without-of.txt | 8 +-
.../powerpc/dts-bindings/fsl/cpm_qe/serial.txt | 11 +
Documentation/powerpc/qe_firmware.txt | 2 +-
Documentation/rfkill.txt | 20 +-
Documentation/s390/driver-model.txt | 2 +-
Documentation/scsi/ibmmca.txt | 6 +-
Documentation/scsi/lpfc.txt | 2 +-
Documentation/scsi/scsi_fc_transport.txt | 6 +-
Documentation/sh/clk.txt | 2 +-
Documentation/sound/alsa/ALSA-Configuration.txt | 1 +
Documentation/sound/alsa/Audiophile-Usb.txt | 10 +-
Documentation/sound/alsa/hda_codec.txt | 2 +-
Documentation/sound/alsa/soc/dapm.txt | 2 +-
Documentation/sparse.txt | 8 +-
Documentation/sysctl/vm.txt | 2 +-
Documentation/timers/highres.txt | 2 +-
Documentation/usb/authorization.txt | 2 +-
Documentation/video4linux/CARDLIST.au0828 | 1 +
Documentation/video4linux/CARDLIST.em28xx | 45 +-
Documentation/video4linux/gspca.txt | 2 +-
Documentation/video4linux/sn9c102.txt | 2 +-
Documentation/vm/hugetlbpage.txt | 2 +-
Documentation/vm/numa_memory_policy.txt | 4 +-
Documentation/volatile-considered-harmful.txt | 2 +-
Kbuild | 3 +-
MAINTAINERS | 29 +-
Makefile | 124 +-
arch/Kconfig | 18 +
arch/alpha/kernel/osf_sys.c | 10 +-
arch/alpha/mm/init.c | 30 -
arch/alpha/mm/numa.c | 35 -
arch/arm/Kconfig | 11 +-
arch/arm/Makefile | 2 +-
arch/arm/common/dmabounce.c | 2 +-
arch/arm/common/locomo.c | 10 +-
arch/arm/common/sa1111.c | 14 +-
arch/arm/configs/at91cap9adk_defconfig | 4 +-
arch/arm/configs/at91sam9260ek_defconfig | 2 +-
arch/arm/configs/at91sam9261ek_defconfig | 4 +-
arch/arm/configs/at91sam9263ek_defconfig | 4 +-
arch/arm/configs/at91sam9g20ek_defconfig | 10 +-
arch/arm/configs/at91sam9rlek_defconfig | 2 +-
arch/arm/configs/cam60_defconfig | 8 +-
arch/arm/configs/eseries_pxa_defconfig | 1073 ++---
arch/arm/configs/qil-a9260_defconfig | 8 +-
arch/arm/configs/sam9_l9260_defconfig | 2 +-
arch/arm/configs/usb-a9260_defconfig | 8 +-
arch/arm/configs/usb-a9263_defconfig | 8 +-
arch/arm/configs/yl9200_defconfig | 2 +-
arch/arm/mach-at91/Kconfig | 2 +-
arch/arm/mach-at91/at91cap9_devices.c | 10 +-
arch/arm/mach-at91/at91rm9200_devices.c | 10 +-
arch/arm/mach-at91/at91sam9260_devices.c | 10 +-
arch/arm/mach-at91/at91sam9261_devices.c | 14 +-
arch/arm/mach-at91/at91sam9263_devices.c | 10 +-
arch/arm/mach-at91/at91sam9rl_devices.c | 14 +-
arch/arm/mach-at91/board-cam60.c | 2 +-
arch/arm/mach-at91/board-cap9adk.c | 10 +-
arch/arm/mach-at91/board-dk.c | 2 +-
arch/arm/mach-at91/board-kb9202.c | 2 +-
arch/arm/mach-at91/board-qil-a9260.c | 4 +-
arch/arm/mach-at91/board-sam9-l9260.c | 4 +-
arch/arm/mach-at91/board-sam9260ek.c | 4 +-
arch/arm/mach-at91/board-sam9261ek.c | 4 +-
arch/arm/mach-at91/board-sam9263ek.c | 4 +-
arch/arm/mach-at91/board-sam9g20ek.c | 4 +-
arch/arm/mach-at91/board-sam9rlek.c | 2 +-
arch/arm/mach-at91/board-usb-a9260.c | 4 +-
arch/arm/mach-at91/board-usb-a9263.c | 4 +-
arch/arm/mach-at91/board-yl-9200.c | 2 +-
arch/arm/mach-at91/irq.c | 8 +-
arch/arm/mach-ep93xx/core.c | 14 +-
arch/arm/mach-imx/irq.c | 12 +-
arch/arm/mach-ixp2000/core.c | 8 +-
arch/arm/mach-ixp23xx/core.c | 10 +-
arch/arm/mach-ixp23xx/roadrunner.c | 4 +-
arch/arm/mach-ixp4xx/avila-pci.c | 8 +-
arch/arm/mach-ixp4xx/common.c | 10 +-
arch/arm/mach-ixp4xx/coyote-pci.c | 4 +-
arch/arm/mach-ixp4xx/dsmg600-pci.c | 12 +-
arch/arm/mach-ixp4xx/fsg-pci.c | 6 +-
arch/arm/mach-ixp4xx/gateway7001-pci.c | 4 +-
arch/arm/mach-ixp4xx/gtwx5715-pci.c | 8 +-
arch/arm/mach-ixp4xx/ixdp425-pci.c | 8 +-
arch/arm/mach-ixp4xx/ixdpg425-pci.c | 4 +-
arch/arm/mach-ixp4xx/nas100d-pci.c | 10 +-
arch/arm/mach-ixp4xx/nslu2-pci.c | 6 +-
arch/arm/mach-ixp4xx/wg302v2-pci.c | 4 +-
arch/arm/mach-kirkwood/rd88f6281-setup.c | 3 +
arch/arm/mach-ks8695/irq.c | 10 +-
arch/arm/mach-netx/generic.c | 8 +-
arch/arm/mach-omap1/board-osk.c | 6 +-
arch/arm/mach-omap1/board-palmz71.c | 4 +-
arch/arm/mach-omap1/board-voiceblue.c | 8 +-
arch/arm/mach-omap1/fpga.c | 2 +-
arch/arm/mach-omap2/board-apollon.c | 6 +-
arch/arm/mach-orion5x/db88f5281-setup.c | 4 +-
arch/arm/mach-orion5x/irq.c | 12 +-
arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c | 3 +
arch/arm/mach-orion5x/rd88f5181l-ge-setup.c | 3 +
arch/arm/mach-orion5x/rd88f5182-setup.c | 4 +-
arch/arm/mach-orion5x/ts209-setup.c | 4 +-
arch/arm/mach-orion5x/wnr854t-setup.c | 3 +
arch/arm/mach-orion5x/wrt350n-v2-setup.c | 3 +
arch/arm/mach-pnx4008/irq.c | 10 +-
arch/arm/mach-pxa/cm-x270-pci.c | 2 +-
arch/arm/mach-pxa/lpd270.c | 2 +-
arch/arm/mach-pxa/lubbock.c | 2 +-
arch/arm/mach-pxa/mainstone.c | 2 +-
arch/arm/mach-pxa/sharpsl_pm.c | 8 +-
arch/arm/mach-pxa/trizeps4.c | 2 +-
arch/arm/mach-sa1100/cerf.c | 2 +-
arch/arm/mach-sa1100/h3600.c | 2 +-
arch/arm/mach-sa1100/irq.c | 8 +-
arch/arm/mach-sa1100/neponset.c | 2 +-
arch/arm/mach-sa1100/pleb.c | 2 +-
arch/arm/mm/consistent.c | 8 +
arch/arm/mm/fault-armv.c | 10 +-
arch/arm/plat-mxc/gpio.c | 10 +-
arch/arm/plat-omap/gpio.c | 28 +-
arch/arm/plat-s3c24xx/Kconfig | 2 +-
arch/arm/plat-s3c24xx/dma.c | 2 +-
arch/arm/plat-s3c24xx/irq.c | 12 +-
arch/avr32/boards/atstk1000/Kconfig | 4 +
arch/avr32/boards/atstk1000/Makefile | 1 +
arch/avr32/boards/atstk1000/atstk1002.c | 97 +-
arch/avr32/boards/atstk1000/atstk1003.c | 2 +-
arch/avr32/boards/atstk1000/atstk1004.c | 2 +-
arch/avr32/kernel/time.c | 6 +-
arch/avr32/mach-at32ap/at32ap700x.c | 108 +-
arch/avr32/mach-at32ap/hsmc.c | 2 +-
arch/avr32/mm/init.c | 39 -
arch/blackfin/Kconfig | 100 +-
arch/blackfin/Kconfig.debug | 7 -
arch/blackfin/Makefile | 5 +-
arch/blackfin/configs/BF527-EZKIT_defconfig | 187 +-
arch/blackfin/configs/BF533-EZKIT_defconfig | 279 +-
arch/blackfin/configs/BF533-STAMP_defconfig | 340 +-
arch/blackfin/configs/BF537-STAMP_defconfig | 337 +-
arch/blackfin/configs/BF548-EZKIT_defconfig | 65 +-
arch/blackfin/configs/BF561-EZKIT_defconfig | 273 +-
arch/blackfin/configs/CM-BF527_defconfig | 1185 +++++
arch/blackfin/configs/CM-BF533_defconfig | 14 +-
arch/blackfin/configs/CM-BF537E_defconfig | 21 +-
arch/blackfin/configs/CM-BF537U_defconfig | 18 +-
arch/blackfin/configs/CM-BF548_defconfig | 10 +-
arch/blackfin/configs/CM-BF561_defconfig | 14 +-
arch/blackfin/configs/H8606_defconfig | 2 +-
arch/blackfin/configs/IP0X_defconfig | 2 +-
arch/blackfin/configs/PNAV-10_defconfig | 4 +-
arch/blackfin/configs/SRV1_defconfig | 2 +-
arch/blackfin/kernel/Makefile | 1 -
arch/blackfin/kernel/bfin_dma_5xx.c | 34 +
arch/blackfin/kernel/bfin_gpio.c | 118 +-
arch/blackfin/kernel/cplb-nompu/cplbhdlr.S | 2 +-
arch/blackfin/kernel/cplb-nompu/cplbinit.c | 6 +-
arch/blackfin/kernel/dualcore_test.c | 49 -
arch/blackfin/kernel/entry.S | 5 +
arch/blackfin/kernel/kgdb.c | 16 +-
arch/blackfin/kernel/module.c | 74 +-
arch/blackfin/kernel/ptrace.c | 28 +
arch/blackfin/kernel/setup.c | 90 +-
arch/blackfin/kernel/traps.c | 296 +-
arch/blackfin/kernel/vmlinux.lds.S | 40 +-
arch/blackfin/mach-bf527/boards/Kconfig | 5 +
arch/blackfin/mach-bf527/boards/Makefile | 1 +
arch/blackfin/mach-bf527/boards/cm_bf527.c | 1011 ++++
arch/blackfin/mach-bf527/head.S | 12 +-
arch/blackfin/mach-bf533/head.S | 12 +-
arch/blackfin/mach-bf537/boards/stamp.c | 88 +-
arch/blackfin/mach-bf537/head.S | 12 +-
arch/blackfin/mach-bf548/boards/ezkit.c | 44 +
arch/blackfin/mach-bf548/head.S | 6 +-
arch/blackfin/mach-bf561/head.S | 6 -
arch/blackfin/mach-common/arch_checks.c | 6 -
arch/blackfin/mach-common/dpmc_modes.S | 607 +++-
arch/blackfin/mach-common/entry.S | 50 +-
arch/blackfin/mach-common/ints-priority.c | 4 +
arch/blackfin/mach-common/pm.c | 225 +-
arch/blackfin/mm/blackfin_sram.c | 543 ++-
arch/blackfin/mm/blackfin_sram.h | 4 +-
arch/blackfin/mm/init.c | 39 +-
arch/cris/arch-v10/kernel/kgdb.c | 79 +-
arch/cris/arch-v32/drivers/Kconfig | 1 +
arch/cris/arch-v32/drivers/pci/dma.c | 106 +-
arch/cris/arch-v32/kernel/kgdb.c | 60 +-
arch/cris/mm/init.c | 30 -
arch/frv/kernel/entry.S | 7 +-
arch/frv/kernel/gdb-stub.c | 88 +-
arch/frv/mm/init.c | 31 -
arch/h8300/mm/init.c | 27 -
arch/ia64/hp/common/hwsw_iommu.c | 5 +-
arch/ia64/hp/common/sba_iommu.c | 2 +-
arch/ia64/include/asm/Kbuild | 16 +
arch/ia64/include/asm/a.out.h | 32 +
arch/ia64/include/asm/acpi-ext.h | 21 +
arch/ia64/include/asm/acpi.h | 165 +
arch/ia64/include/asm/agp.h | 30 +
arch/ia64/include/asm/asmmacro.h | 135 +
arch/ia64/include/asm/atomic.h | 226 +
arch/ia64/include/asm/auxvec.h | 11 +
arch/ia64/include/asm/bitops.h | 468 ++
arch/ia64/include/asm/break.h | 23 +
arch/ia64/include/asm/bug.h | 14 +
arch/ia64/include/asm/bugs.h | 19 +
arch/ia64/include/asm/byteorder.h | 42 +
arch/ia64/include/asm/cache.h | 29 +
arch/ia64/include/asm/cacheflush.h | 51 +
arch/ia64/include/asm/checksum.h | 79 +
arch/ia64/include/asm/compat.h | 207 +
arch/ia64/include/asm/cpu.h | 22 +
arch/ia64/include/asm/cputime.h | 109 +
arch/ia64/include/asm/current.h | 17 +
arch/ia64/include/asm/cyclone.h | 15 +
arch/ia64/include/asm/delay.h | 88 +
arch/ia64/include/asm/device.h | 15 +
arch/ia64/include/asm/div64.h | 1 +
arch/ia64/include/asm/dma-mapping.h | 97 +
arch/ia64/include/asm/dma.h | 24 +
arch/ia64/include/asm/dmi.h | 11 +
arch/ia64/include/asm/elf.h | 269 +
arch/ia64/include/asm/emergency-restart.h | 6 +
arch/ia64/include/asm/errno.h | 1 +
arch/ia64/include/asm/esi.h | 29 +
arch/ia64/include/asm/fb.h | 23 +
arch/ia64/include/asm/fcntl.h | 13 +
arch/ia64/include/asm/fpswa.h | 73 +
arch/ia64/include/asm/fpu.h | 66 +
arch/ia64/include/asm/futex.h | 124 +
arch/ia64/include/asm/gcc_intrin.h | 620 +++
arch/ia64/include/asm/hardirq.h | 37 +
arch/ia64/include/asm/hpsim.h | 16 +
arch/ia64/include/asm/hugetlb.h | 80 +
arch/ia64/include/asm/hw_irq.h | 192 +
arch/ia64/include/asm/ia32.h | 40 +
arch/ia64/include/asm/ia64regs.h | 100 +
arch/ia64/include/asm/intel_intrin.h | 161 +
arch/ia64/include/asm/intrinsics.h | 241 +
arch/ia64/include/asm/io.h | 459 ++
arch/ia64/include/asm/ioctl.h | 1 +
arch/ia64/include/asm/ioctls.h | 93 +
arch/ia64/include/asm/iosapic.h | 126 +
arch/ia64/include/asm/ipcbuf.h | 28 +
arch/ia64/include/asm/irq.h | 34 +
arch/ia64/include/asm/irq_regs.h | 1 +
arch/ia64/include/asm/kdebug.h | 57 +
arch/ia64/include/asm/kexec.h | 44 +
arch/ia64/include/asm/kmap_types.h | 30 +
arch/ia64/include/asm/kprobes.h | 132 +
arch/ia64/include/asm/kregs.h | 165 +
arch/ia64/include/asm/kvm.h | 211 +
arch/ia64/include/asm/kvm_host.h | 527 ++
arch/ia64/include/asm/kvm_para.h | 27 +
arch/ia64/include/asm/libata-portmap.h | 12 +
arch/ia64/include/asm/linkage.h | 14 +
arch/ia64/include/asm/local.h | 1 +
arch/ia64/include/asm/machvec.h | 460 ++
arch/ia64/include/asm/machvec_dig.h | 16 +
arch/ia64/include/asm/machvec_hpsim.h | 18 +
arch/ia64/include/asm/machvec_hpzx1.h | 37 +
arch/ia64/include/asm/machvec_hpzx1_swiotlb.h | 42 +
arch/ia64/include/asm/machvec_init.h | 33 +
arch/ia64/include/asm/machvec_sn2.h | 139 +
arch/ia64/include/asm/machvec_uv.h | 26 +
arch/ia64/include/asm/mc146818rtc.h | 10 +
arch/ia64/include/asm/mca.h | 179 +
arch/ia64/include/asm/mca_asm.h | 242 +
arch/ia64/include/asm/meminit.h | 75 +
arch/ia64/include/asm/mman.h | 33 +
arch/ia64/include/asm/mmu.h | 13 +
arch/ia64/include/asm/mmu_context.h | 198 +
arch/ia64/include/asm/mmzone.h | 50 +
arch/ia64/include/asm/module.h | 36 +
arch/ia64/include/asm/msgbuf.h | 27 +
arch/ia64/include/asm/mutex.h | 92 +
arch/ia64/include/asm/native/inst.h | 175 +
arch/ia64/include/asm/native/irq.h | 33 +
arch/ia64/include/asm/nodedata.h | 63 +
arch/ia64/include/asm/numa.h | 82 +
arch/ia64/include/asm/page.h | 223 +
arch/ia64/include/asm/pal.h | 1827 +++++++
arch/ia64/include/asm/param.h | 33 +
arch/ia64/include/asm/paravirt.h | 253 +
arch/ia64/include/asm/paravirt_privop.h | 112 +
arch/ia64/include/asm/parport.h | 20 +
arch/ia64/include/asm/patch.h | 27 +
arch/ia64/include/asm/pci.h | 167 +
arch/ia64/include/asm/percpu.h | 51 +
arch/ia64/include/asm/perfmon.h | 279 +
arch/ia64/include/asm/perfmon_default_smpl.h | 83 +
arch/ia64/include/asm/pgalloc.h | 122 +
arch/ia64/include/asm/pgtable.h | 615 +++
arch/ia64/include/asm/poll.h | 1 +
arch/ia64/include/asm/posix_types.h | 126 +
arch/ia64/include/asm/processor.h | 771 +++
arch/ia64/include/asm/ptrace.h | 364 ++
arch/ia64/include/asm/ptrace_offsets.h | 268 +
arch/ia64/include/asm/resource.h | 7 +
arch/ia64/include/asm/rse.h | 66 +
arch/ia64/include/asm/rwsem.h | 182 +
arch/ia64/include/asm/sal.h | 905 ++++
arch/ia64/include/asm/scatterlist.h | 38 +
arch/ia64/include/asm/sections.h | 25 +
arch/ia64/include/asm/segment.h | 6 +
arch/ia64/include/asm/sembuf.h | 22 +
arch/ia64/include/asm/serial.h | 17 +
arch/ia64/include/asm/setup.h | 6 +
arch/ia64/include/asm/shmbuf.h | 38 +
arch/ia64/include/asm/shmparam.h | 12 +
arch/ia64/include/asm/sigcontext.h | 70 +
arch/ia64/include/asm/siginfo.h | 139 +
arch/ia64/include/asm/signal.h | 160 +
arch/ia64/include/asm/smp.h | 138 +
arch/ia64/include/asm/sn/acpi.h | 17 +
arch/ia64/include/asm/sn/addrs.h | 299 ++
arch/ia64/include/asm/sn/arch.h | 86 +
arch/ia64/include/asm/sn/bte.h | 233 +
arch/ia64/include/asm/sn/clksupport.h | 28 +
arch/ia64/include/asm/sn/geo.h | 132 +
arch/ia64/include/asm/sn/intr.h | 68 +
arch/ia64/include/asm/sn/io.h | 274 +
arch/ia64/include/asm/sn/ioc3.h | 241 +
arch/ia64/include/asm/sn/klconfig.h | 246 +
arch/ia64/include/asm/sn/l1.h | 51 +
arch/ia64/include/asm/sn/leds.h | 33 +
arch/ia64/include/asm/sn/module.h | 127 +
arch/ia64/include/asm/sn/mspec.h | 59 +
arch/ia64/include/asm/sn/nodepda.h | 82 +
arch/ia64/include/asm/sn/pcibr_provider.h | 150 +
arch/ia64/include/asm/sn/pcibus_provider_defs.h | 68 +
arch/ia64/include/asm/sn/pcidev.h | 85 +
arch/ia64/include/asm/sn/pda.h | 69 +
arch/ia64/include/asm/sn/pic.h | 261 +
arch/ia64/include/asm/sn/rw_mmr.h | 28 +
arch/ia64/include/asm/sn/shub_mmr.h | 502 ++
arch/ia64/include/asm/sn/shubio.h | 3358 ++++++++++++
arch/ia64/include/asm/sn/simulator.h | 25 +
arch/ia64/include/asm/sn/sn2/sn_hwperf.h | 242 +
arch/ia64/include/asm/sn/sn_cpuid.h | 132 +
arch/ia64/include/asm/sn/sn_feature_sets.h | 58 +
arch/ia64/include/asm/sn/sn_sal.h | 1188 +++++
arch/ia64/include/asm/sn/tioca.h | 596 +++
arch/ia64/include/asm/sn/tioca_provider.h | 207 +
arch/ia64/include/asm/sn/tioce.h | 760 +++
arch/ia64/include/asm/sn/tioce_provider.h | 63 +
arch/ia64/include/asm/sn/tiocp.h | 257 +
arch/ia64/include/asm/sn/tiocx.h | 72 +
arch/ia64/include/asm/sn/types.h | 26 +
arch/ia64/include/asm/socket.h | 66 +
arch/ia64/include/asm/sockios.h | 20 +
arch/ia64/include/asm/sparsemem.h | 20 +
arch/ia64/include/asm/spinlock.h | 220 +
arch/ia64/include/asm/spinlock_types.h | 21 +
arch/ia64/include/asm/stat.h | 51 +
arch/ia64/include/asm/statfs.h | 62 +
arch/ia64/include/asm/string.h | 21 +
arch/ia64/include/asm/suspend.h | 1 +
arch/ia64/include/asm/system.h | 292 ++
arch/ia64/include/asm/termbits.h | 207 +
arch/ia64/include/asm/termios.h | 97 +
arch/ia64/include/asm/thread_info.h | 148 +
arch/ia64/include/asm/timex.h | 42 +
arch/ia64/include/asm/tlb.h | 257 +
arch/ia64/include/asm/tlbflush.h | 102 +
arch/ia64/include/asm/topology.h | 126 +
arch/ia64/include/asm/types.h | 46 +
arch/ia64/include/asm/uaccess.h | 401 ++
arch/ia64/include/asm/ucontext.h | 12 +
arch/ia64/include/asm/unaligned.h | 11 +
arch/ia64/include/asm/uncached.h | 12 +
arch/ia64/include/asm/unistd.h | 384 ++
arch/ia64/include/asm/unwind.h | 233 +
arch/ia64/include/asm/user.h | 58 +
arch/ia64/include/asm/ustack.h | 20 +
arch/ia64/include/asm/uv/uv_hub.h | 309 ++
arch/ia64/include/asm/uv/uv_mmrs.h | 673 +++
arch/ia64/include/asm/vga.h | 25 +
arch/ia64/include/asm/xor.h | 31 +
arch/ia64/kernel/asm-offsets.c | 10 +-
arch/ia64/kernel/entry.S | 6 +
arch/ia64/kernel/head.S | 2 +-
arch/ia64/kernel/iosapic.c | 2 +-
arch/ia64/kernel/jprobes.S | 2 +-
arch/ia64/kernel/nr-irqs.c | 2 +-
arch/ia64/kernel/perfmon.c | 4 +-
arch/ia64/kernel/setup.c | 2 +-
arch/ia64/kvm/kvm-ia64.c | 5 +-
arch/ia64/mm/hugetlbpage.c | 4 +-
arch/ia64/sn/kernel/iomv.c | 2 +-
arch/ia64/sn/pci/pci_dma.c | 2 +-
arch/m32r/mm/init.c | 36 -
arch/m68k/mm/init.c | 30 -
arch/m68knommu/mm/init.c | 27 -
arch/mips/Kconfig | 7 +-
arch/mips/Kconfig.debug | 22 -
arch/mips/au1000/Kconfig | 1 -
arch/mips/au1000/common/Makefile | 1 -
arch/mips/au1000/common/dbg_io.c | 109 -
arch/mips/au1000/db1x00/init.c | 2 +-
arch/mips/au1000/mtx-1/init.c | 2 +-
arch/mips/au1000/pb1000/init.c | 2 +-
arch/mips/au1000/pb1100/init.c | 2 +-
arch/mips/au1000/pb1200/init.c | 2 +-
arch/mips/au1000/pb1500/init.c | 2 +-
arch/mips/au1000/pb1550/init.c | 2 +-
arch/mips/au1000/xxs1500/init.c | 2 +-
arch/mips/basler/excite/Makefile | 1 -
arch/mips/basler/excite/excite_dbg_io.c | 121 -
arch/mips/basler/excite/excite_irq.c | 7 -
arch/mips/basler/excite/excite_setup.c | 4 +-
arch/mips/configs/cobalt_defconfig | 378 +-
arch/mips/configs/db1000_defconfig | 1 -
arch/mips/configs/db1100_defconfig | 1 -
arch/mips/configs/db1200_defconfig | 1 -
arch/mips/configs/db1500_defconfig | 1 -
arch/mips/configs/db1550_defconfig | 1 -
arch/mips/configs/excite_defconfig | 1 -
arch/mips/configs/ip27_defconfig | 1 -
arch/mips/configs/msp71xx_defconfig | 2 -
arch/mips/configs/mtx1_defconfig | 1 -
arch/mips/configs/pb1100_defconfig | 1 -
arch/mips/configs/pb1500_defconfig | 1 -
arch/mips/configs/pb1550_defconfig | 1 -
arch/mips/configs/pnx8550-jbs_defconfig | 4 +-
arch/mips/configs/pnx8550-stb810_defconfig | 4 +-
arch/mips/configs/rbtx49xx_defconfig | 1 -
arch/mips/configs/sb1250-swarm_defconfig | 1 -
arch/mips/configs/yosemite_defconfig | 2 -
arch/mips/emma2rh/markeins/platform.c | 1 -
arch/mips/emma2rh/markeins/setup.c | 1 -
arch/mips/kernel/Makefile | 2 +-
arch/mips/kernel/gdb-low.S | 394 --
arch/mips/kernel/gdb-stub.c | 1155 -----
arch/mips/kernel/irq.c | 30 +-
arch/mips/kernel/kgdb.c | 281 ++
arch/mips/kernel/traps.c | 21 +
arch/mips/mm/Makefile | 3 +-
arch/mips/mm/dma-default.c | 2 +-
arch/mips/mm/pgtable.c | 36 -
arch/mips/mm/tlb-r3k.c | 4 -
arch/mips/mti-malta/Makefile | 1 -
arch/mips/mti-malta/malta-init.c | 54 -
arch/mips/mti-malta/malta-kgdb.c | 133 -
arch/mips/mti-malta/malta-setup.c | 4 -
arch/mips/nxp/pnx8550/common/Makefile | 1 -
arch/mips/nxp/pnx8550/common/gdb_hook.c | 109 -
arch/mips/nxp/pnx8550/common/int.c | 1 -
arch/mips/nxp/pnx8550/common/proc.c | 1 -
arch/mips/nxp/pnx8550/common/setup.c | 12 -
arch/mips/pci/ops-tx3927.c | 80 +-
arch/mips/pci/ops-tx4927.c | 118 +
arch/mips/pci/pci-tx4927.c | 10 +
arch/mips/pci/pci-tx4938.c | 10 +
arch/mips/pci/pci.c | 6 +-
arch/mips/pmc-sierra/msp71xx/msp_serial.c | 73 -
arch/mips/pmc-sierra/yosemite/Makefile | 1 -
arch/mips/pmc-sierra/yosemite/dbg_io.c | 180 -
arch/mips/pmc-sierra/yosemite/irq.c | 9 -
arch/mips/rb532/gpio.c | 5 +-
arch/mips/rb532/time.c | 4 +-
arch/mips/sgi-ip22/ip22-setup.c | 25 -
arch/mips/sgi-ip27/Makefile | 1 -
arch/mips/sgi-ip27/ip27-dbgio.c | 60 -
arch/mips/sibyte/bcm1480/irq.c | 80 -
arch/mips/sibyte/cfe/setup.c | 14 -
arch/mips/sibyte/sb1250/irq.c | 60 -
arch/mips/sibyte/swarm/Makefile | 1 -
arch/mips/sibyte/swarm/dbg_io.c | 76 -
arch/mips/txx9/Kconfig | 59 +-
arch/mips/txx9/generic/Makefile | 2 +-
arch/mips/txx9/generic/dbgio.c | 48 -
arch/mips/txx9/generic/irq_tx3927.c | 25 +
arch/mips/txx9/generic/pci.c | 36 +
arch/mips/txx9/generic/setup.c | 124 +
arch/mips/txx9/generic/setup_tx3927.c | 130 +
arch/mips/txx9/generic/setup_tx4927.c | 30 +-
arch/mips/txx9/generic/setup_tx4938.c | 41 +-
arch/mips/txx9/generic/smsc_fdc37m81x.c | 20 +-
arch/mips/txx9/jmr3927/Makefile | 1 -
arch/mips/txx9/jmr3927/irq.c | 65 +-
arch/mips/txx9/jmr3927/kgdb_io.c | 105 -
arch/mips/txx9/jmr3927/prom.c | 29 +-
arch/mips/txx9/jmr3927/setup.c | 204 +-
arch/mips/txx9/rbtx4927/irq.c | 161 +-
arch/mips/txx9/rbtx4927/prom.c | 1 +
arch/mips/txx9/rbtx4927/setup.c | 97 +-
arch/mips/txx9/rbtx4938/irq.c | 107 +-
arch/mips/txx9/rbtx4938/prom.c | 1 +
arch/mips/txx9/rbtx4938/setup.c | 124 +-
arch/mn10300/kernel/entry.S | 6 +
arch/mn10300/kernel/gdb-stub.c | 108 +-
arch/mn10300/mm/pgtable.c | 27 -
arch/parisc/hpux/sys_hpux.c | 10 +-
arch/powerpc/Kconfig | 4 +
arch/powerpc/boot/dts/mpc832x_mds.dts | 1 +
arch/powerpc/boot/dts/mpc832x_rdb.dts | 1 +
arch/powerpc/boot/dts/mpc8349emitx.dts | 1 +
arch/powerpc/boot/dts/mpc8349emitxgp.dts | 1 +
arch/powerpc/boot/dts/mpc834x_mds.dts | 1 +
arch/powerpc/boot/dts/mpc836x_mds.dts | 1 +
arch/powerpc/boot/dts/mpc836x_rdk.dts | 16 +-
arch/powerpc/boot/dts/mpc8377_mds.dts | 1 +
arch/powerpc/boot/dts/mpc8378_mds.dts | 1 +
arch/powerpc/boot/dts/mpc8379_mds.dts | 1 +
arch/powerpc/boot/dts/mpc8536ds.dts | 1 +
arch/powerpc/boot/dts/mpc8540ads.dts | 1 +
arch/powerpc/boot/dts/mpc8541cds.dts | 1 +
arch/powerpc/boot/dts/mpc8544ds.dts | 1 +
arch/powerpc/boot/dts/mpc8548cds.dts | 1 +
arch/powerpc/boot/dts/mpc8555cds.dts | 1 +
arch/powerpc/boot/dts/mpc8560ads.dts | 1 +
arch/powerpc/boot/dts/mpc8568mds.dts | 1 +
arch/powerpc/boot/dts/mpc8572ds.dts | 1 +
arch/powerpc/kernel/cputable.c | 4 +-
arch/powerpc/kernel/entry_32.S | 17 +-
arch/powerpc/kernel/entry_64.S | 10 +-
arch/powerpc/kernel/legacy_serial.c | 44 +-
arch/powerpc/kernel/lparcfg.c | 4 -
arch/powerpc/kernel/machine_kexec.c | 2 +-
arch/powerpc/kernel/process.c | 8 +-
arch/powerpc/kernel/prom_init.c | 39 +-
arch/powerpc/kernel/ptrace.c | 64 +-
arch/powerpc/kernel/ptrace32.c | 2 +
arch/powerpc/kernel/rtas_flash.c | 2 +-
arch/powerpc/kernel/setup-common.c | 24 -
arch/powerpc/kernel/setup_64.c | 3 -
arch/powerpc/kernel/signal.c | 23 +-
arch/powerpc/kernel/smp.c | 119 +-
arch/powerpc/kernel/stacktrace.c | 1 -
arch/powerpc/kernel/sysfs.c | 311 ++-
arch/powerpc/kernel/vio.c | 6 +-
arch/powerpc/kvm/44x_tlb.c | 5 +-
arch/powerpc/kvm/emulate.c | 2 +-
arch/powerpc/mm/Makefile | 3 +-
arch/powerpc/mm/gup.c | 280 +
arch/powerpc/mm/hugetlbpage.c | 18 +-
arch/powerpc/mm/init_64.c | 24 +-
arch/powerpc/mm/mem.c | 39 -
arch/powerpc/platforms/83xx/mpc832x_mds.c | 1 +
arch/powerpc/platforms/83xx/mpc832x_rdb.c | 1 +
arch/powerpc/platforms/83xx/mpc834x_itx.c | 1 +
arch/powerpc/platforms/83xx/mpc834x_mds.c | 1 +
arch/powerpc/platforms/83xx/mpc836x_mds.c | 1 +
arch/powerpc/platforms/83xx/sbc834x.c | 1 +
arch/powerpc/platforms/85xx/ksi8560.c | 1 +
arch/powerpc/platforms/85xx/mpc8536_ds.c | 1 +
arch/powerpc/platforms/85xx/mpc85xx_ads.c | 1 +
arch/powerpc/platforms/85xx/mpc85xx_ds.c | 1 +
arch/powerpc/platforms/85xx/mpc85xx_mds.c | 1 +
arch/powerpc/platforms/85xx/sbc8560.c | 1 +
arch/powerpc/platforms/8xx/Kconfig | 10 +
arch/powerpc/platforms/Kconfig | 3 +
arch/powerpc/platforms/cell/cbe_cpufreq_pmi.c | 6 +
arch/powerpc/platforms/cell/celleb_scc_pciex.c | 2 +-
arch/powerpc/platforms/cell/spider-pci.c | 2 +-
arch/powerpc/platforms/cell/spufs/inode.c | 2 +-
arch/powerpc/platforms/iseries/mf.c | 2 +-
arch/powerpc/platforms/powermac/setup.c | 72 +
arch/powerpc/platforms/powermac/udbg_scc.c | 12 +-
arch/powerpc/platforms/pseries/cmm.c | 8 +-
arch/powerpc/sysdev/cpm1.c | 267 +-
arch/powerpc/sysdev/cpm2.c | 45 +-
arch/powerpc/sysdev/cpm_common.c | 123 +
arch/powerpc/sysdev/rtc_cmos_setup.c | 23 +-
arch/s390/Kconfig | 3 +
arch/s390/kernel/compat_wrapper.S | 37 +
arch/s390/kernel/ipl.c | 5 +-
arch/s390/kernel/kprobes.c | 6 +-
arch/s390/kernel/mem_detect.c | 23 -
arch/s390/kernel/syscalls.S | 6 +
arch/s390/kernel/time.c | 2 +-
arch/s390/kvm/gaccess.h | 62 +-
arch/s390/kvm/intercept.c | 14 +-
arch/s390/kvm/interrupt.c | 21 +-
arch/s390/kvm/kvm-s390.c | 9 +-
arch/s390/kvm/priv.c | 1 +
arch/s390/kvm/sigp.c | 5 +-
arch/s390/lib/delay.c | 4 +-
arch/s390/mm/init.c | 45 +-
arch/sh/Kconfig | 219 +-
arch/sh/Kconfig.debug | 3 +-
arch/sh/Makefile | 135 +-
arch/sh/boards/Kconfig | 258 +
arch/sh/boards/Makefile | 8 +
arch/sh/boards/board-ap325rxa.c | 317 ++
arch/sh/boards/board-magicpanelr2.c | 394 ++
arch/sh/boards/board-rsk7203.c | 136 +
arch/sh/boards/board-sh7785lcr.c | 302 ++
arch/sh/boards/board-shmin.c | 42 +
arch/sh/boards/cayman/Makefile | 5 -
arch/sh/boards/cayman/irq.c | 197 -
arch/sh/boards/cayman/led.c | 51 -
arch/sh/boards/cayman/setup.c | 187 -
arch/sh/boards/dreamcast/Makefile | 6 -
arch/sh/boards/dreamcast/irq.c | 153 -
arch/sh/boards/dreamcast/rtc.c | 81 -
arch/sh/boards/dreamcast/setup.c | 64 -
arch/sh/boards/hp6xx/Makefile | 7 -
arch/sh/boards/hp6xx/hp6xx_apm.c | 111 -
arch/sh/boards/hp6xx/pm.c | 81 -
arch/sh/boards/hp6xx/pm_wakeup.S | 58 -
arch/sh/boards/hp6xx/setup.c | 121 -
arch/sh/boards/landisk/Makefile | 5 -
arch/sh/boards/landisk/gio.c | 171 -
arch/sh/boards/landisk/irq.c | 56 -
arch/sh/boards/landisk/psw.c | 143 -
arch/sh/boards/landisk/setup.c | 105 -
arch/sh/boards/lboxre2/Makefile | 5 -
arch/sh/boards/lboxre2/irq.c | 31 -
arch/sh/boards/lboxre2/setup.c | 84 -
arch/sh/boards/mach-cayman/Makefile | 5 +
arch/sh/boards/mach-cayman/irq.c | 197 +
arch/sh/boards/mach-cayman/led.c | 51 +
arch/sh/boards/mach-cayman/setup.c | 187 +
arch/sh/boards/mach-dreamcast/Makefile | 6 +
arch/sh/boards/mach-dreamcast/irq.c | 153 +
arch/sh/boards/mach-dreamcast/rtc.c | 81 +
arch/sh/boards/mach-dreamcast/setup.c | 64 +
arch/sh/boards/mach-edosk7705/Makefile | 6 +
arch/sh/boards/mach-edosk7705/io.c | 94 +
arch/sh/boards/mach-edosk7705/setup.c | 43 +
arch/sh/boards/mach-highlander/Kconfig | 24 +
arch/sh/boards/mach-highlander/Makefile | 11 +
arch/sh/boards/mach-highlander/irq-r7780mp.c | 74 +
arch/sh/boards/mach-highlander/irq-r7780rp.c | 67 +
arch/sh/boards/mach-highlander/irq-r7785rp.c | 86 +
arch/sh/boards/mach-highlander/psw.c | 122 +
arch/sh/boards/mach-highlander/setup.c | 345 ++
arch/sh/boards/mach-hp6xx/Makefile | 7 +
arch/sh/boards/mach-hp6xx/hp6xx_apm.c | 111 +
arch/sh/boards/mach-hp6xx/pm.c | 81 +
arch/sh/boards/mach-hp6xx/pm_wakeup.S | 58 +
arch/sh/boards/mach-hp6xx/setup.c | 121 +
arch/sh/boards/mach-landisk/Makefile | 5 +
arch/sh/boards/mach-landisk/gio.c | 171 +
arch/sh/boards/mach-landisk/irq.c | 56 +
arch/sh/boards/mach-landisk/psw.c | 143 +
arch/sh/boards/mach-landisk/setup.c | 105 +
arch/sh/boards/mach-lboxre2/Makefile | 5 +
arch/sh/boards/mach-lboxre2/irq.c | 31 +
arch/sh/boards/mach-lboxre2/setup.c | 84 +
arch/sh/boards/mach-microdev/Makefile | 8 +
arch/sh/boards/mach-microdev/io.c | 367 ++
arch/sh/boards/mach-microdev/irq.c | 183 +
arch/sh/boards/mach-microdev/led.c | 101 +
arch/sh/boards/mach-microdev/setup.c | 405 ++
arch/sh/boards/mach-migor/Kconfig | 15 +
arch/sh/boards/mach-migor/Makefile | 2 +
arch/sh/boards/mach-migor/lcd_qvga.c | 165 +
arch/sh/boards/mach-migor/setup.c | 527 ++
arch/sh/boards/mach-r2d/Kconfig | 23 +
arch/sh/boards/mach-r2d/Makefile | 5 +
arch/sh/boards/mach-r2d/irq.c | 155 +
arch/sh/boards/mach-r2d/setup.c | 258 +
arch/sh/boards/mach-sdk7780/Kconfig | 16 +
arch/sh/boards/mach-sdk7780/Makefile | 5 +
arch/sh/boards/mach-sdk7780/irq.c | 46 +
arch/sh/boards/mach-sdk7780/setup.c | 109 +
arch/sh/boards/mach-se/7206/Makefile | 5 +
arch/sh/boards/mach-se/7206/io.c | 104 +
arch/sh/boards/mach-se/7206/irq.c | 146 +
arch/sh/boards/mach-se/7206/setup.c | 108 +
arch/sh/boards/mach-se/7343/Makefile | 5 +
arch/sh/boards/mach-se/7343/io.c | 273 +
arch/sh/boards/mach-se/7343/irq.c | 80 +
arch/sh/boards/mach-se/7343/setup.c | 152 +
arch/sh/boards/mach-se/770x/Makefile | 5 +
arch/sh/boards/mach-se/770x/io.c | 156 +
arch/sh/boards/mach-se/770x/irq.c | 108 +
arch/sh/boards/mach-se/770x/setup.c | 222 +
arch/sh/boards/mach-se/7721/Makefile | 1 +
arch/sh/boards/mach-se/7721/irq.c | 45 +
arch/sh/boards/mach-se/7721/setup.c | 99 +
arch/sh/boards/mach-se/7722/Makefile | 10 +
arch/sh/boards/mach-se/7722/irq.c | 76 +
arch/sh/boards/mach-se/7722/setup.c | 194 +
arch/sh/boards/mach-se/7751/Makefile | 7 +
arch/sh/boards/mach-se/7751/io.c | 135 +
arch/sh/boards/mach-se/7751/irq.c | 50 +
arch/sh/boards/mach-se/7751/pci.c | 147 +
arch/sh/boards/mach-se/7751/setup.c | 78 +
arch/sh/boards/mach-se/7780/Makefile | 10 +
arch/sh/boards/mach-se/7780/irq.c | 46 +
arch/sh/boards/mach-se/7780/setup.c | 124 +
arch/sh/boards/mach-se/Makefile | 9 +
arch/sh/boards/mach-se/board-se7619.c | 21 +
arch/sh/boards/mach-sh03/Makefile | 5 +
arch/sh/boards/mach-sh03/rtc.c | 132 +
arch/sh/boards/mach-sh03/setup.c | 75 +
arch/sh/boards/mach-sh7763rdp/Makefile | 1 +
arch/sh/boards/mach-sh7763rdp/irq.c | 45 +
arch/sh/boards/mach-sh7763rdp/setup.c | 128 +
arch/sh/boards/mach-snapgear/Makefile | 5 +
arch/sh/boards/mach-snapgear/io.c | 137 +
arch/sh/boards/mach-snapgear/setup.c | 95 +
arch/sh/boards/mach-systemh/Makefile | 13 +
arch/sh/boards/mach-systemh/io.c | 174 +
arch/sh/boards/mach-systemh/irq.c | 102 +
arch/sh/boards/mach-systemh/setup.c | 57 +
arch/sh/boards/mach-titan/Makefile | 5 +
arch/sh/boards/mach-titan/io.c | 126 +
arch/sh/boards/mach-titan/setup.c | 44 +
arch/sh/boards/mach-x3proto/Makefile | 1 +
arch/sh/boards/mach-x3proto/ilsel.c | 151 +
arch/sh/boards/mach-x3proto/setup.c | 136 +
arch/sh/boards/magicpanelr2/Kconfig | 13 -
arch/sh/boards/magicpanelr2/Makefile | 5 -
arch/sh/boards/magicpanelr2/setup.c | 394 --
arch/sh/boards/renesas/edosk7705/Makefile | 6 -
arch/sh/boards/renesas/edosk7705/io.c | 94 -
arch/sh/boards/renesas/edosk7705/setup.c | 43 -
arch/sh/boards/renesas/migor/Makefile | 1 -
arch/sh/boards/renesas/migor/setup.c | 257 -
arch/sh/boards/renesas/r7780rp/Kconfig | 24 -
arch/sh/boards/renesas/r7780rp/Makefile | 11 -
arch/sh/boards/renesas/r7780rp/irq-r7780mp.c | 74 -
arch/sh/boards/renesas/r7780rp/irq-r7780rp.c | 67 -
arch/sh/boards/renesas/r7780rp/irq-r7785rp.c | 86 -
arch/sh/boards/renesas/r7780rp/psw.c | 122 -
arch/sh/boards/renesas/r7780rp/setup.c | 345 --
arch/sh/boards/renesas/rts7751r2d/Kconfig | 23 -
arch/sh/boards/renesas/rts7751r2d/Makefile | 5 -
arch/sh/boards/renesas/rts7751r2d/irq.c | 155 -
arch/sh/boards/renesas/rts7751r2d/setup.c | 258 -
arch/sh/boards/renesas/sdk7780/Kconfig | 16 -
arch/sh/boards/renesas/sdk7780/Makefile | 5 -
arch/sh/boards/renesas/sdk7780/irq.c | 46 -
arch/sh/boards/renesas/sdk7780/setup.c | 109 -
arch/sh/boards/renesas/systemh/Makefile | 13 -
arch/sh/boards/renesas/systemh/io.c | 174 -
arch/sh/boards/renesas/systemh/irq.c | 102 -
arch/sh/boards/renesas/systemh/setup.c | 57 -
arch/sh/boards/renesas/x3proto/Makefile | 1 -
arch/sh/boards/renesas/x3proto/ilsel.c | 151 -
arch/sh/boards/renesas/x3proto/setup.c | 136 -
arch/sh/boards/se/7206/Makefile | 5 -
arch/sh/boards/se/7206/io.c | 104 -
arch/sh/boards/se/7206/irq.c | 146 -
arch/sh/boards/se/7206/setup.c | 108 -
arch/sh/boards/se/7343/Makefile | 5 -
arch/sh/boards/se/7343/io.c | 273 -
arch/sh/boards/se/7343/irq.c | 202 -
arch/sh/boards/se/7343/setup.c | 94 -
arch/sh/boards/se/7619/Makefile | 5 -
arch/sh/boards/se/7619/setup.c | 21 -
arch/sh/boards/se/770x/Makefile | 5 -
arch/sh/boards/se/770x/io.c | 187 -
arch/sh/boards/se/770x/irq.c | 108 -
arch/sh/boards/se/770x/setup.c | 169 -
arch/sh/boards/se/7721/Makefile | 1 -
arch/sh/boards/se/7721/irq.c | 45 -
arch/sh/boards/se/7721/setup.c | 99 -
arch/sh/boards/se/7722/Makefile | 10 -
arch/sh/boards/se/7722/irq.c | 76 -
arch/sh/boards/se/7722/setup.c | 196 -
arch/sh/boards/se/7751/Makefile | 7 -
arch/sh/boards/se/7751/io.c | 135 -
arch/sh/boards/se/7751/irq.c | 50 -
arch/sh/boards/se/7751/pci.c | 147 -
arch/sh/boards/se/7751/setup.c | 78 -
arch/sh/boards/se/7780/Makefile | 10 -
arch/sh/boards/se/7780/irq.c | 46 -
arch/sh/boards/se/7780/setup.c | 124 -
arch/sh/boards/sh03/Makefile | 5 -
arch/sh/boards/sh03/rtc.c | 132 -
arch/sh/boards/sh03/setup.c | 75 -
arch/sh/boards/shmin/Makefile | 5 -
arch/sh/boards/shmin/setup.c | 42 -
arch/sh/boards/snapgear/Makefile | 5 -
arch/sh/boards/snapgear/io.c | 137 -
arch/sh/boards/snapgear/setup.c | 95 -
arch/sh/boards/superh/microdev/Makefile | 8 -
arch/sh/boards/superh/microdev/io.c | 367 --
arch/sh/boards/superh/microdev/irq.c | 183 -
arch/sh/boards/superh/microdev/led.c | 101 -
arch/sh/boards/superh/microdev/setup.c | 405 --
arch/sh/boards/titan/Makefile | 5 -
arch/sh/boards/titan/io.c | 126 -
arch/sh/boards/titan/setup.c | 44 -
arch/sh/boot/Makefile | 5 +-
arch/sh/boot/compressed/Makefile_32 | 5 +-
arch/sh/boot/compressed/Makefile_64 | 5 +-
arch/sh/boot/compressed/head_64.S | 4 +-
arch/sh/boot/compressed/piggy.S | 8 +
arch/sh/boot/compressed/vmlinux.scr | 9 -
arch/sh/configs/ap325rxa_defconfig | 964 ++++
arch/sh/configs/dreamcast_defconfig | 304 +-
arch/sh/configs/hp6xx_defconfig | 258 +-
arch/sh/configs/landisk_defconfig | 894 ++--
arch/sh/configs/lboxre2_defconfig | 725 ++--
arch/sh/configs/magicpanelr2_defconfig | 195 +-
arch/sh/configs/microdev_defconfig | 630 ++--
arch/sh/configs/migor_defconfig | 63 +-
arch/sh/configs/r7780mp_defconfig | 194 +-
arch/sh/configs/r7785rp_defconfig | 258 +-
arch/sh/configs/rsk7203_defconfig | 179 +-
arch/sh/configs/rts7751r2d1_defconfig | 259 +-
arch/sh/configs/rts7751r2dplus_defconfig | 259 +-
arch/sh/configs/sdk7780_defconfig | 269 +-
arch/sh/configs/se7206_defconfig | 38 +-
arch/sh/configs/se7343_defconfig | 787 ++--
arch/sh/configs/se7619_defconfig | 261 +-
arch/sh/configs/se7712_defconfig | 659 ++--
arch/sh/configs/sh7763rdp_defconfig | 1052 ++++
arch/sh/configs/sh7785lcr_defconfig | 1388 +++++
arch/sh/drivers/dma/dma-g2.c | 4 +-
arch/sh/drivers/dma/dma-pvr2.c | 4 +-
arch/sh/drivers/dma/dma-sh.c | 2 +-
arch/sh/drivers/dma/dma-sh.h | 2 +-
arch/sh/drivers/pci/Makefile | 1 +
arch/sh/drivers/pci/fixups-dreamcast.c | 2 +-
arch/sh/drivers/pci/fixups-sh7785lcr.c | 46 +
arch/sh/drivers/pci/ops-cayman.c | 2 +-
arch/sh/drivers/pci/ops-dreamcast.c | 4 +-
arch/sh/drivers/pci/ops-se7780.c | 2 +-
arch/sh/drivers/pci/ops-sh7785lcr.c | 66 +
arch/sh/drivers/pci/pci-auto.c | 2 +-
arch/sh/drivers/pci/pci-sh5.c | 2 +-
arch/sh/drivers/pci/pci.c | 2 +-
arch/sh/include/asm/.gitignore | 1 +
arch/sh/include/asm/Kbuild | 8 +
arch/sh/include/asm/a.out.h | 20 +
arch/sh/include/asm/adc.h | 13 +
arch/sh/include/asm/addrspace.h | 53 +
arch/sh/include/asm/atomic-grb.h | 169 +
arch/sh/include/asm/atomic-irq.h | 71 +
arch/sh/include/asm/atomic-llsc.h | 107 +
arch/sh/include/asm/atomic.h | 89 +
arch/sh/include/asm/auxvec.h | 36 +
arch/sh/include/asm/bitops-grb.h | 169 +
arch/sh/include/asm/bitops-irq.h | 91 +
arch/sh/include/asm/bitops.h | 103 +
arch/sh/include/asm/bug.h | 79 +
arch/sh/include/asm/bugs.h | 73 +
arch/sh/include/asm/byteorder.h | 70 +
arch/sh/include/asm/cache.h | 51 +
arch/sh/include/asm/cacheflush.h | 81 +
arch/sh/include/asm/checksum.h | 5 +
arch/sh/include/asm/checksum_32.h | 215 +
arch/sh/include/asm/checksum_64.h | 78 +
arch/sh/include/asm/clock.h | 97 +
arch/sh/include/asm/cmpxchg-grb.h | 70 +
arch/sh/include/asm/cmpxchg-irq.h | 40 +
arch/sh/include/asm/cpu-features.h | 25 +
arch/sh/include/asm/cputime.h | 6 +
arch/sh/include/asm/current.h | 20 +
arch/sh/include/asm/delay.h | 26 +
arch/sh/include/asm/device.h | 12 +
arch/sh/include/asm/div64.h | 1 +
arch/sh/include/asm/dma-mapping.h | 193 +
arch/sh/include/asm/dma.h | 166 +
arch/sh/include/asm/dmabrg.h | 23 +
arch/sh/include/asm/edosk7705.h | 30 +
arch/sh/include/asm/elf.h | 244 +
arch/sh/include/asm/emergency-restart.h | 6 +
arch/sh/include/asm/entry-macros.S | 33 +
arch/sh/include/asm/errno.h | 6 +
arch/sh/include/asm/fb.h | 19 +
arch/sh/include/asm/fcntl.h | 1 +
arch/sh/include/asm/fixmap.h | 117 +
arch/sh/include/asm/flat.h | 24 +
arch/sh/include/asm/fpu.h | 55 +
arch/sh/include/asm/freq.h | 18 +
arch/sh/include/asm/futex-irq.h | 111 +
arch/sh/include/asm/futex.h | 77 +
arch/sh/include/asm/gpio.h | 19 +
arch/sh/include/asm/hardirq.h | 16 +
arch/sh/include/asm/hd64461.h | 250 +
arch/sh/include/asm/hd64465/gpio.h | 46 +
arch/sh/include/asm/hd64465/hd64465.h | 256 +
arch/sh/include/asm/hd64465/io.h | 44 +
arch/sh/include/asm/heartbeat.h | 17 +
arch/sh/include/asm/hp6xx.h | 58 +
arch/sh/include/asm/hugetlb.h | 92 +
arch/sh/include/asm/hw_irq.h | 123 +
arch/sh/include/asm/i2c-sh7760.h | 22 +
arch/sh/include/asm/ilsel.h | 45 +
arch/sh/include/asm/io.h | 366 ++
arch/sh/include/asm/io_generic.h | 49 +
arch/sh/include/asm/io_trapped.h | 58 +
arch/sh/include/asm/ioctl.h | 1 +
arch/sh/include/asm/ioctls.h | 103 +
arch/sh/include/asm/ipcbuf.h | 29 +
arch/sh/include/asm/irq.h | 57 +
arch/sh/include/asm/irq_regs.h | 1 +
arch/sh/include/asm/irqflags.h | 34 +
arch/sh/include/asm/irqflags_32.h | 99 +
arch/sh/include/asm/irqflags_64.h | 85 +
arch/sh/include/asm/kdebug.h | 9 +
arch/sh/include/asm/kexec.h | 62 +
arch/sh/include/asm/kgdb.h | 69 +
arch/sh/include/asm/kmap_types.h | 32 +
arch/sh/include/asm/lboxre2.h | 27 +
arch/sh/include/asm/linkage.h | 7 +
arch/sh/include/asm/local.h | 7 +
arch/sh/include/asm/machvec.h | 70 +
arch/sh/include/asm/magicpanelr2.h | 67 +
arch/sh/include/asm/mc146818rtc.h | 7 +
arch/sh/include/asm/microdev.h | 80 +
arch/sh/include/asm/migor.h | 65 +
arch/sh/include/asm/mman.h | 17 +
arch/sh/include/asm/mmu.h | 76 +
arch/sh/include/asm/mmu_context.h | 185 +
arch/sh/include/asm/mmu_context_32.h | 47 +
arch/sh/include/asm/mmu_context_64.h | 78 +
arch/sh/include/asm/mmzone.h | 48 +
arch/sh/include/asm/module.h | 44 +
arch/sh/include/asm/msgbuf.h | 31 +
arch/sh/include/asm/mutex.h | 9 +
arch/sh/include/asm/page.h | 183 +
arch/sh/include/asm/param.h | 22 +
arch/sh/include/asm/parport.h | 16 +
arch/sh/include/asm/pci.h | 144 +
arch/sh/include/asm/percpu.h | 6 +
arch/sh/include/asm/pgalloc.h | 96 +
arch/sh/include/asm/pgtable.h | 152 +
arch/sh/include/asm/pgtable_32.h | 479 ++
arch/sh/include/asm/pgtable_64.h | 314 ++
arch/sh/include/asm/pm.h | 17 +
arch/sh/include/asm/poll.h | 1 +
arch/sh/include/asm/posix_types.h | 13 +
arch/sh/include/asm/posix_types_32.h | 122 +
arch/sh/include/asm/posix_types_64.h | 131 +
arch/sh/include/asm/processor.h | 66 +
arch/sh/include/asm/processor_32.h | 216 +
arch/sh/include/asm/processor_64.h | 275 +
arch/sh/include/asm/ptrace.h | 130 +
arch/sh/include/asm/push-switch.h | 31 +
arch/sh/include/asm/r7780rp.h | 198 +
arch/sh/include/asm/resource.h | 6 +
arch/sh/include/asm/rtc.h | 16 +
arch/sh/include/asm/rts7751r2d.h | 70 +
arch/sh/include/asm/rwsem.h | 188 +
arch/sh/include/asm/scatterlist.h | 27 +
arch/sh/include/asm/sdk7780.h | 81 +
arch/sh/include/asm/sections.h | 11 +
arch/sh/include/asm/segment.h | 34 +
arch/sh/include/asm/sembuf.h | 25 +
arch/sh/include/asm/serial.h | 36 +
arch/sh/include/asm/setup.h | 27 +
arch/sh/include/asm/sfp-machine.h | 84 +
arch/sh/include/asm/sh7760fb.h | 197 +
arch/sh/include/asm/sh7763rdp.h | 54 +
arch/sh/include/asm/sh7785lcr.h | 55 +
arch/sh/include/asm/sh_bios.h | 19 +
arch/sh/include/asm/sh_keysc.h | 13 +
arch/sh/include/asm/sh_mobile_lcdc.h | 66 +
arch/sh/include/asm/shmbuf.h | 42 +
arch/sh/include/asm/shmin.h | 9 +
arch/sh/include/asm/shmparam.h | 22 +
arch/sh/include/asm/sigcontext.h | 40 +
arch/sh/include/asm/siginfo.h | 6 +
arch/sh/include/asm/signal.h | 160 +
arch/sh/include/asm/smc37c93x.h | 190 +
arch/sh/include/asm/smp.h | 50 +
arch/sh/include/asm/snapgear.h | 71 +
arch/sh/include/asm/socket.h | 57 +
arch/sh/include/asm/sockios.h | 14 +
arch/sh/include/asm/sparsemem.h | 16 +
arch/sh/include/asm/spi.h | 13 +
arch/sh/include/asm/spinlock.h | 223 +
arch/sh/include/asm/spinlock_types.h | 21 +
arch/sh/include/asm/stat.h | 138 +
arch/sh/include/asm/statfs.h | 6 +
arch/sh/include/asm/string.h | 5 +
arch/sh/include/asm/string_32.h | 131 +
arch/sh/include/asm/string_64.h | 17 +
arch/sh/include/asm/system.h | 190 +
arch/sh/include/asm/system_32.h | 102 +
arch/sh/include/asm/system_64.h | 40 +
arch/sh/include/asm/systemh7751.h | 71 +
arch/sh/include/asm/termbits.h | 198 +
arch/sh/include/asm/termios.h | 90 +
arch/sh/include/asm/thread_info.h | 141 +
arch/sh/include/asm/timer.h | 44 +
arch/sh/include/asm/timex.h | 18 +
arch/sh/include/asm/titan.h | 17 +
arch/sh/include/asm/tlb.h | 27 +
arch/sh/include/asm/tlb_64.h | 77 +
arch/sh/include/asm/tlbflush.h | 49 +
arch/sh/include/asm/topology.h | 47 +
arch/sh/include/asm/types.h | 35 +
arch/sh/include/asm/uaccess.h | 258 +
arch/sh/include/asm/uaccess_32.h | 248 +
arch/sh/include/asm/uaccess_64.h | 79 +
arch/sh/include/asm/ubc.h | 64 +
arch/sh/include/asm/ucontext.h | 12 +
arch/sh/include/asm/unaligned.h | 19 +
arch/sh/include/asm/unistd.h | 13 +
arch/sh/include/asm/unistd_32.h | 384 ++
arch/sh/include/asm/unistd_64.h | 423 ++
arch/sh/include/asm/user.h | 67 +
arch/sh/include/asm/vga.h | 6 +
arch/sh/include/asm/watchdog.h | 107 +
arch/sh/include/asm/xor.h | 1 +
arch/sh/include/cpu-common/cpu/addrspace.h | 19 +
arch/sh/include/cpu-common/cpu/cacheflush.h | 44 +
arch/sh/include/cpu-common/cpu/mmu_context.h | 16 +
arch/sh/include/cpu-common/cpu/rtc.h | 8 +
arch/sh/include/cpu-common/cpu/sigcontext.h | 17 +
arch/sh/include/cpu-common/cpu/timer.h | 6 +
arch/sh/include/cpu-sh2/cpu/cache.h | 41 +
arch/sh/include/cpu-sh2/cpu/dma.h | 23 +
arch/sh/include/cpu-sh2/cpu/freq.h | 18 +
arch/sh/include/cpu-sh2/cpu/ubc.h | 32 +
arch/sh/include/cpu-sh2/cpu/watchdog.h | 69 +
arch/sh/include/cpu-sh2a/cpu/cache.h | 40 +
arch/sh/include/cpu-sh2a/cpu/dma.h | 1 +
arch/sh/include/cpu-sh2a/cpu/freq.h | 16 +
arch/sh/include/cpu-sh2a/cpu/rtc.h | 8 +
arch/sh/include/cpu-sh2a/cpu/ubc.h | 1 +
arch/sh/include/cpu-sh2a/cpu/watchdog.h | 1 +
arch/sh/include/cpu-sh3/cpu/adc.h | 28 +
arch/sh/include/cpu-sh3/cpu/cache.h | 43 +
arch/sh/include/cpu-sh3/cpu/cacheflush.h | 36 +
arch/sh/include/cpu-sh3/cpu/dac.h | 41 +
arch/sh/include/cpu-sh3/cpu/dma.h | 51 +
arch/sh/include/cpu-sh3/cpu/freq.h | 27 +
arch/sh/include/cpu-sh3/cpu/gpio.h | 67 +
arch/sh/include/cpu-sh3/cpu/mmu_context.h | 44 +
arch/sh/include/cpu-sh3/cpu/timer.h | 67 +
arch/sh/include/cpu-sh3/cpu/ubc.h | 42 +
arch/sh/include/cpu-sh3/cpu/watchdog.h | 25 +
arch/sh/include/cpu-sh4/cpu/addrspace.h | 35 +
arch/sh/include/cpu-sh4/cpu/cache.h | 42 +
arch/sh/include/cpu-sh4/cpu/cacheflush.h | 43 +
arch/sh/include/cpu-sh4/cpu/dma-sh7780.h | 39 +
arch/sh/include/cpu-sh4/cpu/dma.h | 65 +
arch/sh/include/cpu-sh4/cpu/fpu.h | 32 +
arch/sh/include/cpu-sh4/cpu/freq.h | 44 +
arch/sh/include/cpu-sh4/cpu/mmu_context.h | 63 +
arch/sh/include/cpu-sh4/cpu/rtc.h | 13 +
arch/sh/include/cpu-sh4/cpu/sigcontext.h | 24 +
arch/sh/include/cpu-sh4/cpu/sq.h | 35 +
arch/sh/include/cpu-sh4/cpu/timer.h | 60 +
arch/sh/include/cpu-sh4/cpu/ubc.h | 64 +
arch/sh/include/cpu-sh4/cpu/watchdog.h | 25 +
arch/sh/include/cpu-sh5/cpu/addrspace.h | 11 +
arch/sh/include/cpu-sh5/cpu/cache.h | 97 +
arch/sh/include/cpu-sh5/cpu/cacheflush.h | 33 +
arch/sh/include/cpu-sh5/cpu/dma.h | 6 +
arch/sh/include/cpu-sh5/cpu/irq.h | 117 +
arch/sh/include/cpu-sh5/cpu/mmu_context.h | 21 +
arch/sh/include/cpu-sh5/cpu/registers.h | 106 +
arch/sh/include/cpu-sh5/cpu/rtc.h | 8 +
arch/sh/include/mach-dreamcast/mach/dma.h | 34 +
arch/sh/include/mach-dreamcast/mach/maple.h | 37 +
arch/sh/include/mach-dreamcast/mach/pci.h | 25 +
arch/sh/include/mach-dreamcast/mach/sysasic.h | 43 +
arch/sh/include/mach-landisk/mach/gio.h | 37 +
arch/sh/include/mach-landisk/mach/iodata_landisk.h | 42 +
arch/sh/include/mach-se/mach/se.h | 99 +
arch/sh/include/mach-se/mach/se7206.h | 13 +
arch/sh/include/mach-se/mach/se7343.h | 149 +
arch/sh/include/mach-se/mach/se7721.h | 70 +
arch/sh/include/mach-se/mach/se7722.h | 112 +
arch/sh/include/mach-se/mach/se7751.h | 73 +
arch/sh/include/mach-se/mach/se7780.h | 108 +
arch/sh/include/mach-sh03/mach/io.h | 25 +
arch/sh/include/mach-sh03/mach/sh03.h | 18 +
arch/sh/kernel/.gitignore | 1 +
arch/sh/kernel/Makefile_32 | 2 +-
arch/sh/kernel/cf-enabler.c | 8 +-
arch/sh/kernel/cpu/clock.c | 20 +-
arch/sh/kernel/cpu/irq/intc-sh5.c | 2 +-
arch/sh/kernel/cpu/irq/intc.c | 31 +-
arch/sh/kernel/cpu/sh2/entry.S | 135 +-
arch/sh/kernel/cpu/sh2/ex.S | 15 +-
arch/sh/kernel/cpu/sh2/setup-sh7619.c | 24 +
arch/sh/kernel/cpu/sh2a/Makefile | 2 +-
arch/sh/kernel/cpu/sh2a/entry.S | 249 +
arch/sh/kernel/cpu/sh2a/ex.S | 72 +
arch/sh/kernel/cpu/sh3/entry.S | 2 +-
arch/sh/kernel/cpu/sh3/ex.S | 38 +-
arch/sh/kernel/cpu/sh4/fpu.c | 2 +-
arch/sh/kernel/cpu/sh4/probe.c | 6 +-
arch/sh/kernel/cpu/sh4/softfloat.c | 2 +-
arch/sh/kernel/cpu/sh4/sq.c | 2 +-
arch/sh/kernel/cpu/sh4a/Makefile | 2 +-
arch/sh/kernel/cpu/sh4a/clock-sh7343.c | 99 -
arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 221 +-
arch/sh/kernel/cpu/sh4a/setup-sh7343.c | 253 +
arch/sh/kernel/cpu/sh4a/setup-sh7366.c | 139 +-
arch/sh/kernel/cpu/sh4a/setup-sh7722.c | 85 +-
arch/sh/kernel/cpu/sh4a/setup-sh7723.c | 138 +-
arch/sh/kernel/cpu/sh4a/setup-sh7763.c | 21 +-
arch/sh/kernel/cpu/sh4a/setup-sh7780.c | 11 +-
arch/sh/kernel/cpu/sh4a/setup-sh7785.c | 17 +-
arch/sh/kernel/cpu/sh5/entry.S | 2 +-
arch/sh/kernel/entry-common.S | 2 +-
arch/sh/kernel/head_64.S | 4 +-
arch/sh/kernel/irq.c | 2 +-
arch/sh/kernel/machine_kexec.c | 2 +-
arch/sh/kernel/process_32.c | 14 +-
arch/sh/kernel/process_64.c | 10 -
arch/sh/kernel/ptrace_32.c | 23 +
arch/sh/kernel/setup.c | 7 +
arch/sh/kernel/signal_32.c | 36 +-
arch/sh/kernel/syscalls_32.S | 6 +
arch/sh/kernel/syscalls_64.S | 6 +
arch/sh/kernel/time_32.c | 2 +-
arch/sh/kernel/time_64.c | 4 +-
arch/sh/kernel/timers/timer-tmu.c | 2 +-
arch/sh/kernel/traps_32.c | 4 +
arch/sh/lib/Makefile | 4 +-
arch/sh/lib64/panic.c | 2 +-
arch/sh/mm/Kconfig | 20 +-
arch/sh/mm/cache-debugfs.c | 2 +-
arch/sh/mm/cache-sh4.c | 67 +-
arch/sh/mm/consistent.c | 128 +-
arch/sh/mm/fault_32.c | 12 +-
arch/sh/mm/fault_64.c | 2 +-
arch/sh/mm/init.c | 41 -
arch/sh/mm/pg-sh4.c | 2 +-
arch/sh/mm/pg-sh7705.c | 2 +-
arch/sh/mm/pmb.c | 4 +-
arch/sh/tools/Makefile | 4 +-
arch/sh/tools/mach-types | 4 +
arch/sparc/Kconfig | 1 +
arch/sparc/include/asm/Kbuild | 45 +
arch/sparc/include/asm/agp.h | 20 +
arch/sparc/include/asm/apb.h | 36 +
arch/sparc/include/asm/apc.h | 64 +
arch/sparc/include/asm/asi.h | 262 +
arch/sparc/include/asm/asmmacro.h | 45 +
arch/sparc/include/asm/atomic.h | 8 +
arch/sparc/include/asm/atomic_32.h | 165 +
arch/sparc/include/asm/atomic_64.h | 128 +
arch/sparc/include/asm/auxio.h | 8 +
arch/sparc/include/asm/auxio_32.h | 89 +
arch/sparc/include/asm/auxio_64.h | 100 +
arch/sparc/include/asm/auxvec.h | 4 +
arch/sparc/include/asm/backoff.h | 31 +
arch/sparc/include/asm/bbc.h | 225 +
arch/sparc/include/asm/bitext.h | 27 +
arch/sparc/include/asm/bitops.h | 8 +
arch/sparc/include/asm/bitops_32.h | 111 +
arch/sparc/include/asm/bitops_64.h | 107 +
arch/sparc/include/asm/bpp.h | 73 +
arch/sparc/include/asm/btfixup.h | 208 +
arch/sparc/include/asm/bug.h | 22 +
arch/sparc/include/asm/bugs.h | 24 +
arch/sparc/include/asm/byteorder.h | 57 +
arch/sparc/include/asm/cache.h | 138 +
arch/sparc/include/asm/cacheflush.h | 8 +
arch/sparc/include/asm/cacheflush_32.h | 85 +
arch/sparc/include/asm/cacheflush_64.h | 76 +
arch/sparc/include/asm/chafsr.h | 241 +
arch/sparc/include/asm/checksum.h | 8 +
arch/sparc/include/asm/checksum_32.h | 241 +
arch/sparc/include/asm/checksum_64.h | 167 +
arch/sparc/include/asm/chmctrl.h | 183 +
arch/sparc/include/asm/clock.h | 11 +
arch/sparc/include/asm/cmt.h | 59 +
arch/sparc/include/asm/compat.h | 243 +
arch/sparc/include/asm/compat_signal.h | 29 +
arch/sparc/include/asm/contregs.h | 53 +
arch/sparc/include/asm/cpudata.h | 8 +
arch/sparc/include/asm/cpudata_32.h | 27 +
arch/sparc/include/asm/cpudata_64.h | 240 +
arch/sparc/include/asm/cputime.h | 6 +
arch/sparc/include/asm/current.h | 34 +
arch/sparc/include/asm/cypress.h | 79 +
arch/sparc/include/asm/dcr.h | 14 +
arch/sparc/include/asm/dcu.h | 27 +
arch/sparc/include/asm/delay.h | 8 +
arch/sparc/include/asm/delay_32.h | 34 +
arch/sparc/include/asm/delay_64.h | 17 +
arch/sparc/include/asm/device.h | 23 +
arch/sparc/include/asm/display7seg.h | 79 +
arch/sparc/include/asm/div64.h | 1 +
arch/sparc/include/asm/dma-mapping.h | 8 +
arch/sparc/include/asm/dma-mapping_32.h | 11 +
arch/sparc/include/asm/dma-mapping_64.h | 154 +
arch/sparc/include/asm/dma.h | 8 +
arch/sparc/include/asm/dma_32.h | 288 ++
arch/sparc/include/asm/dma_64.h | 205 +
arch/sparc/include/asm/ebus.h | 8 +
arch/sparc/include/asm/ebus_32.h | 99 +
arch/sparc/include/asm/ebus_64.h | 94 +
arch/sparc/include/asm/ecc.h | 122 +
arch/sparc/include/asm/eeprom.h | 9 +
arch/sparc/include/asm/elf.h | 8 +
arch/sparc/include/asm/elf_32.h | 145 +
arch/sparc/include/asm/elf_64.h | 217 +
arch/sparc/include/asm/emergency-restart.h | 6 +
arch/sparc/include/asm/envctrl.h | 103 +
arch/sparc/include/asm/errno.h | 113 +
arch/sparc/include/asm/estate.h | 49 +
arch/sparc/include/asm/fb.h | 29 +
arch/sparc/include/asm/fbio.h | 330 ++
arch/sparc/include/asm/fcntl.h | 40 +
arch/sparc/include/asm/fhc.h | 121 +
arch/sparc/include/asm/fixmap.h | 110 +
arch/sparc/include/asm/floppy.h | 8 +
arch/sparc/include/asm/floppy_32.h | 388 ++
arch/sparc/include/asm/floppy_64.h | 782 +++
arch/sparc/include/asm/fpumacro.h | 33 +
arch/sparc/include/asm/ftrace.h | 14 +
arch/sparc/include/asm/futex.h | 8 +
arch/sparc/include/asm/futex_32.h | 6 +
arch/sparc/include/asm/futex_64.h | 110 +
arch/sparc/include/asm/hardirq.h | 8 +
arch/sparc/include/asm/hardirq_32.h | 23 +
arch/sparc/include/asm/hardirq_64.h | 19 +
arch/sparc/include/asm/head.h | 8 +
arch/sparc/include/asm/head_32.h | 102 +
arch/sparc/include/asm/head_64.h | 76 +
arch/sparc/include/asm/highmem.h | 81 +
arch/sparc/include/asm/hugetlb.h | 85 +
arch/sparc/include/asm/hvtramp.h | 37 +
arch/sparc/include/asm/hw_irq.h | 6 +
arch/sparc/include/asm/hypervisor.h | 2949 +++++++++++
arch/sparc/include/asm/ide.h | 97 +
arch/sparc/include/asm/idprom.h | 25 +
arch/sparc/include/asm/intr_queue.h | 15 +
arch/sparc/include/asm/io-unit.h | 62 +
arch/sparc/include/asm/io.h | 8 +
arch/sparc/include/asm/io_32.h | 326 ++
arch/sparc/include/asm/io_64.h | 511 ++
arch/sparc/include/asm/ioctl.h | 67 +
arch/sparc/include/asm/ioctls.h | 136 +
arch/sparc/include/asm/iommu.h | 8 +
arch/sparc/include/asm/iommu_32.h | 121 +
arch/sparc/include/asm/iommu_64.h | 62 +
arch/sparc/include/asm/ipcbuf.h | 8 +
arch/sparc/include/asm/ipcbuf_32.h | 31 +
arch/sparc/include/asm/ipcbuf_64.h | 28 +
arch/sparc/include/asm/irq.h | 8 +
arch/sparc/include/asm/irq_32.h | 15 +
arch/sparc/include/asm/irq_64.h | 93 +
arch/sparc/include/asm/irq_regs.h | 1 +
arch/sparc/include/asm/irqflags.h | 8 +
arch/sparc/include/asm/irqflags_32.h | 39 +
arch/sparc/include/asm/irqflags_64.h | 89 +
arch/sparc/include/asm/jsflash.h | 39 +
arch/sparc/include/asm/kdebug.h | 8 +
arch/sparc/include/asm/kdebug_32.h | 73 +
arch/sparc/include/asm/kdebug_64.h | 19 +
arch/sparc/include/asm/kgdb.h | 38 +
arch/sparc/include/asm/kmap_types.h | 25 +
arch/sparc/include/asm/kprobes.h | 49 +
arch/sparc/include/asm/ldc.h | 138 +
arch/sparc/include/asm/linkage.h | 6 +
arch/sparc/include/asm/lmb.h | 10 +
arch/sparc/include/asm/local.h | 6 +
arch/sparc/include/asm/lsu.h | 19 +
arch/sparc/include/asm/machines.h | 67 +
arch/sparc/include/asm/mbus.h | 100 +
arch/sparc/include/asm/mc146818rtc.h | 8 +
arch/sparc/include/asm/mc146818rtc_32.h | 29 +
arch/sparc/include/asm/mc146818rtc_64.h | 34 +
arch/sparc/include/asm/mdesc.h | 78 +
arch/sparc/include/asm/memreg.h | 51 +
arch/sparc/include/asm/mman.h | 31 +
arch/sparc/include/asm/mmu.h | 8 +
arch/sparc/include/asm/mmu_32.h | 7 +
arch/sparc/include/asm/mmu_64.h | 123 +
arch/sparc/include/asm/mmu_context.h | 8 +
arch/sparc/include/asm/mmu_context_32.h | 42 +
arch/sparc/include/asm/mmu_context_64.h | 155 +
arch/sparc/include/asm/mmzone.h | 17 +
arch/sparc/include/asm/module.h | 8 +
arch/sparc/include/asm/module_32.h | 7 +
arch/sparc/include/asm/module_64.h | 7 +
arch/sparc/include/asm/mostek.h | 8 +
arch/sparc/include/asm/mostek_32.h | 171 +
arch/sparc/include/asm/mostek_64.h | 143 +
arch/sparc/include/asm/mpmbox.h | 67 +
arch/sparc/include/asm/msgbuf.h | 38 +
arch/sparc/include/asm/msi.h | 31 +
arch/sparc/include/asm/mutex.h | 9 +
arch/sparc/include/asm/mxcc.h | 137 +
arch/sparc/include/asm/ns87303.h | 118 +
arch/sparc/include/asm/obio.h | 249 +
arch/sparc/include/asm/of_device.h | 38 +
arch/sparc/include/asm/of_platform.h | 8 +
arch/sparc/include/asm/of_platform_32.h | 24 +
arch/sparc/include/asm/of_platform_64.h | 25 +
arch/sparc/include/asm/openprom.h | 8 +
arch/sparc/include/asm/openprom_32.h | 255 +
arch/sparc/include/asm/openprom_64.h | 280 +
arch/sparc/include/asm/openpromio.h | 69 +
arch/sparc/include/asm/oplib.h | 8 +
arch/sparc/include/asm/oplib_32.h | 272 +
arch/sparc/include/asm/oplib_64.h | 322 ++
arch/sparc/include/asm/page.h | 8 +
arch/sparc/include/asm/page_32.h | 160 +
arch/sparc/include/asm/page_64.h | 135 +
arch/sparc/include/asm/param.h | 22 +
arch/sparc/include/asm/parport.h | 246 +
arch/sparc/include/asm/pbm.h | 47 +
arch/sparc/include/asm/pci.h | 8 +
arch/sparc/include/asm/pci_32.h | 171 +
arch/sparc/include/asm/pci_64.h | 210 +
arch/sparc/include/asm/pcic.h | 123 +
arch/sparc/include/asm/percpu.h | 8 +
arch/sparc/include/asm/percpu_32.h | 6 +
arch/sparc/include/asm/percpu_64.h | 28 +
arch/sparc/include/asm/perfctr.h | 173 +
arch/sparc/include/asm/pgalloc.h | 8 +
arch/sparc/include/asm/pgalloc_32.h | 68 +
arch/sparc/include/asm/pgalloc_64.h | 81 +
arch/sparc/include/asm/pgtable.h | 8 +
arch/sparc/include/asm/pgtable_32.h | 480 ++
arch/sparc/include/asm/pgtable_64.h | 775 +++
arch/sparc/include/asm/pgtsrmmu.h | 298 ++
arch/sparc/include/asm/pgtsun4.h | 171 +
arch/sparc/include/asm/pgtsun4c.h | 172 +
arch/sparc/include/asm/pil.h | 22 +
arch/sparc/include/asm/poll.h | 12 +
arch/sparc/include/asm/posix_types.h | 8 +
arch/sparc/include/asm/posix_types_32.h | 118 +
arch/sparc/include/asm/posix_types_64.h | 122 +
arch/sparc/include/asm/processor.h | 8 +
arch/sparc/include/asm/processor_32.h | 129 +
arch/sparc/include/asm/processor_64.h | 237 +
arch/sparc/include/asm/prom.h | 108 +
arch/sparc/include/asm/psr.h | 93 +
arch/sparc/include/asm/psrcompat.h | 45 +
arch/sparc/include/asm/pstate.h | 91 +
arch/sparc/include/asm/ptrace.h | 8 +
arch/sparc/include/asm/ptrace_32.h | 176 +
arch/sparc/include/asm/ptrace_64.h | 347 ++
arch/sparc/include/asm/reboot.h | 6 +
arch/sparc/include/asm/reg.h | 8 +
arch/sparc/include/asm/reg_32.h | 79 +
arch/sparc/include/asm/reg_64.h | 56 +
arch/sparc/include/asm/resource.h | 30 +
arch/sparc/include/asm/ross.h | 191 +
arch/sparc/include/asm/rtc.h | 26 +
arch/sparc/include/asm/rwsem-const.h | 12 +
arch/sparc/include/asm/rwsem.h | 84 +
arch/sparc/include/asm/sbi.h | 115 +
arch/sparc/include/asm/sbus.h | 8 +
arch/sparc/include/asm/sbus_32.h | 153 +
arch/sparc/include/asm/sbus_64.h | 190 +
arch/sparc/include/asm/scatterlist.h | 8 +
arch/sparc/include/asm/scatterlist_32.h | 26 +
arch/sparc/include/asm/scatterlist_64.h | 27 +
arch/sparc/include/asm/scratchpad.h | 14 +
arch/sparc/include/asm/seccomp.h | 21 +
arch/sparc/include/asm/sections.h | 8 +
arch/sparc/include/asm/sections_32.h | 6 +
arch/sparc/include/asm/sections_64.h | 9 +
arch/sparc/include/asm/sembuf.h | 31 +
arch/sparc/include/asm/setup.h | 14 +
arch/sparc/include/asm/sfafsr.h | 82 +
arch/sparc/include/asm/sfp-machine.h | 8 +
arch/sparc/include/asm/sfp-machine_32.h | 212 +
arch/sparc/include/asm/sfp-machine_64.h | 93 +
arch/sparc/include/asm/shmbuf.h | 50 +
arch/sparc/include/asm/shmparam.h | 8 +
arch/sparc/include/asm/shmparam_32.h | 11 +
arch/sparc/include/asm/shmparam_64.h | 10 +
arch/sparc/include/asm/sigcontext.h | 8 +
arch/sparc/include/asm/sigcontext_32.h | 62 +
arch/sparc/include/asm/sigcontext_64.h | 87 +
arch/sparc/include/asm/siginfo.h | 8 +
arch/sparc/include/asm/siginfo_32.h | 17 +
arch/sparc/include/asm/siginfo_64.h | 32 +
arch/sparc/include/asm/signal.h | 8 +
arch/sparc/include/asm/signal_32.h | 207 +
arch/sparc/include/asm/signal_64.h | 194 +
arch/sparc/include/asm/smp.h | 8 +
arch/sparc/include/asm/smp_32.h | 173 +
arch/sparc/include/asm/smp_64.h | 67 +
arch/sparc/include/asm/smpprim.h | 54 +
arch/sparc/include/asm/socket.h | 58 +
arch/sparc/include/asm/sockios.h | 14 +
arch/sparc/include/asm/sparsemem.h | 12 +
arch/sparc/include/asm/spinlock.h | 8 +
arch/sparc/include/asm/spinlock_32.h | 192 +
arch/sparc/include/asm/spinlock_64.h | 250 +
arch/sparc/include/asm/spinlock_types.h | 20 +
arch/sparc/include/asm/spitfire.h | 342 ++
arch/sparc/include/asm/sstate.h | 13 +
arch/sparc/include/asm/stacktrace.h | 6 +
arch/sparc/include/asm/starfire.h | 21 +
arch/sparc/include/asm/stat.h | 8 +
arch/sparc/include/asm/stat_32.h | 76 +
arch/sparc/include/asm/stat_64.h | 47 +
arch/sparc/include/asm/statfs.h | 8 +
arch/sparc/include/asm/statfs_32.h | 6 +
arch/sparc/include/asm/statfs_64.h | 54 +
arch/sparc/include/asm/string.h | 8 +
arch/sparc/include/asm/string_32.h | 205 +
arch/sparc/include/asm/string_64.h | 83 +
arch/sparc/include/asm/sun4paddr.h | 56 +
arch/sparc/include/asm/sun4prom.h | 83 +
arch/sparc/include/asm/sunbpp.h | 80 +
arch/sparc/include/asm/swift.h | 106 +
arch/sparc/include/asm/syscall.h | 120 +
arch/sparc/include/asm/syscalls.h | 13 +
arch/sparc/include/asm/sysen.h | 15 +
arch/sparc/include/asm/system.h | 8 +
arch/sparc/include/asm/system_32.h | 288 ++
arch/sparc/include/asm/system_64.h | 355 ++
arch/sparc/include/asm/termbits.h | 266 +
arch/sparc/include/asm/termios.h | 186 +
arch/sparc/include/asm/thread_info.h | 8 +
arch/sparc/include/asm/thread_info_32.h | 158 +
arch/sparc/include/asm/thread_info_64.h | 281 ++
arch/sparc/include/asm/timer.h | 8 +
arch/sparc/include/asm/timer_32.h | 107 +
arch/sparc/include/asm/timer_64.h | 30 +
arch/sparc/include/asm/timex.h | 8 +
arch/sparc/include/asm/timex_32.h | 15 +
arch/sparc/include/asm/timex_64.h | 19 +
arch/sparc/include/asm/tlb.h | 8 +
arch/sparc/include/asm/tlb_32.h | 24 +
arch/sparc/include/asm/tlb_64.h | 111 +
arch/sparc/include/asm/tlbflush.h | 8 +
arch/sparc/include/asm/tlbflush_32.h | 60 +
arch/sparc/include/asm/tlbflush_64.h | 44 +
arch/sparc/include/asm/topology.h | 8 +
arch/sparc/include/asm/topology_32.h | 6 +
arch/sparc/include/asm/topology_64.h | 86 +
arch/sparc/include/asm/traps.h | 140 +
arch/sparc/include/asm/tsb.h | 283 ++
arch/sparc/include/asm/tsunami.h | 64 +
arch/sparc/include/asm/ttable.h | 658 +++
arch/sparc/include/asm/turbosparc.h | 125 +
arch/sparc/include/asm/types.h | 62 +
arch/sparc/include/asm/uaccess.h | 8 +
arch/sparc/include/asm/uaccess_32.h | 336 ++
arch/sparc/include/asm/uaccess_64.h | 273 +
arch/sparc/include/asm/uctx.h | 71 +
arch/sparc/include/asm/unaligned.h | 10 +
arch/sparc/include/asm/unistd.h | 8 +
arch/sparc/include/asm/unistd_32.h | 384 ++
arch/sparc/include/asm/unistd_64.h | 379 ++
arch/sparc/include/asm/upa.h | 109 +
arch/sparc/include/asm/user.h | 6 +
arch/sparc/include/asm/utrap.h | 51 +
arch/sparc/include/asm/vac-ops.h | 134 +
arch/sparc/include/asm/vaddrs.h | 64 +
arch/sparc/include/asm/vfc_ioctls.h | 58 +
arch/sparc/include/asm/vga.h | 33 +
arch/sparc/include/asm/viking.h | 253 +
arch/sparc/include/asm/vio.h | 406 ++
arch/sparc/include/asm/visasm.h | 62 +
arch/sparc/include/asm/watchdog.h | 31 +
arch/sparc/include/asm/winmacro.h | 135 +
arch/sparc/include/asm/xor.h | 8 +
arch/sparc/include/asm/xor_32.h | 269 +
arch/sparc/include/asm/xor_64.h | 70 +
arch/sparc/kernel/entry.S | 12 +-
arch/sparc/kernel/ptrace.c | 26 +-
arch/sparc/kernel/rtrap.S | 5 +-
arch/sparc/kernel/signal.c | 16 +-
arch/sparc/kernel/systbls.S | 3 +-
arch/sparc64/Kconfig | 1 +
arch/sparc64/kernel/compat_audit.c | 2 +-
arch/sparc64/kernel/entry.h | 3 +-
arch/sparc64/kernel/ptrace.c | 32 +-
arch/sparc64/kernel/rtrap.S | 6 +-
arch/sparc64/kernel/signal.c | 8 +
arch/sparc64/kernel/signal32.c | 3 +
arch/sparc64/kernel/syscalls.S | 4 +
arch/sparc64/kernel/systbls.S | 6 +-
arch/sparc64/mm/init.c | 45 -
arch/um/drivers/line.c | 14 +-
arch/um/kernel/mem.c | 31 -
arch/x86/Kconfig | 36 +-
arch/x86/Makefile | 5 -
arch/x86/ia32/ia32_aout.c | 6 -
arch/x86/ia32/ia32entry.S | 6 +-
arch/x86/kernel/acpi/cstate.c | 3 +-
arch/x86/kernel/amd_iommu.c | 17 +-
arch/x86/kernel/amd_iommu_init.c | 4 +-
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | 10 +-
arch/x86/kernel/cpu/cpufreq/powernow-k8.c | 15 +-
arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c | 12 +-
arch/x86/kernel/cpu/cpufreq/speedstep-ich.c | 3 +-
arch/x86/kernel/cpu/intel_cacheinfo.c | 3 +-
arch/x86/kernel/genapic_64.c | 1 +
arch/x86/kernel/head_32.S | 8 +-
arch/x86/kernel/ldt.c | 6 +-
arch/x86/kernel/machine_kexec_32.c | 39 +-
arch/x86/kernel/machine_kexec_64.c | 2 +-
arch/x86/kernel/microcode.c | 17 +-
arch/x86/kernel/pci-calgary_64.c | 73 +-
arch/x86/kernel/pci-dma.c | 157 +-
arch/x86/kernel/pci-gart_64.c | 14 +-
arch/x86/kernel/pci-nommu.c | 14 +-
arch/x86/kernel/pci-swiotlb_64.c | 2 +-
arch/x86/kernel/reboot.c | 11 +-
arch/x86/kernel/relocate_kernel_32.S | 174 +-
arch/x86/kernel/setup.c | 13 +-
arch/x86/kernel/setup_percpu.c | 21 -
arch/x86/kvm/Kconfig | 1 +
arch/x86/kvm/mmu.c | 107 +
arch/x86/kvm/paging_tmpl.h | 12 +
arch/x86/kvm/svm.c | 10 +-
arch/x86/kvm/vmx.c | 22 +-
arch/x86/kvm/x86.c | 133 +-
arch/x86/lguest/boot.c | 3 +
arch/x86/lib/copy_user_64.S | 2 +-
arch/x86/lib/copy_user_nocache_64.S | 3 +-
arch/x86/mm/Makefile | 1 +
arch/x86/mm/gup.c | 298 ++
arch/x86/mm/init_64.c | 37 -
arch/x86/mm/pgtable_32.c | 47 -
arch/x86/pci/fixup.c | 3 +-
arch/x86/pci/i386.c | 26 +-
arch/x86/pci/irq.c | 106 +-
arch/x86/pci/numaq_32.c | 5 +-
arch/xtensa/mm/init.c | 29 +-
block/as-iosched.c | 3 +-
block/blk-core.c | 18 +
block/blk-map.c | 8 +-
drivers/Makefile | 1 +
drivers/acpi/asus_acpi.c | 4 +-
drivers/acpi/pci_slot.c | 18 +-
drivers/acpi/processor_idle.c | 21 +-
drivers/acpi/processor_perflib.c | 21 +-
drivers/acpi/processor_throttling.c | 11 +-
drivers/ata/ata_piix.c | 1 +
drivers/ata/libata-core.c | 57 +-
drivers/ata/libata-scsi.c | 34 +-
drivers/ata/libata.h | 1 -
drivers/ata/pata_ali.c | 3 +-
drivers/ata/pata_it821x.c | 270 +-
drivers/ata/pata_ixp4xx_cf.c | 2 +-
drivers/ata/pata_via.c | 64 +-
drivers/atm/iphase.c | 40 +-
drivers/base/class.c | 1 +
drivers/base/core.c | 6 +-
drivers/base/isa.c | 4 +
drivers/base/memory.c | 6 +-
drivers/base/sys.c | 12 +-
drivers/block/aoe/aoenet.c | 2 +-
drivers/bluetooth/hci_usb.c | 7 +
drivers/cdrom/gdrom.c | 4 +-
drivers/char/Kconfig | 8 +
drivers/char/Makefile | 4 +-
drivers/char/dsp56k.c | 4 +-
drivers/char/hw_random/intel-rng.c | 6 +-
drivers/char/ipmi/ipmi_si_intf.c | 4 +-
drivers/char/mxser.c | 6 +-
drivers/char/nwflash.c | 6 +-
drivers/char/pcmcia/ipwireless/hardware.c | 275 +-
drivers/char/pcmcia/ipwireless/hardware.h | 4 +-
drivers/char/pcmcia/ipwireless/main.c | 86 +-
drivers/char/pcmcia/ipwireless/main.h | 5 +
drivers/char/pcmcia/ipwireless/network.c | 58 +-
drivers/char/pcmcia/ipwireless/network.h | 1 +
drivers/char/pcmcia/ipwireless/tty.c | 2 +-
drivers/char/rtc.c | 5 +-
drivers/char/ser_a2232.c | 52 +-
drivers/char/tpm/tpm.c | 128 +-
drivers/char/tpm/tpm_bios.c | 4 +-
drivers/char/tpm/tpm_tis.c | 1 +
drivers/char/tty_ldisc.c | 2 +-
drivers/char/vme_scc.c | 59 +-
drivers/char/vt.c | 2 +-
drivers/cpufreq/cpufreq.c | 3 +
drivers/cpuidle/cpuidle.c | 2 +-
drivers/crypto/talitos.c | 49 +-
drivers/firewire/Kconfig | 9 +-
drivers/firewire/fw-card.c | 2 +-
drivers/firewire/fw-cdev.c | 6 +-
drivers/firewire/fw-iso.c | 2 +-
drivers/firewire/fw-ohci.c | 39 +-
drivers/firewire/fw-sbp2.c | 8 +-
drivers/firewire/fw-topology.c | 2 -
drivers/firewire/fw-transaction.c | 79 +-
drivers/firmware/dcdbas.c | 3 +-
drivers/firmware/iscsi_ibft_find.c | 1 -
drivers/firmware/memmap.c | 6 +-
drivers/gpu/drm/drm_drv.c | 2 +-
drivers/gpu/drm/radeon/radeon_drv.c | 2 +-
drivers/hwmon/Kconfig | 25 +-
drivers/hwmon/adt7473.c | 16 +-
drivers/hwmon/dme1737.c | 297 +-
drivers/hwmon/lm75.c | 282 +-
drivers/hwmon/lm85.c | 672 +--
drivers/i2c/busses/i2c-bfin-twi.c | 35 +-
drivers/i2c/busses/i2c-gpio.c | 9 +-
drivers/i2c/busses/i2c-s3c2410.c | 129 +-
drivers/ide/ppc/pmac.c | 13 +-
drivers/infiniband/core/ucm.c | 10 +-
drivers/infiniband/core/ucma.c | 11 +-
drivers/infiniband/hw/ipath/ipath_iba7220.c | 2 +-
drivers/infiniband/hw/ipath/ipath_sdma.c | 2 +-
drivers/infiniband/hw/ipath/ipath_user_sdma.c | 6 +-
drivers/infiniband/hw/mlx4/cq.c | 1 +
drivers/infiniband/hw/mlx4/main.c | 1 +
drivers/infiniband/hw/mlx4/mlx4_ib.h | 1 +
drivers/infiniband/hw/mlx4/mr.c | 1 +
drivers/infiniband/hw/mlx4/qp.c | 1 +
drivers/infiniband/hw/mlx4/srq.c | 1 +
drivers/infiniband/hw/mlx4/user.h | 1 +
drivers/infiniband/hw/mthca/mthca_eq.c | 2 +-
drivers/infiniband/hw/nes/nes.c | 4 +-
drivers/infiniband/hw/nes/nes_cm.c | 2034 +++++----
drivers/infiniband/hw/nes/nes_cm.h | 23 +-
drivers/infiniband/hw/nes/nes_hw.c | 9 -
drivers/infiniband/hw/nes/nes_verbs.c | 15 -
drivers/infiniband/ulp/ipoib/Kconfig | 22 +-
drivers/input/keyboard/maple_keyb.c | 1 -
drivers/input/keyboard/sh_keysc.c | 27 +-
drivers/input/misc/uinput.c | 1 -
drivers/input/serio/serio.c | 55 +-
drivers/input/touchscreen/Kconfig | 12 +
drivers/input/touchscreen/Makefile | 1 +
drivers/input/touchscreen/ads7846.c | 16 +-
drivers/input/touchscreen/atmel_tsadcc.c | 332 ++
drivers/input/touchscreen/corgi_ts.c | 8 +-
drivers/input/touchscreen/mainstone-wm97xx.c | 2 +-
drivers/isdn/Kconfig | 4 +-
drivers/isdn/Makefile | 1 +
drivers/isdn/gigaset/isocdata.c | 5 +-
drivers/isdn/hardware/Makefile | 1 +
drivers/isdn/hardware/mISDN/Kconfig | 25 +
drivers/isdn/hardware/mISDN/Makefile | 7 +
drivers/isdn/hardware/mISDN/hfc_multi.h | 1204 +++++
drivers/isdn/hardware/mISDN/hfc_pci.h | 228 +
drivers/isdn/hardware/mISDN/hfcmulti.c | 5320 ++++++++++++++++++++
drivers/isdn/hardware/mISDN/hfcpci.c | 2255 +++++++++
drivers/isdn/hisax/hisax_fcpcipnp.c | 2 -
drivers/isdn/hysdn/hysdn_pof.h | 2 +-
drivers/isdn/mISDN/Kconfig | 44 +
drivers/isdn/mISDN/Makefile | 13 +
drivers/isdn/mISDN/core.c | 244 +
drivers/isdn/mISDN/core.h | 77 +
drivers/isdn/mISDN/dsp.h | 263 +
drivers/isdn/mISDN/dsp_audio.c | 434 ++
drivers/isdn/mISDN/dsp_biquad.h | 65 +
drivers/isdn/mISDN/dsp_blowfish.c | 672 +++
drivers/isdn/mISDN/dsp_cmx.c | 1886 +++++++
drivers/isdn/mISDN/dsp_core.c | 1191 +++++
drivers/isdn/mISDN/dsp_dtmf.c | 303 ++
drivers/isdn/mISDN/dsp_ecdis.h | 110 +
drivers/isdn/mISDN/dsp_hwec.c | 138 +
drivers/isdn/mISDN/dsp_hwec.h | 10 +
drivers/isdn/mISDN/dsp_pipeline.c | 348 ++
drivers/isdn/mISDN/dsp_tones.c | 551 ++
drivers/isdn/mISDN/fsm.c | 183 +
drivers/isdn/mISDN/fsm.h | 67 +
drivers/isdn/mISDN/hwchannel.c | 365 ++
drivers/isdn/mISDN/l1oip.h | 91 +
drivers/isdn/mISDN/l1oip_codec.c | 374 ++
drivers/isdn/mISDN/l1oip_core.c | 1518 ++++++
drivers/isdn/mISDN/layer1.c | 403 ++
drivers/isdn/mISDN/layer1.h | 26 +
drivers/isdn/mISDN/layer2.c | 2216 ++++++++
drivers/isdn/mISDN/layer2.h | 140 +
drivers/isdn/mISDN/socket.c | 781 +++
drivers/isdn/mISDN/stack.c | 674 +++
drivers/isdn/mISDN/tei.c | 1340 +++++
drivers/isdn/mISDN/timerdev.c | 301 ++
drivers/lguest/core.c | 1 +
drivers/lguest/interrupts_and_traps.c | 24 +-
drivers/lguest/x86/core.c | 4 +-
drivers/md/bitmap.c | 2 +-
drivers/md/dm-mpath.c | 13 +
drivers/md/dm-table.c | 29 +-
drivers/md/md.c | 8 +-
drivers/md/raid10.c | 3 +
drivers/md/raid5.c | 29 +-
drivers/media/common/saa7146_fops.c | 2 +-
drivers/media/common/saa7146_video.c | 19 +-
drivers/media/common/tuners/Kconfig | 16 +-
drivers/media/common/tuners/Makefile | 1 +
drivers/media/common/tuners/mt20xx.c | 3 +-
drivers/media/common/tuners/mxl5007t.c | 1030 ++++
drivers/media/common/tuners/mxl5007t.h | 104 +
drivers/media/common/tuners/tda9887.c | 2 +-
drivers/media/common/tuners/tuner-simple.c | 2 +-
drivers/media/dvb/bt8xx/Kconfig | 2 -
drivers/media/dvb/dvb-usb/Kconfig | 10 +-
drivers/media/dvb/dvb-usb/Makefile | 3 +
drivers/media/dvb/dvb-usb/anysee.c | 2 +-
drivers/media/dvb/dvb-usb/dvb-usb-ids.h | 1 +
drivers/media/dvb/dvb-usb/dw2102.c | 425 ++
drivers/media/dvb/dvb-usb/dw2102.h | 9 +
drivers/media/dvb/frontends/Kconfig | 38 +-
drivers/media/dvb/frontends/Makefile | 1 +
drivers/media/dvb/frontends/drx397xD.c | 1504 ++++++
drivers/media/dvb/frontends/drx397xD.h | 130 +
drivers/media/dvb/frontends/drx397xD_fw.h | 40 +
drivers/media/dvb/frontends/z0194a.h | 97 +
drivers/media/dvb/pluto2/pluto2.c | 2 +-
drivers/media/dvb/siano/smscoreapi.c | 14 +-
drivers/media/dvb/siano/smsdvb.c | 4 +-
drivers/media/dvb/ttpci/Kconfig | 4 -
drivers/media/dvb/ttusb-dec/Kconfig | 2 -
drivers/media/radio/dsbr100.c | 18 +-
drivers/media/radio/miropcm20-radio.c | 3 +-
drivers/media/radio/radio-aimslab.c | 14 +-
drivers/media/radio/radio-aztech.c | 14 +-
drivers/media/radio/radio-cadet.c | 14 +-
drivers/media/radio/radio-gemtek-pci.c | 13 +-
drivers/media/radio/radio-gemtek.c | 13 +-
drivers/media/radio/radio-maestro.c | 12 +-
drivers/media/radio/radio-maxiradio.c | 15 +-
drivers/media/radio/radio-rtrack2.c | 14 +-
drivers/media/radio/radio-sf16fmi.c | 14 +-
drivers/media/radio/radio-sf16fmr2.c | 14 +-
drivers/media/radio/radio-si470x.c | 22 +-
drivers/media/radio/radio-terratec.c | 14 +-
drivers/media/radio/radio-trust.c | 14 +-
drivers/media/radio/radio-typhoon.c | 14 +-
drivers/media/radio/radio-zoltrix.c | 14 +-
drivers/media/video/Kconfig | 19 +-
drivers/media/video/Makefile | 3 +-
drivers/media/video/arv.c | 1 -
drivers/media/video/au0828/Kconfig | 1 +
drivers/media/video/au0828/au0828-cards.c | 12 +
drivers/media/video/au0828/au0828-cards.h | 1 +
drivers/media/video/au0828/au0828-dvb.c | 15 +
drivers/media/video/bt8xx/Kconfig | 2 -
drivers/media/video/bt8xx/bttv-driver.c | 58 +-
drivers/media/video/bt8xx/bttv-risc.c | 1 +
drivers/media/video/bt8xx/bttv-vbi.c | 1 +
drivers/media/video/bw-qcam.c | 3 +-
drivers/media/video/c-qcam.c | 3 +-
drivers/media/video/cafe_ccic.c | 26 +-
drivers/media/video/compat_ioctl32.c | 2 +-
drivers/media/video/cpia.c | 2 -
drivers/media/video/cpia.h | 1 +
drivers/media/video/cpia2/cpia2_core.c | 1 +
drivers/media/video/cpia2/cpia2_v4l.c | 5 +-
drivers/media/video/cs5345.c | 4 +-
drivers/media/video/cs53l32a.c | 4 +-
drivers/media/video/cx18/Kconfig | 2 -
drivers/media/video/cx18/cx18-av-audio.c | 111 +-
drivers/media/video/cx18/cx18-driver.h | 1 +
drivers/media/video/cx18/cx18-firmware.c | 54 +-
drivers/media/video/cx18/cx18-ioctl.c | 92 +-
drivers/media/video/cx18/cx18-streams.c | 5 +-
drivers/media/video/cx23885/Kconfig | 2 -
drivers/media/video/cx23885/cx23885-417.c | 19 +-
drivers/media/video/cx23885/cx23885-cards.c | 54 +-
drivers/media/video/cx23885/cx23885-core.c | 147 +-
drivers/media/video/cx23885/cx23885-video.c | 19 +-
drivers/media/video/cx25840/Kconfig | 2 -
drivers/media/video/cx25840/cx25840-core.c | 2 +-
drivers/media/video/cx25840/cx25840-core.h | 2 -
drivers/media/video/cx88/Kconfig | 3 +-
drivers/media/video/cx88/cx88-blackbird.c | 15 +-
drivers/media/video/cx88/cx88-cards.c | 2 +-
drivers/media/video/cx88/cx88-core.c | 3 +-
drivers/media/video/cx88/cx88-video.c | 37 +-
drivers/media/video/cx88/cx88.h | 4 +-
drivers/media/video/em28xx/em28xx-cards.c | 977 ++++-
drivers/media/video/em28xx/em28xx-dvb.c | 13 +-
drivers/media/video/em28xx/em28xx-video.c | 61 +-
drivers/media/video/em28xx/em28xx.h | 49 +-
drivers/media/video/et61x251/et61x251_core.c | 5 +-
drivers/media/video/gspca/conex.c | 9 +-
drivers/media/video/gspca/etoms.c | 30 +-
drivers/media/video/gspca/gspca.c | 43 +-
drivers/media/video/gspca/mars.c | 9 +-
drivers/media/video/gspca/ov519.c | 33 +-
drivers/media/video/gspca/pac207.c | 29 +-
drivers/media/video/gspca/pac7311.c | 22 +-
drivers/media/video/gspca/sonixb.c | 484 +--
drivers/media/video/gspca/sonixj.c | 492 +--
drivers/media/video/gspca/spca500.c | 139 +-
drivers/media/video/gspca/spca501.c | 75 +-
drivers/media/video/gspca/spca505.c | 140 +-
drivers/media/video/gspca/spca506.c | 121 +-
drivers/media/video/gspca/spca508.c | 164 +-
drivers/media/video/gspca/spca561.c | 62 +-
drivers/media/video/gspca/stk014.c | 9 +-
drivers/media/video/gspca/sunplus.c | 355 +-
drivers/media/video/gspca/t613.c | 26 +-
drivers/media/video/gspca/tv8532.c | 17 +-
drivers/media/video/gspca/vc032x.c | 44 +-
drivers/media/video/gspca/zc3xx.c | 486 +-
drivers/media/video/ivtv/Kconfig | 2 -
drivers/media/video/ivtv/ivtv-driver.c | 5 +-
drivers/media/video/ivtv/ivtv-driver.h | 1 +
drivers/media/video/ivtv/ivtv-ioctl.c | 130 +-
drivers/media/video/ivtv/ivtv-streams.c | 7 +-
drivers/media/video/m52790.c | 2 +-
drivers/media/video/meye.c | 19 +-
drivers/media/video/msp3400-driver.c | 2 +-
drivers/media/video/msp3400-kthreads.c | 1 -
drivers/media/video/mt9m001.c | 2 +-
drivers/media/video/mt9v022.c | 2 +-
drivers/media/video/ov511.c | 38 +-
drivers/media/video/ov511.h | 1 +
drivers/media/video/planb.c | 2309 ---------
drivers/media/video/planb.h | 232 -
drivers/media/video/pms.c | 3 +-
drivers/media/video/pvrusb2/Kconfig | 2 -
drivers/media/video/pvrusb2/pvrusb2-context.h | 4 +-
drivers/media/video/pvrusb2/pvrusb2-devattr.c | 11 +-
drivers/media/video/pvrusb2/pvrusb2-devattr.h | 26 +-
drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h | 2 +
drivers/media/video/pvrusb2/pvrusb2-hdw.c | 9 +
drivers/media/video/pvrusb2/pvrusb2-i2c-core.c | 4 +-
drivers/media/video/pvrusb2/pvrusb2-v4l2.c | 6 +-
drivers/media/video/pwc/pwc-if.c | 16 +-
drivers/media/video/pwc/pwc.h | 2 +
drivers/media/video/s2255drv.c | 130 +-
drivers/media/video/saa5246a.c | 3 +-
drivers/media/video/saa5249.c | 3 +-
drivers/media/video/saa7134/Kconfig | 2 -
drivers/media/video/saa7134/saa7134-cards.c | 3 -
drivers/media/video/saa7134/saa7134-core.c | 16 +-
drivers/media/video/saa7134/saa7134-empress.c | 54 +-
drivers/media/video/saa7134/saa7134-video.c | 98 +-
drivers/media/video/saa7134/saa7134.h | 7 +-
drivers/media/video/saa717x.c | 1 -
drivers/media/video/saa7196.h | 117 -
drivers/media/video/se401.c | 2 -
drivers/media/video/se401.h | 1 +
drivers/media/video/sh_mobile_ceu_camera.c | 1 +
drivers/media/video/sn9c102/sn9c102.h | 1 +
drivers/media/video/sn9c102/sn9c102_core.c | 62 +-
drivers/media/video/soc_camera.c | 68 +-
drivers/media/video/stk-webcam.c | 69 +-
drivers/media/video/stradis.c | 2 +-
drivers/media/video/stv680.c | 52 +-
drivers/media/video/tda7432.c | 3 +-
drivers/media/video/tda9875.c | 2 +-
drivers/media/video/tlv320aic23b.c | 2 +-
drivers/media/video/tuner-core.c | 1 +
drivers/media/video/tveeprom.c | 122 +-
drivers/media/video/tvp5150.c | 2 +-
drivers/media/video/usbvideo/usbvideo.c | 4 +-
drivers/media/video/usbvideo/usbvideo.h | 1 +
drivers/media/video/usbvideo/vicam.c | 3 +-
drivers/media/video/usbvision/usbvision-core.c | 2 -
drivers/media/video/usbvision/usbvision-video.c | 113 +-
drivers/media/video/uvc/uvc_ctrl.c | 15 +-
drivers/media/video/uvc/uvc_driver.c | 4 +-
drivers/media/video/uvc/uvc_v4l2.c | 1 +
drivers/media/video/v4l1-compat.c | 1 +
drivers/media/video/v4l2-common.c | 2 +-
drivers/media/video/v4l2-dev.c | 422 ++
drivers/media/video/v4l2-ioctl.c | 1875 +++++++
drivers/media/video/videobuf-dma-contig.c | 8 +-
drivers/media/video/videobuf-vmalloc.c | 2 +-
drivers/media/video/videodev.c | 2262 ---------
drivers/media/video/vino.c | 4 +-
drivers/media/video/vivi.c | 18 +-
drivers/media/video/vp27smpx.c | 2 +-
drivers/media/video/w9966.c | 5 +-
drivers/media/video/w9968cf.c | 5 +-
drivers/media/video/w9968cf.h | 2 +-
drivers/media/video/wm8739.c | 2 +-
drivers/media/video/wm8775.c | 2 +-
drivers/media/video/zc0301/zc0301.h | 1 +
drivers/media/video/zc0301/zc0301_core.c | 2 -
drivers/media/video/zoran_card.c | 42 +-
drivers/media/video/zoran_card.h | 2 +-
drivers/media/video/zoran_driver.c | 7 +-
drivers/media/video/zr364xx.c | 18 +-
drivers/memstick/core/memstick.c | 36 +-
drivers/memstick/core/mspro_block.c | 365 +-
drivers/memstick/host/jmb38x_ms.c | 102 +-
drivers/memstick/host/tifm_ms.c | 66 +-
drivers/message/fusion/lsi/mpi_history.txt | 6 +-
drivers/message/fusion/mptbase.c | 24 +-
drivers/message/fusion/mptctl.c | 4 +-
drivers/message/fusion/mptfc.c | 8 +-
drivers/message/fusion/mptlan.c | 26 +-
drivers/message/fusion/mptsas.c | 54 +-
drivers/message/fusion/mptscsih.c | 4 +-
drivers/mfd/Kconfig | 2 +-
drivers/mfd/asic3.c | 22 +-
drivers/mfd/mfd-core.c | 32 +-
drivers/mfd/tc6393xb.c | 10 +-
drivers/misc/Kconfig | 29 +-
drivers/misc/Makefile | 1 +
drivers/misc/atmel-ssc.c | 1 -
drivers/misc/sgi-gru/Makefile | 3 +
drivers/misc/sgi-gru/gru.h | 67 +
drivers/misc/sgi-gru/gru_instructions.h | 669 +++
drivers/misc/sgi-gru/grufault.c | 633 +++
drivers/misc/sgi-gru/grufile.c | 485 ++
drivers/misc/sgi-gru/gruhandles.h | 663 +++
drivers/misc/sgi-gru/grukservices.c | 679 +++
drivers/misc/sgi-gru/grukservices.h | 134 +
drivers/misc/sgi-gru/grulib.h | 97 +
drivers/misc/sgi-gru/grumain.c | 802 +++
drivers/misc/sgi-gru/gruprocfs.c | 336 ++
drivers/misc/sgi-gru/grutables.h | 609 +++
drivers/misc/sgi-gru/grutlbpurge.c | 372 ++
drivers/misc/sgi-xp/Makefile | 10 +-
drivers/misc/sgi-xp/xp.h | 225 +-
drivers/misc/sgi-xp/xp_main.c | 131 +-
drivers/misc/sgi-xp/xp_sn2.c | 146 +
drivers/misc/sgi-xp/xp_uv.c | 72 +
drivers/misc/sgi-xp/xpc.h | 1200 ++---
drivers/misc/sgi-xp/xpc_channel.c | 1585 +------
drivers/misc/sgi-xp/xpc_main.c | 977 ++--
drivers/misc/sgi-xp/xpc_partition.c | 928 +---
drivers/misc/sgi-xp/xpc_sn2.c | 2404 +++++++++
drivers/misc/sgi-xp/xpc_uv.c | 1443 ++++++
drivers/misc/sgi-xp/xpnet.c | 277 +-
drivers/mmc/card/block.c | 17 +-
drivers/mmc/card/mmc_test.c | 85 +-
drivers/mmc/core/Makefile | 1 +
drivers/mmc/core/bus.c | 8 +
drivers/mmc/core/core.c | 5 +-
drivers/mmc/core/core.h | 7 +
drivers/mmc/core/debugfs.c | 225 +
drivers/mmc/core/host.c | 8 +
drivers/mmc/host/atmel-mci-regs.h | 2 +
drivers/mmc/host/atmel-mci.c | 206 +-
drivers/mmc/host/au1xmmc.c | 8 +-
drivers/mmc/host/imxmmc.c | 50 +-
drivers/mmc/host/mmc_spi.c | 3 +-
drivers/mmc/host/sdhci-pci.c | 3 +-
drivers/mmc/host/sdhci.c | 17 +-
drivers/mmc/host/sdhci.h | 4 +
drivers/mtd/Kconfig | 2 -
drivers/mtd/afs.c | 2 -
drivers/mtd/chips/cfi_cmdset_0001.c | 17 +-
drivers/mtd/chips/cfi_cmdset_0002.c | 3 -
drivers/mtd/chips/cfi_cmdset_0020.c | 2 -
drivers/mtd/chips/cfi_probe.c | 1 -
drivers/mtd/chips/cfi_util.c | 3 -
drivers/mtd/chips/chipreg.c | 2 -
drivers/mtd/chips/gen_probe.c | 5 +-
drivers/mtd/chips/jedec_probe.c | 135 +-
drivers/mtd/chips/map_absent.c | 1 -
drivers/mtd/chips/map_ram.c | 1 -
drivers/mtd/chips/map_rom.c | 1 -
drivers/mtd/cmdlinepart.c | 4 +-
drivers/mtd/devices/Kconfig | 1 -
drivers/mtd/devices/Makefile | 1 -
drivers/mtd/devices/block2mtd.c | 6 -
drivers/mtd/devices/doc2000.c | 2 -
drivers/mtd/devices/doc2001.c | 2 -
drivers/mtd/devices/doc2001plus.c | 2 -
drivers/mtd/devices/docecc.c | 2 -
drivers/mtd/devices/docprobe.c | 5 -
drivers/mtd/devices/lart.c | 2 -
drivers/mtd/devices/m25p80.c | 22 +
drivers/mtd/devices/ms02-nv.c | 2 -
drivers/mtd/devices/ms02-nv.h | 2 -
drivers/mtd/devices/mtd_dataflash.c | 169 +-
drivers/mtd/devices/mtdram.c | 1 -
drivers/mtd/devices/phram.c | 2 -
drivers/mtd/devices/pmc551.c | 2 -
drivers/mtd/devices/slram.c | 2 -
drivers/mtd/ftl.c | 3 -
drivers/mtd/inftlcore.c | 5 -
drivers/mtd/inftlmount.c | 4 -
drivers/mtd/maps/Kconfig | 30 +-
drivers/mtd/maps/Makefile | 3 +-
drivers/mtd/maps/amd76xrom.c | 1 -
drivers/mtd/maps/autcpu12-nvram.c | 2 -
drivers/mtd/maps/bast-flash.c | 226 -
drivers/mtd/maps/bfin-async-flash.c | 219 +
drivers/mtd/maps/cdb89712.c | 1 -
drivers/mtd/maps/ceiva.c | 1 -
drivers/mtd/maps/cfi_flagadm.c | 2 -
drivers/mtd/maps/dbox2-flash.c | 2 -
drivers/mtd/maps/dc21285.c | 2 -
drivers/mtd/maps/dilnetpc.c | 2 -
drivers/mtd/maps/dmv182.c | 2 -
drivers/mtd/maps/ebony.c | 2 -
drivers/mtd/maps/edb7312.c | 2 -
drivers/mtd/maps/fortunet.c | 1 -
drivers/mtd/maps/h720x-flash.c | 2 -
drivers/mtd/maps/ichxrom.c | 1 -
drivers/mtd/maps/impa7.c | 2 -
drivers/mtd/maps/integrator-flash.c | 2 -
drivers/mtd/maps/ipaq-flash.c | 2 -
drivers/mtd/maps/ixp2000.c | 2 -
drivers/mtd/maps/ixp4xx.c | 2 -
drivers/mtd/maps/l440gx.c | 2 -
drivers/mtd/maps/map_funcs.c | 2 -
drivers/mtd/maps/mbx860.c | 2 -
drivers/mtd/maps/netsc520.c | 2 -
drivers/mtd/maps/nettel.c | 2 -
drivers/mtd/maps/octagon-5066.c | 1 -
drivers/mtd/maps/omap-toto-flash.c | 2 -
drivers/mtd/maps/pci.c | 2 -
drivers/mtd/maps/pcmciamtd.c | 5 +-
drivers/mtd/maps/physmap.c | 24 +-
drivers/mtd/maps/plat-ram.c | 2 -
drivers/mtd/maps/redwood.c | 2 -
drivers/mtd/maps/rpxlite.c | 2 -
drivers/mtd/maps/sa1100-flash.c | 2 -
drivers/mtd/maps/sbc8240.c | 3 -
drivers/mtd/maps/sbc_gxx.c | 2 -
drivers/mtd/maps/sc520cdp.c | 2 -
drivers/mtd/maps/scb2_flash.c | 1 -
drivers/mtd/maps/scx200_docflash.c | 2 -
drivers/mtd/maps/sharpsl-flash.c | 2 -
drivers/mtd/maps/solutionengine.c | 2 -
drivers/mtd/maps/sun_uflash.c | 2 +-
drivers/mtd/maps/tqm8xxl.c | 2 -
drivers/mtd/maps/ts5500_flash.c | 2 -
drivers/mtd/maps/tsunami_flash.c | 1 -
drivers/mtd/maps/uclinux.c | 2 -
drivers/mtd/maps/vmax301.c | 1 -
drivers/mtd/maps/walnut.c | 2 -
drivers/mtd/maps/wr_sbc82xx_flash.c | 2 -
drivers/mtd/mtd_blkdevs.c | 34 +-
drivers/mtd/mtdblock.c | 2 -
drivers/mtd/mtdblock_ro.c | 2 -
drivers/mtd/mtdchar.c | 24 +-
drivers/mtd/mtdconcat.c | 2 -
drivers/mtd/mtdcore.c | 14 +-
drivers/mtd/mtdpart.c | 448 +-
drivers/mtd/mtdsuper.c | 33 +-
drivers/mtd/nand/Kconfig | 41 +-
drivers/mtd/nand/Makefile | 3 +-
drivers/mtd/nand/at91_nand.c | 594 ---
drivers/mtd/nand/atmel_nand.c | 650 +++
drivers/mtd/nand/atmel_nand_ecc.h | 36 +
drivers/mtd/nand/au1550nd.c | 4 -
drivers/mtd/nand/autcpu12.c | 2 -
drivers/mtd/nand/bf5xx_nand.c | 93 +-
drivers/mtd/nand/cafe_nand.c | 6 +-
drivers/mtd/nand/diskonchip.c | 34 +-
drivers/mtd/nand/edb7312.c | 2 -
drivers/mtd/nand/excite_nandflash.c | 2 +-
drivers/mtd/nand/fsl_elbc_nand.c | 65 +-
drivers/mtd/nand/h1910.c | 2 -
drivers/mtd/nand/nand_base.c | 87 +-
drivers/mtd/nand/nand_bbt.c | 2 -
drivers/mtd/nand/nand_ecc.c | 2 -
drivers/mtd/nand/nand_ids.c | 2 -
drivers/mtd/nand/nandsim.c | 103 +-
drivers/mtd/nand/ppchameleonevb.c | 2 -
drivers/mtd/nand/rtc_from4.c | 2 -
drivers/mtd/nand/s3c2410.c | 168 +-
drivers/mtd/nand/sharpsl.c | 2 -
drivers/mtd/nand/spia.c | 2 -
drivers/mtd/nand/toto.c | 2 -
drivers/mtd/nand/ts7250.c | 2 -
drivers/mtd/nftlcore.c | 5 -
drivers/mtd/nftlmount.c | 4 -
drivers/mtd/onenand/onenand_base.c | 54 +-
drivers/mtd/redboot.c | 2 -
drivers/mtd/rfd_ftl.c | 2 -
drivers/net/Kconfig | 4 +-
drivers/net/arm/ep93xx_eth.c | 4 +-
drivers/net/bfin_mac.c | 111 +-
drivers/net/bnx2x_main.c | 14 +-
drivers/net/cassini.c | 12 +
drivers/net/cxgb3/sge.c | 2 +-
drivers/net/cxgb3/t3_hw.c | 2 +-
drivers/net/e100.c | 2 +-
drivers/net/e1000e/ethtool.c | 4 +-
drivers/net/e1000e/netdev.c | 11 +-
drivers/net/ehea/ehea_main.c | 4 +-
drivers/net/enc28j60.c | 6 +-
drivers/net/forcedeth.c | 64 +-
drivers/net/ibmveth.c | 40 +-
drivers/net/ifb.c | 12 +-
drivers/net/irda/act200l-sir.c | 10 +-
drivers/net/irda/actisys-sir.c | 2 +-
drivers/net/irda/ali-ircc.c | 246 +-
drivers/net/irda/donauboe.c | 68 +-
drivers/net/irda/girbil-sir.c | 12 +-
drivers/net/irda/irda-usb.c | 92 +-
drivers/net/irda/irtty-sir.c | 10 +-
drivers/net/irda/kingsun-sir.c | 2 +-
drivers/net/irda/litelink-sir.c | 8 +-
drivers/net/irda/ma600-sir.c | 16 +-
drivers/net/irda/mcp2120-sir.c | 12 +-
drivers/net/irda/nsc-ircc.c | 119 +-
drivers/net/irda/nsc-ircc.h | 3 +
drivers/net/irda/old_belkin-sir.c | 8 +-
drivers/net/irda/sir_dev.c | 63 +-
drivers/net/irda/sir_dongle.c | 2 +-
drivers/net/irda/smsc-ircc2.c | 120 +-
drivers/net/irda/tekram-sir.c | 10 +-
drivers/net/irda/toim3232-sir.c | 10 +-
drivers/net/irda/via-ircc.c | 80 +-
drivers/net/irda/vlsi_ir.c | 92 +-
drivers/net/irda/vlsi_ir.h | 2 +-
drivers/net/irda/w83977af_ir.c | 62 +-
drivers/net/iseries_veth.c | 4 +-
drivers/net/mlx4/alloc.c | 1 +
drivers/net/mlx4/catas.c | 1 +
drivers/net/mlx4/cmd.c | 2 +-
drivers/net/mlx4/cq.c | 2 +-
drivers/net/mlx4/eq.c | 4 +-
drivers/net/mlx4/fw.c | 2 +-
drivers/net/mlx4/fw.h | 2 +-
drivers/net/mlx4/icm.c | 2 +-
drivers/net/mlx4/icm.h | 2 +-
drivers/net/mlx4/intf.c | 1 +
drivers/net/mlx4/main.c | 2 +-
drivers/net/mlx4/mcg.c | 1 +
drivers/net/mlx4/mlx4.h | 2 +-
drivers/net/mlx4/mr.c | 2 +-
drivers/net/mlx4/qp.c | 2 +-
drivers/net/mlx4/reset.c | 1 +
drivers/net/mlx4/srq.c | 1 +
drivers/net/mv643xx_eth.c | 358 +-
drivers/net/ne.c | 6 +-
drivers/net/netconsole.c | 2 +-
drivers/net/niu.c | 2 +-
drivers/net/pasemi_mac.c | 6 +-
drivers/net/ppp_generic.c | 6 +-
drivers/net/ps3_gelic_wireless.c | 12 +-
drivers/net/qla3xxx.c | 12 +-
drivers/net/s2io.c | 77 +-
drivers/net/sfc/rx.c | 4 +-
drivers/net/sfc/tx.c | 7 +-
drivers/net/sh_eth.c | 202 +-
drivers/net/sh_eth.h | 426 ++-
drivers/net/skfp/smt.c | 13 +-
drivers/net/spider_net.c | 4 +-
drivers/net/tc35815.c | 4 +-
drivers/net/tg3.c | 67 +-
drivers/net/tokenring/3c359.c | 8 +-
drivers/net/usb/dm9601.c | 52 +-
drivers/net/wd.c | 2 +-
drivers/net/wireless/ath5k/base.c | 103 +-
drivers/net/wireless/ath5k/base.h | 2 +-
drivers/net/wireless/ath5k/hw.c | 4 +
drivers/net/wireless/b43/main.c | 3 +-
drivers/net/wireless/b43/xmit.c | 2 +-
drivers/net/wireless/b43legacy/main.c | 5 +-
drivers/net/wireless/b43legacy/xmit.c | 2 +-
drivers/net/wireless/ipw2100.c | 3 +-
drivers/net/wireless/ipw2200.c | 2 +-
drivers/net/wireless/iwlwifi/iwl-3945.c | 2 +
drivers/net/wireless/iwlwifi/iwl-4965.c | 2 +-
drivers/net/wireless/iwlwifi/iwl-core.c | 3 +-
drivers/net/wireless/iwlwifi/iwl-debug.h | 8 +-
drivers/net/wireless/iwlwifi/iwl-led.c | 4 +-
drivers/net/wireless/iwlwifi/iwl-scan.c | 2 +
drivers/net/wireless/iwlwifi/iwl-tx.c | 2 +-
drivers/net/wireless/iwlwifi/iwl3945-base.c | 5 +-
drivers/net/wireless/libertas/persistcfg.c | 30 +-
drivers/net/wireless/mac80211_hwsim.c | 2 +-
drivers/net/wireless/rt2x00/rt2500usb.c | 13 +-
drivers/net/wireless/rt2x00/rt2x00.h | 6 +-
drivers/net/wireless/rt2x00/rt2x00config.c | 2 +-
drivers/net/wireless/rt2x00/rt2x00dev.c | 7 +-
drivers/net/wireless/rt2x00/rt2x00lib.h | 7 -
drivers/net/wireless/rt2x00/rt2x00mac.c | 29 +-
drivers/net/wireless/rt2x00/rt2x00queue.c | 36 +-
drivers/net/wireless/rt2x00/rt2x00queue.h | 2 +
drivers/net/wireless/rt2x00/rt2x00usb.c | 32 +
drivers/net/wireless/rt2x00/rt2x00usb.h | 22 +-
drivers/net/wireless/rt2x00/rt61pci.c | 4 +-
drivers/net/wireless/rt2x00/rt73usb.c | 56 +-
drivers/net/wireless/rtl8187.h | 11 +-
drivers/net/wireless/rtl8187_dev.c | 93 +-
drivers/net/wireless/zd1211rw/zd_mac.c | 1 -
drivers/of/Kconfig | 6 +
drivers/of/Makefile | 1 +
drivers/of/base.c | 88 +
drivers/of/of_i2c.c | 64 +-
drivers/of/of_spi.c | 93 +
drivers/parport/ieee1284.c | 2 -
drivers/parport/parport_cs.c | 2 +-
drivers/parport/parport_pc.c | 2 +-
drivers/parport/procfs.c | 3 -
drivers/pci/hotplug/pciehp_hpc.c | 2 +-
drivers/pci/msi.c | 15 +-
drivers/pci/pci-acpi.c | 7 +
drivers/pci/pci.c | 10 +
drivers/pci/pcie/aspm.c | 32 +-
drivers/pci/probe.c | 245 +-
drivers/pci/quirks.c | 13 +
drivers/pcmcia/soc_common.c | 12 +-
drivers/pnp/base.h | 1 -
drivers/pnp/card.c | 6 +-
drivers/pnp/quirks.c | 13 +-
drivers/pnp/support.c | 96 +-
drivers/power/Kconfig | 7 +
drivers/power/Makefile | 1 +
drivers/power/olpc_battery.c | 273 +-
drivers/power/power_supply_sysfs.c | 1 +
drivers/power/tosa_battery.c | 486 ++
drivers/regulator/Kconfig | 59 +
drivers/regulator/Makefile | 12 +
drivers/regulator/bq24022.c | 167 +
drivers/regulator/core.c | 1903 +++++++
drivers/regulator/fixed.c | 129 +
drivers/regulator/virtual.c | 345 ++
drivers/rtc/interface.c | 10 +-
drivers/rtc/rtc-dev.c | 4 +-
drivers/s390/block/dasd_alias.c | 4 +-
drivers/s390/block/dasd_devmap.c | 16 +-
drivers/s390/block/dasd_eckd.c | 147 +-
drivers/s390/block/dasd_eckd.h | 184 +-
drivers/s390/block/dasd_int.h | 1 +
drivers/s390/char/sclp.c | 6 +-
drivers/s390/char/sclp_cmd.c | 5 +
drivers/s390/char/sclp_config.c | 13 +-
drivers/s390/cio/idset.c | 8 +-
drivers/s390/cio/qdio_main.c | 2 +-
drivers/s390/cio/qdio_perf.c | 2 +-
drivers/s390/cio/qdio_setup.c | 4 +-
drivers/s390/kvm/Makefile | 2 +-
drivers/s390/kvm/kvm_virtio.c | 2 +-
drivers/s390/net/qeth_core.h | 5 +-
drivers/s390/net/qeth_core_main.c | 77 +-
drivers/s390/net/qeth_l2_main.c | 76 +-
drivers/s390/net/qeth_l3_main.c | 81 +-
drivers/scsi/3w-9xxx.c | 40 +-
drivers/scsi/3w-9xxx.h | 9 +-
drivers/scsi/Kconfig | 1 +
drivers/scsi/Makefile | 2 +
drivers/scsi/advansys.c | 2 +-
drivers/scsi/aha152x.c | 12 +-
drivers/scsi/aic94xx/aic94xx.h | 4 +-
drivers/scsi/aic94xx/aic94xx_hwi.c | 2 +-
drivers/scsi/aic94xx/aic94xx_scb.c | 46 +-
drivers/scsi/aic94xx/aic94xx_task.c | 2 +-
drivers/scsi/aic94xx/aic94xx_tmf.c | 18 +-
drivers/scsi/arm/fas216.c | 4 +-
drivers/scsi/ch.c | 1 +
drivers/scsi/device_handler/Kconfig | 8 +
drivers/scsi/device_handler/Makefile | 1 +
drivers/scsi/device_handler/scsi_dh.c | 446 ++-
drivers/scsi/device_handler/scsi_dh_alua.c | 802 +++
drivers/scsi/device_handler/scsi_dh_emc.c | 644 ++-
drivers/scsi/device_handler/scsi_dh_hp_sw.c | 348 +-
drivers/scsi/device_handler/scsi_dh_rdac.c | 262 +-
drivers/scsi/ibmvscsi/ibmvfc.c | 208 +-
drivers/scsi/ibmvscsi/ibmvfc.h | 44 +-
drivers/scsi/ibmvscsi/ibmvscsi.c | 4 +-
drivers/scsi/ibmvscsi/ibmvstgt.c | 4 +-
drivers/scsi/ibmvscsi/rpa_vscsi.c | 2 +-
drivers/scsi/imm.c | 2 +-
drivers/scsi/ipr.h | 6 +-
drivers/scsi/libsas/sas_ata.c | 16 +-
drivers/scsi/libsas/sas_expander.c | 12 +-
drivers/scsi/libsas/sas_port.c | 4 +-
drivers/scsi/libsas/sas_scsi_host.c | 30 +-
drivers/scsi/libsrp.c | 2 +-
drivers/scsi/lpfc/lpfc_init.c | 4 +-
drivers/scsi/lpfc/lpfc_scsi.c | 2 +-
drivers/scsi/lpfc/lpfc_sli.c | 6 +-
drivers/scsi/megaraid/mega_common.h | 2 +-
drivers/scsi/megaraid/megaraid_mbox.c | 16 +-
drivers/scsi/megaraid/megaraid_mm.c | 4 +-
drivers/scsi/nsp32.c | 4 +-
drivers/scsi/nsp32_debug.c | 2 +-
drivers/scsi/pcmcia/nsp_cs.c | 4 +-
drivers/scsi/pcmcia/nsp_debug.c | 2 +-
drivers/scsi/ppa.c | 2 +-
drivers/scsi/qla1280.c | 12 +-
drivers/scsi/qla2xxx/qla_attr.c | 119 +-
drivers/scsi/qla2xxx/qla_dbg.c | 2 +-
drivers/scsi/qla2xxx/qla_def.h | 12 +-
drivers/scsi/qla2xxx/qla_gbl.h | 5 +-
drivers/scsi/qla2xxx/qla_gs.c | 6 +
drivers/scsi/qla2xxx/qla_init.c | 133 +-
drivers/scsi/qla2xxx/qla_iocb.c | 14 +-
drivers/scsi/qla2xxx/qla_isr.c | 4 -
drivers/scsi/qla2xxx/qla_mbx.c | 9 +-
drivers/scsi/qla2xxx/qla_mid.c | 16 +-
drivers/scsi/qla2xxx/qla_os.c | 94 +-
drivers/scsi/qla2xxx/qla_sup.c | 48 +-
drivers/scsi/qla2xxx/qla_version.h | 2 +-
drivers/scsi/qla4xxx/ql4_os.c | 4 +-
drivers/scsi/scsi.c | 55 +-
drivers/scsi/scsi_debug.c | 12 +-
drivers/scsi/scsi_devinfo.c | 6 +-
drivers/scsi/scsi_error.c | 34 +-
drivers/scsi/scsi_lib.c | 55 +-
drivers/scsi/scsi_netlink.c | 8 +-
drivers/scsi/scsi_priv.h | 1 +
drivers/scsi/scsi_proc.c | 4 +-
drivers/scsi/scsi_scan.c | 13 +-
drivers/scsi/scsi_sysfs.c | 4 +
drivers/scsi/scsi_tgt_priv.h | 2 +-
drivers/scsi/scsi_transport_fc.c | 12 +-
drivers/scsi/scsi_transport_sas.c | 4 +-
drivers/scsi/sd.c | 291 +-
drivers/scsi/sd.h | 54 +
drivers/scsi/sd_dif.c | 538 ++
drivers/scsi/st.c | 11 +-
drivers/scsi/stex.c | 2 +-
drivers/scsi/sym53c8xx_2/sym_hipd.c | 2 +
drivers/scsi/tmscsim.c | 8 +-
drivers/scsi/wd7000.c | 8 +-
drivers/scsi/zalon.c | 8 +-
drivers/serial/8250.c | 4 +-
drivers/serial/Makefile | 1 -
drivers/serial/cpm_uart/cpm_uart.h | 11 +
drivers/serial/cpm_uart/cpm_uart_core.c | 66 +-
drivers/serial/sh-sci.c | 17 +-
drivers/serial/sh-sci.h | 40 +-
drivers/serial/v850e_uart.c | 548 --
drivers/sh/maple/maple.c | 265 +-
drivers/spi/atmel_spi.c | 4 +-
drivers/spi/au1550_spi.c | 6 +-
drivers/spi/mpc52xx_psc_spi.c | 22 +-
drivers/spi/omap2_mcspi.c | 4 +-
drivers/spi/pxa2xx_spi.c | 4 +-
drivers/spi/spi.c | 139 +-
drivers/spi/spi_imx.c | 6 +-
drivers/spi/spi_s3c24xx.c | 1 +
drivers/usb/gadget/m66592-udc.c | 2 +-
drivers/usb/mon/mon_text.c | 4 +-
drivers/usb/serial/ipaq.c | 10 +-
drivers/video/Makefile | 1 -
drivers/video/am200epd.c | 2 +-
drivers/video/arkfb.c | 9 +-
drivers/video/backlight/hp680_bl.c | 2 +-
drivers/video/backlight/platform_lcd.c | 4 +-
drivers/video/console/sticon.c | 2 +-
drivers/video/console/sticore.c | 63 +-
drivers/video/fbmem.c | 1 -
drivers/video/gbefb.c | 50 +-
drivers/video/hitfb.c | 2 +-
drivers/video/macfb.c | 2 +-
drivers/video/matrox/matroxfb_base.c | 2 +-
drivers/video/omap/sossi.c | 2 +-
drivers/video/pvr2fb.c | 6 +-
drivers/video/pxafb.c | 2 +-
drivers/video/sh7760fb.c | 1 +
drivers/video/sticore.h | 2 -
drivers/video/stifb.c | 6 +-
drivers/video/vt8623fb.c | 9 +-
drivers/watchdog/hpwdt.c | 2 +-
fs/Kconfig | 13 +
fs/Kconfig.binfmt | 2 +-
fs/Makefile | 1 +
fs/adfs/super.c | 2 +-
fs/affs/affs.h | 3 +-
fs/affs/bitmap.c | 18 +-
fs/affs/file.c | 4 -
fs/affs/super.c | 4 +-
fs/afs/internal.h | 4 +-
fs/afs/mntpt.c | 2 +-
fs/afs/security.c | 2 +-
fs/afs/super.c | 4 +-
fs/aio.c | 6 +-
fs/attr.c | 7 +-
fs/bad_inode.c | 3 +-
fs/befs/linuxvfs.c | 2 +-
fs/bfs/bfs.h | 5 +-
fs/bfs/dir.c | 46 +-
fs/bfs/file.c | 4 +-
fs/bfs/inode.c | 29 +-
fs/binfmt_aout.c | 6 -
fs/binfmt_elf.c | 6 -
fs/binfmt_elf_fdpic.c | 52 +-
fs/binfmt_flat.c | 3 -
fs/binfmt_som.c | 2 -
fs/bio-integrity.c | 1 -
fs/bio.c | 8 +-
fs/block_dev.c | 7 +-
fs/buffer.c | 57 +-
fs/cifs/asn1.c | 4 +-
fs/cifs/cifs_debug.c | 645 +--
fs/cifs/cifs_dfs_ref.c | 2 +-
fs/cifs/cifsacl.c | 41 +-
fs/cifs/cifsencrypt.c | 3 +-
fs/cifs/cifsfs.c | 4 +-
fs/cifs/cifsglob.h | 6 +-
fs/cifs/cifspdu.h | 8 +-
fs/cifs/cifssmb.c | 10 +-
fs/cifs/connect.c | 37 +-
fs/cifs/inode.c | 151 +-
fs/cifs/readdir.c | 1 +
fs/coda/dir.c | 4 +-
fs/coda/inode.c | 2 +-
fs/coda/pioctl.c | 20 +-
fs/compat.c | 20 +-
fs/configfs/configfs_internal.h | 3 +
fs/configfs/dir.c | 210 +-
fs/configfs/symlink.c | 26 +
fs/dcache.c | 103 +
fs/devpts/inode.c | 16 +-
fs/direct-io.c | 10 +-
fs/dlm/lock.c | 4 +-
fs/dlm/lowcomms.c | 4 +-
fs/dlm/user.c | 2 +-
fs/dquot.c | 33 +-
fs/ecryptfs/crypto.c | 30 +-
fs/ecryptfs/inode.c | 21 +-
fs/ecryptfs/main.c | 4 +-
fs/efs/super.c | 2 +-
fs/exec.c | 94 +-
fs/ext2/acl.c | 2 +-
fs/ext2/acl.h | 2 +-
fs/ext2/inode.c | 1 +
fs/ext2/super.c | 2 +-
fs/ext3/acl.c | 2 +-
fs/ext3/acl.h | 2 +-
fs/ext3/inode.c | 67 +-
fs/ext3/super.c | 5 +-
fs/ext4/acl.c | 2 +-
fs/ext4/acl.h | 2 +-
fs/ext4/inode.c | 92 +-
fs/ext4/super.c | 5 +-
fs/fat/cache.c | 2 +-
fs/fat/file.c | 15 +-
fs/fat/inode.c | 2 +-
fs/fcntl.c | 171 +-
fs/fifo.c | 8 +-
fs/file.c | 70 +
fs/file_table.c | 10 +-
fs/fuse/dir.c | 6 +-
fs/fuse/file.c | 2 +-
fs/fuse/inode.c | 2 +-
fs/gfs2/inode.c | 6 +-
fs/gfs2/inode.h | 2 +-
fs/gfs2/main.c | 4 +-
fs/gfs2/ops_export.c | 2 +-
fs/gfs2/ops_inode.c | 16 +-
fs/gfs2/super.c | 2 +-
fs/hfs/inode.c | 7 +-
fs/hfs/super.c | 2 +-
fs/hfsplus/inode.c | 6 +-
fs/hfsplus/super.c | 2 +-
fs/hostfs/hostfs_kern.c | 2 +-
fs/hpfs/namei.c | 2 +-
fs/hpfs/super.c | 2 +-
fs/hppfs/hppfs.c | 7 -
fs/hugetlbfs/inode.c | 2 +-
fs/inode.c | 4 +-
fs/inotify_user.c | 22 +-
fs/isofs/inode.c | 2 +-
fs/jffs2/acl.c | 2 +-
fs/jffs2/acl.h | 2 +-
fs/jffs2/dir.c | 2 +-
fs/jffs2/file.c | 2 +-
fs/jffs2/ioctl.c | 3 +-
fs/jffs2/os-linux.h | 2 +-
fs/jffs2/summary.c | 40 +-
fs/jffs2/summary.h | 6 +
fs/jffs2/super.c | 2 +-
fs/jfs/acl.c | 2 +-
fs/jfs/jfs_acl.h | 2 +-
fs/jfs/jfs_metapage.c | 2 +-
fs/jfs/super.c | 2 +-
fs/libfs.c | 4 +-
fs/locks.c | 2 +-
fs/minix/inode.c | 2 +-
fs/namei.c | 369 +-
fs/namespace.c | 125 +-
fs/ncpfs/dir.c | 4 +-
fs/ncpfs/inode.c | 2 +-
fs/nfs/dir.c | 11 +-
fs/nfs/inode.c | 2 +-
fs/nfs/namespace.c | 2 +-
fs/nfs/super.c | 6 +-
fs/nfs/unlink.c | 3 +-
fs/nfsd/nfsctl.c | 1 +
fs/nfsd/nfsfh.c | 2 +-
fs/nfsd/vfs.c | 14 +-
fs/ntfs/file.c | 2 +-
fs/ntfs/super.c | 2 +-
fs/ocfs2/aops.c | 29 +-
fs/ocfs2/dlm/dlmfs.c | 3 +-
fs/ocfs2/file.c | 4 +-
fs/ocfs2/file.h | 3 +-
fs/ocfs2/journal.c | 173 +-
fs/ocfs2/journal.h | 3 +-
fs/ocfs2/ocfs2.h | 2 +
fs/ocfs2/ocfs2_fs.h | 5 +-
fs/ocfs2/super.c | 14 +-
fs/omfs/Makefile | 4 +
fs/omfs/bitmap.c | 192 +
fs/omfs/dir.c | 504 ++
fs/omfs/file.c | 346 ++
fs/omfs/inode.c | 553 ++
fs/omfs/omfs.h | 67 +
fs/omfs/omfs_fs.h | 80 +
fs/open.c | 235 +-
fs/openpromfs/inode.c | 2 +-
fs/pipe.c | 51 +-
fs/proc/array.c | 9 +-
fs/proc/base.c | 105 +-
fs/proc/generic.c | 32 +-
fs/proc/inode.c | 7 +-
fs/proc/proc_sysctl.c | 429 +-
fs/qnx4/inode.c | 2 +-
fs/reiserfs/super.c | 18 +-
fs/reiserfs/xattr.c | 2 +-
fs/romfs/inode.c | 39 +-
fs/smbfs/file.c | 4 +-
fs/smbfs/inode.c | 2 +-
fs/splice.c | 45 +-
fs/stat.c | 32 +-
fs/sysfs/dir.c | 5 +-
fs/sysfs/file.c | 3 +-
fs/sysfs/group.c | 3 +-
fs/sysv/inode.c | 2 +-
fs/ubifs/file.c | 1 +
fs/ubifs/super.c | 2 +-
fs/udf/super.c | 2 +-
fs/ufs/super.c | 2 +-
fs/utimes.c | 139 +-
fs/xattr.c | 98 +-
fs/xfs/Makefile | 3 +-
fs/xfs/linux-2.6/kmem.c | 6 +-
fs/xfs/linux-2.6/kmem.h | 6 +-
fs/xfs/linux-2.6/xfs_aops.c | 5 +-
fs/xfs/linux-2.6/xfs_buf.c | 14 +-
fs/xfs/linux-2.6/xfs_buf.h | 2 +-
fs/xfs/linux-2.6/xfs_export.c | 2 +-
fs/xfs/linux-2.6/xfs_ioctl.c | 390 ++-
fs/xfs/linux-2.6/xfs_iops.c | 348 +-
fs/xfs/linux-2.6/xfs_iops.h | 2 +
fs/xfs/linux-2.6/xfs_linux.h | 8 +
fs/xfs/linux-2.6/xfs_lrw.c | 2 +-
fs/xfs/linux-2.6/xfs_stats.c | 15 +-
fs/xfs/linux-2.6/xfs_stats.h | 12 +-
fs/xfs/linux-2.6/xfs_super.c | 939 ++++-
fs/xfs/linux-2.6/xfs_super.h | 4 +-
fs/xfs/linux-2.6/xfs_sysctl.c | 8 +-
fs/xfs/linux-2.6/xfs_sysctl.h | 4 +-
fs/xfs/linux-2.6/xfs_vnode.c | 50 -
fs/xfs/linux-2.6/xfs_vnode.h | 89 -
fs/xfs/linux-2.6/xfs_xattr.c | 330 ++
fs/xfs/quota/xfs_dquot.c | 3 +-
fs/xfs/quota/xfs_dquot.h | 2 +-
fs/xfs/quota/xfs_dquot_item.c | 4 +-
fs/xfs/quota/xfs_qm.c | 24 +-
fs/xfs/quota/xfs_qm_syscalls.c | 12 +-
fs/xfs/quota/xfs_quota_priv.h | 3 -
fs/xfs/support/ktrace.c | 4 +-
fs/xfs/support/uuid.c | 8 +-
fs/xfs/support/uuid.h | 1 -
fs/xfs/xfs_acl.c | 21 +-
fs/xfs/xfs_acl.h | 4 +-
fs/xfs/xfs_attr.c | 608 +--
fs/xfs/xfs_attr.h | 90 +-
fs/xfs/xfs_attr_leaf.c | 99 +-
fs/xfs/xfs_attr_leaf.h | 29 +-
fs/xfs/xfs_attr_sf.h | 10 +-
fs/xfs/xfs_bmap.c | 118 +-
fs/xfs/xfs_bmap.h | 13 +-
fs/xfs/xfs_bmap_btree.c | 76 +-
fs/xfs/xfs_buf_item.c | 8 +-
fs/xfs/xfs_clnt.h | 1 +
fs/xfs/xfs_da_btree.c | 48 +-
fs/xfs/xfs_da_btree.h | 36 +-
fs/xfs/xfs_dfrag.c | 4 +-
fs/xfs/xfs_dir2.c | 125 +-
fs/xfs/xfs_dir2.h | 6 +-
fs/xfs/xfs_dir2_block.c | 56 +-
fs/xfs/xfs_dir2_data.c | 5 +-
fs/xfs/xfs_dir2_leaf.c | 93 +-
fs/xfs/xfs_dir2_node.c | 402 +-
fs/xfs/xfs_dir2_sf.c | 83 +-
fs/xfs/xfs_dir2_sf.h | 6 +-
fs/xfs/xfs_dir2_trace.c | 20 +-
fs/xfs/xfs_dmapi.h | 2 +-
fs/xfs/xfs_error.c | 13 +-
fs/xfs/xfs_error.h | 1 -
fs/xfs/xfs_extfree_item.c | 6 +-
fs/xfs/xfs_filestream.c | 4 +-
fs/xfs/xfs_fs.h | 4 +
fs/xfs/xfs_fsops.c | 4 +-
fs/xfs/xfs_inode.c | 165 +-
fs/xfs/xfs_inode.h | 3 -
fs/xfs/xfs_inode_item.c | 7 +-
fs/xfs/xfs_iomap.c | 10 +
fs/xfs/xfs_itable.c | 6 +-
fs/xfs/xfs_log.c | 49 +-
fs/xfs/xfs_log_priv.h | 6 +-
fs/xfs/xfs_log_recover.c | 21 +-
fs/xfs/xfs_mount.c | 118 +-
fs/xfs/xfs_mount.h | 17 +-
fs/xfs/xfs_mru_cache.c | 21 +-
fs/xfs/xfs_rename.c | 22 +-
fs/xfs/xfs_rtalloc.c | 2 +-
fs/xfs/xfs_sb.h | 17 +-
fs/xfs/xfs_trans.c | 4 +-
fs/xfs/xfs_trans_inode.c | 2 +-
fs/xfs/xfs_trans_item.c | 8 +-
fs/xfs/xfs_vfsops.c | 610 +---
fs/xfs/xfs_vfsops.h | 5 -
fs/xfs/xfs_vnodeops.c | 722 +--
fs/xfs/xfs_vnodeops.h | 12 +-
include/Kbuild | 5 +-
include/acpi/actbl.h | 1 +
include/asm-alpha/dma-mapping.h | 6 +-
include/asm-alpha/kvm.h | 6 -
include/asm-alpha/namei.h | 17 -
include/asm-alpha/pci.h | 2 +-
include/asm-arm/arch-at91/at91_ecc.h | 38 -
include/asm-arm/arch-at91/board.h | 4 +-
include/asm-arm/arch-pnx4008/irqs.h | 48 +-
include/asm-arm/arch-pxa/idp.h | 10 +-
include/asm-arm/arch-pxa/pcm990_baseboard.h | 14 +-
include/asm-arm/arch-pxa/pxa25x-udc.h | 2 +-
include/asm-arm/arch-s3c2410/spi.h | 1 +
include/asm-arm/arch-sa1100/ide.h | 2 +-
include/asm-arm/bitops.h | 9 +-
include/asm-arm/cacheflush.h | 21 +-
include/asm-arm/dma-mapping.h | 4 +-
include/asm-arm/irq.h | 17 -
include/asm-arm/kvm.h | 6 -
include/asm-arm/namei.h | 25 -
include/asm-arm/pci.h | 8 +
include/asm-arm/plat-s3c/iic.h | 1 +
include/asm-avr32/arch-at32ap/board.h | 23 +-
include/asm-avr32/dma-mapping.h | 2 +-
include/asm-avr32/kvm.h | 6 -
include/asm-avr32/namei.h | 7 -
include/asm-blackfin/bfin-global.h | 8 +-
include/asm-blackfin/dma.h | 8 +
include/asm-blackfin/dpmc.h | 82 +-
include/asm-blackfin/elf.h | 2 +
include/asm-blackfin/gpio.h | 19 +-
include/asm-blackfin/kvm.h | 6 -
include/asm-blackfin/mach-bf527/anomaly.h | 2 +
include/asm-blackfin/mach-bf527/bfin_sir.h | 21 +-
include/asm-blackfin/mach-bf527/defBF527.h | 1 +
include/asm-blackfin/mach-bf527/mem_init.h | 27 -
include/asm-blackfin/mach-bf533/bfin_sir.h | 13 +-
include/asm-blackfin/mach-bf533/mem_init.h | 27 -
include/asm-blackfin/mach-bf537/bfin_sir.h | 21 +-
include/asm-blackfin/mach-bf537/defBF537.h | 1 +
include/asm-blackfin/mach-bf537/mem_init.h | 27 -
include/asm-blackfin/mach-bf548/bfin_sir.h | 37 +-
include/asm-blackfin/mach-bf548/gpio.h | 8 +
include/asm-blackfin/mach-bf561/bfin_sir.h | 13 +-
include/asm-blackfin/mach-bf561/mem_init.h | 27 -
include/asm-blackfin/module.h | 5 +-
include/asm-blackfin/namei.h | 19 -
include/asm-blackfin/processor.h | 21 +-
include/asm-cris/dma-mapping.h | 4 +-
include/asm-cris/kvm.h | 6 -
include/asm-cris/namei.h | 17 -
include/asm-frv/dma-mapping.h | 2 +-
include/asm-frv/kvm.h | 6 -
include/asm-frv/namei.h | 18 -
include/asm-frv/unistd.h | 8 +-
include/asm-generic/Kbuild.asm | 2 +
include/asm-generic/dma-coherent.h | 32 +
include/asm-generic/dma-mapping-broken.h | 2 +-
include/asm-generic/dma-mapping.h | 4 +-
include/asm-generic/gpio.h | 3 +-
include/asm-generic/pci-dma-compat.h | 4 +-
include/asm-generic/pgtable-nopmd.h | 6 +-
include/asm-generic/syscall.h | 141 +
include/asm-generic/vmlinux.lds.h | 18 +-
include/asm-h8300/kvm.h | 6 -
include/asm-h8300/namei.h | 17 -
include/asm-ia64/Kbuild | 16 -
include/asm-ia64/a.out.h | 32 -
include/asm-ia64/acpi-ext.h | 21 -
include/asm-ia64/acpi.h | 167 -
include/asm-ia64/agp.h | 30 -
include/asm-ia64/asmmacro.h | 135 -
include/asm-ia64/atomic.h | 226 -
include/asm-ia64/auxvec.h | 11 -
include/asm-ia64/bitops.h | 468 --
include/asm-ia64/break.h | 23 -
include/asm-ia64/bug.h | 14 -
include/asm-ia64/bugs.h | 19 -
include/asm-ia64/byteorder.h | 42 -
include/asm-ia64/cache.h | 29 -
include/asm-ia64/cacheflush.h | 51 -
include/asm-ia64/checksum.h | 79 -
include/asm-ia64/compat.h | 207 -
include/asm-ia64/cpu.h | 22 -
include/asm-ia64/cputime.h | 110 -
include/asm-ia64/current.h | 17 -
include/asm-ia64/cyclone.h | 15 -
include/asm-ia64/delay.h | 88 -
include/asm-ia64/device.h | 15 -
include/asm-ia64/div64.h | 1 -
include/asm-ia64/dma-mapping.h | 97 -
include/asm-ia64/dma.h | 24 -
include/asm-ia64/dmi.h | 11 -
include/asm-ia64/elf.h | 269 -
include/asm-ia64/emergency-restart.h | 6 -
include/asm-ia64/errno.h | 1 -
include/asm-ia64/esi.h | 29 -
include/asm-ia64/fb.h | 23 -
include/asm-ia64/fcntl.h | 13 -
include/asm-ia64/fpswa.h | 73 -
include/asm-ia64/fpu.h | 66 -
include/asm-ia64/futex.h | 124 -
include/asm-ia64/gcc_intrin.h | 620 ---
include/asm-ia64/hardirq.h | 37 -
include/asm-ia64/hpsim.h | 16 -
include/asm-ia64/hugetlb.h | 80 -
include/asm-ia64/hw_irq.h | 192 -
include/asm-ia64/ia32.h | 40 -
include/asm-ia64/ia64regs.h | 100 -
include/asm-ia64/intel_intrin.h | 161 -
include/asm-ia64/intrinsics.h | 241 -
include/asm-ia64/io.h | 459 --
include/asm-ia64/ioctl.h | 1 -
include/asm-ia64/ioctls.h | 93 -
include/asm-ia64/iosapic.h | 126 -
include/asm-ia64/ipcbuf.h | 28 -
include/asm-ia64/irq.h | 34 -
include/asm-ia64/irq_regs.h | 1 -
include/asm-ia64/kdebug.h | 59 -
include/asm-ia64/kexec.h | 44 -
include/asm-ia64/kmap_types.h | 30 -
include/asm-ia64/kprobes.h | 133 -
include/asm-ia64/kregs.h | 165 -
include/asm-ia64/kvm.h | 211 -
include/asm-ia64/kvm_host.h | 527 --
include/asm-ia64/kvm_para.h | 29 -
include/asm-ia64/libata-portmap.h | 12 -
include/asm-ia64/linkage.h | 14 -
include/asm-ia64/local.h | 1 -
include/asm-ia64/machvec.h | 460 --
include/asm-ia64/machvec_dig.h | 16 -
include/asm-ia64/machvec_hpsim.h | 18 -
include/asm-ia64/machvec_hpzx1.h | 37 -
include/asm-ia64/machvec_hpzx1_swiotlb.h | 42 -
include/asm-ia64/machvec_init.h | 33 -
include/asm-ia64/machvec_sn2.h | 139 -
include/asm-ia64/machvec_uv.h | 26 -
include/asm-ia64/mc146818rtc.h | 10 -
include/asm-ia64/mca.h | 179 -
include/asm-ia64/mca_asm.h | 242 -
include/asm-ia64/meminit.h | 75 -
include/asm-ia64/mman.h | 33 -
include/asm-ia64/mmu.h | 13 -
include/asm-ia64/mmu_context.h | 198 -
include/asm-ia64/mmzone.h | 50 -
include/asm-ia64/module.h | 36 -
include/asm-ia64/msgbuf.h | 27 -
include/asm-ia64/mutex.h | 92 -
include/asm-ia64/namei.h | 25 -
include/asm-ia64/native/inst.h | 175 -
include/asm-ia64/native/irq.h | 35 -
include/asm-ia64/nodedata.h | 63 -
include/asm-ia64/numa.h | 82 -
include/asm-ia64/page.h | 223 -
include/asm-ia64/pal.h | 1827 -------
include/asm-ia64/param.h | 33 -
include/asm-ia64/paravirt.h | 255 -
include/asm-ia64/paravirt_privop.h | 114 -
include/asm-ia64/parport.h | 20 -
include/asm-ia64/patch.h | 27 -
include/asm-ia64/pci.h | 167 -
include/asm-ia64/percpu.h | 51 -
include/asm-ia64/perfmon.h | 279 -
include/asm-ia64/perfmon_default_smpl.h | 83 -
include/asm-ia64/pgalloc.h | 122 -
include/asm-ia64/pgtable.h | 615 ---
include/asm-ia64/poll.h | 1 -
include/asm-ia64/posix_types.h | 126 -
include/asm-ia64/processor.h | 771 ---
include/asm-ia64/ptrace.h | 364 --
include/asm-ia64/ptrace_offsets.h | 268 -
include/asm-ia64/resource.h | 7 -
include/asm-ia64/rse.h | 66 -
include/asm-ia64/rwsem.h | 182 -
include/asm-ia64/sal.h | 905 ----
include/asm-ia64/scatterlist.h | 38 -
include/asm-ia64/sections.h | 25 -
include/asm-ia64/segment.h | 6 -
include/asm-ia64/sembuf.h | 22 -
include/asm-ia64/serial.h | 19 -
include/asm-ia64/setup.h | 6 -
include/asm-ia64/shmbuf.h | 38 -
include/asm-ia64/shmparam.h | 12 -
include/asm-ia64/sigcontext.h | 70 -
include/asm-ia64/siginfo.h | 139 -
include/asm-ia64/signal.h | 160 -
include/asm-ia64/smp.h | 138 -
include/asm-ia64/sn/acpi.h | 17 -
include/asm-ia64/sn/addrs.h | 299 --
include/asm-ia64/sn/arch.h | 86 -
include/asm-ia64/sn/bte.h | 233 -
include/asm-ia64/sn/clksupport.h | 28 -
include/asm-ia64/sn/geo.h | 132 -
include/asm-ia64/sn/intr.h | 68 -
include/asm-ia64/sn/io.h | 274 -
include/asm-ia64/sn/ioc3.h | 241 -
include/asm-ia64/sn/klconfig.h | 246 -
include/asm-ia64/sn/l1.h | 51 -
include/asm-ia64/sn/leds.h | 33 -
include/asm-ia64/sn/module.h | 127 -
include/asm-ia64/sn/mspec.h | 59 -
include/asm-ia64/sn/nodepda.h | 82 -
include/asm-ia64/sn/pcibr_provider.h | 150 -
include/asm-ia64/sn/pcibus_provider_defs.h | 68 -
include/asm-ia64/sn/pcidev.h | 85 -
include/asm-ia64/sn/pda.h | 69 -
include/asm-ia64/sn/pic.h | 261 -
include/asm-ia64/sn/rw_mmr.h | 28 -
include/asm-ia64/sn/shub_mmr.h | 502 --
include/asm-ia64/sn/shubio.h | 3358 ------------
include/asm-ia64/sn/simulator.h | 25 -
include/asm-ia64/sn/sn2/sn_hwperf.h | 242 -
include/asm-ia64/sn/sn_cpuid.h | 132 -
include/asm-ia64/sn/sn_feature_sets.h | 58 -
include/asm-ia64/sn/sn_sal.h | 1188 -----
include/asm-ia64/sn/tioca.h | 596 ---
include/asm-ia64/sn/tioca_provider.h | 207 -
include/asm-ia64/sn/tioce.h | 760 ---
include/asm-ia64/sn/tioce_provider.h | 63 -
include/asm-ia64/sn/tiocp.h | 257 -
include/asm-ia64/sn/tiocx.h | 72 -
include/asm-ia64/sn/types.h | 26 -
include/asm-ia64/socket.h | 66 -
include/asm-ia64/sockios.h | 20 -
include/asm-ia64/sparsemem.h | 20 -
include/asm-ia64/spinlock.h | 220 -
include/asm-ia64/spinlock_types.h | 21 -
include/asm-ia64/stat.h | 51 -
include/asm-ia64/statfs.h | 62 -
include/asm-ia64/string.h | 21 -
include/asm-ia64/suspend.h | 1 -
include/asm-ia64/system.h | 292 --
include/asm-ia64/termbits.h | 207 -
include/asm-ia64/termios.h | 97 -
include/asm-ia64/thread_info.h | 148 -
include/asm-ia64/timex.h | 42 -
include/asm-ia64/tlb.h | 257 -
include/asm-ia64/tlbflush.h | 102 -
include/asm-ia64/topology.h | 128 -
include/asm-ia64/types.h | 46 -
include/asm-ia64/uaccess.h | 401 --
include/asm-ia64/ucontext.h | 12 -
include/asm-ia64/unaligned.h | 11 -
include/asm-ia64/uncached.h | 12 -
include/asm-ia64/unistd.h | 378 --
include/asm-ia64/unwind.h | 233 -
include/asm-ia64/user.h | 58 -
include/asm-ia64/ustack.h | 20 -
include/asm-ia64/uv/uv_hub.h | 309 --
include/asm-ia64/uv/uv_mmrs.h | 673 ---
include/asm-ia64/vga.h | 25 -
include/asm-ia64/xor.h | 33 -
include/asm-m32r/kvm.h | 6 -
include/asm-m32r/namei.h | 17 -
include/asm-m68k/dma-mapping.h | 2 +-
include/asm-m68k/kvm.h | 6 -
include/asm-m68k/namei.h | 17 -
include/asm-m68knommu/kvm.h | 6 -
include/asm-m68knommu/namei.h | 1 -
include/asm-mips/dma-mapping.h | 2 +-
include/asm-mips/gdb-stub.h | 215 -
include/asm-mips/kdebug.h | 14 +-
include/asm-mips/kgdb.h | 44 +
include/asm-mips/kvm.h | 6 -
include/asm-mips/namei.h | 11 -
include/asm-mips/pci.h | 2 +
include/asm-mips/txx9/generic.h | 14 +
include/asm-mips/txx9/jmr3927.h | 2 -
include/asm-mips/txx9/pci.h | 3 +
include/asm-mips/txx9/smsc_fdc37m81x.h | 2 +-
include/asm-mips/txx9/tx3927.h | 25 +-
include/asm-mips/txx9/tx4927.h | 5 +-
include/asm-mips/txx9/tx4927pcic.h | 8 +-
include/asm-mips/txx9/tx4938.h | 7 +-
include/asm-mips/txx9/txx927.h | 121 -
include/asm-mips/txx9irq.h | 4 +
include/asm-mn10300/dma-mapping.h | 2 +-
include/asm-mn10300/kvm.h | 6 -
include/asm-mn10300/namei.h | 22 -
include/asm-mn10300/unistd.h | 6 +
include/asm-parisc/cacheflush.h | 4 +-
include/asm-parisc/dma-mapping.h | 2 +-
include/asm-parisc/kvm.h | 6 -
include/asm-parisc/namei.h | 17 -
include/asm-powerpc/cpm.h | 3 +
include/asm-powerpc/cpm2.h | 46 +-
include/asm-powerpc/dma-mapping.h | 2 +-
include/asm-powerpc/kvm_ppc.h | 3 +-
include/asm-powerpc/namei.h | 20 -
include/asm-powerpc/pgtable-4k.h | 2 +
include/asm-powerpc/pgtable-64k.h | 2 +
include/asm-powerpc/pgtable-ppc32.h | 3 +
include/asm-powerpc/pgtable-ppc64.h | 6 +-
include/asm-powerpc/ptrace.h | 1 +
include/asm-powerpc/signal.h | 3 +-
include/asm-powerpc/smp.h | 2 +
include/asm-powerpc/syscall.h | 84 +
include/asm-powerpc/thread_info.h | 5 +-
include/asm-powerpc/topology.h | 2 +
include/asm-s390/Kbuild | 1 -
include/asm-s390/hardirq.h | 14 +
include/asm-s390/ipl.h | 3 +-
include/asm-s390/kvm_host.h | 4 +-
include/asm-s390/namei.h | 21 -
include/asm-s390/schid.h | 1 +
include/asm-s390/setup.h | 1 -
include/asm-s390/unistd.h | 8 +-
include/asm-sh/.gitignore | 3 -
include/asm-sh/Kbuild | 8 -
include/asm-sh/a.out.h | 20 -
include/asm-sh/adc.h | 13 -
include/asm-sh/addrspace.h | 53 -
include/asm-sh/atomic-grb.h | 169 -
include/asm-sh/atomic-irq.h | 71 -
include/asm-sh/atomic-llsc.h | 107 -
include/asm-sh/atomic.h | 89 -
include/asm-sh/auxvec.h | 36 -
include/asm-sh/bitops-grb.h | 169 -
include/asm-sh/bitops-irq.h | 91 -
include/asm-sh/bitops.h | 103 -
include/asm-sh/bug.h | 79 -
include/asm-sh/bugs.h | 73 -
include/asm-sh/byteorder.h | 70 -
include/asm-sh/cache.h | 51 -
include/asm-sh/cacheflush.h | 81 -
include/asm-sh/checksum.h | 5 -
include/asm-sh/checksum_32.h | 215 -
include/asm-sh/checksum_64.h | 78 -
include/asm-sh/clock.h | 82 -
include/asm-sh/cmpxchg-grb.h | 70 -
include/asm-sh/cmpxchg-irq.h | 40 -
include/asm-sh/cpu-features.h | 25 -
include/asm-sh/cpu-sh2/addrspace.h | 19 -
include/asm-sh/cpu-sh2/cache.h | 41 -
include/asm-sh/cpu-sh2/cacheflush.h | 44 -
include/asm-sh/cpu-sh2/dma.h | 23 -
include/asm-sh/cpu-sh2/freq.h | 18 -
include/asm-sh/cpu-sh2/mmu_context.h | 16 -
include/asm-sh/cpu-sh2/rtc.h | 8 -
include/asm-sh/cpu-sh2/sigcontext.h | 17 -
include/asm-sh/cpu-sh2/timer.h | 6 -
include/asm-sh/cpu-sh2/ubc.h | 32 -
include/asm-sh/cpu-sh2/watchdog.h | 69 -
include/asm-sh/cpu-sh2a/addrspace.h | 10 -
include/asm-sh/cpu-sh2a/cache.h | 40 -
include/asm-sh/cpu-sh2a/cacheflush.h | 1 -
include/asm-sh/cpu-sh2a/dma.h | 1 -
include/asm-sh/cpu-sh2a/freq.h | 16 -
include/asm-sh/cpu-sh2a/mmu_context.h | 1 -
include/asm-sh/cpu-sh2a/rtc.h | 8 -
include/asm-sh/cpu-sh2a/timer.h | 1 -
include/asm-sh/cpu-sh2a/ubc.h | 1 -
include/asm-sh/cpu-sh2a/watchdog.h | 1 -
include/asm-sh/cpu-sh3/adc.h | 28 -
include/asm-sh/cpu-sh3/addrspace.h | 19 -
include/asm-sh/cpu-sh3/cache.h | 43 -
include/asm-sh/cpu-sh3/cacheflush.h | 70 -
include/asm-sh/cpu-sh3/dac.h | 41 -
include/asm-sh/cpu-sh3/dma.h | 51 -
include/asm-sh/cpu-sh3/freq.h | 27 -
include/asm-sh/cpu-sh3/gpio.h | 67 -
include/asm-sh/cpu-sh3/mmu_context.h | 44 -
include/asm-sh/cpu-sh3/rtc.h | 8 -
include/asm-sh/cpu-sh3/sigcontext.h | 17 -
include/asm-sh/cpu-sh3/timer.h | 67 -
include/asm-sh/cpu-sh3/ubc.h | 42 -
include/asm-sh/cpu-sh3/watchdog.h | 25 -
include/asm-sh/cpu-sh4/addrspace.h | 35 -
include/asm-sh/cpu-sh4/cache.h | 42 -
include/asm-sh/cpu-sh4/cacheflush.h | 44 -
include/asm-sh/cpu-sh4/dma-sh7780.h | 39 -
include/asm-sh/cpu-sh4/dma.h | 65 -
include/asm-sh/cpu-sh4/fpu.h | 32 -
include/asm-sh/cpu-sh4/freq.h | 40 -
include/asm-sh/cpu-sh4/mmu_context.h | 63 -
include/asm-sh/cpu-sh4/rtc.h | 13 -
include/asm-sh/cpu-sh4/sigcontext.h | 24 -
include/asm-sh/cpu-sh4/sq.h | 35 -
include/asm-sh/cpu-sh4/timer.h | 60 -
include/asm-sh/cpu-sh4/ubc.h | 64 -
include/asm-sh/cpu-sh4/watchdog.h | 25 -
include/asm-sh/cpu-sh5/addrspace.h | 11 -
include/asm-sh/cpu-sh5/cache.h | 97 -
include/asm-sh/cpu-sh5/cacheflush.h | 33 -
include/asm-sh/cpu-sh5/dma.h | 6 -
include/asm-sh/cpu-sh5/irq.h | 117 -
include/asm-sh/cpu-sh5/mmu_context.h | 21 -
include/asm-sh/cpu-sh5/registers.h | 106 -
include/asm-sh/cpu-sh5/rtc.h | 8 -
include/asm-sh/cpu-sh5/timer.h | 4 -
include/asm-sh/cputime.h | 6 -
include/asm-sh/current.h | 20 -
include/asm-sh/delay.h | 26 -
include/asm-sh/device.h | 7 -
include/asm-sh/div64.h | 1 -
include/asm-sh/dma-mapping.h | 192 -
include/asm-sh/dma.h | 166 -
include/asm-sh/dmabrg.h | 23 -
include/asm-sh/dreamcast/dma.h | 34 -
include/asm-sh/dreamcast/maple.h | 37 -
include/asm-sh/dreamcast/pci.h | 25 -
include/asm-sh/dreamcast/sysasic.h | 43 -
include/asm-sh/edosk7705.h | 30 -
include/asm-sh/elf.h | 193 -
include/asm-sh/emergency-restart.h | 6 -
include/asm-sh/entry-macros.S | 33 -
include/asm-sh/errno.h | 6 -
include/asm-sh/fb.h | 19 -
include/asm-sh/fcntl.h | 1 -
include/asm-sh/fixmap.h | 117 -
include/asm-sh/flat.h | 24 -
include/asm-sh/fpu.h | 55 -
include/asm-sh/freq.h | 18 -
include/asm-sh/futex-irq.h | 111 -
include/asm-sh/futex.h | 77 -
include/asm-sh/gpio.h | 19 -
include/asm-sh/hardirq.h | 16 -
include/asm-sh/hd64461.h | 250 -
include/asm-sh/hd64465/gpio.h | 46 -
include/asm-sh/hd64465/hd64465.h | 256 -
include/asm-sh/hd64465/io.h | 44 -
include/asm-sh/heartbeat.h | 17 -
include/asm-sh/hp6xx.h | 58 -
include/asm-sh/hugetlb.h | 92 -
include/asm-sh/hw_irq.h | 123 -
include/asm-sh/i2c-sh7760.h | 22 -
include/asm-sh/ilsel.h | 45 -
include/asm-sh/io.h | 366 --
include/asm-sh/io_generic.h | 49 -
include/asm-sh/io_trapped.h | 58 -
include/asm-sh/ioctl.h | 1 -
include/asm-sh/ioctls.h | 103 -
include/asm-sh/ipcbuf.h | 29 -
include/asm-sh/irq.h | 57 -
include/asm-sh/irq_regs.h | 1 -
include/asm-sh/irqflags.h | 34 -
include/asm-sh/irqflags_32.h | 99 -
include/asm-sh/irqflags_64.h | 85 -
include/asm-sh/kdebug.h | 9 -
include/asm-sh/kexec.h | 62 -
include/asm-sh/kgdb.h | 69 -
include/asm-sh/kmap_types.h | 32 -
include/asm-sh/kvm.h | 6 -
include/asm-sh/landisk/gio.h | 37 -
include/asm-sh/landisk/iodata_landisk.h | 42 -
include/asm-sh/lboxre2.h | 27 -
include/asm-sh/linkage.h | 7 -
include/asm-sh/local.h | 7 -
include/asm-sh/machvec.h | 70 -
include/asm-sh/magicpanelr2.h | 67 -
include/asm-sh/mc146818rtc.h | 7 -
include/asm-sh/microdev.h | 80 -
include/asm-sh/migor.h | 58 -
include/asm-sh/mman.h | 17 -
include/asm-sh/mmu.h | 72 -
include/asm-sh/mmu_context.h | 184 -
include/asm-sh/mmu_context_32.h | 47 -
include/asm-sh/mmu_context_64.h | 78 -
include/asm-sh/mmzone.h | 48 -
include/asm-sh/module.h | 44 -
include/asm-sh/msgbuf.h | 31 -
include/asm-sh/mutex.h | 9 -
include/asm-sh/namei.h | 17 -
include/asm-sh/page.h | 181 -
include/asm-sh/param.h | 22 -
include/asm-sh/parport.h | 16 -
include/asm-sh/pci.h | 144 -
include/asm-sh/percpu.h | 6 -
include/asm-sh/pgalloc.h | 96 -
include/asm-sh/pgtable.h | 152 -
include/asm-sh/pgtable_32.h | 477 --
include/asm-sh/pgtable_64.h | 314 --
include/asm-sh/pm.h | 17 -
include/asm-sh/poll.h | 1 -
include/asm-sh/posix_types.h | 13 -
include/asm-sh/posix_types_32.h | 122 -
include/asm-sh/posix_types_64.h | 131 -
include/asm-sh/processor.h | 65 -
include/asm-sh/processor_32.h | 219 -
include/asm-sh/processor_64.h | 279 -
include/asm-sh/ptrace.h | 125 -
include/asm-sh/push-switch.h | 31 -
include/asm-sh/r7780rp.h | 198 -
include/asm-sh/resource.h | 6 -
include/asm-sh/rtc.h | 16 -
include/asm-sh/rts7751r2d.h | 70 -
include/asm-sh/rwsem.h | 188 -
include/asm-sh/scatterlist.h | 27 -
include/asm-sh/sdk7780.h | 81 -
include/asm-sh/se.h | 82 -
include/asm-sh/se7206.h | 13 -
include/asm-sh/se7343.h | 82 -
include/asm-sh/se7721.h | 70 -
include/asm-sh/se7722.h | 116 -
include/asm-sh/se7751.h | 73 -
include/asm-sh/se7780.h | 108 -
include/asm-sh/sections.h | 11 -
include/asm-sh/segment.h | 6 -
include/asm-sh/sembuf.h | 25 -
include/asm-sh/serial.h | 36 -
include/asm-sh/setup.h | 27 -
include/asm-sh/sfp-machine.h | 84 -
include/asm-sh/sh03/io.h | 25 -
include/asm-sh/sh03/sh03.h | 18 -
include/asm-sh/sh7760fb.h | 197 -
include/asm-sh/sh_bios.h | 19 -
include/asm-sh/sh_keysc.h | 13 -
include/asm-sh/sh_mobile_lcdc.h | 66 -
include/asm-sh/shmbuf.h | 42 -
include/asm-sh/shmin.h | 9 -
include/asm-sh/shmparam.h | 22 -
include/asm-sh/sigcontext.h | 40 -
include/asm-sh/siginfo.h | 6 -
include/asm-sh/signal.h | 160 -
include/asm-sh/smc37c93x.h | 190 -
include/asm-sh/smp.h | 50 -
include/asm-sh/snapgear.h | 71 -
include/asm-sh/socket.h | 57 -
include/asm-sh/sockios.h | 14 -
include/asm-sh/sparsemem.h | 16 -
include/asm-sh/spi.h | 13 -
include/asm-sh/spinlock.h | 223 -
include/asm-sh/spinlock_types.h | 21 -
include/asm-sh/stat.h | 138 -
include/asm-sh/statfs.h | 6 -
include/asm-sh/string.h | 5 -
include/asm-sh/string_32.h | 131 -
include/asm-sh/string_64.h | 17 -
include/asm-sh/system.h | 198 -
include/asm-sh/system_32.h | 102 -
include/asm-sh/system_64.h | 40 -
include/asm-sh/systemh7751.h | 71 -
include/asm-sh/termbits.h | 198 -
include/asm-sh/termios.h | 90 -
include/asm-sh/thread_info.h | 139 -
include/asm-sh/timer.h | 45 -
include/asm-sh/timex.h | 18 -
include/asm-sh/titan.h | 17 -
include/asm-sh/tlb.h | 27 -
include/asm-sh/tlb_64.h | 77 -
include/asm-sh/tlbflush.h | 49 -
include/asm-sh/topology.h | 47 -
include/asm-sh/types.h | 35 -
include/asm-sh/uaccess.h | 34 -
include/asm-sh/uaccess_32.h | 489 --
include/asm-sh/uaccess_64.h | 285 --
include/asm-sh/ubc.h | 64 -
include/asm-sh/ucontext.h | 12 -
include/asm-sh/unaligned.h | 19 -
include/asm-sh/unistd.h | 5 -
include/asm-sh/unistd_32.h | 378 --
include/asm-sh/unistd_64.h | 417 --
include/asm-sh/user.h | 67 -
include/asm-sh/vga.h | 6 -
include/asm-sh/watchdog.h | 107 -
include/asm-sh/xor.h | 1 -
include/asm-sparc/Kbuild | 1 -
include/asm-sparc/agp.h | 20 -
include/asm-sparc/apb.h | 36 -
include/asm-sparc/apc.h | 64 -
include/asm-sparc/asi.h | 262 -
include/asm-sparc/asmmacro.h | 45 -
include/asm-sparc/atomic.h | 8 -
include/asm-sparc/atomic_32.h | 165 -
include/asm-sparc/atomic_64.h | 128 -
include/asm-sparc/auxio.h | 8 -
include/asm-sparc/auxio_32.h | 89 -
include/asm-sparc/auxio_64.h | 100 -
include/asm-sparc/auxvec.h | 4 -
include/asm-sparc/backoff.h | 31 -
include/asm-sparc/bbc.h | 225 -
include/asm-sparc/bitext.h | 27 -
include/asm-sparc/bitops.h | 8 -
include/asm-sparc/bitops_32.h | 111 -
include/asm-sparc/bitops_64.h | 107 -
include/asm-sparc/bpp.h | 73 -
include/asm-sparc/btfixup.h | 208 -
include/asm-sparc/bug.h | 22 -
include/asm-sparc/bugs.h | 24 -
include/asm-sparc/byteorder.h | 57 -
include/asm-sparc/cache.h | 138 -
include/asm-sparc/cacheflush.h | 8 -
include/asm-sparc/cacheflush_32.h | 85 -
include/asm-sparc/cacheflush_64.h | 76 -
include/asm-sparc/chafsr.h | 241 -
include/asm-sparc/checksum.h | 8 -
include/asm-sparc/checksum_32.h | 241 -
include/asm-sparc/checksum_64.h | 167 -
include/asm-sparc/chmctrl.h | 183 -
include/asm-sparc/clock.h | 11 -
include/asm-sparc/cmt.h | 59 -
include/asm-sparc/compat.h | 243 -
include/asm-sparc/compat_signal.h | 29 -
include/asm-sparc/contregs.h | 53 -
include/asm-sparc/cpudata.h | 8 -
include/asm-sparc/cpudata_32.h | 27 -
include/asm-sparc/cpudata_64.h | 240 -
include/asm-sparc/cputime.h | 6 -
include/asm-sparc/current.h | 34 -
include/asm-sparc/cypress.h | 79 -
include/asm-sparc/dcr.h | 14 -
include/asm-sparc/dcu.h | 27 -
include/asm-sparc/delay.h | 8 -
include/asm-sparc/delay_32.h | 34 -
include/asm-sparc/delay_64.h | 17 -
include/asm-sparc/device.h | 23 -
include/asm-sparc/display7seg.h | 79 -
include/asm-sparc/div64.h | 1 -
include/asm-sparc/dma-mapping.h | 8 -
include/asm-sparc/dma-mapping_32.h | 11 -
include/asm-sparc/dma-mapping_64.h | 154 -
include/asm-sparc/dma.h | 8 -
include/asm-sparc/dma_32.h | 288 --
include/asm-sparc/dma_64.h | 205 -
include/asm-sparc/ebus.h | 8 -
include/asm-sparc/ebus_32.h | 99 -
include/asm-sparc/ebus_64.h | 94 -
include/asm-sparc/ecc.h | 122 -
include/asm-sparc/eeprom.h | 9 -
include/asm-sparc/elf.h | 8 -
include/asm-sparc/elf_32.h | 145 -
include/asm-sparc/elf_64.h | 217 -
include/asm-sparc/emergency-restart.h | 6 -
include/asm-sparc/envctrl.h | 103 -
include/asm-sparc/errno.h | 113 -
include/asm-sparc/estate.h | 49 -
include/asm-sparc/fb.h | 29 -
include/asm-sparc/fbio.h | 330 --
include/asm-sparc/fcntl.h | 40 -
include/asm-sparc/fhc.h | 121 -
include/asm-sparc/fixmap.h | 110 -
include/asm-sparc/floppy.h | 8 -
include/asm-sparc/floppy_32.h | 388 --
include/asm-sparc/floppy_64.h | 782 ---
include/asm-sparc/fpumacro.h | 33 -
include/asm-sparc/futex.h | 8 -
include/asm-sparc/futex_32.h | 6 -
include/asm-sparc/futex_64.h | 110 -
include/asm-sparc/hardirq.h | 8 -
include/asm-sparc/hardirq_32.h | 23 -
include/asm-sparc/hardirq_64.h | 19 -
include/asm-sparc/head.h | 8 -
include/asm-sparc/head_32.h | 102 -
include/asm-sparc/head_64.h | 76 -
include/asm-sparc/highmem.h | 81 -
include/asm-sparc/hugetlb.h | 85 -
include/asm-sparc/hvtramp.h | 37 -
include/asm-sparc/hw_irq.h | 6 -
include/asm-sparc/hypervisor.h | 2949 -----------
include/asm-sparc/ide.h | 97 -
include/asm-sparc/idprom.h | 25 -
include/asm-sparc/intr_queue.h | 15 -
include/asm-sparc/io-unit.h | 62 -
include/asm-sparc/io.h | 8 -
include/asm-sparc/io_32.h | 326 --
include/asm-sparc/io_64.h | 511 --
include/asm-sparc/ioctl.h | 67 -
include/asm-sparc/ioctls.h | 136 -
include/asm-sparc/iommu.h | 8 -
include/asm-sparc/iommu_32.h | 121 -
include/asm-sparc/iommu_64.h | 62 -
include/asm-sparc/ipcbuf.h | 8 -
include/asm-sparc/ipcbuf_32.h | 31 -
include/asm-sparc/ipcbuf_64.h | 28 -
include/asm-sparc/irq.h | 8 -
include/asm-sparc/irq_32.h | 15 -
include/asm-sparc/irq_64.h | 93 -
include/asm-sparc/irq_regs.h | 1 -
include/asm-sparc/irqflags.h | 8 -
include/asm-sparc/irqflags_32.h | 39 -
include/asm-sparc/irqflags_64.h | 89 -
include/asm-sparc/jsflash.h | 39 -
include/asm-sparc/kdebug.h | 8 -
include/asm-sparc/kdebug_32.h | 73 -
include/asm-sparc/kdebug_64.h | 19 -
include/asm-sparc/kgdb.h | 38 -
include/asm-sparc/kmap_types.h | 25 -
include/asm-sparc/kprobes.h | 49 -
include/asm-sparc/kvm.h | 6 -
include/asm-sparc/ldc.h | 138 -
include/asm-sparc/linkage.h | 6 -
include/asm-sparc/lmb.h | 10 -
include/asm-sparc/local.h | 6 -
include/asm-sparc/lsu.h | 19 -
include/asm-sparc/machines.h | 67 -
include/asm-sparc/mbus.h | 100 -
include/asm-sparc/mc146818rtc.h | 8 -
include/asm-sparc/mc146818rtc_32.h | 29 -
include/asm-sparc/mc146818rtc_64.h | 34 -
include/asm-sparc/mdesc.h | 78 -
include/asm-sparc/memreg.h | 51 -
include/asm-sparc/mman.h | 31 -
include/asm-sparc/mmu.h | 8 -
include/asm-sparc/mmu_32.h | 7 -
include/asm-sparc/mmu_64.h | 123 -
include/asm-sparc/mmu_context.h | 8 -
include/asm-sparc/mmu_context_32.h | 42 -
include/asm-sparc/mmu_context_64.h | 155 -
include/asm-sparc/mmzone.h | 17 -
include/asm-sparc/module.h | 8 -
include/asm-sparc/module_32.h | 7 -
include/asm-sparc/module_64.h | 7 -
include/asm-sparc/mostek.h | 8 -
include/asm-sparc/mostek_32.h | 171 -
include/asm-sparc/mostek_64.h | 143 -
include/asm-sparc/mpmbox.h | 67 -
include/asm-sparc/msgbuf.h | 38 -
include/asm-sparc/msi.h | 31 -
include/asm-sparc/mutex.h | 9 -
include/asm-sparc/mxcc.h | 137 -
include/asm-sparc/namei.h | 8 -
include/asm-sparc/namei_32.h | 13 -
include/asm-sparc/namei_64.h | 13 -
include/asm-sparc/ns87303.h | 118 -
include/asm-sparc/obio.h | 249 -
include/asm-sparc/of_device.h | 38 -
include/asm-sparc/of_platform.h | 8 -
include/asm-sparc/of_platform_32.h | 24 -
include/asm-sparc/of_platform_64.h | 25 -
include/asm-sparc/openprom.h | 8 -
include/asm-sparc/openprom_32.h | 255 -
include/asm-sparc/openprom_64.h | 280 -
include/asm-sparc/openpromio.h | 69 -
include/asm-sparc/oplib.h | 8 -
include/asm-sparc/oplib_32.h | 272 -
include/asm-sparc/oplib_64.h | 322 --
include/asm-sparc/page.h | 8 -
include/asm-sparc/page_32.h | 160 -
include/asm-sparc/page_64.h | 135 -
include/asm-sparc/param.h | 22 -
include/asm-sparc/parport.h | 246 -
include/asm-sparc/pbm.h | 47 -
include/asm-sparc/pci.h | 8 -
include/asm-sparc/pci_32.h | 170 -
include/asm-sparc/pci_64.h | 209 -
include/asm-sparc/pcic.h | 123 -
include/asm-sparc/percpu.h | 8 -
include/asm-sparc/percpu_32.h | 6 -
include/asm-sparc/percpu_64.h | 28 -
include/asm-sparc/perfctr.h | 173 -
include/asm-sparc/pgalloc.h | 8 -
include/asm-sparc/pgalloc_32.h | 68 -
include/asm-sparc/pgalloc_64.h | 81 -
include/asm-sparc/pgtable.h | 8 -
include/asm-sparc/pgtable_32.h | 480 --
include/asm-sparc/pgtable_64.h | 775 ---
include/asm-sparc/pgtsrmmu.h | 298 --
include/asm-sparc/pgtsun4.h | 171 -
include/asm-sparc/pgtsun4c.h | 172 -
include/asm-sparc/pil.h | 22 -
include/asm-sparc/poll.h | 12 -
include/asm-sparc/posix_types.h | 8 -
include/asm-sparc/posix_types_32.h | 118 -
include/asm-sparc/posix_types_64.h | 122 -
include/asm-sparc/processor.h | 8 -
include/asm-sparc/processor_32.h | 128 -
include/asm-sparc/processor_64.h | 237 -
include/asm-sparc/prom.h | 108 -
include/asm-sparc/psr.h | 93 -
include/asm-sparc/psrcompat.h | 45 -
include/asm-sparc/pstate.h | 91 -
include/asm-sparc/ptrace.h | 8 -
include/asm-sparc/ptrace_32.h | 175 -
include/asm-sparc/ptrace_64.h | 346 --
include/asm-sparc/reboot.h | 6 -
include/asm-sparc/reg.h | 8 -
include/asm-sparc/reg_32.h | 79 -
include/asm-sparc/reg_64.h | 56 -
include/asm-sparc/resource.h | 30 -
include/asm-sparc/ross.h | 191 -
include/asm-sparc/rtc.h | 26 -
include/asm-sparc/rwsem-const.h | 12 -
include/asm-sparc/rwsem.h | 84 -
include/asm-sparc/sbi.h | 115 -
include/asm-sparc/sbus.h | 8 -
include/asm-sparc/sbus_32.h | 153 -
include/asm-sparc/sbus_64.h | 190 -
include/asm-sparc/scatterlist.h | 8 -
include/asm-sparc/scatterlist_32.h | 26 -
include/asm-sparc/scatterlist_64.h | 27 -
include/asm-sparc/scratchpad.h | 14 -
include/asm-sparc/seccomp.h | 21 -
include/asm-sparc/sections.h | 8 -
include/asm-sparc/sections_32.h | 6 -
include/asm-sparc/sections_64.h | 9 -
include/asm-sparc/sembuf.h | 31 -
include/asm-sparc/setup.h | 14 -
include/asm-sparc/sfafsr.h | 82 -
include/asm-sparc/sfp-machine.h | 8 -
include/asm-sparc/sfp-machine_32.h | 212 -
include/asm-sparc/sfp-machine_64.h | 93 -
include/asm-sparc/shmbuf.h | 50 -
include/asm-sparc/shmparam.h | 8 -
include/asm-sparc/shmparam_32.h | 11 -
include/asm-sparc/shmparam_64.h | 10 -
include/asm-sparc/sigcontext.h | 8 -
include/asm-sparc/sigcontext_32.h | 62 -
include/asm-sparc/sigcontext_64.h | 87 -
include/asm-sparc/siginfo.h | 8 -
include/asm-sparc/siginfo_32.h | 17 -
include/asm-sparc/siginfo_64.h | 32 -
include/asm-sparc/signal.h | 8 -
include/asm-sparc/signal_32.h | 207 -
include/asm-sparc/signal_64.h | 194 -
include/asm-sparc/smp.h | 8 -
include/asm-sparc/smp_32.h | 173 -
include/asm-sparc/smp_64.h | 67 -
include/asm-sparc/smpprim.h | 54 -
include/asm-sparc/socket.h | 58 -
include/asm-sparc/sockios.h | 14 -
include/asm-sparc/sparsemem.h | 12 -
include/asm-sparc/spinlock.h | 8 -
include/asm-sparc/spinlock_32.h | 192 -
include/asm-sparc/spinlock_64.h | 250 -
include/asm-sparc/spinlock_types.h | 20 -
include/asm-sparc/spitfire.h | 342 --
include/asm-sparc/sstate.h | 13 -
include/asm-sparc/stacktrace.h | 6 -
include/asm-sparc/starfire.h | 21 -
include/asm-sparc/stat.h | 8 -
include/asm-sparc/stat_32.h | 76 -
include/asm-sparc/stat_64.h | 47 -
include/asm-sparc/statfs.h | 8 -
include/asm-sparc/statfs_32.h | 6 -
include/asm-sparc/statfs_64.h | 54 -
include/asm-sparc/string.h | 8 -
include/asm-sparc/string_32.h | 205 -
include/asm-sparc/string_64.h | 83 -
include/asm-sparc/sun4paddr.h | 56 -
include/asm-sparc/sun4prom.h | 83 -
include/asm-sparc/sunbpp.h | 80 -
include/asm-sparc/swift.h | 106 -
include/asm-sparc/syscalls.h | 13 -
include/asm-sparc/sysen.h | 15 -
include/asm-sparc/system.h | 8 -
include/asm-sparc/system_32.h | 288 --
include/asm-sparc/system_64.h | 355 --
include/asm-sparc/termbits.h | 266 -
include/asm-sparc/termios.h | 186 -
include/asm-sparc/thread_info.h | 8 -
include/asm-sparc/thread_info_32.h | 153 -
include/asm-sparc/thread_info_64.h | 279 -
include/asm-sparc/timer.h | 8 -
include/asm-sparc/timer_32.h | 107 -
include/asm-sparc/timer_64.h | 30 -
include/asm-sparc/timex.h | 8 -
include/asm-sparc/timex_32.h | 15 -
include/asm-sparc/timex_64.h | 19 -
include/asm-sparc/tlb.h | 8 -
include/asm-sparc/tlb_32.h | 24 -
include/asm-sparc/tlb_64.h | 111 -
include/asm-sparc/tlbflush.h | 8 -
include/asm-sparc/tlbflush_32.h | 60 -
include/asm-sparc/tlbflush_64.h | 44 -
include/asm-sparc/topology.h | 8 -
include/asm-sparc/topology_32.h | 6 -
include/asm-sparc/topology_64.h | 86 -
include/asm-sparc/traps.h | 140 -
include/asm-sparc/tsb.h | 283 --
include/asm-sparc/tsunami.h | 64 -
include/asm-sparc/ttable.h | 658 ---
include/asm-sparc/turbosparc.h | 125 -
include/asm-sparc/types.h | 62 -
include/asm-sparc/uaccess.h | 8 -
include/asm-sparc/uaccess_32.h | 336 --
include/asm-sparc/uaccess_64.h | 273 -
include/asm-sparc/uctx.h | 71 -
include/asm-sparc/unaligned.h | 10 -
include/asm-sparc/unistd.h | 8 -
include/asm-sparc/unistd_32.h | 378 --
include/asm-sparc/unistd_64.h | 373 --
include/asm-sparc/upa.h | 109 -
include/asm-sparc/user.h | 6 -
include/asm-sparc/utrap.h | 51 -
include/asm-sparc/vac-ops.h | 134 -
include/asm-sparc/vaddrs.h | 64 -
include/asm-sparc/vfc_ioctls.h | 58 -
include/asm-sparc/vga.h | 33 -
include/asm-sparc/viking.h | 253 -
include/asm-sparc/vio.h | 406 --
include/asm-sparc/visasm.h | 62 -
include/asm-sparc/watchdog.h | 31 -
include/asm-sparc/winmacro.h | 135 -
include/asm-sparc/xor.h | 8 -
include/asm-sparc/xor_32.h | 269 -
include/asm-sparc/xor_64.h | 70 -
include/asm-sparc64/Kbuild | 1 -
include/asm-sparc64/agp.h | 1 -
include/asm-sparc64/apb.h | 1 -
include/asm-sparc64/asi.h | 1 -
include/asm-sparc64/atomic.h | 1 -
include/asm-sparc64/auxio.h | 1 -
include/asm-sparc64/auxvec.h | 1 -
include/asm-sparc64/backoff.h | 1 -
include/asm-sparc64/bbc.h | 1 -
include/asm-sparc64/bitops.h | 1 -
include/asm-sparc64/bpp.h | 1 -
include/asm-sparc64/bug.h | 1 -
include/asm-sparc64/bugs.h | 1 -
include/asm-sparc64/byteorder.h | 1 -
include/asm-sparc64/cache.h | 1 -
include/asm-sparc64/cacheflush.h | 1 -
include/asm-sparc64/chafsr.h | 1 -
include/asm-sparc64/checksum.h | 1 -
include/asm-sparc64/chmctrl.h | 1 -
include/asm-sparc64/cmt.h | 1 -
include/asm-sparc64/compat.h | 1 -
include/asm-sparc64/compat_signal.h | 1 -
include/asm-sparc64/cpudata.h | 1 -
include/asm-sparc64/cputime.h | 1 -
include/asm-sparc64/current.h | 1 -
include/asm-sparc64/dcr.h | 1 -
include/asm-sparc64/dcu.h | 1 -
include/asm-sparc64/delay.h | 1 -
include/asm-sparc64/device.h | 1 -
include/asm-sparc64/display7seg.h | 1 -
include/asm-sparc64/div64.h | 1 -
include/asm-sparc64/dma-mapping.h | 1 -
include/asm-sparc64/dma.h | 1 -
include/asm-sparc64/ebus.h | 1 -
include/asm-sparc64/elf.h | 1 -
include/asm-sparc64/emergency-restart.h | 1 -
include/asm-sparc64/envctrl.h | 1 -
include/asm-sparc64/errno.h | 1 -
include/asm-sparc64/estate.h | 1 -
include/asm-sparc64/fb.h | 1 -
include/asm-sparc64/fbio.h | 1 -
include/asm-sparc64/fcntl.h | 1 -
include/asm-sparc64/fhc.h | 1 -
include/asm-sparc64/floppy.h | 1 -
include/asm-sparc64/fpumacro.h | 1 -
include/asm-sparc64/ftrace.h | 14 -
include/asm-sparc64/futex.h | 1 -
include/asm-sparc64/hardirq.h | 1 -
include/asm-sparc64/head.h | 1 -
include/asm-sparc64/hugetlb.h | 1 -
include/asm-sparc64/hvtramp.h | 1 -
include/asm-sparc64/hw_irq.h | 1 -
include/asm-sparc64/hypervisor.h | 1 -
include/asm-sparc64/ide.h | 1 -
include/asm-sparc64/idprom.h | 1 -
include/asm-sparc64/intr_queue.h | 1 -
include/asm-sparc64/io.h | 1 -
include/asm-sparc64/ioctl.h | 1 -
include/asm-sparc64/ioctls.h | 1 -
include/asm-sparc64/iommu.h | 1 -
include/asm-sparc64/ipcbuf.h | 1 -
include/asm-sparc64/irq.h | 1 -
include/asm-sparc64/irq_regs.h | 1 -
include/asm-sparc64/irqflags.h | 1 -
include/asm-sparc64/kdebug.h | 1 -
include/asm-sparc64/kgdb.h | 1 -
include/asm-sparc64/kmap_types.h | 1 -
include/asm-sparc64/kprobes.h | 1 -
include/asm-sparc64/kvm.h | 1 -
include/asm-sparc64/ldc.h | 1 -
include/asm-sparc64/linkage.h | 1 -
include/asm-sparc64/lmb.h | 1 -
include/asm-sparc64/local.h | 1 -
include/asm-sparc64/lsu.h | 1 -
include/asm-sparc64/mc146818rtc.h | 1 -
include/asm-sparc64/mdesc.h | 1 -
include/asm-sparc64/mman.h | 1 -
include/asm-sparc64/mmu.h | 1 -
include/asm-sparc64/mmu_context.h | 1 -
include/asm-sparc64/mmzone.h | 1 -
include/asm-sparc64/module.h | 1 -
include/asm-sparc64/mostek.h | 1 -
include/asm-sparc64/msgbuf.h | 1 -
include/asm-sparc64/mutex.h | 1 -
include/asm-sparc64/namei.h | 1 -
include/asm-sparc64/ns87303.h | 1 -
include/asm-sparc64/of_device.h | 1 -
include/asm-sparc64/of_platform.h | 1 -
include/asm-sparc64/openprom.h | 1 -
include/asm-sparc64/openpromio.h | 1 -
include/asm-sparc64/oplib.h | 1 -
include/asm-sparc64/page.h | 1 -
include/asm-sparc64/param.h | 1 -
include/asm-sparc64/parport.h | 1 -
include/asm-sparc64/pci.h | 1 -
include/asm-sparc64/percpu.h | 1 -
include/asm-sparc64/perfctr.h | 1 -
include/asm-sparc64/pgalloc.h | 1 -
include/asm-sparc64/pgtable.h | 1 -
include/asm-sparc64/pil.h | 1 -
include/asm-sparc64/poll.h | 1 -
include/asm-sparc64/posix_types.h | 1 -
include/asm-sparc64/processor.h | 1 -
include/asm-sparc64/prom.h | 1 -
include/asm-sparc64/psrcompat.h | 1 -
include/asm-sparc64/pstate.h | 1 -
include/asm-sparc64/ptrace.h | 1 -
include/asm-sparc64/reboot.h | 1 -
include/asm-sparc64/reg.h | 1 -
include/asm-sparc64/resource.h | 1 -
include/asm-sparc64/rtc.h | 1 -
include/asm-sparc64/rwsem-const.h | 1 -
include/asm-sparc64/rwsem.h | 1 -
include/asm-sparc64/sbus.h | 1 -
include/asm-sparc64/scatterlist.h | 1 -
include/asm-sparc64/scratchpad.h | 1 -
include/asm-sparc64/seccomp.h | 1 -
include/asm-sparc64/sections.h | 1 -
include/asm-sparc64/sembuf.h | 1 -
include/asm-sparc64/setup.h | 1 -
include/asm-sparc64/sfafsr.h | 1 -
include/asm-sparc64/sfp-machine.h | 1 -
include/asm-sparc64/shmbuf.h | 1 -
include/asm-sparc64/shmparam.h | 1 -
include/asm-sparc64/sigcontext.h | 1 -
include/asm-sparc64/siginfo.h | 1 -
include/asm-sparc64/signal.h | 1 -
include/asm-sparc64/smp.h | 1 -
include/asm-sparc64/socket.h | 1 -
include/asm-sparc64/sockios.h | 1 -
include/asm-sparc64/sparsemem.h | 1 -
include/asm-sparc64/spinlock.h | 1 -
include/asm-sparc64/spinlock_types.h | 1 -
include/asm-sparc64/spitfire.h | 1 -
include/asm-sparc64/sstate.h | 1 -
include/asm-sparc64/stacktrace.h | 1 -
include/asm-sparc64/starfire.h | 1 -
include/asm-sparc64/stat.h | 1 -
include/asm-sparc64/statfs.h | 1 -
include/asm-sparc64/string.h | 1 -
include/asm-sparc64/sunbpp.h | 1 -
include/asm-sparc64/syscalls.h | 1 -
include/asm-sparc64/system.h | 1 -
include/asm-sparc64/termbits.h | 1 -
include/asm-sparc64/termios.h | 1 -
include/asm-sparc64/thread_info.h | 1 -
include/asm-sparc64/timer.h | 1 -
include/asm-sparc64/timex.h | 1 -
include/asm-sparc64/tlb.h | 1 -
include/asm-sparc64/tlbflush.h | 1 -
include/asm-sparc64/topology.h | 1 -
include/asm-sparc64/tsb.h | 1 -
include/asm-sparc64/ttable.h | 1 -
include/asm-sparc64/types.h | 1 -
include/asm-sparc64/uaccess.h | 1 -
include/asm-sparc64/uctx.h | 1 -
include/asm-sparc64/unaligned.h | 1 -
include/asm-sparc64/unistd.h | 1 -
include/asm-sparc64/upa.h | 1 -
include/asm-sparc64/user.h | 1 -
include/asm-sparc64/utrap.h | 1 -
include/asm-sparc64/vga.h | 1 -
include/asm-sparc64/vio.h | 1 -
include/asm-sparc64/visasm.h | 1 -
include/asm-sparc64/watchdog.h | 1 -
include/asm-sparc64/xor.h | 1 -
include/asm-um/kvm.h | 6 -
include/asm-um/namei.h | 6 -
include/asm-v850/namei.h | 17 -
include/asm-x86/Kbuild | 1 -
include/asm-x86/device.h | 3 +
include/asm-x86/dma-mapping.h | 121 +-
include/asm-x86/gpio.h | 6 -
include/asm-x86/iommu.h | 3 +
include/asm-x86/kexec.h | 18 +-
include/asm-x86/kvm_host.h | 7 +
include/asm-x86/mach-summit/mach_apic.h | 2 +-
include/asm-x86/namei.h | 11 -
include/asm-x86/pgtable.h | 9 +-
include/asm-x86/swiotlb.h | 2 +-
include/asm-x86/uaccess.h | 1 +
include/asm-xtensa/dma-mapping.h | 2 +-
include/asm-xtensa/kvm.h | 6 -
include/asm-xtensa/namei.h | 26 -
include/linux/Kbuild | 3 +
include/linux/aio.h | 1 -
include/linux/blkdev.h | 1 +
include/linux/bootmem.h | 9 +-
include/linux/buffer_head.h | 2 +
include/linux/coda_linux.h | 2 +-
include/linux/configfs.h | 68 +-
include/linux/connector.h | 3 +-
include/linux/consolemap.h | 14 +
include/linux/cpufreq.h | 1 +
include/linux/cpumask.h | 63 +-
include/linux/crash_dump.h | 6 +
include/linux/dcache.h | 1 +
include/linux/file.h | 3 +-
include/linux/fs.h | 103 +-
include/linux/fs_struct.h | 3 +-
include/linux/hugetlb.h | 5 +-
include/linux/i2o.h | 2 +-
include/linux/init.h | 7 +
include/linux/ioport.h | 4 +
include/linux/ip_vs.h | 245 +
include/linux/jffs2.h | 3 -
include/linux/kallsyms.h | 3 +-
include/linux/kernel.h | 6 +
include/linux/kexec.h | 17 +-
include/linux/kvm.h | 1 +
include/linux/kvm_host.h | 24 +
include/linux/libata.h | 9 +-
include/linux/mISDNdsp.h | 37 +
include/linux/mISDNhw.h | 193 +
include/linux/mISDNif.h | 487 ++
include/linux/maple.h | 8 +-
include/linux/memstick.h | 6 +-
include/linux/mfd/core.h | 30 +-
include/linux/mlx4/qp.h | 4 +-
include/linux/mm.h | 40 +-
include/linux/mm_types.h | 4 +
include/linux/mmc/card.h | 2 +
include/linux/mmc/host.h | 2 +
include/linux/mmu_notifier.h | 279 +
include/linux/mount.h | 5 +-
include/linux/mtd/blktrans.h | 2 -
include/linux/mtd/cfi.h | 1 -
include/linux/mtd/cfi_endian.h | 5 -
include/linux/mtd/concat.h | 2 -
include/linux/mtd/doc2000.h | 2 -
include/linux/mtd/flashchip.h | 3 -
include/linux/mtd/ftl.h | 2 -
include/linux/mtd/gen_probe.h | 1 -
include/linux/mtd/inftl.h | 4 -
include/linux/mtd/map.h | 1 -
include/linux/mtd/mtd.h | 8 +-
include/linux/mtd/nand.h | 9 +-
include/linux/mtd/nand_ecc.h | 2 -
include/linux/mtd/nftl.h | 2 -
include/linux/mtd/partitions.h | 2 -
include/linux/mtd/physmap.h | 2 -
include/linux/mtd/plat-ram.h | 2 -
include/linux/mtd/pmc551.h | 4 +-
include/linux/mtd/xip.h | 2 -
include/linux/namei.h | 19 +-
include/linux/netdevice.h | 86 +-
include/linux/netfilter/nf_conntrack_tcp.h | 3 +
include/linux/nfs_fs.h | 3 +-
include/linux/of.h | 1 +
include/linux/of_spi.h | 18 +
include/linux/page-flags.h | 3 -
include/linux/pagemap.h | 135 +-
include/linux/parport.h | 3 +
include/linux/pci-aspm.h | 5 +
include/linux/pci.h | 2 +
include/linux/pci_ids.h | 34 +
include/linux/pci_regs.h | 1 +
include/linux/percpu.h | 29 -
include/linux/power_supply.h | 1 +
include/linux/proc_fs.h | 5 +
include/linux/ptrace.h | 72 +
include/linux/quotaops.h | 2 +
include/linux/radix-tree.h | 12 +-
include/linux/raid/md_k.h | 1 +
include/linux/rculist.h | 28 +
include/linux/regulator/bq24022.h | 21 +
include/linux/regulator/consumer.h | 284 ++
include/linux/regulator/driver.h | 99 +
include/linux/regulator/fixed.h | 22 +
include/linux/regulator/machine.h | 104 +
include/linux/reiserfs_xattr.h | 2 +-
include/linux/relay.h | 5 +
include/linux/rfkill.h | 8 +-
include/linux/rmap.h | 8 +
include/linux/rtc.h | 2 -
include/linux/rtnetlink.h | 7 -
include/linux/sched.h | 43 +-
include/linux/security.h | 7 +-
include/linux/serio.h | 3 +-
include/linux/shmem_fs.h | 2 +-
include/linux/skbuff.h | 6 +-
include/linux/slab.h | 3 +-
include/linux/slub_def.h | 2 +-
include/linux/smp.h | 5 -
include/linux/snmp.h | 2 +
include/linux/socket.h | 4 +-
include/linux/spi/spi.h | 12 +
include/linux/ssb/ssb.h | 4 +-
include/linux/stop_machine.h | 50 +-
include/linux/suspend.h | 2 +
include/linux/swap.h | 3 -
include/linux/syscalls.h | 2 +-
include/linux/sysctl.h | 25 +-
include/linux/task_io_accounting.h | 18 +-
include/linux/task_io_accounting_ops.h | 46 +-
include/linux/tracehook.h | 581 +++
include/linux/videodev.h | 15 +
include/linux/videodev2.h | 386 +-
include/linux/videotext.h | 16 +-
include/linux/vt_kern.h | 19 +
include/media/audiochip.h | 26 -
include/media/saa7146_vv.h | 1 +
include/media/tveeprom.h | 7 +-
include/media/v4l2-chip-ident.h | 7 +-
include/media/v4l2-common.h | 31 +-
include/media/v4l2-dev.h | 325 +--
include/media/v4l2-ioctl.h | 301 ++
include/mtd/inftl-user.h | 2 -
include/mtd/jffs2-user.h | 2 -
include/mtd/mtd-abi.h | 2 -
include/mtd/mtd-user.h | 2 -
include/mtd/nftl-user.h | 2 -
include/net/af_unix.h | 2 +-
include/net/ip.h | 2 +
include/net/ip_vs.h | 253 +-
include/net/ipcomp.h | 6 +
include/net/ipv6.h | 2 +
include/net/mac80211.h | 7 -
include/net/net_namespace.h | 4 +-
include/net/request_sock.h | 5 +-
include/net/route.h | 2 -
include/rdma/ib_verbs.h | 2 +-
include/scsi/scsi.h | 3 +
include/scsi/scsi_cmnd.h | 86 +
include/scsi/scsi_device.h | 17 +-
include/scsi/scsi_dh.h | 11 +
include/scsi/scsi_eh.h | 2 +
include/scsi/scsi_host.h | 86 +-
include/sound/soc-dapm.h | 3 +
include/video/atmel_lcdc.h | 1 +
init/Kconfig | 10 +-
init/calibrate.c | 2 +-
init/do_mounts.c | 2 +-
init/do_mounts.h | 1 -
init/main.c | 27 +-
ipc/mqueue.c | 4 +-
kernel/Makefile | 1 +
kernel/audit.c | 13 +-
kernel/auditfilter.c | 10 +-
kernel/auditsc.c | 4 +-
kernel/cgroup.c | 42 +-
kernel/cpu.c | 41 +-
kernel/cpuset.c | 71 +-
kernel/dma-coherent.c | 154 +
kernel/exec_domain.c | 1 -
kernel/exit.c | 85 +-
kernel/fork.c | 101 +-
kernel/irq/chip.c | 12 +-
kernel/irq/manage.c | 3 +-
kernel/kexec.c | 104 +-
kernel/kgdb.c | 94 +-
kernel/kthread.c | 2 +-
kernel/marker.c | 12 +-
kernel/module.c | 33 +-
kernel/mutex.c | 1 +
kernel/power/main.c | 7 +
kernel/power/power.h | 2 -
kernel/printk.c | 8 +-
kernel/ptrace.c | 2 +-
kernel/rcuclassic.c | 4 +-
kernel/relay.c | 170 +-
kernel/resource.c | 2 +-
kernel/sched.c | 56 +-
kernel/signal.c | 99 +-
kernel/smp.c | 4 +-
kernel/softirq.c | 3 +-
kernel/softlockup.c | 25 +-
kernel/stop_machine.c | 288 +-
kernel/sys.c | 31 +-
kernel/sys_ni.c | 1 +
kernel/sysctl.c | 168 +-
kernel/time/tick-common.c | 8 +-
kernel/trace/ftrace.c | 6 +-
kernel/trace/trace.c | 4 -
kernel/trace/trace_irqsoff.c | 8 +-
kernel/trace/trace_sched_wakeup.c | 27 +-
kernel/trace/trace_sysprof.c | 4 +-
kernel/tsacct.c | 8 +-
kernel/workqueue.c | 13 +-
lib/Kconfig.kgdb | 11 +-
lib/Makefile | 4 +-
lib/debugobjects.c | 15 +-
lib/idr.c | 2 +-
lib/iomap.c | 3 +-
lib/kobject_uevent.c | 6 +-
lib/plist.c | 13 +-
lib/radix-tree.c | 180 +-
lib/random32.c | 48 +-
lib/ratelimit.c | 3 +-
lib/show_mem.c | 63 +
lib/smp_processor_id.c | 5 +-
lib/swiotlb.c | 4 +-
lib/syscall.c | 75 +
mm/Kconfig | 6 +
mm/Makefile | 1 +
mm/allocpercpu.c | 20 +-
mm/filemap.c | 244 +-
mm/filemap_xip.c | 5 +-
mm/fremap.c | 3 +
mm/hugetlb.c | 15 +-
mm/madvise.c | 4 +-
mm/memcontrol.c | 3 -
mm/memory.c | 61 +-
mm/migrate.c | 29 +-
mm/mmap.c | 160 +
mm/mmu_notifier.c | 277 +
mm/mprotect.c | 3 +
mm/mremap.c | 6 +
mm/nommu.c | 4 +-
mm/page-writeback.c | 12 +-
mm/page_alloc.c | 21 +-
mm/readahead.c | 6 +-
mm/rmap.c | 18 +-
mm/shmem.c | 11 +-
mm/shmem_acl.c | 2 +-
mm/slab.c | 11 +-
mm/slob.c | 7 +-
mm/slub.c | 13 +-
mm/sparse.c | 2 +-
mm/swap.c | 7 +-
mm/swap_state.c | 30 +-
mm/swapfile.c | 14 +-
mm/truncate.c | 6 +-
mm/util.c | 55 +-
mm/vmalloc.c | 6 +-
mm/vmscan.c | 84 +-
net/Kconfig | 7 +-
net/appletalk/ddp.c | 4 +-
net/atm/mpc.c | 22 +-
net/bridge/br_device.c | 9 +-
net/bridge/br_if.c | 3 +
net/bridge/br_netfilter.c | 63 +-
net/bridge/br_private.h | 6 +
net/bridge/netfilter/ebtable_filter.c | 18 +-
net/bridge/netfilter/ebtable_nat.c | 18 +-
net/core/datagram.c | 8 +-
net/core/dev.c | 15 +-
net/core/netpoll.c | 1 +
net/core/pktgen.c | 7 +-
net/core/request_sock.c | 2 +-
net/core/skbuff.c | 23 +-
net/core/stream.c | 6 +-
net/core/user_dma.c | 5 +-
net/dccp/dccp.h | 4 +-
net/dccp/input.c | 2 +-
net/dccp/ipv4.c | 11 +-
net/dccp/ipv6.c | 18 +-
net/dccp/output.c | 53 +-
net/dccp/proto.c | 4 +-
net/dccp/timer.c | 20 +-
net/ipv4/Kconfig | 4 +-
net/ipv4/af_inet.c | 18 +-
net/ipv4/devinet.c | 6 +-
net/ipv4/inet_connection_sock.c | 18 +-
net/ipv4/inet_fragment.c | 4 +-
net/ipv4/inet_hashtables.c | 8 +-
net/ipv4/inet_timewait_sock.c | 2 +-
net/ipv4/ip_fragment.c | 4 +-
net/ipv4/ip_output.c | 2 +-
net/ipv4/ipcomp.c | 319 +--
net/ipv4/netfilter/arptable_filter.c | 39 +-
net/ipv4/netfilter/ipt_CLUSTERIP.c | 5 +-
net/ipv4/netfilter/ipt_recent.c | 2 +-
net/ipv4/netfilter/iptable_security.c | 2 +-
net/ipv4/proc.c | 2 +
net/ipv4/route.c | 17 +-
net/ipv4/syncookies.c | 1 +
net/ipv4/sysctl_net_ipv4.c | 7 -
net/ipv4/tcp.c | 12 +-
net/ipv4/tcp_input.c | 20 +-
net/ipv4/tcp_ipv4.c | 16 +-
net/ipv4/tcp_timer.c | 2 +-
net/ipv6/Kconfig | 4 +-
net/ipv6/addrconf.c | 11 +-
net/ipv6/af_inet6.c | 14 +-
net/ipv6/datagram.c | 2 +-
net/ipv6/inet6_connection_sock.c | 2 +-
net/ipv6/inet6_hashtables.c | 4 +-
net/ipv6/ip6_fib.c | 31 +-
net/ipv6/ip6_output.c | 6 +-
net/ipv6/ipcomp6.c | 302 +--
net/ipv6/mip6.c | 8 +-
net/ipv6/netfilter/ip6table_security.c | 2 +-
net/ipv6/netfilter/nf_conntrack_reasm.c | 4 +-
net/ipv6/proc.c | 1 -
net/ipv6/reassembly.c | 4 +-
net/ipv6/syncookies.c | 1 +
net/ipv6/sysctl_net_ipv6.c | 16 +
net/ipv6/tcp_ipv6.c | 35 +-
net/key/af_key.c | 4 +-
net/mac80211/cfg.c | 103 +-
net/mac80211/main.c | 12 +-
net/mac80211/mlme.c | 9 +-
net/mac80211/tx.c | 55 +-
net/mac80211/wep.c | 4 +-
net/mac80211/wme.c | 3 +
net/netfilter/nf_conntrack_extend.c | 10 +-
net/netfilter/nf_conntrack_proto_tcp.c | 29 +-
net/netfilter/xt_hashlimit.c | 4 +-
net/netlink/af_netlink.c | 7 +-
net/packet/af_packet.c | 4 +-
net/rfkill/rfkill.c | 62 +-
net/rxrpc/af_rxrpc.c | 6 +-
net/sched/act_api.c | 2 +-
net/sched/act_police.c | 2 +-
net/sched/cls_u32.c | 10 +-
net/sched/sch_api.c | 57 +-
net/sched/sch_atm.c | 4 +-
net/sched/sch_cbq.c | 4 +-
net/sched/sch_generic.c | 20 +-
net/sched/sch_htb.c | 16 +-
net/sched/sch_sfq.c | 9 +-
net/sched/sch_teql.c | 9 +-
net/sctp/associola.c | 2 +-
net/socket.c | 2 +-
net/sunrpc/rpc_pipe.c | 2 +-
net/sunrpc/svc.c | 3 +-
net/sunrpc/xprtrdma/svc_rdma_sendto.c | 3 +-
net/sysctl_net.c | 24 +-
net/unix/af_unix.c | 10 +-
net/unix/garbage.c | 18 +-
net/wireless/nl80211.c | 275 +-
net/xfrm/Kconfig | 6 +
net/xfrm/Makefile | 1 +
net/xfrm/xfrm_algo.c | 4 +-
net/xfrm/xfrm_ipcomp.c | 384 ++
net/xfrm/xfrm_state.c | 2 +-
scripts/Makefile.fwinst | 10 +-
scripts/Makefile.headersinst | 230 +-
scripts/diffconfig | 129 +
scripts/genksyms/genksyms.c | 2 +
scripts/genksyms/lex.c_shipped | 133 +-
scripts/genksyms/lex.l | 2 +
scripts/genksyms/parse.c_shipped | 144 +-
scripts/genksyms/parse.y | 2 +-
scripts/hdrcheck.sh | 10 -
scripts/headers.sh | 41 +
scripts/headers_check.pl | 56 +
scripts/headers_install.pl | 45 +
scripts/kconfig/conf.c | 161 +-
scripts/kconfig/confdata.c | 70 +
scripts/kconfig/lex.zconf.c_shipped | 86 +-
scripts/kconfig/lkc.h | 9 +
scripts/kconfig/zconf.l | 1 +
scripts/kernel-doc | 1 +
scripts/mod/modpost.c | 2 +-
scripts/setlocalversion | 4 +-
scripts/ver_linux | 1 -
security/capability.c | 3 +-
security/security.c | 5 +-
security/selinux/hooks.c | 60 +-
security/smack/smack_lsm.c | 3 +-
sound/i2c/other/tea575x-tuner.c | 2 -
sound/isa/cs423x/cs4236.c | 1 +
sound/isa/opti9xx/opti92x-ad1848.c | 6 +-
sound/pci/ac97/ac97_codec.c | 3 +-
sound/pci/ac97/ac97_patch.c | 4 +-
sound/pci/azt3328.h | 4 +-
sound/pci/ens1370.c | 3 +-
sound/pci/hda/hda_intel.c | 6 +-
sound/pci/hda/patch_realtek.c | 181 +-
sound/pci/hda/patch_sigmatel.c | 14 +-
sound/sh/aica.c | 2 +-
sound/soc/au1x/psc-i2s.c | 2 +-
sound/soc/codecs/wm9712.c | 10 +-
sound/soc/fsl/fsl_dma.c | 7 +-
sound/soc/fsl/fsl_ssi.c | 74 +-
sound/soc/pxa/poodle.c | 8 +-
sound/soc/pxa/tosa.c | 1 -
sound/soc/soc-dapm.c | 106 +-
virt/kvm/kvm_main.c | 155 +-
4073 files changed, 186927 insertions(+), 129307 deletions(-)
New commits:
commit 2b12a4c524812fb3f6ee590a02e65b95c8c32229
Merge: 4744b43431e8613f920c5cba88346756f53c5165 7f30491ccd28627742e37899453ae20e3da8e18f
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 14:59:11 2008 -0700
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] Move include/asm-ia64 to arch/ia64/include/asm
commit 4744b43431e8613f920c5cba88346756f53c5165
Author: Tim Bird <tim.bird at am.sony.com>
Date: Fri Aug 1 14:05:50 2008 -0700
embedded: fix vc_translate operator precedence
This fixes a bug in operator precedence in the newly introduced vc_translate
macro. Without this fix, the translation of some characters on the
kernel console is garbled.
This patch was copied to the e-mail list previously for testing. Now,
all reports confirm that it works, so this is an official post for
application.
Signed-off-by: Tim Bird <tim.bird at am.sony.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 3669bc143fb3d389918379547f4a6b28a757b7fe
Author: Jack Steiner <steiner at sgi.com>
Date: Fri Aug 1 15:08:15 2008 -0500
Remove EXPORTS of follow_page & zap_page_range
Delete 2 EXPORTs that were accidentally sent upstream.
Signed-off-by: Jack Steiner <steiner at sgi.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a97762a77f927577525868e39661084170ce3605
Author: Steven Rostedt <rostedt at goodmis.org>
Date: Thu Jul 31 12:40:52 2008 -0400
dual license ftrace.txt
I asked legal about the licensing of ftrace.txt, and they told me that,
unless the Documentation directory is specifically set up to handle non
GPL licenses (which it does not appear to be), then it would be best to
put ftrace.txt under the GPL.
This patch adds a dual license to ftrace.txt such that it is under both
the FDL and the GPL.
Signed-off-by: Steven Rostedt <srostedt at redhat.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 784dd7b64ca661722f539db906d56ce54906f2fb
Author: David Howells <dhowells at redhat.com>
Date: Thu Jul 31 13:46:33 2008 +0100
FRV: Wire up new system calls
Wire up for FRV the system calls that were added in the last merge window.
Signed-off-by: David Howells <dhowells at redhat.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 02c363808981b67e631fe71cc7e952497f761bef
Author: David Howells <dhowells at redhat.com>
Date: Thu Jul 31 13:01:30 2008 +0100
MN10300: Wire up new system calls
Wire up system calls added in the last merge window for the MN10300 arch.
Signed-off-by: David Howells <dhowells at redhat.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3ab36ab68531ad90648fdeedcaf437f121572ede
Author: Eugeniy Meshcheryakov <eugen at debian.org>
Date: Thu Jul 31 10:03:19 2008 +0100
try harder to load tty ldisc driver
Currently function tty_ldisc_get() tries to load an ldisc driver module
only when tty_ldisc_try_get() returns -EAGAIN. This happens only if
module is being unloaded. If ldisc module is not loaded
tty_ldisc_try_get() returns -EINVAL and this case is not handled in
tty_ldisc_get(), so request_module() is not called.
Attached patch fixes this by calling request_module() if
tty_ldisc_try_get() returned any error code.
I discovered this when my UMTS modem stopped working with 2.6.27-rc1
because module ppp_async was not loaded.
Signed-off-by: Eugeniy Meshcheryakov <eugen at debian.org>
Signed-off-by: Alan Cox <alan at redhat.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 84ff7a001270258f71d6ab0d164f351e32c9718a
Merge: 478735e42bfa047384afa72dceb408035532db20 1f4170e12db06fdde5279d665a7e6e2976b2b623
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 12:48:16 2008 -0700
Merge branch 'kvm-updates-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm
* 'kvm-updates-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm:
KVM: s390: Fix kvm on IBM System z10
KVM: Advertise synchronized mmu support to userspace
KVM: Synchronize guest physical memory map to host virtual memory map
KVM: Allow browsing memslots with mmu_lock
KVM: Allow reading aliases with mmu_lock
commit 478735e42bfa047384afa72dceb408035532db20
Merge: 0ef89d25d3e390dfa7c46772907951744a4067dc 6f5fd8e9b98423add5f67b964e7cc8733dd73460
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 12:47:53 2008 -0700
Merge branch 'zero-len' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6
* 'zero-len' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6:
drivers/media, include/media: delete zero-length files
commit 0ef89d25d3e390dfa7c46772907951744a4067dc
Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Thu Jul 31 00:07:30 2008 -0700
mm/hugetlb: don't crash when HPAGE_SHIFT is 0
Some platform decide whether they support huge pages at boot time. On
these, such as powerpc, HPAGE_SHIFT is a variable, not a constant, and is
set to 0 when there is no such support.
The patches to introduce multiple huge pages support broke that causing
the kernel to crash at boot time on machines such as POWER3 which lack
support for multiple page sizes.
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c6de002617c199f80f9a2a713dffc263bdc69b81
Author: Yoshinori Sato <ysato at users.sourceforge.jp>
Date: Thu Jul 31 00:07:29 2008 -0700
Missing symbol prefix on vmlinux.lds.h
ARCH=h8300:
init/main.c:781: undefined reference to `___early_initcall_end'
Same problem have
__start___bug_table
__stop___bug_table
__tracedata_start
__tracedata_end
__per_cpu_start
__per_cpu_end
When defining a symbol in vmlinux.lds, use the VMLINUX_SYMBOL macro.
VMLINUX_SYMBOL adds a prefix charactor.
You can't just use straight symbol names in common header files as they
dont take into consideration weird arch-specific ABI conventions. in the
case of Blackfin/h8300, the ABI dictates that any C-visible symbols have
an underscore prefixed to them. Thus all symbols in vmlinux.lds.h need to
be wrapped in VMLINUX_SYMBOL() so that each arch can put hide this magic
in their own files.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Yoshinori Sato <ysato at users.sourceforge.jp>
Cc: Jeremy Fitzhardinge <jeremy at goop.org>
Cc: "Mike Frysinger" <vapier.adi at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ea44c1d60df3640bd956a67c392865c44fe9bc45
Author: Bjorn Helgaas <bjorn.helgaas at hp.com>
Date: Thu Jul 31 00:07:27 2008 -0700
PNP: fix formatting of dbg_pnp_show_resources() output
Each resource should be printed on its own line, so start snprintf'ing
at the beginning of the buffer every time through the loop.
Also, use scnprintf() rather than snprintf() when building up the
buffer to print. scnprintf() returns the number of characters actually
written into the buffer (not including the trailing NULL).
snprintf() returns the number of characters that *would be* written,
assuming everything would fit in the buffer. That's nice if we want to
resize the buffer to make sure everything fits, but in this case, I
just want to keep from overflowing the buffer, and it's OK if the
output is truncated.
Using snprintf() meant that my "len" could grow to be more than the
the buffer size, which makes "sizeof(buf) - len" negative, which causes
this alarming WARN_ON:
http://marc.info/?l=linux-kernel&m=121736480005656&w=2
More useful snprintf/scnprintf discussion:
http://lwn.net/Articles/69419/
Signed-off-by: Bjorn Helgaas <bjorn.helgaas at hp.com>
Reported-by: Pete Clements <clem at clem.clem-digital.net>
Cc: Rene Herman <rene.herman at keyaccess.nl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 61a2d07d3fb1ac34d142b9b62d4cd60a0f8c229e
Author: Niels de Vos <niels at nixpanic.net>
Date: Thu Jul 31 00:07:23 2008 -0700
Remove newline from the description of module parameters
Some module parameters with only one line have the '\n' at the end of the
description. This is not needed nor wanted as after the description the
type (i.e. int) is followed by a newline.
Some modules contain a multi-line description, these are not affected
by this patch.
Signed-off-by: Niels de Vos <niels.devos at wincor-nixdorf.com>
Acked-by: Randy Dunlap <randy.dunlap at oracle.com>
Cc: John W. Linville <linville at tuxdriver.com>
Cc: Ed L. Cashin <ecashin at coraid.com>
Cc: Dave Airlie <airlied at linux.ie>
Cc: Roland Dreier <rolandd at cisco.com>
Acked-by: Mauro Carvalho Chehab <mchehab at infradead.org>
Cc: Jeff Garzik <jeff at garzik.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3a4b7886ee59e122d359e1714ed89585a06645ad
Merge: b8a327be3fbf05b5d3a935b4c03a3dcdb6db833e 963e4975c6f93c148ca809d986d412201df9af89
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 12:41:29 2008 -0700
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
pata_it821x: Driver updates and reworking
libata.h: replace __FUNCTION__ with __func__
ata_piix: subsys 106b:00a3 is apple ich8m too
libata-core: make sure that ata_force_tbl is freed in case of an error
libata: update atapi disable handling
pata_via: add VX800 flag; add function for fixing h/w bugs
pata_ali: misplaced pci_dev_put()
commit b8a327be3fbf05b5d3a935b4c03a3dcdb6db833e
Merge: 46bd58eab21650fe820e4e3a27a6a134892cc2eb f13fae2d2a9372a5155d20bc9da4c14f02193277
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 12:39:09 2008 -0700
Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-pull
* 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-pull: (64 commits)
[XFS] Remove vn_revalidate calls in xfs.
[XFS] Now that xfs_setattr is only used for attributes set from ->setattr
[XFS] xfs_setattr currently doesn't just handle the attributes set through
[XFS] fix use after free with external logs or real-time devices
[XFS] A bug was found in xfs_bmap_add_extent_unwritten_real(). In a
[XFS] fix compilation without CONFIG_PROC_FS
[XFS] s/XFS_PURGE_INODE/IRELE/g s/VN_HOLD(XFS_ITOV())/IHOLD()/
[XFS] fix mount option parsing in remount
[XFS] Disable queue flag test in barrier check.
[XFS] streamline init/exit path
[XFS] Fix up problem when CONFIG_XFS_POSIX_ACL is not set and yet we still
[XFS] Don't assert if trying to mount with blocksize > pagesize
[XFS] Don't update mtime on rename source
[XFS] Allow xfs_bmbt_split() to fallback to the lowspace allocator
[XFS] Restore the lowspace extent allocator algorithm
[XFS] use minleft when allocating in xfs_bmbt_split()
[XFS] attrmulti cleanup
[XFS] Check for invalid flags in xfs_attrlist_by_handle.
[XFS] Fix CI lookup in leaf-form directories
[XFS] Use the generic xattr methods.
...
commit 46bd58eab21650fe820e4e3a27a6a134892cc2eb
Author: Dean Nelson <dcn at sgi.com>
Date: Fri Aug 1 09:55:26 2008 -0500
add reverse dependency of CONFIG_SGI_XP upon CONFIG_SGI_GRU
Add a reverse dependency of CONFIG_SGI_XP upon CONFIG_SGI_GRU to Kconfig.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3b0de7b364c8b8a975f201fdae2fb394c876eb56
Author: Dean Nelson <dcn at sgi.com>
Date: Fri Aug 1 14:19:08 2008 -0500
add dependency of CONFIG_SGI_XP upon CONFIG_NET
Add a dependency of CONFIG_SGI_XP upon CONFIG_NET to Kconfig.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5c7edcd7ee6b77b88252fe4096dce1a46a60c829
Author: Roland McGrath <roland at redhat.com>
Date: Thu Jul 31 02:04:09 2008 -0700
tracehook: fix exit_signal=0 case
My commit 2b2a1ff64afbadac842bbc58c5166962cf4f7664 introduced a regression
(sorry about that) for the odd case of exit_signal=0 (e.g. clone_flags=0).
This is not a normal use, but it's used by a case in the glibc test suite.
Dying with exit_signal=0 sends no signal, but it's supposed to wake up a
parent's blocked wait*() calls (unlike the delayed_group_leader case).
This fixes tracehook_notify_death() and its caller to distinguish a
"signal 0" wakeup from the delayed_group_leader case (with no wakeup).
Signed-off-by: Roland McGrath <roland at redhat.com>
Tested-by: Serge Hallyn <serue at us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1e24b15b267293567a8d752721c7ae63f281325a
Merge: 63a16f90167850010864a9e8ebb71d216983090f 388667bed591b2359713bb17d5de0cf56e961447
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 11:56:07 2008 -0700
Merge branch 'for-linus' of git://neil.brown.name/md
* 'for-linus' of git://neil.brown.name/md:
md: raid10: wake up frozen array
md: do not count blocked devices as spares
md: do not progress the resync process if the stripe was blocked
md: delay notification of 'active_idle' to the recovery thread
md: fix merge error
md: move async_tx_issue_pending_all outside spin_lock_irq
commit 63a16f90167850010864a9e8ebb71d216983090f
Merge: 5adf2b03d97111c8955495ba11e8b7db27df8695 c259ae52e204d42f8b2d484c85517a4c367030e1
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 11:54:05 2008 -0700
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2:
[PATCH] ocfs2: Release mutex in error handling code
[PATCH] ocfs2: Fix oops when racing files truncates with writes into an mmap region
[PATCH 2/2] ocfs2: Fix race between mount and recovery
[PATCH 1/2] ocfs2: Add counter in struct ocfs2_dinode to track journal replays
[PATCH] configfs: Convenience macros for attribute definition.
[PATCH] configfs: Pin configfs subsystems separately from new config_items.
[PATCH] configfs: Fix open directory making rmdir() fail
[PATCH] configfs: Lock new directory inodes before removing on cleanup after failure
[PATCH] configfs: Prevent userspace from creating new entries under attaching directories
[PATCH] configfs: Fix failing symlink() making rmdir() fail
[PATCH] configfs: Fix symlink() to a removing item
[PATCH] configfs: Include linux/err.h in linux/configfs.h
commit 5adf2b03d97111c8955495ba11e8b7db27df8695
Merge: e811603feb198079bcdb3f75f72cbf9681de2062 0e241ffd306c0896bb9959be7faa4d4cfcb706d9
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 11:52:39 2008 -0700
Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
locking: fix mutex @key parameter kernel-doc notation
commit e811603feb198079bcdb3f75f72cbf9681de2062
Merge: b17b3d479c4c43c3a980ee553c3be3ca456523de 48a61569bb5396415c5dad0e81e1cfeb87c0aca3
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 11:50:21 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes:
kbuild: scripts/ver_linux: don't set PATH
Kconfig/init: change help text to match default value
kbuild: genksyms: Include extern information in dumps
kbuild: genksyms parser: fix the __attribute__ rule
kbuild: scripts/genksyms/lex.l: add %option noinput
kconfig: scripts/kconfig/zconf.l: add %option noinput
kbuild: fix O=... build of um
commit b17b3d479c4c43c3a980ee553c3be3ca456523de
Merge: 31582b094d640fdab3fd29237b348a4c7c8646fb 93769f58078e2a066b56217cae1e343ac5a6b78c
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 11:46:00 2008 -0700
Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
* 'for-linus' of git://git.kernel.dk/linux-2.6-block:
md: the bitmap code needs to use blk_plug_device_unlocked()
block: add a blk_plug_device_unlocked() that grabs the queue lock
commit 31582b094d640fdab3fd29237b348a4c7c8646fb
Merge: df1efe6f871e2d3f83e6ad7b7a1d2b728b478fc2 25fc999913839a45cbb48ac7872e67f7521e7ed9
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 11:45:09 2008 -0700
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb:
kgdb: fix gdb serial thread queries
kgdb: fix kgdb_validate_break_address to perform a mem write
kgdb: remove the requirement for CONFIG_FRAME_POINTER
commit df1efe6f871e2d3f83e6ad7b7a1d2b728b478fc2
Merge: 9a5467fd600669cda488771dac3e951034fe2b08 11589418a1c4cf68be9367f802898d35e07809c4
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 11:44:24 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
ALSA: ASoC: Export dapm_reg_event() fully
ALSA: ASoC: Update Poodle to current ASoC API
ALSA: asoc: restrict sample rate and size in Freescale MPC8610 sound drivers
ALSA: sound/soc/pxa/tosa.c: removed duplicated include
commit 9a5467fd600669cda488771dac3e951034fe2b08
Merge: 676056132425ac425d7215cdaa8bd25582e07966 00b1304c4ca81dd893973cc620b87a5c3ff3f660
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 11:35:16 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (46 commits)
tcp: MD5: Fix IPv6 signatures
skbuff: add missing kernel-doc for do_not_encrypt
net/ipv4/route.c: fix build error
tcp: MD5: Fix MD5 signatures on certain ACK packets
ipv6: Fix ip6_xmit to send fragments if ipfragok is true
ipvs: Move userspace definitions to include/linux/ip_vs.h
netdev: Fix lockdep warnings in multiqueue configurations.
netfilter: xt_hashlimit: fix race between htable_destroy and htable_gc
netfilter: ipt_recent: fix race between recent_mt_destroy and proc manipulations
netfilter: nf_conntrack_tcp: decrease timeouts while data in unacknowledged
irda: replace __FUNCTION__ with __func__
nsc-ircc: default to dongle type 9 on IBM hardware
bluetooth: add quirks for a few hci_usb devices
hysdn: remove the packed attribute from PofTimStamp_tag
isdn: use the common ascii hex helpers
tg3: adapt tg3 to use reworked PCI PM code
atm: fix direct casts of pointers to u32 in the InterPhase driver
atm: fix const assignment/discard warnings in the ATM networking driver
net: use the common ascii hex helpers
random32: seeding improvement
...
commit 676056132425ac425d7215cdaa8bd25582e07966
Merge: 623fa579e61f250c1913c70257ef3a753820bb68 47d715af0761012ab074a12b5b5959f0179eaa09
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 11:33:19 2008 -0700
Merge branch 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6
* 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6:
hwmon: needs new maintainer
hwmon: (lm85) Simplify device initialization function
hwmon: (lm85) Misc cleanups
hwmon: (lm85) Don't write back cached values
hwmon: (lm85) Drop dead code
hwmon: (lm85) Coding-style cleanups
hwmon: (lm75) add new-style driver binding
hwmon: (lm75) cleanup/reorg
hwmon: (adt7473) clarify an awkward bit of code
hwmon: (adt7473) Remove unused defines
hwmon: (dme1737) fix voltage scaling
hwmon: (dme1737) probe all addresses
hwmon: (dme1737) demacrofy for readability
commit 93769f58078e2a066b56217cae1e343ac5a6b78c
Author: Jens Axboe <jens.axboe at oracle.com>
Date: Fri Aug 1 20:32:31 2008 +0200
md: the bitmap code needs to use blk_plug_device_unlocked()
It doesn't hold the queue lock, so it's both racey on the queue flags
and thus spews a warning.
Signed-off-by: Jens Axboe <jens.axboe at oracle.com>
commit 6c5e0c4d518a37e1d5d794c14433e80284415079
Author: Jens Axboe <jens.axboe at oracle.com>
Date: Fri Aug 1 20:31:32 2008 +0200
block: add a blk_plug_device_unlocked() that grabs the queue lock
blk_plug_device() must be called with the queue lock held, so callers
often just grab and release the lock for that purpose. Add a helper
that does just that.
Signed-off-by: Jens Axboe <jens.axboe at oracle.com>
commit 623fa579e61f250c1913c70257ef3a753820bb68
Merge: d65f5c5803d9cd6fa0b540a0dddf956be671bc36 e4c094a595ba8ea402e6b2153f7bbf6ef039eea0
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 11:29:54 2008 -0700
Merge git://git.infradead.org/mtd-2.6
* git://git.infradead.org/mtd-2.6:
[MTD] [NAND] drivers/mtd/nand/nandsim.c: fix printk warnings
[MTD] [NAND] Blackfin NFC Driver: Cleanup the error exit path of bf5xx_nand_probe function
[MTD] [NAND] Blackfin NFC Driver: use standard dev_err() rather than printk()
[MTD] [NAND] Blackfin NFC Driver: enable Blackfin nand HWECC support by default
[MTD] [NAND] Blackfin NFC Driver: add proper devinit/devexit markings to probe/remove functions
[MTD] [NAND] Blackfin NFC Driver: add support for the ECC layout the Blackfin bootrom uses
[MTD] [NAND] Blackfin NFC Driver: fix bug - hw ecc calc by making sure we extract 11 bits from each register instead of 10
[MTD] [NAND] Blackfin NFC Driver: fix bug - do not clobber the status from the first 256 bytes if operating on 512 pages
[MTD] [NAND] diskonchip.c fix sparse endian warnings
[MTD] [NAND] drivers/mtd/nand/nandsim.c needs div64.h
[JFFS2] Fix allocation of summary buffer
Fix rename of at91_nand -> atmel_nand
[MTD] [NOR] drivers/mtd/chips/jedec_probe.c: fix Am29DL800BB device ID
[MTD] MTD_DEBUG always does compile-time typechecks
[MTD] DataFlash: bugfix, binary page sizes now handled
[MTD] [NAND] fsl_elbc_nand.c: fix printk warning
[MTD] [NAND] nandsim: support random page read command
[MTD] [NAND] fix subpage read for small page NAND
commit d65f5c5803d9cd6fa0b540a0dddf956be671bc36
Merge: a8086ad803fc4d251edb9a49838bf99c7fdfb44f 8d66bf5481002b0960aa49aed0987c73f5d7816c
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 11:26:51 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
[PATCH] pass struct path * to do_add_mount()
[PATCH] switch mtd and dm-table to lookup_bdev()
[patch 3/4] vfs: remove unused nameidata argument of may_create()
[PATCH] devpts: switch to IDA
[PATCH 2/2] proc: switch inode number allocation to IDA
[PATCH 1/2] proc: fix inode number bogorithmetic
[PATCH] fix bdev leak in block_dev.c do_open()
[PATCH] fix races and leaks in vfs_quota_on() users
[PATCH] clean dup2() up a bit
[PATCH] merge locate_fd() and get_unused_fd()
[PATCH] ipv4_static_sysctl_init() should be under CONFIG_SYSCTL
Re: BUG at security/selinux/avc.c:883 (was: Re: linux-next: Tree
commit a8086ad803fc4d251edb9a49838bf99c7fdfb44f
Merge: b2bbf43e60073f70a3c8663513710fa8d03a33f8 20c6aaa39ab735c7ed78e4e5a214d250efae0a6e
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 11:23:09 2008 -0700
Merge branch 'audit.b54' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current
* 'audit.b54' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current:
[PATCH] Fix the bug of using AUDIT_STATUS_RATE_LIMIT when set fail, no error output.
[PATCH] Fix the kernel panic of audit_filter_task when key field is set
Re: [PATCH] the loginuid field should be output in all AUDIT_CONFIG_CHANGE audit messages
kernel/audit.c control character detection is off-by-one
[PATCH] Audit: Collect signal info when SIGUSR2 is sent to auditd
commit b2bbf43e60073f70a3c8663513710fa8d03a33f8
Merge: 561b35b341b1aeeab486affe1ede0ee6640ce33b e491d230fd398bb730e3c2dd734c5447463b9d38
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 11:22:45 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc:
au1xmmc: raise segment size limit.
mmc_block: use proper sg iterators
mmc: properly iterate over sg list in debug check
mmc_test: Revert "mmc_test: test oversized sg lists"
sdhci: check correct return value
sdhci: disable DMA for req, not completely
sdhci: handle bug in JMB38x for sizes < 4 bytes
commit 561b35b341b1aeeab486affe1ede0ee6640ce33b
Merge: a7c2a10dab4e5122cbcfa3d5e9d589a52ccc2287 0eb5d5ab3ec99bfd22ff16797d95835369ffb25b
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 10:56:40 2008 -0700
Merge branch 'reg-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6
* 'reg-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6:
regulator: TI bq24022 Li-Ion Charger driver
regulator: maintainers - add maintainers for regulator framework.
regulator: documentation - ABI
regulator: documentation - machine
regulator: documentation - regulator driver
regulator: documentation - consumer interface
regulator: documentation - overview
regulator: core kbuild files
regulator: regulator test harness
regulator: add support for fixed regulators.
regulator: regulator framework core
regulator: fixed regulator interface
regulator: machine driver interface
regulator: regulator driver interface
regulator: consumer device interface
commit a7c2a10dab4e5122cbcfa3d5e9d589a52ccc2287
Merge: b14f7fb5aa2f4289e3a9fa8d7d92417ec8607498 383795c206946777d87ed5f6d61d6659110f9344
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 10:55:57 2008 -0700
Merge branch 'hotfixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6
* 'hotfixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
SELinux: /proc/mounts should show what it can
commit b14f7fb5aa2f4289e3a9fa8d7d92417ec8607498
Merge: 00e9028a95fb8a4d79f2fb695a853f33ea7d3b57 9fec6060d9e48ed7db0dac0e16d0f0f0e615b7f6
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 10:55:07 2008 -0700
Merge git://git.infradead.org/battery-2.6
* git://git.infradead.org/battery-2.6:
power_supply: Sharp SL-6000 (tosa) batteries support
power_supply: fix up CHARGE_COUNTER output to be more precise
power_supply: add CHARGE_COUNTER property and olpc_battery support for it
power_supply: bump EC version check that we refuse to run with in olpc_battery
power_supply: cleanup of the OLPC battery driver
power_supply: add eeprom dump file to olpc_battery's sysfs
power_supply: Support serial number in olpc_battery
commit 00e9028a95fb8a4d79f2fb695a853f33ea7d3b57
Merge: 57b1494d2ba544c62673234da6115c21fac27ffc 7cb93181629c613ee2b8f4ffe3446f8003074842
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 10:53:43 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (28 commits)
mm/hugetlb.c must #include <asm/io.h>
video: Fix up hp6xx driver build regressions.
sh: defconfig updates.
sh: Kill off stray mach-rsk7203 reference.
serial: sh-sci: Fix up SH7760/SH7780/SH7785 early printk regression.
sh: Move out individual boards without mach groups.
sh: Make sure AT_SYSINFO_EHDR is exposed to userspace in asm/auxvec.h.
sh: Allow SH-3 and SH-5 to use common headers.
sh: Provide common CPU headers, prune the SH-2 and SH-2A directories.
sh/maple: clean maple bus code
sh: More header path fixups for mach dir refactoring.
sh: Move out the solution engine headers to arch/sh/include/mach-se/
sh: I2C fix for AP325RXA and Migo-R
sh: Shuffle the board directories in to mach groups.
sh: dma-sh: Fix up dreamcast dma.h mach path.
sh: Switch KBUILD_DEFCONFIG to shx3_defconfig.
sh: Add ARCH_DEFCONFIG entries for sh and sh64.
sh: Fix compile error of Solution Engine
sh: Proper __put_user_asm() size mismatch fix.
sh: Stub in a dummy ENTRY_OFFSET for uImage offset calculation.
...
commit 57b1494d2ba544c62673234da6115c21fac27ffc
Merge: 9fe3b64be3dc8313e9fa87255f169c608d074cbd 8978b74253280d59e97cf49a3ec2c0cbccd5b801
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 10:28:17 2008 -0700
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
generic, x86: fix add iommu_num_pages helper function
x86: remove stray <6> in BogoMIPS printk
x86: move dma32_reserve_bootmem() after reserve_crashkernel()
commit 9fe3b64be3dc8313e9fa87255f169c608d074cbd
Merge: 8b6d8c592fa7b8bfb1218447a273314c13a67e8a ab4227cb2d936886069ef1056c02500d05beb15d
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Aug 1 10:27:10 2008 -0700
Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
* 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
[S390] qeth: avoid use of include/asm-s390
[S390] dont use kthread for smp_rescan_cpus().
[S390] virtio console: fix section mismatch warning.
[S390] cio: Include linux/string.h in schid.h.
[S390] qdio: fix section mismatch bug.
[S390] stp: fix section mismatch warning.
[S390] Remove diag 0x260 call from memory detection.
[S390] qdio: make sure qdr is aligned to page size
[S390] Add support for memory hot-remove.
[S390] Wire up new syscalls.
[S390] cio: Memory allocation for idset changed.
[S390] qeth: preallocated qeth header for hiper socket
[S390] Optimize storage key operations for anon pages
[S390] nohz/sclp: disable timer on synchronous waits.
[S390] ipl: Reboot from alternate device does not work when booting from file
[S390] dasd: Add support for enhanced VM UID
[S390] Remove last P390 trace.
commit 7f30491ccd28627742e37899453ae20e3da8e18f
Author: Tony Luck <tony.luck at intel.com>
Date: Fri Aug 1 10:13:32 2008 -0700
[IA64] Move include/asm-ia64 to arch/ia64/include/asm
After moving the the include files there were a few clean-ups:
1) Some files used #include <asm-ia64/xyz.h>, changed to <asm/xyz.h>
2) Some comments alerted maintainers to look at various header files to
make matching updates if certain code were to be changed. Updated these
comments to use the new include paths.
3) Some header files mentioned their own names in initial comments. Just
deleted these self references.
Signed-off-by: Tony Luck <tony.luck at intel.com>
commit e491d230fd398bb730e3c2dd734c5447463b9d38
Author: Manuel Lauss <mano at roarinelk.homelinux.net>
Date: Tue Jul 29 10:10:49 2008 +0200
au1xmmc: raise segment size limit.
Raise the DMA block size limit from 2048 bytes to the maximum supported
by the DMA controllers on the chip (64KB on Au1100, 4MB on Au1200).
This gives a very small performance boost and apparently fixes an oops
when MMC-DMA and network traffic are active at the same time.
Signed-off-by: Manuel Lauss <mano at roarinelk.homelinux.net>
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit b41e9c7b8e14ea57aa0fc05fd63a0de0e935d58d
Author: Pierre Ossman <drzeus at drzeus.cx>
Date: Tue Jul 29 01:23:24 2008 +0200
mmc_block: use proper sg iterators
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit a84756c5735f28bf000617f18734a9e94426386a
Author: Pierre Ossman <drzeus at drzeus.cx>
Date: Tue Jul 29 01:09:37 2008 +0200
mmc: properly iterate over sg list in debug check
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit b7ac2cf1cdf346b34cbc2104d386a9d29d12aa4c
Author: Pierre Ossman <drzeus at drzeus.cx>
Date: Tue Jul 29 01:05:22 2008 +0200
mmc_test: Revert "mmc_test: test oversized sg lists"
This reverts commit 48b5352ea1891455eb8e824cf7d92f66931a090f. Oversized
sg lists are not allowed anymore, and the core even checks for them in
debug mode, so this test is entirely incorrect.
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit 980167b7fb20fb181766218b4771fc7420a7bbb4
Author: Pierre Ossman <drzeus at drzeus.cx>
Date: Tue Jul 29 00:53:20 2008 +0200
sdhci: check correct return value
Fix a copy-and-paste error.
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit ebd6d357848edb8709dd9bed4b93834d1b4d7044
Author: Pierre Ossman <drzeus at drzeus.cx>
Date: Tue Jul 29 00:45:51 2008 +0200
sdhci: disable DMA for req, not completely
The wrong flag was manipulated when an invalid sg list was given, turning
off DMA on the next (and all subsequent) request instead of the current
one.
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit 4a3cba32cb514168bb2516c045b178e6660421d1
Author: Pierre Ossman <drzeus at drzeus.cx>
Date: Tue Jul 29 00:11:16 2008 +0200
sdhci: handle bug in JMB38x for sizes < 4 bytes
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit 20c6aaa39ab735c7ed78e4e5a214d250efae0a6e
Author: zhangxiliang <zhangxiliang at cn.fujitsu.com>
Date: Thu Jul 31 10:11:19 2008 +0800
[PATCH] Fix the bug of using AUDIT_STATUS_RATE_LIMIT when set fail, no error output.
When the "status_get->mask" is "AUDIT_STATUS_RATE_LIMIT || AUDIT_STATUS_BACKLOG_LIMIT".
If "audit_set_rate_limit" fails and "audit_set_backlog_limit" succeeds, the "err" value
will be greater than or equal to 0. It will miss the failure of rate set.
Signed-off-by: Zhang Xiliang <zhangxiliang at cn.fujitsu.com>
Acked-by: Eric Paris <eparis at redhat.com>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 980dfb0db340b95094732d78b55311f2c539c1af
Author: zhangxiliang <zhangxiliang at cn.fujitsu.com>
Date: Fri Aug 1 19:15:47 2008 +0800
[PATCH] Fix the kernel panic of audit_filter_task when key field is set
When calling audit_filter_task(), it calls audit_filter_rules() with audit_context is NULL.
If the key field is set, the result in audit_filter_rules() will be set to 1 and
ctx->filterkey will be set to key.
But the ctx is NULL in this condition, so kernel will panic.
Signed-off-by: Zhang Xiliang <zhangxiliang at cn.fujitsu.com>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 036bbf76ad9f83781590623111b80ba0b82930ac
Author: zhangxiliang <zhangxiliang at cn.fujitsu.com>
Date: Fri Aug 1 09:47:01 2008 +0800
Re: [PATCH] the loginuid field should be output in all AUDIT_CONFIG_CHANGE audit messages
> shouldn't these be using the "audit_get_loginuid(current)" and if we
> are going to output loginuid we also should be outputting sessionid
Thanks for your detailed explanation.
I have made a new patch for outputing "loginuid" and "sessionid" by audit_get_loginuid(current) and audit_get_sessionid(current).
If there are some deficiencies, please give me your indication.
Signed-off-by: Zhang Xiliang <zhangxiliang at cn.fujitsu.com>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 1d6c9649e236caa2e93e3647256216e57172b011
Author: Vesa-Matti J Kari <vmkari at cc.helsinki.fi>
Date: Wed Jul 23 00:06:13 2008 +0300
kernel/audit.c control character detection is off-by-one
Hello,
According to my understanding there is an off-by-one bug in the
function:
audit_string_contains_control()
in:
kernel/audit.c
Patch is included.
I do not know from how many places the function is called from, but for
example, SELinux Access Vector Cache tries to log untrusted filenames via
call path:
avc_audit()
audit_log_untrustedstring()
audit_log_n_untrustedstring()
audit_string_contains_control()
If audit_string_contains_control() detects control characters, then the
string is hex-encoded. But the hex=0x7f dec=127, DEL-character, is not
detected.
I guess this could have at least some minor security implications, since a
user can create a filename with 0x7f in it, causing logged filename to
possibly look different when someone reads it on the terminal.
Signed-off-by: Vesa-Matti Kari <vmkari at cc.helsinki.fi>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit ee1d315663ee0b494898f813a266d6244b263b4f
Author: Eric Paris <eparis at redhat.com>
Date: Mon Jul 7 10:49:45 2008 -0400
[PATCH] Audit: Collect signal info when SIGUSR2 is sent to auditd
Makes the kernel audit subsystem collect information about the sending
process when that process sends SIGUSR2 to the userspace audit daemon.
SIGUSR2 is a new interesting signal to auditd telling auditd that it
should try to start logging to disk again and the error condition which
caused it to stop logging to disk (usually out of space) has been
rectified.
Signed-off-by: Eric Paris <eparis at redhat.com>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 8d66bf5481002b0960aa49aed0987c73f5d7816c
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Fri Aug 1 09:05:54 2008 -0400
[PATCH] pass struct path * to do_add_mount()
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit d5686b444ff3f72808d2b3fbd58672a86cdf38e7
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Fri Aug 1 05:00:11 2008 -0400
[PATCH] switch mtd and dm-table to lookup_bdev()
No need to open-code it...
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit a95164d979c5ca061f15bcaadc829c146693d4d9
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Wed Jul 30 15:08:48 2008 +0200
[patch 3/4] vfs: remove unused nameidata argument of may_create()
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 7ee7c12b7121cd49d528de219e4ffd5459657998
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Sat Jul 26 11:42:16 2008 +0400
[PATCH] devpts: switch to IDA
Devpts code wants just numbers for tty indexes.
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 9a18540915faaaadd7f71c16fa877a0c19675923
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Sat Jul 26 11:21:37 2008 +0400
[PATCH 2/2] proc: switch inode number allocation to IDA
proc doesn't use "associate pointer with id" feature of IDR, so switch
to IDA.
NOTE, NOTE, NOTE:
Do not apply if release_inode_number() still mantions MAX_ID_MASK!
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 67935df49dae836fa86621861979fafdfd37ae59
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Sat Jul 26 11:18:28 2008 +0400
[PATCH 1/2] proc: fix inode number bogorithmetic
Id which proc gets from IDR for inode number and id which proc removes
from IDR do not match. E.g. 0x11a transforms into 0x8000011a.
Which stayed unnoticed for a long time because, surprise, idr_remove()
masks out that high bit before doing anything.
All of this due to "| ~MAX_ID_MASK" in release_inode_number().
I still don't understand how it's supposed to work, because "| ~MASK"
is not an inversion for "& MAX" operation.
So, use just one nice, working addition. Make start offset unsigned int,
while I'm at it. It's longness is not used anywhere.
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 8266602033d6adc6d10cb8811c1fd694767909b0
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Fri Aug 1 05:32:04 2008 -0400
[PATCH] fix bdev leak in block_dev.c do_open()
Callers expect it to drop reference to bdev on all failure exits.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 77e69dac3cefacee939cb107ae9cd520a62338e0
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Fri Aug 1 04:29:18 2008 -0400
[PATCH] fix races and leaks in vfs_quota_on() users
* new helper: vfs_quota_on_path(); equivalent of vfs_quota_on() sans the
pathname resolution.
* callers of vfs_quota_on() that do their own pathname resolution and
checks based on it are switched to vfs_quota_on_path(); that way we
avoid the races.
* reiserfs leaked dentry/vfsmount references on several failure exits.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 1b7e190b4764ea3ca1080404dd593eae5230d2b3
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Wed Jul 30 06:18:03 2008 -0400
[PATCH] clean dup2() up a bit
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 1027abe8827b47f7e9c4ed6514fde3d44f79963c
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Wed Jul 30 04:13:04 2008 -0400
[PATCH] merge locate_fd() and get_unused_fd()
New primitive: alloc_fd(start, flags). get_unused_fd() and
get_unused_fd_flags() become wrappers on top of it.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit a1bc6eb4b499ae67ada9a01660010580b6569403
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Wed Jul 30 06:32:52 2008 -0400
[PATCH] ipv4_static_sysctl_init() should be under CONFIG_SYSCTL
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit f418b006079ce537daf9436215f1d2a47e451602
Author: Stephen Smalley <sds at tycho.nsa.gov>
Date: Mon Jul 28 13:32:38 2008 -0400
Re: BUG at security/selinux/avc.c:883 (was: Re: linux-next: Tree
for July 17: early crash on x86-64)
SELinux needs MAY_APPEND to be passed down to the security hook.
Otherwise, we get permission denials when only append permission is
granted by policy even if the opening process specified O_APPEND.
Shows up as a regression in the ltp selinux testsuite, fixed by
this patch.
Signed-off-by: Stephen Smalley <sds at tycho.nsa.gov>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit e4c094a595ba8ea402e6b2153f7bbf6ef039eea0
Author: Andrew Morton <akpm at linux-foundation.org>
Date: Wed Jul 30 12:35:04 2008 -0700
[MTD] [NAND] drivers/mtd/nand/nandsim.c: fix printk warnings
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 4f0ca70e52b67f41287d853f0d572dafa875e485
Author: Bryan Wu <cooloney at kernel.org>
Date: Wed Jul 30 12:35:04 2008 -0700
[MTD] [NAND] Blackfin NFC Driver: Cleanup the error exit path of bf5xx_nand_probe function
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Cc: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 0ee002b041cb45ab3cc5384b86271d41ccf90fe1
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Wed Jul 30 12:35:03 2008 -0700
[MTD] [NAND] Blackfin NFC Driver: use standard dev_err() rather than printk()
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit a0dd20184becf5c90996d9ee0bb69426fe63581a
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Wed Jul 30 12:35:02 2008 -0700
[MTD] [NAND] Blackfin NFC Driver: enable Blackfin nand HWECC support by default
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 2445af3853928bf3ee7960e09f548a1b07924091
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Wed Jul 30 12:35:02 2008 -0700
[MTD] [NAND] Blackfin NFC Driver: add proper devinit/devexit markings to probe/remove functions
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit fcb90ba7e9ba9a17ca5103be3f3ae3a446dadc14
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Wed Jul 30 12:35:01 2008 -0700
[MTD] [NAND] Blackfin NFC Driver: add support for the ECC layout the Blackfin bootrom uses
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit cf840392e83914b9fcdbce8a8a2bc17a84cf0353
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Wed Jul 30 12:35:00 2008 -0700
[MTD] [NAND] Blackfin NFC Driver: fix bug - hw ecc calc by making sure we extract 11 bits from each register instead of 10
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit e274f025e2caaadc1a6dd41adc9c9a19be075110
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Wed Jul 30 12:34:59 2008 -0700
[MTD] [NAND] Blackfin NFC Driver: fix bug - do not clobber the status from the first 256 bytes if operating on 512 pages
Singed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit ab4227cb2d936886069ef1056c02500d05beb15d
Author: Martin Schwidefsky <schwidefsky at de.ibm.com>
Date: Fri Aug 1 16:39:24 2008 +0200
[S390] qeth: avoid use of include/asm-s390
The planned move of include/asm-s390 to arch/s390/include/asm
requires that all includes for asm headers use include/asm and
not include/asm-s390.
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit fc7e1e4b1ca69109d0f694e47ef2328dcb0ebe6e
Author: Heiko Carstens <heiko.carstens at de.ibm.com>
Date: Fri Aug 1 16:39:23 2008 +0200
[S390] dont use kthread for smp_rescan_cpus().
Since git commit 3da1c84c00c7e5fa8348336bd8c342f9128b0f14
"workqueues: make get_online_cpus() useable for work->func()"
it is safe to call get_online_cpus() from workqueue context.
So remove the kthread workaround again.
Signed-off-by: Heiko Carstens <heiko.carstens at de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit 26f746f3e3bb44b37a894318aa8e808b914ad663
Author: Heiko Carstens <heiko.carstens at de.ibm.com>
Date: Fri Aug 1 16:39:22 2008 +0200
[S390] virtio console: fix section mismatch warning.
Fix these two false positive warnings:
WARNING: vmlinux.o(.text+0x2e1cc4): Section mismatch in reference from the function s390_virtio_console_init() to the function .init.text:early_put_chars()
The function s390_virtio_console_init() references
the function __init early_put_chars().
This is often because s390_virtio_console_init lacks a __init
annotation or the annotation of early_put_chars is wrong.
WARNING: vmlinux.o(.text+0x2e1cd0): Section mismatch in reference from the function s390_virtio_console_init() to the function .init.text:virtio_cons_early_init()
The function s390_virtio_console_init() references
the function __init virtio_cons_early_init().
This is often because s390_virtio_console_init lacks a __init
annotation or the annotation of virtio_cons_early_init is wrong.
Cc: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens at de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit 1378ee9b67298176edbcec0ab87b38e913d76ab9
Author: Cornelia Huck <cornelia.huck at de.ibm.com>
Date: Fri Aug 1 16:39:21 2008 +0200
[S390] cio: Include linux/string.h in schid.h.
schid.h needs string.h for memset and memcmp.
Signed-off-by: Cornelia Huck <cornelia.huck at de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit 3f1934bc1a0dcc2b7c31c8fd4f41ea2dd6522c3e
Author: Heiko Carstens <heiko.carstens at de.ibm.com>
Date: Fri Aug 1 16:39:20 2008 +0200
[S390] qdio: fix section mismatch bug.
Fix the two section mismatch warnings below.
This fixes two real bugs since the code which has __exit annotations
may already be gone when it is called.
WARNING: vmlinux.o(.init.text+0x1cc4a): Section mismatch in reference from the function init_QDIO() to the function .exit.text:qdio_setup_exit()
The function __init init_QDIO() references
a function __exit qdio_setup_exit().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __exit annotation of
qdio_setup_exit() so it may be used outside an exit section.
WARNING: vmlinux.o(.init.text+0x1cc7a): Section mismatch in reference from the function init_QDIO() to the function .exit.text:qdio_remove_perf_stats()
The function __init init_QDIO() references
a function __exit qdio_remove_perf_stats().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __exit annotation of
qdio_remove_perf_stats() so it may be used outside an exit section.
Signed-off-by: Heiko Carstens <heiko.carstens at de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit 8f8470032570988af2eeff520ca01a32fd908b2b
Author: Heiko Carstens <heiko.carstens at de.ibm.com>
Date: Fri Aug 1 16:39:19 2008 +0200
[S390] stp: fix section mismatch warning.
Fix these two (false positive) warnings by adding an __init annoation:
WARNING: vmlinux.o(.text+0x7e6a): Section mismatch in reference from the function stp_reset() to the function .init.text:__alloc_bootmem()
The function stp_reset() references
the function __init __alloc_bootmem().
This is often because stp_reset lacks a __init
annotation or the annotation of __alloc_bootmem is wrong.
WARNING: vmlinux.o(.text+0x7ece): Section mismatch in reference from the function stp_reset() to the function .init.text:free_bootmem()
The function stp_reset() references
the function __init free_bootmem().
This is often because stp_reset lacks a __init
annotation or the annotation of free_bootmem is wrong.
Signed-off-by: Heiko Carstens <heiko.carstens at de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit d918fe2bd72830dfbe8ca2bb30d49930d1356e6d
Author: Heiko Carstens <heiko.carstens at de.ibm.com>
Date: Fri Aug 1 16:39:18 2008 +0200
[S390] Remove diag 0x260 call from memory detection.
The result of the diag 0x260 call is not always what one would expect.
So just remove it.
Signed-off-by: Heiko Carstens <heiko.carstens at de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit 3b8e3004aea95c687e8991583e7b150ec1416ff3
Author: Jan Glauber <jang at linux.vnet.ibm.com>
Date: Fri Aug 1 16:39:17 2008 +0200
[S390] qdio: make sure qdr is aligned to page size
kzalloc does not guarantee the required alignment of qdr to page size,
use get_zeroed_page instead.
Signed-off-by: Jan Glauber <jang at linux.vnet.ibm.com>
commit 7e9238fbc10373effc2c3b0b516b0bdc8fefc27b
Author: Gerald Schaefer <gerald.schaefer at de.ibm.com>
Date: Fri Aug 1 16:39:16 2008 +0200
[S390] Add support for memory hot-remove.
This patch enables memory hot-remove on s390.
Signed-off-by: Gerald Schaefer <gerald.schaefer at de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens at de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit 519620cc3d723d41522191ebd150fba4a3790296
Author: Heiko Carstens <heiko.carstens at de.ibm.com>
Date: Fri Aug 1 16:39:15 2008 +0200
[S390] Wire up new syscalls.
Signed-off-by: Heiko Carstens <heiko.carstens at de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit 883e512c99fc398d1b2b5e8e92b6bacff2551756
Author: Michael Ernst <mernst at de.ibm.com>
Date: Fri Aug 1 16:39:14 2008 +0200
[S390] cio: Memory allocation for idset changed.
Memory allocation for the quite huge idset changed from
kzalloc to vmalloc.
Signed-off-by: Michael Ernst <mernst at de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit 683d718a893575a88c551ad71ea2c382eedbf67e
Author: Frank Blaschka <frank.blaschka at de.ibm.com>
Date: Fri Aug 1 16:39:13 2008 +0200
[S390] qeth: preallocated qeth header for hiper socket
For hiper socket devices this patch will economize the reallocation
of the tx skb data segment by allocating separate memory for the qdio
transport information (qeth header).
Signed-off-by: Frank Blaschka <frank.blaschka at de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit a4b526b3ba6353cd89a38e41da48ed83b0ead16f
Author: Martin Schwidefsky <schwidefsky at de.ibm.com>
Date: Fri Aug 1 16:39:12 2008 +0200
[S390] Optimize storage key operations for anon pages
For anonymous pages without a swap cache backing the check in
page_remove_rmap for the physical dirty bit in page_remove_rmap is
unnecessary. The instructions that are used to check and reset the dirty
bit are expensive. Removing the check noticably speeds up process exit.
In addition the clearing of the dirty bit in __SetPageUptodate is
pointless as well. With these two changes there is no storage key
operation for an anonymous page anymore if it does not hit the swap
space.
The micro benchmark which repeatedly executes an empty shell script
gets about 5% faster.
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit 934b2857cc576ae53c92a66e63fce7ddcfa74691
Author: Heiko Carstens <heiko.carstens at de.ibm.com>
Date: Fri Aug 1 16:39:11 2008 +0200
[S390] nohz/sclp: disable timer on synchronous waits.
sclp_sync_wait wait synchronously for an sclp interrupt and disables
timer interrupts. However on the irq enter paths there is an extra
check if a timer interrupt would be due and calls the timer callback.
This would schedule softirqs in the wrong context.
So introduce local_tick_enable/disable which prevents this.
Signed-off-by: Heiko Carstens <heiko.carstens at de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit 3a95e8eb34f595a0144adb6e5513d456319bd8a5
Author: Michael Holzheu <holzheu at linux.vnet.ibm.com>
Date: Fri Aug 1 16:39:10 2008 +0200
[S390] ipl: Reboot from alternate device does not work when booting from file
During startup we check if diag308 works using diag 308 subcode 6,
which stores the actual ipl information. This fails with rc = 0x102, if
the system has been ipled from the HMC using load from CD or load from file.
In the case of rc = 0x102 we have to assume that diag 308 is working,
since it still can be used to ipl from an alternative device.
Signed-off-by: Michael Holzheu <holzheu at linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit 4abb08c24b5fa7b6ad0807c07077f0f216f6788b
Author: Stefan Weinhuber <wein at de.ibm.com>
Date: Fri Aug 1 16:39:09 2008 +0200
[S390] dasd: Add support for enhanced VM UID
When z/VM provides two virtual devices (minidisks) that reside on the
same real device, both will receive the configuration data from the
real device and thus get the same uid. To fix this problem, z/VM
provides an additional configuration data record that allows to
distinguish between minidisks.
z/VM APAR VM64273 needs be installed so this fix has an effect.
Signed-off-by: Stefan Weinhuber <wein at de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit c2bb4e5d497823437f0a11d342024ccdc6ff5b0d
Author: Heiko Carstens <heiko.carstens at de.ibm.com>
Date: Fri Aug 1 16:39:08 2008 +0200
[S390] Remove last P390 trace.
Seems like I forgot this hunk...
Signed-off-by: Heiko Carstens <heiko.carstens at de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
commit 963724462a11668185dc67879ea8fe7590973322
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Wed Jul 30 12:34:57 2008 -0700
[MTD] [NAND] diskonchip.c fix sparse endian warnings
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Cc: Al Viro <viro at zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit fc1f397b2c7ef1c9bad58778e4041dfabf20c71c
Author: Andrew Morton <akpm at linux-foundation.org>
Date: Wed Jul 30 12:34:56 2008 -0700
[MTD] [NAND] drivers/mtd/nand/nandsim.c needs div64.h
drivers/mtd/nand/nandsim.c: In function 'divide':
drivers/mtd/nand/nandsim.c:462: error: implicit declaration of function 'do_div'
Cc: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 25fc999913839a45cbb48ac7872e67f7521e7ed9
Author: Jason Wessel <jason.wessel at windriver.com>
Date: Fri Aug 1 08:39:35 2008 -0500
kgdb: fix gdb serial thread queries
The command "info threads" did not work correctly with kgdb. It would
result in a silent kernel hang if used.
This patach addresses several problems.
- Fix use of deprecated NR_CPUS
- Fix kgdb to not walk linearly through the pid space
- Correctly implement shadow pids
- Change the threads per query to a #define
- Fix kgdb_hex2long to work with negated values
The threads 0 and -1 are reserved to represent the current task. That
means that CPU 0 will start with a shadow thread id of -2, and CPU 1
will have a shadow thread id of -3, etc...
From the debugger you can switch to a shadow thread to see what one of
the other cpus was doing, however it is not possible to execute run
control operations on any other cpu execept the cpu executing the
kgdb_handle_exception().
Signed-off-by: Jason Wessel <jason.wessel at windriver.com>
commit a9b60bf4c29e07a5a2f26a6f74937972fee9b58b
Author: Jason Wessel <jason.wessel at windriver.com>
Date: Fri Aug 1 08:39:34 2008 -0500
kgdb: fix kgdb_validate_break_address to perform a mem write
A regression to the kgdb core was found in the case of using the
CONFIG_DEBUG_RODATA kernel option. When this option is on, a breakpoint
cannot be written into any readonly memory page. When an external
debugger requests a breakpoint to get set, the
kgdb_validate_break_address() was only checking to see if the address
to place the breakpoint was readable and lacked a write check.
This patch changes the validate routine to try reading (via the
breakpoint set request) and also to try immediately writing the break
point. If either fails, an error is correctly returned and the
debugger behaves correctly. Then an end user can make the
descision to use hardware breakpoints.
Also update the documentation to reflect that using
CONFIG_DEBUG_RODATA will inhibit the use of software breakpoints.
Signed-off-by: Jason Wessel <jason.wessel at windriver.com>
commit 5f5ddfb3605d2a4f555a7ff034859e623eafcd27
Author: Jason Wessel <jason.wessel at windriver.com>
Date: Fri Aug 1 08:39:34 2008 -0500
kgdb: remove the requirement for CONFIG_FRAME_POINTER
There is no technical reason that the kgdb core requires frame
pointers. It is up to the end user of KGDB to decide if they need
them or not.
[ anemo at mba.ocn.ne.jp: removed frame pointers on mips ]
Signed-off-by: Jason Wessel <jason.wessel at windriver.com>
commit b7600dba6d4fbf3897e517b322d006986cce831a
Author: David Woodhouse <David.Woodhouse at intel.com>
Date: Fri Aug 1 10:07:51 2008 +0100
[JFFS2] Fix allocation of summary buffer
We can't use vmalloc for the buffer we use for writing summaries,
because some drivers may want to DMA from it. So limit the size to 64KiB
and use kmalloc for it instead.
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit f6ed6f78d46b43b6d908b39ed3322f7cda23f4a8
Author: Pieter du Preez <pdupreez at gmail.com>
Date: Fri Aug 1 10:06:40 2008 +0100
Fix rename of at91_nand -> atmel_nand
Structs called at91_nand_data where renamed to atmel_nand_data
and configs called *MTD_NAND_AT91* where renamed to
*MTD_NAND_ATMEL*. This was unfortunately not done consistently,
causing NAND chips not being initialised on several ARM boards.
I am aware that the author of the original change did not rename
MTD_NAND_AT91_BUSWIDTH to MTD_NAND_ATMEL_BUSWIDTH, for example.
All *MTD_NAND_AT91* where renamed to *MTD_NAND_ATMEL* in order
to keep naming consistency.
This patch was only tested on a MACH_SAM9_L9260, as this is the
only ARM board I have to my disposal.
Before this patch:
$ git-ls-files |xargs grep atmel_nand |wc -l
105
$ git-ls-files |xargs grep at91_nand |wc -l
4
$ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
8
$ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
47
After this patch:
$ git-ls-files |xargs grep atmel_nand |wc -l
109
$ git-ls-files |xargs grep at91_nand |wc -l
0
$ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
55
$ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
0
Signed-off-by: Pieter du Preez <pdupreez at gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 00b1304c4ca81dd893973cc620b87a5c3ff3f660
Author: Adam Langley <agl at imperialviolet.org>
Date: Thu Jul 31 21:36:07 2008 -0700
tcp: MD5: Fix IPv6 signatures
Reported by Stefanos Harhalakis; although 2.6.27-rc1 talks to itself using IPv6
TCP MD5 packets just fine, Stefanos noted that tcpdump claimed that the
signatures were invalid.
I broke this in 49a72dfb8814c2d65bd9f8c9c6daf6395a1ec58d ("tcp: Fix MD5
signatures for non-linear skbs"), it was just a typo.
Note that tcpdump will still sometimes claim that the signatures are incorrect.
A patch to tcpdump has been submitted for this[1].
[1] http://tinyurl.com/6a4fl2
Signed-off-by: Adam Langley <agl at imperialviolet.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 4a7b61d23505854dff7d04cc11944566cffdd0ee
Author: Randy Dunlap <randy.dunlap at oracle.com>
Date: Thu Jul 31 20:52:08 2008 -0700
skbuff: add missing kernel-doc for do_not_encrypt
Add missing kernel-doc notation to sk_buff:
Warning(linux-2.6.27-rc1-git2//include/linux/skbuff.h:345): No description found for parameter 'do_not_encrypt'
Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 8a9204db665365354b349ed5b0bc054f0433a2a4
Author: Ingo Molnar <mingo at elte.hu>
Date: Thu Jul 31 20:51:22 2008 -0700
net/ipv4/route.c: fix build error
fix:
net/ipv4/route.c: In function 'ip_static_sysctl_init':
net/ipv4/route.c:3225: error: 'ipv4_route_path' undeclared (first use in this function)
net/ipv4/route.c:3225: error: (Each undeclared identifier is reported only once
net/ipv4/route.c:3225: error: for each function it appears in.)
net/ipv4/route.c:3225: error: 'ipv4_route_table' undeclared (first use in this function)
Signed-off-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 47d715af0761012ab074a12b5b5959f0179eaa09
Author: Mark M. Hoffman <mhoffman at lightlink.com>
Date: Thu Jul 31 23:48:25 2008 -0400
hwmon: needs new maintainer
Signed-off-by: Mark M. Hoffman <mhoffman at lightlink.com>
commit 90b7e1120bb43ffaabb88d28f80a0c2e13167b15
Author: Adam Langley <agl at imperialviolet.org>
Date: Thu Jul 31 20:49:48 2008 -0700
tcp: MD5: Fix MD5 signatures on certain ACK packets
I noticed, looking at tcpdumps, that timewait ACKs were getting sent
with an incorrect MD5 signature when signatures were enabled.
I broke this in 49a72dfb8814c2d65bd9f8c9c6daf6395a1ec58d ("tcp: Fix
MD5 signatures for non-linear skbs"). I didn't take into account that
the skb passed to tcp_*_send_ack was the inbound packet, thus the
source and dest addresses need to be swapped when calculating the MD5
pseudoheader.
Signed-off-by: Adam Langley <agl at imperialviolet.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 77e2f14f71d68d05945f1d30ca55b5194d6ab1ce
Author: Wei Yongjun <yjwei at cn.fujitsu.com>
Date: Thu Jul 31 20:46:47 2008 -0700
ipv6: Fix ip6_xmit to send fragments if ipfragok is true
SCTP used ip6_xmit() to send fragments after received ICMP packet too
big message. But while send packet used ip6_xmit, the skb->local_df is
not initialized. So when skb if enter ip6_fragment(), the following
code will discard the skb.
ip6_fragment(...)
{
if (!skb->local_df) {
...
return -EMSGSIZE;
}
...
}
SCTP do the following step:
1. send packet ip6_xmit(skb, ipfragok=0)
2. received ICMP packet too big message
3. if PMTUD_ENABLE: ip6_xmit(skb, ipfragok=1)
This patch fixed the problem by set local_df if ipfragok is true.
Signed-off-by: Wei Yongjun <yjwei at cn.fujitsu.com>
Acked-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit bc4768eb081a67642c0c44c34ea597c273bdedcb
Author: Julius Volz <juliusv at google.com>
Date: Thu Jul 31 20:45:24 2008 -0700
ipvs: Move userspace definitions to include/linux/ip_vs.h
Current versions of ipvsadm include "/usr/src/linux/include/net/ip_vs.h"
directly. This file also contains kernel-only definitions. Normally, public
definitions should live in include/linux, so this patch moves the
definitions shared with userspace to a new file, "include/linux/ip_vs.h".
This also removes the unused NFC_IPVS_PROPERTY bitmask, which was once
used to point into skb->nfcache.
To make old ipvsadms still compile with this, the old header file includes
the new one.
Thanks to Dave Miller and Horms for noting/adding the missing Kbuild entry
for the new header file.
Signed-off-by: Julius Volz <juliusv at google.com>
Acked-by: Simon Horman <horms at verge.net.au>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 5f44759470f7248f74947a39cba339009d62052c
Author: Jean Delvare <khali at linux-fr.org>
Date: Wed Jun 25 09:10:30 2008 -0400
hwmon: (lm85) Simplify device initialization function
Clean up and simplify the device initialization function:
* Degrade error messages to warnings - what they really are.
* Stop warning about VxI mode, we don't really care.
* Drop comment about lack of limit initialization - that's the standard
way, all hardware monitoring drivers do that.
* Only read the configuration register once.
* Only write back to the configuration register if needed.
* Don't attempt to clear the lock bit, it locks itself to 1.
* Move the function to before it's called, so that we no longer need to
forware declare it.
Signed-off-by: Jean Delvare <khali at linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman at lightlink.com>
commit e89e22b23bceb3fbbcfb931ad17a564b7c1eaa55
Author: Jean Delvare <khali at linux-fr.org>
Date: Wed Jun 25 08:47:35 2008 -0400
hwmon: (lm85) Misc cleanups
Misc cleanups to the lm85 hardware monitoring driver:
* Mark constant arrays as const.
* Remove useless masks.
* Have lm85_write_value return void - nobody is checking the returned
value anyway and in some cases it was plain wrong.
* Remove useless initializations.
* Rename new_client to client in lm85_detect.
* Replace cascaded if/else with a switch/case in lm85_detect.
* Group similar loops in lm85_update_device.
* Remove legacy comments.
Signed-off-by: Jean Delvare <khali at linux-fr.org>
Acked-by: Juerg Haefliger <juergh at gmail.com>
Signed-off-by: Mark M. Hoffman <mhoffman at lightlink.com>
commit 7133e56f29030b13601d3399e20050053e560860
Author: Jean Delvare <khali at linux-fr.org>
Date: Sat Apr 12 19:56:35 2008 +0200
hwmon: (lm85) Don't write back cached values
In set_pwm_auto_pwm_minctl, we write cached register bits back to the
chip. This is a bad idea as we have no guarantee that the cache is
up-to-date. Better read a fresh register value from the chip, it's
safer and in fact it is also more simple.
Signed-off-by: Jean Delvare <khali at linux-fr.org>
Acked-by: Juerg Haefliger <juergh at gmail.com>
Signed-off-by: Mark M. Hoffman <mhoffman at lightlink.com>
commit dd1ac5384a08946a99e974bf5749d382e92ed3c0
Author: Jean Delvare <khali at linux-fr.org>
Date: Thu May 1 08:47:33 2008 +0200
hwmon: (lm85) Drop dead code
Drop a lot of useless register defines, conversion macros, data structure
members and update code. All these register values were read from the
device but nothing is done out of them, so this is all dead code in
practice.
Signed-off-by: Jean Delvare <khali at linux-fr.org>
Acked-by: Juerg Haefliger <juergh at gmail.com>
Signed-off-by: Mark M. Hoffman <mhoffman at lightlink.com>
commit 1f44809ac3d7a3fc977684dc3a95fa221f33fc15
Author: Jean Delvare <khali at linux-fr.org>
Date: Tue Apr 29 14:03:37 2008 +0200
hwmon: (lm85) Coding-style cleanups
Fix most style issues reported by checkpatch, including:
* Trailing, missing and extra whitespace
* Extra parentheses, curly braces and semi-colons
* Broken indentation
* Lines too long
I verified that the generated code is the same before and after
these changes.
Signed-off-by: Jean Delvare <khali at linux-fr.org>
Acked-by: Juerg Haefliger <juergh at gmail.com>
Signed-off-by: Mark M. Hoffman <mhoffman at lightlink.com>
commit 9ebd3d822efeca2e73565516a80373c76ce3fa12
Author: David Brownell <david-b at pacbell.net>
Date: Sat May 3 19:33:15 2008 -0700
hwmon: (lm75) add new-style driver binding
More LM75 updates:
- Teach the LM75 driver to use new-style driver binding:
* Create a second driver struct, using new-style driver binding
methods cribbed from the legacy code.
* Add a MODULE_DEVICE_TABLE (for "newER-style binding")
* The legacy probe logic delegates its work to this new code.
* The legacy driver now uses the name "lm75_legacy".
- More careful initialization. Chips are put into 9-bit mode so
the current interconversion routines will never fail.
- Save the original chip configuration, and restore it on exit.
(Among other things, this normally turns off the mode where
the chip is constantly sampling ... and thus saves power.)
So the new-style code should catch all chips that boards declare,
while the legacy code catches others. This particular coexistence
strategy may need some work yet ... legacy modes might best be set
up explicitly by some tool not unlike "sensors-detect". (Or else
completely eradicated...)
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Acked-by: Jean Delvare <khali at linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman at lightlink.com>
commit 01a52397e95a8532c59506691759dba9262d6be7
Author: David Brownell <david-b at pacbell.net>
Date: Mon Apr 21 12:10:53 2008 -0700
hwmon: (lm75) cleanup/reorg
Minor cleanup and reorg of the lm75 code.
- Kconfig provides a larger list of lm75-compatible chips
- A top comment now says what the driver does (!) ... as in, just
what sort of sensor is this??
- Section comments now delineate the various sections of the driver:
hwmon attributes, driver binding, register access, module glue.
One driver binding function moved out of the attribute section,
as did the driver struct itself.
- Minor tweaks to legacy probe logic: correct a comment, and
remove a pointless variable.
- Whitespace, linelength, and comment fixes.
This patch should include no functional changes. It's preparation
for adding new-style (driver model) I2C driver binding.
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Acked-by: Jean Delvare <khali at linux-fr.org>
Acked-by: Laurent Pinchart <laurentp at cse-semaphore.com>
Signed-off-by: Mark M. Hoffman <mhoffman at lightlink.com>
commit 321c4138573da888ca30a387e9973f690c217e9e
Author: Mark M. Hoffman <mhoffman at lightlink.com>
Date: Mon May 26 15:09:36 2008 -0400
hwmon: (adt7473) clarify an awkward bit of code
Signed-off-by: Mark M. Hoffman <mhoffman at lightlink.com>
Acked-by: Jean Delvare <khali at linux-fr.org>
commit 9d3e19afd35907bf58b205096cd33e97df8fb6a5
Author: Jean Delvare <khali at linux-fr.org>
Date: Sat Apr 26 16:28:27 2008 +0200
hwmon: (adt7473) Remove unused defines
All the *_MAX_ADDR defines are never used, so remove them. The number
of registers of each type is already expressed by the *_COUNT defines.
Signed-off-by: Jean Delvare <khali at linux-fr.org>
Acked-by: Darrick J. Wong <djwong at us.ibm.com>
Signed-off-by: Mark M. Hoffman <mhoffman at lightlink.com>
commit f994fb23d3c63dffc8127f227f3e0c530e3e4fd6
Author: Juerg Haefliger <juergh at gmail.com>
Date: Tue Mar 25 21:49:15 2008 -0700
hwmon: (dme1737) fix voltage scaling
This patch fixes a voltage scaling issue for the sch311x device.
Signed-Off-By: Juerg Haefliger <juergh at gmail.com>
Acked-by: Jean Delvare <khali at linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman at lightlink.com>
commit 92430b6feb19aba043171ff3094535b598052901
Author: Juerg Haefliger <juergh at gmail.com>
Date: Thu Apr 3 21:34:19 2008 -0700
hwmon: (dme1737) probe all addresses
This patch adds a module load parameter to enable probing of
non-standard LPC addresses 0x162e and 0x164e when scanning for supported
ISA chips.
Signed-Off-By: Juerg Haefliger <juergh at gmail.com>
Acked-by: Jean Delvare <khali at linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman at lightlink.com>
commit 9b257714a3f6f5c3ea133c44d3442e2340734b65
Author: Juerg Haefliger <juergh at gmail.com>
Date: Tue Mar 25 21:49:02 2008 -0700
hwmon: (dme1737) demacrofy for readability
This patch gets rid of a couple of macros previously used for sysfs attribute
generation and manipulation. This makes the source a little bigger but a lot
more readable and maintainable. It also fixes an issue with pwm5 & pwm6
attributes not being created read-only initially.
Signed-Off-By: Juerg Haefliger <juergh at gmail.com>
Acked-by: Jean Delvare <khali at linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman at lightlink.com>
commit 388667bed591b2359713bb17d5de0cf56e961447
Author: Arthur Jones <ajones at riverbed.com>
Date: Fri Jul 25 12:03:38 2008 -0700
md: raid10: wake up frozen array
When rescheduling a bio in raid10, we wake up
the md thread, but if the array is frozen, this
will have no effect. This causes the array to
remain frozen for eternity. We add a wake_up
to allow the array to de-freeze. This code is
nearly identical to the raid1 code, which has
this fix already.
Signed-off-by: Arthur Jones <ajones at riverbed.com>
Signed-off-by: NeilBrown <neilb at suse.de>
commit c3f26a269c2421f97f10cf8ed05d5099b573af4d
Author: David S. Miller <davem at davemloft.net>
Date: Thu Jul 31 16:58:50 2008 -0700
netdev: Fix lockdep warnings in multiqueue configurations.
When support for multiple TX queues were added, the
netif_tx_lock() routines we converted to iterate over
all TX queues and grab each queue's spinlock.
This causes heartburn for lockdep and it's not a healthy
thing to do with lots of TX queues anyways.
So modify this to use a top-level lock and a "frozen"
state for the individual TX queues.
Signed-off-by: David S. Miller <davem at davemloft.net>
commit c259ae52e204d42f8b2d484c85517a4c367030e1
Author: Julia Lawall <julia at diku.dk>
Date: Mon Jul 21 09:59:15 2008 +0200
[PATCH] ocfs2: Release mutex in error handling code
The mutex is released on a successful return, so it would seem that it
should be released on an error return as well.
The semantic patch finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
expression l;
@@
mutex_lock(l);
... when != mutex_unlock(l)
when any
when strict
(
if (...) { ... when != mutex_unlock(l)
+ mutex_unlock(l);
return ...;
}
|
mutex_unlock(l);
)
// </smpl>
Signed-off-by: Julia Lawall <julia at diku.dk>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit 961cecbee6786f4b1f1b8f695e87045b583f9f49
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Wed Jul 16 17:22:22 2008 -0700
[PATCH] ocfs2: Fix oops when racing files truncates with writes into an mmap region
This patch fixes an oops that is reproduced when one races writes to a mmap-ed
region with another process truncating the file.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit 539d8264093560b917ee3afe4c7f74e5da09d6a5
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Mon Jul 14 17:31:10 2008 -0700
[PATCH 2/2] ocfs2: Fix race between mount and recovery
As the fs recovery is asynchronous, there is a small chance that another
node can mount (and thus recover) the slot before the recovery thread
gets to it.
If this happens, the recovery thread will block indefinitely on the
journal/slot lock as that lock will be held for the duration of the mount
(by design) by the node assigned to that slot.
The solution implemented is to keep track of the journal replays using
a recovery generation in the journal inode, which will be incremented by the
thread replaying that journal. The recovery thread, before attempting the
blocking lock on the journal/slot lock, will compare the generation on disk
with what it has cached and skip recovery if it does not match.
This bug appears to have been inadvertently introduced during the mount/umount
vote removal by mainline commit 34d024f84345807bf44163fac84e921513dde323. In the
mount voting scheme, the messaging would indirectly indicate that the slot
was being recovered.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit c69991aac71a8beb57c11d651c7fd4b24c32aa8b
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Mon Jul 14 17:31:09 2008 -0700
[PATCH 1/2] ocfs2: Add counter in struct ocfs2_dinode to track journal replays
This patch renames the ij_pad to ij_recovery_generation in struct ocfs2_dinode.
This will be used to keep count of journal replays after an unclean shutdown.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit ecb3d28c7edd58b54f16838c434b342ba9195bec
Author: Joel Becker <joel.becker at oracle.com>
Date: Wed Jun 18 19:29:05 2008 -0700
[PATCH] configfs: Convenience macros for attribute definition.
Sysfs has the _ATTR() and _ATTR_RO() macros to make defining extended
form attributes easier. configfs should have something similiar.
- _CONFIGFS_ATTR() and _CONFIGFS_ATTR_RO() are the counterparts to the
sysfs macros.
- CONFIGFS_ATTR_STRUCT() creates the extended form attribute structure.
- CONFIGFS_ATTR_OPS() defines the show_attribute()/store_attribute()
operations that call the show()/store() operations of the extended
form configfs_attributes.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit 70526b67443a980d5029d9cf06903bef731a4e96
Author: Joel Becker <joel.becker at oracle.com>
Date: Tue Jun 17 15:34:32 2008 -0700
[PATCH] configfs: Pin configfs subsystems separately from new config_items.
configfs_mkdir() creates a new item by calling its parent's
->make_item/group() functions. Once that object is created,
configfs_mkdir() calls try_module_get() on the new item's module. If it
succeeds, the module owning the new item cannot be unloaded, and
configfs is safe to reference the item.
If the item and the subsystem it belongs to are part of the same module,
the subsystem is also pinned. This is the common case.
However, if the subsystem is made up of multiple modules, this may not
pin the subsystem. Thus, it would be possible to unload the toplevel
subsystem module while there is still a child item. Thus, we now
try_module_get() the subsystem's module. This only really affects
children of the toplevel subsystem group. Deeper children already have
their parents pinned.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit 99cefda42ac550863b5ae1df9e60322e377decf9
Author: Louis Rilling <louis.rilling at kerlabs.com>
Date: Fri Jun 27 13:10:25 2008 +0200
[PATCH] configfs: Fix open directory making rmdir() fail
When checking for user-created elements under an item to be removed by rmdir(),
configfs_detach_prep() counts fake configfs_dirents created by dir_open() as
user-created and fails when finding one. It is however perfectly valid to remove
a directory that is open.
Simply make configfs_detach_prep() skip fake configfs_dirent, like it already
does for attributes, and like detach_groups() does.
Signed-off-by: Louis Rilling <louis.rilling at kerlabs.com>
Signed-off-by: Joel Becker <joel.becker at oracle.com>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit 2e2ce171c3ba6f2753fb1fd2706b63683394da2d
Author: Louis Rilling <louis.rilling at kerlabs.com>
Date: Fri Jul 4 16:56:06 2008 +0200
[PATCH] configfs: Lock new directory inodes before removing on cleanup after failure
Once a new configfs directory is created by configfs_attach_item() or
configfs_attach_group(), a failure in the remaining initialization steps leads
to removing a directory which inode the VFS may have already accessed.
This commit adds the necessary inode locking to safely remove configfs
directories while cleaning up after a failure. As an advantage, the locking
rules of populate_groups() and detach_groups() become the same: the caller must
have the group's inode mutex locked.
Signed-off-by: Louis Rilling <louis.rilling at kerlabs.com>
Signed-off-by: Joel Becker <joel.becker at oracle.com>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit 2a109f2a4155f168047aa2f5b3a170e279bef89a
Author: Louis Rilling <louis.rilling at kerlabs.com>
Date: Fri Jul 4 16:56:05 2008 +0200
[PATCH] configfs: Prevent userspace from creating new entries under attaching directories
process 1: process 2:
configfs_mkdir("A")
attach_group("A")
attach_item("A")
d_instantiate("A")
populate_groups("A")
mutex_lock("A")
attach_group("A/B")
attach_item("A")
d_instantiate("A/B")
mkdir("A/B/C")
do_path_lookup("A/B/C", LOOKUP_PARENT)
ok
lookup_create("A/B/C")
mutex_lock("A/B")
ok
configfs_mkdir("A/B/C")
ok
attach_group("A/C")
attach_item("A/C")
d_instantiate("A/C")
populate_groups("A/C")
mutex_lock("A/C")
attach_group("A/C/D")
attach_item("A/C/D")
failure
mutex_unlock("A/C")
detach_groups("A/C")
nothing to do
mkdir("A/C/E")
do_path_lookup("A/C/E", LOOKUP_PARENT)
ok
lookup_create("A/C/E")
mutex_lock("A/C")
ok
configfs_mkdir("A/C/E")
ok
detach_item("A/C")
d_delete("A/C")
mutex_unlock("A")
detach_groups("A")
mutex_lock("A/B")
detach_group("A/B")
detach_groups("A/B")
nothing since no _default_ group
detach_item("A/B")
mutex_unlock("A/B")
d_delete("A/B")
detach_item("A")
d_delete("A")
Two bugs:
1/ "A/B/C" and "A/C/E" are created, but never removed while their parent are
removed in the end. The same could happen with symlink() instead of mkdir().
2/ "A" and "A/C" inodes are not locked while detach_item() is called on them,
which may probably confuse VFS.
This commit fixes 1/, tagging new directories with CONFIGFS_USET_CREATING before
building the inode and instantiating the dentry, and validating the whole
group+default groups hierarchy in a second pass by clearing
CONFIGFS_USET_CREATING.
mkdir(), symlink(), lookup(), and dir_open() simply return -ENOENT if
called in (or linking to) a directory tagged with CONFIGFS_USET_CREATING. This
does not prevent userspace from calling stat() successfuly on such directories,
but this prevents userspace from adding (children to | symlinking from/to |
read/write attributes of | listing the contents of) not validated items. In
other words, userspace will not interact with the subsystem on a new item until
the new item creation completes correctly.
It was first proposed to re-use CONFIGFS_USET_IN_MKDIR instead of a new
flag CONFIGFS_USET_CREATING, but this generated conflicts when checking the
target of a new symlink: a valid target directory in the middle of attaching
a new user-created child item could be wrongly detected as being attached.
2/ is fixed by next commit.
Signed-off-by: Louis Rilling <louis.rilling at kerlabs.com>
Signed-off-by: Joel Becker <joel.becker at oracle.com>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit 9a73d78cda750f12e25eb811878f2d9dbab1bc6e
Author: Louis Rilling <louis.rilling at kerlabs.com>
Date: Fri Jun 20 14:09:22 2008 +0200
[PATCH] configfs: Fix failing symlink() making rmdir() fail
On a similar pattern as mkdir() vs rmdir(), a failing symlink() may make rmdir()
fail for the symlink's parent and the symlink's target as well.
failing symlink() making target's rmdir() fail:
process 1: process 2:
symlink("A/S" -> "B")
allow_link()
create_link()
attach to "B" links list
rmdir("B")
detach_prep("B")
error because of new link
configfs_create_link("A", "S")
error (eg -ENOMEM)
failing symlink() making parent's rmdir() fail:
process 1: process 2:
symlink("A/D/S" -> "B")
allow_link()
create_link()
attach to "B" links list
configfs_create_link("A/D", "S")
make_dirent("A/D", "S")
rmdir("A")
detach_prep("A")
detach_prep("A/D")
error because of "S"
create("S")
error (eg -ENOMEM)
We cannot use the same solution as for mkdir() vs rmdir(), since rmdir() on the
target cannot wait on the i_mutex of the new symlink's parent without risking a
deadlock (with other symlink() or sys_rename()). Instead we define a global
mutex protecting all configfs symlinks attachment, so that rmdir() can avoid the
races above.
Signed-off-by: Louis Rilling <louis.rilling at kerlabs.com>
Signed-off-by: Joel Becker <joel.becker at oracle.com>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit 4768e9b18dc63719209c68920d4ae52dc49b6161
Author: Louis Rilling <louis.rilling at kerlabs.com>
Date: Mon Jun 23 14:16:17 2008 +0200
[PATCH] configfs: Fix symlink() to a removing item
The rule for configfs symlinks is that symlinks always point to valid
config_items, and prevent the target from being removed. However,
configfs_symlink() only checks that it can grab a reference on the target item,
without ensuring that it remains alive until the symlink is correctly attached.
This patch makes configfs_symlink() fail whenever the target is being removed,
using the CONFIGFS_USET_DROPPING flag set by configfs_detach_prep() and
protected by configfs_dirent_lock.
This patch introduces a similar (weird?) behavior as with mkdir failures making
rmdir fail: if symlink() races with rmdir() of the parent directory (or its
youngest user-created ancestor if parent is a default group) or rmdir() of the
target directory, and then fails in configfs_create(), this can make the racing
rmdir() fail despite the concerned directory having no user-created entry (resp.
no symlink pointing to it or one of its default groups) in the end.
This behavior is fixed in later patches.
Signed-off-by: Louis Rilling <louis.rilling at kerlabs.com>
Signed-off-by: Joel Becker <joel.becker at oracle.com>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit dacdd0e04768da1fd2b24a6ee274c582b40d0c5b
Author: Joel Becker <joel.becker at oracle.com>
Date: Thu Jul 17 16:54:19 2008 -0700
[PATCH] configfs: Include linux/err.h in linux/configfs.h
We now use PTR_ERR() in the ->make_item() and ->make_group() operations.
Folks including configfs.h need err.h.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit 48a61569bb5396415c5dad0e81e1cfeb87c0aca3
Author: Adrian Bunk <bunk at kernel.org>
Date: Wed Jul 23 22:50:45 2008 +0300
kbuild: scripts/ver_linux: don't set PATH
It would have saved both a bug submitter and me a few hours if
scripts/ver_linux had picked the same gcc as the build.
Since I can't see any reason why it fiddles with PATH at all this patch
therefore removes the PATH setting.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 775a7229ac862ea93924672e7e331edf8475415c
Author: jkacur <jkacur at gmail.com>
Date: Wed Jul 16 00:31:16 2008 +0200
Kconfig/init: change help text to match default value
Change the "If unsure" message to match the default value.
Signed-off-by: John Kacur <jkacur at gmail dot com>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 3b40d38120c32798a4be8d8052f028deeca9d581
Author: Andreas Gruenbacher <agruen at suse.de>
Date: Mon Jul 21 04:28:25 2008 +0200
kbuild: genksyms: Include extern information in dumps
The extern flag currently is not included in type dump files
(genksyms --dump-types). Include that flag there for completeness.
Signed-off-by: Andreas Gruenbacher <agruen at suse.de>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 94aa3d716ee0244cc5b9f2ab3745aed5fdfa30e0
Author: Andreas Gruenbacher <agruen at suse.de>
Date: Thu Jul 31 00:03:49 2008 +0200
kbuild: genksyms parser: fix the __attribute__ rule
We are having two kinds of problems with genksyms today: fake checksum
changes without actual ABI changes, and changes which we would rather like
to ignore (such as an additional field at the end of a structure that
modules are not supposed to touch, for example).
I have thought about ways to improve genksyms and compute checksums
differently to avoid those problems, but in the end I don't see a
fundamentally better way. So here are some genksyms patches for at least
making the checksums more easily manageable, if we cannot fully fix them.
In addition to the bugfixes (the first two patches), this allows genksyms
to track checksum changes and report why a checksum changed (third patch),
and to selectively ignore changes (fourth patch).
This patch:
Gcc __attribute__ definitions may occur repeatedly, e.g.,
static int foo __attribute__((__used__))
__attribute__((aligned (16)));
The genksyms parser does not understand this, and generates a syntax error.
Fix this case.
Signed-off-by: Andreas Gruenbacher <agruen at suse.de>
Cc: Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 1f4170e12db06fdde5279d665a7e6e2976b2b623
Author: Christian Borntraeger <borntraeger at de.ibm.com>
Date: Tue Jul 29 23:48:42 2008 +0200
KVM: s390: Fix kvm on IBM System z10
The z10 system supports large pages, kvm-s390 doesnt.
Make sure that we dont advertise large pages to avoid the guest crashing as
soon as the guest kernel activates DAT.
Signed-off-by: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 6f5fd8e9b98423add5f67b964e7cc8733dd73460
Author: Jeff Garzik <jeff at garzik.org>
Date: Thu Jul 31 03:46:30 2008 -0400
drivers/media, include/media: delete zero-length files
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit 967ab999a090b1a4e7d3c7febfd6d89b42fb4cf4
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Thu Jul 31 00:38:52 2008 -0700
netfilter: xt_hashlimit: fix race between htable_destroy and htable_gc
Deleting a timer with del_timer doesn't guarantee, that the
timer function is not running at the moment of deletion. Thus
in the xt_hashlimit case we can get into a ticklish situation
when the htable_gc rearms the timer back and we'll actually
delete an entry with a pending timer.
Fix it with using del_timer_sync().
AFAIK del_timer_sync checks for the timer to be pending by
itself, so I remove the check.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Signed-off-by: Patrick McHardy <kaber at trash.net>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit a8ddc9163c6a16cd62531dba1ec5020484e33b02
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Thu Jul 31 00:38:31 2008 -0700
netfilter: ipt_recent: fix race between recent_mt_destroy and proc manipulations
The thing is that recent_mt_destroy first flushes the entries
from table with the recent_table_flush and only *after* this
removes the proc file, corresponding to that table.
Thus, if we manage to write to this file the '+XXX' command we
will leak some entries. If we manage to write there a 'clean'
command we'll race in two recent_table_flush flows, since the
recent_mt_destroy calls this outside the recent_lock.
The proper solution as I see it is to remove the proc file first
and then go on with flushing the table. This flushing becomes
safe w/o the lock, since the table is already inaccessible from
the outside.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Signed-off-by: Patrick McHardy <kaber at trash.net>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit ae375044d31075a31de5a839e07ded7f67b660aa
Author: Patrick McHardy <kaber at trash.net>
Date: Thu Jul 31 00:38:01 2008 -0700
netfilter: nf_conntrack_tcp: decrease timeouts while data in unacknowledged
In order to time out dead connections quicker, keep track of outstanding data
and cap the timeout.
Suggested by Herbert Xu.
Signed-off-by: Patrick McHardy <kaber at trash.net>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 4a22442faeb33bdf34016a7b1f6b3d6ecd4e33e5
Author: Jerry Hicks <hickswgjr at gmail.com>
Date: Wed Jul 30 12:49:59 2008 -0700
[MTD] [NOR] drivers/mtd/chips/jedec_probe.c: fix Am29DL800BB device ID
The device id for Am29DL800BB in jedec_probe.c is wrong.
Reference: http://www.spansion.com/datasheets/21519c4.pdf
I discovered this while working with u-boot.
The u-boot folks mentioned Linux as an upstream reference, thought I'd
post a heads-up here too.
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 963e4975c6f93c148ca809d986d412201df9af89
Author: Alan Cox <alan at lxorguk.ukuu.org.uk>
Date: Thu Jul 24 17:16:06 2008 +0100
pata_it821x: Driver updates and reworking
- Add support for the RDC 1010 variant
- Rework the core library to have a read_id method. This allows the hacky
bits of it821x to go and prepares us for pata_hd
- Switch from WARN to BUG in ata_id_string as it will reboot if you get
it wrong so WARN won't be seen
- Allow the issue of command 0xFC on the 821x. This is needed to query
rebuild status.
- Tidy up printk formatting
- Do more ident rewriting on RAID volumes to handle firmware provided
ident data which is rather wonky
- Report the firmware revision and device layout in RAID mode
- Don't try and disable raid on the 8211 or RDC - they don't have the
relevant bits
Signed-off-by: Alan Cox <alan at redhat.com>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit 1f938d060a7bc01b5f82d46db3e38cd501b445a6
Author: Alexander Beregalov <a.beregalov at gmail.com>
Date: Mon Jul 21 00:06:19 2008 +0400
libata.h: replace __FUNCTION__ with __func__
Signed-off-by: Alexander Beregalov <a.beregalov at gmail.com>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit 487eff68e42287fd45cf178063f1ce1bad23c612
Author: Tejun Heo <htejun at gmail.com>
Date: Tue Jul 29 15:06:26 2008 +0900
ata_piix: subsys 106b:00a3 is apple ich8m too
Subsys 106b:00a3 also is the weird apple ich8m which chokes when the
latter two ports are accessed, add it. Reported by Felipe Sere.
Signed-off-by: Tejun Heo <tj at kernel.org>
Cc: Felipe Sere <dodofxp at gmail.com>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit 49ea3b04971ece6a5efe5d7b763ad9d2f169d441
Author: Elias Oltmanns <eo at nebensachen.de>
Date: Wed Jul 30 12:32:39 2008 -0700
libata-core: make sure that ata_force_tbl is freed in case of an error
Fix a potential memory leak when ata_init() encounters an error.
Signed-off-by: Elias Oltmanns <eo at nebensachen.de>
Cc: Tejun Heo <tj at kernel.org>
Cc: Alan Cox <alan at lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit 2486fa561a3192bbbec39c7feef87a1e07bd6342
Author: Tejun Heo <tj at kernel.org>
Date: Thu Jul 31 07:52:40 2008 +0900
libata: update atapi disable handling
Global and per-LLD ATAPI disable checks were done in the command issue
path probably because it was left out during EH conversion. On
affected machines, this can cause lots of warning messages. Move them
to where they belong - the probing path.
Reported by Chunbo Luo.
Signed-off-by: Tejun Heo <tj at kernel.org>
Cc: Chunbo Luo <chunbo.luo at windriver.com>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit bfce5e0179ad059035df28558724ff60af708e09
Author: JosephChan at via.com.tw <JosephChan at via.com.tw>
Date: Wed Jul 30 12:32:48 2008 -0700
pata_via: add VX800 flag; add function for fixing h/w bugs
Add flag VIA_SATA_PATA for vx800, VX800 uses the same
chipset(0x0581/0x5324) as CX700, which has 1 PATA channel(Master/Slave)
and 1 SATA channel(Master/Slave) Add function <via_ata_tf_load>. This is
to fix the internal bug of VIA chipsets, which will reset the device
register after changing the IEN bit in CTL register
Signed-off-by: Joseph Chan <josephchan at via.com.tw>
Cc: Tejun Heo <tj at kernel.org>
Cc: Alan Cox <alan at lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit e8389f0c44652ee63d95bc0a7f8d565ac25dac77
Author: Ben Dooks <ben-linux at fluff.org>
Date: Thu Jul 24 16:38:06 2008 +0100
pata_ali: misplaced pci_dev_put()
The ali_init_one() function does a search for an isa_bridge,
but then fails to release it if the revision information was
not correctly found.
the problem comes from:
isa_bridge = pci_get_device(...);
if (isa_bridge && ...) {
pci_dev_put(isa_bridge);
}
where the pci_dev_put() is never called if isa_bridge
was valid but the extra checks on the chip-revision
fail to match.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit a97a6f10771b90235b33c13a6db9279237a08422
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Wed Jul 30 17:20:18 2008 -0700
irda: replace __FUNCTION__ with __func__
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 1fa98174ba980b2826edd1e4632a17916dfdb4fa
Author: Matthew Garrett <mjg59 at srcf.ucam.org>
Date: Wed Jul 30 17:00:38 2008 -0700
nsc-ircc: default to dongle type 9 on IBM hardware
This is necessary to set the dongle type on the nsc driver in order to get
it to work correctly. Thinkpads all appear to use dongle type 9. This
patch defaults nsc devices with an IBM PnP descriptor to use type 9.
Signed-off-by: Matthew Garrett <mjg59 at srcf.ucam.org>
Signed-off-by: Ben Collins <ben.collins at canonical.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
commit 5aa10cad69d282acfaf89d3c16ee07f9b279dbd2
Author: Michael Frey <michael.frey at canonical.com>
Date: Wed Jul 30 16:59:15 2008 -0700
bluetooth: add quirks for a few hci_usb devices
Preface: The "Broadcom" device is on unreleased hardware, so I can't
disclose the actual model.
When the Dell 370 and 410 BT adapters are put into BT radio mode, they
need to be prepared like many other Broadcom adapters.
Also, add quirk Broadcom 2046 devices with HCI_RESET. Reference for this
bug: https://launchpad.net/bugs/249448
Signed-off-by: Michael Frey <michael.frey at canonical.com>
Signed-off-by: Mario Limonciello <Mario_Limonciello at Dell.com>
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
Signed-off-by: Ben Collins <ben.collins at canonical.com>
Acked-by: Marcel Holtmann <marcel at holtmann.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit a7403e807d5f6431a09abb13a00f8170dac1da29
Author: David Howells <dhowells at redhat.com>
Date: Wed Jul 30 16:48:05 2008 -0700
hysdn: remove the packed attribute from PofTimStamp_tag
Remove the packed attribute from PofTimStamp_tag in the hysdn driver as the
thing being packed is just an array of chars and so is unpackable.
This deals with a compiler warning:
In file included from drivers/isdn/hysdn/hysdn_boot.c:19:
drivers/isdn/hysdn/hysdn_pof.h:63: warning: 'packed' attribute ignored for field of type 'unsigned char[40]'
Signed-off-by: David Howells <dhowells at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 02137f2e80a4fb1481b2b1663d3d3795e705c5bc
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Wed Jul 30 16:40:22 2008 -0700
isdn: use the common ascii hex helpers
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Acked-by: Karsten Keil <kkeil at suse.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 12dac0756d357325b107fe6ec24921ec38661839
Author: Rafael J. Wysocki <rjw at sisk.pl>
Date: Wed Jul 30 16:37:33 2008 -0700
tg3: adapt tg3 to use reworked PCI PM code
Adapt the tg3 driver to use the reworked PCI PM and make it use the
exported PCI PM core functions instead of accessing the PCI PM registers
directly by itself.
Signed-off-by: Rafael J. Wysocki <rjw at sisk.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 849e8caa477d72cf153e5c0b6ce0c00b89738abb
Author: David Howells <dhowells at redhat.com>
Date: Wed Jul 30 16:33:05 2008 -0700
atm: fix direct casts of pointers to u32 in the InterPhase driver
Fix direct casts of pointers to u32 in the InterPhase ATM driver. These are
all arguments being passed to printk() calls. So drop the cast and change the
%x to a %p.
Signed-off-by: David Howells <dhowells at redhat.com>
Acked-by: Chas Williams <chas at cmf.nrl.navy.mil>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit cba5cbd1559f49bec76e54de6ed21b7df3742ada
Author: David Howells <dhowells at redhat.com>
Date: Wed Jul 30 16:31:46 2008 -0700
atm: fix const assignment/discard warnings in the ATM networking driver
Fix const assignment/discard warnings in the ATM networking driver.
The lane2_assoc_ind() function needed its arguments changing to match changes
in the lane2_ops struct (patch 61c33e012964ce358b42d2a1e9cd309af5dab02b
"atm: use const where reasonable").
Signed-off-by: David Howells <dhowells at redhat.com>
Acked-by: Chas Williams <chas at cmf.nrl.navy.mil>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 6a8341b68b5269de71c32c6df91f4b0298da031d
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Wed Jul 30 16:30:15 2008 -0700
net: use the common ascii hex helpers
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 697f8d0348a652593d195a13dd1067d9df911a82
Author: Stephen Hemminger <shemminger at vyatta.com>
Date: Wed Jul 30 16:29:19 2008 -0700
random32: seeding improvement
The rationale is:
* use u32 consistently
* no need to do LCG on values from (better) get_random_bytes
* use more data from get_random_bytes for secondary seeding
* don't reduce state space on srandom32()
* enforce state variable initialization restrictions
Note: the second paper has a version of random32() with even longer period
and a version of random64() if needed.
Signed-off-by: Stephen Hemminger <shemminger at vyatta.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
commit 4adf0af6818f3ea52421dc0bae836cfaf20ef72a
Author: Simon Wunderlich <siwu at hrz.tu-chemnitz.de>
Date: Wed Jul 30 16:27:55 2008 -0700
bridge: send correct MTU value in PMTU (revised)
When bridging interfaces with different MTUs, the bridge correctly chooses
the minimum of the MTUs of the physical devices as the bridges MTU. But
when a frame is passed which fits through the incoming, but not through
the outgoing interface, a "Fragmentation Needed" packet is generated.
However, the propagated MTU is hardcoded to 1500, which is wrong in this
situation. The sender will repeat the packet again with the same frame
size, and the same problem will occur again.
Instead of sending 1500, the (correct) MTU value of the bridge is now sent
via PMTU. To achieve this, the corresponding rtable structure is stored
in its net_bridge structure.
Modified to get rid of fake_net_device as well.
Signed-off-by: Simon Wunderlich <siwu at hrz.tu-chemnitz.de>
Signed-off-by: Stephen Hemminger <shemminger at linux-foundation.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit e62112c53acfefc67ccfbdc1895eebccf866bc1b
Merge: 031cf19e6f63941506c9baf76ac7adac06edcf08 68905eb4dc9c691ba09df767ac0641395025cef6
Author: David S. Miller <davem at davemloft.net>
Date: Wed Jul 30 15:44:30 2008 -0700
Merge branch 'upstream-davem' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
commit 8b6d8c592fa7b8bfb1218447a273314c13a67e8a
Merge: 94ad374a0751f40d25e22e036c37f7263569d24c de1d7bb63893b4246ce60797aa554341e908f034
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Wed Jul 30 15:14:56 2008 -0700
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
[MIPS] Cobalt: update defconfig
[MIPS] kgdb: add arch support for the kernel's kgdb core
[MIPS] kgdb: Remove existing implementation
[MIPS] TXx9: Kconfig cleanup
[MIPS] TXx9: Kill unused txx927.h
[MIPS] TXx9: Support early_printk
[MIPS] TXx9: Unify serial_txx9 setup
[MIPS] TXx9: Random cleanup
[MIPS] TXx9: Make tx4938-specific code more independent
[MIPS] TXx9: Make tx3927-specific code more independent
[MIPS] TXx9: Cleanup watchdog
[MIPS] TXx9: Cleanup restart/halt/power_off
[MIPS] TXx9: PCI error handling
[MIPS] TXx9: Add some pci options
[MIPS] Introduce pcibios_plat_setup
[MIPS] TXx9: PCI fixes for tx3927/tx4927
[MIPS] TXx9: Fix JMR3927 irq numbers
[MIPS] RB532: Flags are unsigned long
[MIPS] Initialization of Alchemy boards
[MIPS] tlb-r4k: Nuke broken paranoia error test.
commit 94ad374a0751f40d25e22e036c37f7263569d24c
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Wed Jul 30 14:45:12 2008 -0700
Fix off-by-one error in iov_iter_advance()
The iov_iter_advance() function would look at the iov->iov_len entry
even though it might have iterated over the whole array, and iov was
pointing past the end. This would cause DEBUG_PAGEALLOC to trigger a
kernel page fault if the allocation was at the end of a page, and the
next page was unallocated.
The quick fix is to just change the order of the tests: check that there
is any iovec data left before we check the iov entry itself.
Thanks to Alexey Dobriyan for finding this case, and testing the fix.
Reported-and-tested-by: Alexey Dobriyan <adobriyan at gmail.com>
Cc: Nick Piggin <npiggin at suse.de>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: <stable at kernel.org> [2.6.25.x, 2.6.26.x]
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0056e65f9e28d83ee1a3fb4f7d0041e838f03c34
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Wed Jul 30 14:26:25 2008 -0700
romfs_readpage: don't report errors for pages beyond i_size
We zero-fill them like we are supposed to, and that's all fine. It's
only an error if the 'romfs_copyfrom()' routine isn't able to fill the
data that is supposed to be there.
Most of the patch is really just re-organizing the code a bit, and using
separate variables for the error value and for how much of the page we
actually filled from the filesystem.
Reported-and-tested-by: Chris Fester <cfester at wms.com>
Cc: Alexander Viro <viro at zeniv.linux.org.uk>
Cc: Matt Waddel <matt.waddel at freescale.com>
Cc: Greg Ungerer <gerg at snapgear.com>
Signed-of-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 68905eb4dc9c691ba09df767ac0641395025cef6
Author: Julia Lawall <julia at diku.dk>
Date: Mon Jul 21 09:57:26 2008 +0200
drivers/net/ehea/ehea_main.c: Release mutex in error handling code
The mutex is released on a successful return, so it would seem that it
should be released on an error return as well.
The semantic patch finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
expression l;
@@
mutex_lock(l);
... when != mutex_unlock(l)
when any
when strict
(
if (...) { ... when != mutex_unlock(l)
+ mutex_unlock(l);
return ...;
}
|
mutex_unlock(l);
)
// </smpl>
Signed-off-by: Julia Lawall <julia at diku.dk>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit b0ca2a21f769ae255bd6821cbc5af8af797f1da7
Author: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Date: Mon Jun 30 11:08:17 2008 +0900
sh_eth: Add support of SH7763 to sh_eth
SH7763 has Ethernet core same as SH7710/SH7712.
Positions of some registry are different, but the basic part is the same.
I add support of ethernet of sh7763 to sh_eth.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit d02a4e31ed0385eb34fe49f19d69a860a020ca3c
Author: Mikael Pettersson <mikpe at it.uu.se>
Date: Wed Jul 30 13:44:55 2008 +0200
fix NE2000 linkage error
Trying to build with CONFIG_NE2000=m fails with:
scripts/mod/modpost -o /tmp/tmp/linux-2.6.27-rc1/Module.symvers -S -s
ERROR: "NS8390_init" [drivers/net/ne.ko] undefined!
This is because the split of 8390 into pausing and non-pausing
versions was incompletely propagated to ne.c. This fixes it.
Signed-off-by: Mikael Pettersson <mikpe at it.uu.se>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit de1d7bb63893b4246ce60797aa554341e908f034
Author: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>
Date: Sat Jul 26 01:34:52 2008 +0900
[MIPS] Cobalt: update defconfig
Select new LCD framebuffer driver.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit 8854700115ecf8aa6f087aa915b7b6cf18090d39
Author: Jason Wessel <jason.wessel at windriver.com>
Date: Tue Jul 29 15:58:53 2008 -0500
[MIPS] kgdb: add arch support for the kernel's kgdb core
The new kgdb architecture specific handler registers and unregisters
dynamically for exceptions depending on when you configure a kgdb I/O
driver.
Aside from initializing the exceptions earlier in the boot process,
kgdb should have no impact on a device when it is compiled in so long
as an I/O module is not configured for use.
There have been quite a number of contributors during the existence of
this patch (see arch/mips/kernel/kgdb.c). Most recently Jason
re-wrote the mips kgdb logic to use the die notification handlers.
Signed-off-by: Jason Wessel <jason.wessel at windriver.com>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit 8d60a903d986ffa26c41f0092320a3b9da20bfaf
Author: Jason Wessel <jason.wessel at windriver.com>
Date: Tue Jul 29 15:58:52 2008 -0500
[MIPS] kgdb: Remove existing implementation
This patch explicitly removes the kgdb implementation, for mips which
is intended to be followed by a patch that adds a kgdb implementation
for MIPS that makes use of the kgdb core in the kernel.
Signed-off-by: Jason Wessel <jason.wessel at windriver.com>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit 8f8da9adebdf04bfb3b812a7de8706fbf179fd2c
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Tue Jul 29 22:11:33 2008 +0900
[MIPS] TXx9: Kconfig cleanup
Unify some entries in txx9/Kconfig.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit 872bfdd9e61d7dacf011046b02442215a2757026
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Tue Jul 29 22:10:47 2008 +0900
[MIPS] TXx9: Kill unused txx927.h
include/asm-mips/txx9/txx927.h is no longer used.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit e352953ce00bb870124e9054dbbbda2262f9269c
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Tue Jul 29 22:10:08 2008 +0900
[MIPS] TXx9: Support early_printk
Kill jmr3927-specific prom_putchar and add txx9-generic prom_putchar
to support early_printk.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit 7779a5e07d33fe316fe468e7afe7975fb686a831
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Fri Jul 25 23:08:06 2008 +0900
[MIPS] TXx9: Unify serial_txx9 setup
* Unify calling of early_serial_txx9_setup.
* Use dedicated serial clock on RBTX4938.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit bb72f1f729dcbd6a6a93c74479eeaa19deebfb47
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Thu Jul 24 00:25:21 2008 +0900
[MIPS] TXx9: Random cleanup
* Random cleanups spotted by checkpatch script.
* Do not initialize panic_timeout. "panic=" kernel parameter can be used.
* Do not add "ip=any" or "ip=bootp". This options is not board specific.
* Do not add "root=/dev/nfs". This is default on CONFIG_ROOT_NFS.
* Kill unused error checking.
* Fix IRQ comment to match current code.
* Kill some unneeded includes
* ST0_ERL is already cleared in generic code.
* conswitchp is initialized generic code.
* __init is not needed in prototype.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit c49f91f51e3cca796494f69fd967a7f72df5d457
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Thu Jul 24 00:25:20 2008 +0900
[MIPS] TXx9: Make tx4938-specific code more independent
Make some TX4938 SoC specific code independent from board specific code.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit f6727fb889c664be094fa041a0fdf0f1a1caefb6
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Thu Jul 24 00:25:19 2008 +0900
[MIPS] TXx9: Make tx3927-specific code more independent
Make some TX3927 SoC specific code independent from board specific code.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit 683147254ef7e69ebbbe55280ba6a3c5ae2325d8
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Thu Jul 24 00:25:18 2008 +0900
[MIPS] TXx9: Cleanup watchdog
Unify registration of txx9wdt platform device.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit a49297e8fc8a9a835ac4ec124aa83028abdcc7d5
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Thu Jul 24 00:25:17 2008 +0900
[MIPS] TXx9: Cleanup restart/halt/power_off
Unify machine_restart/machine_halt/pm_power_off and add fallback
machine_halt routine.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit 455cc256eb23915100e203fb33ee143afd127954
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Fri Jul 25 23:01:35 2008 +0900
[MIPS] TXx9: PCI error handling
From: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Thu, 24 Jul 2008 00:25:16 +0900
Subject: [PATCH] txx9: PCI error handling
Add more control and detailed report on PCI error interrupt.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit 07517529225ae4ce770271f83d8cd1004733a01d
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Thu Jul 24 00:25:15 2008 +0900
[MIPS] TXx9: Add some pci options
Add pci options for backplane type, clock selection, error handling,
timeout values.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit 47a5c976486e407fc0d0bc8fa165132b6f9bec26
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Thu Jul 24 00:25:14 2008 +0900
[MIPS] Introduce pcibios_plat_setup
Introduce pcibios_plat_setup for platform-specific pcibios_setup.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit 32d00d0f933ea5d21c3cd0809461ebbf7ab89cef
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Thu Jul 24 00:25:13 2008 +0900
[MIPS] TXx9: PCI fixes for tx3927/tx4927
* Fix tx3927 pci ops for Type-1 configuration
* Fix abort checking of tx3927 pci ops
* Flush write buffer to avoid spurious PCI error interrupt
* Add a quirk for FPCIB backplane
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit a0e31fb09056224c5d6fef09d25cb96b6149aa7c
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Thu Jul 24 00:25:12 2008 +0900
[MIPS] TXx9: Fix JMR3927 irq numbers
* Fix wrong txx9_clockevent interrupt number
* Fix TXX9_IRQ_BASE for JMR3927+FPCIB case
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit 8b32d6d00ca890ebb204da1260247c11bba042b3
Author: Adrian Bunk <bunk at kernel.org>
Date: Tue Jul 29 09:46:34 2008 +0300
[MIPS] RB532: Flags are unsigned long
A recent generic change now catches such bugs:
<-- snip -->
...
CC arch/mips/rb532/time.o
cc1: warnings being treated as errors
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/rb532/time.c: In function 'plat_time_init':
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/rb532/time.c:55: error: comparison of distinct pointer types lacks a cast
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/rb532/time.c:66: error: comparison of distinct pointer types lacks a cast
make[2]: *** [arch/mips/rb532/time.o] Error 1
<-- snip -->
Reported-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit fd7ccfa7ac64156a5c1c906e0986b73d481b6dfc
Author: Kevin Hickey <khickey at rmicorp.com>
Date: Mon Jul 28 13:09:26 2008 -0500
[MIPS] Initialization of Alchemy boards
An earlier update changed some calls from simple_strotl to strict_strtol but
did not account for the differences in the syntax between the calls.
simple_strotl returns the integer; strict_strtol returns an error code and
takes a pointer to the result. As it was, NULL was being passed in place of
the result, which led to failures during kernel initialization when using
YAMON.
Signed-off-by: Kevin Hickey <khickey at rmicorp.com>
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit af6dc22b03a95c31b690f299b2fd7acb279fe7f5
Author: Ralf Baechle <ralf at linux-mips.org>
Date: Tue Jul 22 18:04:38 2008 +0100
[MIPS] tlb-r4k: Nuke broken paranoia error test.
Bug originally found and reported by Julia Lawall <julia at diku.dk>. I
decieded that the whole error check was mostly useless paranoia and should
be discarded. It would only ever trigger if r3k_have_wired_reg has a wrong
value.
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
commit 11ddad396086f8d1dfcb0056dc9d65d228f755c1
Author: Adrian Bunk <bunk at kernel.org>
Date: Thu Jul 17 02:08:12 2008 +0300
kbuild: scripts/genksyms/lex.l: add %option noinput
gcc 4.3 correctly determines that input() is unused and gives the
following warning:
<-- snip -->
...
HOSTCC scripts/genksyms/lex.o
scripts/genksyms/lex.c:1487: warning: âinputâ defined but not used
...
<-- snip -->
Fix it by adding %option noinput to scripts/genksyms/lex.l and
regeneration of scripts/genksyms/lex.c_shipped.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit be2be1d59035a28debb22555f103e676a8f74186
Author: Adrian Bunk <bunk at kernel.org>
Date: Thu Jul 17 02:07:59 2008 +0300
kconfig: scripts/kconfig/zconf.l: add %option noinput
gcc 4.3 correctly determines that input() is unused and gives the
following warning:
<-- snip -->
...
HOSTCC scripts/kconfig/zconf.tab.o
scripts/kconfig/lex.zconf.c:1628: warning: âinputâ defined but not used
...
<-- snip -->
Fix it by adding %option noinput to scripts/kconfig/zconf.l and
regeneration of scripts/kconfig/lex.zconf.c_shipped.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Cc: Roman Zippel <zippel at linux-m68k.org>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit ea35455e0dc17d732436a5b98bd511cab64eb10e
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Wed Jul 30 22:21:20 2008 +0200
kbuild: fix O=... build of um
We used include/asm-$ARCH/system.h to check if
we should create a symlink in include2 directory with
make O=... builds.
But um does not have such a file thus build filed.
Let's try anohter filename:
$ ls -d include/asm-* | wc -l
21
$ ls -d include/asm-*/errno.h | wc -l
21
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Cc: Jeff Dike <jdike at addtoit.com>
commit 660fc1f4d88b0f5e4bb936e4a5a9b95b70df9e58
Merge: 3dd730f2b49f101b90d283c3efc4e6cd826dd8f6 ce0ad7f0952581ba75ab6aee55bb1ed9bb22cf4f
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Wed Jul 30 10:43:56 2008 -0700
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
powerpc/mm: Lockless get_user_pages_fast() for 64-bit (v3)
powerpc: Don't use the wrong thread_struct for ptrace get/set VSX regs
powerpc: Fix ptrace buffer size for VSX
powerpc: Correctly hookup PTRACE_GET/SETVSRREGS for 32 bit processes
ide/powermac: Fix use of uninitialized pointer on media-bay
powerpc: Allow non-hcall return values for lparcfg writes
ipmi/powerpc: Use linux/of_{device,platform}.h instead of asm
powerpc/fsl: proliferate simple-bus compatibility to soc nodes
Documentation: remove old sbc8260 board specific information
cpm2: Rework baud rate generators configuration to support external clocks.
powerpc: rtc_cmos_setup: assign interrupts only if there is i8259 PIC
cpm_uart: Add generic clock API support to set baudrates
cpm_uart: Modem control lines support
powerpc: implement GPIO LIB API on CPM1 Freescale SoC.
cpm2: Implement GPIO LIB API on CPM2 Freescale SoC.
powerpc: Fix 8xx build failure
powerpc: clean up the Book-E HW watchpoint support
commit 3dd730f2b49f101b90d283c3efc4e6cd826dd8f6
Author: Stephen Rothwell <sfr at canb.auug.org.au>
Date: Tue Jul 29 16:07:37 2008 +1000
cpumask: statement expressions confuse some versions of gcc
when you take the address of the result. Noticed on a sparc64 compile
using a version 3.4.5 cross compiler.
kernel/time/tick-common.c: In function `tick_check_new_device':
kernel/time/tick-common.c:210: error: invalid lvalue in unary `&'
...
Just make it a regular expression.
Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
Acked-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a4319d9fa02fb3f032596d18c6fcc8b05d01a3a5
Merge: afd962a9e8708c571c5c0c4a6d098f931742c229 031cf19e6f63941506c9baf76ac7adac06edcf08
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Wed Jul 30 10:13:37 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (47 commits)
net: Make "networking" one-click deselectable.
ipv6: Fix useless proc net sockstat6 removal
tcp: MD5: Use MIB counter instead of warning for MD5 mismatch.
pkt_sched: Fix OOPS on ingress qdisc add.
niu: Fix error checking in niu_ethflow_to_class.
IPv6: datagram_send_ctl() should exit immediately when an error occured
mac80211: fix mesh beaconing
PS3: gelic: use unsigned long for irqflags
mac80211: fix cfg80211 hooks for master interface
nl80211: fix dump callbacks
mac80211: partially fix skb->cb use
rtl8187: Improve wireless statistics for RTL8187B
rtl8187: Fix for TX sequence number problem
mac80211: append CONFIG_ to MAC80211_VERBOSE_PS_DEBUG in net/mac80211/tx.c.
mac80211: fix sparse integer as NULL pointer warning
drivers/net/wireless/iwlwifi/iwl-led.c: printk fix
mac80211: return correct error return from ieee80211_wep_init
mac80211: tx, use dev_kfree_skb_any for beacon_get
rt2x00: Clear queue entry flags during initialization
rt2x00: Force full register config after start()
...
commit afd962a9e8708c571c5c0c4a6d098f931742c229
Author: Vitaly Mayatskikh <v.mayatskih at gmail.com>
Date: Wed Jul 30 13:30:14 2008 +0200
x86: wrong register was used in align macro
New ALIGN_DESTINATION macro has sad typo: r8d register was used instead
of ecx in fixup section. This can be considered as a regression.
Register ecx was also wrongly loaded with value in r8d in
copy_user_nocache routine.
Signed-off-by: Vitaly Mayatskikh <v.mayatskih at gmail.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit bd3e64c1759e4930315ebf022611468ee9621486
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:19 2008 -0700
sgi-xp: setup the notify GRU message queue
Setup the notify GRU message queue that is used for sending user messages
on UV systems.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Cc: Jack Steiner <steiner at sgi.com>
Cc: "Luck, Tony" <tony.luck at intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5b8669dfd110a62a74eea525a009342f73987ea0
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:18 2008 -0700
sgi-xp: setup the activate GRU message queue
Setup the activate GRU message queue that is used for partition activation
and channel connection on UV systems.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Cc: Jack Steiner <steiner at sgi.com>
Cc: "Luck, Tony" <tony.luck at intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 83469b5525b4a35be40b17cb41d64118d84d9f80
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:18 2008 -0700
sgi-xp: cleanup naming of partition defines
Cleanup naming of partition defines.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Cc: Jack Steiner <steiner at sgi.com>
Cc: "Luck, Tony" <tony.luck at intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 61deb86e98f51151b225f7563ee1cf2b50857d10
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:17 2008 -0700
sgi-xp: move xpc_check_remote_hb() to support both SN2 and UV
Move xpc_check_remote_hb() so it can support both SN2 and UV.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Cc: Jack Steiner <steiner at sgi.com>
Cc: "Luck, Tony" <tony.luck at intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a812dcc3a298eef650c381e094e2cf41a4ecc9ad
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:16 2008 -0700
sgi-xp: add usage of GRU driver by xpc_remote_memcpy()
Add UV support to xpc_remote_memcpy(), which involves interfacing to the
GRU driver.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Cc: Jack Steiner <steiner at sgi.com>
Cc: "Luck, Tony" <tony.luck at intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 261f3b4979db88d29fc86aad9f76fbc0c2c6d21a
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:16 2008 -0700
sgi-xp: enable building of XPC/XPNET on x86_64
Get XPC/XPNET to build on x86_64. Trying to modprobe them up on a non-UV
or sn2 system will result in a -ENODEV.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Cc: Jack Steiner <steiner at sgi.com>
Cc: "Luck, Tony" <tony.luck at intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 81fe7883d2c8a80a7145ad22f8cd8514d05412b9
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:15 2008 -0700
sgi-xp: add 'jiffies' to reserved page's timestamp name
Rename XPC's reserved page's timestamp member to reflect the units of time
involved.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 04de741885bc7565a28150e82c56a56e544440e6
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:14 2008 -0700
sgi-xp: use standard bitops macros and functions
Change sgi-xp to use the standard bitops macros and functions instead of
trying to invent its own mechanism.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ea57f80c8c0e59cfc5095f7e856ce7c8e6ac2984
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:14 2008 -0700
sgi-xp: eliminate '>>>' in comments
Comments in /drivers/misc/sgi-xp has been using '>>>' as a means to draw
attention to something that needs to be done or considered. To avoid
colliding with git rejects, '>>>' will now be replaced by '!!!' to
indicate something to do, and by '???' to indicate something to be
considered.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8e85c23ef04fe0d8414e0b1dc04543095282a27a
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:13 2008 -0700
sgi-xp: add _sn2 suffix to a few variables
Add an '_sn2' suffix to some variables found in xpc_sn2.c.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ee6665e3b6e1283c30ae240732af1345bc02154e
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:13 2008 -0700
sgi-xp: isolate remote copy buffer to sn2 only
Make the remote copy buffer an sn2 only item.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a7b4d509205db5e9cd3ffc77b306d7b10fe6a34d
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:12 2008 -0700
sgi-xp: enable XPNET to handle more than 64 partitions
Enable XPNET to support more than 64 partitions.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 185c3a1b4bb4353529257f97caaeaac6c695e77d
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:11 2008 -0700
sgi-xp: isolate allocation of XPC's msgqueues to sn2 only
Move the allocation of XPC's msgqueues to xpc_sn2.c.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c39838ce21ca8e05857ed7f4be5d289011561905
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:11 2008 -0700
sgi-xp: replace AMO_t typedef by struct amo
Replace the AMO_t typedef by a direct reference to 'struct amo'.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7fb5e59d63deda89a8eefdbd5b3c8d622076afd4
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:10 2008 -0700
sgi-xp: separate chctl_flags from XPC's notify IRQ
Tie current IPI references to either XPC's notify IRQ or channel control
flags.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a47d5dac9d8481766382f8cf1483dd581df38b99
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:09 2008 -0700
sgi-xp: isolate additional sn2 specific code
Move additional sn2 specific code into xpc_sn2.c.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6e41017aad9ed175ca51e4828eabc8c5cf5910be
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:09 2008 -0700
sgi-xp: isolate activate IRQ's hardware specific components
Isolate architecture specific code related to XPC's activate IRQ.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 97bf1aa1e1bb18de9bb1987c6eb9ad751bf08aab
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:08 2008 -0700
sgi-xp: move xpc_allocate() into xpc_send()/xpc_send_notify()
Move xpc_allocate() functionality into xpc_send()/xpc_send_notify() so
xpc_allocate() no longer needs to be called by XPNET.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit aaa3cd694c0c4ae534e8aafdf4227e395c57d6bd
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:07 2008 -0700
sgi-xp: base xpc_rsvd_page's timestamp on jiffies
Change XPC's reserved page timestamp to be based on jiffies.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 33ba3c7724be79f7cdbfc611335572c056d9a05a
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:07 2008 -0700
sgi-xp: isolate xpc_vars structure to sn2 only
Isolate the xpc_vars structure of XPC's reserved page to sn2 only.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e17d416b1bc947df68499863f13b401fb42b48f6
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:06 2008 -0700
sgi-xp: isolate xpc_vars_part structure to sn2 only
Isolate the xpc_vars_part structure of XPC's reserved page to sn2 only.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 94bd2708d4a95d7da5a1c7c28a063eccd127fb69
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:05 2008 -0700
sgi-xp: prepare xpc_rsvd_page to work on either sn2 or uv hardware
Prepare XPC's reserved page header to work for either sn2 or uv.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 908787db9b95f548270af18d83d62b9d2020ca10
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:05 2008 -0700
sgi-xp: create a common xp_remote_memcpy() function
Create a common remote memcpy function that maps to what the hardware
booted supports.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit bc63d387e4f5dbbe4ea0c5ade862c38073fd7fa3
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:04 2008 -0700
sgi-xp: support runtime selection of xp_max_npartitions
Support runtime selection of the max number of partitions based on the
hardware being run on.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 78ce1bbe446e9b46dcd6c1e60a4768448a8ce355
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:03 2008 -0700
sgi-xp: define BYTES_PER_WORD
Add a BYTES_PER_WORD #define.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit da9705259848b968cdf6151b977334fe7b5b0461
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:03 2008 -0700
sgi-xp: define xpSalError reason code
Define xpSalError reason code.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 355c54d2e70093f09910d2ecf343023aefc219e1
Author: Dean Nelson <dcn at sgi.com>
Date: Tue Jul 29 22:34:02 2008 -0700
sgi-xp: define is_shub() and is_uv() macros
Define the is_shub()/is_uv() macros if they've not already been defined.
Signed-off-by: Dean Nelson <dcn at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9ca8e40c130c906c1060d105e63628410c860261
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:34:02 2008 -0700
GRU Driver V3: fixes to resolve code review comments
Fixes problems identified in a code review:
- add comment with high level dscription of the GRU
- prepend "gru_" to all global names
- delete unused function
- couple of trivial bug fixes
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Jack Steiner <steiner at sgi.com>
Cc: Nick Piggin <nickpiggin at yahoo.com.au>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3d919e5f6b440bb0cc7996eb7628b29be09e6343
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:34:01 2008 -0700
GRU Driver: driver/misc Makefile & Kconfig changes
Driver/misc changes for the GRU driver
Signed-off-by: Jack Steiner <steiner at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0d39741a27d86d305cc75ba626392be410dcbab9
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:34:01 2008 -0700
GRU Driver: export is_uv_system(), zap_page_range() & follow_page()
Exports needed by the GRU driver.
Signed-off-by: Jack Steiner <steiner at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3c45f6928322773b1810fbec1ece77056f914114
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:34:00 2008 -0700
GRU Driver: driver makefile
This patch adds the GRU driver makefile
Signed-off-by: Jack Steiner <steiner at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ee5b8feca3af01400e26637209a72fbf137c82ff
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:33:59 2008 -0700
GRU Driver: TLB flushing, MMUOPS callouts
This file contains the functions for handlinf GRU TLB flushing, This
includes functions to handle the MMUOPS callouts.
Signed-off-by: Jack Steiner <steiner at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1d09d737ab017ff7a9745962e19909713ac89b37
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:33:59 2008 -0700
GRU Driver: /proc interfaces
This file externalizes some GRU state & statistics to the user using the
/proc file system.
Signed-off-by: Jack Steiner <steiner at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9a0deecc90de62c91d7107611446c0c950091851
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:33:58 2008 -0700
GRU Driver: resource management
This file contains functions realted to managing GRU resources provided to
the user. Examples include GRU context assignment, load, unload,
migration, etc..
Signed-off-by: Jack Steiner <steiner at sgi.com>
Cc: Nick Piggin <nickpiggin at yahoo.com.au>
Cc: Hugh Dickins <hugh at veritas.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 28bffaf094a6d0992c85e1b01f04c9b0f56c9d62
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:33:57 2008 -0700
GRU Driver: kernel services provide by driver
This file contains functions for handling services provided to other
kernel modules that use the GRU.
Signed-off-by: Jack Steiner <steiner at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 142586409c8be7dc071bb94d7cd2d69ccfd99b6b
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:33:57 2008 -0700
GRU Driver: page faults & exceptions
This file contains the functions that manage GRU page faults and
exceptions.
Signed-off-by: Jack Steiner <steiner at sgi.com>
Cc: Christoph Hellwig <hch at lst.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 78cf1de49b11c0e2edb35cce91ac6c279cc852b3
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:33:56 2008 -0700
GRU Driver: driver initialization, file & vma ops
This file contains the functions for initializing the driver, handling
file & vma operations and for processing IOCTL requests from the user.
Signed-off-by: Jack Steiner <steiner at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b2fb06fcb6d6c9912b43e61394891e3994d4b613
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:33:56 2008 -0700
GRU Driver: kernel services header files
This patch contains the header file used to export GRU services to other
kernel drivers such as XPMEM or XPNET.
Signed-off-by: Jack Steiner <steiner at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 13d19498b0446cad2c394f9fbec8149b44a60c6e
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:33:55 2008 -0700
GRU Driver: driver internal header files
This patch contains header files internal to the GRU driver.
Signed-off-by: Jack Steiner <steiner at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4c921d4d8aa74140597fd8736261837f73ca6e7a
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:33:54 2008 -0700
GRU Driver: GRU instructions & macros
This patchs contains macros & inline functions used to issue instructions
to the GRU.
Signed-off-by: Jack Steiner <steiner at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 34d8a380d784d1fbea941a68beebdd7f9a3bebdf
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:33:54 2008 -0700
GRU Driver: hardware data structures
This series of patches adds a driver for the SGI UV GRU. The driver is
still in development but it currently compiles for both x86_64 & IA64.
All simple regression tests pass on IA64. Although features remain to be
added, I'd like to start the process of getting the driver into the
kernel. Additional kernel drivers will depend on services provide by the
GRU driver.
The GRU is a hardware resource located in the system chipset. The GRU
contains memory that is mmaped into the user address space. This memory
is used to communicate with the GRU to perform functions such as
load/store, scatter/gather, bcopy, AMOs, etc. The GRU is directly
accessed by user instructions using user virtual addresses. GRU
instructions (ex., bcopy) use user virtual addresses for operands.
The GRU contains a large TLB that is functionally very similar to
processor TLBs. Because the external contains a TLB with user virtual
address, it requires callouts from the core VM system when certain types
of changes are made to the process page tables. There are several MMUOPS
patches currently being discussed but none has been accepted into the
kernel. The GRU driver is built using version V18 from Andrea Arcangeli.
This patch:
Contains the definitions of the hardware GRU data structures that are used
by the driver to manage the GRU.
[akpm at linux-foundation;org: export hpage_shift]
Signed-off-by: Jack Steiner <steiner at sgi.com>
Cc: "Luck, Tony" <tony.luck at intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c627f9cc046c7cd93b4525d89377fb409e170a18
Author: Jack Steiner <steiner at sgi.com>
Date: Tue Jul 29 22:33:53 2008 -0700
mm: add zap_vma_ptes(): a library function to unmap driver ptes
zap_vma_ptes() is intended to be used by drivers to unmap ptes assigned to the
driver private vmas. This interface is similar to zap_page_range() but is
less general & less likely to be abused.
Needed by the GRU driver.
Signed-off-by: Jack Steiner <steiner at sgi.com>
Cc: Nick Piggin <nickpiggin at yahoo.com.au>
Cc: Hugh Dickins <hugh at veritas.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f718cd4add5aea9d379faff92f162571e356cc5f
Author: Andi Kleen <andi at firstfloor.org>
Date: Tue Jul 29 22:33:52 2008 -0700
sched: make scheduler sysfs attributes sysdev class devices
They are really class devices, but were incorrectly declared. This
leads to crashes with the recent changes that makes non normal sysdevs
use a different prototype.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Andi Kleen <ak at linux.intel.com>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Pierre Ossman <drzeus-list at drzeus.cx>
Cc: Greg Kroah-Hartman <gregkh at suse.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5cdc98b8f51310f7cca05ad780f18f80dd9571de
Author: Tomas Janousek <tomi at nomi.cz>
Date: Tue Jul 29 22:33:51 2008 -0700
rtc-dev: stop periodic interrupts on device release
Solves http://bugzilla.kernel.org/show_bug.cgi?id=11127
The old rtc.c driver did it and some drivers (like rtc-sh) do it in their
release function, though they should not -- because they should provide
the irq_set_state op and the rtc framework itself should care about it.
This patch makes it do so.
I am aware that some drivers, like rtc-sh, handle userspace PIE sets in
their ioctl op (instead of having the framework call the op), exporting
the irq_set_state op at the same time. The logic in rtc_irq_set_state
should make sure it doesn't matter and the driver should not need to care
stopping periodic interrupts in its release routine any more.
The correct way, in my opinion, should be this:
1) The driver provides the irq_set_state op and does not care closing the
interrupts in its release op.
2) If the driver does not provide the op and handles PIE in the ioctl op, it's
reponsible for closing them in its release op.
3) Something similar for other IRQs, like UIE -- if there's no in-kernel API
like irq_set_state, handle it in ioctl and release ops. The framework will
be responsible either for everything or for nothing. (This will probably
change later.)
Signed-off-by: Tomas Janousek <tomi at nomi.cz>
Acked-by: David Brownell <dbrownell at users.sourceforge.net>
Acked-by: Alessandro Zummo <a.zummo at towertech.it>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8d0b1c51eb8375f88c0886d2e9f71881e19d42a7
Author: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
Date: Tue Jul 29 22:33:49 2008 -0700
gbefb: cmap FIFO timeout
Writes to the cmap fifo while the display is blanked caused cmap FIFO
timeout messages and a wrong colormap. To avoid this the driver now
maintains a colormap in memory and updates the colormap after the display
is unblanked.
Signed-off-by: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6af8bf3d86d55c98af6e453cb920ddc30867e5c7
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Tue Jul 29 22:33:49 2008 -0700
workqueues: add comments to __create_workqueue_key()
Dmitry Adamushko pointed out that the error handling in
__create_workqueue_key() is not clear, add the comment.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Dmitry Adamushko <dmitry.adamushko at gmail.com>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit dbacefc9c4f6bd365243db379473ab7041656d90
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date: Tue Jul 29 22:33:47 2008 -0700
fs/buffer.c: uninline __remove_assoc_queue()
Uninline the __remove_assoc_queue() function in fs/buffer.c, called at too
many places and too long to really be inlined. Size results:
text data bss dec hex filename
1134606 118840 212992 1466438 166046 vmlinux.old
1134303 118840 212992 1466135 165f17 vmlinux
-303 0 0 -303 -12F +/-
This patch is part of the Linux Tiny project and has been originally
written by Matt Mackall <mpm at selenic.com>.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Cc: Matt Mackall <mpm at selenic.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d406f66ddb0d7491ddd53e4600c425d76a8a245f
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Tue Jul 29 22:33:46 2008 -0700
omfs: sparse annotations
Missing cpu_to_be64 on some constant assignments.
fs/omfs/dir.c:107:16: warning: incorrect type in assignment (different base types)
fs/omfs/dir.c:107:16: expected restricted __be64 [usertype] i_sibling
fs/omfs/dir.c:107:16: got unsigned long long
fs/omfs/file.c:33:13: warning: incorrect type in assignment (different base types)
fs/omfs/file.c:33:13: expected restricted __be64 [usertype] e_next
fs/omfs/file.c:33:13: got unsigned long long
fs/omfs/file.c:36:24: warning: incorrect type in assignment (different base types)
fs/omfs/file.c:36:24: expected restricted __be64 [usertype] e_cluster
fs/omfs/file.c:36:24: got unsigned long long
fs/omfs/file.c:37:23: warning: incorrect type in assignment (different base types)
fs/omfs/file.c:37:23: expected restricted __be64 [usertype] e_blocks
fs/omfs/file.c:37:23: got unsigned long long
fs/omfs/bitmap.c:74:18: warning: incorrect type in argument 2 (different signedness)
fs/omfs/bitmap.c:74:18: expected unsigned long volatile *addr
fs/omfs/bitmap.c:74:18: got long *<noident>
fs/omfs/bitmap.c:77:20: warning: incorrect type in argument 2 (different signedness)
fs/omfs/bitmap.c:77:20: expected unsigned long volatile *addr
fs/omfs/bitmap.c:77:20: got long *<noident>
fs/omfs/bitmap.c:112:17: warning: incorrect type in argument 2 (different signedness)
fs/omfs/bitmap.c:112:17: expected unsigned long volatile *addr
fs/omfs/bitmap.c:112:17: got long *<noident>
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Acked-by: Bob Copeland <me at bobcopeland.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 32be1d22327743134974c7b2ec1e2a143b6b6f86
Author: Ben Dooks <ben-linux at fluff.org>
Date: Tue Jul 29 22:33:44 2008 -0700
scripts/mod/modpost.c: fix spelling of module and happens
Spelling fixes in scripts/mod/modpost.c
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Cc: Rusty Russell <rusty at rustcorp.com.au>
Cc: Sam Ravnborg <sam at ravnborg.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 07a887d399b84668bc26cd040d699b26ec3086c2
Author: Adrian Bunk <bunk at kernel.org>
Date: Tue Jul 29 22:33:44 2008 -0700
remove drivers/serial/v850e_uart.c
The removal of drivers/serial/v850e_uart.c originally was in my v850
removal patch, but it seems it got lost somewhere.
Reported-by: Robert P. J. Day <rpjday at crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: Alan Cox <alan at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 836e4b14b41d19d17341a2dd2c49af8dd54e3aac
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 22:33:43 2008 -0700
USB: m66592-udc: Fix up dev_set_name() badness.
Commit 0031a06e2f07ab0d1bc98c31dbb6801f95f4bf01 converted all of the USB
drivers to use dev_set_name(), though there was a typo on the m66592-udc
conversion that handed off the wrong pointer (we want the struct device
here obviously, not the struct usb_gadget).
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
Cc: Kay Sievers <kay.sievers at vrfy.org>
Cc: Greg Kroah-Hartman <gregkh at suse.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 204b885e7322656284626949e51f292fe61313fa
Author: Joerg Roedel <joerg.roedel at amd.com>
Date: Tue Jul 29 22:33:42 2008 -0700
introduce lower_32_bits() macro
The file kernel.h contains the upper_32_bits macro. This patch adds the
other part, the lower_32_bits macro. Its first use will be in the driver
for AMD IOMMU.
Cc: H. Peter Anvin <hpa at zytor.com>
Signed-off-by: Joerg Roedel <joerg.roedel at amd.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 87547ee95d81ec0ee1503fcaf9c9594469bc2510
Author: Fernando Luis Vazquez Cao <fernando at oss.ntt.co.jp>
Date: Tue Jul 29 22:33:42 2008 -0700
do_try_to_free_page: update comments related to vmscan functions
Signed-off-by: Fernando Luis Vazquez Cao <fernando at oss.ntt.co.jp>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: Nick Piggin <nickpiggin at yahoo.com.au>
Cc: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7d03431cf98aaed635524024273668bb8cedadda
Author: Fernando Luis Vazquez Cao <fernando at oss.ntt.co.jp>
Date: Tue Jul 29 22:33:41 2008 -0700
swapfile/vmscan: update comments related to vmscan functions
Signed-off-by: Fernando Luis Vazquez Cao <fernando at oss.ntt.co.jp>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: Nick Piggin <nickpiggin at yahoo.com.au>
Cc: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ab33dc09a5c0d2bd6757afa1c2f804c9657daec0
Author: Fernando Luis Vazquez Cao <fernando at oss.ntt.co.jp>
Date: Tue Jul 29 22:33:40 2008 -0700
swap: update function comment of release_pages
Signed-off-by: Fernando Luis Vazquez Cao <fernando at oss.ntt.co.jp>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: Nick Piggin <nickpiggin at yahoo.com.au>
Cc: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7e6cbea39aaa32480145915751119227f29f6f7b
Author: Fernando Luis Vazquez Cao <fernando at oss.ntt.co.jp>
Date: Tue Jul 29 22:33:39 2008 -0700
madvise: update function comment of madvise_dontneed
Signed-off-by: Fernando Luis Vazquez Cao <fernando at oss.ntt.co.jp>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: Nick Piggin <nickpiggin at yahoo.com.au>
Cc: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 641de9d8f505db055d451b50e6e38117f84e79bb
Author: Uwe Kleine-König <Uwe.Kleine-Koenig at digi.com>
Date: Tue Jul 29 22:33:38 2008 -0700
printk: fix comment for printk ratelimiting
The comment assumed the burst to be one and the ratelimit used to be named
printk_ratelimit_jiffies.
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig at digi.com>
Cc: Dave Young <hidave.darkstar at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8f3d137e0d6cd470a4e404cbc67480a0febdb0b1
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Tue Jul 29 22:33:38 2008 -0700
Char: mxser, ratelimit ioctl warning
The GET_MAJOR ioctl prints out a warning, make it ratelimited.
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Acked-by: Alan Cox <alan at lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit bd673c7c3b1681dbfabab0062e67398dadf806af
Author: Geert Uytterhoeven <geert at linux-m68k.org>
Date: Tue Jul 29 22:33:36 2008 -0700
initrd: cast `initrd_start' to `void *'
commit fb6624ebd912e3d6907ca6490248e73368223da9 (initrd: Fix virtual/physical
mix-up in overwrite test) introduced the compiler warning below on mips,
as its virt_to_page() doesn't cast the passed address to unsigned long
internally, unlike on most other architectures:
init/main.c: In function `start_kernel':
init/main.c:633: warning: passing argument 1 of `virt_to_phys' makes pointer from integer without a cast
init/main.c:636: warning: passing argument 1 of `virt_to_phys' makes pointer from integer without a cast
For now, kill the warning by explicitly casting initrd_start to `void *', as
that's the type it should really be.
Reported-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
Cc: Ralf Baechle <ralf at linux-mips.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 06ac667903ebea8191d4f7e7fa4e0936161e25fe
Author: WANG Cong <xiyou.wangcong at gmail.com>
Date: Tue Jul 29 22:33:34 2008 -0700
uml: fix tty-related build error
/home/wangcong/Projects/linux-2.6/arch/um/drivers/line.c: In function `line_write_interrupt':
/home/wangcong/Projects/linux-2.6/arch/um/drivers/line.c:366: error: `struct tty_ldisc' has no member named `write_wakeup'
/home/wangcong/Projects/linux-2.6/arch/um/drivers/line.c:367: error: `struct tty_ldisc' has no member named `write_wakeup'
Signed-off-by: WANG Cong <wangcong at zeuux.org>
Cc: Jeff Dike <jdike at addtoit.com>
Acked-by: Alan Cox <alan at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2c203003f64de5fe55ae35712942100d270667fa
Author: Jerome Arbez-Gindre <jeromearbezgindre at gmail.com>
Date: Tue Jul 29 22:33:33 2008 -0700
connector: add a BlackBoard user to connector
Add a BlackBoard user to connector. BlackBoard is part of the TSP GPL
sampling framework (http://savannah.nongnu.org/p/tsp)
[akpm at linux-foundation.org: add comment]
Signed-off-by: Jerome Arbez-Gindre <jeromearbezgindre at gmail.com>
Acked-by: Evgeniy Polyakov <johnpol at 2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3f1712bac586069d6c891a8201457283b27e8abe
Author: Vegard Nossum <vegard.nossum at gmail.com>
Date: Tue Jul 29 22:33:32 2008 -0700
print_ip_sym(): use %pS
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c389d27b5e643d745f55ffb939b1426060ba63d4
Author: Borislav Petkov <petkovbb at googlemail.com>
Date: Tue Jul 29 22:33:32 2008 -0700
8250.c: port.lock is irq-safe
serial8250_startup() doesn't disable interrupts while taking the &up->port.lock
which might race against the interrupt handler serial8250_interrupt(), which
when entered, will deadlock waiting for the lock to be released.
Signed-off-by: Borislav Petkov <petkovbb at gmail.com>
Tested-by: Ingo Molnar <mingo at elte.hu>
Cc: Alan Cox <alan at lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5def9a3a22e09c99717f41ab7f07ec9e1a1f3ec8
Author: Mathieu Desnoyers <mathieu.desnoyers at polymtl.ca>
Date: Tue Jul 29 22:33:31 2008 -0700
markers: fix markers read barrier for multiple probes
Paul pointed out two incorrect read barriers in the marker handler code in
the path where multiple probes are connected. Those are ordering reads of
"ptype" (single or multi probe marker), "multi" array pointer, and "multi"
array data access.
It should be ordered like this :
read ptype
smp_rmb()
read multi array pointer
smp_read_barrier_depends()
access data referenced by multi array pointer
The code with a single probe connected (optimized case, does not have to
allocate an array) has correct memory ordering.
It applies to kernel 2.6.26.x, 2.6.25.x and linux-next.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at polymtl.ca>
Cc: "Paul E. McKenney" <paulmck at linux.vnet.ibm.com>
Cc: <stable at kernel.org> [2.6.25.x, 2.6.26.x]
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b68bb2632453a9ca7d10a00d79adf60968cb4c05
Author: David Brownell <dbrownell at users.sourceforge.net>
Date: Tue Jul 29 22:33:30 2008 -0700
rtc: don't return -EBUSY when mutex_lock_interruptible() fails
It was pointed out that the RTC framework handles its mutex locks oddly
... returning -EBUSY when interrupted. This fixes that by returning the
value of mutex_lock_interruptible() (i.e. -EINTR).
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Acked-by: Alessandro Zummo <a.zummo at towertech.it>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 950d442ad053e660538cdaa6efc0e060c2a65062
Author: Julia Lawall <julia at diku.dk>
Date: Tue Jul 29 22:33:28 2008 -0700
drivers/video: release mutex in error handling code
The mutex is released on a successful return, so it would seem that it
should be released on an error return as well.
The semantic patch finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
expression l;
@@
mutex_lock(l);
... when != mutex_unlock(l)
when any
when strict
(
if (...) { ... when != mutex_unlock(l)
+ mutex_unlock(l);
return ...;
}
|
mutex_unlock(l);
)
// </smpl>
Signed-off-by: Julia Lawall <julia at diku.dk>
Acked-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Acked-by: Ondrej Zajicek <santiago at crfreenet.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d667b6ddbcdc036a27407c8b2c1243f1dfd69e26
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Tue Jul 29 22:33:26 2008 -0700
hpwdt: don't use static flags
Static (read: global) is potential problem. Two threads can corrupt each
other's interrupt status, better avoid this.
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Cc: Wim Van Sebroeck <wim at iguana.be>
Cc: Thomas Mingarelli <thomas.mingarelli at hp.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 26c131c71e31973e273adde4027e6a80bde164dc
Author: Jan Beulich <jbeulich at novell.com>
Date: Tue Jul 29 22:33:25 2008 -0700
iscsi_ibft_find: fix modpost warning
Exporting __init functions is wrong.
Signed-off-by: Jan Beulich <jbeulich at novell.com>
Acked-by: Konrad Rzeszutek <konradr at linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 126ed36d0edee41c0775906a164ad7e8bef55864
Author: Ben Dooks <ben-linux at fluff.org>
Date: Tue Jul 29 22:33:25 2008 -0700
backlight: ensure platform_lcd on by default
It seems that we need to ensure that the lcd is powered up at start,
otherwise we do not see a display.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Cc: Richard Purdie <rpurdie at rpsys.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit aeed682421a5ebfbf46940e30c3d1caf3bc64304
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Tue Jul 29 22:33:24 2008 -0700
cpuset: clean up cpuset hierarchy traversal code
Use cpuset.stack_list rather than kfifo, so we avoid memory allocation
for kfifo.
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Signed-off-by: Lai Jiangshan <laijs at cn.fujitsu.com>
Cc: Paul Menage <menage at google.com>
Cc: Cedric Le Goater <clg at fr.ibm.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Cc: Paul Jackson <pj at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 93a6557558a13f9ff35213efeca483f353c39dd3
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Tue Jul 29 22:33:23 2008 -0700
cpuset: fix wrong calculation of relax domain level
When multiple cpusets are overlapping in their 'cpus' and hence they
form a single sched domain, the largest sched_relax_domain_level among
those should be used. But when top_cpuset's sched_load_balance is
set, its sched_relax_domain_level is used regardless other sub-cpusets'.
This patch fixes it by walking the cpuset hierarchy to find the largest
sched_relax_domain_level.
Signed-off-by: Lai Jiangshan <laijs at cn.fujitsu.com>
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Cc: Paul Menage <menage at google.com>
Cc: Cedric Le Goater <clg at fr.ibm.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Reviewed-by: Paul Jackson <pj at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f5393693e96393131a4a2e2743f883986d508503
Author: Lai Jiangshan <laijs at cn.fujitsu.com>
Date: Tue Jul 29 22:33:22 2008 -0700
cpuset: speed up sched domain partition
All child cpusets contain a subset of the parent's cpus, so we can skip
them when partitioning sched domains. This decreases 'csa' greately for
cpusets with multi-level hierarchy.
Signed-off-by: Lai Jiangshan <laijs at cn.fujitsu.com>
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Cc: Paul Menage <menage at google.com>
Cc: Cedric Le Goater <clg at fr.ibm.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Reviewed-by: Paul Jackson <pj at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8d1e6266f512b3a94ef6d33528ff385f1aea0392
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Tue Jul 29 22:33:21 2008 -0700
cpuset: a bit cleanup for scan_for_empty_cpusets()
clean up hierarchy traversal code
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Cc: Paul Menage <menage at google.com>
Cc: Cedric Le Goater <clg at fr.ibm.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Cliff Wickman <cpw at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4ef1b0fd61333b3b81ebe29283898c6c84b15c9f
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Tue Jul 29 22:33:20 2008 -0700
memcg: remove redundant check in move_task()
It's guaranteed by cgroup that old_cgrp != cgrp.
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Cc: Paul Menage <menage at google.com>
Cc: Cedric Le Goater <clg at fr.ibm.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 55b6fd0162ace1e0f1b52c8c092565c115127ef6
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Tue Jul 29 22:33:20 2008 -0700
cgroup: uninline cgroup_has_css_refs()
It's not small enough, and has 2 call sites.
text data bss dec hex filename
12813 1676 4832 19321 4b79 cgroup.o.orig
12775 1676 4832 19283 4b53 cgroup.o
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Cc: Paul Menage <menage at google.com>
Cc: Cedric Le Goater <clg at fr.ibm.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 36553434f475a84b653e25e74490ee8df43b86d5
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Tue Jul 29 22:33:19 2008 -0700
cgroup: remove duplicate code in allocate_cg_link()
- just call free_cg_links() in allocate_cg_links()
- the list will get initialized in allocate_cg_links(), so don't init
it twice
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Cc: Paul Menage <menage at google.com>
Cc: Cedric Le Goater <clg at fr.ibm.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5a3eb9f6b7c598529f832b8baa6458ab1cbab2c6
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Tue Jul 29 22:33:18 2008 -0700
cgroup: fix possible memory leak
There's a leak if copy_from_user() returns failure.
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Cc: Paul Menage <menage at google.com>
Cc: Cedric Le Goater <clg at fr.ibm.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1d1958f05095a7e9ecbba86235122784a3d1b561
Author: Yinghai Lu <yhlu.kernel at gmail.com>
Date: Tue Jul 29 22:33:16 2008 -0700
mm: remove find_max_pfn_with_active_regions
It has no user now
Also print out info about adding/removing active regions.
Signed-off-by: Yinghai Lu <yhlu.kernel at gmail.com>
Acked-by: Mel Gorman <mel at csn.ul.ie>
Acked-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3971e1a917548977cff71418a7c3575ffbc9571f
Author: Alex Nixon <alex.nixon at citrix.com>
Date: Tue Jul 29 22:33:03 2008 -0700
VFS: increase pseudo-filesystem block size to PAGE_SIZE
This commit:
commit ba52de123d454b57369f291348266d86f4b35070
Author: Theodore Ts'o <tytso at mit.edu>
Date: Wed Sep 27 01:50:49 2006 -0700
[PATCH] inode-diet: Eliminate i_blksize from the inode structure
caused the block size used by pseudo-filesystems to decrease from
PAGE_SIZE to 1024 leading to a doubling of the number of context switches
during a kernbench run.
Signed-off-by: Alex Nixon <Alex.Nixon at citrix.com>
Cc: Andi Kleen <andi at firstfloor.org>
Cc: Jeremy Fitzhardinge <jeremy at goop.org>
Cc: Peter Zijlstra <peterz at infradead.org>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Ian Campbell <Ian.Campbell at eu.citrix.com>
Cc: "Theodore Ts'o" <tytso at mit.edu>
Cc: Alexander Viro <viro at zeniv.linux.org.uk>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: Jens Axboe <jens.axboe at oracle.com>
Cc: <stable at kernel.org> [2.6.25.x, 2.6.26.x]
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit fdac4e69a1fc181652b37ce6a32ab8a56b0f3bcf
Author: Helge Deller <deller at gmx.de>
Date: Tue Jul 29 22:33:01 2008 -0700
sticore: don't activate unsupported GSC STI cards on HPPA
On HPPA there exists some older GSC graphics cards, which need special
graphic-card-BIOS patching to become supported. Since we don't have yet
implemented the patching, it's better to detect such cards in advance,
inform to the user that there are known problems and to not activate the
card.
Problematic GSC cards and BIOS versions are:
* Hyperdrive/Hyperbowl (A4071A) graphics card series:
* ID = 0x2BCB015A (Version 8.04/8)
* ID = 0x2BCB015A (Version 8.04/11)
* Thunder 1 VISUALIZE 48 card:
* ID = 0x2F23E5FC (Version 8.05/9)
* Thunder 2 VISUALIZE 48 XP card:
* ID = 0x2F8D570E (Version 8.05/12)
* Some Hyperion and ThunderHawk GSC cards
Further details are described here:
http://parisc-linux.org/faq/graphics-howto.html
Signed-off-by: Helge Deller <deller at gmx.de>
Cc: Kyle McMartin <kyle at mcmartin.ca>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Grant Grundler <grundler at parisc-linux.org>
Cc: Matthew Wilcox <matthew at wil.cx>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9b67c5d48f104aae6118bbb052dd79a15ab9794b
Author: Thomas Renninger <trenn at suse.de>
Date: Tue Jul 29 22:32:59 2008 -0700
acpi cpufreq cleanup: move bailing out of function before locking the mutex
Signed-off-by: Thomas Renninger <trenn at suse.de>
Cc: Andi Kleen <andi at firstfloor.org>
Cc: Len Brown <lenb at kernel.org>
Cc: Dave Jones <davej at codemonkey.org.uk>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi at intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a1531acd43310a7e4571d52e8846640667f4c74b
Author: Thomas Renninger <trenn at suse.de>
Date: Tue Jul 29 22:32:58 2008 -0700
cpufreq acpi: only call _PPC after cpufreq ACPI init funcs got called already
Ingo Molnar provided a fix to not call _PPC at processor driver
initialization time in "[PATCH] ACPI: fix cpufreq regression" (git
commit e4233dec749a3519069d9390561b5636a75c7579)
But it can still happen that _PPC is called at processor driver
initialization time.
This patch should make sure that this is not possible anymore.
Signed-off-by: Thomas Renninger <trenn at suse.de>
Cc: Andi Kleen <andi at firstfloor.org>
Cc: Len Brown <lenb at kernel.org>
Cc: Dave Jones <davej at codemonkey.org.uk>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi at intel.com>
Cc: <stable at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1a4e564b7db999fbe5d88318c96ac8747699d417
Author: Magnus Damm <damm at igel.co.jp>
Date: Tue Jul 29 22:32:57 2008 -0700
resource: add resource_size()
Avoid one-off errors by introducing a resource_size() function.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Cc: Ben Dooks <ben-linux at fluff.org>
Cc: Jean Delvare <khali at linux-fr.org>
Cc: Paul Mundt <lethal at linux-sh.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e958d3ace7791f33518f0259cd3cf229408b135c
Author: Ben Dooks <ben-linux at fluff.org>
Date: Tue Jul 29 22:32:56 2008 -0700
backlight: give platform_lcd the same name as the platform device.
When registering an platform_lcd, use the name of the platform device
specified in case there are more than one platform_lcd backlights
registered.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Cc: Richard Purdie <rpurdie at rpsys.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 95b1bc20532c18e3f19cd460c8350350c84ffbb2
Author: David Brownell <dbrownell at users.sourceforge.net>
Date: Tue Jul 29 22:28:12 2008 -0700
[MTD] MTD_DEBUG always does compile-time typechecks
The current style for debug messages is to ensure they're always
parsed by the compiler and then subjected to dead code removal.
That way builds won't break only when debug options get enabled,
which is common when they are stripped out early by CPP.
This patch makes CONFIG_MTD_DEBUG adopt that convention.
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 771999b65f79264acde4b855e5d35696eca5e80c
Author: akpm at linux-foundation.org <akpm at linux-foundation.org>
Date: Tue Jul 29 22:22:40 2008 -0700
[MTD] DataFlash: bugfix, binary page sizes now handled
The wrong version of the "teach dataflash about binary density" patch
just got merged (v2 not v3) ... this restores the missing updates:
* Fix the cmdlinepart *regression* that caused testing failures (!!)
by restoring the original part labels in relevant cases.
* Don't reference things that don't exist (!)
- An opcode that doesn't even exist for DataFlash
- The part is "at45db642" not "at45db641"
- ID zero in this JEDEC table
* Make the JEDEC probe routine report and handle errors better:
- If the SPI calls fail, return the error codes.
- Don't depend on ordering of table entries.
- Unrecognized ids are different from parts that have no ID.
We won't actually know how to handle them correctly; display
the ID and ignore the chip.
* Move the original block comment about the "legacy" chip ID scheme
back next to the code to which it applies ... not next to the new
JEDEC query code, which uses an entirely different strategy.
* Don't print a guessed erasesize; /proc/mtd has the real value.
And add a few more comments.
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Cc: Bryan Wu <cooloney at kernel.org>
Cc: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 650da9d0b7c401619c1df2953e975606b8d5dcbb
Author: akpm at linux-foundation.org <akpm at linux-foundation.org>
Date: Tue Jul 29 21:27:14 2008 -0700
[MTD] [NAND] fsl_elbc_nand.c: fix printk warning
drivers/mtd/nand/fsl_elbc_nand.c:890: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'resource_size_t'
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 74216be41a61a809ad17b091068307e3d89f4a2f
Author: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Date: Wed Jul 30 11:18:42 2008 +0300
[MTD] [NAND] nandsim: support random page read command
Commit 3d45955962496879dead8d4dd70bb9a23b07154b ("subpage read feature
as a way to improve performance") broke nandsim because nandsim does not
support the "random page read" NAND command. This patch adds
corresponding support.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 96d8b647cfff90c8ff07863866aacdcd9d13cead
Author: Alexey Korolev <akorolev at infradead.org>
Date: Tue Jul 29 13:54:11 2008 +0100
[MTD] [NAND] fix subpage read for small page NAND
Current implementation of subpage read feature for NAND has issues with
small page devices. Small page NAND do not support RNDOUT command.
So subpage feature is not applicable for them.
This patch disables support of subpage for small page NAND.
The code is verified on nandsim(SP NAND simulation) and on LP NAND
devices.
Thanks a lot to Artem for finding this issue.
Signed-off-by: Alexey Korolev <akorolev at infradead.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 031cf19e6f63941506c9baf76ac7adac06edcf08
Author: Robert P. J. Day <rpjday at crashcourse.ca>
Date: Wed Jul 30 03:14:01 2008 -0700
net: Make "networking" one-click deselectable.
Use a menuconfig directive to make all of networking support one-click
deselectable from the top-level menu.
Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 17ef51fce03758736e9051c4360eca237dd0aaeb
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Wed Jul 30 03:12:31 2008 -0700
ipv6: Fix useless proc net sockstat6 removal
This call is no longer needed, sockstat6 is per namespace so it is
removed at the namespace subsystem destruction.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 785957d3e8c6fb37b18bf671923a76dbd8240025
Author: David S. Miller <davem at davemloft.net>
Date: Wed Jul 30 03:03:15 2008 -0700
tcp: MD5: Use MIB counter instead of warning for MD5 mismatch.
From a report by Matti Aarnio, and preliminary patch by Adam Langley.
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 8d50b53d66a8a6ae41bafbdcabe401467803f33a
Author: David S. Miller <davem at davemloft.net>
Date: Wed Jul 30 02:37:46 2008 -0700
pkt_sched: Fix OOPS on ingress qdisc add.
Bug report from Steven Jan Springl:
Issuing the following command causes a kernel oops:
tc qdisc add dev eth0 handle ffff: ingress
The problem mostly stems from all of the special case handling of
ingress qdiscs.
So, to fix this, do the grafting operation the same way we do for TX
qdiscs. Which means that dev_activate() and dev_deactivate() now do
the "qdisc_sleeping <--> qdisc" transitions on dev->rx_queue too.
Future simplifications are possible now, mainly because it is
impossible for dev_queue->{qdisc,qdisc_sleeping} to be NULL. There
are NULL checks all over to handle the ingress qdisc special case
that used to exist before this commit.
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 0eb5d5ab3ec99bfd22ff16797d95835369ffb25b
Author: Philipp Zabel <philipp.zabel at gmail.com>
Date: Fri Jul 11 17:28:06 2008 +0200
regulator: TI bq24022 Li-Ion Charger driver
This adds a regulator driver for the TI bq24022 Single-Chip
Li-Ion Charger with its nCE and ISET2 pins connected to GPIOs.
Signed-off-by: Philipp Zabel <philipp.zabel at gmail.com>
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
commit e53e86c7ae123b11c269b0835c04e1b42ca4baed
Author: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Date: Thu Jul 10 15:48:00 2008 +0100
regulator: maintainers - add maintainers for regulator framework.
Adds Liam Girdwood and Mark Brown as regulator framework maintainers.
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
commit e941d0ce532daf8d8610b2495c06f787fd587b85
Author: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Date: Wed Apr 30 17:23:59 2008 +0100
regulator: documentation - ABI
This adds documentation describing the sysfs ABI used by the regulator
framework.
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
commit e7d0fe340557b202dc00135ab3cc877db794a01f
Author: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Date: Wed Apr 30 17:22:50 2008 +0100
regulator: documentation - machine
This adds documenation describing the regulator machine interface.
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
commit e8695ebe5568921c41c269f4434e17590735865c
Author: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Date: Wed Apr 30 17:20:11 2008 +0100
regulator: documentation - regulator driver
This adds documentation describing the regulator driver interface.
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
commit 6392776d262fcd290616ff5e4246ee95b22c13f0
Author: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Date: Wed Apr 30 17:19:02 2008 +0100
regulator: documentation - consumer interface
This adds documentation describing the consumer device interface.
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
commit 8e6f0848be83c5c406ed73a6d7b4bfbf87880eec
Author: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Date: Wed Apr 30 17:16:51 2008 +0100
regulator: documentation - overview
This adds overview documentation describing the regulator framework and
nomenclature used in the interface specific documentation and code.
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
commit ba7e4763437561763b6cca14a41f1d2a7def23e2
Author: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Date: Wed Apr 30 17:13:42 2008 +0100
regulator: core kbuild files
This patch adds kernel build support for the regulator core.
Signed-off-by: Philipp Zabel <philipp.zabel at gmail.com>
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
commit c080909eef2b3e7fba70f57cde3264fba95bdf09
Author: Mark Brown <broonie at opensource.wolfsonmicro.com>
Date: Wed Apr 30 17:05:33 2008 +0100
regulator: regulator test harness
This provides a virtual regulator test harness which exposes a sysfs
interface for setting power requirements, intended for test purposes only.
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Signed-off-by: Philipp Zabel <philipp.zabel at gmail.com>
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
commit 4b74ff6512492dedea353f89d9b56cb715df0d7f
Author: Mark Brown <broonie at opensource.wolfsonmicro.com>
Date: Wed Apr 30 16:27:12 2008 +0100
regulator: add support for fixed regulators.
This adds supports for regulator that are not software controlable. It allows
them to coexist in systems with mixed supplies.
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Signed-off-by: Mike Rapoport <mike at compulab.co.il>
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
commit 414c70cb91c445ec813b61e16fe4882807e40240
Author: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Date: Wed Apr 30 15:59:04 2008 +0100
regulator: regulator framework core
This adds the regulator framework core.
This framework is designed to provide a generic interface to voltage
and current regulators within the Linux kernel. It's intended to
provide voltage and current control to client or consumer drivers and
also provide status information to user space applications through a
sysfs interface.
The intention is to allow systems to dynamically control regulator
output in order to save power and prolong battery life. This applies
to both voltage regulators (where voltage output is controllable) and
current sinks (where current output is controllable).
This framework safely compiles out if not selected so that client
drivers can still be used in systems with no software controllable
regulators.
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <greg at kroah.com>
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
commit 48d335ba3164ce99cb8847513d0e3b6ee604eb20
Author: Mark Brown <broonie at opensource.wolfsonmicro.com>
Date: Wed Apr 30 15:50:21 2008 +0100
regulator: fixed regulator interface
This patch adds support for fixed regulators. This class of regulator is
not software controllable but can coexist on machines with software
controlable regulators.
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
commit 4c1184e85cb381121a5273ea20ad31ca3faa0a4f
Author: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Date: Wed Apr 30 15:46:09 2008 +0100
regulator: machine driver interface
This interface is for machine specific code and allows the creation of
voltage/current domains (with constraints) for each regulator. It can
provide regulator constraints that will prevent device damage through
overvoltage or over current caused by buggy client drivers. It also
allows the creation of a regulator tree whereby some regulators are
supplied by others (similar to a clock tree).
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Signed-off-by: Philipp Zabel <philipp.zabel at gmail.com>
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
commit 571a354b1542a274d88617e1f6703f3fe7a517f1
Author: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Date: Wed Apr 30 15:42:28 2008 +0100
regulator: regulator driver interface
This allows regulator drivers to register their regulators and provide
operations to the core. It also has a notifier call chain for propagating
regulator events to clients.
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
commit e2ce4eaa76214f65a3f328ec5b45c30248115768
Author: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Date: Wed Apr 30 15:10:07 2008 +0100
regulator: consumer device interface
Add support to allow consumer device drivers to control their regulator
power supply.
This uses a similar API to the kernel clock interface in that consumer
drivers can get and put a regulator (like they can with clocks atm) and
get/set voltage, current limit, mode, enable and disable. This should
allow consumers complete control over their supply voltage and current
limit. This also compiles out if not in use so drivers can be reused in
systems with no regulator based power control.
Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
commit 4e891910f5fc7b94c720f587686636a88447c5e4
Author: Alan Cox <alan at lxorguk.ukuu.org.uk>
Date: Tue Jul 8 19:35:13 2008 +0100
[netdrvr] wd: fix build breakage with new NS8390p API
From: Alan Cox <alan at redhat.com>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit 16d78bc255a55d16c0888dde336978d633e80b01
Author: Peter Korsgaard <jacmet at sunsite.dk>
Date: Mon Jul 14 09:07:32 2008 +0200
dm9601: don't do usb transfers of data on stack
dm_{read,write}() were doing USB transfers of data on stack, which isn't
allowed. Fix it by kmalloc'ing a temporary buffer.
Clean up the error handling for short transfers while we're at it.
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
Acked-by: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit 38c080ffa9c1b840390832b42ce8621464ab9f97
Author: Andreas Schwab <schwab at suse.de>
Date: Tue Jul 29 23:59:20 2008 -0700
niu: Fix error checking in niu_ethflow_to_class.
The callers of niu_ethflow_to_class expect zero as error, but it returns
-1 instead.
Signed-off-by: Andreas Schwab <schwab at suse.de>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 4a36702e016947a0ce6c0c024673bb5b16d3f618
Author: Miao Xie <miaox at cn.fujitsu.com>
Date: Tue Jul 29 23:57:58 2008 -0700
IPv6: datagram_send_ctl() should exit immediately when an error occured
When an error occured, datagram_send_ctl() should exit immediately rather than
continue to run the for loop. Otherwise, the variable err might be changed and
the error might be hidden.
Fix this bug by using "goto" instead of "break".
Signed-off-by: Miao Xie <miaox at cn.fujitsu.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit ce0ad7f0952581ba75ab6aee55bb1ed9bb22cf4f
Author: Nick Piggin <npiggin at suse.de>
Date: Wed Jul 30 15:23:13 2008 +1000
powerpc/mm: Lockless get_user_pages_fast() for 64-bit (v3)
Implement lockless get_user_pages_fast for 64-bit powerpc.
Page table existence is guaranteed with RCU, and speculative page references
are used to take a reference to the pages without having a prior existence
guarantee on them.
Signed-off-by: Nick Piggin <npiggin at suse.de>
Signed-off-by: Dave Kleikamp <shaggy at linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 7d2a175b9bf6e9422bebe95130a3c79a25ff4602
Author: Michael Neuling <mikey at neuling.org>
Date: Tue Jul 29 01:13:14 2008 +1000
powerpc: Don't use the wrong thread_struct for ptrace get/set VSX regs
In PTRACE_GET/SETVSRREGS, we should be using the thread we are
ptracing rather than current.
Signed-off-by: Michael Neuling <mikey at neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 1ac42ef844d7c0996f15c6f94f463ac94cb80818
Author: Michael Neuling <mikey at neuling.org>
Date: Tue Jul 29 01:13:14 2008 +1000
powerpc: Fix ptrace buffer size for VSX
Fix cut-and-paste error in the size setting for ptrace buffers for VSX.
Signed-off-by: Michael Neuling <mikey at neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 33b3f03dccc26c377e9689790ecc41079a0c9ca7
Author: Michael Neuling <mikey at neuling.org>
Date: Tue Jul 29 01:13:14 2008 +1000
powerpc: Correctly hookup PTRACE_GET/SETVSRREGS for 32 bit processes
Fix bug where PTRACE_GET/SETVSRREGS are not connected for 32 bit processes.
Signed-off-by: Michael Neuling <mikey at neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 9842727da7d95d8249087148048cc571f967c023
Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Mon Jul 28 11:29:56 2008 +1000
ide/powermac: Fix use of uninitialized pointer on media-bay
The current ide-pmac calls media_bay_set_ide_infos() with an
uninitialized "hwif" argument. The proper fix is to split the
allocation of the hwif from its registration in order to properly
setup the mediabay informations before registration.
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 9ee07f91a1fab61ff0d8d25be43351a049c0a821
Author: Nathan Fontenot <nfont at austin.ibm.com>
Date: Sat Jul 26 04:27:06 2008 +1000
powerpc: Allow non-hcall return values for lparcfg writes
The code to handle writes to /proc/ppc64/lparcfg incorrectly
assumes that the return code from the helper routines to update
processor or memory entitlement return a hcall return value. It
then assumes any non-hcall return value is bad and sets the return
code for the write to be -EIO.
The update_[mp]pp routines can return values other than a hcall
return value. This patch removes the automatic setting of any
return code that is not an hcall return value from these routines
to -EIO.
Signed-off-by: Nathan Fontenot <nfont at austin.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 11c675cef2fbe471dc6103a89b156e65c3630f3a
Author: Stephen Rothwell <sfr at canb.auug.org.au>
Date: Fri May 23 16:22:42 2008 +1000
ipmi/powerpc: Use linux/of_{device,platform}.h instead of asm
Drivers should not include the asm variants anymore
Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit e93dc4891df93d7efa59d861fdcbb529a1819343
Merge: 6e86841d05f371b5b9b86ce76c02aaee83352298 56a6d13dfd49d90d72a1a962246206719dd9d143
Author: David S. Miller <davem at davemloft.net>
Date: Tue Jul 29 21:51:00 2008 -0700
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
commit 3a1a8acf690873f0ee2d8a648c2ec185f4294bd2
Merge: 6e86841d05f371b5b9b86ce76c02aaee83352298 cf0d19fb3032ebf2cf8e5217da00f51dc025aa8e
Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Wed Jul 30 14:36:03 2008 +1000
Merge commit 'kumar/kumar-next'
commit cf0d19fb3032ebf2cf8e5217da00f51dc025aa8e
Author: Kim Phillips <kim.phillips at freescale.com>
Date: Tue Jul 29 15:29:24 2008 -0500
powerpc/fsl: proliferate simple-bus compatibility to soc nodes
add simple-bus compatible property to soc nodes for 83xx/85xx platforms
that were missing them. Add same to platform probe code.
This fixes SoC device drivers (such as talitos) to succeed in matching
devices present in the soc node.
also update mpc836x_rdk dts to new SEC bindings (overlooked in commit
3fd4473: powerpc/fsl: update crypto node definition and device tree
instances).
Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
commit 383795c206946777d87ed5f6d61d6659110f9344
Author: Eric Paris <eparis at redhat.com>
Date: Tue Jul 29 17:07:26 2008 -0400
SELinux: /proc/mounts should show what it can
Given a hosed SELinux config in which a system never loads policy or
disables SELinux we currently just return -EINVAL for anyone trying to
read /proc/mounts. This is a configuration problem but we can certainly
be more graceful. This patch just ignores -EINVAL when displaying LSM
options and causes /proc/mounts display everything else it can. If
policy isn't loaded the obviously there are no options, so we aren't
really loosing any information here.
This is safe as the only other return of EINVAL comes from
security_sid_to_context_core() in the case of an invalid sid. Even if a
FS was mounted with a now invalidated context that sid should have been
remapped to unlabeled and so we won't hit the EINVAL and will work like
we should. (yes, I tested to make sure it worked like I thought)
Signed-off-by: Eric Paris <eparis at redhat.com>
Tested-by: Marc Dionne <marc.c.dionne at gmail.com>
Signed-off-by: James Morris <jmorris at namei.org>
commit dc56e634c807c6be69be8af919f20a746197b87d
Author: Breno Leitao <leitao at linux.vnet.ibm.com>
Date: Tue Jul 22 16:27:20 2008 -0300
S2io: fix statistics flush after a MTU change
On s2io driver, when you change the interface MTU, it invokes a card
reset, which flush some statistics. This patch solves this problem, and
also set the net_device->stats as the default statistics structure,
instead of s2io_nic->stats.
To do that, s2io_nic->stats turned into a staging area, where is saved
statistics of the last hardware statistics query. So, the difference
between the current hardware statistics and s2io_nic->stats, is the
value that should be summed up, in order to get the correct statistics
value, even after a reset.
Signed-off-by: Breno Leitao <leitao at linux.vnet.ibm.com>
Signed-off-by: Jay Vosburgh <fubar at us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit c7b7b042068cd12b8b155722d24686f70b88ced1
Author: David Brownell <dbrownell at users.sourceforge.net>
Date: Thu Jul 24 17:47:56 2008 -0700
enc28j60: don't specify (wrong) IRQ type
Recent changes to the IRQ framework have made passing the wrong
trigger type to request_irq() become a fatal error. In the case
of the enc28j60 driver, it stopped working in my test harness.
(Specifically: the signal detects "pin change" events, both edges,
not just falling edges. Similarly, other boards might route it
through an inverter. Trigger type are board-specific.)
This fixes that problem by the usual fix of expecting board setup
code to have set up the correct IRQ trigger type. The best known
example of that being x86 setup.
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit 74dfd9fb0ae390027cb5a908ab065a21158105d5
Author: Stephen Hemminger <shemminger at vyatta.com>
Date: Fri Jul 25 11:46:46 2008 -0700
blackfin_mac: unneeded assignment
skb->dev is set by eth_type_trans already.
Signed-off-by: Stephen Hemminger <shemminger at vyatta.com>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit 16b237dc44c716dbd9aeee4ab8aa9c33a62d5998
Merge: 8051367586314ab005dacead790a3b2e4e3dcc58 ac0a2d0c8ab18045ab217339a71e76c76e186ede
Author: Jeff Garzik <jeff at garzik.org>
Date: Tue Jul 29 18:23:13 2008 -0400
Merge branch 'for-2.6.27' of git://git.marvell.com/mv643xx_eth into upstream-fixes
commit 9fec6060d9e48ed7db0dac0e16d0f0f0e615b7f6
Merge: fece418418f51e92dd7e67e17c5e3fe5a28d3279 6e86841d05f371b5b9b86ce76c02aaee83352298
Author: Anton Vorontsov <cbouatmailru at gmail.com>
Date: Wed Jul 30 02:05:23 2008 +0400
Merge branch 'master' of /home/cbou/linux-2.6
Conflicts:
drivers/power/Kconfig
drivers/power/Makefile
commit 8051367586314ab005dacead790a3b2e4e3dcc58
Author: Steve Wise <swise at opengridcomputing.com>
Date: Sat Jul 26 15:40:56 2008 -0500
cxgb3: Allow 64KB firmware images.
Starting with FW version 7.0, the driver needs to allow larger images.
Signed-off-by: Steve Wise <swise at opengridcomputing.com>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit ee02fee8f698aee72f43b3ee5fd818393b110402
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Sun Jul 27 22:45:05 2008 +0800
Blackfin EMAC Driver: Functional power management support
Reprogram MAC address after resume from Suspend Mem
(Blackfin Hibernate looses all CORE and SYSTEM register content)
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit a50c0c05c3bdead1ac405ca8cefd8dc290043933
Author: Bryan Wu <cooloney at kernel.org>
Date: Sun Jul 27 22:45:04 2008 +0800
Blackfin EMAC Driver: enable TXDWA new feature for new silicon (rev > 0.2)
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit d7b843d393cec677583e1aa971df09b140dcfd5e
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Sun Jul 27 22:45:03 2008 +0800
Blackfin EMAC Driver: add proper __devinit/__devexit markings
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit 22ae03a190011fa2241e68a6c51369d78039348e
Author: Ayaz Abdulla <aabdulla at nvidia.com>
Date: Fri Jul 25 15:31:29 2008 -0400
forcedeth bug fix: realtek phy 8211c errata
This patch adds support for the realtek 8211c phy. The driver must
perform a hardware reset of the phy due to an errata where the phy could
not detect the link.
Signed-off-by: Ayaz Abdulla <aabdulla at nvidia.com>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
commit 56a6d13dfd49d90d72a1a962246206719dd9d143
Author: Luis Carlos Cobo <luisca at cozybit.com>
Date: Tue Jul 29 19:59:31 2008 +0200
mac80211: fix mesh beaconing
This patch fixes mesh beaconing, which was broken by "mac80211: revamp
beacon configuration".
Signed-off-by: Luis Carlos Cobo <luisca at cozybit.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 77bbadd5ea893f364a0d1879723037678a03725c
Author: Vegard Nossum <vegard.nossum at gmail.com>
Date: Tue Jul 29 13:31:47 2008 +0200
PS3: gelic: use unsigned long for irqflags
The semantic patch I used was this:
@@
expression lock;
identifier flags;
expression subclass;
@@
- unsigned int flags;
+ unsigned long flags;
...
<+...
(
spin_lock_irqsave(lock, flags)
|
_spin_lock_irqsave(lock)
|
spin_unlock_irqrestore(lock, flags)
|
_spin_unlock_irqrestore(lock, flags)
|
read_lock_irqsave(lock, flags)
|
_read_lock_irqsave(lock)
|
read_unlock_irqrestore(lock, flags)
|
_read_unlock_irqrestore(lock, flags)
|
write_lock_irqsave(lock, flags)
|
_write_lock_irqsave(lock)
|
write_unlock_irqrestore(lock, flags)
|
_write_unlock_irqrestore(lock, flags)
|
spin_lock_irqsave_nested(lock, flags, subclass)
|
_spin_lock_irqsave_nested(lock, subclass)
|
spin_unlock_irqrestore(lock, flags)
|
_spin_unlock_irqrestore(lock, flags)
|
_raw_spin_lock_flags(lock, flags)
|
__raw_spin_lock_flags(lock, flags)
)
...+>
This patch was generated using the Coccinelle framework.
Cc: Masakazu Mokuno <mokuno at sm.sony.co.jp>
Cc: Julia Lawall <julia at diku.dk>
Cc: Alexey Dobriyan <adobriyan at gmail.com>
Signed-off-by: Vegard Nossum <vegard.nossum at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 14db74bcc3f7a779cf395a47e26b06a28207571a
Author: Johannes Berg <johannes at sipsolutions.net>
Date: Tue Jul 29 13:22:52 2008 +0200
mac80211: fix cfg80211 hooks for master interface
The master interface is a virtual interface that is registered
to mac80211, changing that does not seem like a good idea at
the moment. However, since it has no sdata, we cannot accept
any configuration for it. This patch makes the cfg80211 hooks
reject any such attempt.
Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit bba95fefb8e31f4799652666d05a4a9aad56e492
Author: Johannes Berg <johannes at sipsolutions.net>
Date: Tue Jul 29 13:22:51 2008 +0200
nl80211: fix dump callbacks
Julius Volz pointed out that the dump callbacks in nl80211 were
broken and fixed one of them. This patch fixes the other three
and also addresses the TODOs there.
Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
Cc: Julius Volz <juliusv at google.com>
Cc: Thomas Graf <tgraf at suug.ch>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit d0f09804144fd9471a13cf4d80e66842c7fa114f
Author: Johannes Berg <johannes at sipsolutions.net>
Date: Tue Jul 29 11:32:07 2008 +0200
mac80211: partially fix skb->cb use
This patch fixes mac80211 to not use the skb->cb over the queue step
from virtual interfaces to the master. The patch also, for now,
disables aggregation because that would still require requeuing,
will fix that in a separate patch. There are two other places (software
requeue and powersaving stations) where requeue can happen, but that is
not currently used by any drivers/not possible to use respectively.
Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 0ccd58fc03f40529f66190b1a41e92a732d2bda8
Author: Larry Finger <Larry.Finger at lwfinger.net>
Date: Mon Jul 28 22:25:08 2008 -0500
rtl8187: Improve wireless statistics for RTL8187B
Wireless statistics produced by the RTL8187B driver are not particularly
informative about the strength of the received signal. From the data sheet
provided by Realtek, I discovered that certain parts of the RX header
should have the information necessary to calculate signal quality and
strength. With testing, it became clear that most of these quantities were
very jittery - only the AGC correlated with the signals expected from nearby
AP's. As a result, the quality and strength are derived from the agc value.
The scaling has been determined so that the numbers are close to those
obtained by b43 under the same conditions. The results are qualitatively
correct.
Statistics derived for the RTL8187 have not been changed.
The RX header variables have been renamed to match the quantites described
in the Realtek data sheet.
Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 1f690d7b549ef9c7424536475501885dd5b54930
Author: Larry Finger <Larry.Finger at lwfinger.net>
Date: Mon Jul 28 22:08:18 2008 -0500
rtl8187: Fix for TX sequence number problem
"mac80211: fix TX sequence numbers" broke rtl8187. This
patch makes the same kind of fix that was done for rt2x00. Note that
this code will have to be reworked for proper sequence numbers on beacons.
In addition, the sequence number has been placed in the hardware state,
not the vif state.
Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 5422399518e8142198df888aab00acdac251f754
Author: Rami Rosen <ramirose at gmail.com>
Date: Thu Jul 24 10:40:37 2008 +0300
mac80211: append CONFIG_ to MAC80211_VERBOSE_PS_DEBUG in net/mac80211/tx.c.
In net/mac80211/tx.c, there are some #ifdef which checks
MAC80211_VERBOSE_PS_DEBUG
(which in fact is never set) instead of
CONFIG_MAC80211_VERBOSE_PS_DEBUG, as should be.
This patch replaces MAC80211_VERBOSE_PS_DEBUG with
CONFIG_MAC80211_VERBOSE_PS_DEBUG in these #ifdef commands in
net/mac80211/tx.c.
Signed-off-by: Rami Rosen <ramirose at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 0b06b2ae0e474fc6378117c832bcd94785a9e975
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Wed Jul 23 18:36:38 2008 -0700
mac80211: fix sparse integer as NULL pointer warning
drivers/net/wireless/mac80211_hwsim.c:503:20: warning: Using plain integer as NULL pointer
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 031211049b71619f7e776521963c082ca453d9fd
Author: Andrew Morton <akpm at linux-foundation.org>
Date: Tue Jul 22 23:50:04 2008 -0700
drivers/net/wireless/iwlwifi/iwl-led.c: printk fix
ia64:
drivers/net/wireless/iwlwifi/iwl-led.c: In function `iwl_get_blink_rate':
drivers/net/wireless/iwlwifi/iwl-led.c:271: warning: long long int format, s64 arg (arg 6)
drivers/net/wireless/iwlwifi/iwl-led.c:271: warning: long long int format, u64 arg (arg 7)
We do not know what type the architecture uses to impement u64 and s64,
hence we must cast the variables for printing.
Cc: Tomas Winkler <tomas.winkler at intel.com>
Cc: John W. Linville <linville at tuxdriver.com>
Cc: Zhu Yi <yi.zhu at intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 023a04bebe7030c1e6d5347bd3f27a3e49a1f222
Author: Jeremy Fitzhardinge <jeremy at goop.org>
Date: Mon Jul 14 12:52:08 2008 -0700
mac80211: return correct error return from ieee80211_wep_init
Return the proper error code rather than a hard-coded ENOMEM from
ieee80211_wep_init. Also, print the error code on failure.
Signed-off-by: Jeremy Fitzhardinge <jeremy at goop.org>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 1b0241656b658522a15e7aad570cb8ea6b255a2a
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Mon Jul 14 12:43:23 2008 +0200
mac80211: tx, use dev_kfree_skb_any for beacon_get
Use dev_kfree_skb_any(); instead of dev_kfree_skb();, since
ieee80211_beacon_get function might be called from atomic.
(It's in a fail path.)
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Cc: Johannes Berg <johannes at sipsolutions.net>
Cc: Michael Wu <flamingice at sourmilk.net>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 9c0ab712c7e40b61063431cae74a3e763535a4e7
Author: Ivo van Doorn <ivdoorn at gmail.com>
Date: Mon Jul 21 19:06:02 2008 +0200
rt2x00: Clear queue entry flags during initialization
When the queues are being initialized the entry flags fields must be
reset to 0. When this does not happen some entries might still be
marked as "occupied" after an ifdown & ifup cycle which would trigger
errors when the entry is being accessed:
phy0 -> rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 0.
Please file bug report to http://rt2x00.serialmonkey.com.
This also fixes the mac80211 warning:
------------[ cut here ]------------
WARNING: at net/mac80211/tx.c:1238 ieee80211_master_start_xmit+0x30a/0x350 [mac80211]()
which was triggered by the queue error.
Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 74c0ee9b59bdaa81a666d5d58022f847390e4b0c
Author: Ivo van Doorn <ivdoorn at gmail.com>
Date: Mon Jul 21 11:52:44 2008 +0200
rt2x00: Force full register config after start()
rt2x00 will only perform configuration changes from
mac80211 when the configuration option has changed.
This means it keeps track of the current active configuration
and will check these values when the config() callback function
is used.
However this causes breakage when the interface has been
brought down and up again, since all stored active values
aren't reset while the registers might have.
This is for example the case with rt61pci antenna registers which
will jump to invalid values when the interface has been started.
To make sure a full configuration takes place after the start()
callback function, a new flag is added which will be checked
during config() and skips the "what's changed" phase.
Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 4104863fb4a724723d1d5f3cba9d3c5084087e45
Author: Julia Lawall <julia at diku.dk>
Date: Mon Jul 21 11:29:34 2008 +0200
b43legacy: Release mutex in error handling code
The mutex is released on a successful return, so it would seem that it
should be released on an error return as well.
The semantic patch finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
expression l;
@@
mutex_lock(l);
... when != mutex_unlock(l)
when any
when strict
(
if (...) { ... when != mutex_unlock(l)
+ mutex_unlock(l);
return ...;
}
|
mutex_unlock(l);
)
// </smpl>
Signed-off-by: Julia Lawall <julia at diku.dk>
Signed-off-by: Michael Buesch <mb at bu3sch.de>
Cc: stable <stable at kernel.org>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 80c42affad970c8ebc5ebec4681aef8dadf21c32
Author: Julia Lawall <julia at diku.dk>
Date: Mon Jul 21 09:58:11 2008 +0200
drivers/net/wireless/ipw2100.c: Release mutex in error handling code
The mutex is released on a successful return, so it would seem that it
should be released on an error return as well.
The semantic patch finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
expression l;
@@
mutex_lock(l);
... when != mutex_unlock(l)
when any
when strict
(
if (...) { ... when != mutex_unlock(l)
+ mutex_unlock(l);
return ...;
}
|
mutex_unlock(l);
)
// </smpl>
Signed-off-by: Julia Lawall <julia at diku.dk>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit e7087a828f8714e464fff18d93618727530dfd89
Author: Ivo van Doorn <ivdoorn at gmail.com>
Date: Sun Jul 20 18:03:58 2008 +0200
rt2x00: Fix memleak when RTS/CTS fails
When sending the RTS/CTS frame fails, we should
free the skb buffer which was created.
Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 5adf6d63c1697ce1835daf2b5393488a71ee0dca
Author: Ivo van Doorn <ivdoorn at gmail.com>
Date: Sun Jul 20 18:03:38 2008 +0200
rt2x00: Fix QOS sequence counting
When IEEE80211_TX_CTL_ASSIGN_SEQ is not set,
the driver should disable hardware sequence counting
to make sure the mac80211 provided counter is used.
This fixes QOS sequence counting, since that is one
of the cases where mac80211 provides a seperate
sequence counter.
By moving the sequence counting code to rt2x00queue
we make sure that _all_ frames get the sequence counter,
including RTS/CTS and Beacon frames.
Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit b93ce437eba7e0232683326f30d9d1167a872fad
Author: Iwo Mergler <iwo at call-direct.com.au>
Date: Sat Jul 19 16:17:40 2008 +0200
rt2x00: Fix the beacon length bug
When setting up a beacon template, the length of the beacon is
calculated with the assumption that the SKB already contains
the Tx descriptor. In the case of beacons it doesn't.
This patch undoes the damage by adding the Tx descriptor length
to the beacon length. This is safe, because the shortest possible
beacon is longer than the Tx header.
Signed-off-by: Iwo Mergler <Iwo at call-direct.com.au>
Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 3e0c1abe748a30bc705a55f71bca8e04a83820f1
Author: Iwo Mergler <iwo at call-direct.com.au>
Date: Sat Jul 19 16:17:16 2008 +0200
rt2x00: Large vendor requests for rt73usb firmware upload and beacons
Switches rt73usb to use large vendor requests for firmware
and beacons. This also fixes the garbled beacon bug.
Signed-off-by: Iwo Mergler <Iwo at call-direct.com.au>
Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit ed0dbeeb92bdb1030bcec67e20b294bd2020cb31
Author: Iwo Mergler <iwo at call-direct.com.au>
Date: Sat Jul 19 16:16:54 2008 +0200
rt2x00: Support for large vendor requests
Adds an extra rt2x00 vendor request function to support register
transfers beyond the CSR_CACHE_SIZE / USB packet size limit. This
is useful for firmware uploads, beacon templates and keys, all
of which are to large to do with a single USB request.
Signed-off-by: Iwo Mergler <Iwo at call-direct.com.au>
Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit f2fdbc4847e0d3991474949f21aa439c361391db
Author: Ivo van Doorn <ivdoorn at gmail.com>
Date: Sat Jul 19 16:16:12 2008 +0200
rt2x00: Fix EIFS timing value
Olivier reported a difference between the EIFS
values used in the legacy driver and the one in
the rt2x00 drivers.
In rt2x00 the value was
( SIFS + (8 * (IEEE80211_HEADER + ACK_SIZE)) )
which comes down to 314us while the legacy driver uses the value 364us
This was caused because EIFS is: SIFS + DIFS + AckTime
This patch will fix this by adding the DIFS by the above value,
and creating a SHORT_EIFS define which uses the SHORT_DIFS.
Reported-by: Olivier Cornu <o.cornu at gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit ed06387b44f0501f7298b559dc8ddfcd410c8fa0
Author: Ivo van Doorn <ivdoorn at gmail.com>
Date: Sat Jul 19 16:15:42 2008 +0200
rt2x00: Remove duplicate declaration
rt2x00queue_free_skb() was declared twice.
Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 256b152b005e319f985f50f2a910a75ba0def74f
Author: Pavel Roskin <proski at gnu.org>
Date: Fri Jul 18 12:56:59 2008 -0400
ath5k: don't enable MSI, we cannot handle it yet
MSI is a nice thing, but we cannot enable it without changing the
interrupt handler. If we do it, we break MSI capable hardware,
specifically AR5006 chipset.
Signed-off-by: Pavel Roskin <proski at gnu.org>
Acked-by: Nick Kossifidis <mickflemm at gmail.com>
Cc: stable <stable at kernel.org>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit bc05116ab33d30342e2b4b1bcc6d6e1184e9df97
Author: Bob Copeland <me at bobcopeland.com>
Date: Fri Jul 18 11:11:21 2008 -0400
ath5k: fix recursive locking in ath5k_beacon_update
ath5k_beacon_update takes sc->lock upon entry. However, it is only
called from within ath5k_config_interface, which already holds the lock.
Remove the unnecessary locking from ath5k_beacon_update.
Signed-off-by: Bob Copeland <me at bobcopeland.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit cb9289cb798502a5010c8f1d8d003842cd1449a4
Author: Denis V. Lunev <den at openvz.org>
Date: Fri Jul 18 10:56:12 2008 +0400
iwlwifi: small compile warnings without CONFIG_IWLWIFI_DEBUG
CC [M] drivers/net/wireless/iwlwifi/iwl-scan.o
drivers/net/wireless/iwlwifi/iwl-scan.c: In function 'iwl_rx_scan_complete_notif':
drivers/net/wireless/iwlwifi/iwl-scan.c:274: warning: unused variable 'scan_notif'
Signed-off-by: Denis V. Lunev <den at openvz.org>
Acked-by: Tomas Winkler <tomasw at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit c0b6a1c9be3acac0f600072ebc2bc6ad3d8c8f76
Author: Denis V. Lunev <den at openvz.org>
Date: Thu Jul 17 13:19:24 2008 +0400
iwlwifi: compilation error when CONFIG_IWLWIFI_DEBUG is not set
CC [M] drivers/net/wireless/iwlwifi/iwl-rfkill.o
drivers/net/wireless/iwlwifi/iwl-led.c: In function 'iwl_led_brightness_set':
drivers/net/wireless/iwlwifi/iwl-led.c:198: error: 'led_type_str' undeclared (first use in this function)
drivers/net/wireless/iwlwifi/iwl-led.c:198: error: (Each undeclared identifier is reported only once
drivers/net/wireless/iwlwifi/iwl-led.c:198: error: for each function it appears in.)
The problem is that led_type_str is defined under CONFIG_IWLWIFI_DEBUG
while IWL_DEBUG is a static inline function in this case. Replace it
with macro.
Signed-off-by: Denis V. Lunev <den at openvz.org>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit fb904907fb1a02a64af9f2d1fb1ef35d963231f9
Author: Brian Cavagnolo <brian at cozybit.com>
Date: Wed Jul 16 12:15:26 2008 -0700
libertas: check bounds and only use decimal for sysfs persistent features.
Some persistent settings were using hex and others decimal. In some cases,
values were set in hex but reported in decimal. Confusing.
Signed-off-by: Brian Cavagnolo <brian at cozybit.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 699669f331a9e459713e4327a468db8fbb8cd60f
Author: Rami Rosen <ramirose at gmail.com>
Date: Wed Jul 16 16:39:56 2008 +0300
iwl-3945: add #ifdef CONFIG_IWL3945_LEDS to avoid compile warning.
When building the wireless-next-2.6 tree with CONFIG_IWL3945 (for building
iwl-3945 driver) and where CONFIG_IWL3945_LEDS is not set,
we get this warning:
drivers/net/wireless/iwlwifi/iwl-3945.c: In function
'iwl3945_pass_packet_to_mac80211':
drivers/net/wireless/iwlwifi/iwl-3945.c:633: warning: unused variable 'hdr'
This patch adds #ifdef to iwl3945_pass_packet_to_mac80211() to avoid this
warning. (The variable 'hdr' is used only if CONFIG_IWL3945_LEDS is set)
Signed-off-by: Rami Rosen <ramirose at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 435307a365ceedc4f4e1813e405f583f434d98e4
Author: Henrique de Moraes Holschuh <hmh at hmh.eng.br>
Date: Mon Jul 21 21:18:22 2008 -0300
rfkill: yet more minor kernel-doc fixes
For some stupid reason, I sent and old version of the patch minor kernel
doc-fix patch, and it got merged before I noticed the problem. This is an
incremental fix on top.
Signed-off-by: Henrique de Moraes Holschuh <hmh at hmh.eng.br>
Acked-by: Ivo van Doorn <IvDoorn at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 064af1117b4aa64a0e52f6b741df7356ef055142
Author: Henrique de Moraes Holschuh <hmh at hmh.eng.br>
Date: Mon Jul 21 21:18:20 2008 -0300
rfkill: mutex fixes
There are two mutexes in rfkill:
rfkill->mutex, which protects some of the fields of a rfkill struct, and is
also used for callback serialization.
rfkill_mutex, which protects the global state, the list of registered
rfkill structs and rfkill->claim.
Make sure to use the correct mutex, and to not miss locking rfkill->mutex
even when we already took rfkill_mutex.
Signed-off-by: Henrique de Moraes Holschuh <hmh at hmh.eng.br>
Acked-by: Ivo van Doorn <IvDoorn at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit f1b23361a0f15497d4c6795a2935b2e98064ddfb
Author: Henrique de Moraes Holschuh <hmh at hmh.eng.br>
Date: Mon Jul 21 21:18:19 2008 -0300
rfkill: document the rfkill struct locking (v2)
Reorder fields in struct rfkill and add comments to make it clear
which fields are protected by rfkill->mutex.
Signed-off-by: Henrique de Moraes Holschuh <hmh at hmh.eng.br>
Acked-by: Ivo van Doorn <IvDoorn at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 37f55e9d78d1b63047b1b7ae175cdce650547ba8
Author: Henrique de Moraes Holschuh <hmh at hmh.eng.br>
Date: Mon Jul 21 21:18:18 2008 -0300
rfkill: fix led-trigger unregister order in error unwind
rfkill needs to unregister the led trigger AFTER a call to
rfkill_remove_switch(), otherwise it will not update the LED state,
possibly leaving it ON when it should be OFF.
To make led-trigger unregistering safer, guard against unregistering a
trigger twice, and also against issuing trigger events to a led trigger
that was unregistered. This makes the error unwind paths more resilient.
Refer to "rfkill: Register LED triggers before registering switch".
Signed-off-by: Henrique de Moraes Holschuh <hmh at hmh.eng.br>
Acked-by: Ivo van Doorn <IvDoorn at gmail.com>
Cc: Michael Buesch <mb at bu3sch.de>
Cc: Dmitry Baryshkov <dbaryshkov at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 2fd9b2212e25e6411b6f309707f4e2683d164250
Author: Henrique de Moraes Holschuh <hmh at hmh.eng.br>
Date: Mon Jul 21 21:18:17 2008 -0300
rfkill: document rfkill_force_state as required (v2)
While the rfkill class does work with just get_state(), it doesn't work
well on devices that are subject to external events that cause rfkill state
changes.
Document that rfkill_force_state() is required in those cases.
Signed-off-by: Henrique de Moraes Holschuh <hmh at hmh.eng.br>
Acked-by: Ivo van Doorn <IvDoorn at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 734b5aa911dc65f4563048f069dfc631c9aa7de7
Author: Bob Copeland <me at bobcopeland.com>
Date: Tue Jul 15 13:07:16 2008 -0400
ath5k: use positive logic for HP laptop LEDs
Helge Deller reports that HP laptops (NC4010 and NC6000) use active-
high signals to turn on the LEDs. Previous code used active-low for
all devices.
Signed-off-by: Bob Copeland <me at bobcopeland.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 3e4242b99ce46fed82aa7f40ad5a1817a2b3bd45
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Tue Jul 15 17:44:21 2008 +0200
Ath5k: suspend/resume fixes
- free and re-request irq since it might have changed during suspend
- disable and enable msi
- don't set D0 state of the device, it's already done by the PCI layer
- do restore_state before enable_device, it's safer
- check ath5k_init return value
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Acked-by: Nick Kossifidis <mickflemm at gmail.com>
Cc: Luis R. Rodriguez <mcgrof at gmail.com>
Cc: Jesse Barnes <jbarnes at virtuousgeek.org>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit e86600c7b4e9b9b22ba51620613d6159bf5cf504
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Tue Jul 15 17:44:43 2008 +0200
Ath5k: fix dma operation
Don't sync
- coherent mapping (descriptors)
- before unmap, it's useless
- (wrongly anyway -- for_cpu) beacon skb, it's just mapped,
so by the device yet
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Acked-by: Nick Kossifidis <mickflemm at gmail.com>
Cc: Luis R. Rodriguez <mcgrof at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 274c7c3638cd027b46f76d0caef96c1bad8b6701
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Tue Jul 15 17:44:20 2008 +0200
Ath5k: flush work
Make sure that the irq is not in progress after stop. This means
two things:
- ensure the intr setting register is set by flushing posted values
- call synchronize_irq() after that
Also flush stop tx write, inform callers of the tx stop about still
pending transfers (unsuccessful stop) and finally don't wait another
3ms in ath5k_rx_stop, since ath5k_hw_stop_rx_dma ensures transfer to
be finished.
Make sure all writes will be ordered in respect to locks by mmiowb().
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Acked-by: Nick Kossifidis <mickflemm at gmail.com>
Cc: Luis R. Rodriguez <mcgrof at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 10488f8ad62be3b860bad74e60b4fe6ab87aece3
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Tue Jul 15 17:44:19 2008 +0200
Ath5k: kill tasklets on shutdown
Don't forget to kill tasklets on stop to not panic if they
fire after freeing some structures.
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Acked-by: Nick Kossifidis <mickflemm at gmail.com>
Cc: Luis R. Rodriguez <mcgrof at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 3a0f2c871849f23c1070965bf94dec3f9c0b479d
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Tue Jul 15 17:44:18 2008 +0200
Ath5k: fix memory corruption
When signal is noisy, hardware can use all RX buffers and since the last
entry in the list is self-linked, it overwrites the entry until we link
new buffers.
Ensure that we don't free this last one until we are 100% sure that it
is not used by the hardware anymore to not cause memory curruption as
can be seen below.
This is done by checking next buffer in the list. Even after that we
know that the hardware refetched the new link and proceeded further
(the next buffer is ready) we can finally free the overwritten buffer.
We discard it since the status in its descriptor is overwritten (OR-ed
by new status) too.
=============================================================================
BUG kmalloc-4096: Poison overwritten
-----------------------------------------------------------------------------
INFO: 0xffff810067419060-0xffff810067419667. First byte 0x8 instead of 0x6b
INFO: Allocated in dev_alloc_skb+0x18/0x30 age=1118 cpu=1 pid=0
INFO: Freed in skb_release_data+0x85/0xd0 age=1105 cpu=1 pid=3718
INFO: Slab 0xffffe200019d0600 objects=7 used=0 fp=0xffff810067419048 flags=0x40000000000020c3
INFO: Object 0xffff810067419048 @offset=4168 fp=0xffff81006741c120
Bytes b4 0xffff810067419038: 4f 0b 02 00 01 00 00 00 5a 5a 5a 5a 5a 5a 5a 5a O.......ZZZZZZZZ
Object 0xffff810067419048: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
Object 0xffff810067419058: 6b 6b 6b 6b 6b 6b 6b 6b 08 42 30 00 00 0b 6b 80 kkkkkkkk.B0...k.
Object 0xffff810067419068: f0 5d 00 4f 62 08 a3 64 00 0c 42 16 52 e4 f0 5a 360].Ob.243d..B.R344360Z
Object 0xffff810067419078: 68 81 00 00 7b a5 b4 be 7d 3b 8f 53 cd d5 de 12 h...{245264276};.S315325336.
Object 0xffff810067419088: 96 10 0b 89 48 54 23 41 0f 4e 2d b9 37 c3 cb 29 ....HT#A.N-2717303313)
Object 0xffff810067419098: d1 e0 de 14 8a 57 2a cc 3b 44 0d 78 7a 19 12 15 321340336..W*314;D.xz...
Object 0xffff8100674190a8: a9 ec d4 35 a8 10 ec 8c 40 a7 06 0a 51 a7 48 bb 2513543245250.354. at 247..Q247H273
Object 0xffff8100674190b8: 3e cf a1 c7 38 60 63 3f 51 15 c7 20 eb ba 65 30 >Ï¡3078`c?Q.307.353272e0
Redzone 0xffff81006741a048: bb bb bb bb bb bb bb bb 273273273273273273273273
Padding 0xffff81006741a088: 5a 5a 5a 5a 5a 5a 5a 5a ZZZZZZZZ
Pid: 3297, comm: ath5k_pci Not tainted 2.6.26-rc8-mm1_64 #427
Call Trace:
[<ffffffff802a7306>] print_trailer+0xf6/0x150
[<ffffffff802a7485>] check_bytes_and_report+0x125/0x180
[<ffffffff802a75dc>] check_object+0xac/0x260
[<ffffffff802a9308>] __slab_alloc+0x368/0x6d0
[<ffffffff80544f82>] ? wireless_send_event+0x142/0x310
[<ffffffff804b1bd4>] ? __alloc_skb+0x44/0x150
[<ffffffff80544f82>] ? wireless_send_event+0x142/0x310
[<ffffffff802aa853>] __kmalloc_track_caller+0xc3/0xf0
[<ffffffff804b1bfe>] __alloc_skb+0x6e/0x150
[... stack snipped]
FIX kmalloc-4096: Restoring 0xffff810067419060-0xffff810067419667=0x6b
FIX kmalloc-4096: Marking all objects used
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Acked-by: Nick Kossifidis <mickflemm at gmail.com>
Cc: Luis R. Rodriguez <mcgrof at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 605a0bd66d9d55e9ba46da1a9e5140c68bdf6d85
Author: Johannes Berg <johannes at sipsolutions.net>
Date: Tue Jul 15 10:10:01 2008 +0200
mac80211: remove IEEE80211_HW_HOST_GEN_BEACON_TEMPLATE flag
I forgot this in the previous patch that made it unused.
Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
commit 7cb93181629c613ee2b8f4ffe3446f8003074842
Author: Adrian Bunk <bunk at kernel.org>
Date: Wed Jul 30 02:18:26 2008 +0900
mm/hugetlb.c must #include <asm/io.h>
This patch fixes the following build error on sh caused by
commit aa888a74977a8f2120ae9332376e179c39a6b07d
(hugetlb: support larger than MAX_ORDER):
<-- snip -->
...
CC mm/hugetlb.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/mm/hugetlb.c: In function 'alloc_bootmem_huge_page':
/home/bunk/linux/kernel-2.6/git/linux-2.6/mm/hugetlb.c:958: error: implicit declaration of function 'virt_to_phys'
make[2]: *** [mm/hugetlb.o] Error 1
<-- snip -->
Reported-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 193f3c2f1531ec9755a87a33038fba3ee29f6ca5
Author: Paul Mundt <lethal at linux-sh.org>
Date: Wed Jul 30 02:16:12 2008 +0900
video: Fix up hp6xx driver build regressions.
This is some more fallout from the header reorganization, fix up the
paths accordingly.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit cc8dccdc74c06ea91e6979130b742fef44e4b0c4
Author: Paul Mundt <lethal at linux-sh.org>
Date: Wed Jul 30 02:15:20 2008 +0900
sh: defconfig updates.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 9b4d10ff247a440d3d4ec130866f7f5b7d1c7c14
Author: Paul Mundt <lethal at linux-sh.org>
Date: Wed Jul 30 01:01:08 2008 +0900
sh: Kill off stray mach-rsk7203 reference.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit c2697968c012cfdba2d92fa6e27e3e34f918af2f
Author: Paul Mundt <lethal at linux-sh.org>
Date: Wed Jul 30 00:56:39 2008 +0900
serial: sh-sci: Fix up SH7760/SH7780/SH7785 early printk regression.
As noted by Manuel:
Commit c63847a3621d2bac054f5709783860ecabd0ee7e ("sh: Add
SCIF2 support for SH7763.") broke build with CONFIG_EARLY_PRINTK
enabled for me (SH7760):
CC arch/sh/kernel/early_printk.o
/mnt/work/sh7760/kernel/linux-2.6.git/arch/sh/kernel/early_printk.c: In function 'scif_sercon_putc':
/mnt/work/sh7760/kernel/linux-2.6.git/arch/sh/kernel/early_printk.c:84: error: implicit declaration of function 'sci_SCFDR_in'
Move the SH7763 definitions out on their own, so they don't create additional
confusion within the SH7760/SH7780/SH7785 block. Restore the deleted
SCFDR definition for these parts.
Reported-by: Manuel Lauss <mano at roarinelk.homelinux.net>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit c8b5d9dcbc94ae5e7d9ed647246df4454d25332e
Author: Paul Mundt <lethal at linux-sh.org>
Date: Wed Jul 30 00:13:39 2008 +0900
sh: Move out individual boards without mach groups.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit c170f86e31410cc38971c1dedd8b25885e6e43b6
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 23:12:25 2008 +0900
sh: Make sure AT_SYSINFO_EHDR is exposed to userspace in asm/auxvec.h.
Presently this is protected by a CONFIG_VSYSCALL ifdef so we don't
inadvertently trigger the creation of the gate VMA on CPUs where we don't
enable the vDSO, which is obviously not visible to userspace. Fix this up
by adding in an ifndef __KERNEL__ check at the same time.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 11589418a1c4cf68be9367f802898d35e07809c4
Author: Mark Brown <broonie at opensource.wolfsonmicro.com>
Date: Tue Jul 29 11:42:23 2008 +0100
ALSA: ASoC: Export dapm_reg_event() fully
dapm_reg_event() is used by devices using SND_SOC_DAPM_REG() so needs to
be exported to support building them as modules and prototyped to avoid
sparse warnings and potential build issues.
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit 51f3547d619956e9b428bfff17004d8f4d259a02
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 22:52:49 2008 +0900
sh: Allow SH-3 and SH-5 to use common headers.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 93dc544cf4892b9188d7d0d4946b0394020b4551
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 22:46:55 2008 +0900
sh: Provide common CPU headers, prune the SH-2 and SH-2A directories.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 1795cf48b322b4d19230a40dbe7181acedd34a94
Author: Adrian McMenamin <adrian at mcmen.demon.co.uk>
Date: Tue Jul 29 22:10:56 2008 +0900
sh/maple: clean maple bus code
This patch cleans up the handling of the maple bus queue to remove
the risk of races when adding packets. It also removes references to the
redundant connect and disconnect functions.
Signed-off-by: Adrian McMenamin <adrian at mcmen.demon.co.uk>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 0764bff445bb13cd17e41b6ab196ef83c23c6c17
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 22:10:01 2008 +0900
sh: More header path fixups for mach dir refactoring.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 939a24a6df24649cea9fd0ff54fe71ee0dc1d61e
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 21:41:37 2008 +0900
sh: Move out the solution engine headers to arch/sh/include/mach-se/
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit e565b518ec3a62aebf54da31c65bb6036bb5a276
Author: Magnus Damm <damm at igel.co.jp>
Date: Tue Jul 29 20:57:38 2008 +0900
sh: I2C fix for AP325RXA and Migo-R
Fix recently introduced I2C build breakage on AP325RXA and Migo-R.
Reported-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit da2014a2b080e7f3024a4eb6917d47069ad9620b
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 21:01:19 2008 +0900
sh: Shuffle the board directories in to mach groups.
This flattens out the board directories in to individual mach groups,
we will use this for getting rid of unneeded directories, simplifying
the build system, and becoming more coherent with the refactored
arch/sh/include topology.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 71b8064e7df5698520d73b4c1566a3dbc98eb9ef
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 20:20:36 2008 +0900
sh: dma-sh: Fix up dreamcast dma.h mach path.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit cfb81f361a3e73bb4eb7207a88f720e2f652dd63
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 20:19:43 2008 +0900
sh: Switch KBUILD_DEFCONFIG to shx3_defconfig.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit f42b7e3dbe1e2c004a47aa89f09137ee5f04499d
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 20:12:51 2008 +0900
sh: Add ARCH_DEFCONFIG entries for sh and sh64.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 877db3c1af24a65f78ae865b1fb642165e065a8b
Author: Dmitry Baryshkov <dbaryshkov at gmail.com>
Date: Tue Jul 29 11:42:22 2008 +0100
ALSA: ASoC: Update Poodle to current ASoC API
Signed-off-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
Cc: Richard Purdie <rpurdie at rpsys.net>
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit be41e941d5f1a48bde7f44d09d56e8d2605f98e1
Author: Timur Tabi <timur at freescale.com>
Date: Mon Jul 28 17:04:39 2008 -0500
ALSA: asoc: restrict sample rate and size in Freescale MPC8610 sound drivers
The Freescale MPC8610 SSI device has the option of using one clock for both
transmit and receive (synchronous mode), or independent clocks (asynchronous).
The SSI driver, however, programs the SSI into synchronous mode and then
tries to program the clock registers independently. The result is that the wrong
sample size is usually generated during recording.
This patch fixes the discrepancy by restricting the sample rate and sample size
of the playback and capture streams. The SSI driver remembers which stream
is opened first. When a second stream is opened, that stream is constrained
to the same sample rate and size as the first stream.
A future version of this driver will lift the sample size restriction.
Supporting independent sample rates is more difficult, because only certain
codecs provide dual independent clocks.
Signed-off-by: Timur Tabi <timur at freescale.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit a7b815169aae65072017efb1fba9dcecc82ba7c1
Author: Huang Weiyi <weiyi.huang at gmail.com>
Date: Sat Jul 26 20:43:01 2008 +0800
ALSA: sound/soc/pxa/tosa.c: removed duplicated include
Removed duplicated include <asm/arch/tosa.h> in
sound/soc/pxa/tosa.c.
Signed-off-by: Huang Weiyi <weiyi.huang at gmail.com>
Acked-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit 8978b74253280d59e97cf49a3ec2c0cbccd5b801
Author: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Date: Tue Jul 29 13:38:53 2008 +0900
generic, x86: fix add iommu_num_pages helper function
This IOMMU helper function doesn't work for some architectures:
http://marc.info/?l=linux-kernel&m=121699304403202&w=2
It also breaks POWER and SPARC builds:
http://marc.info/?l=linux-kernel&m=121730388001890&w=2
Currently, only x86 IOMMUs use this so let's move it to x86 for
now.
Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 35780c8ea7ad5c6d5483244d5f5bf37176fda86a
Merge: 6ce37a58e334ef773f88283939afc9f4965c7697 6e86841d05f371b5b9b86ce76c02aaee83352298
Author: Ingo Molnar <mingo at elte.hu>
Date: Tue Jul 29 12:10:50 2008 +0200
Merge commit 'v2.6.27-rc1' into x86/urgent
commit ed8486243379ef3e6c61363df915882945c0eaec
Author: Avi Kivity <avi at qumranet.com>
Date: Tue Jul 29 11:30:57 2008 +0300
KVM: Advertise synchronized mmu support to userspace
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit e930bffe95e1e886a1ede80726ea38df5838d067
Author: Andrea Arcangeli <andrea at qumranet.com>
Date: Fri Jul 25 16:24:52 2008 +0200
KVM: Synchronize guest physical memory map to host virtual memory map
Synchronize changes to host virtual addresses which are part of
a KVM memory slot to the KVM shadow mmu. This allows pte operations
like swapping, page migration, and madvise() to transparently work
with KVM.
Signed-off-by: Andrea Arcangeli <andrea at qumranet.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 604b38ac0369bd50fcbb33344aa5553c071009f7
Author: Andrea Arcangeli <andrea at qumranet.com>
Date: Fri Jul 25 16:32:03 2008 +0200
KVM: Allow browsing memslots with mmu_lock
This allows reading memslots with only the mmu_lock hold for mmu
notifiers that runs in atomic context and with mmu_lock held.
Signed-off-by: Andrea Arcangeli <andrea at qumranet.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit a1708ce8a362c4999f1201237ae7b77c4d13af82
Author: Andrea Arcangeli <andrea at qumranet.com>
Date: Fri Jul 25 16:26:39 2008 +0200
KVM: Allow reading aliases with mmu_lock
This allows the mmu notifier code to run unalias_gfn with only the
mmu_lock held. Only alias writes need the mmu_lock held. Readers will
either take the slots_lock in read mode or the mmu_lock.
Signed-off-by: Andrea Arcangeli <andrea at qumranet.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 4864841a34ad77a5054f20d18453ae38a926afd8
Author: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Date: Tue Jul 29 14:37:25 2008 +0900
sh: Fix compile error of Solution Engine
When I compiled Solution Engine, this become compile error
because plaform device of sh_eth device becomes enable.
When sh7710/sh7712 which could use sh_eth was chosen,
revised it so that platform device of sh_eth device became enable.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 6e86841d05f371b5b9b86ce76c02aaee83352298
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 19:40:31 2008 -0700
Linux 2.6.27-rc1
commit 7874d35173d549c1a2b2f77c4b1f94379fa65698
Merge: 5dfb66ba8c4a96eb732942c9f78629e4db1a51d4 8c79873da0d2bedf4ad6b868c54e426bb0a2fe38
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 18:16:26 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus
* git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
lguest: turn Waker into a thread, not a process
lguest: Enlarge virtio rings
lguest: Use GSO/IFF_VNET_HDR extensions on tun/tap
lguest: Remove 'network: no dma buffer!' warning
lguest: Adaptive timeout
lguest: Tell Guest net not to notify us on every packet xmit
lguest: net block unneeded receive queue update notifications
lguest: wrap last_avail accesses.
lguest: use cpu capability accessors
lguest: virtio-rng support
lguest: Support assigning a MAC address
lguest: Don't leak /dev/zero fd
lguest: fix verbose printing of device features.
lguest: fix switcher_page leak on unload
lguest: Guest int3 fix
lguest: set max_pfn_mapped, growl loudly at Yinghai Lu
commit 5dfb66ba8c4a96eb732942c9f78629e4db1a51d4
Merge: 1d9b9f6a53d77ed801ba875f937d6dabbfc381ce 424f525a1241351da947fb48a938128ddd774511
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 18:15:41 2008 -0700
Merge branch 'for-linus' of git://git.o-hand.com/linux-mfd
* 'for-linus' of git://git.o-hand.com/linux-mfd:
mfd: accept pure device as a parent, not only platform_device
mfd: add platform_data to mfd_cell
mfd: Coding style fixes
mfd: Use to_platform_device instead of container_of
commit 1d9b9f6a53d77ed801ba875f937d6dabbfc381ce
Merge: a3ad7f128c637b7612ebeacb1f85fec933bb1195 12c0b20fa4afb5c8a377d6987fb2dcf353e1dce1
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 18:14:24 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (21 commits)
x86/PCI: use dev_printk when possible
PCI: add D3 power state avoidance quirk
PCI: fix bogus "'device' may be used uninitialized" warning in pci_slot
PCI: add an option to allow ASPM enabled forcibly
PCI: disable ASPM on pre-1.1 PCIe devices
PCI: disable ASPM per ACPI FADT setting
PCI MSI: Don't disable MSIs if the mask bit isn't supported
PCI: handle 64-bit resources better on 32-bit machines
PCI: rewrite PCI BAR reading code
PCI: document pci_target_state
PCI hotplug: fix typo in pcie hotplug output
x86 gart: replace to_pages macro with iommu_num_pages
x86, AMD IOMMU: replace to_pages macro with iommu_num_pages
iommu: add iommu_num_pages helper function
dma-coherent: add documentation to new interfaces
Cris: convert to using generic dma-coherent mem allocator
Sh: use generic per-device coherent dma allocator
ARM: support generic per-device coherent dma mem
Generic dma-coherent: fix DMA_MEMORY_EXCLUSIVE
x86: use generic per-device dma coherent allocator
...
commit a3ad7f128c637b7612ebeacb1f85fec933bb1195
Merge: 9b79022ca909b66e2cd0cfd9248f832fc165f77f 00eabe7c4478f38b42d632763c4878ced5a1f25c
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 18:13:48 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
[SCSI] qla2xxx: fix msleep compile error
commit 9b79022ca909b66e2cd0cfd9248f832fc165f77f
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 17:54:21 2008 -0700
Fix 'get_user_pages_fast()' with non-page-aligned start address
Alexey Dobriyan reported trouble with LTP with the new fast-gup code,
and Johannes Weiner debugged it to non-page-aligned addresses, where the
new get_user_pages_fast() code would do all the wrong things, including
just traversing past the end of the requested area due to 'addr' never
matching 'end' exactly.
This is not a pretty fix, and we may actually want to move the alignment
into generic code, leaving just the core code per-arch, but Alexey
verified that the vmsplice01 LTP test doesn't crash with this.
Reported-and-tested-by: Alexey Dobriyan <adobriyan at gmail.com>
Debugged-by: Johannes Weiner <hannes at saeurebad.de>
Cc: Nick Piggin <npiggin at suse.de>
Cc: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e542713529e323ff09d7aeb5806cf29f6f160f53
Author: Dan Williams <dan.j.williams at intel.com>
Date: Mon Jul 28 23:28:06 2008 -0700
md: do not count blocked devices as spares
remove_and_add_spares() assumes that failed devices have been hot-removed
from the array. Removal is skipped in the 'blocked' case so do not count a
device in this state as 'spare'.
Signed-off-by: Dan Williams <dan.j.williams at intel.com>
commit df10cfbc4d7ab93260d997df754219d390d62a9d
Author: Dan Williams <dan.j.williams at intel.com>
Date: Mon Jul 28 23:10:39 2008 -0700
md: do not progress the resync process if the stripe was blocked
handle_stripe will take no action on a stripe when waiting for userspace
to unblock the array, so do not report completed sectors.
Signed-off-by: Dan Williams <dan.j.williams at intel.com>
commit 6de9c6481d47c6da5f8b81f75a5c24c69c366f37
Author: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Date: Tue Jul 29 09:16:33 2008 +0900
sh: Proper __put_user_asm() size mismatch fix.
This fixes up the workaround in 2b4b2bb42137c779ef0084de5df66ff21b4cd86e
and cleans up __put_user_asm() to get the sizing right from the onset.
Signed-off-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit d27e0854d5773fffe1a1d475032b715d124325ae
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 09:15:01 2008 +0900
sh: Stub in a dummy ENTRY_OFFSET for uImage offset calculation.
If none is defined, provide a sane default, as we do for the other
options.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 8c79873da0d2bedf4ad6b868c54e426bb0a2fe38
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Jul 29 09:58:38 2008 -0500
lguest: turn Waker into a thread, not a process
lguest uses a Waker process to break it out of the kernel (ie.
actually running the guest) when file descriptor needs attention.
Changing this from a process to a thread somewhat simplifies things:
it can directly access the fd_set of things to watch. More
importantly, it means that the Waker can see Guest memory correctly,
so /dev/vring file descriptors will work as anticipated (the
alternative is to actually mmap MAP_SHARED, but you can't do that with
/dev/zero).
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 0f0c4fab8284f3b886b2e1e0e317e3bb8de176b3
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Jul 29 09:58:37 2008 -0500
lguest: Enlarge virtio rings
With big packets, 128 entries is a little small.
Guest -> Host 1GB TCP:
Before: 8.43625 seconds xmit 95640 recv 198266 timeout 49771 usec 1252
After: 8.01099 seconds xmit 49200 recv 102263 timeout 26014 usec 2118
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 398f187d74b89d5ab198fcf9b8d86edbefecec4d
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Jul 29 09:58:37 2008 -0500
lguest: Use GSO/IFF_VNET_HDR extensions on tun/tap
Guest -> Host 1GB TCP:
Before 20.1974 seconds xmit 214510 recv 5 timeout 214491 usec 278
After 8.43625 seconds xmit 95640 recv 198266 timeout 49771 usec 1252
Host -> Guest 1GB TCP:
Before: Seconds 9.98854 xmit 172166 recv 5344 timeout 172157 usec 251
After: Seconds 5.72803 xmit 244322 recv 9919 timeout 244302 usec 156
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 9254926f85466979ef5f0e16386c294bf0973a90
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Jul 29 09:58:36 2008 -0500
lguest: Remove 'network: no dma buffer!' warning
This warning can happen a lot under load, and it should be warnx not
warn anwyay.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit aa1249840bfc8d62431eed5796bf99887b963ab6
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Jul 29 09:58:36 2008 -0500
lguest: Adaptive timeout
Since the correct timeout value varies, use a heuristic which adjusts
the timeout depending on how many packets we've seen. This gives
slightly worse results, but doesn't need tweaking when GSO is
introduced.
500 usec 19.1887 xmit 561141 recv 1 timeout 559657
Dynamic (278) 20.1974 xmit 214510 recv 5 timeout 214491 usec 278
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit a161883a29bf6100efe7b5346bec274e5023c29c
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Jul 29 09:58:35 2008 -0500
lguest: Tell Guest net not to notify us on every packet xmit
virtio_ring has the ability to suppress notifications. This prevents
a guest exit for every packet, but we need to set a timer on packet
receipt to re-check if there were any remaining packets.
Here are the times for 1G TCP Guest->Host with different timeout
settings (it matters because the TCP window doesn't grow big enough to
fill the entire buffer):
Timeout value Seconds Xmit/Recv/Timeout
None (before) 25.3784 xmit 7750233 recv 1
2500 usec 62.5119 xmit 207020 recv 2 timeout 207020
1000 usec 34.5379 xmit 207003 recv 2 timeout 207003
750 usec 29.2305 xmit 207002 recv 1 timeout 207002
500 usec 19.1887 xmit 561141 recv 1 timeout 559657
250 usec 20.0465 xmit 214128 recv 2 timeout 214110
100 usec 19.2583 xmit 561621 recv 1 timeout 560153
(Note that these values are sensitive to the GSO patches which come
later, and probably other traffic-related variables, so take with a
large grain of salt).
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 5dae785a82c1a8c05b5b4f9709bd9ce658dcf1b6
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Jul 29 09:58:35 2008 -0500
lguest: net block unneeded receive queue update notifications
Number of exits transmitting 10GB Guest->Host before:
network xmit 7858610 recv 118136
After:
network xmit 7750233 recv 1
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit b5111790fa6695b1502d4f5d389f6b22b9de10c3
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Jul 29 09:58:34 2008 -0500
lguest: wrap last_avail accesses.
To simplify the transition to when we publish indices in the ring
(and make shuffling my patch queue easier), wrap them in a lg_last_avail()
macro.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit cf485e566bc4a8098680162e1cc2ac1dfbef8a3c
Author: Andrew Morton <akpm at linux-foundation.org>
Date: Mon Jun 9 16:22:48 2008 -0700
lguest: use cpu capability accessors
To support my little make-x86-bitops-use-proper-typechecking projectlet.
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Andrea Arcangeli <andrea at qumranet.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Acked-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 28fd6d7f953711fbf67496701be05513052d967d
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Jul 29 09:58:33 2008 -0500
lguest: virtio-rng support
This is a simple patch to add support for the virtio "hardware random
generator" to lguest. It gets about 1.2 MB/sec reading from /dev/hwrng
in the guest.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit dec6a2be085f046d42eb0bdce95ecb73de526429
Author: Mark McLoughlin <markmc at redhat.com>
Date: Tue Jul 29 09:58:33 2008 -0500
lguest: Support assigning a MAC address
If you've got a nice DHCP configuration which maps MAC
addresses to specific IP addresses, then you're going to
want to start your guest with one of those MAC addresses.
Also, in Fedora, we have persistent network interface naming
based on the MAC address, so with randomly assigned
addresses you're soon going to hit eth13. Who knows what
will happen then!
Allow assigning a MAC address to the network interface with
e.g.
--tunnet=bridge:eth0:00:FF:95:6B:DA:3D
or:
--tunnet=192.168.121.1:00:FF:95:6B:DA:3D
which is pretty unintelligable, but ...
(includes Rusty's minor rework)
Signed-off-by: Mark McLoughlin <markmc at redhat.com>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 34bdaab44dd5dac861b0d23bc29b147b569e5783
Author: Mark McLoughlin <markmc at redhat.com>
Date: Fri Jun 13 14:04:58 2008 +0100
lguest: Don't leak /dev/zero fd
Signed-off-by: Mark McLoughlin <markmc at redhat.com>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 32c68e5c569fdf016b494ce2fc8eecf59b6881bd
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Jul 29 09:58:32 2008 -0500
lguest: fix verbose printing of device features.
%02x is more appropriate for bytes than %08x.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 0a707210aa1b8ac40fe781b2a9d0b203b6ebb921
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Tue Jul 8 10:29:42 2008 +0200
lguest: fix switcher_page leak on unload
map_switcher allocates the array, unmap_switcher has to free it
accordingly.
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 0c12091d82e48dc423fb1f51eb0062c557a084af
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Jul 29 09:58:31 2008 -0500
lguest: Guest int3 fix
Ron Minnich noticed that guest userspace gets a GPF when it tries to int3:
we need to copy the privilege level from the guest-supplied IDT to the real
IDT. int3 is the only common case where guest userspace expects to invoke
an interrupt, so that's the symptom of failing to do this.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 5d006d8d09e82f086ca0baf79a2907f2c1e25af7
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Jul 29 09:58:29 2008 -0500
lguest: set max_pfn_mapped, growl loudly at Yinghai Lu
6af61a7614a306fe882a0c2b4ddc63b65aa66efc 'x86: clean up max_pfn_mapped
usage - 32-bit' makes the following comment:
XEN PV and lguest may need to assign max_pfn_mapped too.
But no CC. Yinghai, wasting fellow developers' time is a VERY bad
habit. If you do it again, I will hunt you down and try to extract
the three hours of my life I just lost :)
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Cc: Yinghai Lu <yhlu.kernel at gmail.com>
commit 424f525a1241351da947fb48a938128ddd774511
Author: Dmitry Baryshkov <dbaryshkov at gmail.com>
Date: Tue Jul 29 01:30:26 2008 +0200
mfd: accept pure device as a parent, not only platform_device
Signed-off-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
Signed-off-by: Samuel Ortiz <sameo at openedhand.com>
commit 34ee55014283a60efa3534c06e010579ffdd3756
Author: Andrew Morton <akpm at linux-foundation.org>
Date: Mon Jul 28 15:46:40 2008 -0700
include/asm-generic/pgtable-nopmd.h: macros are noxious, reason #435
arch/x86/mm/pgtable.c: In function 'pgd_mop_up_pmds':
arch/x86/mm/pgtable.c:194: warning: unused variable 'pmd'
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Thomas Gleixner <tglx at linutronix.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c27ef92d8e0c29a9e8b8ee1b04f3d2cace482d92
Author: Manuel Lauss <mano at roarinelk.homelinux.net>
Date: Mon Jul 28 15:46:39 2008 -0700
sh7760fb: write colormap value to hardware
The computed color value is never actually written to hardware
colormap register.
Signed-off-by: Manuel Lauss <mano at roarinelk.homelinux.net>
Cc: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Cc: Munakata Hisao <munakata.hisao at renesas.com>
Cc: Paul Mundt <lethal at linux-sh.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7fcba054373d5dfc43d26e243a5c9b92069972ee
Author: Eric Sandeen <sandeen at redhat.com>
Date: Mon Jul 28 15:46:39 2008 -0700
eCryptfs: use page_alloc not kmalloc to get a page of memory
With SLUB debugging turned on in 2.6.26, I was getting memory corruption
when testing eCryptfs. The root cause turned out to be that eCryptfs was
doing kmalloc(PAGE_CACHE_SIZE); virt_to_page() and treating that as a nice
page-aligned chunk of memory. But at least with SLUB debugging on, this
is not always true, and the page we get from virt_to_page does not
necessarily match the PAGE_CACHE_SIZE worth of memory we got from kmalloc.
My simple testcase was 2 loops doing "rm -f fileX; cp /tmp/fileX ." for 2
different multi-megabyte files. With this change I no longer see the
corruption.
Signed-off-by: Eric Sandeen <sandeen at redhat.com>
Acked-by: Michael Halcrow <mhalcrow at us.ibm.com>
Acked-by: Rik van Riel <riel at redhat.com>
Cc: <stable at kernel.org> [2.6.25.x, 2.6.26.x]
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 25947d5ac56004378d8c2d31ebf22600d5bc0c02
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Mon Jul 28 15:46:38 2008 -0700
gpio: fix build on CONFIG_GPIO_SYSFS=n
If CONFIG_GENERIC_GPIO=y && CONFIG_GPIO_SYSFS=n, gpio_export() in
asm-generic/gpio.h refers -ENOSYS and causes build error.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Acked-by: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e3b6e806cf7e45ac5e6ac0625cebafa4de3394aa
Author: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>
Date: Mon Jul 28 15:46:37 2008 -0700
bio-integrity: remove EXPORT_SYMBOL for bio_integrity_init_slab()
I got section mismatch message about bio_integrity_init_slab().
WARNING: fs/built-in.o(__ksymtab+0xb60): Section mismatch in reference from the variable __ksymtab_bio_integrity_init_slab to the function .init.text:bio_integrity_init_slab()
The symbol bio_integrity_init_slab is exported and annotated __init Fix
this by removing the __init annotation of bio_integrity_init_slab or drop
the export.
It only call from init_bio(). The EXPORT_SYMBOL() can be removed.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>
Cc: "Martin K. Petersen" <martin.petersen at oracle.com>
Cc: Jens Axboe <jens.axboe at oracle.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8ab22b9abb5c55413802e4adc9aa6223324547c3
Author: Hisashi Hifumi <hifumi.hisashi at oss.ntt.co.jp>
Date: Mon Jul 28 15:46:36 2008 -0700
vfs: pagecache usage optimization for pagesize!=blocksize
When we read some part of a file through pagecache, if there is a
pagecache of corresponding index but this page is not uptodate, read IO
is issued and this page will be uptodate.
I think this is good for pagesize == blocksize environment but there is
room for improvement on pagesize != blocksize environment. Because in
this case a page can have multiple buffers and even if a page is not
uptodate, some buffers can be uptodate.
So I suggest that when all buffers which correspond to a part of a file
that we want to read are uptodate, use this pagecache and copy data from
this pagecache to user buffer even if a page is not uptodate. This can
reduce read IO and improve system throughput.
I wrote a benchmark program and got result number with this program.
This benchmark do:
1: mount and open a test file.
2: create a 512MB file.
3: close a file and umount.
4: mount and again open a test file.
5: pwrite randomly 300000 times on a test file. offset is aligned
by IO size(1024bytes).
6: measure time of preading randomly 100000 times on a test file.
The result was:
2.6.26
330 sec
2.6.26-patched
226 sec
Arch:i386
Filesystem:ext3
Blocksize:1024 bytes
Memory: 1GB
On ext3/4, a file is written through buffer/block. So random read/write
mixed workloads or random read after random write workloads are optimized
with this patch under pagesize != blocksize environment. This test result
showed this.
The benchmark program is as follows:
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mount.h>
#define LEN 1024
#define LOOP 1024*512 /* 512MB */
main(void)
{
unsigned long i, offset, filesize;
int fd;
char buf[LEN];
time_t t1, t2;
if (mount("/dev/sda1", "/root/test1/", "ext3", 0, 0) < 0) {
perror("cannot mount\n");
exit(1);
}
memset(buf, 0, LEN);
fd = open("/root/test1/testfile", O_CREAT|O_RDWR|O_TRUNC);
if (fd < 0) {
perror("cannot open file\n");
exit(1);
}
for (i = 0; i < LOOP; i++)
write(fd, buf, LEN);
close(fd);
if (umount("/root/test1/") < 0) {
perror("cannot umount\n");
exit(1);
}
if (mount("/dev/sda1", "/root/test1/", "ext3", 0, 0) < 0) {
perror("cannot mount\n");
exit(1);
}
fd = open("/root/test1/testfile", O_RDWR);
if (fd < 0) {
perror("cannot open file\n");
exit(1);
}
filesize = LEN * LOOP;
for (i = 0; i < 300000; i++){
offset = (random() % filesize) & (~(LEN - 1));
pwrite(fd, buf, LEN, offset);
}
printf("start test\n");
time(&t1);
for (i = 0; i < 100000; i++){
offset = (random() % filesize) & (~(LEN - 1));
pread(fd, buf, LEN, offset);
}
time(&t2);
printf("%ld sec\n", t2-t1);
close(fd);
if (umount("/root/test1/") < 0) {
perror("cannot umount\n");
exit(1);
}
}
Signed-off-by: Hisashi Hifumi <hifumi.hisashi at oss.ntt.co.jp>
Cc: Nick Piggin <nickpiggin at yahoo.com.au>
Cc: Christoph Hellwig <hch at infradead.org>
Cc: Jan Kara <jack at ucw.cz>
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d84a52f62f6a396ed77aa0052da74ca9e760b28a
Author: Simon Horman <horms at verge.net.au>
Date: Mon Jul 28 15:46:34 2008 -0700
kdump: update kdump documentation as kexec-tools-resting has been renamed kexec-tools
Signed-off-by: Simon Horman <horms at verge.net.au>
Acked-by: Vivek Goyal <vgoyal at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit cb1d0a7a5d2e537f2f6ada22883abee1762e94b2
Author: Ben Dooks <ben-linux at fluff.org>
Date: Mon Jul 28 15:46:33 2008 -0700
spi_s3c24xx: really assign busnum
The original "Pass the bus number we expect the S3C24XX SPI driver to
attach to via the platform data." [1] patch was mis-sent, and missed two
important parts of the diff, which was to actually set the bus_num field
and add the relevant field to the platform data.
The previous commit 50f426b55d919dd017af35bb6a08753d1f262920 promised to
add a bus_num field, but failed to include the two hunks that added this
field to include/asm-arm/arch-s3c2410/spi.h and then pass it to the spi
core when creating the new master field in drivers/spi/spi_s3c24xx.c.
[1] git commit 50f426b55d919dd017af35bb6a08753d1f262920
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9a7867e1b34c3575e7e76a05c0c54c6edbdae2a4
Author: Luotao Fu <l.fu at pengutronix.de>
Date: Mon Jul 28 15:46:32 2008 -0700
mpc52xx_psc_spi: fix block transfer
The block transfer routine in the mpc52xx psc spi driver misinterpret
the datasheet. According to the processor datasheet the chipselect is
held as long as the EOF is not written.
Theoretically blocks of any sizes can be transferred in this way. The
old routine however writes an EOF after every word, which has the size
of size_of_word. This makes the transfer slow.
Also fixed some duplicate code.
Signed-off-by: Luotao Fu <l.fu at pengutronix.de>
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Cc: <stable at kernel.org> [2.6.25.x, 2.6.26.x]
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 78a34ae29bf1c9df62a5bd0f0798b6c62a54d520
Author: Adrian Bunk <bunk at kernel.org>
Date: Mon Jul 28 15:46:30 2008 -0700
mm/hugetlb.c must #include <asm/io.h>
This patch fixes the following build error on sh caused by commit
aa888a74977a8f2120ae9332376e179c39a6b07d ("hugetlb: support larger than
MAX_ORDER"):
mm/hugetlb.c: In function 'alloc_bootmem_huge_page':
mm/hugetlb.c:958: error: implicit declaration of function 'virt_to_phys'
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Cc: Hirokazu Takata <takata at linux-m32r.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit cddb8a5c14aa89810b40495d94d3d2a0faee6619
Author: Andrea Arcangeli <andrea at qumranet.com>
Date: Mon Jul 28 15:46:29 2008 -0700
mmu-notifiers: core
With KVM/GFP/XPMEM there isn't just the primary CPU MMU pointing to pages.
There are secondary MMUs (with secondary sptes and secondary tlbs) too.
sptes in the kvm case are shadow pagetables, but when I say spte in
mmu-notifier context, I mean "secondary pte". In GRU case there's no
actual secondary pte and there's only a secondary tlb because the GRU
secondary MMU has no knowledge about sptes and every secondary tlb miss
event in the MMU always generates a page fault that has to be resolved by
the CPU (this is not the case of KVM where the a secondary tlb miss will
walk sptes in hardware and it will refill the secondary tlb transparently
to software if the corresponding spte is present). The same way
zap_page_range has to invalidate the pte before freeing the page, the spte
(and secondary tlb) must also be invalidated before any page is freed and
reused.
Currently we take a page_count pin on every page mapped by sptes, but that
means the pages can't be swapped whenever they're mapped by any spte
because they're part of the guest working set. Furthermore a spte unmap
event can immediately lead to a page to be freed when the pin is released
(so requiring the same complex and relatively slow tlb_gather smp safe
logic we have in zap_page_range and that can be avoided completely if the
spte unmap event doesn't require an unpin of the page previously mapped in
the secondary MMU).
The mmu notifiers allow kvm/GRU/XPMEM to attach to the tsk->mm and know
when the VM is swapping or freeing or doing anything on the primary MMU so
that the secondary MMU code can drop sptes before the pages are freed,
avoiding all page pinning and allowing 100% reliable swapping of guest
physical address space. Furthermore it avoids the code that teardown the
mappings of the secondary MMU, to implement a logic like tlb_gather in
zap_page_range that would require many IPI to flush other cpu tlbs, for
each fixed number of spte unmapped.
To make an example: if what happens on the primary MMU is a protection
downgrade (from writeable to wrprotect) the secondary MMU mappings will be
invalidated, and the next secondary-mmu-page-fault will call
get_user_pages and trigger a do_wp_page through get_user_pages if it
called get_user_pages with write=1, and it'll re-establishing an updated
spte or secondary-tlb-mapping on the copied page. Or it will setup a
readonly spte or readonly tlb mapping if it's a guest-read, if it calls
get_user_pages with write=0. This is just an example.
This allows to map any page pointed by any pte (and in turn visible in the
primary CPU MMU), into a secondary MMU (be it a pure tlb like GRU, or an
full MMU with both sptes and secondary-tlb like the shadow-pagetable layer
with kvm), or a remote DMA in software like XPMEM (hence needing of
schedule in XPMEM code to send the invalidate to the remote node, while no
need to schedule in kvm/gru as it's an immediate event like invalidating
primary-mmu pte).
At least for KVM without this patch it's impossible to swap guests
reliably. And having this feature and removing the page pin allows
several other optimizations that simplify life considerably.
Dependencies:
1) mm_take_all_locks() to register the mmu notifier when the whole VM
isn't doing anything with "mm". This allows mmu notifier users to keep
track if the VM is in the middle of the invalidate_range_begin/end
critical section with an atomic counter incraese in range_begin and
decreased in range_end. No secondary MMU page fault is allowed to map
any spte or secondary tlb reference, while the VM is in the middle of
range_begin/end as any page returned by get_user_pages in that critical
section could later immediately be freed without any further
->invalidate_page notification (invalidate_range_begin/end works on
ranges and ->invalidate_page isn't called immediately before freeing
the page). To stop all page freeing and pagetable overwrites the
mmap_sem must be taken in write mode and all other anon_vma/i_mmap
locks must be taken too.
2) It'd be a waste to add branches in the VM if nobody could possibly
run KVM/GRU/XPMEM on the kernel, so mmu notifiers will only enabled if
CONFIG_KVM=m/y. In the current kernel kvm won't yet take advantage of
mmu notifiers, but this already allows to compile a KVM external module
against a kernel with mmu notifiers enabled and from the next pull from
kvm.git we'll start using them. And GRU/XPMEM will also be able to
continue the development by enabling KVM=m in their config, until they
submit all GRU/XPMEM GPLv2 code to the mainline kernel. Then they can
also enable MMU_NOTIFIERS in the same way KVM does it (even if KVM=n).
This guarantees nobody selects MMU_NOTIFIER=y if KVM and GRU and XPMEM
are all =n.
The mmu_notifier_register call can fail because mm_take_all_locks may be
interrupted by a signal and return -EINTR. Because mmu_notifier_reigster
is used when a driver startup, a failure can be gracefully handled. Here
an example of the change applied to kvm to register the mmu notifiers.
Usually when a driver startups other allocations are required anyway and
-ENOMEM failure paths exists already.
struct kvm *kvm_arch_create_vm(void)
{
struct kvm *kvm = kzalloc(sizeof(struct kvm), GFP_KERNEL);
+ int err;
if (!kvm)
return ERR_PTR(-ENOMEM);
INIT_LIST_HEAD(&kvm->arch.active_mmu_pages);
+ kvm->arch.mmu_notifier.ops = &kvm_mmu_notifier_ops;
+ err = mmu_notifier_register(&kvm->arch.mmu_notifier, current->mm);
+ if (err) {
+ kfree(kvm);
+ return ERR_PTR(err);
+ }
+
return kvm;
}
mmu_notifier_unregister returns void and it's reliable.
The patch also adds a few needed but missing includes that would prevent
kernel to compile after these changes on non-x86 archs (x86 didn't need
them by luck).
[akpm at linux-foundation.org: coding-style fixes]
[akpm at linux-foundation.org: fix mm/filemap_xip.c build]
[akpm at linux-foundation.org: fix mm/mmu_notifier.c build]
Signed-off-by: Andrea Arcangeli <andrea at qumranet.com>
Signed-off-by: Nick Piggin <npiggin at suse.de>
Signed-off-by: Christoph Lameter <cl at linux-foundation.org>
Cc: Jack Steiner <steiner at sgi.com>
Cc: Robin Holt <holt at sgi.com>
Cc: Nick Piggin <npiggin at suse.de>
Cc: Peter Zijlstra <a.p.zijlstra at chello.nl>
Cc: Kanoj Sarcar <kanojsarcar at yahoo.com>
Cc: Roland Dreier <rdreier at cisco.com>
Cc: Steve Wise <swise at opengridcomputing.com>
Cc: Avi Kivity <avi at qumranet.com>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: Rusty Russell <rusty at rustcorp.com.au>
Cc: Anthony Liguori <aliguori at us.ibm.com>
Cc: Chris Wright <chrisw at redhat.com>
Cc: Marcelo Tosatti <marcelo at kvack.org>
Cc: Eric Dumazet <dada1 at cosmosbay.com>
Cc: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Izik Eidus <izike at qumranet.com>
Cc: Anthony Liguori <aliguori at us.ibm.com>
Cc: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7906d00cd1f687268f0a3599442d113767795ae6
Author: Andrea Arcangeli <andrea at qumranet.com>
Date: Mon Jul 28 15:46:26 2008 -0700
mmu-notifiers: add mm_take_all_locks() operation
mm_take_all_locks holds off reclaim from an entire mm_struct. This allows
mmu notifiers to register into the mm at any time with the guarantee that
no mmu operation is in progress on the mm.
This operation locks against the VM for all pte/vma/mm related operations
that could ever happen on a certain mm. This includes vmtruncate,
try_to_unmap, and all page faults.
The caller must take the mmap_sem in write mode before calling
mm_take_all_locks(). The caller isn't allowed to release the mmap_sem
until mm_drop_all_locks() returns.
mmap_sem in write mode is required in order to block all operations that
could modify pagetables and free pages without need of altering the vma
layout (for example populate_range() with nonlinear vmas). It's also
needed in write mode to avoid new anon_vmas to be associated with existing
vmas.
A single task can't take more than one mm_take_all_locks() in a row or it
would deadlock.
mm_take_all_locks() and mm_drop_all_locks are expensive operations that
may have to take thousand of locks.
mm_take_all_locks() can fail if it's interrupted by signals.
When mmu_notifier_register returns, we must be sure that the driver is
notified if some task is in the middle of a vmtruncate for the 'mm' where
the mmu notifier was registered (mmu_notifier_invalidate_range_start/end
is run around the vmtruncation but mmu_notifier_register can run after
mmu_notifier_invalidate_range_start and before
mmu_notifier_invalidate_range_end). Same problem for rmap paths. And
we've to remove page pinning to avoid replicating the tlb_gather logic
inside KVM (and GRU doesn't work well with page pinning regardless of
needing tlb_gather), so without mm_take_all_locks when vmtruncate frees
the page, kvm would have no way to notice that it mapped into sptes a page
that is going into the freelist without a chance of any further
mmu_notifier notification.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Andrea Arcangeli <andrea at qumranet.com>
Acked-by: Linus Torvalds <torvalds at linux-foundation.org>
Cc: Christoph Lameter <cl at linux-foundation.org>
Cc: Jack Steiner <steiner at sgi.com>
Cc: Robin Holt <holt at sgi.com>
Cc: Nick Piggin <npiggin at suse.de>
Cc: Peter Zijlstra <a.p.zijlstra at chello.nl>
Cc: Kanoj Sarcar <kanojsarcar at yahoo.com>
Cc: Roland Dreier <rdreier at cisco.com>
Cc: Steve Wise <swise at opengridcomputing.com>
Cc: Avi Kivity <avi at qumranet.com>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: Rusty Russell <rusty at rustcorp.com.au>
Cc: Anthony Liguori <aliguori at us.ibm.com>
Cc: Chris Wright <chrisw at redhat.com>
Cc: Marcelo Tosatti <marcelo at kvack.org>
Cc: Eric Dumazet <dada1 at cosmosbay.com>
Cc: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Izik Eidus <izike at qumranet.com>
Cc: Anthony Liguori <aliguori at us.ibm.com>
Cc: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6beeac76f5f96590fb751af5e138fbc3f62e8460
Author: Andrea Arcangeli <andrea at qumranet.com>
Date: Mon Jul 28 15:46:22 2008 -0700
mmu-notifiers: add list_del_init_rcu()
Introduce list_del_init_rcu() and document it.
Signed-off-by: Andrea Arcangeli <andrea at qumranet.com>
Acked-by: Linus Torvalds <torvalds at linux-foundation.org>
Cc: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Christoph Lameter <cl at linux-foundation.org>
Cc: Jack Steiner <steiner at sgi.com>
Cc: Robin Holt <holt at sgi.com>
Cc: Nick Piggin <npiggin at suse.de>
Cc: Peter Zijlstra <a.p.zijlstra at chello.nl>
Cc: Kanoj Sarcar <kanojsarcar at yahoo.com>
Cc: Roland Dreier <rdreier at cisco.com>
Cc: Steve Wise <swise at opengridcomputing.com>
Cc: Avi Kivity <avi at qumranet.com>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: Rusty Russell <rusty at rustcorp.com.au>
Cc: Anthony Liguori <aliguori at us.ibm.com>
Cc: Chris Wright <chrisw at redhat.com>
Cc: Marcelo Tosatti <marcelo at kvack.org>
Cc: Eric Dumazet <dada1 at cosmosbay.com>
Cc: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Izik Eidus <izike at qumranet.com>
Cc: Anthony Liguori <aliguori at us.ibm.com>
Cc: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 93686ae8357c1b1e37e8dfc96547f807e7a93b4b
Author: David Brownell <dbrownell at users.sourceforge.net>
Date: Mon Jul 28 15:46:22 2008 -0700
arm: fix HAVE_CLK merge goof
This fixes a merge goof whereby ARCH_EP93XX got the "select HAVE_CLK" line
which belongs instead with ARCH_AT91.
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4d9c377c81d37740b25cacf025f95c084eafabbb
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Mon Jul 28 15:46:21 2008 -0700
__ratelimit() cpu flags can't be static
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Cc: Dave Young <hidave.darkstar at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 14fcc23fdc78e9d32372553ccf21758a9bd56fa1
Author: Hugh Dickins <hugh at veritas.com>
Date: Mon Jul 28 15:46:19 2008 -0700
tmpfs: fix kernel BUG in shmem_delete_inode
SuSE's insserve initscript ordering program hits kernel BUG at mm/shmem.c:814
on 2.6.26. It's using posix_fadvise on directories, and the shmem_readpage
method added in 2.6.23 is letting POSIX_FADV_WILLNEED allocate useless pages
to a tmpfs directory, incrementing i_blocks count but never decrementing it.
Fix this by assigning shmem_aops (pointing to readpage and writepage and
set_page_dirty) only when it's needed, on a regular file or a long symlink.
Many thanks to Kel for outstanding bugreport and steps to reproduce it.
Reported-by: Kel Modderman <kel at otaku42.de>
Tested-by: Kel Modderman <kel at otaku42.de>
Signed-off-by: Hugh Dickins <hugh at veritas.com>
Cc: <stable at kernel.org> [2.6.25.x, 2.6.26.x]
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ca5b172bd2b2fe489e7ba11cedd46ddf772d132f
Author: Hugh Dickins <hugh at veritas.com>
Date: Mon Jul 28 15:46:18 2008 -0700
exec: include pagemap.h again to fix build
Fix compilation errors on avr32 and without CONFIG_SWAP, introduced by
ba92a43dbaee339cf5915ef766d3d3ffbaaf103c ("exec: remove some includes")
In file included from include/asm/tlb.h:24,
from fs/exec.c:55:
include/asm-generic/tlb.h: In function 'tlb_flush_mmu':
include/asm-generic/tlb.h:76: error: implicit declaration of function 'release_pages'
include/asm-generic/tlb.h: In function 'tlb_remove_page':
include/asm-generic/tlb.h:105: error: implicit declaration of function 'page_cache_release'
make[1]: *** [fs/exec.o] Error 1
This straightforward part-revert is nobody's favourite patch to address
the underlying tlb.h needs swap.h needs pagemap.h (but sparc won't like
that) mess; but appropriate to fix the build now before any overhaul.
Reported-by: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>
Reported-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
Signed-off-by: Hugh Dickins <hugh at veritas.com>
Tested-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b9edb17cc268bc4c6f344264fb9af73f646a02c1
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 08:29:32 2008 +0900
sh: Add an arch/sh/kernel/.gitignore
Ignore vmlinux.lds.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit cc64f7f70033d6cf18f716c885a7df858ad51766
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 08:24:50 2008 +0900
sh: dreamcast: fix build failure from header reorg.
Oops, machvec.h is in asm/, it was previously removed due to overzealous
trimming. Fix up the path again.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 56edb58be157a06dc147a988af3588059556d392
Author: Mike Rapoport <mike at compulab.co.il>
Date: Tue Jul 29 01:23:32 2008 +0200
mfd: add platform_data to mfd_cell
Adding platform_data to mfd_cell allows passing of platform data directly
to the platform_device created for each cell and thus reuse of existing
drivers.
On the other side it can be used as a hook to mfd_cell itself
removing the need in mfd_get_cell method.
Signed-off-by: Mike Rapoport <mike at compulab.co.il>
Acked-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
Signed-off-by: Samuel Ortiz <sameo at openedhand.com>
commit f15cbe6f1a4b4d9df59142fc8e4abb973302cf44
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 08:09:44 2008 +0900
sh: migrate to arch/sh/include/
This follows the sparc changes a439fe51a1f8eb087c22dd24d69cebae4a3addac.
Most of the moving about was done with Sam's directions at:
http://marc.info/?l=linux-sh&m=121724823706062&w=2
with subsequent hacking and fixups entirely my fault.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 12c0b20fa4afb5c8a377d6987fb2dcf353e1dce1
Author: Bjorn Helgaas <bjorn.helgaas at hp.com>
Date: Wed Jul 23 17:00:13 2008 -0600
x86/PCI: use dev_printk when possible
Convert printks to use dev_printk().
I converted DBG() to dev_dbg(). This DBG() is from arch/x86/pci/pci.h and
requires source-code modification to enable, so dev_dbg() seems roughly
equivalent.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas at hp.com>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
commit 756f7bc6683916177e8176f8d3fa5f4c11c88afc
Merge: 979b1791e5b8f8b556faeec4c48339e7ed63af9f cb28a1bbdb4790378e7366d6c9ee1d2340b84f92
Author: Jesse Barnes <jbarnes at hobbes.lan>
Date: Mon Jul 28 15:15:46 2008 -0700
Merge branch 'core/generic-dma-coherent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip into for-linus
commit 63add2f2072e69c1eb7a5f6ca8f415122da889b9
Merge: 3684a601e4273692b6c80b86e55c728aef675660 9e3ee1c39c0cc71222f9980ccbf87fe072897eef
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 15:13:42 2008 -0700
Merge branch 'cpus4096-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'cpus4096-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
cpu masks: optimize and clean up cpumask_of_cpu()
cpumask: export cpumask_of_cpu_map
cpumask: change cpumask_of_cpu_ptr to use new cpumask_of_cpu
cpumask: put cpumask_of_cpu_map in the initdata section
cpumask: make cpumask_of_cpu_map generic
commit 3684a601e4273692b6c80b86e55c728aef675660
Author: James Bottomley <James.Bottomley at HansenPartnership.com>
Date: Mon Jul 28 17:11:44 2008 -0500
ipwireless: fix compile failure
There's a brown paper bag compile failure introduced by this patch
commit a01386924874c4d6d67f8a34e66f04452c2abb69
Author: David Sterba <dsterba at suse.cz>
Date: Mon Jul 28 16:53:32 2008 +0200
ipwireless: Preallocate received packet buffers with MRU size
Really, it can't ever have been even compile tested. It looks like the
closing bracket is in the wrong place, so this is the fix.
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 979b1791e5b8f8b556faeec4c48339e7ed63af9f
Author: Alan Cox <alan at lxorguk.ukuu.org.uk>
Date: Thu Jul 24 17:18:38 2008 +0100
PCI: add D3 power state avoidance quirk
Libata has some hacks to deal with certain controllers going silly in D3
state. The right way to handle this is to keep a PCI device flag for
such devices. That can then be generalised for no ATA devices with power
problems.
Signed-off-by: Alan Cox <alan at redhat.com>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
commit cb28a1bbdb4790378e7366d6c9ee1d2340b84f92
Merge: b6d4f7e3ef25beb8c658c97867d98883e69dc544 f934fb19ef34730263e6afc01e8ec27a8a71470f
Author: Ingo Molnar <mingo at elte.hu>
Date: Tue Jul 29 00:07:55 2008 +0200
Merge branch 'linus' into core/generic-dma-coherent
Conflicts:
arch/x86/Kconfig
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 362b7077a5546b42131af15ba4776f30c9a72d0c
Author: Matthew Wilcox <matthew at wil.cx>
Date: Tue Jul 22 12:37:17 2008 -0600
PCI: fix bogus "'device' may be used uninitialized" warning in pci_slot
I get warnings about 'device' possibly being used uninitialised. While
I can deduce this is not true, it seems that GCC can't. This patch
changes `check_slot' to return device on success and -1 on error, which
shuts GCC up.
Acked-by: Alex Chiang <achiang at hp.com>
Signed-off-by: Matthew Wilcox <willy at linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
commit d6d385743463f38a0da899cd4607e526ad9a049f
Author: Shaohua Li <shaohua.li at intel.com>
Date: Wed Jul 23 10:32:42 2008 +0800
PCI: add an option to allow ASPM enabled forcibly
A new option, pcie_aspm=force, will force ASPM to be enabled, even on system
with PCIe 1.0 devices.
Signed-off-by: Shaohua Li <shaohua.li at intel.com>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
commit 149e16372a2066c5474d8a8db9b252afd57eb427
Author: Shaohua Li <shaohua.li at intel.com>
Date: Wed Jul 23 10:32:31 2008 +0800
PCI: disable ASPM on pre-1.1 PCIe devices
Disable ASPM on pre-1.1 PCIe devices, as many of them don't implement it
correctly.
Tested-by: Jack Howarth <howarth at bromo.msbb.uc.edu>
Signed-off-by: Shaohua Li <shaohua.li at intel.com>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
commit 5fde244d39b88625ac578d83e6625138714de031
Author: Shaohua Li <shaohua.li at intel.com>
Date: Wed Jul 23 10:32:24 2008 +0800
PCI: disable ASPM per ACPI FADT setting
The ACPI FADT table includes an ASPM control bit. If the bit is set, do
not enable ASPM since it may indicate that the platform doesn't actually
support the feature.
Tested-by: Jack Howarth <howarth at bromo.msbb.uc.edu>
Signed-off-by: Shaohua Li <shaohua.li at intel.com>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
commit ce6fce4295ba727b36fdc73040e444bd1aae64cd
Author: Matthew Wilcox <matthew at wil.cx>
Date: Fri Jul 25 15:42:58 2008 -0600
PCI MSI: Don't disable MSIs if the mask bit isn't supported
David Vrabel has a device which generates an interrupt storm on the INTx
pin if we disable MSI interrupts altogether. Masking interrupts is only
a performance optimisation, so we can ignore the request to mask the
interrupt.
Signed-off-by: Matthew Wilcox <willy at linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
commit 25326277d8d1393d1c66240e6255aca780f9e3eb
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 06:39:26 2008 +0900
video: Kill off leaked CONFIG_FB_SH7343VOU reference.
This came in with the SH-Mobile LCDC changes in commit
cfb4f5d1750e05f43902197713c50c29e7dfbc99, kill it off.
Reported-by: Robert P. J. Day <rpjday at crashcourse.ca>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 5c806b208b390969a6051543e96bb4eae40554ac
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jul 29 06:34:01 2008 +0900
MAINTAINERS: Switch SUPERH to Supported.
Apparently the SH entry ought to be Supported instead of Maintained,
given the suble difference in terminology. Though it's been this way
for years now, thanks to Renesas.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 103340cc36384c1afee4453b65a784d8b20d9d8d
Author: Paul Mundt <lethal at linux-sh.org>
Date: Mon Jul 28 22:32:03 2008 +0900
sh: Fix up unaligned current_text_addr().
As noted by Adrian:
Commit 3ab83521378268044a448113c6aa9a9e245f4d2f (kexec jump)
causes the following build error on sh:
<-- snip -->
...
CC kernel/kexec.o
{standard input}: Assembler messages:
{standard input}:1518: Error: offset to unaligned destination
make[2]: *** [kernel/kexec.o] Error 1
<-- snip -->
If I understand the assembler correctly it fails at
include/asm-sh/kexec.h:59
The issue here is that the mova reference lacks an explicit alignment,
and previous code paths would end up with this on a 16-bit boundary,
so we make the alignment explicit.
Reported-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 11325f035edba6ba4bc005d2cdebea19d7d8f388
Author: Paul Mundt <lethal at linux-sh.org>
Date: Mon Jul 28 22:31:43 2008 +0900
sh: rsk7203: update defconfig.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 6d0b365731682857ecc754163e7c5cb9edaae846
Author: Paul Mundt <lethal at linux-sh.org>
Date: Mon Jul 28 22:31:02 2008 +0900
sh: rsk7203: Add smc911x platform data.
This hooks up platform data for the SMC9118 on the RSK+7203.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 9e3ee1c39c0cc71222f9980ccbf87fe072897eef
Merge: e56b3bc7942982ac2589c942fb345e38bc7a341a f934fb19ef34730263e6afc01e8ec27a8a71470f
Author: Ingo Molnar <mingo at elte.hu>
Date: Mon Jul 28 23:32:00 2008 +0200
Merge branch 'linus' into cpus4096
Conflicts:
kernel/stop_machine.c
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 29111f579f4f3f2a07385f931854ab0527ae7ea5
Merge: cc5499c3a607a392e8a7adb934aaf14b2c6a3519 87e39ea5714dd59ba31e36c25833d2b20255a29d
Author: Jesse Barnes <jbarnes at hobbes.lan>
Date: Mon Jul 28 14:31:10 2008 -0700
Merge branch 'x86/iommu' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip into for-linus
commit cc5499c3a607a392e8a7adb934aaf14b2c6a3519
Author: Matthew Wilcox <matthew at wil.cx>
Date: Mon Jul 28 13:39:00 2008 -0400
PCI: handle 64-bit resources better on 32-bit machines
If the kernel is configured to support 64-bit resources on a 32-bit
machine, we can support 64-bit BARs properly. Just change the condition
to check sizeof(resource_size_t) instead of BITS_PER_LONG.
Signed-off-by: Matthew Wilcox <willy at linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
commit 6ac665c63dcac8fcec534a1d224ecbb8b867ad59
Author: Matthew Wilcox <matthew at wil.cx>
Date: Mon Jul 28 13:38:59 2008 -0400
PCI: rewrite PCI BAR reading code
Factor out the code to read one BAR from the loop in pci_read_bases into
a new function, __pci_read_base. The new code is slightly more
readable, better commented and removes the ifdef.
Signed-off-by: Matthew Wilcox <willy at linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
commit e56b3bc7942982ac2589c942fb345e38bc7a341a
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 11:32:33 2008 -0700
cpu masks: optimize and clean up cpumask_of_cpu()
Clean up and optimize cpumask_of_cpu(), by sharing all the zero words.
Instead of stupidly generating all possible i=0...NR_CPUS 2^i patterns
creating a huge array of constant bitmasks, realize that the zero words
can be shared.
In other words, on a 64-bit architecture, we only ever need 64 of these
arrays - with a different bit set in one single world (with enough zero
words around it so that we can create any bitmask by just offsetting in
that big array). And then we just put enough zeroes around it that we
can point every single cpumask to be one of those things.
So when we have 4k CPU's, instead of having 4k arrays (of 4k bits each,
with one bit set in each array - 2MB memory total), we have exactly 64
arrays instead, each 8k bits in size (64kB total).
And then we just point cpumask(n) to the right position (which we can
calculate dynamically). Once we have the right arrays, getting
"cpumask(n)" ends up being:
static inline const cpumask_t *get_cpu_mask(unsigned int cpu)
{
const unsigned long *p = cpu_bit_bitmap[1 + cpu % BITS_PER_LONG];
p -= cpu / BITS_PER_LONG;
return (const cpumask_t *)p;
}
This brings other advantages and simplifications as well:
- we are not wasting memory that is just filled with a single bit in
various different places
- we don't need all those games to re-create the arrays in some dense
format, because they're already going to be dense enough.
if we compile a kernel for up to 4k CPU's, "wasting" that 64kB of memory
is a non-issue (especially since by doing this "overlapping" trick we
probably get better cache behaviour anyway).
[ mingo at elte.hu:
Converted Linus's mails into a commit. See:
http://lkml.org/lkml/2008/7/27/156
http://lkml.org/lkml/2008/7/28/320
Also applied a family filter - which also has the side-effect of leaving
out the bits where Linus calls me an idio... Oh, never mind ;-)
]
Signed-off-by: Ingo Molnar <mingo at elte.hu>
Cc: Rusty Russell <rusty at rustcorp.com.au>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: Al Viro <viro at ZenIV.linux.org.uk>
Cc: Mike Travis <travis at sgi.com>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 74deace2f952f7a28d2c516facc9954199881937
Author: Paul Gortmaker <paul.gortmaker at windriver.com>
Date: Mon Jul 28 14:50:31 2008 -0400
Documentation: remove old sbc8260 board specific information
This file contains 8 yr. old board specific information that was for
the now gone ppc implementation, and it pre-dates widespread u-boot
support. Any of the technical details of the board memory map would be
more appropriately captured in a dts if I revive it as powerpc anyway.
Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
Acked-by: Jason Wessel <jason.wessel at windriver.com>
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
commit 414f746d232d41ed6ae8632c4495ae795373c44b
Merge: 5a7a201c51c324876d00a54e7208af6af12d1ca4 c9272c4f9fbe2087beb3392f526dc5b19efaa56b
Author: Ingo Molnar <mingo at elte.hu>
Date: Mon Jul 28 21:14:43 2008 +0200
Merge branch 'linus' into cpus4096
commit 37139074233a5bbec54ae01ab580e5788a248cc3
Author: Jesse Barnes <jbarnes at hobbes.lan>
Date: Mon Jul 28 11:49:26 2008 -0700
PCI: document pci_target_state
The empty kdoc was causing warnings, so provide some actual documentation.
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
commit 56adc59d81b01ac5924f7eba6e22adc762a1e2c6
Author: Jesse Barnes <jbarnes at hobbes.lan>
Date: Thu Jul 24 16:43:43 2008 -0700
PCI hotplug: fix typo in pcie hotplug output
Comamnd->Command
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
commit f934fb19ef34730263e6afc01e8ec27a8a71470f
Merge: 3988ba0708e98b4bafc9034aa476775520bee708 72d18a7b9e1a3a9511bae78fc7f0932ae01d5d73
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 09:59:26 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: add driver for Atmel integrated touchscreen controller
Input: ads7846 - optimize order of calculating Rt in ads7846_rx()
Input: ads7846 - fix sparse endian warnings
Input: uinput - remove duplicate include
Input: serio - offload resume to kseriod
Input: serio - mark serio_register_driver() __must_check
commit 3988ba0708e98b4bafc9034aa476775520bee708
Merge: d9089c296bdd82e6c1b7f82d04c11b5decde75e7 18c60c0a3b16fc7d6a55497a228602ad8509f838
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 09:46:00 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm:
dlm: fix uninitialized variable for search_rsb_list callers
dlm: release socket on error
dlm: fix basts for granted CW waiting PR/CW
dlm: check for null in device_write
commit 7f71ac9374fec066e428892a68db158946cee1fb
Author: Ben Dooks <ben-linux at fluff.org>
Date: Mon Jul 28 18:29:09 2008 +0200
mfd: Coding style fixes
Fix some coding style fixes in the mfd core driver.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: Samuel Ortiz <sameo at openedhand.com>
commit 96ee41993b5b25ee0fbde2d4dcaac1f8c5ef5cc4
Author: Ben Dooks <ben-linux at fluff.org>
Date: Mon Jul 28 18:26:42 2008 +0200
mfd: Use to_platform_device instead of container_of
Convert mfd_remove_devices_fn() to use to_platform_device()
instead of doing container_of().
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Acked-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
Signed-off-by: Samuel Ortiz <sameo at openedhand.com>
commit 0e241ffd306c0896bb9959be7faa4d4cfcb706d9
Author: Randy Dunlap <randy.dunlap at oracle.com>
Date: Thu Jul 24 16:58:42 2008 -0700
locking: fix mutex @key parameter kernel-doc notation
Fix @key parameter to mutex_init() and one of its callers.
Warning(linux-2.6.26-git11//drivers/base/class.c:210): No description found for parameter 'key'
Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
Acked-by: Greg Kroah-Hartman <gregkh at suse.de>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit d9089c296bdd82e6c1b7f82d04c11b5decde75e7
Merge: bda426f5310ffddcd463fe20f352609e84989514 00df438e89a9003895948170e1abf64dd4665872
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 09:05:35 2008 -0700
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (25 commits)
powerpc: Disable 64K hugetlb support when doing 64K SPU mappings
powerpc/powermac: Fixup default serial port device for pmac_zilog
powerpc/powermac: Use sane default baudrate for SCC debugging
powerpc/mm: Implement _PAGE_SPECIAL & pte_special() for 64-bit
powerpc: Show processor cache information in sysfs
powerpc: Make core id information available to userspace
powerpc: Make core sibling information available to userspace
powerpc/vio: More fallout from dma_mapping_error API change
ibmveth: Fix multiple errors with dma_mapping_error conversion
powerpc/pseries: Fix CMO sysdev attribute API change fallout
powerpc: Enable tracehook for the architecture
powerpc: Add TIF_NOTIFY_RESUME support for tracehook
powerpc: Add asm/syscall.h with the tracehook entry points
powerpc: Make syscall tracing use tracehook.h helpers
powerpc: Call tracehook_signal_handler() when setting up signal frames
powerpc: Update cpu_sibling_maps dynamically
powerpc: register_cpu_online should be __cpuinit
powerpc: kill useless SMT code in prom_hold_cpus
powerpc: Fix 8xx build failure
powerpc: Fix vio build warnings
...
commit bda426f5310ffddcd463fe20f352609e84989514
Merge: b10a8b7238d7b034f28d32a85bb05c48475f132a 7878ac81e69c5b3ccad59808da06edf16455a57a
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 08:41:56 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6:
Remove deprecated virt_to_bus()
commit b10a8b7238d7b034f28d32a85bb05c48475f132a
Merge: 37eaf8c7463e53cf1acf025fb566fb6c4573297f 8b2224dc6a5b46cfa1d54ab1fe82107351c66443
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 08:41:13 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (72 commits)
sh: SuperH Mobile CEU and camera platform data for AP325RXA
sh: Update smc911x platform data for AP325RXA
sh: SuperH Mobile LCDC platform data for AP325RXA
sh: Add SuperH Mobile CEU platform data for Migo-R
sh: Add SuperH Mobile LCDC platform data for Migo-R
sh: Move asid_cache() out of ifdef to fix SH-3/4 nommu build.
sh: Workaround for __put_user_asm() bug with gcc 4.x on big-endian.
sh: Wire up new syscalls.
sh: fix uImage Entry Point
sh_keysc: remove request_mem_region() and release_mem_region()
sh: Don't miss pending signals returning to user mode after signal processing
sh: Use clk_always_enable() on sh7366
sh: Use clk_always_enable() on sh7343 / SE77343
sh: Use clk_always_enable() on sh7722 / Migo-R / SE7722
sh: Use clk_always_enable() on sh7723 / ap325rxa
sh: Introduce clk_always_enable() function
sh: Show all clocks and their state in /proc/clocks
sh: Merge sh7343 and sh7722 clock code
sh: Add SuperH Mobile MSTPCR bits to clock framework
sh: Use arch_flags to simplify sh7722 siu clock code
...
commit 37eaf8c7463e53cf1acf025fb566fb6c4573297f
Merge: 58f250714f2bfa3514798fde8b9d38a15e4a9836 784e2d76007f90d69341b95967160c4fb7829299
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 08:37:46 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus
* git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
stop_machine: fix up ftrace.c
stop_machine: Wean existing callers off stop_machine_run()
stop_machine(): stop_machine_run() changed to use cpu mask
Hotplug CPU: don't check cpu_online after take_cpu_down
Simplify stop_machine
stop_machine: add ALL_CPUS option
module: fix build warning with !CONFIG_KALLSYMS
commit 58f250714f2bfa3514798fde8b9d38a15e4a9836
Merge: c32f1a34ff1097110469a240ea4539dc9c101e96 c2f90e9536887fb76fb6a2aa239a70fc49beda10
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 08:35:40 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (98 commits)
V4L/DVB (8549): mxl5007: Fix an error at include file
V4L/DVB (8548): pwc: Fix compilation
V4L/DVB (8546): add tuner-3036 and dpc7146 drivers to feature-removal-schedule.txt
V4L/DVB (8546): saa7146: fix read from uninitialized memory
V4L/DVB (8544): gspca: probe/open race.
V4L/DVB (8543): em28xx: Rename #define for Compro VideoMate ForYou/Stereo
V4L/DVB (8542): em28xx: AMD ATI TV Wonder HD 600 entry at cards struct is duplicated
V4L/DVB (8541): em28xx: HVR-950 entry is duplicated.
V4L/DVB (8540): em28xx-cards: Add Compro VideoMate ForYou/Stereo model
V4L/DVB (8539): em28xx-cards: New supported IDs for analog models
V4L/DVB (8538): em28xx-cards: Add GrabBeeX+ USB2800 model
V4L/DVB (8534): remove select's of FW_LOADER
V4L/DVB (8522): videodev2: Fix merge conflict
V4L/DVB (8532): mxl5007t: remove excessive locks
V4L/DVB (8531): mxl5007t: move i2c gate handling outside of mutex protected code blocks
V4L/DVB (8530): au0828: add support for new revision of HVR950Q
V4L/DVB (8529): mxl5007t: enable _init and _sleep power management functionality
V4L/DVB (8528): add support for MaxLinear MxL5007T silicon tuner
V4L/DVB (8526): saa7146: fix VIDIOC_ENUM_FMT
V4L/DVB (8525): fix a few assorted spelling mistakes.
...
commit c32f1a34ff1097110469a240ea4539dc9c101e96
Merge: 4f31f3080943c7e3541f07df326f06d598a067d0 04d91cb8163f7f946e348b2362a6e5dfa5f06b13
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 08:33:25 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
sparc: Set CONFIG_HAVE_ARCH_TRACEHOOK
sparc: Add task_pt_regs().
sparc: Add call to tracehook_signal_handler().
sparc: Create and use TIF_NOTIFY_RESUME.
sparc: Use tracehook routines in syscall_trace().
sparc64: tracehook: CONFIG_HAVE_ARCH_TRACEHOOK
sparc: Add user_stack_pointer().
sparc64: tracehook_signal_handler
sparc64: tracehook: TIF_NOTIFY_RESUME
sparc: Add asm/syscall.h
sparc64: tracehook syscall
sparc: enable headers_export again
sparc, sparc64: use arch/sparc/include
commit 4f31f3080943c7e3541f07df326f06d598a067d0
Merge: 1486361777b3ce5ead414d9b2d9fc46f9cd86e0b 281c7413ed914623d3245299a4761b6b27ab9fdb
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 08:32:25 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
net: missing bits of net-namespace / sysctl
ipcomp: Fix warnings after ipcomp consolidation.
dccp: Add check for truncated ICMPv6 DCCP error packets
dccp: Fix incorrect length check for ICMPv4 packets
dccp: Add check for sequence number in ICMPv6 message
dccp: Fix sequence number check for ICMPv4 packets
dccp: Bug-Fix - AWL was never updated
dccp: Allow to distinguish original and retransmitted packets
commit 1486361777b3ce5ead414d9b2d9fc46f9cd86e0b
Author: Randy Dunlap <randy.dunlap at oracle.com>
Date: Sun Jul 27 20:44:24 2008 -0700
SubmittingPatches: add git pull & diffstat format info
Add git pull command info and diffstat summary info so that we don't
have to search email archives for it repeatedly.
Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1f07be1c31cf898e5e3708d52e38db0803c62924
Author: Stephen Rothwell <sfr at canb.auug.org.au>
Date: Mon Jul 28 11:05:04 2008 +1000
more sysdev API change fallout - drivers/base/memory.c
Noticed because of this warning:
drivers/base/memory.c:279: warning: initialization from incompatible pointer type
Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b032bf70df2e43149ce2b4e9a865b076c6140753
Author: Thomas Gleixner <tglx at linutronix.de>
Date: Sun Jul 27 23:47:12 2008 +0200
ACPI/CPUIDLE: prevent setting pm_idle to NULL
pm_idle_save resp. pm_idle_old can be NULL when the restore code in
acpi_processor_cst_has_changed() resp. cpuidle_uninstall_idle_handler()
is called. This can set pm_idle unconditinally to NULL, which causes the
kernel to panic when calling pm_idle in the x86 idle code. This was
covered by an extra check for !pm_idle in the x86 idle code, which was
removed during the x86 idle code refactoring.
Instead of restoring the pm_idle check in the x86 code prevent the
acpi/cpuidle code to set pm_idle to NULL.
Reported by: Dhaval Giani http://lkml.org/lkml/2008/7/2/309
Based on a debug patch from Ingo Molnar
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9ffc1699e36abd5baee188c8e36b1bb27d0d4278
Merge: a01386924874c4d6d67f8a34e66f04452c2abb69 958585f58f675a3c2855c7d91b6fdd2875552d0b
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Mon Jul 28 08:28:50 2008 -0700
Merge branch 'i2c-for-linus' of git://aeryn.fluff.org.uk/bjdooks/linux
* 'i2c-for-linus' of git://aeryn.fluff.org.uk/bjdooks/linux:
i2c: Blackfin I2C Driver: Functional power management support
i2c: Documentation: upgrading clients HOWTO
i2c: S3C24XX I2C frequency scaling support.
i2c: i2c_gpio: keep probe resident for hotplugged devices.
i2c: S3C2410: Pass the I2C bus number via drivers platform data
commit a01386924874c4d6d67f8a34e66f04452c2abb69
Author: David Sterba <dsterba at suse.cz>
Date: Mon Jul 28 16:53:32 2008 +0200
ipwireless: Preallocate received packet buffers with MRU size
ipwireless: Preallocate received packet buffers with MRU size
Packets are assembled from link size (~300 bytes) up to PPP MRU
(1500 by default). Try to preallocate full size rather than
repeatedly advance buffer size by 256 bytes.
Signed-off-by: David Sterba <dsterba at suse.cz>
Signed-off-by: Jiri Kosina <jkosina at suse.cz>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0f38c47a545d36da4038fec0708e6e3fbdb160b1
Author: David Sterba <dsterba at suse.cz>
Date: Mon Jul 28 16:53:27 2008 +0200
ipwireless: Put packets to pool start
ipwireless: Put packets to pool start
Put packets to pool start, try to reuse cached memory.
Signed-off-by: David Sterba <dsterba at suse.cz>
Signed-off-by: Jiri Kosina <jkosina at suse.cz>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit bee9c7c0773517c9f1d7931144fc8dec12233bd7
Author: David Sterba <dsterba at suse.cz>
Date: Mon Jul 28 16:53:21 2008 +0200
ipwireless: Increase PPP outgoing queue size
ipwireless: Increase PPP outgoing queue size
Increase default size of PPP outgoing queue. Currently set to 1, which
means that a packet quickly following another pushed by PPP must wait
until hardware actually sends the previous and PPP has to be waken up
by ppp_wakeup(). This slows down upstream.
Now PPP can push more packets at once which get buffered inside driver
and pushed immediatelly to hardware when previous packet is out.
Experiments show that size = 10 is quite good for all connection types
(GPRS/EDGE/UMTS) and gains 4 KB/sec of upload for UMTS for batch uploads.
Need for higher queue size than 10 occures in only < 0.1 % of cases.
Signed-off-by: David Sterba <dsterba at suse.cz>
Signed-off-by: Jiri Kosina <jkosina at suse.cz>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 09e491e9a780433f8734eb6efb7293b2da690131
Author: David Sterba <dsterba at suse.cz>
Date: Mon Jul 28 16:53:16 2008 +0200
ipwireless: Explicitly request io and mem regions
ipwireless: Explicitly request io and mem regions
Documentation/pcmcia/driver-changes.txt says, that driver should call request_region
for used memory/io regions since PCMCIA does not do this (since 2.6.8).
Signed-off-by: David Sterba <dsterba at suse.cz>
Signed-off-by: Jiri Kosina <jkosina at suse.cz>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ff3e990e61a5a9124687a01a025c43b3564f82ab
Author: David Sterba <dsterba at suse.cz>
Date: Mon Jul 28 16:53:11 2008 +0200
ipwireless: Constify buffer variables
ipwireless: Constify buffer variables
Signed-off-by: David Sterba <dsterba at suse.cz>
Signed-off-by: Jiri Kosina <jkosina at suse.cz>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 93110f698fe92fc4dfd86c78783aedf522c69eb9
Author: David Sterba <dsterba at suse.cz>
Date: Mon Jul 28 16:53:05 2008 +0200
ipwireless: Do not return value from sending funcs
ipwireless: Do not return value from sending funcs
Do not return value from do_send_fragment and do_send_packet, it's not used.
The packet size checks are not useful too:
* zero length packet will never be sent, caller always passes packet_header
size which is either 1 or 3
* MTU check is done in caller, no need to repeat
Signed-off-by: David Sterba <dsterba at suse.cz>
Signed-off-by: Jiri Kosina <jkosina at suse.cz>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d54c2752f6bb6cc53359dcdf6ed4fb6e5fb6440a
Author: David Sterba <dsterba at suse.cz>
Date: Mon Jul 28 16:53:00 2008 +0200
ipwireless: Remove endian-dependent bitfields
ipwireless: Remove endian-dependent bitfields
Remove endian-dependent bitfields and use bitmasks to transform
packet header bitfields from/to machine order.
Signed-off-by: David Sterba <dsterba at suse.cz>
Signed-off-by: Jiri Kosina <jkosina at suse.cz>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 622e713e8e207a99aad956bf0ebe435420fb3742
Author: David Sterba <dsterba at suse.cz>
Date: Mon Jul 28 16:52:55 2008 +0200
ipwireless: Glue splitted printk strings back
ipwireless: Glue splitted printk strings back
Signed-off-by: David Sterba <dsterba at suse.cz>
Signed-off-by: Jiri Kosina <jkosina at suse.cz>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2fc5577e1729ac303ad8b9547f8ccdb057076998
Author: David Sterba <dsterba at suse.cz>
Date: Mon Jul 28 16:52:49 2008 +0200
ipwireless: Remove pt_regs from interrupt handler
ipwireless: Remove pt_regs from interrupt handler
Signed-off-by: David Sterba <dsterba at suse.cz>
Signed-off-by: Jiri Kosina <jkosina at suse.cz>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 63c4dbd1023b9acd516d71635b06741962cc8a0f
Author: David Sterba <dsterba at suse.cz>
Date: Mon Jul 28 16:52:44 2008 +0200
ipwireless: Rename spinlock variables to lock
ipwireless: Rename spinlock variables to lock
Signed-off-by: David Sterba <dsterba at suse.cz>
Signed-off-by: Jiri Kosina <jkosina at suse.cz>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2e713165f892c833d240cb265ab35490a7ef456f
Author: David Sterba <dsterba at suse.cz>
Date: Mon Jul 28 16:52:39 2008 +0200
ipwireless: Remove unused defines
ipwireless: Remove unused defines
Remove unused defines, defines hiding variables, defines hiding 0.
Signed-off-by: David Sterba <dsterba at suse.cz>
Signed-off-by: Jiri Kosina <jkosina at suse.cz>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d4c0deb7009217d5cf7d0fe89255d64ecfad932b
Author: David Sterba <dsterba at suse.cz>
Date: Mon Jul 28 16:52:33 2008 +0200
ipwireless: Misc cleanups
ipwireless: Misc cleanups
- remove likely() and some extra () in ifs
- use unsigned in for loops
- remove useless typecasts
- remove obvious comments
- add () around ?:
Signed-off-by: David Sterba <dsterba at suse.cz>
Signed-off-by: Jiri Kosina <jkosina at suse.cz>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6ce37a58e334ef773f88283939afc9f4965c7697
Merge: d7ba11d01cfedf63b50391fbe4a05274b6992b43 91467bdf6e53058af13fd255375d6634ba0c70e0
Author: Ingo Molnar <mingo at elte.hu>
Date: Mon Jul 28 17:19:02 2008 +0200
Merge branch 'x86/crashdump' into x86/urgent
commit 00eabe7c4478f38b42d632763c4878ced5a1f25c
Author: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Date: Mon Jul 28 11:59:20 2008 +0900
[SCSI] qla2xxx: fix msleep compile error
drivers/scsi/qla2xxx/qla_attr.c: In function 'qla24xx_vport_delete':
drivers/scsi/qla2xxx/qla_attr.c:1184: error: implicit declaration of function 'msleep'
make[3]: *** [drivers/scsi/qla2xxx/qla_attr.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Reported-by: David Miller <davem at davemloft.net>
Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Acked-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit dddb8d311157d054da5441385f681b8cc0e5a94b
Author: Laurent Pinchart <laurentp at cse-semaphore.com>
Date: Tue Jul 22 18:00:43 2008 +0200
cpm2: Rework baud rate generators configuration to support external clocks.
The CPM2 BRG setup functions cpm_setbrg and cpm2_fastbrg don't support
external clocks. This patch adds a new exported __cpm2_setbrg function
that takes the clock rate and clock source as extra parameters, and moves
cpm_setbrg and cpm2_fastbrg to include/asm-powerpc/cpm2.h where they
become inline wrappers around __cpm2_setbrg.
Signed-off-by: Laurent Pinchart <laurentp at cse-semaphore.com>
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
commit e517881e427757afc3cce6d76173b1d898b30ab3
Author: Anton Vorontsov <avorontsov at ru.mvista.com>
Date: Thu Jun 12 03:04:31 2008 +0400
powerpc: rtc_cmos_setup: assign interrupts only if there is i8259 PIC
i8259 PIC is disabled on MPC8610HPCD boards, thus currently rtc-cmos
driver fails to probe.
To fix the issue, we lookup the device tree for "chrp,iic" and
"pnpPNP,000" compatible devices, and if not found we do not assign RTC
IRQ and assuming that i8259 was disabled.
Though this patch fixes RTC on some boards (and surely should not break
any other), the whole approach is still broken. We can't easily fix this
though, because old device trees do not specify i8259 interrupts for the
cmos rtc node.
Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
commit 80776554b6c93cf828ddc702010c6a189aa0d0e9
Author: Laurent Pinchart <laurentp at cse-semaphore.com>
Date: Mon Jul 28 10:42:16 2008 +0200
cpm_uart: Add generic clock API support to set baudrates
This patch introduces baudrate setting support via the generic clock API.
When present the optional device tree clock property is used instead of
fsl-cpm-brg. Platforms can then define complex clock schemes, to output
the serial clock on an external pin for instance.
Signed-off-by: Laurent Pinchart <laurentp at cse-semaphore.com>
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
commit 7485d26b7e13ee8ff82adb271ac90a996c1fe830
Author: Laurent Pinchart <laurentp at cse-semaphore.com>
Date: Thu Jul 24 18:36:37 2008 +0200
cpm_uart: Modem control lines support
This patch replaces the get_mctrl/set_mctrl stubs with modem control line
read/write access through the GPIO lib.
Available modem control lines are described in the device tree using GPIO
bindings. The driver expect a GPIO pin for each of the CTS, RTS, DCD, DSR,
DTR and RI signals. Unused control lines can be left out.
Signed-off-by: Laurent Pinchart <laurentp at cse-semaphore.com>
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
commit dc2380ec8572fcd7f7e9579afc9fb223300d922f
Author: Jochen Friedrich <jochen at scram.de>
Date: Thu Jul 3 02:18:23 2008 +1000
powerpc: implement GPIO LIB API on CPM1 Freescale SoC.
This patch implement GPIO LIB support for the CPM1 GPIOs.
Signed-off-by: Jochen Friedrich <jochen at scram.de>
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
commit e193325e3e3de188ae2aa5207adc7129aacc5c9d
Author: Laurent Pinchart <laurentp at cse-semaphore.com>
Date: Mon Jul 28 10:43:22 2008 +0200
cpm2: Implement GPIO LIB API on CPM2 Freescale SoC.
This patch implement GPIO LIB support for the CPM2 GPIOs. The code can
also be used for CPM1 GPIO port E, as both cores are compatible at the
register level.
Based on earlier work by Laurent Pinchart.
Signed-off-by: Jochen Friedrich <jochen at scram.de>
Cc: Laurent Pinchart <laurentp at cse-semaphore.com>
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
commit d7ba11d01cfedf63b50391fbe4a05274b6992b43
Author: Joe Perches <joe at perches.com>
Date: Sun Jul 27 12:02:04 2008 -0700
x86: remove stray <6> in BogoMIPS printk
Rabin Vincent noticed that there's a stray <6> in BogoMIPS printk:
> Remove the extra KERN_INFO which causes this:
> Calibrating delay loop... <6>179.40 BogoMIPS (lpj=897024)
> - printk(KERN_INFO "%lu.%02lu BogoMIPS (lpj=%lu)\n",
> - loops_per_jiffy/(500000/HZ),
> - (loops_per_jiffy/(5000/HZ)) % 100, loops_per_jiffy);
> + printk("%lu.%02lu BogoMIPS (lpj=%lu)\n",
> + loops_per_jiffy/(500000/HZ),
> + (loops_per_jiffy/(5000/HZ)) % 100, loops_per_jiffy);
> }
How about just using KERN_CONT and leaving the whitespace
for a patch that does the entire file?
Reported-by: Rabin Vincent <rabin at rab.in>
commit 958585f58f675a3c2855c7d91b6fdd2875552d0b
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Sun Jul 27 14:41:54 2008 +0800
i2c: Blackfin I2C Driver: Functional power management support
PM_SUSPEND_MEM: Blackfin does not maintain register state through
Hibernate. Save and restore peripheral base initialization during
PM transitions.
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
commit 31321b76e1a2c70f4eb4c0e19f9f860dcd0ef2ce
Author: Ben Dooks <ben-linux at fluff.org>
Date: Mon Jul 28 12:04:08 2008 +0100
i2c: Documentation: upgrading clients HOWTO
Add a document describing how i2c clients on Linux 2.6 can be
moved from the old to the new driver model.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
commit 61c7cff89224fc5651b5ba5ff2185d19304b2484
Author: Ben Dooks <ben-linux at fluff.org>
Date: Mon Jul 28 12:04:07 2008 +0100
i2c: S3C24XX I2C frequency scaling support.
Add support for CPU frequency scaling to the S3C24XX I2C driver.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
commit 1efe7c55d2c4acc6c1d1c1a68bd9070f13815272
Author: Ben Dooks <ben-linux at fluff.org>
Date: Mon Jul 28 12:04:09 2008 +0100
i2c: i2c_gpio: keep probe resident for hotplugged devices.
Change the i2c_gpio driver to use platform_driver_register()
instead of platform_driver_probe() to ensure that is can
attach to any devices that may be loaded after it has initialised.
Acked-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
commit 399dee2371787825a1845de87c0cbee7b7c30ad6
Author: Ben Dooks <ben-linux at fluff.org>
Date: Mon Jul 28 12:04:06 2008 +0100
i2c: S3C2410: Pass the I2C bus number via drivers platform data
Allow the platform data to specify the bus bumber that the
new I2C bus will be given. This is to allow the use of the
board registration mechanism to specify the new style of
I2C device registration which allows boards to provide a
list of attached devices.
Note, as discussed on the mailing list, we have dropped
backwards compatibility of adding an dynamic bus number
as it should not affect most boards to have the bus pinned
to 0 if they have either not specified platform data for
driver. Any board supplying platform data will automatically
have the bus_num field set to 0, and anyone who needs the
driver on a different bus number can supply platform data
to set bus_num.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
commit 7878ac81e69c5b3ccad59808da06edf16455a57a
Author: Karsten Keil <kkeil at suse.de>
Date: Mon Jul 28 12:21:25 2008 +0200
Remove deprecated virt_to_bus()
Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6.git master
This was a forgotten item in a printk from the old driver,
the DMA allocation use already the new interface.
Signed-off-by: Karsten Keil <kkeil at suse.de>
commit 8b2224dc6a5b46cfa1d54ab1fe82107351c66443
Author: Magnus Damm <damm at igel.co.jp>
Date: Mon Jul 28 19:14:35 2008 +0900
sh: SuperH Mobile CEU and camera platform data for AP325RXA
Add AP325RXA specific platform data for on-chip sh7723 CEU and ncm03j camera.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 4875ea224af0215635f18c2c1b060fb023c7602f
Author: Magnus Damm <damm at igel.co.jp>
Date: Mon Jul 28 19:11:07 2008 +0900
sh: Update smc911x platform data for AP325RXA
Pass board specific smc911x parameters using struct smc911x_platdata.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 6968980a1bc0ba56dd8ef21c14577af3f2f9992b
Author: Magnus Damm <damm at igel.co.jp>
Date: Mon Jul 28 19:07:04 2008 +0900
sh: SuperH Mobile LCDC platform data for AP325RXA
Add LCD panel platform data for the AP325RXA board.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 1765534c23596794385f309609c09642f33846e4
Author: Magnus Damm <damm at igel.co.jp>
Date: Mon Jul 28 18:51:01 2008 +0900
sh: Add SuperH Mobile CEU platform data for Migo-R
Add Migo-R specific platform data for on-chip sh7722 CEU and ov772x camera.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 8b1285f1c192e7e84ba28cc25eb0e9bcf2dadb17
Author: Magnus Damm <damm at igel.co.jp>
Date: Mon Jul 28 18:47:30 2008 +0900
sh: Add SuperH Mobile LCDC platform data for Migo-R
Add WVGA and QVGA LCD panel support to Migo-R.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 761656e6beecb38c723f207d7408c753d3103ba8
Author: Paul Mundt <lethal at linux-sh.org>
Date: Mon Jul 28 18:39:25 2008 +0900
sh: Move asid_cache() out of ifdef to fix SH-3/4 nommu build.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 2b4b2bb42137c779ef0084de5df66ff21b4cd86e
Author: Yoshinori Sato <ysato at users.sourceforge.jp>
Date: Mon Jul 28 18:36:13 2008 +0900
sh: Workaround for __put_user_asm() bug with gcc 4.x on big-endian.
I think this problem is GCC(4.1.2) bug.
Syscall "getdents" returned "dirent->d_off" is always 0.
I think other EB enviroment have same problem.
Problem code
0c03c954 <filldir>:
:
c03c97a: 58 f7 mov.l @(28,r15),r8 !-> offset (high)
c03c97c: 59 f8 mov.l @(32,r15),r9 !-> offset (low)
c03c97e: 53 f9 mov.l @(36,r15),r3
c03c980: 54 fa mov.l @(40,r15),r4
:
c03c9a0: 21 82 mov.l r8, at r1 !offset(high) -> dirent->d_off
It's workaround patch.
Signed-off-by: Yoshinori Sato <ysato at users.sourceforge.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 44f95989525c48f6c79fe1c6ad07860765f987cd
Author: Paul Mundt <lethal at linux-sh.org>
Date: Mon Jul 28 18:34:45 2008 +0900
sh: Wire up new syscalls.
This wires up the signalfd4, eventfd2, epoll_create1, dup3, pipe2, and
inotify_init1 syscalls.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 82cb1f6fb3f69518eaa4ab9c0fa7eabc253ad26f
Author: Yoshihiro Shimoda <shimoda.yoshihiro at renesas.com>
Date: Wed Jul 23 16:49:06 2008 +0900
sh: fix uImage Entry Point
fix the problem that cannot boot using uImage when PAGE_SIZE is
8kbyte or 64kbyte.
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit d3aa43a9db3b18e65f91985b5b91f2450d8b4048
Author: Tetsuya Mukawa <mukawa at igel.co.jp>
Date: Sat Jul 19 07:46:53 2008 +0900
sh_keysc: remove request_mem_region() and release_mem_region()
Remove request_mem_region() and release_mem_region() from sh_keysc driver.
Those functions can find resource conflict, but it is already checked in
platform_device_add().
Signed-off-by: Tetsuya Mukawa <mukawa at igel.co.jp>
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Cc: Dmitry Torokhov <dtor at mail.ru>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 0b1689cfbbc5e81a121f550782a201962c1e0ce0
Author: Stuart MENEFY <stuart.menefy at st.com>
Date: Thu Jul 17 13:08:40 2008 +0100
sh: Don't miss pending signals returning to user mode after signal processing
Without this patch, signals sent during architecture specific signal
handling (typically as a result of the user's stack being inaccessible)
are ignored.
This is the SH version of commit c3ff8ec31c1249d268cd11390649768a12bec1b9
which was for the i386.
Signed-off-by: Stuart Menefy <stuart.menefy at st.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit d7f1a9adc0e34ad4aa4fe246b264add4646ae064
Author: Magnus Damm <damm at igel.co.jp>
Date: Thu Jul 17 19:20:11 2008 +0900
sh: Use clk_always_enable() on sh7366
Use clk_always_enable() in the sh7366 processor code.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 8fa509ab915f668093c270151f884220232bfb25
Author: Magnus Damm <damm at igel.co.jp>
Date: Thu Jul 17 19:18:24 2008 +0900
sh: Use clk_always_enable() on sh7343 / SE77343
Use clk_always_enable() on the sh7343 processor and in the board code
for Solution Engine 7343. Remove duplicate MSTPCR register definitions.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 6c7d826cf6ff05264f9af04410aee82a08edfb9f
Author: Magnus Damm <damm at igel.co.jp>
Date: Thu Jul 17 19:16:11 2008 +0900
sh: Use clk_always_enable() on sh7722 / Migo-R / SE7722
Use clk_always_enable() on the sh7722 processor and in the board code
for Migo-R and Solution Engine 7722. Remove duplicate MSTPCR register
definitions.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 9ca6ecac505002d0c34b47b394f39aa14b0e6fb6
Author: Magnus Damm <damm at igel.co.jp>
Date: Thu Jul 17 19:13:34 2008 +0900
sh: Use clk_always_enable() on sh7723 / ap325rxa
Use clk_always_enable() on the sh7723 processor and in the ap325rxa
board code. Remove duplicate MSTPCR register definitions.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit de9254263b8c8b1809520a1009dd516e41976519
Author: Magnus Damm <damm at igel.co.jp>
Date: Thu Jul 17 19:09:51 2008 +0900
sh: Introduce clk_always_enable() function
Add SuperH specific funcion clk_always_enable(), useful to enable MSTPCR
bits in processor or board specific code.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 152fe36ebee82b63a9c6e510c52aaa82f4b1940d
Author: Magnus Damm <damm at igel.co.jp>
Date: Thu Jul 17 19:05:54 2008 +0900
sh: Show all clocks and their state in /proc/clocks
Show all clocks in /proc/clocks, and also show if they are enabled or
disabled. This is useful to show MSTPCR bits on SuperH Mobile processors.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 1312994c8008d66806d9452c15d50df86a031437
Author: Magnus Damm <damm at igel.co.jp>
Date: Thu Jul 17 19:02:23 2008 +0900
sh: Merge sh7343 and sh7722 clock code
This code makes sh7343 share the sh7722 clock code. Instead of just using
the good and very old sh7343 clock implmentation, switch to the new MSTPCR
enabled clock code. SIU clocks are disabled on sh7343 for now.
With this change all SuperH Mobile devices now use the same clock code.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit aea167cbb5c9056295109e5e171d27e30e2be5bc
Author: Magnus Damm <damm at igel.co.jp>
Date: Thu Jul 17 18:56:15 2008 +0900
sh: Add SuperH Mobile MSTPCR bits to clock framework
Handle module stop clock bits in MSTPCRn through the clock framework.
The clocks are named after the bits in the data sheet. The association
between bit number and hardware block is processor specific.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 3fec18bd603c3a55aeb325121a3e752f647641be
Author: Magnus Damm <damm at igel.co.jp>
Date: Thu Jul 17 18:52:19 2008 +0900
sh: Use arch_flags to simplify sh7722 siu clock code
Make use of arch_flags to simplify the SIU clock code.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 5c8f9d94fea98596db255a579f5d02a0195abda7
Author: Magnus Damm <damm at igel.co.jp>
Date: Thu Jul 17 18:48:57 2008 +0900
sh: Add arch_flags to struct clk
Add arch_flags to struct clk so we can keep per-clock private data
somewhere and share code between multiple clocks.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit c46acb8e2093779bda393f028099477f98cfef3c
Author: Adrian Bunk <bunk at kernel.org>
Date: Wed Jul 16 19:45:40 2008 +0300
fix sh ptep_get_and_clear breakage
Commit 1ea0704e0da65b2b46f9142ff1391163aac24060
(mm: add a ptep_modify_prot transaction abstraction)
triggered on sh build errors like the following:
<-- snip -->
...
CC arch/sh/mm/pg-sh4.o
cc1: warnings being treated as errors
include2/asm/pgtable.h:139: error: 'ptep_get_and_clear' declared inline after being called
include2/asm/pgtable.h:139: error: previous declaration of 'ptep_get_and_clear' was here
make[2]: *** [arch/sh/mm/pg-sh4.o] Error 1
<-- snip -->
Since there's no good reason for marking these global functions as
"inline" this patch therefore removes the inline's.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit cbe9da029d9cc4fff59d559789885079a84a0af8
Author: Yoshihiro Shimoda <shimoda.yoshihiro at renesas.com>
Date: Wed Jul 16 20:21:09 2008 +0900
sh: Renesas R0P7785LC0011RL board support
This adds initial support for the Renesas R0P7785LC0011RL board.
This patch supports 29bit address mode only.
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 1eca5c92729a83f64826d15a9ecb1652dda54bcb
Author: Magnus Damm <damm at igel.co.jp>
Date: Wed Jul 16 19:02:54 2008 +0900
sh: Add memory chunks to SH-Mobile UIO devices
This patch adds physically contiguous memory chunks to the UIO devices.
The same strategy can be used in the future for the CEU as well.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 714750dd5c6aef8e204d35ba28c1be9641418671
Author: Magnus Damm <damm at igel.co.jp>
Date: Tue Jul 15 21:55:03 2008 +0900
sh: Export sh7366 VPU, VEU(1), VEU(2) using uio_pdrv_genirq
This patch exports the VPU, VEU(1) and VEU(2) blocks of the sh7366
to user space using the uio_pdrv_genirq platform driver.
While at it, fix up the VEU(2) interrupt vector.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 6874548c69d02fabb8bea12d8c0f5600c1176769
Author: Magnus Damm <damm at igel.co.jp>
Date: Tue Jul 15 21:53:33 2008 +0900
sh: Export sh7723 VPU, VEU2H0, VEU2H1 using uio_pdrv_genirq
This patch exports the VPU, VEU2H0 and VEU2H1 blocks of the sh7723
to user space using the uio_pdrv_genirq platform driver.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit a55f6d2567008699d705a006f2432bf3e872b743
Author: Magnus Damm <damm at igel.co.jp>
Date: Tue Jul 15 21:52:19 2008 +0900
sh: Export sh7722 VPU and VEU using uio_pdrv_genirq
This patch exports the VPU and VEU blocks of the sh7722 to user space
using the uio_pdrv_genirq platform driver.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit c901c96cc25f6143a7d2fb59c3287f868e84a69e
Author: Magnus Damm <damm at igel.co.jp>
Date: Tue Jul 15 21:51:39 2008 +0900
sh: Export sh7343 VPU and VEU using uio_pdrv_genirq
This patch exports the VPU and VEU blocks of the sh7343 to user space
using the uio_pdrv_genirq platform driver.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 6e80f5e8c4c685eb7bc34c3916e3d986b03f9981
Author: Yoshinori Sato <ysato at users.sourceforge.jp>
Date: Thu Jul 10 01:20:03 2008 +0900
sh2(A) exception handler update
This patch is
By sh2
- Remove duplicate code
- Reduce stack usage
- Cleanup and little optimize
By sh2a
- Add missing handler(256 to 511)
- Use sh2a instructions handler
Signed-off-by: Yoshinori Sato <ysato at users.sourceforge.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit cafd63b0076b78bc8f114abbeb724c7e5f5bfe5d
Author: Yoshihiro Shimoda <shimoda.yoshihiro at renesas.com>
Date: Mon Jul 7 21:11:54 2008 +0900
sh: update Solution Engine 7343
updated the following codes for Solution Endine 7343:
- fix compile error in arch/sh/boards/se/7343/irq.c
- add nor flash physmaps
- update defconfig
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit a4e1d08491b06b17eb77c92caacd40b330ca8146
Author: Yoshihiro Shimoda <shimoda.yoshihiro at renesas.com>
Date: Mon Jul 7 21:11:51 2008 +0900
sh: update sh7343 code
updated the following codes for SH7343:
- add register_intc_controller()
- add EARLY_SCIF_CONSOLE_PORT
- add define of CPG register
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 73382f710b83b84b3cffb1f4850f5292c12edfd2
Author: Magnus Damm <magnus.damm at gmail.com>
Date: Sat Jul 5 12:33:30 2008 +0900
sh: fix pg-sh4.c build breakage in linux-next
Remove inline from ptep_get_and_clean() to match with header file prototype.
Makes linux-next build.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 026953db56e6244c8c80be8e211e244ff6015992
Author: Magnus Damm <magnus.damm at gmail.com>
Date: Sat Jul 5 12:32:44 2008 +0900
sh: enable I2C on the ap325rxa board
This patch enables I2C on the sh7723-based ap325rxa board.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 0fff76f2da9dd0cd1918822cdc99d0191f9b78cf
Author: Magnus Damm <magnus.damm at gmail.com>
Date: Sat Jul 5 12:32:23 2008 +0900
sh: add SuperH Mobile I2C platform data to sh7366
This patch adds platform data for the single I2C channel on sh7366.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit da7d3029d1bbcd3d6489f4524056598ec030d3b0
Author: Magnus Damm <magnus.damm at gmail.com>
Date: Sat Jul 5 12:32:06 2008 +0900
sh: add SuperH Mobile I2C platform data to sh7723
This patch adds platform data for the single I2C channel on sh7723.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 7549079d846651ee24150a24f9bb3b6e06ae67db
Author: Magnus Damm <magnus.damm at gmail.com>
Date: Sat Jul 5 12:31:46 2008 +0900
sh: add SuperH Mobile I2C platform data to sh7343
This patch adds platform data for two I2C channels to the sh7343.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 6bdfb22a8e1ffa37ae4ad35b87cb02958d1901e5
Author: Yoshihiro Shimoda <shimoda.yoshihiro at renesas.com>
Date: Fri Jul 4 12:37:12 2008 +0900
sh: add interrupt ack code to sh4a
This patch is based on interrupt acknowledge code for external
interrupt sources on sh3 processors and adds on sh4a processors.
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit f12ae6bc4ad0054386b380dbf90e63617cd5ab92
Author: Yoshinori Sato <ysato at users.sourceforge.jp>
Date: Fri Jul 4 12:54:51 2008 +0900
sh: Fix up link error on SH-2 zImage with older binutils.
Signed-off-by: Yoshinori Sato <ysato at users.sourceforge.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit f2fb4e4f647dabf1177d3ce164988e73482d76b1
Author: Stuart Menefy <stuart.menefy at st.com>
Date: Wed Jul 2 17:51:23 2008 +0900
sh: Conditionally re-enable IRQs in fault path.
The current kernel behaviour is to reenable interrupts unconditionally
when taking a page fault. This patch changes this to only enable them
if interrupts were previously enabled.
It also fixes a problem seen with this fix in place: the kernel previously
flushed the vsyscall page when handling a signal, which is not only
unncessary, but caused a possible sleep with interrupts disabled.
Signed-off-by: Stuart Menefy <stuart.menefy at st.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 068f59143d821553e7a55cdbd69142b05e245d47
Author: Paul Mundt <lethal at linux-sh.org>
Date: Wed Jul 2 17:46:40 2008 +0900
sh: Record the major cut revision for probed SH-4A parts.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 09b5a10c1944214a6008712bfa92b29f00b84a1a
Author: Chris Smith <chris.smith at st.com>
Date: Wed Jul 2 15:17:11 2008 +0900
sh: Optimized flush_icache_range() implementation.
Add implementation of flush_icache_range() suitable for signal handler
and kprobes. Remove flush_cache_sigtramp() and change signal.c to use
flush_icache_range().
Signed-off-by: Chris Smith <chris.smith at st.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 3611ee7acc113e5e482b7d20d5133935226f3129
Author: Stuart Menefy <stuart.menefy at st.com>
Date: Wed Jul 2 15:15:09 2008 +0900
sh: Stub in silicon cut in CPU info.
Signed-off-by: Stuart Menefy <stuart.menefy at st.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit ef9247ef89be79ffbd9faaf722e05b7bed14fc1e
Author: Paul Mundt <lethal at linux-sh.org>
Date: Wed Jul 2 13:58:38 2008 +0900
sh: Tidy up the SH-3 exception vector table.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit d88a3ea6fa4c98d482240a6a85945ed448b7671d
Author: Yoshinori Sato <ysato at users.sourceforge.jp>
Date: Tue Jul 1 22:20:24 2008 -0400
SH7619 add ethernet controler support
- Add EtherC + PHY resource define.
Signed-off-by: Yoshinori Sato <ysato at users.sourceforge.jp>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit fafb7a97de73a917a875048801bd81cf64f79e4a
Author: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Date: Tue Jun 24 13:00:52 2008 +0900
sh: Remove sh_pcic_io_xxx function from Solution Engine IO code
sh_pcic_io_xxx function are very old.
In linux-2.4, mrshpc_ss socket driver used this function.
But there is not this driver to the present kernel.
I deleted these cords and checked operation.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 7c93d87d09813e32724b572530abe5b5405ab1d1
Author: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Date: Thu Jun 19 19:27:55 2008 +0900
sh: Fix Kconfig of AP-325RXA
The CPU of AP-325RXA is SH7723, but a CPU becomes selectable.
This patch fixes this problem.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 787d9d7e89c3952db12d9e4bb02ba5c5a85f6b7f
Author: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Date: Wed Jun 18 18:32:03 2008 +0900
sh: Clean up code of Solution Engine 770x
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit b2e4c109a8a49d1df37572a12e3261e9c7361cc7
Author: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Date: Wed Jun 18 18:31:46 2008 +0900
sh: Update Solution Enginge 7712 defconfig
Enable SH-Ether support and NFS userland support.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit ffb91ad2751723bcc9925cd38e37013e2169e256
Author: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Date: Wed Jun 18 18:29:06 2008 +0900
sh: Solution Enginge 7710/7712 SH-Ether support
Add support SH-Ether for Hitachi Solution Engine.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 4c1cfab1e0f9a41246cfdcca78f3700fb67f0a5c
Author: Adrian Bunk <bunk at kernel.org>
Date: Wed Jun 18 03:36:50 2008 +0300
sh/kernel/ cleanups
This patch contains the following cleanups:
- make the following needlessly global code static:
- cf-enabler.c: cf_init()
- cpu/clock.c: __clk_enable()
- cpu/clock.c: __clk_disable()
- process_32.c: default_idle()
- time_32.c: struct clocksource_sh
- timers/timer-tmu.c: struct tmu_timer_ops
- remove the following unused functions (no CONFIG_BLK_DEV_FD on sh):
- process_{32,64}.c: disable_hlt()
- process_{32,64}.c: enable_hlt()
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 62410034e79d9249647d1fe6f6f35a06b3747e68
Author: Adrian Bunk <bunk at kernel.org>
Date: Wed Jun 18 01:33:40 2008 +0300
sh: make pcibios_max_latency static
This patch makes the needlessly global pcibios_max_latency static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 175fb09f4a770fd542947e8c3f4e6dbf07debea9
Author: Adrian Bunk <bunk at kernel.org>
Date: Wed Jun 18 01:31:03 2008 +0300
sh: make EARLY_PCI_OP's static
This patch makes the needlessly global EARLY_PCI_OP's static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 2b7bf930ae762d3124317e36f26a7567dc04e835
Author: Adrian Bunk <bunk at kernel.org>
Date: Wed Jun 18 01:30:57 2008 +0300
sh/boards/dreamcast/rtc.c: make 2 functions static
This patch makes the needlessly global aica_rtc_{get,set}timeofday()
static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 306cfd630a4d121cf4e08b894d8b4c4cf106e57e
Author: Adrian McMenamin <adrian at newgolddream.dyndns.info>
Date: Sun Jun 15 20:48:09 2008 +0100
maple: tidy maple_driver code by removing redundant connect/disconnect
The connect and disconnect functions are unnecessary - everything they do can be
accomplished in the initial probe - so remove them.
Signed-off-by: Adrian McMenamin <adrian at mcmen.demon.co.uk>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 4cec1a37ba7d9dce6ed5d8259b95272100a98b1f
Author: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Date: Fri Jun 6 17:04:56 2008 +0900
sh: Renesas Solutions SH7763RDP board support
This patch adds basic support for the SH7763RDP board.
This supports a basic stuff provided in SH7763, like SCIF,
NOR Flash and USB host.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit c63847a3621d2bac054f5709783860ecabd0ee7e
Author: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Date: Fri Jun 6 17:04:08 2008 +0900
sh: Add SCIF2 support for SH7763.
SH7763 has 3 SCIF device. Current code supports SCIF0 and 1.
SCIF0 and 1 are same register constitution, but only SCIF2 is different.
I added support of SCIF2.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 04e917b606ffe6ec10fb75c21447162cba31f6b6
Author: Yusuke Goda <goda.yusuke at renesas.com>
Date: Fri Jun 6 17:03:23 2008 +0900
sh: Add support Renesas Solutions AP-325RXA board
This board is SH7723 base board.
This has SCIF, LCDC, USB Host controler, NOR/NAND Flash, Sound,
Ether and other.
This patch supports SCIF, NOR Flash.
Signed-off-by: Yusuke Goda <goda.yusuke at renesas.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 42fd3b142d8867f5b58d6fb75592cd20fd654c1b
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jun 3 20:05:39 2008 +0900
sh: Initial consolidation of the _32/_64 uaccess split.
This consolidates everything but the bare assembly routines, which we
will sync up in a follow-up patch.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 31f6a11fe764dc580b645d7aa878854fa9e85a06
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jun 3 19:38:22 2008 +0900
sh: Consolidate addr/access_ok across mmu/nommu on 32bit.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 85247285ea6f6e2087193b2a720404690e9cb1b3
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jun 3 19:37:35 2008 +0900
sh: Use the common segment definitions for the _64 uaccess routines.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 66dfe18114839a7297f56f43f03125f4121de79b
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jun 3 18:54:02 2008 +0900
sh: Add support for 16kB PAGE_SIZE.
16kB is a useful size on nommu, while 64kB still tends to be too big to
be useful. Newer MMUs are likely to support this as well, so plug it
in in anticipation of those, too.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 74fcc77982e703fe85d8bd5437130fd94c61daee
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jun 3 18:52:11 2008 +0900
sh: Support variable page sizes on nommu.
PAGE_SIZE doesn't need to be fixed at 4096 on nommu, so stub in a !MMU
case for the various PAGE_SIZE Kconfig options.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 02f7e627f9248a478cf790112a07ae2c612b895a
Author: Paul Mundt <lethal at linux-sh.org>
Date: Tue Jun 3 18:48:54 2008 +0900
sh: Consolidate segment modifiers across mmu/nommu systems.
This moves get_fs/set_fs() and friends in to asm/segment.h. The
mm_segment_t definition is likewise consolidated from the _32/_64 split.
This is prepatory groundwork for using the generic address space limit
and verification routines across mmu/nommu configs.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 3787aa112c653b34b6f901b2eaae2b62f9582569
Author: Paul Mundt <lethal at linux-sh.org>
Date: Mon May 19 16:47:56 2008 +0900
sh: RSK+ 7203 board support.
This adds initial support for the RTE RSK+ SH7203 board.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 2cd1e31859837155033b4b731de61066d5da50ab
Author: Paul Mundt <lethal at linux-sh.org>
Date: Mon May 19 14:00:44 2008 +0900
sh: Make dump_task dependent on ELF core.
Currently this is only linked in for CONFIG_BINFMT_ELF, make it dependent
on CONFIG_ELF_CORE, so it's both selectable there and also linked in for
CONFIG_BINFMT_ELF_FDPIC.
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 3bc24a1a5441ef621daf737ec93b0a10e8999d59
Author: Paul Mundt <lethal at linux-sh.org>
Date: Mon May 19 13:40:12 2008 +0900
sh: Initial ELF FDPIC support.
This adds initial support for ELF FDPIC on MMU-less SH, as per version
0.2 of the ABI definition at:
http://www.codesourcery.com/public/docs/sh-fdpic/sh-fdpic-abi.txt
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 9b14ec35f03d89c88cba225add8b6eca15203964
Author: Paul Mundt <lethal at linux-sh.org>
Date: Mon May 19 13:34:45 2008 +0900
binfmt_elf_fdpic: Magical stack pointer index, for NEW_AUX_ENT compat.
While implementing binfmt_elf_fdpic on SH it quickly became apparent
that SH was the first platform to support both binfmt_elf_fdpic and
binfmt_elf, as well as the only of the FDPIC platforms to make use of the
auxvt.
Currently binfmt_elf_fdpic uses a special version of NEW_AUX_ENT() where
the first argument is the entry displacement after csp has been adjusted,
being reset after each adjustment. As we have no ability to sort this out
through the platform's ARCH_DLINFO, this index needs to be managed
entirely in create_elf_fdpic_tables(). Presently none of the platforms
that set their own auxvt entries are able to do so through their
respective ARCH_DLINFOs when using binfmt_elf_fdpic.
In addition to this, binfmt_elf_fdpic has been looking at
DLINFO_ARCH_ITEMS for the number of architecture-specific entries in the
auxvt. This is legacy cruft, and is not defined by any platforms in-tree,
even those that make heavy use of the auxvt. AT_VECTOR_SIZE_ARCH is
always available, and contains the number that is of interest here, so we
switch to using that unconditionally as well.
As this has direct bearing on how much stack is used, platforms that have
configurable (or dynamically adjustable) NEW_AUX_ENT calls need to either
make AT_VECTOR_SIZE_ARCH more fine-grained, or leave it as a worst-case
and live with some lost stack space if those entries aren't pushed (some
platforms may also need to purposely sacrifice some space here for
alignment considerations, as noted in the code -- although not an issue
for any FDPIC-capable platform today).
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
Acked-by: David Howells <dhowells at redhat.com>
commit e3b08600902e119b34ca03c4aaf99bde4b173dde
Author: Adrian Bunk <bunk at kernel.org>
Date: Wed Jun 18 01:30:53 2008 +0300
move arch/sh/lib/io.o to obj-y
EXPORT_SYMBOL's in lib-y considered harmful:
<-- snip -->
...
MODPOST 1837 modules
ERROR: "__raw_readsl" [drivers/ssb/ssb.ko] undefined!
ERROR: "__raw_writesl" [drivers/ssb/ssb.ko] undefined!
ERROR: "__raw_writesl" [drivers/net/smc91x.ko] undefined!
ERROR: "__raw_readsl" [drivers/net/smc91x.ko] undefined!
ERROR: "__raw_writesl" [drivers/net/3c59x.ko] undefined!
ERROR: "__raw_readsl" [drivers/net/3c59x.ko] undefined!
...
make[2]: *** [__modpost] Error 1
<-- snip -->
Reported-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 7223ce29e8ca7313a75e8b902718c867d5997bb7
Author: Adrian Bunk <bunk at kernel.org>
Date: Wed Jun 18 01:30:40 2008 +0300
sh dreamcast: export board_pci_channels
This patch fixes the following build error:
<-- snip -->
...
MODPOST 1837 modules
ERROR: "board_pci_channels" [drivers/pcmcia/yenta_socket.ko] undefined!
...
make[2]: *** [__modpost] Error 1
<-- snip -->
I freely admit that it's a pathological configuration, but as long as
it is allowed it should build.
Reported-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit b19a33cabafbac56ba581e2a77ea6476db9118ab
Author: Adrian Bunk <bunk at kernel.org>
Date: Wed Jun 18 01:30:24 2008 +0300
sh: export get_cpu_subtype
This patch fixes the following build error:
<-- snip -->
...
MODPOST 1837 modules
ERROR: "get_cpu_subtype" [arch/sh/oprofile/oprofile.ko] undefined!
...
make[2]: *** [__modpost] Error 1
<-- snip -->
Reported-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 82706b8f7bd1365e50478d3d0f6090f22e4571c7
Author: Khem Raj <raj.khem at gmail.com>
Date: Thu Jul 3 19:02:41 2008 +0900
sh: Prevent leaking of CONFIG_SUPERH32 to userspace in asm/unistd.h.
CONFIG_SUPERH32 is currently trickling into userspace unistd.h. Attached
patch uses __SH5__ define in userspace.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit 45dabf1427a0a876f733b07239ade1bdb0e06010
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Tue Jun 24 13:30:23 2008 +0800
sh: fix seq_file memory leak
When using single_open(), single_release() should be used instead
of seq_release(), otherwise there is a memory leak.
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
commit f13fae2d2a9372a5155d20bc9da4c14f02193277
Author: Christoph Hellwig <hch at infradead.org>
Date: Mon Jul 21 16:16:15 2008 +1000
[XFS] Remove vn_revalidate calls in xfs.
These days most of the attributes in struct inode are properly kept in
sync by XFS. This patch removes the need for vn_revalidate completely by:
- keeping inode.i_flags uptodate after any flags are updated in
xfs_ioctl_setattr
- keeping i_mode, i_uid and i_gid uptodate in xfs_setattr
SGI-PV: 984566
SGI-Modid: xfs-linux-melb:xfs-kern:31679a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 0f285c8a1c4cacfd9f2aec077b06e2b537ee57ab
Author: Christoph Hellwig <hch at infradead.org>
Date: Fri Jul 18 17:13:28 2008 +1000
[XFS] Now that xfs_setattr is only used for attributes set from ->setattr
it can be switched to take struct iattr directly and thus simplify the
implementation greatly. Also rename the ATTR_ flags to XFS_ATTR_ to not
conflict with the ATTR_ flags used by the VFS.
SGI-PV: 984565
SGI-Modid: xfs-linux-melb:xfs-kern:31678a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 25fe55e814a2964c7e16d16a5d08cae6e9313a3a
Author: Christoph Hellwig <hch at infradead.org>
Date: Fri Jul 18 17:13:20 2008 +1000
[XFS] xfs_setattr currently doesn't just handle the attributes set through
->setattr but also addition XFS-specific attributes: project id, inode
flags and extent size hint. Having these in a single function makes it
more complicated and forces to have us a bhv_vattr intermediate structure
eating up stackspace.
This patch adds a new xfs_ioctl_setattr helper for the XFS ioctls that set
these attributes and remove the code to set them through xfs_setattr.
SGI-PV: 984564
SGI-Modid: xfs-linux-melb:xfs-kern:31677a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit c032bfcf468013643e05c8274824af10dd7cbb61
Author: Lachlan McIlroy <lachlan at sgi.com>
Date: Fri Jul 18 17:13:12 2008 +1000
[XFS] fix use after free with external logs or real-time devices
SGI-PV: 983806
SGI-Modid: xfs-linux-melb:xfs-kern:31666a
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
commit 6a617dd22bdbf5a4c9828db98c1a8b076c9e95c8
Author: Tim Shimmin <tes at sgi.com>
Date: Fri Jul 18 17:13:04 2008 +1000
[XFS] A bug was found in xfs_bmap_add_extent_unwritten_real(). In a
particular case, the delta param which is supposed to describe the region
where extents have changed was not updated appropriately.
SGI-PV: 984030
SGI-Modid: xfs-linux-melb:xfs-kern:31663a
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
Signed-off-by: Olaf Weber <olaf at sgi.com>
commit 766b0925c07cd363c17ff54ebf59b6d34d8042d5
Author: Christoph Hellwig <hch at infradead.org>
Date: Fri Jul 18 17:12:50 2008 +1000
[XFS] fix compilation without CONFIG_PROC_FS
SGI-PV: 984019
SGI-Modid: xfs-linux-melb:xfs-kern:31408a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 26cc0021805e66daa6342174fb5a8c1c862f7c8e
Author: Christoph Hellwig <hch at infradead.org>
Date: Fri Jul 18 17:12:43 2008 +1000
[XFS] s/XFS_PURGE_INODE/IRELE/g s/VN_HOLD(XFS_ITOV())/IHOLD()/
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31405a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 62a877e35d5085c65936ed3194d1bbaf84f419e1
Author: Christoph Hellwig <hch at infradead.org>
Date: Fri Jul 18 17:12:36 2008 +1000
[XFS] fix mount option parsing in remount
Remount currently happily accept any option thrown at it, although the
only filesystem specific option it actually handles is barrier/nobarrier.
And it actually doesn't handle these correctly either because it only uses
the value it parsed when we're doing a ro->rw transition. In addition to
that there's also a bad bug in xfs_parseargs which doesn't touch the
actual option in the mount point except for a single one,
XFS_MOUNT_SMALL_INUMS and thus forced any filesystem that's every
remounted in some way to not support 64bit inodes with no way to recover
unless unmounted.
This patch changes xfs_fs_remount to use it's own linux/parser.h based
options parse instead of xfs_parseargs and reject all options except for
barrier/nobarrier and to the right thing in general. Eventually I'd like
to have a single big option table used for mount aswell but that can wait
for a while.
SGI-PV: 983964
SGI-Modid: xfs-linux-melb:xfs-kern:31382a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit deeb5912db12e8b7ccf3f4b1afaad60bc29abed9
Author: Eric Sandeen <sandeen at sandeen.net>
Date: Fri Jul 18 17:12:18 2008 +1000
[XFS] Disable queue flag test in barrier check.
md raid1 can pass down barriers, but does not set an ordered flag on the
queue, so xfs does not even attempt a barrier write, and will never use
barriers on these block devices.
Remove the flag check and just let the barrier write test determine
barrier support.
A possible risk here is that if something does not set an ordered flag and
also does not properly return an error on a barrier write... but if it's
any consolation jbd/ext3/reiserfs never test the flag, and don't even do a
test write, they just disable barriers the first time an actual journal
barrier write fails.
SGI-PV: 983924
SGI-Modid: xfs-linux-melb:xfs-kern:31377a
Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 9f8868ffb39c2f80ba69df4552cb530b6634f646
Author: Christoph Hellwig <hch at infradead.org>
Date: Fri Jul 18 17:11:46 2008 +1000
[XFS] streamline init/exit path
Currently the xfs module init/exit code is a mess. It's farmed out over a
lot of function with very little error checking. This patch makes sure we
propagate all initialization failures properly and clean up after them.
Various runtime initializations are replaced with compile-time
initializations where possible to make this easier. The exit path is
similarly consolidated.
There's now split out function to create/destroy the kmem zones and
alloc/free the trace buffers. I've also changed the ktrace allocations to
KM_MAYFAIL and handled errors resulting from that.
And yes, we really should replace the XFS_*_TRACE ifdefs with a single
XFS_TRACE..
SGI-PV: 976035
SGI-Modid: xfs-linux-melb:xfs-kern:31354a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Niv Sardi <xaiki at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 136f8f21b6d564f553abe6130127d16fb50432d3
Author: Tim Shimmin <tes at sgi.com>
Date: Fri Jun 27 13:34:42 2008 +1000
[XFS] Fix up problem when CONFIG_XFS_POSIX_ACL is not set and yet we still
can use the _ACL_TYPE_* definitions in linux-2.6/xfs_xattr.c. The
forthcoming generic acl code will also fix this problem.
SGI-PV: 982343
SGI-Modid: xfs-linux-melb:xfs-kern:31369a
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 2edbddd5f46cc123b68c11179115041c54759fa2
Author: Lachlan McIlroy <lachlan at sgi.com>
Date: Fri Jun 27 13:34:34 2008 +1000
[XFS] Don't assert if trying to mount with blocksize > pagesize
If we don't do the blocksize/PAGESIZE check before calling
xfs_sb_validate_fsb_count() we can assert if we try to mount with a
blocksize > pagesize. The assert is valid so leave it and just move the
blocksize/pagesize check earlier.
SGI-PV: 983734
SGI-Modid: xfs-linux-melb:xfs-kern:31365a
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
Signed-off-by: David Chinner <dgc at sgi.com>
commit 8f8670bb1cfa177d35c54e4cc96152dc425a7ab3
Author: Christoph Hellwig <hch at infradead.org>
Date: Fri Jun 27 13:34:26 2008 +1000
[XFS] Don't update mtime on rename source
As reported by Michael-John Turner XFS updates the mtime on the source
inode of a rename call in case it's a directory and changes the parent.
This doesn't make any sense, is not mentioned in the standards and not
performed by any other Linux filesystems so remove it.
SGI-PV: 983684
SGI-Modid: xfs-linux-melb:xfs-kern:31364a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 313b5c767a044c7a0db5e773cb7aea70383b2627
Author: Lachlan McIlroy <lachlan at sgi.com>
Date: Fri Jun 27 13:33:11 2008 +1000
[XFS] Allow xfs_bmbt_split() to fallback to the lowspace allocator
algorithm
If xfs_bmbt_split() cannot find an AG with sufficient free space to
satisfy a full extent btree split then fall back to the lowspace allocator
algorithm.
SGI-PV: 983338
SGI-Modid: xfs-linux-melb:xfs-kern:31359a
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
Signed-off-by: David Chinner <dgc at sgi.com>
commit b877e3d37dda0154868a3c78f02f38a1ec14ce79
Author: Lachlan McIlroy <lachlan at sgi.com>
Date: Fri Jun 27 13:33:03 2008 +1000
[XFS] Restore the lowspace extent allocator algorithm
When free space is running low the extent allocator may choose to allocate
an extent from an AG without leaving sufficient space for a btree split
when inserting the new extent (see where xfs_bmap_btalloc() sets minleft
to 0). In this case the allocator will enable the lowspace algorithm which
is supposed to allow further allocations (such as btree splits and
newroots) to allocate from sequential AGs. This algorithm has been broken
for a long time and this patch restores its behaviour.
SGI-PV: 983338
SGI-Modid: xfs-linux-melb:xfs-kern:31358a
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
Signed-off-by: David Chinner <dgc at sgi.com>
commit 4ddd8bb1d25f9cbb345e1f64a56c0f641a787ede
Author: Lachlan McIlroy <lachlan at sgi.com>
Date: Fri Jun 27 13:32:53 2008 +1000
[XFS] use minleft when allocating in xfs_bmbt_split()
The bmap btree split code relies on a previous data extent allocation
(from xfs_bmap_btalloc()) to find an AG that has sufficient space to
perform a full btree split, when inserting the extent. When converting
unwritten extents we don't allocate a data extent so a btree split will be
the first allocation. In this case we need to set minleft so the allocator
will pick an AG that has space to complete the split(s).
SGI-PV: 983338
SGI-Modid: xfs-linux-melb:xfs-kern:31357a
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
Signed-off-by: David Chinner <dgc at sgi.com>
commit e182f57ac019b034b40d16f3c6d8e86826aecd56
Author: Christoph Hellwig <hch at infradead.org>
Date: Fri Jun 27 13:32:31 2008 +1000
[XFS] attrmulti cleanup
xfs_attrmulti_by_handle currently request the size based on
sizeof(attr_multiop_t) but should be using sizeof(xfs_attr_multiop_t)
because that is what it is dealing with. Despite beeing wrong this
actually harmless in practice because both structures are the same size on
all platforms.
But this sizeof was the only user of struct attr_multiop so we can just
kill it. Also move the ATTR_OP_* defines xfs_attr.h into the struct
xfs_attr_multiop defintion in xfs_fs.h because they are only used with
that structure, and are part of the user ABI for the
XFS_IOC_ATTRMULTI_BY_HANDLE ioctl.
SGI-PV: 983508
SGI-Modid: xfs-linux-melb:xfs-kern:31352a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 90ad58a83accbeb8de09de4a55d3e6b429767eae
Author: Christoph Hellwig <hch at infradead.org>
Date: Fri Jun 27 13:32:19 2008 +1000
[XFS] Check for invalid flags in xfs_attrlist_by_handle.
xfs_attrlist_by_handle should only take the ATTR_ flags for the root
namespaces. The ATTR_KERN* flags may change at anytime and expect special
preconditions that can't be guaranteed for userspace-originating requests.
For example passing down ATTR_KERNNOVAL through xfs_attrlist_by_handle
will hit an assert in debug builds currently.
SGI-PV: 983677
SGI-Modid: xfs-linux-melb:xfs-kern:31351a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 07fe4dd48d046feeff8705a2a224a8fba050b1c6
Author: Barry Naujok <bnaujok at sgi.com>
Date: Fri Jun 27 13:32:11 2008 +1000
[XFS] Fix CI lookup in leaf-form directories
Instead of comparing buffer pointers, compare buffer block numbers and
don't keep buff
SGI-PV: 983564
SGI-Modid: xfs-linux-melb:xfs-kern:31346a
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit f9e09f095f323948b26ba09638d2eb3b0578d094
Author: Lachlan McIlroy <lachlan at redback.melbourne.sgi.com>
Date: Mon Jun 23 13:34:09 2008 +1000
[XFS] Use the generic xattr methods.
Add missing file fs/xfs/linux-2.6/xfs_xattr.c
SGI-PV: 982343
SGI-Modid: xfs-linux-melb:xfs-kern:31234a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit ddea2d5246b4ffbe49bbfb700aa3dbe717eb0915
Author: Lachlan McIlroy <lachlan at sgi.com>
Date: Mon Jun 23 13:25:53 2008 +1000
[XFS] Always reset btree cursor after an insert
After a btree insert operation a cursor can be invalid due to block splits
and a maybe a new root block. We reset the cursor in xfs_bmbt_insert() in
the cases where we think we need to but it isn't enough as we still see
assertions. Just do what we do elsewhere and reset the cursor
unconditionally. Also remove the fix to revalidate the original cursor in
xfs_bmbt_insert().
SGI-PV: 983336
SGI-Modid: xfs-linux-melb:xfs-kern:31342a
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
Signed-off-by: David Chinner <dgc at sgi.com>
commit 6bd8fc8a55cba263bab0b1c24786e95c5a2dc720
Author: Lachlan McIlroy <lachlan at sgi.com>
Date: Mon Jun 23 13:25:46 2008 +1000
[XFS] Convert ASSERTs to XFS_WANT_CORRUPTED_GOTOs
ASSERTs are no good to us on a non-debug build so use
XFS_WANT_CORRUPTED_GOTOs to report extent btree corruption ASAP.
SGI-PV: 983500
SGI-Modid: xfs-linux-melb:xfs-kern:31338a
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
commit 90bb7ab077a63facbe3aa0b9e3763a0cb956a4c1
Author: Barry Naujok <bnaujok at sgi.com>
Date: Mon Jun 23 13:25:38 2008 +1000
[XFS] Fix returning case-preserved name with CI node form directories
xfs_dir2_node_lookup() calls xfs_da_node_lookup_int() which iterates
through leaf blocks containing the matching hash value for the name being
looked up. Inside xfs_da_node_lookup_int(), it calls the
xfs_dir2_leafn_lookup_for_entry() for each leaf block.
xfs_dir2_leafn_lookup_for_entry() iterates through each matching
hash/offset pair doing a name comparison to find the matching dirent.
For CI mode, the state->extrablk retains the details of the block that has
the CI match so xfs_dir2_node_lookup() can return the case-preserved name.
The original implementation didn't retain the xfs_da_buf_t properly, so
the lookup was returning a bogus name to be stored in the dentry.
In the case of unlink, the bad name was passed and in debug mode, ASSERTed
when it can't find the entry.
SGI-PV: 983284
SGI-Modid: xfs-linux-melb:xfs-kern:31337a
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit e5700704b2b0853c059e424284cceeff3032ea28
Author: Christoph Hellwig <hch at infradead.org>
Date: Mon Jun 23 13:25:25 2008 +1000
[XFS] Don't update i_size for directories and special files
The core kernel uses vfs_getattr to look at the inode size and similar
attributes, so there is no need to keep i_size uptodate for directories or
special files. This means we can remove xfs_validate_fields because the
I/O path already keeps i_size uptodate for regular files.
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31336a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 8f112e3bc3508afc8d1612868d178359446c08fd
Author: Christoph Hellwig <hch at infradead.org>
Date: Mon Jun 23 13:25:17 2008 +1000
[XFS] Merge xfs_rmdir into xfs_remove
xfs_remove and xfs_rmdir are almost the same with a little more work
performed in xfs_rmdir due to the . and .. entries. This patch merges
xfs_rmdir into xfs_remove and performs these actions conditionally.
Also clean up the error handling which was a nightmare in both versions
before.
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31335a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 61f10fad1947116055c694321d9d8f21152c0582
Author: Tim Shimmin <tes at sgi.com>
Date: Mon Jun 23 13:25:09 2008 +1000
[XFS] Fix up warning for xfs_vn_listxatt's call of list_one_attr() with
context count of ssize_t versus int. Change context count to be ssize_t.
SGI-PV: 983395
SGI-Modid: xfs-linux-melb:xfs-kern:31333a
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 6278debdf95b100a516b803f90d6f11b41c34171
Author: Lachlan McIlroy <lachlan at sgi.com>
Date: Mon Jun 23 13:25:02 2008 +1000
[XFS] fix extent corruption in xfs_iext_irec_compact_full()
This function is used to compact the indirect extent list by moving
extents from one page to the previous to fill them up. After we move some
extents to an earlier page we need to shuffle the remaining extents to the
start of the page. The actual bug here is the second argument to memmove()
needs to index past the extents, that were copied to the previous page,
and move the remaining extents. For pages that are already full (ie
ext_avail == 0) the compaction code has no net effect so don't do it.
SGI-PV: 983337
SGI-Modid: xfs-linux-melb:xfs-kern:31332a
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
commit 7f871d5d1b9b126c1a0cece737a37c6980c988e3
Author: Lachlan McIlroy <lachlan at sgi.com>
Date: Mon Jun 23 13:23:57 2008 +1000
[XFS] make inode reclaim wait for log I/O to complete
During a forced shutdown a xfs inode can be destroyed before log I/O
involving that inode is complete. We need to wait for the inode to be
unpinned before tearing it down. Version 2 cleans up the code a bit by
relying on xfs_iflush() to do the unpinning and forced shutdown check.
SGI-PV: 981240
SGI-Modid: xfs-linux-melb:xfs-kern:31326a
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
Signed-off-by: David Chinner <dgc at sgi.com>
commit ad9b463aa206b8c8f0bab378cf7c090c1a9a8e34
Author: Christoph Hellwig <hch at infradead.org>
Date: Mon Jun 23 13:23:48 2008 +1000
[XFS] Switches xfs_vn_listxattr to set it's put_listent callback directly
and not go through xfs_attr_list.
SGI-PV: 983395
SGI-Modid: xfs-linux-melb:xfs-kern:31324a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit caf8aabdbc6849de772850d26d3dbe35e8f63bff
Author: Christoph Hellwig <hch at infradead.org>
Date: Mon Jun 23 13:23:41 2008 +1000
[XFS] Factor out code for whether inode has attributes or not.
SGI-PV: 983394
SGI-Modid: xfs-linux-melb:xfs-kern:31323a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit ae23a5e87dbbf4657a82e1ff8ebc52ab50361c14
Author: Eric Sandeen <sandeen at sandeen.net>
Date: Mon Jun 23 13:23:32 2008 +1000
[XFS] Pack some shortform dir2 structures for the ARM old ABI
architecture.
This should fix the longstanding issues with xfs and old ABI arm boxes,
which lead to various asserts and xfs shutdowns, and for which an
(incorrect) patch has been floating around for years.
I've verified this patch by comparing the on-disk structure layouts using
pahole from the dwarves package, as well as running through a bit of xfsqa
under qemu-arm, modified so that the check/repair phase after each test
actually executes check/repair from the x86 host, on the filesystem
populated by the arm emulator. Thus far it all looks good.
There are 2 other structures with extra padding at the end, but they don't
seem to cause trouble. I suppose they could be packed as well:
xfs_dir2_data_unused_t and xfs_dir2_sf_t.
Note that userspace needs a similar treatment, and any filesystems which
were running with the previous rogue "fix" will now see corruption (either
in the kernel, or during xfs_repair) with this fix properly in place; it
may be worth teaching xfs_repair to identify and fix that specific issue.
SGI-PV: 982930
SGI-Modid: xfs-linux-melb:xfs-kern:31280a
Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 0ec585163ac81e329bde25fb6311a043a1c63952
Author: Lachlan McIlroy <lachlan at redback.melbourne.sgi.com>
Date: Mon Jun 23 13:23:01 2008 +1000
[XFS] Use the generic xattr methods.
Use the generic set, get and removexattr methods and supply the s_xattr
array with fine-grained handlers. All XFS/Linux highlevel attr handling is
rewritten from scratch and placed into fs/xfs/linux-2.6/xfs_xattr.c so
that it's separated from the generic low-level code.
SGI-PV: 982343
SGI-Modid: xfs-linux-melb:xfs-kern:31234a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit d532506cd8b59543b376e155508f88a03a81dad1
Author: Barry Naujok <bnaujok at sgi.com>
Date: Mon Jun 16 12:07:41 2008 +1000
[XFS] Invalidate dentry in unlink/rmdir if in case-insensitive mode
The vfs_unlink/d_delete functionality in the Linux VFS make the
dentry negative if it is the only inode being referenced. Case-insensitive
mode doesn't work with negative dentries, so if using CI-mode, invalidate
the dentry on unlink/rmdir.
SGI-PV: 983102
SGI-Modid: xfs-linux-melb:xfs-kern:31308a
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
commit 87affd08bc9c741b99053cabb908cf54a135a0fa
Author: Barry Naujok <bnaujok at sgi.com>
Date: Tue Jun 3 11:59:18 2008 +1000
[XFS] Zero uninitialised xfs_da_args structure in xfs_dir2.c
Fixes a problem in the xfs_dir2_remove and xfs_dir2_replace paths which
intenally call directory format specific lookup funtions that assume
args->cmpresult is zeroed.
SGI-PV: 982606
SGI-Modid: xfs-linux-melb:xfs-kern:31268a
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
commit 866d5dc974682c6247d5fde94dbc6545f864e7d7
Author: Barry Naujok <bnaujok at sgi.com>
Date: Thu May 22 17:21:40 2008 +1000
[XFS] Remove d_add call for an ENOENT lookup return code
SGI-PV: 981521
SGI-Modid: xfs-linux-melb:xfs-kern:31214a
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: David Chinner <dgc at sgi.com>
commit d3689d7687dbbc46c5004557d53349f6952fbc93
Author: Barry Naujok <bnaujok at sgi.com>
Date: Wed May 21 18:38:40 2008 +1000
[XFS] kmem_free and kmem_realloc to use const void *
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31212a
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
commit 189f4bf22bdc3c2402b038016d11fd3cb1c89f07
Author: Barry Naujok <bnaujok at sgi.com>
Date: Wed May 21 16:58:55 2008 +1000
[XFS] XFS: ASCII case-insensitive support
Implement ASCII case-insensitive support. It's primary purpose is for
supporting existing filesystems that already use this case-insensitive
mode migrated from IRIX. But, if you only need ASCII-only case-insensitive
support (ie. English only) and will never use another language, then this
mode is perfectly adequate.
ASCII-CI is implemented by generating hashes based on lower-case letters
and doing lower-case compares. It implements a new xfs_nameops vector for
doing the hashes and comparisons for all filename operations.
To create a filesystem with this CI mode, use: # mkfs.xfs -n version=ci
<device>
SGI-PV: 981516
SGI-Modid: xfs-linux-melb:xfs-kern:31209a
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
commit 384f3ced07efdddf6838f6527366089d37843c94
Author: Barry Naujok <bnaujok at sgi.com>
Date: Wed May 21 16:58:22 2008 +1000
[XFS] Return case-insensitive match for dentry cache
This implements the code to store the actual filename found during a
lookup in the dentry cache and to avoid multiple entries in the dcache
pointing to the same inode.
To avoid polluting the dcache, we implement a new directory inode
operations for lookup. xfs_vn_ci_lookup() stores the correct case name in
the dcache.
The "actual name" is only allocated and returned for a case- insensitive
match and not an actual match.
Another unusual interaction with the dcache is not storing negative
dentries like other filesystems doing a d_add(dentry, NULL) when an ENOENT
is returned. During the VFS lookup, if a dentry returned has no inode,
dput is called and ENOENT is returned. By not doing a d_add, this actually
removes it completely from the dcache to be reused. create/rename have to
be modified to support unhashed dentries being passed in.
SGI-PV: 981521
SGI-Modid: xfs-linux-melb:xfs-kern:31208a
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
commit 9403540c0653122ca34884a180439ddbfcbcb524
Author: Barry Naujok <bnaujok at sgi.com>
Date: Wed May 21 16:50:46 2008 +1000
dcache: Add case-insensitive support d_ci_add() routine
This add a dcache entry to the dcache for lookup, but changing the name
that is associated with the entry rather than the one passed in to the
lookup routine.
First, it sees if the case-exact match already exists in the dcache and
uses it if one exists. Otherwise, it allocates a new node with the new
name and splices it into the dcache.
Original code from ntfs_lookup in fs/ntfs/namei.c by Anton Altaparmakov.
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Anton Altaparmakov <aia21 at cantab.net>
Acked-by: Christoph Hellwig <hch at infradead.org>
commit 6a178100abf01282eb697ab62b6086b2886dfc00
Author: Barry Naujok <bnaujok at sgi.com>
Date: Wed May 21 16:42:05 2008 +1000
[XFS] Add op_flags field and helpers to xfs_da_args
The end of the xfs_da_args structure has 4 unsigned char fields for
true/false information on directory and attr operations using the
xfs_da_args structure.
The following converts these 4 into a op_flags field that uses the first 4
bits for these fields and allows expansion for future operation
information (eg. case-insensitive lookup request).
SGI-PV: 981520
SGI-Modid: xfs-linux-melb:xfs-kern:31206a
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
commit 5163f95a08cbf058ae16452c2242c5600fedc32e
Author: Barry Naujok <bnaujok at sgi.com>
Date: Wed May 21 16:41:01 2008 +1000
[XFS] Name operation vector for hash and compare
Adds two pieces of functionality for the basis of case-insensitive support
in XFS:
1. A comparison result enumerated type: xfs_dacmp. It represents an
exact match, case-insensitive match or no match at all. This patch
only implements different and exact results.
2. xfs_nameops vector for specifying how to perform the hash generation
of filenames and comparision methods. In this patch the hash vector
points to the existing xfs_da_hashname function and the comparison
method does a length compare, and if the same, does a memcmp and
return the xfs_dacmp result.
All filename functions that use the hash (create, lookup remove, rename,
etc) now use the xfs_nameops.hashname function and all directory lookup
functions also use the xfs_nameops.compname function.
The lookup functions also handle case-insensitive results even though the
default comparison function cannot return that. And important aspect of
the lookup functions is that an exact match always has precedence over a
case-insensitive. So while a case-insensitive match is found, we have to
keep looking just in case there is an exact match. In the meantime, the
info for the first case-insensitive match is retained if no exact match is
found.
SGI-PV: 981519
SGI-Modid: xfs-linux-melb:xfs-kern:31205a
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
commit 68f34d5107dbace3d14a1c2f060fc8941894879c
Author: Eric Sandeen <sandeen at sandeen.net>
Date: Tue May 20 15:11:17 2008 +1000
[XFS]
de-duplicate calls to xfs_attr_trace_enter
Every call to xfs_attr_trace_enter() shares the exact same 16 args in the
middle... just send in the context pointer and let the next level down
split it into the ktrace.
Compile tested only.
SGI-PV: 976035
SGI-Modid: xfs-linux-melb:xfs-kern:31200a
Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
Signed-off-by: Niv Sardi <xaiki at sgi.com>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc at josefsipek.net>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 120226c11a6277d3e761393f0995c55218fabebb
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue May 20 15:11:11 2008 +1000
[XFS] add missing call to xfs_filestream_unmount on xfs_mountfs failure
SGI-PV: 981951
SGI-Modid: xfs-linux-melb:xfs-kern:31199a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit effa2eda3ab9c013585349b8afd305dc5decf771
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue May 20 15:11:05 2008 +1000
[XFS] rename error2 goto label in xfs_fs_fill_super
SGI-PV: 981951
SGI-Modid: xfs-linux-melb:xfs-kern:31198a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 95db4e21b72603217f0bcafa4da9ee01fc1d2389
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue May 20 15:10:58 2008 +1000
[XFS] kill calls to xfs_binval in the mount error path
xfs_binval aka xfs_flush_buftarg is the first thing done in
xfs_free_buftarg, so there is no need to have duplicated calls just before
xfs_free_buftarg in the mount failure path.
SGI-PV: 981951
SGI-Modid: xfs-linux-melb:xfs-kern:31197a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit c962fb7902669a48a2c613649c1f03865c0ffd1e
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue May 20 15:10:52 2008 +1000
[XFS] kill xfs_mount_init
xfs_mount_init is inlined into xfs_fs_fill_super and allocation switched
to kzalloc. Plug a leak of the mount structure for most early mount
failures. Move xfs_icsb_init_counters to as late as possible in the mount
path and make sure to undo it so that no stale hotplug cpu notifiers are
left around on mount failures.
SGI-PV: 981951
SGI-Modid: xfs-linux-melb:xfs-kern:31196a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit bdd907bab78419f34113c51470192945741b839e
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue May 20 15:10:44 2008 +1000
[XFS] allow xfs_args_allocate to fail
Switch xfs_args_allocate to kzalloc and handle failures.
SGI-PV: 981951
SGI-Modid: xfs-linux-melb:xfs-kern:31195a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit e34b562c6bbffc3c466251ffa1d2adaf163db566
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue May 20 15:10:36 2008 +1000
[XFS] add xfs_setup_devices helper
Split setting the block and sector size out of xfs_fs_fill_super into a
small helper to make xfs_fs_fill_super more readable.
SGI-PV: 981951
SGI-Modid: xfs-linux-melb:xfs-kern:31194a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 19f354d4c3f4c48bf6b2a86227d8e3050e5f7d50
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue May 20 11:31:13 2008 +1000
[XFS] sort out opening and closing of the block devices
Currently closing the rt/log block device is done in the wrong spot, and
far too early. So revampt it:
- xfs_blkdev_put moved out of xfs_free_buftarg into the caller so that
it is done after tearing down the buftarg completely.
- call to xfs_unmountfs_close moved from xfs_mountfs into caller so
that it's done after tearing down the filesystem completely.
- xfs_unmountfs_close is renamed to xfs_close_devices and made static
in xfs_super.c
- opening of the block devices is split into a helper xfs_open_devices
that is symetric in use to xfs_close_devices
- xfs_unmountfs can now lose struct cred
- error handling around device opening sanitized in xfs_fs_fill_super
SGI-PV: 981951
SGI-Modid: xfs-linux-melb:xfs-kern:31193a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit af15b8953a60d336aade96a2c162abffdba75ec9
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue May 20 11:31:05 2008 +1000
[XFS] don't call xfs_freesb from xfs_mountfs failure case
Freeing of the superblock is already handled in the caller, and that is
more symmetric with the mount path, too.
SGI-PV: 981951
SGI-Modid: xfs-linux-melb:xfs-kern:31192a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit f8f15e42b408edce6ca9e9d8bd0d0e2078a39efd
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue May 20 11:30:59 2008 +1000
[XFS] merge xfs_mount into xfs_fs_fill_super
xfs_mount is already pretty linux-specific so merge it into
xfs_fs_fill_super to allow for a more structured mount code in the next
patches. xfs_start_flags and xfs_finish_flags also move to xfs_super.c.
SGI-PV: 981951
SGI-Modid: xfs-linux-melb:xfs-kern:31189a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit e48ad3160e5c5f5b952c7a7ed814f6f289a60100
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue May 20 11:30:52 2008 +1000
[XFS] merge xfs_unmount into xfs_fs_put_super / xfs_fs_fill_super
xfs_unmount is small and already pretty Linux specific, so merge it into
the callers. The real unmount path is simplified a little by doing a
WARN_ON on the xfs_unmount_flush retval directly instead of propagating
the error back to the caller, and the mout failure case in simplified
significantly by removing the forced shutdown case and all the dmapi
events that shouldn't be sent because the dmapi mount event hasn't been
sent by that time either.
SGI-PV: 981951
SGI-Modid: xfs-linux-melb:xfs-kern:31188a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 61436febae29085bffc7c291db03cbd709dc68a3
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue May 20 11:30:46 2008 +1000
[XFS] kill xfs_igrow_start and xfs_igrow_finish
xfs_igrow_start just expands to xfs_zero_eof with two asserts that are
useless in the context of the only caller and some rather confusing
comments.
xfs_igrow_finish is just a few lines of code decorated again with useless
asserts and confusing comments.
Just kill those two and merge them into xfs_setattr.
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31186a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 48b62a1a97f118a5a71ae9222bc6d3481d6b757b
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue May 20 11:30:39 2008 +1000
[XFS] merge xfs_mntupdate into xfs_fs_remount
xfs_mntupdate already is completely Linux specific due to the VFS flags
passed in, so it might aswell be merged into xfs_fs_remount.
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31185a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit fa6adbe08825274a3803abb9aef365f939be7da5
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue May 20 11:30:33 2008 +1000
[XFS] kill xfs_uuid_unmount
Quite useless wrapper that doesn't help making the code more readable.
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31184a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 4b166de0a061e4e89d0741a5d080b141f11e2c9b
Author: David Chinner <dgc at sgi.com>
Date: Tue May 20 11:30:27 2008 +1000
[XFS] Update valid fields in xfs_mount_log_sb()
Recent changes to update the version number during mount (attr2 stuff)
failed to change the assert that checked for calid flags being changed on
mount. Clearly this path hasn't been exercised by the test code....
SGI-PV: 981950
SGI-Modid: xfs-linux-melb:xfs-kern:31183a
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 911ee3de3d1cb6620e2ac4e0678ff434867e2644
Author: Christoph Hellwig <hch at infradead.org>
Date: Mon May 19 16:34:34 2008 +1000
[XFS] Kill attr_capable checks as already done in xattr_permission.
No need for addition permission checks in the xattr handler,
fs/xattr.c:xattr_permission() already does them, and in fact slightly more
strict then what was in the attr_capable handlers.
SGI-PV: 981809
SGI-Modid: xfs-linux-melb:xfs-kern:31164a
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit d748c62367eb630cc30b91d561a5362f597a0892
Author: Matthew Wilcox <willy at linux.intel.com>
Date: Mon May 19 16:34:27 2008 +1000
[XFS] Convert l_flushsema to a sv_t
The l_flushsema doesn't exactly have completion semantics, nor mutex
semantics. It's used as a list of tasks which are waiting to be notified
that a flush has completed. It was also being used in a way that was
potentially racy, depending on the semaphore implementation.
By using a sv_t instead of a semaphore we avoid the need for a separate
counter, since we know we just need to wake everything on the queue.
Original waitqueue implementation from Matthew Wilcox. Cleanup and
conversion to sv_t by Christoph Hellwig.
SGI-PV: 981507
SGI-Modid: xfs-linux-melb:xfs-kern:31059a
Signed-off-by: Matthew Wilcox <willy at linux.intel.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit d729eae8933cb3eb8edf1446532c178b66b293a9
Author: Michael Nishimoto <miken at agami.com>
Date: Mon May 19 16:34:20 2008 +1000
[XFS] Ensure that 2 GiB xfs logs work properly.
We found this while experimenting with 2GiB xfs logs. The previous code
never assumed that xfs logs would ever get so large.
SGI-PV: 981502
SGI-Modid: xfs-linux-melb:xfs-kern:31058a
Signed-off-by: Michael Nishimoto <miken at agami.com>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit b41759cf11c84ad0d569c0ef200c449ad2cc24e3
Author: Denys Vlasenko <vda.linux at googlemail.com>
Date: Mon May 19 16:34:11 2008 +1000
[XFS] Remove unused wbc parameter from xfs_start_page_writeback()
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31057a
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 4f0e8a9816e78306bb821018613dbd2513184d8a
Author: Denys Vlasenko <vda.linux at googlemail.com>
Date: Mon May 19 16:34:04 2008 +1000
[XFS] Remove unused Falgs parameter from xfs_qm_dqpurge()
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31056a
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit f0e2d93c29dc39ffd24cac180a19d48f700c0706
Author: Denys Vlasenko <vda.linux at googlemail.com>
Date: Mon May 19 16:31:57 2008 +1000
[XFS] Remove unused arg from kmem_free()
kmem_free() function takes (ptr, size) arguments but doesn't actually use
second one.
This patch removes size argument from all callsites.
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31050a
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
Signed-off-by: David Chinner <dgc at sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 7c12f296500e1157872ef45b3f3bb06b4b73f1c1
Author: Tim Shimmin <tes at sgi.com>
Date: Wed Apr 30 18:15:28 2008 +1000
[XFS] Fix up noattr2 so that it will properly update the versionnum and
features2 fields.
Previously, mounting with noattr2 failed to achieve anything because
although it cleared the attr2 mount flag, it would set it again as soon as
it processed the superblock fields. The fix now has an explicit noattr2
flag and uses it later to fix up the versionnum and features2 fields.
SGI-PV: 980021
SGI-Modid: xfs-linux-melb:xfs-kern:31003a
Signed-off-by: Tim Shimmin <tes at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit f9f6dce01905179d9a209cc1e69fe9047736c112
Author: Barry Naujok <bnaujok at sgi.com>
Date: Thu Apr 17 16:49:43 2008 +1000
[XFS] Split xfs_dir2_leafn_lookup_int into its two pieces of functionality
SGI-PV: 976035
SGI-Modid: xfs-linux-melb:xfs-kern:30834a
Signed-off-by: Barry Naujok <bnaujok at sgi.com>
Signed-off-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan at sgi.com>
commit 00df438e89a9003895948170e1abf64dd4665872
Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Mon Jul 28 16:13:18 2008 +1000
powerpc: Disable 64K hugetlb support when doing 64K SPU mappings
The 64K SPU local store mapping feature is incompatible with the
64K huge pages support due to the inability of some parts of
the memory management to differenciate between them while they
use a different page table format.
For now, disable 64K huge pages when CONFIG_SPU_FS_64K_LS,
in the long run, this can be fixed by making this feature use
the hugetlb page table format.
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 025d7917a5ede982a5669c6735ef73a227b9827e
Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Mon Jul 28 13:49:15 2008 +1000
powerpc/powermac: Fixup default serial port device for pmac_zilog
This removes the non-working code in legacy_serial that tried to handle
the powermac SCC ports, and instead add a (now working) function to the
powermac platform code to find the default serial console if any.
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit f023bf0f91f1f1b926ec8f5cf0ee24be134bf024
Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Mon Jul 28 12:06:19 2008 +1000
powerpc/powermac: Use sane default baudrate for SCC debugging
When using the "sccdbg" option to route early kernel messages and
xmon to the SCC serial port on PowerMacs, when this wasn't the
configured output port of Open Firmware, we initialize the baudrate
to 57600bps. This isn't a very good default on some powermacs where
both the FW and pmac_zilog will default to 38400. This fixes it to
use the same logic as pmac_zilog to pick a default speed.
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 83ac6a1ed40bfbe185cf2bac5505d8d97aad8b1d
Author: Nick Piggin <npiggin at suse.de>
Date: Sun Jul 27 20:28:03 2008 -0700
powerpc/mm: Implement _PAGE_SPECIAL & pte_special() for 64-bit
Implement _PAGE_SPECIAL and pte_special() for 64-bit powerpc. This bit will
be used by the fast get_user_pages() to differenciate PTEs that correspond
to a valid struct page from special mappings that don't such as IO mappings
obtained via io_remap_pfn_ranges().
Signed-off-by: Nick Piggin <npiggin at suse.de>
Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Paul Mackerras <paulus at samba.org>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: "Paul E. McKenney" <paulmck at us.ibm.com>
Reviewed-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 124c27d375f72dd857eac27f2932f9f01df76bf4
Author: Nathan Lynch <ntl at pobox.com>
Date: Sun Jul 27 15:24:55 2008 +1000
powerpc: Show processor cache information in sysfs
Collect cache information from the OF device tree and display it in
the cpu hierarchy in sysfs. This is intended to be compatible at the
userspace level with x86's implementation[1], hence some of the funny
attribute names. The arrangement of cache info is not immediately
intuitive, but (again) it's for compatibility's sake.
The cache attributes exposed are:
type (Data, Instruction, or Unified)
level (1, 2, 3...)
size
coherency_line_size
number_of_sets
ways_of_associativity
All of these can be derived on platforms that follow the OF PowerPC
Processor binding. The code "publishes" only those attributes for
which it is able to determine values; attributes for values which
cannot be determined are not created at all.
[1] arch/x86/kernel/cpu/intel_cacheinfo.c
BenH: Turned some printk's into pr_debug, added better NULL checking
in a couple of places.
Signed-off-by: Nathan Lynch <ntl at pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit e9efed3b80a83e44b98fc626f3268ae072550b84
Author: Nathan Lynch <ntl at pobox.com>
Date: Sun Jul 27 15:24:54 2008 +1000
powerpc: Make core id information available to userspace
Existing Open Firmware practice is to report each processor core as a
separate node in the device tree. Report the value of the "reg" OF
property corresponding to a logical CPU's device node as the core_id
attribute in /sys/devices/system/cpu/cpu*/topology/core_id.
Signed-off-by: Nathan Lynch <ntl at pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 440a0857e32a05979fb01fc59ea454a723e80e4b
Author: Nathan Lynch <ntl at pobox.com>
Date: Sun Jul 27 15:24:53 2008 +1000
powerpc: Make core sibling information available to userspace
Implement the notion of "core siblings" for powerpc. This makes
/sys/devices/system/cpu/cpu*/topology/core_siblings present sensible
values, indicating online CPUs which share an L2 cache.
BenH: Made cpu_to_l2cache() use of_find_node_by_phandle() instead
of IBM-specific open coded search
Signed-off-by: Nathan Lynch <ntl at pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 0764bf63da5466474eebf7d21994cf6b106265a3
Author: Stephen Rothwell <sfr at canb.auug.org.au>
Date: Mon Jul 28 02:22:14 2008 +1000
powerpc/vio: More fallout from dma_mapping_error API change
arch/powerpc/kernel/vio.c:533: error: too few arguments to function 'dma_mapping_error'
Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit c713e7cbfa529f87e18bb2eacb2ccdd4ee0ef7d3
Author: Stephen Rothwell <sfr at canb.auug.org.au>
Date: Mon Jul 28 02:14:24 2008 +1000
ibmveth: Fix multiple errors with dma_mapping_error conversion
The addition of an argument to dma_mapping_error() in commit
8d8bb39b9eba32dd70e87fd5ad5c5dd4ba118e06 "dma-mapping: add the device
argument to dma_mapping_error()" left a bit of fallout:
drivers/net/ibmveth.c:263: error: too few arguments to function 'dma_mapping_error'
drivers/net/ibmveth.c:264: error: expected ')' before 'goto'
drivers/net/ibmveth.c:284: error: expected expression before '}' token
drivers/net/ibmveth.c:297: error: too few arguments to function 'dma_mapping_error'
drivers/net/ibmveth.c:298: error: expected ')' before 'dma_unmap_single'
drivers/net/ibmveth.c:306: error: expected expression before '}' token
drivers/net/ibmveth.c:491: error: too few arguments to function 'dma_mapping_error'
drivers/net/ibmveth.c:927: error: too few arguments to function 'dma_mapping_error'
drivers/net/ibmveth.c:927: error: expected ')' before '{' token
drivers/net/ibmveth.c:974: error: expected expression before '}' token
drivers/net/ibmveth.c:914: error: label 'out' used but not defined m
Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 3cee67f77922721e90c1573d84c07e18c5508713
Author: Stephen Rothwell <sfr at canb.auug.org.au>
Date: Mon Jul 28 00:51:02 2008 +1000
powerpc/pseries: Fix CMO sysdev attribute API change fallout
Noticed due to these wanings:
arch/powerpc/platforms/pseries/cmm.c:298: warning: initialization from incompatible pointer type
arch/powerpc/platforms/pseries/cmm.c:299: warning: initialization from incompatible pointer type
arch/powerpc/platforms/pseries/cmm.c:320: warning: initialization from incompatible pointer type
arch/powerpc/platforms/pseries/cmm.c:320: warning: initialization from incompatible pointer type
Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit dec2b0d0cc64e495a3c9c5700fa7a3b397b5e855
Author: Roland McGrath <roland at redhat.com>
Date: Sun Jul 27 16:53:20 2008 +1000
powerpc: Enable tracehook for the architecture
The powerpc arch code has all the prerequisites, so set HAVE_ARCH_TRACEHOOK.
Signed-off-by: Roland McGrath <roland at redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 7d6d637dac2050f30a1b57b0a3dc5de4a10616ba
Author: Roland McGrath <roland at redhat.com>
Date: Sun Jul 27 16:52:52 2008 +1000
powerpc: Add TIF_NOTIFY_RESUME support for tracehook
This adds TIF_NOTIFY_RESUME support for powerpc. When set,
we call tracehook_notify_resume() on the way to user mode.
This overloads do_signal() to do the work, but changes its
arguments to it has the TIF_* bits handy in a register and
drops the useless first argument that was always zero.
Signed-off-by: Roland McGrath <roland at redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit f1ba12856b7a7d43e495e216bc91e6bbf7aac383
Author: Roland McGrath <roland at redhat.com>
Date: Sun Jul 27 16:51:35 2008 +1000
powerpc: Add asm/syscall.h with the tracehook entry points
Add asm/syscall.h for powerpc with all the required entry points.
This will allow arch-independent tracing code for system calls.
BenH: Fixed up use of regs->trap to properly mask low bit
Signed-off-by: Roland McGrath <roland at redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 4f72c4279eab1e5f3ed1ac4e55d4527617582392
Author: Roland McGrath <roland at redhat.com>
Date: Sun Jul 27 16:51:03 2008 +1000
powerpc: Make syscall tracing use tracehook.h helpers
This changes powerpc syscall tracing to use the new tracehook.h entry
points. There is no change, only cleanup.
In addition, the assembly changes allow do_syscall_trace_enter() to
abort the syscall without losing the information about the original
r0 value.
Signed-off-by: Roland McGrath <roland at redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 6558ba2b5cc3a2f22039db30616fcd07c1b28ac8
Author: Roland McGrath <roland at redhat.com>
Date: Sun Jul 27 16:49:50 2008 +1000
powerpc: Call tracehook_signal_handler() when setting up signal frames
This makes the powerpc signal handling code call tracehook_signal_handler()
after a handler is set up. This means that using PTRACE_SINGLESTEP to
enter a signal handler will report to ptrace on the first instruction of
the handler, instead of the second. This is consistent with what x86 and
other machines do, and what users and debuggers want.
BenH: Fixed up the test for the trap value.
Signed-off-by: Roland McGrath <roland at redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit e2075f79a99b45a6cc10de021c93f07212098a84
Author: Nathan Lynch <ntl at pobox.com>
Date: Sun Jul 27 15:24:52 2008 +1000
powerpc: Update cpu_sibling_maps dynamically
Rather doing one initialization pass over all the per-cpu
cpu_sibling_maps at boot, update the maps at cpu online/offline time.
This is a behavior change -- the thread_siblings attribute now
reflects only online siblings, whereas it would display offline
siblings before. The new behavior matches that of x86, and is
arguably more useful.
Signed-off-by: Nathan Lynch <ntl at pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 9ba1984ead5d25c93d241e0ee43f8f6a252f60d9
Author: Nathan Lynch <ntl at pobox.com>
Date: Sun Jul 27 15:24:51 2008 +1000
powerpc: register_cpu_online should be __cpuinit
It is called only in cpu online paths.
(caught by CONFIG_DEBUG_SECTION_MISMATCH=y)
Signed-off-by: Nathan Lynch <ntl at pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 7d2f6075f992d33c7be829c3638b8cb72b782b19
Author: Nathan Lynch <ntl at pobox.com>
Date: Sun Jul 27 15:24:50 2008 +1000
powerpc: kill useless SMT code in prom_hold_cpus
This piece of code is broken for >2 threads, and possibly in some
other subtle ways (such as comparing a value obtained from an
"ibm,ppc-interrupt-server#s" property to a value obtained from a
"reg" property) and doesn't seem to have any useful purpose in the
first place other than a dubious warning in case NR_CPUS is too
small, which probably isn't the right place to do so.
Signed-off-by: Nathan Lynch <ntl at pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit ff8dc7698c904f2a911e89b3d54e7c4a74f5575d
Author: Kumar Gala <galak at kernel.crashing.org>
Date: Sun Jul 27 03:57:30 2008 +1000
powerpc: Fix 8xx build failure
The 'powerpc ioremap_prot' broke 8xx builds:
include2/asm/pgtable-ppc32.h:555: error: '_PAGE_WRITETHRU' undeclared (first use in this function)
include2/asm/pgtable-ppc32.h:555: error: (Each undeclared identifier is reported only once
include2/asm/pgtable-ppc32.h:555: error: for each function it appears in.)
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit b9fa49a9a908407d9366b0e1e7222aee81a2df5b
Author: Nathan Lynch <ntl at pobox.com>
Date: Sat Jul 26 09:06:17 2008 +1000
powerpc: Fix vio build warnings
arch/powerpc/kernel/vio.c:1034: warning: function declaration isnâÂÂt a prototype
arch/powerpc/kernel/vio.c:1035: warning: function declaration isnâÂÂt a prototype
Signed-off-by: Nathan Lynch <ntl at pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 2325f0a0c3d76bb515f3312ab2b16afdbffcc594
Author: Kumar Gala <galak at kernel.crashing.org>
Date: Sat Jul 26 05:27:33 2008 +1000
powerpc/booke: Clean up the hardware watchpoint support
* CONFIG_BOOKE is selected by CONFIG_44x so we dont need both
* Fixed a few comments
* Go back to only using DBCR0_IDM to determine if we are using
debug resources.
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit d3b060231b2e1eb7e7e9680ff93326a4ae576720
Author: Huang Weiyi <weiyi.huang at gmail.com>
Date: Thu Jul 24 00:44:51 2008 +1000
powerpc: Removed duplicated include in stacktrace.c
Removed duplicated include file <linux/module.h> in
arch/powerpc/kernel/stacktrace.c.
Signed-off-by: Huang Weiyi <weiyi.huang at gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit d65d830ca06040ffe6a35ce7cb06ee642ddbd6a8
Merge: 837b41b5de356aa67abb2cadb5eef3efc7776f91 284b01897340974000bcc84de87a4e1becc8a83d
Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Mon Jul 28 16:30:40 2008 +1000
Merge commit 'gcl/gcl-next'
commit 784e2d76007f90d69341b95967160c4fb7829299
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Jul 28 12:16:31 2008 -0500
stop_machine: fix up ftrace.c
Simple conversion.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Cc: Abhishek Sagar <sagar.abhishek at gmail.com>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Steven Rostedt <rostedt at goodmis.org>
commit 9b1a4d38373a5581a4e01032a3ccdd94cd93477b
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Jul 28 12:16:30 2008 -0500
stop_machine: Wean existing callers off stop_machine_run()
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit eeec4fad963490821348a331cca6102ae1c4a7a3
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Jul 28 12:16:30 2008 -0500
stop_machine(): stop_machine_run() changed to use cpu mask
Instead of a "cpu" arg with magic values NR_CPUS (any cpu) and ~0 (all
cpus), pass a cpumask_t. Allow NULL for the common case (where we
don't care which CPU the function is run on): temporary cpumask_t's
are usually considered bad for stack space.
This deprecates stop_machine_run, to be removed soon when all the
callers are dead.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 04321587584272f4e8b9818f319f40caf8eeee13
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Jul 28 12:16:29 2008 -0500
Hotplug CPU: don't check cpu_online after take_cpu_down
Akinobu points out that if take_cpu_down() succeeds, the cpu must be offline.
Remove the cpu_online() check, and put a BUG_ON().
Quoting Akinobu Mita:
Actually the cpu_online() check was necessary before appling this
stop_machine: simplify patch.
With old __stop_machine_run(), __stop_machine_run() could succeed
(return !IS_ERR(p) value) even if take_cpu_down() returned non-zero value.
The return value of take_cpu_down() was obtained through kthread_stop()..
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Cc: "Akinobu Mita" <akinobu.mita at gmail.com>
commit ffdb5976c47609c862917d4c186ecbb5706d2dda
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Jul 28 12:16:28 2008 -0500
Simplify stop_machine
stop_machine creates a kthread which creates kernel threads. We can
create those threads directly and simplify things a little. Some care
must be taken with CPU hotunplug, which has special needs, but that code
seems more robust than it was in the past.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Acked-by: Christian Borntraeger <borntraeger at de.ibm.com>
commit 5c2aed622571ac7c3c6ec182d6d3c318e4b45c8b
Author: Jason Baron <jbaron at redhat.com>
Date: Thu Feb 28 11:33:03 2008 -0500
stop_machine: add ALL_CPUS option
-allow stop_mahcine_run() to call a function on all cpus. Calling
stop_machine_run() with a 'ALL_CPUS' invokes this new behavior.
stop_machine_run() proceeds as normal until the calling cpu has
invoked 'fn'. Then, we tell all the other cpus to call 'fn'.
Signed-off-by: Jason Baron <jbaron at redhat.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at polymtl.ca>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
CC: Adrian Bunk <bunk at stusta.de>
CC: Andi Kleen <andi at firstfloor.org>
CC: Alexey Dobriyan <adobriyan at gmail.com>
CC: Christoph Hellwig <hch at infradead.org>
CC: mingo at elte.hu
CC: akpm at osdl.org
commit 15bba37d62351749c3915add81f673b256952ee1
Author: WANG Cong <xiyou.wangcong at gmail.com>
Date: Thu Jul 24 15:41:48 2008 +0100
module: fix build warning with !CONFIG_KALLSYMS
This patch fixed the warning:
CC kernel/module.o
/home/wangcong/Projects/linux-2.6/kernel/module.c:332: warning:
âlookup_symbolâ defined but not used
Signed-off-by: WANG Cong <wangcong at zeuux.org>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit c2f90e9536887fb76fb6a2aa239a70fc49beda10
Merge: f3409f71a76838b1bc985f753eed787a3f17bc2c c9272c4f9fbe2087beb3392f526dc5b19efaa56b
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Sun Jul 27 22:23:18 2008 -0300
Merge ../linux-2.6
commit 04d91cb8163f7f946e348b2362a6e5dfa5f06b13
Author: David S. Miller <davem at davemloft.net>
Date: Sun Jul 27 03:53:32 2008 -0700
sparc: Set CONFIG_HAVE_ARCH_TRACEHOOK
Signed-off-by: David S. Miller <davem at davemloft.net>
commit ebd3c003335c3af1e3cb43a5955ba02e7ed2984c
Author: David S. Miller <davem at davemloft.net>
Date: Sun Jul 27 03:43:51 2008 -0700
sparc: Add task_pt_regs().
Signed-off-by: David S. Miller <davem at davemloft.net>
commit b8b751bedcd00985550d84901c07eda427413e7b
Author: David S. Miller <davem at davemloft.net>
Date: Sun Jul 27 03:40:53 2008 -0700
sparc: Add call to tracehook_signal_handler().
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 5a157d5bf8288eaa86ec269a966559594ddd542e
Author: David S. Miller <davem at davemloft.net>
Date: Sun Jul 27 03:38:53 2008 -0700
sparc: Create and use TIF_NOTIFY_RESUME.
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 1c133b4b3d58bf88293eeea0d9d090777333bf48
Author: David S. Miller <davem at davemloft.net>
Date: Sun Jul 27 03:13:13 2008 -0700
sparc: Use tracehook routines in syscall_trace().
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 768225868c16d882f7a38a11027945284dc9f49e
Author: Roland McGrath <roland at redhat.com>
Date: Sun Apr 20 17:42:22 2008 -0700
sparc64: tracehook: CONFIG_HAVE_ARCH_TRACEHOOK
The sparc64 arch code has all the prerequisites, so set HAVE_ARCH_TRACEHOOK.
Signed-off-by: Roland McGrath <roland at redhat.com>
commit ac76cfd0881b5dc45a9301e3a4f73ff9ccc2d2f2
Author: David S. Miller <davem at davemloft.net>
Date: Sun Jul 27 01:59:21 2008 -0700
sparc: Add user_stack_pointer().
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 95698466cf50b707d8a55af87e4dbec56b1533cb
Author: Roland McGrath <roland at redhat.com>
Date: Sun Jul 27 01:08:02 2008 -0700
sparc64: tracehook_signal_handler
Call the standard hook after setting up signal handlers.
Signed-off-by: Roland McGrath <roland at redhat.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit e35a8925e0e7af8b26161a2c161ea31be0296b80
Author: Roland McGrath <roland at redhat.com>
Date: Sun Apr 20 15:06:49 2008 -0700
sparc64: tracehook: TIF_NOTIFY_RESUME
This adds TIF_NOTIFY_RESUME support for sparc64.
When set, we call tracehook_notify_resume() on the way to user mode.
Signed-off-by: Roland McGrath <roland at redhat.com>
commit badcbf0e8654c4a4ca51fe46c75a70376e83c1ef
Author: David S. Miller <davem at davemloft.net>
Date: Sun Jul 27 00:53:10 2008 -0700
sparc: Add asm/syscall.h
Based upon a patch by Roland McGrath.
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 73ccefab8a6590bb3d5b44c046010139108ab7ca
Author: Roland McGrath <roland at redhat.com>
Date: Sun Jul 27 00:30:50 2008 -0700
sparc64: tracehook syscall
This changes sparc64 syscall tracing to use the new tracehook.h entry
points.
[ Add assembly changes to force an immediate -ENOSYS return from
the system call when syscall_trace() returns non-zero at syscall
entry. -DaveM ]
Signed-off-by: Roland McGrath <roland at redhat.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 5cfc17766685c79d1a348bce24af9c9dbc0d8d67
Merge: c9272c4f9fbe2087beb3392f526dc5b19efaa56b a1bd021e56fff91cc9354ffb232fd9f0f577099c
Author: David S. Miller <davem at davemloft.net>
Date: Sun Jul 27 17:09:02 2008 -0700
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/sam/sparc
commit 281c7413ed914623d3245299a4761b6b27ab9fdb
Merge: 2ab61b01110aa04cd853c619a74881e3225a5e24 c9272c4f9fbe2087beb3392f526dc5b19efaa56b
Author: David S. Miller <davem at davemloft.net>
Date: Sun Jul 27 16:51:21 2008 -0700
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
commit c9272c4f9fbe2087beb3392f526dc5b19efaa56b
Merge: fb4284b2b7cfaf3b89557667587cca90bddccc59 744d18dbfae07482ea461701b0aaec3a75ec9224
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sun Jul 27 16:47:55 2008 -0700
Merge branch 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
* 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
NFS: Ensure we call nfs_sb_deactive() after releasing the directory inode
nfs_remount oops when rebooting + possible fix
commit fb4284b2b7cfaf3b89557667587cca90bddccc59
Merge: 3e318b5b55fafebd3a6e4dd3a00b79bfc0668675 583323b9d2f624884a8c9563fb5a4d795f39ab07
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sun Jul 27 16:46:51 2008 -0700
Merge branch 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip
* 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip:
x86: fix cpu hotplug on 32bit
commit 3e318b5b55fafebd3a6e4dd3a00b79bfc0668675
Merge: 940389b8afad6495211614c13eb91ef7001773ec 53cdb27a933e4032934cbda0b447cfc9943c0eac
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sun Jul 27 16:46:08 2008 -0700
Merge master.kernel.org:/home/rmk/linux-2.6-arm
* master.kernel.org:/home/rmk/linux-2.6-arm:
[ARM] Fix shared mmap when more than two maps of the same file exist
[ARM] fix VIPT/VIVT macro optimisations, add comments
[ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_*
[ARM] update defconfig for eseries.
[ARM] PXA: squash warning in pxafb
[ARM] pxa: PXA25x UDC - Fix warning during build
[ARM] fix nwflash.c: 6ee8928d94841aa764aeaf645ad16daff811dc26
[ARM] fix IOP32x, IOP33x, MXC and Samsung builds
[ARM] pci: provide dummy pci_get_legacy_ide_irq()
[ARM] fix fls() for 64-bit arguments
[ARM] fix mode for board-yl-9200.c
[ARM] 5176/1: arm/Makefile: fix: ARM946T -> ARM946E
commit 940389b8afad6495211614c13eb91ef7001773ec
Author: Andrea Righi <righi.andrea at gmail.com>
Date: Mon Jul 28 00:48:12 2008 +0200
task IO accounting: move all IO statistics in struct task_io_accounting
Simplify the code of include/linux/task_io_accounting.h.
It is also more reasonable to have all the task i/o-related statistics in a
single struct (task_io_accounting).
Signed-off-by: Andrea Righi <righi.andrea at gmail.com>
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f3409f71a76838b1bc985f753eed787a3f17bc2c
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Sun Jul 27 19:30:46 2008 -0300
V4L/DVB (8549): mxl5007: Fix an error at include file
mxl5007 was forcing for its compilation:
In file included from drivers/media/common/tuners/mxl5007t.c:25:drivers/media/common/tuners/mxl5007t.h:80:1: warning: "CONFIG_MEDIA_TUNER_MXL5007T" redefined
In file included from <command-line>:0:
./include/linux/autoconf.h:2782:1: warning: this is the location of the previous definition
Probably, some temporary hack for testing.
Cc: Michael Krufky <mkrufky at linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 744d18dbfae07482ea461701b0aaec3a75ec9224
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date: Sun Jul 27 18:03:19 2008 -0400
NFS: Ensure we call nfs_sb_deactive() after releasing the directory inode
In order to avoid the "Busy inodes after unmount" error message, we need to
ensure that nfs_async_unlink_release() releases the super block after the
call to nfs_free_unlinkdata().
Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>
commit 31c9446993f412ecb7875e30bba4bc7f216ae016
Author: Marc Zyngier <maz at misterjones.org>
Date: Thu Jul 17 13:21:55 2008 +0200
nfs_remount oops when rebooting + possible fix
Jeff, Trond,
The commit
48b605f83c920d8daa50e43fc2c7f718e04c7bfa (NFS: implement option checking
when remounting NFS filesystems (resend))
generate an Oops on my platform when rebooting while its root FS on
an NFS share (NFSv3, TCP) :
Unmounting local filesystems...done.
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c3d00000
[00000000] *pgd=a3d72031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
Modules linked in: cpufreq_powersave cpufreq_ondemand cpufreq_userspace cpufreq_conservative ext3 jbd sd_mod pata_pcmcia libata scsi_mod pcmcia loop firmware_class pxafb cfbcopyarea cfbimgblt cfbfillrect pxa2xx_cs pxa2xx_core pcmcia_core snd_pxa2xx_ac97 snd_ac97_codec ac97_bus snd_pxa2xx_pcm snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd isp116x_hcd soundcore rtc_sa1100 snd_page_alloc pxa25x_udc usbcore rtc_ds1307 rtc_core
CPU: 0 Not tainted (2.6.26-03414-g33af79d-dirty #15)
PC is at nfs_remount+0x40/0x264
LR is at do_remount_sb+0x158/0x194
pc : [<c00bbf54>] lr : [<c0076c40>] psr: 60000013
sp : c2dd1e70 ip : c2dd1e98 fp : c2dd1e94
r10: 00000040 r9 : c3d17000 r8 : c3c3fc40
r7 : 00000000 r6 : 00000000 r5 : c3d2b200 r4 : 00000000
r3 : 00000003 r2 : 00000000 r1 : c2dd1e9c r0 : c3c3fc00
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 0000397f Table: a3d00000 DAC: 00000015
Process mount (pid: 1462, stack limit = 0xc2dd0270)
Stack: (0xc2dd1e70 to 0xc2dd2000)
1e60: 00000000 c3c3fc00 00000000 00000000
1e80: c3c3fc40 c3d17000 c2dd1ebc c2dd1e98 c0076c40 c00bbf20 c01c61e4 00000001
1ea0: c2dd1ebc 00000001 c3c3fc00 c2dd1ef0 c2dd1ee4 c2dd1ec0 c008c6d8 c0076af4
1ec0: 00000021 00000040 c2dd1ef0 c3d77000 c3eaa000 00000000 c2dd1f6c c2dd1ee8
1ee0: c008d1bc c008c5f8 00000000 c2dd0000 c3c0c320 c3805b38 c002064c 0001f820
1f00: 0001f810 00000001 00000001 00000000 c2dd0000 00000000 c2dd1f34 c2dd1f28
1f20: c005ead8 c005e6f8 c2dd1f44 c2dd1f38 c005eaf8 c005ead0 c2dd1f6c c2dd1f48
1f40: c008ae3c 00000000 c3d77000 0001f810 c0ed0021 c0020ca8 c2dd0000 00000000
1f60: c2dd1fa4 c2dd1f70 c008d2d4 c008d0bc 00000000 0001f810 c2dd1f9c c3eaa000
1f80: c3d17000 00000000 00000000 be8b6aa8 be8b6ad0 00000015 00000000 c2dd1fa8
1fa0: c0020b00 c008d254 00000000 be8b6aa8 0001f810 0001f820 0001f830 c0ed0021
1fc0: 00000000 be8b6aa8 be8b6ad0 00000015 00000000 be8b6ad0 0001f810 be8b6aa8
1fe0: 0001f810 be8b6964 0000aab8 40125124 60000010 0001f810 00000000 00000000
Backtrace:
[<c00bbf14>] (nfs_remount+0x0/0x264) from [<c0076c40>] (do_remount_sb+0x158/0x194)
r9:c3d17000 r8:c3c3fc40 r7:00000000 r6:00000000 r5:c3c3fc00
r4:00000000
[<c0076ae8>] (do_remount_sb+0x0/0x194) from [<c008c6d8>] (do_remount+0xec/0x118)
r6:c2dd1ef0 r5:c3c3fc00 r4:00000001
[<c008c5ec>] (do_remount+0x0/0x118) from [<c008d1bc>] (do_mount+0x10c/0x198)
[<c008d0b0>] (do_mount+0x0/0x198) from [<c008d2d4>] (sys_mount+0x8c/0xd4)
[<c008d248>] (sys_mount+0x0/0xd4) from [<c0020b00>] (ret_fast_syscall+0x0/0x2c)
r7:00000015 r6:be8b6ad0 r5:be8b6aa8 r4:00000000
Code: 0a000086 ea000006 e3530003 8a000004 (e5923000)
---[ end trace 55e1b689cf8c8a6a ]---
------------[ cut here ]------------
WARNING: at kernel/exit.c:966 do_exit+0x3c/0x628()
Modules linked in: cpufreq_powersave cpufreq_ondemand cpufreq_userspace cpufreq_conservative ext3 jbd sd_mod pata_pcmcia libata scsi_mod pcmcia loop firmware_class pxafb cfbcopyarea cfbimgblt cfbfillrect pxa2xx_cs pxa2xx_core pcmcia_core snd_pxa2xx_ac97 snd_ac97_codec ac97_bus snd_pxa2xx_pcm snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd isp116x_hcd soundcore rtc_sa1100 snd_page_alloc pxa25x_udc usbcore rtc_ds1307 rtc_core
[<c0025168>] (dump_stack+0x0/0x14) from [<c0032154>] (warn_on_slowpath+0x4c/0x68)
[<c0032108>] (warn_on_slowpath+0x0/0x68) from [<c003531c>] (do_exit+0x3c/0x628)
r6:0000000b r5:c3c3dc80 r4:c2dd0000
[<c00352e0>] (do_exit+0x0/0x628) from [<c0025004>] (die+0x2b0/0x30c)
[<c0024d54>] (die+0x0/0x30c) from [<c00270bc>] (__do_kernel_fault+0x6c/0x80)
[<c0027050>] (__do_kernel_fault+0x0/0x80) from [<c00272e0>] (do_page_fault+0x210/0x230)
r7:c3fa7118 r6:c3c3dc80 r5:c3d166a8 r4:00010000
[<c00270d0>] (do_page_fault+0x0/0x230) from [<c00201ec>] (do_DataAbort+0x3c/0xa0)
[<c00201b0>] (do_DataAbort+0x0/0xa0) from [<c002064c>] (__dabt_svc+0x4c/0x60)
Exception stack(0xc2dd1e28 to 0xc2dd1e70)
1e20: c3c3fc00 c2dd1e9c 00000000 00000003 00000000 c3d2b200
1e40: 00000000 00000000 c3c3fc40 c3d17000 00000040 c2dd1e94 c2dd1e98 c2dd1e70
1e60: c0076c40 c00bbf54 60000013 ffffffff
r8:c3c3fc40 r7:00000000 r6:00000000 r5:c2dd1e5c r4:ffffffff
[<c00bbf14>] (nfs_remount+0x0/0x264) from [<c0076c40>] (do_remount_sb+0x158/0x194)
r9:c3d17000 r8:c3c3fc40 r7:00000000 r6:00000000 r5:c3c3fc00
r4:00000000
[<c0076ae8>] (do_remount_sb+0x0/0x194) from [<c008c6d8>] (do_remount+0xec/0x118)
r6:c2dd1ef0 r5:c3c3fc00 r4:00000001
[<c008c5ec>] (do_remount+0x0/0x118) from [<c008d1bc>] (do_mount+0x10c/0x198)
[<c008d0b0>] (do_mount+0x0/0x198) from [<c008d2d4>] (sys_mount+0x8c/0xd4)
[<c008d248>] (sys_mount+0x0/0xd4) from [<c0020b00>] (ret_fast_syscall+0x0/0x2c)
r7:00000015 r6:be8b6ad0 r5:be8b6aa8 r4:00000000
---[ end trace 55e1b689cf8c8a6a ]---
/etc/rc6.d/S60umountroot: line 17: 1462 Segmentation fault mount $MOUNT_FORCE_OPT -n -o remount,ro -t dummytype dummydev / 2> /dev/null
The new super.c:nfs_remount function doesn't check the validity of the
options/options4 pointers. Unfortunately, this seems to happend.
The obvious patch seems to check the pointers, and not to do anything if
the happend to be NULL.
Tested on an XScale PXA255 system, latest git.
Regards,
M.
Signed-off-by: Marc Zyngier <marc.zyngier at altran.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>
commit 38413fd2d82b0e75ae0492518f1b80a5cfd81956
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Sun Jul 27 19:02:30 2008 -0300
V4L/DVB (8548): pwc: Fix compilation
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 051a4ac5df06bcc6add77059328e8827c7959709
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sun Jul 27 14:08:54 2008 -0300
V4L/DVB (8546): add tuner-3036 and dpc7146 drivers to feature-removal-schedule.txt
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit eb703027ac4ed563823e4d7824f68afed637d89a
Merge: 429e90893c9ad2c266d541c94d6ca69a34a7701d 837b41b5de356aa67abb2cadb5eef3efc7776f91
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Sun Jul 27 18:11:53 2008 -0300
Merge ../linux-2.6
commit 429e90893c9ad2c266d541c94d6ca69a34a7701d
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sun Jul 27 14:08:54 2008 -0300
V4L/DVB (8546): saa7146: fix read from uninitialized memory
The offset field of the scatterlist entry *after* the last valid scatterlist
entry was used instead of the first scatterlist entry (as was the intention
of this code).
This worked fine until the kzalloc of the sglist was replaced with kmalloc
and sg_init_table only zeroed the exact needed length. Apparently kzalloc
zeroes a bit more than is strictly necessary so the offset field was
always 0 in the past.
But now the offset field was suddenly random and this led to broken captures.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit ee56a4d3e39c2baafd06aaf26d975a7c9b05e3a2
Author: Oliver Neukum <oneukum at suse.de>
Date: Sun Jul 27 14:01:59 2008 -0300
V4L/DVB (8544): gspca: probe/open race.
The device is flagged present after it is registered. During that window calls
to open() that should work fail with -ENODEV. Reversing the order fixes
the race.
Signed-off-by: Oliver Neukum <oneukum at suse.de>
Acked-by: Hans de Goede <j.w.r.degoede at hhs.nl>
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit ee281b856d4e4921da24387ab116bb0855c2efaa
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Sun Jul 27 16:58:04 2008 -0300
V4L/DVB (8543): em28xx: Rename #define for Compro VideoMate ForYou/Stereo
There are two videomate boards supporded by em28xx. The names are almost
identical.
This patch renames one of such entries to something else.
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit fe43ef894c282dbfa963872eef577bab46a178fb
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Sun Jul 27 15:00:23 2008 -0300
V4L/DVB (8542): em28xx: AMD ATI TV Wonder HD 600 entry at cards struct is duplicated
Thanks to "Devin Heitmueller" <devin.heitmueller at gmail.com> for pointing this
issue.
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 10ac6603613d46a43a4544fbbe9581e50879bd45
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Sun Jul 27 14:58:58 2008 -0300
V4L/DVB (8541): em28xx: HVR-950 entry is duplicated.
Thanks to "Devin Heitmueller" <devin.heitmueller at gmail.com> for pointing this
issue.
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit a1bd021e56fff91cc9354ffb232fd9f0f577099c
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Sat Jul 26 23:20:48 2008 +0200
sparc: enable headers_export again
Update include/asm/Kbuild so we export
all relvant headers for sparc.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit a439fe51a1f8eb087c22dd24d69cebae4a3addac
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Sun Jul 27 23:00:59 2008 +0200
sparc, sparc64: use arch/sparc/include
The majority of this patch was created by the following script:
***
ASM=arch/sparc/include/asm
mkdir -p $ASM
git mv include/asm-sparc64/ftrace.h $ASM
git rm include/asm-sparc64/*
git mv include/asm-sparc/* $ASM
sed -ie 's/asm-sparc64/asm/g' $ASM/*
sed -ie 's/asm-sparc/asm/g' $ASM/*
***
The rest was an update of the top-level Makefile to use sparc
for header files when sparc64 is being build.
And a small fixlet to pick up the correct unistd.h from
sparc64 code.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 583323b9d2f624884a8c9563fb5a4d795f39ab07
Author: Thomas Gleixner <tglx at linutronix.de>
Date: Sun Jul 27 21:43:11 2008 +0200
x86: fix cpu hotplug on 32bit
commit 3e9704739daf46a8ba6593d749c67b5f7cd633d2 ("x86: boot secondary
cpus through initial_code") causes the kernel to crash when a CPU is
brought online after the read only sections have been write
protected. The write to initial_code in do_boot_cpu() fails.
Move inital_code to .cpuinit.data section.
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Acked-by: H. Peter Anvin <hpa at zytor.com>
commit 837b41b5de356aa67abb2cadb5eef3efc7776f91
Merge: 211c8d4942edf2f3337820dda101da6b13c8a19a f05e21b39f7dddcebab03ff329fef5783fea58d4
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sun Jul 27 10:24:06 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
firewire: state userland requirements in Kconfig help
firewire: avoid memleak after phy config transmit failure
firewire: fw-ohci: TSB43AB22/A dualbuffer workaround
firewire: queue the right number of data
firewire: warn on unfinished transactions during card removal
firewire: small fw_fill_request cleanup
firewire: fully initialize fw_transaction before marking it pending
firewire: fix race of bus reset with request transmission
commit d3603341e2f3c39f017f8df4b1cd734aeb0d453b
Author: Vitaly Wool <vital at embeddedalley.com>
Date: Sun Jul 27 14:10:11 2008 -0300
V4L/DVB (8540): em28xx-cards: Add Compro VideoMate ForYou/Stereo model
Added Compro VideoMate ForYou/Stereo model (analog only)
Signed-off-by: Vitaly Wool <vital at embeddedalley.com>
[dougsland at gmail.com: Solved conflicts with v4l-dvb devel tree]
Signed-off-by: Douglas Schilling Landgraf <dougsland at gmail.com>
[mchehab at infradead.org: Need to fix some merge conflicts]
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 95b86a9a9020da22e7c25abc77aae4dc8f02ab55
Author: Douglas Schilling Landgraf <dougsland at gmail.com>
Date: Sun Jul 27 14:03:32 2008 -0300
V4L/DVB (8539): em28xx-cards: New supported IDs for analog models
- New supported IDs for analog models
(Based on Markus Rechberger <mrechberger at gmail.com> version of em28xx driver)
- Validation field for new em28xx boards.
Signed-off-by: Douglas Schilling Landgraf <dougsland at gmail.com>
[mchehab at infradead.org: Need to fix some merge conflicts]
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 59d07f1b705c466ea4eaca9c43d46be6d6a065a4
Author: Aron Szabo <aron at aron.ws>
Date: Sun Jul 27 13:47:52 2008 -0300
V4L/DVB (8538): em28xx-cards: Add GrabBeeX+ USB2800 model
Added GrabBeeX+ USB2800 model (analog only)
[mchehab at infradead.org: Need to fix some merge conflicts]
Signed-off-by: Aron Szabo <aron at aron.ws>
Signed-off-by: Douglas Schilling Landgraf <dougsland at gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 211c8d4942edf2f3337820dda101da6b13c8a19a
Merge: 7a82323da3d21ea59a0509569fc5c7bc5aa7eed7 cadbd4a5e36dde7e6c49b587b2c419103c0b7218
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sun Jul 27 10:04:52 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (59 commits)
[SCSI] replace __FUNCTION__ with __func__
[SCSI] extend the last_sector_bug flag to cover more sectors
[SCSI] qla2xxx: Update version number to 8.02.01-k6.
[SCSI] qla2xxx: Additional NPIV corrections.
[SCSI] qla2xxx: suppress uninitialized-var warning
[SCSI] qla2xxx: use memory_read_from_buffer()
[SCSI] qla2xxx: Issue proper ISP callbacks during stop-firmware.
[SCSI] ch: fix ch_remove oops
[SCSI] 3w-9xxx: add MSI support and misc fixes
[SCSI] scsi_lib: use blk_rq_tagged in scsi_request_fn
[SCSI] ibmvfc: Update driver version to 1.0.1
[SCSI] ibmvfc: Add ADISC support
[SCSI] ibmvfc: Miscellaneous fixes
[SCSI] ibmvfc: Fix hang on module removal
[SCSI] ibmvfc: Target refcounting fixes
[SCSI] ibmvfc: Reduce unnecessary log noise
[SCSI] sym53c8xx: free luntbl in sym_hcb_free
[SCSI] scsi_scan.c: Release mutex in error handling code
[SCSI] scsi_eh_prep_cmnd should save scmd->underflow
[SCSI] sd: Support for SCSI disk (SBC) Data Integrity Field
...
commit 7a82323da3d21ea59a0509569fc5c7bc5aa7eed7
Merge: b0d8aa081bcb2d396a257ae5b3be8c1b3006bfa4 3c26e17032e42cfbe606882288223ad6146e4c38
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sun Jul 27 10:03:00 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6:
avr32: some mmc/sd cleanups
include/video/atmel_lcdc.h must #include <linux/workqueue.h>
avr32: allow system timer to share interrupt to make OProfile work
drivers/misc/atmel-ssc.c: Removed duplicated include
avr32: Add platform data for AC97C platform device
avr32: clean up mci platform code
fix avr32 build errors
commit b0d8aa081bcb2d396a257ae5b3be8c1b3006bfa4
Merge: 6948385cbd83201fb933125c1a578b29b456605d cc04454fa81e93b5f1b5133950331639d2f59f85
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sun Jul 27 10:00:23 2008 -0700
Merge branch 'kvm-updates-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm
* 'kvm-updates-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm:
KVM: ppc: fix invalidation of large guest pages
KVM: s390: Fix possible host kernel bug on lctl(g) handling
KVM: s390: Fix instruction naming for lctlg
KVM: s390: Fix program check on interrupt delivery handling
KVM: s390: Change guestaddr type in gaccess
KVM: s390: Fix guest kconfig
KVM: s390: Advertise KVM_CAP_USER_MEMORY
KVM: ia64: Fix irq disabling leak in error handling code
KVM: VMX: Fix undefined beaviour of EPT after reload kvm-intel.ko
KVM: VMX: Fix bypass_guest_pf enabling when disable EPT in module parameter
KVM: task switch: translate guest segment limit to virt-extension byte granular field
KVM: Avoid instruction emulation when event delivery is pending
KVM: task switch: use seg regs provided by subarch instead of reading from GDT
KVM: task switch: segment base is linear address
KVM: SVM: allow enabling/disabling NPT by reloading only the architecture module
commit 6948385cbd83201fb933125c1a578b29b456605d
Merge: 7a76d89232f20411f32e7a79ccc1e2f95e9f826b 56b2f0706d82535fd8d85503f2dcc0be40c8e55d
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sun Jul 27 09:59:59 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-next
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-next: (25 commits)
setlocalversion: do not describe if there is nothing to describe
kconfig: fix typos: "Suport" -> "Support"
kconfig: make defconfig is no longer chatty
kconfig: make oldconfig is now less chatty
kconfig: speed up all*config + randconfig
kconfig: set all new symbols automatically
kconfig: add diffconfig utility
kbuild: remove Module.markers during mrproper
kbuild: sparse needs CF not CHECKFLAGS
kernel-doc: handle/strip __init
vmlinux.lds: move __attribute__((__cold__)) functions back into final .text section
init: fix URL of "The GNU Accounting Utilities"
kbuild: add arch/$ARCH/include to search path
kbuild: asm symlink support for arch/$ARCH/include
kbuild: support arch/$ARCH/include for tags, cscope
kbuild: prepare headers_* for arch/$ARCH/include
kbuild: install all headers when arch is changed
kbuild: make clean removes *.o.* as well
kbuild: optimize headers_* targets
kbuild: only one call for include/ in make headers_*
...
commit 7a76d89232f20411f32e7a79ccc1e2f95e9f826b
Merge: f631a78445e94b8a9ae23980d00a5cb2d9c3d0c7 c0e741d47859fcabb84a37589a4f49801ca8590a
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sun Jul 27 09:59:24 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
crypto: talitos - sparse fix
crypto: talitos - Stop leaking memory in error path
crypto: talitos - Fix GFP flag usage
crypto: talitos - Preempt overflow interrupts
crypto: talitos - Correct dst != src case handling
crypto: talitos - Remove calls to of_node_put
commit f631a78445e94b8a9ae23980d00a5cb2d9c3d0c7
Merge: 13ffc32eaf0b75a19bd8c3a8702faedde28853fe c5b61d59a685b1227b8a994b52a9b0bd68dc8da8
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sun Jul 27 09:58:59 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6:
Fix namespace issue with Hisax
commit 13ffc32eaf0b75a19bd8c3a8702faedde28853fe
Author: Stephen Rothwell <sfr at canb.auug.org.au>
Date: Mon Jul 28 02:37:32 2008 +1000
isdn: mISDN HFC PCI support depends on virt_to_bus()
On powerpc (allyesconfig build) we get this error:
drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit declaration of function 'virt_to_bus'
Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5995477ab7f3522c497c9c4a1c55373e9d655574
Author: Andrea Righi <righi.andrea at gmail.com>
Date: Sun Jul 27 17:29:15 2008 +0200
task IO accounting: improve code readability
Put all i/o statistics in struct proc_io_accounting and use inline functions to
initialize and increment statistics, removing a lot of single variable
assignments.
This also reduces the kernel size as following (with CONFIG_TASK_XACCT=y and
CONFIG_TASK_IO_ACCOUNTING=y).
text data bss dec hex filename
11651 0 0 11651 2d83 kernel/exit.o.before
11619 0 0 11619 2d63 kernel/exit.o.after
10886 132 136 11154 2b92 kernel/fork.o.before
10758 132 136 11026 2b12 kernel/fork.o.after
3082029 807968 4818600 8708597 84e1f5 vmlinux.o.before
3081869 807968 4818600 8708437 84e155 vmlinux.o.after
Signed-off-by: Andrea Righi <righi.andrea at gmail.com>
Acked-by: Oleg Nesterov <oleg at tv-sign.ru>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 605ccb73f6a1c891a16268b3a2923208fc637958
Author: Andrea Righi <righi.andrea at gmail.com>
Date: Sun Jul 27 13:39:03 2008 +0200
tracing: remove unused variable
Remove the following warning with CONFIG_TRACING=y:
kernel/trace/trace.c: In function âs_nextâ:
kernel/trace/trace.c:1186: warning: unused variable âlast_entâ
Signed-off-by: Andrea Righi <righi.andrea at gmail.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 375614422509c98a1f3dbef410206bf81775169b
Merge: eeb61f719c00c626115852bbc91189dc3011a844 536319afd1f25383009c0c88f6fb00104f49c178
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sun Jul 27 09:45:59 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
ALSA: Allow to force model to intel-mac-v3 in snd_hda_intel (sigmatel).
ALSA: cs4232: fix crash during chip PNP detection
ALSA: hda - Add automatic model setting for the Acer Aspire 5920G laptop
ALSA: make snd_ac97_add_vmaster() static
ALSA: sound/pci/azt3328.h: no variables for enums
ALSA: soc - wm9712 mono mixer
ALSA: hda - Add support of ASUS Eeepc P90*
ALSA: opti9xx: no isapnp param for !CONFIG_PNP
ALSA: opti93x - Fix NULL dereference
ALSA: hda - Added support for Asus V1Sn
ALSA: ASoC: Factor PGA DAPM handling into main
ALSA: ASoC: Refactor DAPM event handler
ALSA: ALSA: ens1370: communicate PCI device to AC97
ALSA: ens1370: SRC stands for Sample Rate Converter
ALSA: hda - Align BDL position adjustment parameter
ALSA: Au1xpsc: psc not disabled when TX is idle
ALSA: add TriTech 28023 AC97 codec ID and Wolfson 9701 name.
commit eeb61f719c00c626115852bbc91189dc3011a844
Author: Al Viro <viro at ZenIV.linux.org.uk>
Date: Sun Jul 27 08:59:33 2008 +0100
missing bits of net-namespace / sysctl
Piss-poor sysctl registration API strikes again, film at 11...
What we really need is _pathname_ required to be present in already
registered table, so that kernel could warn about bad order. That's the
next target for sysctl stuff (and generally saner and more explicit
order of initialization of ipv[46] internals wouldn't hurt either).
For the time being, here are full fixups required by ..._rotable()
stuff; we make per-net sysctl sets descendents of "ro" one and make sure
that sufficient skeleton is there before we start registering per-net
sysctls.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit bfbcf034798b2ca45338cee5049b5694b7ddc865
Author: Al Viro <viro at ZenIV.linux.org.uk>
Date: Sun Jul 27 06:31:22 2008 +0100
lost sysctl fix
try_attach() should walk into the matching subdirectory, not the first one...
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
Tested-by: Valdis.Kletnieks at vt.edu
Tested-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c5b61d59a685b1227b8a994b52a9b0bd68dc8da8
Author: Karsten Keil <kkeil at suse.de>
Date: Sun Jul 27 18:32:50 2008 +0200
Fix namespace issue with Hisax
you can pull this git://git./linux/kernel/git/kkeil/ISDN-2.6 master
rename release_tei() to TEIrelease() because release_tei() was
already exported bei the old HiSax driver.
Signed-off-by: Karsten Keil <kkeil at suse.de>
commit 50cb993ea6cd187bfed085cb3e0747066edeb02f
Merge: 445c2714cf72817ab1ad3ca894c6d9b2047b3a3e 8be1a6d6c77ab4532e4476fdb8177030ef48b52c
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Sun Jul 27 12:25:57 2008 -0300
Merge ../linux-2.6
commit 445c2714cf72817ab1ad3ca894c6d9b2047b3a3e
Author: Adrian Bunk <bunk at kernel.org>
Date: Sun Jul 27 10:04:55 2008 -0300
V4L/DVB (8534): remove select's of FW_LOADER
After commit d9b19199e4894089456aaad295023263b5225c1a
(always enable FW_LOADER unless EMBEDDED=y) we can remove
the FW_LOADER select's and corresponding dependencies
on HOTPLUG.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 9fa0f6db3a201bef49f28e69f80802559a38586b
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Sun Jul 27 08:55:17 2008 -0300
V4L/DVB (8522): videodev2: Fix merge conflict
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit cadbd4a5e36dde7e6c49b587b2c419103c0b7218
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Thu Jul 3 23:47:27 2008 -0700
[SCSI] replace __FUNCTION__ with __func__
[jejb: fixed up a ton of missed conversions.
All of you are on notice this has happened, driver trees will now
need to be rebased]
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Cc: SCSI List <linux-scsi at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 2b142900784c6e38c8d39fa57d5f95ef08e735d8
Author: Alan Jenkins <alan-jenkins at tuffmail.co.uk>
Date: Sun Jul 27 09:38:42 2008 +0100
[SCSI] extend the last_sector_bug flag to cover more sectors
The last_sector_bug flag was added to work around a bug in certain usb
cardreaders, where they would crash if a multiple sector read included the
last sector. The original implementation avoids this by e.g. splitting an 8
sector read which includes the last sector into a 7 sector read, and a single
sector read for the last sector. The flag is enabled for all USB devices.
This revealed a second bug in other usb cardreaders, which crash when they
get a multiple sector read which stops 1 sector short of the last sector.
Affected hardware includes the Kingston "MobileLite" external USB cardreader
and the internal USB cardreader on the Asus EeePC.
Extend the last_sector_bug workaround to ensure that any access which touches
the last 8 hardware sectors of the device is a single sector long. Requests
are shrunk as necessary to meet this constraint.
This gives us a safety margin against potential unknown or future bugs
affecting multi-sector access to the end of the device. The two known bugs
only affect the last 2 sectors. However, they suggest that these devices
are prone to fencepost errors and that multi-sector access to the end of the
device is not well tested. Popular OS's use multi-sector accesses, but they
rarely read the last few sectors. Linux (with udev & vol_id) automatically
reads sectors from the end of the device on insertion. It is assumed that
single sector accesses are more thoroughly tested during development.
Signed-off-by: Alan Jenkins <alan-jenkins at tuffmail.co.uk>
Tested-by: Alan Jenkins <alan-jenkins at tuffmail.co.uk>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 74b9ef21162fd81d9de87319c4373f523e2869cd
Author: Michael Krufky <mkrufky at linuxtv.org>
Date: Sat Jul 26 15:43:17 2008 -0300
V4L/DVB (8532): mxl5007t: remove excessive locks
The use of mutex locking is overly paranoid in this driver.
The only locks we need are around the manipulation of the
register arrays. The other locks are not needed - remove them.
Thanks to Steven Toth for pointing this out.
Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit c39c1fd29373d204b11b71946d0f4c97e4974dd9
Author: Michael Krufky <mkrufky at linuxtv.org>
Date: Sat Jul 26 12:06:57 2008 -0300
V4L/DVB (8531): mxl5007t: move i2c gate handling outside of mutex protected code blocks
There is no reason to protect the i2c gate handling within the mxl5007t
state mutex.
Thanks to Steven Toth for pointing this out.
Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 59d27521c0f50fadf3382e2b325a7e8a04d9a770
Author: Michael Krufky <mkrufky at linuxtv.org>
Date: Wed Jul 9 00:23:08 2008 -0300
V4L/DVB (8530): au0828: add support for new revision of HVR950Q
Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 452a53a247d9181bb0ec07ce1def51769619e9d2
Author: Michael Krufky <mkrufky at linuxtv.org>
Date: Sat Jul 12 18:22:38 2008 -0300
V4L/DVB (8529): mxl5007t: enable _init and _sleep power management functionality
Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 2a83e4d5e40fd8eda3c04a5847f0876a4be9d45b
Author: Michael Krufky <mkrufky at linuxtv.org>
Date: Mon Jul 7 18:20:58 2008 -0300
V4L/DVB (8528): add support for MaxLinear MxL5007T silicon tuner
Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
Signed-off-by: Asaf Fishov <afishov at maxlinear.com>
Signed-off-by: Charles Kim <ckim at maxlinear.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit f796804f01429b832e1e734c54f0f535b322c665
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sat Jul 26 09:16:29 2008 -0300
V4L/DVB (8526): saa7146: fix VIDIOC_ENUM_FMT
VIDIOC_ENUM_FMT should keep the index and type fields. Instead,
type was zeroed.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit de1e575db21a341b77b296af7dd87f163ebf6020
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sat Jul 26 08:37:58 2008 -0300
V4L/DVB (8525): fix a few assorted spelling mistakes.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit c1d7f4f1648cb8efd87f1b9560c40af2297e7c05
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sat Jul 26 08:33:47 2008 -0300
V4L/DVB (8524): videodev: copy the VID_TYPE defines to videodev.h
The VID_TYPE defines are V4L1 specific, so copy them back to videodev.h.
In videodev2.h ensure that they are not used in the kernel (you need
to include videodev.h instead) and mark them are deprecated.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 0ea6bc8d43c9ee3c5384bea184eab020927a5b2c
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sat Jul 26 08:26:43 2008 -0300
V4L/DVB (8523): v4l2-dev: remove unused type and type2 field from video_device
The type and type2 fields were unused and so could be removed.
Instead add a vfl_type field that contains the type of the video
device.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit c52e4f5836cff0a70a25665f475cf5294c9fe5eb
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Sun Jul 27 02:56:33 2008 -0300
V4L/DVB (8521): gspca: Webcams with Sonix bridge and sensor ov7630 are VGA.
This fixes a bug introduced in c503a6f8332a (thanks to Hans de Goede).
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 87581aa5f10959224fc7e1a30ac9af53949d0ef2
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Sat Jul 26 14:30:01 2008 -0300
V4L/DVB (8520): gspca: Bad webcam information in some modules since 28b8203a830e.
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 5da162e7e2246851b6d5899688bba5b25a7fea3e
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Sat Jul 26 14:17:23 2008 -0300
V4L/DVB (8519): gspca: Set the specific per webcam information in driver_info for sonixb.
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 1250ac6d4ab716dafe0ac245fd31cd3a7cbc0a98
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Sat Jul 26 08:02:47 2008 -0300
V4L/DVB (8518): gspca: Remove the remaining frame decoding functions from the subdrivers.
SPCA505 and SPCA508 added in the pixel formats.
Decode functions and associated resources removed in spca505, 506 and 508.
The decode routines are now found in the V4L library.
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 496cd7e977c73df2c287eaf6d612fc49d6f83dd7
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Sat Jul 26 07:49:55 2008 -0300
V4L/DVB (8517): gspca: Bad sensor for some webcams in zc3xx since 28b8203a830e.
'.driver_info = ' forgotten in usb device id table.
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit e546f4bb6d3b320d60c33025597bc8fc31532394
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Sat Jul 26 03:43:59 2008 -0300
V4L/DVB (8515): gspca: Webcam 0c45:6143 added in sonixj.
It is an other Pccam168. The .inf says SN9C120B + SP80708, but it should
work as SN9C120 + MI0360.
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 9d64fdb15b1b9ce9144cfde4001e9194ccde42d1
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Fri Jul 25 08:53:03 2008 -0300
V4L/DVB (8513): gspca: Set the specific per webcam information in driver_info.
This patch removes a big part of the code run at probe time.
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 07767ebda385956bd2b193f9820de719475bfe6e
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Wed Jul 23 03:39:42 2008 -0300
V4L/DVB (8512): gspca: Do not use the driver_info field of usb_device_id.
The field driver_info will be used to handle the specific per webcam
information.
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit c6edaf1674d3c17770b1c9966306b802adb21a2b
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Wed Jul 23 03:24:06 2008 -0300
V4L/DVB (8511): gspca: Get the card name of QUERYCAP from the usb product name.
This is a preliminary for using the driver_info of the struct
usb_device_id to handle the specific per webcam information.
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 353facd4ab5acc6e9d83985eec9ca17e5d0cb470
Author: Michael Krufky <mkrufky at linuxtv.org>
Date: Sat Jul 26 18:28:26 2008 -0300
V4L/DVB (8509): pvrusb2: fix device descriptions for HVR-1900 & HVR-1950
Acked-by: Mike Isely <isely at pobox.com>
Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 531d83a3d39280d191e2b1f0b540dbad22731579
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sat Jul 26 09:04:06 2008 -0300
V4L/DVB (8506): empress: fix control handling oops
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 1052efe0fc69130d9d6a44bc9ceecd229221d9a1
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sat Jul 26 09:01:24 2008 -0300
V4L/DVB (8505): saa7134-empress.c: fix deadlock
ts_release() locked a mutex that videobuf_stop() also tried to obtain.
But ts_release() shouldn't hold that mutex at all.
Make empress_users atomic as well to prevent possible race condition.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit feb75f07102a85026d41e2c4e4113c34dd035c30
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sun Jul 27 06:30:21 2008 -0300
V4L/DVB (8504): s2255drv: add missing header
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 9993e51c0c47ec69dce1f26c2321af6bb9165e9e
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Sat Jul 26 13:53:46 2008 -0300
V4L/DVB (8502): videodev2.h: CodingStyle cleanups
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 2ab61b01110aa04cd853c619a74881e3225a5e24
Merge: 6f9f489a4eeaa3c8a8618e078a5270d2c4872b67 860239c56bbc7c830bdbcec93b140f22a5a5219b
Author: David S. Miller <davem at davemloft.net>
Date: Sun Jul 27 05:00:25 2008 -0700
Merge branch 'master' of git://eden-feed.erg.abdn.ac.uk/net-2.6
commit 3c26e17032e42cfbe606882288223ad6146e4c38
Author: David Brownell <dbrownell at users.sourceforge.net>
Date: Sun Jul 27 02:34:45 2008 -0700
avr32: some mmc/sd cleanups
Minor cleanups for the MMC/SD support on avr32:
- Make at32_add_device_mci() properly initialize "missing"
platform data ... so boards like STK1002 won't try GPIO 0.
- Switch over to gpio_is_valid() instead of testing for only
one designated value.
- Provide STK1002 platform data for the unlikely case that
switches are set so first Ethernet controller isn't in use.
(That's the only way to get card detect and writeprotect
switch sensing on the STK1000.)
And get rid of one "unused variable" warning.
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
commit eda3d8f5604860aae1bb9996bb5efc4213778369
Merge: 87a9f704658a40940e740b1d73d861667e9164d3 8be1a6d6c77ab4532e4476fdb8177030ef48b52c
Author: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Sun Jul 27 13:54:08 2008 +0200
Merge commit 'upstream/master'
commit 6f9f489a4eeaa3c8a8618e078a5270d2c4872b67
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Sun Jul 27 04:40:51 2008 -0700
net: missing bits of net-namespace / sysctl
Piss-poor sysctl registration API strikes again, film at 11...
What we really need is _pathname_ required to be present in
already registered table, so that kernel could warn about bad
order. That's the next target for sysctl stuff (and generally
saner and more explicit order of initialization of ipv[46]
internals wouldn't hurt either).
For the time being, here are full fixups required by ..._rotable()
stuff; we make per-net sysctl sets descendents of "ro" one and
make sure that sufficient skeleton is there before we start registering
per-net sysctls.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 15d3b4a26291c170563e2b25ded5de1324f93959
Merge: 2c3abab7c95295f319dc8899b74cbd60140fcdfb 8be1a6d6c77ab4532e4476fdb8177030ef48b52c
Author: David S. Miller <davem at davemloft.net>
Date: Sun Jul 27 04:40:08 2008 -0700
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
commit 2c3abab7c95295f319dc8899b74cbd60140fcdfb
Author: David S. Miller <davem at davemloft.net>
Date: Sun Jul 27 03:59:24 2008 -0700
ipcomp: Fix warnings after ipcomp consolidation.
net/ipv4/ipcomp.c: In function âipcomp4_init_stateâ:
net/ipv4/ipcomp.c:109: warning: unused variable âcalg_descâ
net/ipv4/ipcomp.c:108: warning: unused variable âipcdâ
net/ipv4/ipcomp.c:107: warning: âerrâ may be used uninitialized in this function
net/ipv6/ipcomp6.c: In function âipcomp6_init_stateâ:
net/ipv6/ipcomp6.c:139: warning: unused variable âcalg_descâ
net/ipv6/ipcomp6.c:138: warning: unused variable âipcdâ
net/ipv6/ipcomp6.c:137: warning: âerrâ may be used uninitialized in this function
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 53cdb27a933e4032934cbda0b447cfc9943c0eac
Author: Russell King <rmk at dyn-67.arm.linux.org.uk>
Date: Sun Jul 27 10:35:54 2008 +0100
[ARM] Fix shared mmap when more than two maps of the same file exist
The shared mmap code works fine for the test case, which only checked
for two shared maps of the same file. However, three shared maps
result in one mapping remaining cached, resulting in stale data being
visible via that mapping. Fix this.
Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
commit daf93dd55c48b65ab2f1907e0fc5ef994896c787
Author: Russell King <rmk at dyn-67.arm.linux.org.uk>
Date: Sun Jul 27 10:10:58 2008 +0100
[ARM] fix VIPT/VIVT macro optimisations, add comments
cacheflush.h was doing:
... VIVT only stuff
... VIPT only stuff
... VIVT or VIPT stuff
which is clearly bogus - we would only ever use the "VIVT or VIPT" case
when both VIVT and VIPT are not selected. Fix this.
Add comments to each case, including noting the impossibility of
correctly detecting the cache type of ARM926 and ARMv6 cores from
the cache type register in the "VIVT or VIPT" case.
Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
commit cc04454fa81e93b5f1b5133950331639d2f59f85
Author: Hollis Blanchard <hollisb at us.ibm.com>
Date: Fri Jul 25 13:54:50 2008 -0500
KVM: ppc: fix invalidation of large guest pages
When guest invalidates a large tlb map, there may be more than one
corresponding shadow tlb maps that need to be invalidated. Use eaddr and eend
to find these shadow tlb maps.
Signed-off-by: Liu Yu <yu.liu at freescale.com>
Signed-off-by: Hollis Blanchard <hollisb at us.ibm.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 6cab48602996cdbcb277375a8107d53e21e8c9b9
Author: Dmitry Baryshkov <dbaryshkov at gmail.com>
Date: Sun Jul 27 04:23:31 2008 +0100
[ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_*
IRQT_* and __IRQT_* were obsoleted long ago by patch [3692/1].
Remove them completely. Sed script for the reference:
s/__IRQT_RISEDGE/IRQ_TYPE_EDGE_RISING/g
s/__IRQT_FALEDGE/IRQ_TYPE_EDGE_FALLING/g
s/__IRQT_LOWLVL/IRQ_TYPE_LEVEL_LOW/g
s/__IRQT_HIGHLVL/IRQ_TYPE_LEVEL_HIGH/g
s/IRQT_RISING/IRQ_TYPE_EDGE_RISING/g
s/IRQT_FALLING/IRQ_TYPE_EDGE_FALLING/g
s/IRQT_BOTHEDGE/IRQ_TYPE_EDGE_BOTH/g
s/IRQT_LOW/IRQ_TYPE_LEVEL_LOW/g
s/IRQT_HIGH/IRQ_TYPE_LEVEL_HIGH/g
s/IRQT_PROBE/IRQ_TYPE_PROBE/g
s/IRQT_NOEDGE/IRQ_TYPE_NONE/g
Signed-off-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
commit 5a00a5e7a3e013b2323f87c1b69ff9557eae5ec9
Author: Christian Borntraeger <borntraeger at de.ibm.com>
Date: Fri Jul 25 15:53:12 2008 +0200
KVM: s390: Fix possible host kernel bug on lctl(g) handling
The lctl(g) instructions require a specific alignment for the parameters.
The architecture requires a specification program check if these alignments
are not used. Enforcing this alignment also removes a possible host BUG,
since the get_guest functions check for proper alignment and emits a BUG.
Signed-off-by: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit f5e10b09a5f8fc40666c95fe0cd6bcc2b8f11437
Author: Christian Borntraeger <borntraeger at de.ibm.com>
Date: Fri Jul 25 15:52:44 2008 +0200
KVM: s390: Fix instruction naming for lctlg
Lets fix the name for the lctlg instruction...
Signed-off-by: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 3cd612998f17d5b3588be7f4937720411d247ff6
Author: Christian Borntraeger <borntraeger at de.ibm.com>
Date: Fri Jul 25 15:51:54 2008 +0200
KVM: s390: Fix program check on interrupt delivery handling
The current interrupt handling on s390 misbehaves on an error case. On s390
each cpu has the prefix area (lowcore) for interrupt delivery. This memory
must always be available. If we fail to access the prefix area for a guest
on interrupt delivery the configuration is completely unusable. There is no
point in sending another program interrupt to an inaccessible lowcore.
Furthermore, we should not bug the host kernel, because this can be triggered
by userspace. I think the guest kernel itself can not trigger the problem, as
SET PREFIX and SIGNAL PROCESSOR SET PREFIX both check that the memory is
available and sane. As this is a userspace bug (e.g. setting the wrong guest
offset, unmapping guest memory) we should kill the userspace process instead
of BUGing the host kernel.
In the long term we probably should notify the userspace process about this
problem.
Signed-off-by: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 0096369daa9eaaef1a309e5d8167b023af3f998d
Author: Martin Schwidefsky <schwidefsky at de.ibm.com>
Date: Fri Jul 25 15:51:00 2008 +0200
KVM: s390: Change guestaddr type in gaccess
All registers are unsigned long types. This patch changes all occurences
of guestaddr in gaccess from u64 to unsigned long.
Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 99e65c92f2bbf84f43766a8bf701e36817d62822
Author: Christian Borntraeger <borntraeger at de.ibm.com>
Date: Fri Jul 25 15:50:04 2008 +0200
KVM: s390: Fix guest kconfig
Cornelia Huck noticed that a modular virtio without kvm guest support
leads to a build error in the s390 virtio transport:
CONFIG_VIRTIO=m leads to
ERROR: "vmem_add_mapping" [drivers/s390/kvm/kvm_virtio.ko] undefined!
ERROR: "max_pfn" [drivers/s390/kvm/kvm_virtio.ko] undefined!
ERROR: "vmem_remove_mapping" [drivers/s390/kvm/kvm_virtio.ko] undefined!
The virtio transport only works with kvm guest support and only as a
builtin. Lets change the build process of drivers/s390/kvm/kvm_virtio.c
to depend on kvm guest support, which is also a bool.
CONFIG_S390_GUEST already selects CONFIG_VIRTIO, that should prevent
CONFIG_S390_GUEST=y CONFIG_VIRTIO=n situations.
CC: Cornelia Huck <cornelia.huck at de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 2bd0ac4eb469ef58c3b1746fccd15da871fc55c4
Author: Carsten Otte <cotte at de.ibm.com>
Date: Fri Jul 25 15:49:13 2008 +0200
KVM: s390: Advertise KVM_CAP_USER_MEMORY
KVM_CAP_USER_MEMORY is used by s390, therefore, we should advertise it.
Signed-off-by: Carsten Otte <cotte at de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit cab7a1eeeb007be309cd99cf14407261a72d2418
Author: Julia Lawall <julia at diku.dk>
Date: Tue Jul 22 21:38:18 2008 +0200
KVM: ia64: Fix irq disabling leak in error handling code
There is a call to local_irq_restore in the normal exit case, so it would
seem that there should be one on an error return as well.
The semantic patch that finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
expression l;
expression E,E1,E2;
@@
local_irq_save(l);
... when != local_irq_restore(l)
when != spin_unlock_irqrestore(E,l)
when any
when strict
(
if (...) { ... when != local_irq_restore(l)
when != spin_unlock_irqrestore(E1,l)
+ local_irq_restore(l);
return ...;
}
|
if (...)
+ {local_irq_restore(l);
return ...;
+ }
|
spin_unlock_irqrestore(E2,l);
|
local_irq_restore(l);
)
// </smpl>
Signed-off-by: Julia Lawall <julia at diku.dk>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 5fdbcb9dd16f1e89ead127d3ee1a38e3a00cf1ea
Author: Sheng Yang <sheng.yang at intel.com>
Date: Wed Jul 16 09:25:40 2008 +0800
KVM: VMX: Fix undefined beaviour of EPT after reload kvm-intel.ko
As well as move set base/mask ptes to vmx_init().
Signed-off-by: Sheng Yang <sheng.yang at intel.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 5ec5726a16245138f5d5305b00a752acb5730076
Author: Sheng Yang <sheng.yang at intel.com>
Date: Wed Jul 16 09:21:22 2008 +0800
KVM: VMX: Fix bypass_guest_pf enabling when disable EPT in module parameter
Signed-off-by: Sheng Yang <sheng.yang at intel.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit c93cd3a58845012df2d658fecd0ac99f7008d753
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date: Sat Jul 19 19:08:07 2008 -0300
KVM: task switch: translate guest segment limit to virt-extension byte granular field
If 'g' is one then limit is 4kb granular.
Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 577bdc496614ced56d999bbb425e85adf2386490
Author: Avi Kivity <avi at qumranet.com>
Date: Sat Jul 19 08:57:05 2008 +0300
KVM: Avoid instruction emulation when event delivery is pending
When an event (such as an interrupt) is injected, and the stack is
shadowed (and therefore write protected), the guest will exit. The
current code will see that the stack is shadowed and emulate a few
instructions, each time postponing the injection. Eventually the
injection may succeed, but at that time the guest may be unwilling
to accept the interrupt (for example, the TPR may have changed).
This occurs every once in a while during a Windows 2008 boot.
Fix by unshadowing the fault address if the fault was due to an event
injection.
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 34198bf8426276a2ce1e97056a0f02d43637e5ae
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date: Wed Jul 16 19:07:11 2008 -0300
KVM: task switch: use seg regs provided by subarch instead of reading from GDT
There is no guarantee that the old TSS descriptor in the GDT contains
the proper base address. This is the case for Windows installation's
reboot-via-triplefault.
Use guest registers instead. Also translate the address properly.
Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 98899aa0e0bf5de05850082be0eb837058c09ea5
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date: Wed Jul 16 19:07:10 2008 -0300
KVM: task switch: segment base is linear address
The segment base is always a linear address, so translate before
accessing guest memory.
Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 5f4cb662a0a2533b45656607471571460310a5ca
Author: Joerg Roedel <joerg.roedel at amd.com>
Date: Mon Jul 14 20:36:36 2008 +0200
KVM: SVM: allow enabling/disabling NPT by reloading only the architecture module
If NPT is enabled after loading both KVM modules on AMD and it should be
disabled, both KVM modules must be reloaded. If only the architecture module is
reloaded the behavior is undefined. With this patch it is possible to disable
NPT only by reloading the kvm_amd module.
Signed-off-by: Joerg Roedel <joerg.roedel at amd.com>
Signed-off-by: Avi Kivity <avi at qumranet.com>
commit 536319afd1f25383009c0c88f6fb00104f49c178
Author: Nicolas Boichat <nicolas at boichat.ch>
Date: Mon Jul 21 22:18:01 2008 +0800
ALSA: Allow to force model to intel-mac-v3 in snd_hda_intel (sigmatel).
Currently, even if you pass model=intel-mac-v3 as a module parameter to
snd_hda_intel, the function patch_stac922x (patch_sigmatel.c) will still
try to auto-detect the model type. This is a problem on my MacBook Pro 1st
generation, which needs intel-mac-v3, but sometimes incorrectly reports
0x00000100 as subsystem id, which causes the switch in patch_stac922x to
select intel-mac-v4.
To fix this, I added a new model called intel-mac-auto, so in case no
module parameter is passed, and an Intel Mac board is detected, the
model will be automatically detected, while no detection will be done
if the model is forced to intel-mac-v3.
This problem has been around for quite a while, and I used to fix it
by moving the case statement for 0x00000100 in patch_stac922x so that
intel-mac-v3 is chosen.
Another way to fix the problem would be to check if a module parameter
was set directly in patch_stac922x, using something like this:
if (spec->board_config == STAC_INTEL_MAC_V3 &&
!codec->bus->modelname) {
But I think it is less elegant (if you prefer that way, I can prepare a
patch).
Signed-off-by: Nicolas Boichat <nicolas at boichat.ch>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit b15ebe2616289da258f85b3ff142fca237ef9f59
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 07:48:49 2008 +0200
ALSA: cs4232: fix crash during chip PNP detection
The acard->wss pointer is uninitialized in this function
which leads to crash during chip PNP detection.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Acked-by: Rene Herman <rene.herman at gmail.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit fe7e873f52f17ad9b8ee9e2c70acaddcae22443b
Author: Travis Place <wishie at wishie.net>
Date: Sun Jul 27 10:13:26 2008 +0200
ALSA: hda - Add automatic model setting for the Acer Aspire 5920G laptop
Make the Acer Aspire 5920G (1025:0121) select ALC883_ACER_ASPIRE
by default.
Signed-off-by: Travis Place <wishie at wishie.net>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit 13c2108de4437771a77f775fe33e9a33c53a8a14
Author: Adrian Bunk <bunk at kernel.org>
Date: Tue Jul 22 20:21:32 2008 +0300
ALSA: make snd_ac97_add_vmaster() static
This patch makes the needlessly global snd_ac97_add_vmaster() static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit 6aa1e464453e398e4ab12558777fb10cff8a284d
Author: Adrian Bunk <bunk at kernel.org>
Date: Tue Jul 22 20:21:28 2008 +0300
ALSA: sound/pci/azt3328.h: no variables for enums
AZF_FREQUENCIES and AZF_GAME_CONFIGS were variables, and this doesn't
seem to have been intended.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: Andreas Mohr <andi at lisas.de>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit 8be1a6d6c77ab4532e4476fdb8177030ef48b52c
Merge: 852fef69c0d9510a28a70221cfddd004efa02552 cc9969c96765476db5e30c9e074a57838604c1d1
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sat Jul 26 20:40:36 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
mlx4: Update/add Mellanox Technologies copyright lines to mlx4 driver files
mlx4_core: Add VLAN tag field to WQE control segment struct
RDMA/nes: CM connection setup/teardown rework
IPoIB: Correct help text for INFINIBAND_IPOIB_DEBUG
IPoIB/cm: Connected mode is no longer EXPERIMENTAL
RDMA/ucm: BKL is not needed for ib_ucm_open()
RDMA/ucma: BKL is not needed for ucma_open()
commit 852fef69c0d9510a28a70221cfddd004efa02552
Author: Oliver Neukum <oliver at neukum.org>
Date: Sat Jul 26 22:42:42 2008 +0200
fix for a memory leak in an error case introduced by fix for double free
The fix NULLed a pointer without freeing it.
Signed-off-by: Oliver Neukum <oneukum at suse.de>
Reported-by: Juha Motorsportcom <juha_motorsportcom at luukku.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9ee08c2df47c10ba624ff05a6c0f2500748bcb69
Merge: eaf0ba5ef69538b6913525294a3a0fcb0e0992e0 3d45955962496879dead8d4dd70bb9a23b07154b
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sat Jul 26 20:30:56 2008 -0700
Merge git://git.infradead.org/mtd-2.6
* git://git.infradead.org/mtd-2.6: (57 commits)
[MTD] [NAND] subpage read feature as a way to increase performance.
CPUFREQ: S3C24XX NAND driver frequency scaling support.
[MTD][NAND] au1550nd: remove unused variable
[MTD] jedec_probe: Fix SST 16-bit chip detection
[MTD][MTDPART] Fix a division by zero bug
[MTD][MTDPART] Cleanup and document the erase region handling
[MTD][MTDPART] Handle most checkpatch findings
[MTD][MTDPART] Seperate main loop from per-partition code in add_mtd_partition
[MTD] physmap: resume already suspended chips on failure to suspend
[MTD] physmap: Fix suspend/resume/shutdown bugs.
[MTD] [NOR] Fix -ETIMEO errors in CFI driver
[MTD] [NAND] fsl_elbc_nand: fix section mismatch with CONFIG_MTD_OF_PARTS=y
[JFFS2] Use .unlocked_ioctl
[MTD] Fix const assignment in the MTD command line partitioning driver
[MTD] [NOR] gen_probe: No debug message when debugging is disabled
[MTD] [NAND] remove __PPC__ hardcoded address from DiskOnChip drivers
[MTD] [MAPS] Remove the bast-flash driver.
[MTD] [NAND] fsl_elbc_nand: ecclayout cleanups
[MTD] [NAND] fsl_elbc_nand: implement support for flash-based BBT
[MTD] [NAND] fsl_elbc_nand: fix OOB workability for large page NAND chips
...
commit eaf0ba5ef69538b6913525294a3a0fcb0e0992e0
Merge: 732730d48dc777f6577a6e0fece42b860324998e a9906a19193db69ad0158f289f839edf8aaf103f
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sat Jul 26 20:29:39 2008 -0700
Merge branch 'tracehook' of git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-utrace
* 'tracehook' of git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-utrace:
tracehook: comment fixes
commit 732730d48dc777f6577a6e0fece42b860324998e
Author: Geert Uytterhoeven <geert at linux-m68k.org>
Date: Sun Jul 27 01:39:52 2008 +0200
m68k: gs: use tty_port fixes
commit b5391e29f428d11755ca2c91074c6db6f5c69d7c ("gs: use tty_port")
forgot to update the m68k gs serial drivers.
Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit bdee6ac7d1c9a4a9b65db1753b0bfa0b61361dde
Merge: 4836e3007882984279ca63d3c42bf0b14616eb78 deec9ae31e6079551ce9260d29a4cf83e5b19a83
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sat Jul 26 20:27:31 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc:
atmel-mci: debugfs support
mmc: Add per-card debugfs support
mmc: Export internal host state through debugfs
imxmmc: fix crash when no platform data is provided
imxmmc: fix platform resources
imxmmc: remove DEBUG definition
mmc_spi: put signals to low power off fix
commit 4836e3007882984279ca63d3c42bf0b14616eb78
Merge: 5c7c204aeca51ccfad63caab4fcdc5d8026c0fd8 4e1e018ecc6f7bfd10fc75b3ff9715cc8164e0a2
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sat Jul 26 20:23:44 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (39 commits)
[PATCH] fix RLIM_NOFILE handling
[PATCH] get rid of corner case in dup3() entirely
[PATCH] remove remaining namei_{32,64}.h crap
[PATCH] get rid of indirect users of namei.h
[PATCH] get rid of __user_path_lookup_open
[PATCH] f_count may wrap around
[PATCH] dup3 fix
[PATCH] don't pass nameidata to __ncp_lookup_validate()
[PATCH] don't pass nameidata to gfs2_lookupi()
[PATCH] new (local) helper: user_path_parent()
[PATCH] sanitize __user_walk_fd() et.al.
[PATCH] preparation to __user_walk_fd cleanup
[PATCH] kill nameidata passing to permission(), rename to inode_permission()
[PATCH] take noexec checks to very few callers that care
Re: [PATCH 3/6] vfs: open_exec cleanup
[patch 4/4] vfs: immutable inode checking cleanup
[patch 3/4] fat: dont call notify_change
[patch 2/4] vfs: utimes cleanup
[patch 1/4] vfs: utimes: move owner check into inode_change_ok()
[PATCH] vfs: use kstrdup() and check failing allocation
...
commit 5c7c204aeca51ccfad63caab4fcdc5d8026c0fd8
Merge: 228428428138e231a155464239880201e5cc8b44 3712b42d4b1bec29a4232a6673bf2e6dcc5faa68
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sat Jul 26 20:19:41 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6:
Add layer1 over IP support
Add mISDN HFC multiport driver
Add mISDN HFC PCI driver
Add mISDN DSP
Add mISDN core files
Define AF_ISDN and PF_ISDN
Add mISDN driver
commit 228428428138e231a155464239880201e5cc8b44
Merge: 78681ac08a611313595d13cafabae1183b71ef48 6c3b8fc618905d7599dcc514c99ce4293d476f39
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sat Jul 26 20:17:56 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
netns: fix ip_rt_frag_needed rt_is_expired
netfilter: nf_conntrack_extend: avoid unnecessary "ct->ext" dereferences
netfilter: fix double-free and use-after free
netfilter: arptables in netns for real
netfilter: ip{,6}tables_security: fix future section mismatch
selinux: use nf_register_hooks()
netfilter: ebtables: use nf_register_hooks()
Revert "pkt_sched: sch_sfq: dump a real number of flows"
qeth: use dev->ml_priv instead of dev->priv
syncookies: Make sure ECN is disabled
net: drop unused BUG_TRAP()
net: convert BUG_TRAP to generic WARN_ON
drivers/net: convert BUG_TRAP to generic WARN_ON
commit 78681ac08a611313595d13cafabae1183b71ef48
Author: Randy Dunlap <randy.dunlap at oracle.com>
Date: Sat Jul 26 15:22:28 2008 -0700
firmware: fix memmap printk format warnings
Fix firmware/memmap printk format warnings:
drivers/firmware/memmap.c:156: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'resource_size_t'
drivers/firmware/memmap.c:161: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'resource_size_t'
Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
Cc: Bernhard Walle <bwalle at suse.de>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3b8f14b41026fb7d7e9a4af2a4128a702d07ad26
Author: Adrian Bunk <bunk at kernel.org>
Date: Sat Jul 26 15:22:28 2008 -0700
mm/util.c must #include <linux/sched.h>
mm/util.c: In function 'arch_pick_mmap_layout':
mm/util.c:144: error: dereferencing pointer to incomplete type
mm/util.c:145: error: 'arch_get_unmapped_area' undeclared (first use in this function)
mm/util.c:145: error: (Each undeclared identifier is reported only once
mm/util.c:145: error: for each function it appears in.)
mm/util.c:146: error: 'arch_unmap_area' undeclared (first use in this function)
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 510a35d4a47802f4a0028aa6bd2ca2170da5e32f
Author: Andrea Righi <righi.andrea at gmail.com>
Date: Sat Jul 26 15:22:27 2008 -0700
hugetlb: remove unused variable warning
Remove the following warning when CONFIG_HUGETLB_PAGE is not set:
ipc/shm.c: In function `shm_get_stat':
ipc/shm.c:565: warning: unused variable `h'
[akpm at linux-foundation.org: use tabs, not spaces]
Signed-off-by: Andrea Righi <righi.andrea at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b2d002dba5a8a4c0c3ec96fd1ff3c9def6bd71a1
Author: Andrea Righi <righi.andrea at gmail.com>
Date: Sat Jul 26 15:22:27 2008 -0700
task IO accounting: correctly account threads IO statistics
Oleg Nesterov points out that we should check that the task is still alive
before we iterate over the threads. This patch includes a fixup for this.
Also simplify do_io_accounting() implementation.
Signed-off-by: Andrea Righi <righi.andrea at gmail.com>
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6a9436d0c3cbe8941b1acd5b0736d355295cad98
Author: Michael Buesch <mb at bu3sch.de>
Date: Sat Jul 26 15:22:26 2008 -0700
gpiolib: fix typo in comment
This fixes an off-by-one error in a comment.
Signed-off-by: Michael Buesch <mb at bu3sch.de>
Cc: David Brownell <david-b at pacbell.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4e1e018ecc6f7bfd10fc75b3ff9715cc8164e0a2
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Sat Jul 26 16:01:20 2008 -0400
[PATCH] fix RLIM_NOFILE handling
* dup2() should return -EBADF on exceeded sysctl_nr_open
* dup() should *not* return -EINVAL even if you have rlimit set to 0;
it should get -EMFILE instead.
Check for orig_start exceeding rlimit taken to sys_fcntl().
Failing expand_files() in dup{2,3}() now gets -EMFILE remapped to -EBADF.
Consequently, remaining checks for rlimit are taken to expand_files().
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 6c5d0512a091480c9f981162227fdb1c9d70e555
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Sat Jul 26 13:38:19 2008 -0400
[PATCH] get rid of corner case in dup3() entirely
Since Ulrich is OK with getting rid of dup3(fd, fd, flags) completely,
to hell the damn thing goes. Corner case for dup2() is handled in
sys_dup2() (complete with -EBADF if dup2(fd, fd) is called with fd
that is not open), the rest is done in dup3().
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 4cc38a1b383f0c6c65a3fef4ff8144e8000e4ec3
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Sat Jul 26 03:48:26 2008 -0400
[PATCH] remove remaining namei_{32,64}.h crap
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 3f8206d496e9e9495afb1d4e70d29712b4d403c9
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Sat Jul 26 03:46:43 2008 -0400
[PATCH] get rid of indirect users of namei.h
fs.h needs path.h, not namei.h; nfs_fs.h doesn't need it at all.
Several places in the tree needed direct include.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 964bd183624c03680796b63b4ab97ee3905a806a
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Sat Jul 26 03:33:14 2008 -0400
[PATCH] get rid of __user_path_lookup_open
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 516e0cc5646f377ab80fcc2ee639892eccb99853
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Sat Jul 26 00:39:17 2008 -0400
[PATCH] f_count may wrap around
make it atomic_long_t; while we are at it, get rid of useless checks in affs,
hfs and hpfs - ->open() always has it equal to 1, ->release() - to 0.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 3c333937ee3be114b181c4861188cfe8f6a59697
Author: Ulrich Drepper <drepper at redhat.com>
Date: Fri Jul 25 22:32:13 2008 -0400
[PATCH] dup3 fix
Al Viro notice one cornercase that the new dup3() code. The dup2()
function, as a special case, handles dup-ing to the same file
descriptor. In this case the current dup3() code does nothing at
all. I.e., it ingnores the flags parameter. This shouldn't happen,
the close-on-exec flag should be set if requested.
In case the O_CLOEXEC bit in the flags parameter is not set the
dup3() function should behave in this respect identical to dup2().
This means dup3(fd, fd, 0) should not actively reset the c-o-e
flag.
The patch below implements this minor change.
[AV: credits to Artur Grabowski for bringing that up as potential subtle point
in dup2() behaviour]
Signed-off-by: Ulrich Drepper <drepper at redhat.com>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 58ec42b061bf5dad8fa0370a19966cfd96eaf80c
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Wed Jul 23 14:45:55 2008 -0400
[PATCH] don't pass nameidata to __ncp_lookup_validate()
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit a569c711f63995ad80c23918525111e0cdb0bc73
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Wed Jul 23 14:42:05 2008 -0400
[PATCH] don't pass nameidata to gfs2_lookupi()
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 2ad94ae654f5eb72fd3260b706aea645cf4a7791
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Mon Jul 21 09:32:51 2008 -0400
[PATCH] new (local) helper: user_path_parent()
Preparation to untangling intents mess: reduce the number of do_path_lookup()
callers.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 2d8f30380ab8c706f4e0a8f1aaa22b5886e9ac8a
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Tue Jul 22 09:59:21 2008 -0400
[PATCH] sanitize __user_walk_fd() et.al.
* do not pass nameidata; struct path is all the callers want.
* switch to new helpers:
user_path_at(dfd, pathname, flags, &path)
user_path(pathname, &path)
user_lpath(pathname, &path)
user_path_dir(pathname, &path) (fail if not a directory)
The last 3 are trivial macro wrappers for the first one.
* remove nameidata in callers.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 256984a83880ff7ac78055cb87baea48137f0b77
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Tue Jul 22 08:09:30 2008 -0400
[PATCH] preparation to __user_walk_fd cleanup
Almost all users __user_walk_fd() and friends care only about struct path.
Get rid of the few that do not.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit f419a2e3b64def707e1384ee38abb77f99af5f6d
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Tue Jul 22 00:07:17 2008 -0400
[PATCH] kill nameidata passing to permission(), rename to inode_permission()
Incidentally, the name that gives hundreds of false positives on grep
is not a good idea...
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 30524472c2f728c20d6bf35191042a5d455c0a64
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Tue Jul 22 00:02:33 2008 -0400
[PATCH] take noexec checks to very few callers that care
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit e56b6a5dda1a36ffaa532df6f975ea324298fa4d
Author: Christoph Hellwig <hch at lst.de>
Date: Mon May 19 07:53:34 2008 +0200
Re: [PATCH 3/6] vfs: open_exec cleanup
On Mon, May 19, 2008 at 12:01:49AM +0200, Marcin Slusarz wrote:
> open_exec is needlessly indented, calls ERR_PTR with 0 argument
> (which is not valid errno) and jumps into middle of function
> just to return value.
> So clean it up a bit.
Still looks rather messy. See below for a better version.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit beb29e058c35ab69e96e455a12ccf7505f6de425
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Tue Jul 1 15:01:29 2008 +0200
[patch 4/4] vfs: immutable inode checking cleanup
Move the immutable and append-only checks from chmod, chown and utimes
into notify_change(). Checks for immutable and append-only files are
always performed by the VFS and not by the filesystem (see
permission() and may_...() in namei.c), so these belong in
notify_change(), and not in inode_change_ok().
This should be completely equivalent.
CC: Ulrich Drepper <drepper at redhat.com>
CC: Michael Kerrisk <mtk.manpages at gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit b1da47e29e467f1ec36dc78d009bfb109fd533c7
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Tue Jul 1 15:01:28 2008 +0200
[patch 3/4] fat: dont call notify_change
The FAT_IOCTL_SET_ATTRIBUTES ioctl() calls notify_change() to change
the file mode before changing the inode attributes. Replace with
explicit calls to security_inode_setattr(), fat_setattr() and
fsnotify_change().
This is equivalent to the original. The reason it is needed, is that
later in the series we move the immutable check into notify_change().
That would break the FAT_IOCTL_SET_ATTRIBUTES ioctl, as it needs to
perform the mode change regardless of the immutability of the file.
[Fix error if fat is built as a module. Thanks to OGAWA Hirofumi for
noticing.]
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Acked-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit e9b76fedc61235da80b6b7f81dfd67ec224dfb49
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Tue Jul 1 15:01:27 2008 +0200
[patch 2/4] vfs: utimes cleanup
Untange the mess that is do_utimes(). Add kerneldoc comment to
do_utimes().
CC: Ulrich Drepper <drepper at redhat.com>
CC: Michael Kerrisk <mtk.manpages at gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 9767d74957450da6365c363d69e3d02d605d7375
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Tue Jul 1 15:01:26 2008 +0200
[patch 1/4] vfs: utimes: move owner check into inode_change_ok()
Add a new ia_valid flag: ATTR_TIMES_SET, to handle the
UTIMES_OMIT/UTIMES_NOW and UTIMES_NOW/UTIMES_OMIT cases. In these
cases neither ATTR_MTIME_SET nor ATTR_ATIME_SET is in the flags, yet
the POSIX draft specifies that permission checking is performed the
same way as if one or both of the times was explicitly set to a
timestamp.
See the path "vfs: utimensat(): fix error checking for
{UTIME_NOW,UTIME_OMIT} case" by Michael Kerrisk for the patch
introducing this behavior.
This is a cleanup, as well as allowing filesystems (NFS/fuse/...) to
perform their own permission checking instead of the default.
CC: Ulrich Drepper <drepper at redhat.com>
CC: Michael Kerrisk <mtk.manpages at gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 88b387824fdaecb6ba0f471acf0aadf7d24739fd
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Mon Jul 21 18:06:36 2008 +0800
[PATCH] vfs: use kstrdup() and check failing allocation
- use kstrdup() instead of kmalloc() + memcpy()
- return NULL if allocating ->mnt_devname failed
- mnt_devname should be const
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Acked-by: Cyrill Gorcunov <gorcunov at gmail.com>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 672b16b2f66c149888bd876a4f92342112205fe1
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Thu Jul 17 09:45:01 2008 -0400
[PATCH] more nameidata removal: exec_permission_lite() doesn't need it
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit b77b0646ef4efe31a7449bb3d9360fd00f95433d
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Thu Jul 17 09:37:02 2008 -0400
[PATCH] pass MAY_OPEN to vfs_permission() explicitly
... and get rid of the last "let's deduce mask from nameidata->flags"
bit.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit a110343f0d6d41f68b7cf8c00b57a3172c67f816
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Thu Jul 17 09:19:08 2008 -0400
[PATCH] fix MAY_CHDIR/MAY_ACCESS/LOOKUP_ACCESS mess
* MAY_CHDIR is redundant - it's an equivalent of MAY_ACCESS
* MAY_ACCESS on fuse should affect only the last step of pathname resolution
* fchdir() and chroot() should pass MAY_ACCESS, for the same reason why
chdir() needs that.
* now that we pass MAY_ACCESS explicitly in all cases, LOOKUP_ACCESS can be
removed; it has no business being in nameidata.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 7f2da1e7d0330395e5e9e350b879b98a1ea495df
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Sat May 10 20:44:54 2008 -0400
[PATCH] kill altroot
long overdue...
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 8bb79224b87aab92071e94d46e70bd160d89bf34
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Wed Jul 16 09:51:03 2008 -0400
[PATCH] permission checks for chdir need special treatment only on the last step
... so we ought to pass MAY_CHDIR to vfs_permission() instead of having
it triggered on every step of preceding pathname resolution. LOOKUP_CHDIR
is killed by that.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit db2e747b14991a4c6a5c98b0e5f552a193237c03
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Tue Jun 24 16:50:16 2008 +0200
[patch 5/5] vfs: remove mode parameter from vfs_symlink()
Remove the unused mode parameter from vfs_symlink and callers.
Thanks to Tetsuo Handa for noticing.
CC: Tetsuo Handa <penguin-kernel at I-love.SAKURA.ne.jp>
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
commit 7e79eedb3b22200cc8b774baea3a7bf28d766101
Author: Tetsuo Handa <penguin-kernel at i-love.sakura.ne.jp>
Date: Tue Jun 24 16:50:15 2008 +0200
[patch 4/5] vfs: reuse local variable in vfs_link()
Why not reuse "inode" which is assigned as
struct inode *inode = old_dentry->d_inode;
in the beginning of vfs_link() ?
Signed-off-by: Tetsuo Handa <penguin-kernel at I-love.SAKURA.ne.jp>
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
commit 2f1936b87783a3a56c9441b27b9ba7a747f11e8e
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Tue Jun 24 16:50:14 2008 +0200
[patch 3/5] vfs: change remove_suid() to file_remove_suid()
All calls to remove_suid() are made with a file pointer, because
(similarly to file_update_time) it is called when the file is written.
Clean up callers by passing in a file instead of a dentry.
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
commit c82e42da8a6b2f3a85dc4d4278cb8238702f8f64
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Tue Jun 24 16:50:12 2008 +0200
[patch 1/5] vfs: truncate: dont check immutable twice
vfs_permission(MAY_WRITE) already checked for the inode being
immutable, so no need to repeat it.
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Acked-by: Christoph Hellwig <hch at infradead.org>
commit e6305c43eda10ebfd2ad9e35d6e172ccc7bb3695
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Tue Jul 15 21:03:57 2008 -0400
[PATCH] sanitize ->permission() prototype
* kill nameidata * argument; map the 3 bits in ->flags anybody cares
about to new MAY_... ones and pass with the mask.
* kill redundant gfs2_iop_permission()
* sanitize ecryptfs_permission()
* fix remaining places where ->permission() instances might barf on new
MAY_... found in mask.
The obvious next target in that direction is permission(9)
folded fix for nfs_permission() breakage from Miklos Szeredi <mszeredi at suse.cz>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 1bd5191d9f5d1928c4efdf604c4164b04bb88dbe
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Wed May 21 19:15:03 2008 +0200
[patch 05/14] hpfs: dont call permission()
hpfs_unlink() calls permission() prior to truncating the file. HPFS
doesn't define a .permission method, so replace with explicit call to
generic_permission().
This is equivalent, except that devcgroup_inode_permission() and
security_inode_permission() are not called.
The truncation is just an implementation detail of the unlink, so
these security checks are unnecessary.
I suspect that even calling generic_permission() is unnecessary, since
we shouldn't mind if the file isn't writable. But I leave that to the
maintainer to decide.
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
CC: Mikulas Patocka <mikulas at artax.karlin.mff.cuni.cz>
commit 9043476f726802f4b00c96d0c4f418dde48d1304
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Tue Jul 15 08:54:06 2008 -0400
[PATCH] sanitize proc_sysctl
* keep references to ctl_table_head and ctl_table in /proc/sys inodes
* grab the former during operations, use the latter for access to
entry if that succeeds
* have ->d_compare() check if table should be seen for one who does lookup;
that allows us to avoid flipping inodes - if we have the same name resolve
to different things, we'll just keep several dentries and ->d_compare()
will reject the wrong ones.
* have ->lookup() and ->readdir() scan the table of our inode first, then
walk all ctl_table_header and scan ->attached_by for those that are
attached to our directory.
* implement ->getattr().
* get rid of insane amounts of tree-walking
* get rid of the need to know dentry in ->permission() and of the contortions
induced by that.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit ae7edecc9b8810770a8e5cb9a466ea4bdcfa8401
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Tue Jul 15 06:33:31 2008 -0400
[PATCH] sysctl: keep track of tree relationships
In a sense, that's the heart of the series. It's based on the following
property of the trees we are actually asked to add: they can be split into
stem that is already covered by registered trees and crown that is entirely
new. IOW, if a/b and a/c/d are introduced by our tree, then a/c is also
introduced by it.
That allows to associate tree and table entry with each node in the union;
while directory nodes might be covered by many trees, only one will cover
the node by its crown. And that will allow much saner logics for /proc/sys
in the next patches. This patch introduces the data structures needed to
keep track of that.
When adding a sysctl table, we find a "parent" one. Which is to say,
find the deepest node on its stem that already is present in one of the
tables from our table set or its ancestor sets. That table will be our
parent and that node in it - attachment point. Add our table to list
anchored in parent, have it refer the parent and contents of attachment
point. Also remember where its crown lives.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit bd7b1533cd6a68c734062aa69394bec7e2b1718e
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Tue Jul 15 16:00:59 2008 -0400
[PATCH] sysctl: make sure that /proc/sys/net/ipv4 appears before per-ns ones
Massage ipv4 initialization - make sure that net.ipv4 appears as
non-per-net-namespace before it shows up in per-net-namespace sysctls.
That's the only change outside of sysctl.c needed to get sane ordering
rules and data structures for sysctls (esp. for procfs side of that
mess).
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit f7e6ced4061da509f737541ca4dbd44d83a6e82f
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Tue Jul 15 01:44:23 2008 -0400
[PATCH] allow delayed freeing of ctl_table_header
Refcount the sucker; instead of freeing it by the end of unregistration
just drop the refcount and free only when it hits zero. Make sure that
we _always_ make ->unregistering non-NULL in start_unregistering().
That allows anybody to get a reference to such puppy, preventing its
freeing and reuse. It does *not* block unregistration. Anybody who
holds such a reference can
* try to grab a "use" reference (ctl_head_grab()); that will
succeeds if and only if it hadn't entered unregistration yet. If it
succeeds, we can use it in all normal ways until we release the "use"
reference (with ctl_head_finish()). Note that this relies on having
->unregistering become non-NULL in all cases when one starts to unregister
the sucker.
* keep pointers to ctl_table entries; they *can* be freed if
the entire thing is unregistered. However, if ctl_head_grab() succeeds,
we know that unregistration had not happened (and will not happen until
ctl_head_finish()) and such pointers can be used safely.
IOW, now we can have inodes under /proc/sys keep references to ctl_table
entries, protecting them with references to ctl_table_header and
grabbing the latter for the duration of operations that require access
to ctl_table. That won't cause deadlocks, since unregistration will not
be stopped by mere keeping a reference to ctl_table_header.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 734550921e9b7ab924a43aa3d0bd4239dac4fbf1
Author: Al Viro <viro at zeniv.linux.org.uk>
Date: Mon Jul 14 21:22:20 2008 -0400
[PATCH] beginning of sysctl cleanup - ctl_table_set
New object: set of sysctls [currently - root and per-net-ns].
Contains: pointer to parent set, list of tables and "should I see this set?"
method (->is_seen(set)).
Current lists of tables are subsumed by that; net-ns contains such a beast.
->lookup() for ctl_table_root returns pointer to ctl_table_set instead of
that to ->list of that ctl_table_set.
[folded compile fixes by rdd for configs without sysctl]
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 7ac6cd653d7c31ad6b7bb5b88c549c4ebf628c34
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Tue Jul 1 23:07:54 2008 +0200
[patch] hppfs: remove hppfs_permission
hppfs_permission() is equivalent to the '.permission == NULL' case.
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit d2d9648ec6858e19d16a0b16da62534e85888653
Author: Denys Vlasenko <vda.linux at googlemail.com>
Date: Tue Jul 1 14:16:09 2008 +0200
[PATCH] reuse xxx_fifo_fops for xxx_pipe_fops
Merge fifo and pipe file_operations.
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit d70b67c8bc72ee23b55381bd6a884f4796692f77
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Wed Jul 2 21:30:15 2008 +0200
[patch] vfs: fix lookup on deleted directory
Lookup can install a child dentry for a deleted directory. This keeps
the directory dentry alive, and the inode pinned in the cache and on
disk, even after all external references have gone away.
This isn't a big problem normally, since memory pressure or umount
will clear out the directory dentry and its children, releasing the
inode. But for UBIFS this causes problems because its orphan area can
overflow.
Fix this by returning ENOENT for all lookups on a S_DEAD directory
before creating a child dentry.
Thanks to Zoltan Sogor for noticing this while testing UBIFS, and
Artem for the excellent analysis of the problem and testing.
Reported-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Tested-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 6c3b8fc618905d7599dcc514c99ce4293d476f39
Author: Hugh Dickins <hugh at veritas.com>
Date: Sat Jul 26 17:51:06 2008 -0700
netns: fix ip_rt_frag_needed rt_is_expired
Running recent kernels, and using a particular vpn gateway, I've been
having to edit my mails down to get them accepted by the smtp server.
Git bisect led to commit e84f84f276473dcc673f360e8ff3203148bdf0e2 -
netns: place rt_genid into struct net. The conversion from a != test
to rt_is_expired() put one negative too many: and now my mail works.
Signed-off-by: Hugh Dickins <hugh at veritas.com>
Acked-by: Denis V. Lunev <den at openvz.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 6c64825bf40ecc1b01610762ca736b18c8a9db92
Author: Patrick McHardy <kaber at trash.net>
Date: Sat Jul 26 17:50:05 2008 -0700
netfilter: nf_conntrack_extend: avoid unnecessary "ct->ext" dereferences
As Linus points out, "ct->ext" and "new" are always equal, avoid unnecessary
dereferences and use "new" directly.
Signed-off-by: Patrick McHardy <kaber at trash.net>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 93bc4e89c260d91576840c4881d1066d84ccd422
Author: Pekka Enberg <penberg at cs.helsinki.fi>
Date: Sat Jul 26 17:49:33 2008 -0700
netfilter: fix double-free and use-after free
As suggested by Patrick McHardy, introduce a __krealloc() that doesn't
free the original buffer to fix a double-free and use-after-free bug
introduced by me in netfilter that uses RCU.
Reported-by: Patrick McHardy <kaber at trash.net>
Signed-off-by: Pekka Enberg <penberg at cs.helsinki.fi>
Tested-by: Dieter Ries <clip2 at gmx.de>
Signed-off-by: Patrick McHardy <kaber at trash.net>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 3918fed5f31213067c1c345bd904e1ea369e6819
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Sat Jul 26 17:48:59 2008 -0700
netfilter: arptables in netns for real
IN, FORWARD -- grab netns from in device, OUT -- from out device.
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Signed-off-by: Patrick McHardy <kaber at trash.net>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit f858b4869a9136dd28cc2ab37f8b89268cc99462
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Sat Jul 26 17:48:38 2008 -0700
netfilter: ip{,6}tables_security: fix future section mismatch
Currently not visible, because NET_NS is mutually exclusive with SYSFS
which is required by SECURITY.
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Signed-off-by: Patrick McHardy <kaber at trash.net>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 6c5a9d2e1599a099b0e47235a1c1502162b14310
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Sat Jul 26 17:48:15 2008 -0700
selinux: use nf_register_hooks()
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Acked-by: James Morris <jmorris at namei.org>
Signed-off-by: Patrick McHardy <kaber at trash.net>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit e40f51a36a6ca718e829c0933ab1e79333ac932e
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Sat Jul 26 17:47:53 2008 -0700
netfilter: ebtables: use nf_register_hooks()
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Signed-off-by: Patrick McHardy <kaber at trash.net>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 3712b42d4b1bec29a4232a6673bf2e6dcc5faa68
Author: Karsten Keil <kkeil at suse.de>
Date: Sun Jul 27 02:02:10 2008 +0200
Add layer1 over IP support
Implement a ISDN over IP tunnel to use mISDN hardware on
remote locations.
Signed-off-by: Karsten Keil <kkeil at suse.de>
commit af69fb3a8ffa37e986db00ed93099dc44babeef4
Author: Karsten Keil <kkeil at suse.de>
Date: Sun Jul 27 02:00:43 2008 +0200
Add mISDN HFC multiport driver
Enable support for cards with Cologne Chip AG's HFC multiport
chip.
Signed-off-by: Karsten Keil <kkeil at suse.de>
commit 1700fe1a10dc0eaac0ef60a8093eaeafa9bff9ae
Author: Karsten Keil <kkeil at suse.de>
Date: Sat Jul 26 18:55:28 2008 +0200
Add mISDN HFC PCI driver
Enable support for card with Cologne Chip AG's
HFC PCIbased cards
Signed-off-by: Karsten Keil <kkeil at suse.de>
commit 960366cf8dbb3359afaca30cf7fdbf69a6d6dda7
Author: Karsten Keil <kkeil at suse.de>
Date: Sun Jul 27 01:56:38 2008 +0200
Add mISDN DSP
Enable support for digital audio processing capability.
This module may be used for special applications that require
cross connecting of bchannels, conferencing, dtmf decoding
echo cancelation, tone generation, and Blowfish encryption and
decryption.
It may use hardware features if available.
Signed-off-by: Karsten Keil <kkeil at suse.de>
commit 1b2b03f8e514e4f68e293846ba511a948b80243c
Author: Karsten Keil <kkeil at suse.de>
Date: Sun Jul 27 01:54:58 2008 +0200
Add mISDN core files
Add mISDN core files
Signed-off-by: Karsten Keil <kkeil at suse.de>
commit 04578dd330f1ec6bc9c4233833bee0d0ca73ff09
Author: Karsten Keil <kkeil at suse.de>
Date: Sat Jul 26 18:52:34 2008 +0200
Define AF_ISDN and PF_ISDN
Define the address and protocol family value for mISDN.
Signed-off-by: Karsten Keil <kkeil at suse.de>
commit e4ac9bc1f6686dcb8c34e2756aa93cc9546fa6ae
Author: Karsten Keil <kkeil at suse.de>
Date: Sat Jul 26 18:52:11 2008 +0200
Add mISDN driver
mISDN is a new modular ISDN driver, in the long term it should replace
the old I4L driver architecture for passiv ISDN cards.
Signed-off-by: Karsten Keil <kkeil at suse.de>
commit deec9ae31e6079551ce9260d29a4cf83e5b19a83
Author: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Thu Jul 24 14:18:59 2008 +0200
atmel-mci: debugfs support
Create additional files under the host's debugfs directory containing
additional host-specific debug information.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit f4b7f927b531ca350cfc4ca1bdc3377dac7f9a32
Author: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Thu Jul 24 14:18:58 2008 +0200
mmc: Add per-card debugfs support
For each card successfully added to the bus, create a subdirectory under
the host's debugfs root with information about the card.
At the moment, only a single file is added to the card directory for
all cards: "state". It reflects the "state" field in struct mmc_card,
indicating whether the card is present, readonly, etc.
For MMC and SD cards (not SDIO), another file is added: "status".
Reading this file will ask the card about its current status and
return it. This can be useful if the card just refuses to respond to
any commands, which might indicate that the card state is not what the
MMC core thinks it is (due to a missing stop command, for example.)
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit 6edd8ee60ac9b974bd6ec3b1bcb2aab02762fa8c
Author: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Thu Jul 24 14:18:57 2008 +0200
mmc: Export internal host state through debugfs
When CONFIG_DEBUG_FS is set, create a few files under /sys/kernel/debug
containing information about an mmc host's internal state. Currently,
just a single file is created, "ios", which contains information about
the current operating parameters for the bus (clock speed, bus width,
etc.)
Host drivers can add additional files and directories under the host's
root directory by passing the debugfs_root field in struct mmc_host as
the 'parent' parameter to debugfs_create_*.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit c5d5e9c40fc6cabedd5fdc7441e6e9d37f5c9bba
Author: Paulius Zaleckas <paulius.zaleckas at teltonika.lt>
Date: Wed Jul 9 16:03:20 2008 +0300
imxmmc: fix crash when no platform data is provided
Don't crash if no platform data is provided.
In this case assume that card is present.
Signed-off-by: Paulius Zaleckas <paulius.zaleckas at teltonika.lt>
Acked-by: Pavel Pisa <pisa at cmp.felk.cvut.cz>
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit 5fc63dfba8a016caf832572aeaa90abef82f0ba0
Author: Paulius Zaleckas <paulius.zaleckas at teltonika.lt>
Date: Wed Jul 9 16:03:17 2008 +0300
imxmmc: fix platform resources
Fixup platform resources handling.
Signed-off-by: Paulius Zaleckas <paulius.zaleckas at teltonika.lt>
Acked-by: Pavel Pisa <pisa at cmp.felk.cvut.cz>
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit 322069c9df1fd4da269b2a57d78f753684962523
Author: Paulius Zaleckas <paulius.zaleckas at teltonika.lt>
Date: Wed Jul 9 16:03:13 2008 +0300
imxmmc: remove DEBUG definition
Removed DEBUG #define #undef, because module is automaticaly
compiled with -DDEBUG when CONFIG_MMC_DEBUG is defined.
Currently it just generates compiler warning about redefinition.
Signed-off-by: Paulius Zaleckas <paulius.zaleckas at teltonika.lt>
Acked-by: Pavel Pisa <pisa at cmp.felk.cvut.cz>
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit d9ecdb282c91952796b7542c4f57fd6de6948d7b
Merge: 4ef584ba84125b67c17b5aded38e7783cd8cdef0 1d1f8b377c48e5aeddaea52eba74cc0539f088cd
Author: Russell King <rmk at dyn-67.arm.linux.org.uk>
Date: Sat Jul 26 23:04:59 2008 +0100
Merge branch 'for_rmk_13' of git://git.mnementh.co.uk/linux-2.6-im
commit a9906a19193db69ad0158f289f839edf8aaf103f
Author: Roland McGrath <roland at redhat.com>
Date: Sat Jul 26 14:41:26 2008 -0700
tracehook: comment fixes
This fixes some typos and errors in <linux/tracehook.h> comments.
No code changes.
Signed-off-by: Roland McGrath <roland at redhat.com>
commit 1d1f8b377c48e5aeddaea52eba74cc0539f088cd
Author: Ian Molton <spyro at f2s.com>
Date: Sat Jul 26 22:39:58 2008 +0100
[ARM] update defconfig for eseries.
Signed-off-by: Ian Molton <spyro at f2s.com>
commit e84e954a72153ffd5630df6156720440b430c877
Author: Ian Molton <spyro at f2s.com>
Date: Mon Jul 21 11:02:40 2008 +0100
[ARM] PXA: squash warning in pxafb
Fixes a warning about using the wrong type in pxafb.c
Signed-off-by: Ian Molton <spyro at f2s.com>
commit aafe0ad81d7458b6c61eeb39068432683c70c9a9
Author: Ian Molton <spyro at f2s.com>
Date: Sat Jul 12 11:55:42 2008 +0100
[ARM] pxa: PXA25x UDC - Fix warning during build
Fixes an unterminated ' warning building PXA25X UDC.
Signed-off-by: Ian Molton <spyro at f2s.com>
commit cc9969c96765476db5e30c9e074a57838604c1d1
Merge: 5ba18b186c979283a2bf75a28b7ea325184b0c08 9905922446f6dc02fd4650c8f59114d6bdb5b777 51a379d0c8f7a6db7c9e3c9c770d90a6d2d1ef9b 6492cdf3a24fd620660c399745b5e169a0ed27d6
Author: Roland Dreier <rolandd at cisco.com>
Date: Sat Jul 26 13:59:47 2008 -0700
Merge branches 'bkl-removal', 'ipoib', 'mlx4' and 'nes' into for-linus
commit a048d3aff8b828b6c0fa7ddd90a531248ab4e0f9
Merge: fb3b80614438f8b73b3879a19350439d6aa402da 1fe371044b21b226b96a9dd959e971b50b28c78e
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sat Jul 26 13:25:47 2008 -0700
Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
ftrace: fix modular build
ftrace: disable tracing on acpi idle calls
ftrace: remove latency-tracer leftover
ftrace: only trace preempt off with preempt tracer
ftrace: fix 4d3702b6 (post-v2.6.26): WARNING: at kernel/lockdep.c:2731 check_flags (ftrace)
commit fb3b80614438f8b73b3879a19350439d6aa402da
Merge: 7f268a2ba7c884a239713696238dd4207a57dd9a 3a61ec387c9092dfc91a5959145d36835a72fc4c
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sat Jul 26 13:25:05 2008 -0700
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
x86, AMD IOMMU: include amd_iommu_last_bdf in device initialization
x86: fix IBM Summit based systems' phys_cpu_present_map on 32-bit kernels
x86, RDC321x: remove gpio.h complications
x86, RDC321x: add to mach-default
crashdump: fix undefined reference to `elfcorehdr_addr'
flag parameters: fix compile error of sys_epoll_create1
commit 7f268a2ba7c884a239713696238dd4207a57dd9a
Merge: 689796a141cea79d745a4689c65dd01c39e5e100 2d2009806dd843f3adc0cbbb5d2204980f28111a
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sat Jul 26 13:23:17 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6: (30 commits)
Blackfin arch: If we double fault, rather than hang forever, reset
Blackfin arch: When icache is off, make sure people know it
Blackfin arch: Fix bug - skip single step in high priority interrupt handler instead of disabling all interrupts in single step debugging.
Blackfin arch: cache the values of vco/sclk/cclk as the overhead of doing so (~24 bytes) is worth avoiding the software mult/div routines
Blackfin arch: fix bug - IMDMA is not type struct dma_register
Blackfin arch: check the EXTBANKS field of the DDRCTL1 register to see if we are using both memory banks
Blackfin arch: Apply Bluetechnix CM-BF527 board support patch
Blackfin arch: Add unwinding for stack info, and a little more detail on trace buffer
Blackfin arch: Add ISP1760 board resources to BF548-EZKIT
Blackfin arch: fix bug - detect 0.1 silicon revision BF527-EZKIT as 0.0 version
Blackfin arch: add missing IORESOURCE_MEM flags to UART3
Blackfin arch: Add return value check in bfin_sir_probe(), remove SSYNC().
Blackfin arch: Extend sram malloc to handle L2 SRAM.
Blackfin arch: Remove useless config option.
Blackfin arch: change L1 malloc to base on slab cache and lists.
Blackfin arch: use local labels and ENDPROC() markings
Blackfin arch: Do not need this dualcore test module in kernel.
Blackfin arch: Allow ptrace to peek and poke application data in L1 data SRAM.
Blackfin arch: Add ANOMALY_05000368 workaround
Blackfin arch: Functional power management support
...
commit 689796a141cea79d745a4689c65dd01c39e5e100
Author: Geert Uytterhoeven <geert at linux-m68k.org>
Date: Sat Jul 26 17:15:05 2008 +0200
dsp56k: Fix BKL pushdown
commit 236b8756a2b6f90498d45b2c36d43e5372f2d4b8 ("dsp56k: BKL pushdown")
removed the `struct inode *inode' parameter from dsp56k_ioctl(), but
forgot to update the use of `inode' in the first line of the function.
Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 37e67b75804b84e092ae9f1d7a19dc3522ef78ab
Author: Huang Weiyi <weiyi.huang at gmail.com>
Date: Sat Jul 26 19:37:57 2008 +0800
drivers/video/fbmem.c: removed duplicated include
Removed duplicated include <linux/major.h>
in drivers/video/fbmem.c
Signed-off-by: Huang Weiyi <weiyi.huang at gmail.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4b1fefaca9f5fdd43b24aa248777a75a81dfa8d6
Merge: 6ca813c4e515d9b868cd71703ef15f4af3aebb21 e2d2867ff8700d7431c68c089ff5f5ed7f2d5b40
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Sat Jul 26 12:45:32 2008 -0700
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
When verifying the decoded header before decoding the object identifier
[CIFS] Fix warnings from checkpatch
[CIFS] Fix improper endian conversion of ACL subauth field
[CIFS] Fix possible double free if search immediately after search rewind fails
[CIFS] remove checkpatch warning
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
cifs: assorted endian annotations
[CIFS] break ATTR_SIZE changes out into their own function
lockdep: annotate cifs in-kernel sockets
[CIFS] Fix compiler warning on 64-bit
commit 4cfc51017db3e3f4eaaa2cb436a905097a4f08e2
Author: Andrew Vasquez <andrew.vasquez at qlogic.com>
Date: Thu Jul 24 08:31:50 2008 -0700
[SCSI] qla2xxx: Update version number to 8.02.01-k6.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit c9c5ced90abc22a94c96fa7db0e29c13483a6db0
Author: Andrew Vasquez <andrew.vasquez at qlogic.com>
Date: Thu Jul 24 08:31:49 2008 -0700
[SCSI] qla2xxx: Additional NPIV corrections.
Minor fixes addressing:
- rport managements during vport deletion.
- acquire proper physical-ha during qla24xx_abort_command() and
qla24xx_queuecommand()
- do not needlessly acquire the pha for non-NPIV capable ISPs.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit bf6583b5831d3195c45f98ec3016499389cbe18f
Author: Andrew Morton <akpm at linux-foundation.org>
Date: Thu Jul 24 08:31:48 2008 -0700
[SCSI] qla2xxx: suppress uninitialized-var warning
drivers/scsi/qla2xxx/qla_os.c: In function 'qla2x00_post_work':
drivers/scsi/qla2xxx/qla_os.c:2158: warning: 'flags' may be used uninitialized in this function
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit b3dc9088f3714642284245a6c580305a1415e0e3
Author: Akinobu Mita <akinobu.mita at gmail.com>
Date: Thu Jul 24 08:31:47 2008 -0700
[SCSI] qla2xxx: use memory_read_from_buffer()
Signed-off-by: Akinobu Mita <akinobu.mita at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 8201e207997b4665a5fcb375bab293fddb2e6adb
Author: Andrew Vasquez <andrew.vasquez at qlogic.com>
Date: Thu Jul 24 08:31:46 2008 -0700
[SCSI] qla2xxx: Issue proper ISP callbacks during stop-firmware.
As the original code would incorrectly call the non-ISP24xx/25xx
callbacks during recovery, a stop-firmware failure could result
in improper bit-banging of the RISC and in some cases manifest in
a NMI-watchdog trigger due to the RISC not coming out of its
reset state.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 3d164fb09bb5cb8a223eddf634fc0d355714fcfe
Author: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Date: Sat Jul 26 23:25:43 2008 +0900
[SCSI] ch: fix ch_remove oops
The following commit causes ch_remove oops:
commit 24b42566c3fcbb5a9011d1446783d0f5844ccd45
Author: Greg Kroah-Hartman <gregkh at suse.de>
Date: Fri May 16 17:55:12 2008 -0700
SCSI: fix race in device_create
There is a race from when a device is created with device_create() and
then the drvdata is set with a call to dev_set_drvdata() in which a
sysfs file could be open, yet the drvdata will be NULL, causing all
sorts of bad things to happen.
This patch fixes the problem by using the new function,
device_create_drvdata(). It fixes the problem in all of the scsi
drivers that need it.
Cc: Kay Sievers <kay.sievers at vrfy.org>
Cc: Doug Gilbert <dgilbert at interlog.com>
Cc: James E.J. Bottomley <James.Bottomley at HansenPartnership.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
The problem is ch_probe stores ch's private data at a wrong place.
We need to store it at scsi_device->sdev_gendev but the above patch
stores it at device struct that device_create_drvdata returns. So we
hit an oops when ch_remove accesses
scsi_device->sdev_gendev->driver_data, which is NULL.
Actually, there wasn't a race because ch doesn't create sysfs files
with device struct that device_create returns. This patch puts back
dev_set_drvdata() to set ch's private data properly.
Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 3dabec7175bc6d49e88748cf03951357e74496ca
Author: adam radford <aradford at gmail.com>
Date: Tue Jul 22 16:47:40 2008 -0700
[SCSI] 3w-9xxx: add MSI support and misc fixes
This patch for the 3w-9xxx scsi driver applies on top of the
BKL-pushdown changes in -git9.
This patch does the following:
- Increase max AENs drained to 256.
- Add MSI support and "use_msi" module parameter.
- Fix bug in twa_get_param() on 4GB+.
- Use pci_resource_len() for ioremap().
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 6bd522f6a226f435508433d24e0de4619e016a9d
Author: Mike Christie <michaelc at cs.wisc.edu>
Date: Tue Jul 22 15:34:38 2008 -0500
[SCSI] scsi_lib: use blk_rq_tagged in scsi_request_fn
I goofed and did not see the macro for checking if a request is tagged.
This patch has us use blk_rq_tagged instead of digging into the req->tag.
Patch was made over scsi-misc.
Signed-off-by: Mike Christie <michaelc at cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit b7b1a35ea563a8f1219dc3fdf12f37937cb83245
Author: Brian King <brking at linux.vnet.ibm.com>
Date: Tue Jul 22 08:31:48 2008 -0500
[SCSI] ibmvfc: Update driver version to 1.0.1
Update driver version to 1.0.1.
Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 989b854579875b38d45fffa7f8c89177f7698cd3
Author: Brian King <brking at linux.vnet.ibm.com>
Date: Tue Jul 22 08:31:47 2008 -0500
[SCSI] ibmvfc: Add ADISC support
Add an ADISC to the target discovery job in order to sanity check whether or
not we need to re-login to the target.
Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 52d7e861cc071688f5fa3ee1b6e94785adeff8db
Author: Brian King <brking at linux.vnet.ibm.com>
Date: Tue Jul 22 08:31:46 2008 -0500
[SCSI] ibmvfc: Miscellaneous fixes
Properly setup the size of the async event queue. This fixes a bug where async events
were not getting processed by the driver.
Setup target_id field in the driver's target struct so that target sysfs attributes
work for multiple targets.
Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 2d0da2a44e065a5bdd90bed2ebe0b9216c27f682
Author: Brian King <brking at linux.vnet.ibm.com>
Date: Tue Jul 22 08:31:42 2008 -0500
[SCSI] ibmvfc: Fix hang on module removal
If certain ELS events are received during module removal, after the kthread
is stopped, the rmmod can hang. This fixes the ibmvfc driver so that ELS
events during rmmod are ignored by stopping all device activity prior to
killing the kthread and also changes reinitialization to not attempt a reinit
if the adapter has been taken offline.
Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit b3c10489cb464b12a74dda65f826433f71f2c2e2
Author: Brian King <brking at linux.vnet.ibm.com>
Date: Tue Jul 22 08:31:41 2008 -0500
[SCSI] ibmvfc: Target refcounting fixes
Fix up some refcounting on the ibmvfc drivers internal target struct
when accessed through some sysfs attributes.
Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 0ae808e02e000058cf65a47662c187dc061bcfd3
Author: Brian King <brking at linux.vnet.ibm.com>
Date: Tue Jul 22 08:31:39 2008 -0500
[SCSI] ibmvfc: Reduce unnecessary log noise
Reduces some unnecessary log noise by removing a printk during
host port state query and increasing the log level required to
log received async events.
Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit e41443ec3bb3dc4b12c861e91a5d36feb45f8a46
Author: Mike Anderson <andmike at linux.vnet.ibm.com>
Date: Mon Jul 21 15:58:32 2008 -0700
[SCSI] sym53c8xx: free luntbl in sym_hcb_free
This patch frees the luntbl dma area in sym_hcb_free if allocated.
Since the luntbl is part of a larger dma coherent area not freeing the
luntbl kept a 64k dma coherent area previous allocated through
dma_alloc_coherent allocated. This prevented a DLPAR remove IO
operation from completing successfully.
Signed-off-by: Mike Anderson <andmike at linux.vnet.ibm.com>
Cc: Matthew Wilcox <matthew at wil.cx>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 773e82f6cdb026282ff7d26aaac291a5fa84ee3a
Author: Julia Lawall <julia at diku.dk>
Date: Mon Jul 21 09:58:30 2008 +0200
[SCSI] scsi_scan.c: Release mutex in error handling code
The mutex is released on a successful return, so it would seem that it
should be released on an error return as well.
The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
expression l;
@@
mutex_lock(l);
... when != mutex_unlock(l)
when any
when strict
(
if (...) { ... when != mutex_unlock(l)
+ mutex_unlock(l);
return ...;
}
|
mutex_unlock(l);
)
// </smpl>
Signed-off-by: Julia Lawall <julia at diku.dk>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 12265709ac6e197f4d40d9ec1fd3af97b4196a35
Author: Alan Stern <stern at rowland.harvard.edu>
Date: Mon Jul 21 10:25:52 2008 -0400
[SCSI] scsi_eh_prep_cmnd should save scmd->underflow
This patch (as1116) fixes a bug in scsi_eh_prep_cmnd() and
scsi_eh_restore_cmnd(). These routines are supposed to save any
values they change and restore them later, but someone forgot to
save & restore scmd->underflow.
This fixes part of the problem reported in Bugzilla #9638.
[jejb: fix up rejections around DIF/DIX]
Signed-off-by: Alan Stern <stern at rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit af55ff675a8461da6a632320710b050af4366e0c
Author: Martin K. Petersen <martin.petersen at oracle.com>
Date: Thu Jul 17 04:28:35 2008 -0400
[SCSI] sd: Support for SCSI disk (SBC) Data Integrity Field
Support for controllers and disks that implement DIF protection
information:
- During command preparation the RDPROTECT/WRPROTECT must be set
correctly if the target has DIF enabled.
- READ(6) and WRITE(6) are not supported when DIF is on.
- The controller must be told how to handle the I/O via the
protection operation field in scsi_cmnd.
- Refactor the I/O completion code that extracts failed LBA from the
returned sense data and handle DIF failures correctly.
- sd_dif.c implements the functions required to prepare and complete
requests with protection information attached.
Signed-off-by: Martin K. Petersen <martin.petersen at oracle.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit e0597d70012c82e16ee152270a55d89d8bf66693
Author: Martin K. Petersen <martin.petersen at oracle.com>
Date: Thu Jul 17 04:28:34 2008 -0400
[SCSI] sd: Identify DIF protection type and application tag ownership
If a disk is formatted with protection information (Inquiry bit
PROTECT=1) it is required to support Read Capacity(16). Force use of
the 16-bit command in this case and extract the P_TYPE field which
indicates whether the disk is formatted using DIF Type 1, 2 or 3.
The ATO (App Tag Own) bit in the Control Mode Page indicates whether
the storage device or the initiator own the contents of the
DIF application tag.
Signed-off-by: Martin K. Petersen <martin.petersen at oracle.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 511e44f42e3239a4df77b8e0e46d294d98a768ad
Author: Martin K. Petersen <martin.petersen at oracle.com>
Date: Thu Jul 17 04:28:33 2008 -0400
[SCSI] Do not retry a request whose data integrity check failed
If initiator or target reject the I/O due to DIF errors there is no
point in retrying.
Signed-off-by: Martin K. Petersen <martin.petersen at oracle.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 7027ad72a689797475973c6feb5f0b673382f779
Author: Martin K. Petersen <martin.petersen at oracle.com>
Date: Thu Jul 17 17:08:48 2008 -0400
[SCSI] Support devices with protection information
Implement support for DMA of protection information for devices that
are data integrity capable.
- Add support for mapping an extra scatter-gather list containing
the protection information.
- Allocate protection scsi_data_buffer if host is DIX (integrity DMA)
capable.
- Accessor function for checking whether a device has protection
enabled.
Signed-off-by: Martin K. Petersen <martin.petersen at oracle.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit db007fc5e20c00b356e9ffe2d0e007398c65c837
Author: Martin K. Petersen <martin.petersen at oracle.com>
Date: Thu Jul 17 04:28:31 2008 -0400
[SCSI] Command protection operation
Controllers that support DMA of protection information must be told
explicitly how to handle the I/O. The controller has no knowledge of
the protection capabilities of the target device so this information
must be passed in the scsi_cmnd.
- The protection operation tells the HBA whether to generate, strip or
verify protection information.
- The protection type tells the HBA which layout the target is
formatted with. This is necessary because the controller must be
able to correctly interpret the included protection information in
order to verify it.
- When a scsi_cmnd is reused for error handling the protection
operation must be cleared and saved while error handling is in
progress.
- prot_op and prot_type are placed in an existing hole in scsi_cmnd
and don't cause the structure to grow.
Signed-off-by: Martin K. Petersen <martin.petersen at oracle.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 4469f9878059f1707f021512e6b34252c4096ee7
Author: Martin K. Petersen <martin.petersen at oracle.com>
Date: Thu Jul 17 04:28:30 2008 -0400
[SCSI] Host protection capabilities
Controllers that support protection information must indicate this to
the SCSI midlayer so that the ULD can prepare scsi_cmnds accordingly.
This patch implements a host mask and various types of protection:
- DIF Type 1-3 (between HBA and disk)
- DIX Type 0-3 (between OS and HBA)
The patch also allows the HBA to set the guard type to something
different than the T10-mandated CRC.
Signed-off-by: Martin K. Petersen <martin.petersen at oracle.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 7c32c7a2d36c52d2b9ed040a9171364020ecc6a2
Author: Hannes Reinecke <hare at suse.de>
Date: Thu Jul 17 16:53:33 2008 -0700
[SCSI] scsi_dh: create lookup cache
Create a cache of devices that are seen in a system. This will avoid
the unnecessary traversal of the device list in the scsi_dh when there
are multiple luns of a same type.
Signed-off-by: Chandra Seetharaman <sekharan at us.ibm.com>
Signed-off-by: Hannes Reinecke <hare at suse.de>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit ae11b1b36da726a8a93409b896704edc6b4f3402
Author: Hannes Reinecke <hare at suse.de>
Date: Thu Jul 17 17:49:02 2008 -0700
[SCSI] scsi_dh: attach to hardware handler from dm-mpath
multipath keeps a separate device table which may be
more current than the built-in one.
So we should make sure to always call ->attach whenever
a multipath map with hardware handler is instantiated.
And we should call ->detach on removal, too.
[sekharan: update as per comments from agk]
Signed-off-by: Hannes Reinecke <hare at suse.de>
Signed-off-by: Chandra Seetharaman <sekharan at us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 057ea7c9683c3d684128cced796f03c179ecf1c2
Author: Hannes Reinecke <hare at suse.de>
Date: Thu Jul 17 16:53:21 2008 -0700
[SCSI] scsi_dh: add generic SPC-3 alua handler
Signed-off-by: Hannes Reinecke <hare at suse.de>
Signed-off-by: Chandra Seetharaman <sekharan at us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit ca9f0089867c9e476cf2e6d4615d2aae887171b2
Author: Hannes Reinecke <hare at suse.de>
Date: Thu Jul 17 16:53:15 2008 -0700
[SCSI] scsi_dh: Update RDAC device handler
This patch updates the RDAC device handler to
refuse to attach to devices not supporting the
RDAC vpd pages.
Signed-off-by: Hannes Reinecke <hare at suse.de>
Signed-off-by: Chandra Seetharaman <sekharan at us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 2aef6d5c05ee5c02f2e4d737b8738deb118cf892
Author: Hannes Reinecke <hare at suse.de>
Date: Thu Jul 17 16:53:09 2008 -0700
[SCSI] scsi_dh: Update hp_sw hardware handler
This patch updates the hp_sw device handler to properly
check the return codes etc.
And adds the 'correct' machine definitions.
Signed-off-by: Hannes Reinecke <hare at suse.de>
Signed-off-by: Chandra Seetharaman <sekharan at us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit b6ff1b14cdf4b4cb5403f3af2c3272f7e609a241
Author: Hannes Reinecke <hare at suse.de>
Date: Thu Jul 17 16:53:03 2008 -0700
[SCSI] scsi_dh: Update EMC handler
This patch converts the EMC device handler to use a proper
state machine. We now also parse the extended INQUIRY
information to determine if long trespass commands are
supported. And we're now using the long trespass command
correctly. And finally there's now an check at init time
to refuse to attach to devices not supporting EMC-specific
VPD pages.
Signed-off-by: Hannes Reinecke <hare at suse.de>
Signed-off-by: Chandra Seetharaman <sekharan at us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 4c05ae52fcb0e27a2ee4a16d1f31f8c547fd4886
Author: Hannes Reinecke <hare at suse.de>
Date: Thu Jul 17 16:52:57 2008 -0700
[SCSI] scsi_dh: Add 'dh_state' sysfs attribute
Implement a 'dh_state' sdev attribute for dynamic device handler
manipulation. A read on the attribute will return the name of
the currently attached device handler or 'detached' if no handler
is attached.
The attribute allows the following strings to be written:
- The name of the device handler to be attached if the state is
'detached'.
- 'activate' to trigger path activation if a device handler
is attached.
- 'detach' to detach the currently attached device handler.
Signed-off-by: Hannes Reinecke <hare at suse.de>
Signed-off-by: Chandra Seetharaman <sekharan at us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 765cbc6dad16b87724803e359d6be792ddf08614
Author: Hannes Reinecke <hare at suse.de>
Date: Thu Jul 17 16:52:51 2008 -0700
[SCSI] scsi_dh: Implement common device table handling
Instead of having each and every driver implement its own
device table scanning code we should rather implement a common
routine and scan the device tables there.
This allows us also to implement a general notifier chain
callback for all device handler instead for one per handler.
[sekharan: Fix rejections caused by conflicting bug fix]
Signed-off-by: Hannes Reinecke <hare at suse.de>
Signed-off-by: Chandra Seetharaman <sekharan at us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 6d49f63b415ca02223e01e187076cb69a5a38eaf
Author: Matthew Wilcox <matthew at wil.cx>
Date: Tue Jul 15 14:54:16 2008 -0600
[SCSI] Make host_no an unsigned int
Daniel Debonzi reports that he has managed to wrap host_no. Increasing
the number of host numbers available to 32-bit from 16-bit allows the
problem to be evaded for another hundred years.
Signed-off-by: Matthew Wilcox <willy at linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit f27bac2761cab5a2e212dea602d22457a9aa6943
Author: Tejun Heo <tj at kernel.org>
Date: Mon Jul 14 14:59:30 2008 +0900
[SCSI] sd: update index allocation and use ida instead of idr
Update index allocation as follows.
* sd_index_idr is used only for ID allocation and mapping
functionality is not used. Use more memory efficient ida instead.
* idr and ida have their own locks inside them and don't need them for
operation. Drop it.
* index wasn't freed if probing failed after index allocation. fix
it.
* ida allocation should be repeated if it fails with -EAGAIN.
Signed-off-by: Tejun Heo <tj at kernel.org>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit ecefe8a97577d6c1a68d14ab6fb19bce99448af2
Author: Mike Christie <michaelc at cs.wisc.edu>
Date: Fri Jul 11 19:50:35 2008 -0500
[SCSI] fix shared tag map tag allocation
When drivers use a shared tag map we can end up with more requests
than tags, because the tag map is shost->can_queue tags and there
can be sdevs * sdev->queue_depth requests. In scsi_request_fn
if tag allocation fails we just drop down to just dequeueing the
tag without a tag. The problem is that drivers using the shared tag
map rely on a valid tag always being set, because it will use the
tag number to lookup commands later.
This patch has us check if we got a valid tag when the host lock
is held right before we check if the host queue is ready. We do the
check here because to allocate the tag we need the q lock, but
if the tag is bad we want to add the device/q onto the starved list
which requires the host lock.
Signed-off-by: Mike Christie <michaelc at cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 5d90027fb579eee41ec1b61f23195ed2fdd51da2
Author: Mike Christie <michaelc at cs.wisc.edu>
Date: Fri Jul 11 19:50:34 2008 -0500
[SCSI] stex: fix queue depth setting
We want to set the queue depth to something reasonable - not
the can_queue.
Signed-off-by: Mike Christie <michaelc at cs.wisc.edu>
Cc: Ed Lin <ed.lin at promise.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit d510d965e17a81d4d41c03a3927f6ef450b73ff5
Author: Mike Christie <michaelc at cs.wisc.edu>
Date: Fri Jul 11 19:50:33 2008 -0500
[SCSI] qla4xxx: fix queue depth setting
We want to set the queue depth to something reasonable - not
the can_queue.
Signed-off-by: Mike Christie <michaelc at cs.wisc.edu>
Cc: David Somayajulu <david.somayajulu at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 885ace9e2f120439043ffa1bb72a2fa1f3afc645
Author: Mike Christie <michaelc at cs.wisc.edu>
Date: Fri Jul 11 19:50:32 2008 -0500
[SCSI] fix shared tag map setup
Currently qla4xxx and stex pass in their can_queue values into
scsi_activate_tcq because they wanted the tag map that large.
The problem with this is that it ends up also setting the queue
depth to that large value. All we want to do this in this case
is set the device queue depth and the other device settings.
We do not need to touch the tag map sizing because the drivers
had setup that map according to their can_queue limits when the
shared map was created.
The scsi mid layer in request_fn will then handle the case where we
have more requests than available tags when it checks the host
queue ready function.
Signed-off-by: Mike Christie <michaelc at cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 786231af0a4ac6d78cef51fa7e9c3dd63f016195
Author: Kai Makisara <Kai.Makisara at kolumbus.fi>
Date: Fri Jul 11 15:06:40 2008 +0300
[SCSI] st: Remove bogus memset
Mike Christie noticed a bogus memset. It can be removed as dead code
since the number of bytes in the driver buffer in fixed block mode is
always a multiple of the tape block size.
Signed-off-by: Kai Mäkisara <Kai.Makisara at kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 626dcb1ee39aa1010c27df31970ff0ecfb287208
Author: Kai Makisara <Kai.Makisara at kolumbus.fi>
Date: Fri Jul 11 15:05:25 2008 +0300
[SCSI] st: Move buffer pointer back when data could not be written.
Move buffer pointer back when data could not be written. Bug found by
Mike Christie.
Signed-off-by: Kai Mäkisara <Kai.Makisara at kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit f0773b5ff6d6978c01525f0c34db42d5cedb9394
Author: Andrew Vasquez <andrew.vasquez at qlogic.com>
Date: Thu Jul 10 16:56:03 2008 -0700
[SCSI] qla2xxx: Update version number to 8.02.01-k5.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 6d0525292ad13f17abcd4a21e488d5b667e90668
Author: Andrew Vasquez <andrew.vasquez at qlogic.com>
Date: Thu Jul 10 16:56:02 2008 -0700
[SCSI] qla2xxx: Don't hardcode fw_transfer_size for ISP2[45]xx parts.
Use the full buffer size available, as there's no reason to limit
the firwmare-image load-segment size for these parts.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 42e421b184967c8bc70d72eed8e1b179e9a51acb
Author: Andrew Vasquez <andrew.vasquez at qlogic.com>
Date: Thu Jul 10 16:56:01 2008 -0700
[SCSI] qla2xxx: Verify the RISC is not in ROM code if firmware-load is disabled.
Add an additional check to verify that the current executing
firmware is in fact non-ROM code. The non-ROM Get-ID mailbox
command is used for verification.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit e792121ec85672c1fa48f79d13986a3f4f56c590
Author: Andrew Vasquez <andrew.vasquez at qlogic.com>
Date: Thu Jul 10 16:56:00 2008 -0700
[SCSI] qla2xxx: Correct overflow during dump-processing on large-memory ISP23xx parts.
Total ram words can exceed a 16bit value on large-memory boards.
Safely extend to a 32bit width.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 031e134e5f95233d80fb1b62fdaf5e1be587597c
Author: Andrew Vasquez <andrew.vasquez at qlogic.com>
Date: Thu Jul 10 16:55:59 2008 -0700
[SCSI] qla2xxx: Skip FDMI registration on ISP21xx/22xx parts.
Firmware does not have the facilities to issue management server
IOCBs.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 5de1f70f4103253f72d92da16d9618bc573b4534
Author: Seokmann Ju <seokmann.ju at qlogic.com>
Date: Thu Jul 10 16:55:58 2008 -0700
[SCSI] qla2xxx: Correct rport/fcport visibility-state handling during loop-resync.
There were several issues here, one, during RSCN handling if a
follow-on RSCN occurred (within interrupt context) the DPC thread
could inadvertantly leave the fcport in a stale lost state.
Secondly, scheduled rport removal is handled exclusively by the
'parent' DPC thread, so wake up the proper thread. Finally,
process vport loop-resync's only when the vport has in an
"active" state (ID acquired).
Signed-off-by: Seokmann Ju <seokmann.ju at qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit da57bf8f25faf97308d9f4d0b87e8b69317a2fdf
Author: Seokmann Ju <seokmann.ju at qlogic.com>
Date: Thu Jul 10 16:55:57 2008 -0700
[SCSI] qla2xxx: Correct vport management of MBA_PORT_UPDATE.
By allowing the qla2x00_alert_all_vps() to manage per-vport
recognition of the MBA.
Signed-off-by: Seokmann Ju <seokmann.ju at qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 8f0d6436d215a2e0033ab2af192ac7e4b300bd3e
Author: Seokmann Ju <seokmann.ju at qlogic.com>
Date: Thu Jul 10 16:55:56 2008 -0700
[SCSI] qla2xxx: Correct fcport state-management during loss.
All fcport->state management should be done within
qla2x00_mark_device_lost(), the assignment of state within
qla2x00_mark_vp_devices_dead() caused associated rports to not be
removed.
Signed-off-by: Seokmann Ju <seokmann.ju at qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 246de42cfc0abc4e25585f2dca53f8226f62391c
Author: Seokmann Ju <seokmann.ju at qlogic.com>
Date: Thu Jul 10 16:55:55 2008 -0700
[SCSI] qla2xxx: Always aquire the parent's hardware_lock.
While issuing a marker, manipulating the request/response queues
and modifying the outstanding command array.
Signed-off-by: Seokmann Ju <seokmann.ju at qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 436a7b11234ccccd91e3000aacdbdd25bd7847a8
Author: Andrew Vasquez <andrew.vasquez at qlogic.com>
Date: Thu Jul 10 16:55:54 2008 -0700
[SCSI] qla2xxx: Swap enablement order of EFT and FCE.
The firmware group has suggested that FCE (Fibre Channel Event)
tracing be enabled prior to EFT (Extended Firmware Tracing) to
maximize the capturing of data on the wire. This change has no
real semantic effect on driver operation, as it's mostly a
shuffling of code.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 1ee2714632ce3f7e6477069b41cb685112f5f217
Author: Joe Carnuccio <joe.carnuccio at qlogic.com>
Date: Thu Jul 10 16:55:53 2008 -0700
[SCSI] qla2xxx: Retrieve board serial-number and description from VPD.
Recent ISPs have this information written at manufacturing time,
so use the information. This also reduces future churn of the
qla_devtbl.h file contents, as the driver can now depend on the
information to be present in VPD.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit e5896bd5dcf71fa43ddcc545340b847c13d29c44
Author: Andrew Vasquez <andrew.vasquez at qlogic.com>
Date: Thu Jul 10 16:55:52 2008 -0700
[SCSI] qla2xxx: Allow the user the option of disabling iIDMA.
iIDMA support requires the driver issue several additional
fabric-managegment (FM) commands per port discovered during SNS
scanning -- GFPN (Get Fabric Port Name) and GPSC (Get Port Speed
Capabilities). It has been found during testing that some
switches do not respond as *well* as expected to these commands
(silence -- no ACC nor BS_RJT). So, to handle such conditions,
allow the user the ability to indirectly disable the FM commands
by disabling iIDMA with the ql2xiidmaenable module-parameter.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 711c1d916be083a5bf4fbc8e66201e7e9f8b9334
Author: Seokmann Ju <seokmann.ju at qlogic.com>
Date: Thu Jul 10 16:55:51 2008 -0700
[SCSI] qla2xxx: Cleanup NPIV related functions
Removed repeated or unnecessary operations during vport
creation/deletion.
Signed-off-by: Shyam Sundar <shyam.sundar at qlogic.com>
Signed-off-by: Seokmann Ju <seokmann.ju at qlogic.com>
Signed-off-by: Ravi Anand <ravi.anand at qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 032d8dd739eccbb39c78c901beece70062d1820d
Author: Harish Zunjarrao <harish.zunjarrao at qlogic.com>
Date: Thu Jul 10 16:55:50 2008 -0700
[SCSI] qla2xxx: Add LIP count to FC-transport statistics.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit e5f5f6f72b10c4c6209f0522a7c5b27079d64429
Author: Harish Zunjarrao <harish.zunjarrao at qlogic.com>
Date: Thu Jul 10 16:55:49 2008 -0700
[SCSI] qla2xxx: Track total number of ISP aborts.
This parameter counts the total number of ISP aborts during
driver execution. The value is exported through a DEVICE_ATTR()
off the scsi_host.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 85821c906cf3563a00a3d98fa380a2581a7a5ff1
Author: Andrew Vasquez <andrew.vasquez at qlogic.com>
Date: Thu Jul 10 16:55:48 2008 -0700
[SCSI] qla2xxx: Set an rport's dev_loss_tmo value in a consistent manner.
As there's no point in adding a fixed-fudge value (originally 5
seconds), honor the user settings only. We also remove the
driver's dead-callback get_rport_dev_loss_tmo function
(qla2x00_get_rport_loss_tmo()).
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 5f3a9a207f1fccde476dd31b4c63ead2967d934f
Author: Seokmann Ju <seokmann.ju at qlogic.com>
Date: Thu Jul 10 16:55:47 2008 -0700
[SCSI] qla2xxx: Add dev_loss_tmo_callbk/terminate_rport_io callback support.
Signed-off-by: Seokmann Ju <seokmann.ju at qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit bbfb21daa320c9eb327d63734f295fa50ba93826
Author: Andrew Vasquez <andrew.vasquez at qlogic.com>
Date: Thu Jul 10 16:55:46 2008 -0700
[SCSI] qla2xxx: Correct locking during NVRAM manipulation.
Commit 2c96d8d0c17978bbf5eb82314d488f46d4a51280 pushed the
acquisition of hardware_lock to too fine a level, which in turn
will cause problems with cond_resched()s added with
40a2e34a94c336b716f631b2952d233e1ba76e3c.
Signed-off-by: Andrew Vasquez <andrew.vasquez at qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>
commit 6ca813c4e515d9b868cd71703ef15f4af3aebb21
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:46:27 2008 -0700
video/stifb.c: make 2 functions static
This patch makes the following needlessly global functions static:
- stifb_init_fb()
- stifb_init()
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3d1e412ac5570a669e1b1fc5fd0f6859250c3d76
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:46:26 2008 -0700
video/console/stico{n,re}.c: make code static
This patch makes the following needlessly global code static:
- sticon.c: sticonsole_init()
- sticore.c: struct default_sti
- sticore.c: sti_init_graph()
- sticore.c: sti_inq_conf()
- sticore.c: sti_rom_copy()
- sticore.c: sti_select_fbfont()
- sticore.c: sti_select_font()
- sticore.c: sti_get_wmode_rom()
- sticore.c: sti_read_rom()
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 511e7483abe1ab433d8ab7a7998f799042b52941
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:46:26 2008 -0700
make macfb_setup() static
This patch makes the needlessly global macfb_setup() static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f56f6d30c75984d0aba2656eaeb35f3806395191
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:46:25 2008 -0700
make init/do_mounts.c:root_device_name static
This patch makes the needlessly global root_device_name static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9580d85f9cdb076c4bfb467bc6c0d3c5e499957a
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:46:25 2008 -0700
drivers/char/rtc.c: make 2 functions static
The following functions can now become static:
- rtc_interrupt()
- rtc_get_rtc_time()
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: Bernhard Walle <bwalle at suse.de>
Acked-by: Paul Gortmaker <p_gortmaker at yahoo.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7c363b8c6536f26934172d3c46f0bbec01a97c61
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:46:24 2008 -0700
mm/swapfile.c: make code static
This patch makes the following needlessly global code static:
- swap_lock
- nr_swapfiles
- struct swap_list
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 15f59adae001766a2c7f7fe4f196387bb04bcff5
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:46:23 2008 -0700
make mm/memory.c:print_bad_pte() static
This patch makes the needlessly global print_bad_pte() static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9d8fddfb17aaee4ffc5e3d0560620d0fa8b50a42
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:46:23 2008 -0700
mm/allocpercpu.c: make 4 functions static
This patch makes the following needlessly global functions static:
- percpu_depopulate()
- __percpu_depopulate_mask()
- percpu_populate()
- __percpu_populate_mask()
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: Christoph Lameter <cl at linux-foundation.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9e5c6da71e89fa25ced6e88182225a99941bec90
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:46:22 2008 -0700
make mm/sparse.c: make a function static
This patch makes the needlessly global sparse_early_mem_map_alloc()
static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 23d5f96ce6571da51c0f6bfa7361e5f91f314b2b
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:46:22 2008 -0700
make parport_cs_release() static
This patch makes the needlessly global parport_cs_release() static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 25cdcd0086d97a011fcd0c1ff572e30da24790ec
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:46:21 2008 -0700
make pnp_add_card_id() static
pnp_add_card_id() can now become static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Cc: Bjorn Helgaas <bjorn.helgaas at hp.com>
Cc: Rene Herman <rene.herman at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 96930a6365c99c160138a395566e360b27348b8f
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:46:21 2008 -0700
make cgroup_seqfile_release() static
cgroup_seqfile_release() can become static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: Paul Menage <menage at google.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0e1451da4f928ae1c9d5ca617faebde9f02985db
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:46:20 2008 -0700
drm: make drm_minors_cleanup() static
Make the needlessly global drm_minors_cleanup() static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a4074d93dd4e8f46f727840baa2be02d544fd17f
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:20 2008 -0700
cris: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free pages, printed by show_free_areas()
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Acked-by: Mikael Starvik <starvik at axis.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e275e0a687e83add62b10e6d36b67f0964455469
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:19 2008 -0700
frv: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free pages, printed by show_free_areas()
where show_mem() calls show_free_areas().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Acked-by: David Howells <dhowells at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit aca532016f49eca0341ed7be5885d6c63ca69e63
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:18 2008 -0700
m32r: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free swap pages, printed by show_swap_cache_info()
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Cc: Hirokazu Takata <takata at linux-m32r.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 969eefb516b71f8abadf5bc4861a672694f48c38
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:18 2008 -0700
m68k: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free pages, printed by show_free_areas()
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Acked-by: Geert Uytterhoeven <geert at linux-m68k.org>
Cc: Roman Zippel <zippel at linux-m68k.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0ec5e0edd155385cb59cb9857de3176524ba4ff8
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:17 2008 -0700
m68knommu: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free pages, printed by show_free_areas()
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Acked-by: Greg Ungerer <gerg at uclinux.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e66ddf1a4593d9bec8623782b94d7b50cc58cec5
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:16 2008 -0700
mips: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
And show_mem() does now actually print something on configurations
with multiple nodes.
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Acked-by: Ralf Baechle <ralf at linux-mips.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4bad9ea20146860d726ac14a53206da6be132b98
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:16 2008 -0700
h8300: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free pages, printed by show_free_areas()
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Cc: Yoshinori Sato <ysato at users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4984d2d88805609e7702e8ee72b5e148c992ae7b
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:15 2008 -0700
mn10300: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free pages, printed by show_free_areas()
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Acked-by: David Howells <dhowells at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit bda2fa535564ace56a395d5b65c6dc81305401fa
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:14 2008 -0700
powerpc: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Paul Mackerras <paulus at samba.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c55281dee09a843dd6bf5070324b86b84847e6ea
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:14 2008 -0700
s390: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Acked-by: Heiko Carstens <heiko.carstens at de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky at de.ibm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 03da6bfb5b40d454f5439ea905a68441aab23637
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:13 2008 -0700
sh: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free pages, printed by show_free_areas()
- pages in slab, printed by show_free_areas()
- free swap pages, printed by show_swap_cache_info()
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Acked-by: Paul Mundt <lethal at linux-sh.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 471a54239a1c8a09cd12733d4e28db2aeebedb59
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:12 2008 -0700
sparc64: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free swap pages, printed by show_swap_cache_info()
- pages in swapcache, printed by show_swap_cache_info()
- dirty pages, writeback pages, mapped pages, slab pages,
pagetables pages, printed by show_free_areas()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Acked-by: David S. Miller <davem at davemloft.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 79b0cbd113a9de1eaa3322528ccaeb97bd9189cc
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:12 2008 -0700
um: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free swap pages, printed by show_swap_cache_info()
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Acked-by: Jeff Dike <jdike at addtoit.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8dad322f5449010c14990dd6934878f576b2ee60
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:11 2008 -0700
x86: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- pages in swapcache, printed by show_swap_cache_info()
- dirty pages, writeback pages, mapped pages, slab pages,
pagetable pages, printed by show_free_areas()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Acked-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 47221222a59a565e11954c078a2cf6a07a7e690e
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:10 2008 -0700
xtensa: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free pages, printed by show_free_areas()
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Cc: Chris Zankel <chris at zankel.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a2e9c44337b53aef37f3382920a478cac3777ba9
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:10 2008 -0700
blackfin: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free pages, printed by show_free_areas()
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Acked-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 46244a2b3c1dfd83041bcf0428c584d3a66b30cc
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:09 2008 -0700
avr32: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free pages, printed by show_free_areas()
- pages in slabs, printed by show_free_areas()
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Acked-by: Haavard Skinnemoen <hskinnemoen at atmel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5f834b9f3bd3769162fc169efd7ecae0712a2d1d
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:09 2008 -0700
alpha: use generic show_mem()
Remove arch-specific show_mem() in favor of the generic version.
This also removes the following redundant information display:
- free pages, printed by show_free_areas()
- free swap pages, printed by show_swap_cache_info()
- pages in swapcache, printed by show_swap_cache_info()
where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Cc: Richard Henderson <rth at twiddle.net>
Cc: Ivan Kokshaysky <ink at jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 454c63b02e530f10b4345343f63596dd705888d0
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:07 2008 -0700
lib: generic show_mem()
This implements a platform-independent version of show_mem().
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Cc: Richard Henderson <rth at twiddle.net>
Cc: Ivan Kokshaysky <ink at jurassic.park.msu.ru>
Cc: Haavard Skinnemoen <hskinnemoen at atmel.com>
Cc: Bryan Wu <cooloney at kernel.org>
Cc: Chris Zankel <chris at zankel.net>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Jeff Dike <jdike at addtoit.com>
Cc: David S. Miller <davem at davemloft.net>
Cc: Paul Mundt <lethal at linux-sh.org>
Cc: Heiko Carstens <heiko.carstens at de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky at de.ibm.com>
Cc: David Howells <dhowells at redhat.com>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Paul Mackerras <paulus at samba.org>
Cc: Yoshinori Sato <ysato at users.sourceforge.jp>
Cc: Ralf Baechle <ralf at linux-mips.org>
Cc: Greg Ungerer <gerg at uclinux.org>
Cc: Geert Uytterhoeven <geert at linux-m68k.org>
Cc: Roman Zippel <zippel at linux-m68k.org>
Cc: Hirokazu Takata <takata at linux-m32r.org>
Cc: Mikael Starvik <starvik at axis.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2c97b7fc0d8c8661981beb9517da342ced3b3bc7
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 19:46:01 2008 -0700
mm: print swapcache page count in show_swap_cache_info()
Every arch implements its own show_mem() function. Most of them share
quite some code, some of them are completely identical.
This series implements a generic version of this function and migrates
almost all architectures to it.
This patch:
Most show_mem() implementations calculate the amount of pages within
the swapcache every time. Move the output to a more appropriate place
and use the anyway available total_swapcache_pages variable.
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Cc: Richard Henderson <rth at twiddle.net>
Cc: Ivan Kokshaysky <ink at jurassic.park.msu.ru>
Cc: Haavard Skinnemoen <hskinnemoen at atmel.com>
Cc: Bryan Wu <cooloney at kernel.org>
Cc: Chris Zankel <chris at zankel.net>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Jeff Dike <jdike at addtoit.com>
Cc: David S. Miller <davem at davemloft.net>
Cc: Paul Mundt <lethal at linux-sh.org>
Cc: Heiko Carstens <heiko.carstens at de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky at de.ibm.com>
Cc: David Howells <dhowells at redhat.com>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Paul Mackerras <paulus at samba.org>
Cc: Yoshinori Sato <ysato at users.sourceforge.jp>
Cc: Ralf Baechle <ralf at linux-mips.org>
Cc: Greg Ungerer <gerg at uclinux.org>
Cc: Geert Uytterhoeven <geert at linux-m68k.org>
Cc: Roman Zippel <zippel at linux-m68k.org>
Cc: Hirokazu Takata <takata at linux-m32r.org>
Cc: Mikael Starvik <starvik at axis.com>
Cc: Hugh Dickins <hugh at veritas.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ebcb67341fee34061430f3367f2e507e52ee051b
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:46:00 2008 -0700
/proc/PID/syscall
This adds /proc/PID/syscall and /proc/PID/task/TID/syscall magic files.
These use task_current_syscall() to show the task's current system call
number and argument registers, stack pointer and PC. For a task blocked
but not in a syscall, the file shows "-1" in place of the syscall number,
followed by only the SP and PC. For a task that's not blocked, it shows
"running".
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit bbc698636ed48b6fcd323964e0f847a6a796325d
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:59 2008 -0700
task_current_syscall
This adds the new function task_current_syscall() on machines where the
asm/syscall.h interface is supported (CONFIG_HAVE_ARCH_TRACEHOOK). It's
exported for modules to use in the future. This function safely samples
the state of a blocked thread to collect what system call it is blocked
in, and the six system call argument registers.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 85ba2d862e521375a8ee01526c5c46b1f24bb4af
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:58 2008 -0700
tracehook: wait_task_inactive
This extends wait_task_inactive() with a new argument so it can be used in
a "soft" mode where it will check for the task changing state unexpectedly
and back off. There is no change to existing callers. This lays the
groundwork to allow robust, noninvasive tracing that can try to sample a
blocked thread but back off safely if it wakes up.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1f5a4ad97a0e7b663d527ecc02aabe203d000d91
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:57 2008 -0700
tracehook: CONFIG_HAVE_ARCH_TRACEHOOK
This adds the generic HAVE_ARCH_TRACEHOOK kconfig item. Each arch should
add to some Kconfig file:
select HAVE_ARCH_TRACEHOOK
if the arch code uses all the latest hooks to enable newfangled tracing
and debugging code. The comment in arch/Kconfig lists all the
prerequisite arch support. When all these are available, setting
HAVE_ARCH_TRACEHOOK will allow enabling any new features that depend on
the modern arch interfaces.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 828c365cc8b8d38c346fccb19fa80d28f2240831
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:57 2008 -0700
tracehook: asm/syscall.h
This adds asm-generic/syscall.h, which documents what a real
asm-ARCH/syscall.h file should define. This is not used yet, but will
provide all the machine-dependent details of examining a user system call
about to begin, in progress, or just ended.
Each arch should add an asm-ARCH/syscall.h that defines all the entry
points documented in asm-generic/syscall.h, as short inlines if possible.
This lets us write new tracing code that understands user system call
registers, without any new arch-specific work.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 64b1208d5b0ef8859fd52ea7ae286a3eb994669b
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:56 2008 -0700
tracehook: TIF_NOTIFY_RESUME
This adds tracehook.h inlines to enable a new arch feature in support of
user debugging/tracing. This is not used yet, but it lays the groundwork
for a debugger to be able to wrangle a task that's possibly running,
without interrupting its syscalls in progress.
Each arch should define TIF_NOTIFY_RESUME, and in their entry.S code treat
it much like TIF_SIGPENDING. That is, it causes you to take the slow path
when returning to user mode, where you get the full user-mode state
accessible as for signal handling or ptrace. The arch code should check
TIF_NOTIFY_RESUME after handling TIF_SIGPENDING. When it's set, clear it
and then call tracehook_notify_resume().
In future, tracing code will call set_notify_resume() when it wants to get
a callback in tracehook_notify_resume().
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b787f7ba677840da16a2228c16571ce8a1fcb799
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:55 2008 -0700
tracehook: force signal_pending()
This defines a new hook tracehook_force_sigpending() that lets tracing
code decide to force TIF_SIGPENDING on in recalc_sigpending().
This is not used yet, so it compiles away to nothing for now. It lays the
groundwork for new tracing code that can interrupt a task synthetically
without actually sending a signal.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2b2a1ff64afbadac842bbc58c5166962cf4f7664
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:54 2008 -0700
tracehook: death
This moves the ptrace logic in task death (exit_notify) into tracehook.h
inlines. Some code is rearranged slightly to make things nicer. There is
no change, only cleanup.
There is one hook called with the tasklist_lock write-locked, as ptrace
needs. There is also a new hook called after exit_state changes and
without locks. This is a better place for tracing work to be in the
future, since it doesn't delay the whole system with locking.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit fa00b80b3c41a845b3d56f866fb40a2e98754c51
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:54 2008 -0700
tracehook: job control
This defines the tracehook_notify_jctl() hook to formalize the ptrace
effects on the job control notifications. There is no change, only
cleanup.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7bcf6a2ca5f639b038c48711ebe6c4eca2036641
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:53 2008 -0700
tracehook: get_signal_to_deliver
This defines the tracehook_get_signal() hook to allow tracing code to slip
in before normal signal dequeuing. This lays the groundwork for new
tracing features that can inject synthetic signals outside the normal
queue or control the disposition of delivered signals. The calling
convention lets tracehook_get_signal() decide both exactly what will
happen and what signal number to report in the handler/exit.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 283d7559e7712f95a05331eb0a85394c6368101b
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:52 2008 -0700
tracehook: syscall
This adds standard tracehook.h inlines for arch code to call when
TIF_SYSCALL_TRACE has been set. This replaces having each arch implement
the ptrace guts for its syscall tracing support.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 445a91d2fe3667fb8fc251433645f686933cf56a
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:52 2008 -0700
tracehook: tracehook_consider_fatal_signal
This defines tracehook_consider_fatal_signal() has a fine-grained hook for
deciding to skip the special cases for a fatal signal, as ptrace does.
There is no change, only cleanup.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 35de254dc60f91004b3b5ebb1fc7b2c3093d6032
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:51 2008 -0700
tracehook: tracehook_consider_ignored_signal
This defines tracehook_consider_ignored_signal() has a fine-grained hook
for deciding to prevent the normal short-circuit of sending an ignored
signal, as ptrace does. There is no change, only cleanup.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c45aea27617d6a1e0aacddc3b0233f704222fcbd
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:50 2008 -0700
tracehook: tracehook_signal_handler
This defines tracehook_signal_handler() as a hook for the arch signal
handling code to call. It gives ptrace the opportunity to stop for a
pseudo-single-step trap immediately after signal handler setup is done.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit fa8e26ccd485216fc45c8c2dd1ec3b7ef1a0a2f8
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:50 2008 -0700
tracehook: tracehook_expect_breakpoints
This adds tracehook_expect_breakpoints() as a formal hook for the nommu
code to use for its, "Is text-poking likely?" check at mmap time. This
names the actual semantics the code means to test, and documents it.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0d094efeb1e98010c6b99923f1eb7e17bf1e3a74
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:49 2008 -0700
tracehook: tracehook_tracer_task
This adds the tracehook_tracer_task() hook to consolidate all forms of
"Who is using ptrace on me?" logic. This is used for "TracerPid:" in
/proc and for permission checks. We also clean up the selinux code the
called an identical accessor.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit dae33574dcf5211e1f43c7e45fa29f73ba3e00cb
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:48 2008 -0700
tracehook: release_task
This moves the ptrace-related logic from release_task into tracehook.h and
ptrace.h inlines. It provides clean hooks both before and after locking
tasklist_lock, for future tracing logic to do more cleanup without the
lock.
This also changes release_task() itself in the rare "zap_leader" case to
set the leader to EXIT_DEAD before iterating. This maintains the
invariant that release_task() only ever handles a task in EXIT_DEAD. This
is a common-sense invariant that is already always true except in this one
arcane case of zombie leader whose parent ignores SIGCHLD.
This change is harmless and only costs one store in this one rare case.
It keeps the expected state more consisently sane, which is nicer when
debugging weirdness in release_task(). It also lets some future code in
the tracehook entry points rely on this invariant for bookkeeping.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit daded34be96b1975ff8539ff62ad8b158ce7d842
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:47 2008 -0700
tracehook: vfork-done
This moves the PTRACE_EVENT_VFORK_DONE tracing into a tracehook.h inline,
tracehook_report_vfork_done(). The change has no effect, just clean-up.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 09a05394fe2448a4139b014936330af23fa7ec83
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:47 2008 -0700
tracehook: clone
This moves all the ptrace initialization and tracing logic for task
creation into tracehook.h and ptrace.h inlines. It reorganizes the code
slightly, but should not change any behavior.
There are four tracehook entry points, at each important stage of task
creation. This keeps the interface from the core fork.c code fairly
clean, while supporting the complex setup required for ptrace or something
like it.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 30199f5a46aee204bf437a4f5b0740f3efe448b7
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:46 2008 -0700
tracehook: exit
This moves the PTRACE_EVENT_EXIT tracing into a tracehook.h inline,
tracehook_report_exec(). The change has no effect, just clean-up.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ff1188646c6870f336e910fb894eeed74f50471f
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:45 2008 -0700
tracehook: unexport ptrace_notify
The ptrace_notify() function should not be called by any modules. It was
only ever exported to be called by binfmt exec functions. But that is no
longer necessary since fs/exec.c deals with that generically now. There
should be no calls to ptrace_notify() from outside the core kernel.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6341c393fcc37d58727865f1ee2f65e632e9d4f0
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:44 2008 -0700
tracehook: exec
This moves all the ptrace hooks related to exec into tracehook.h inlines.
This also lifts the calls for tracing out of the binfmt load_binary hooks
into search_binary_handler() after it calls into the binfmt module. This
change has no effect, since all the binfmt modules' load_binary functions
did the call at the end on success, and now search_binary_handler() does
it immediately after return if successful. We consolidate the repeated
code, and binfmt modules no longer need to import ptrace_notify().
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 88ac2921a71f788ed693bcd44731dd6bc1994640
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 19:45:43 2008 -0700
tracehook: add linux/tracehook.h
This patch series introduces the "tracehook" interface layer of inlines in
<linux/tracehook.h>. There are more details in the log entry for patch
01/23 and in the header file comments inside that patch. Most of these
changes move code around with little or no change, and they should not
break anything or change any behavior.
This sets a new standard for uniform arch support to enable clean
arch-independent implementations of new debugging and tracing stuff,
denoted by CONFIG_HAVE_ARCH_TRACEHOOK. Patch 20/23 adds that symbol to
arch/Kconfig, with comments listing everything an arch has to do before
setting "select HAVE_ARCH_TRACEHOOK". These are elaborted a bit at:
http://sourceware.org/systemtap/wiki/utrace/arch/HowTo
The new inlines that arch code must define or call have detailed kerneldoc
comments in the generic header files that say what is required.
No arch is obligated to do any work, and no arch's build should be broken
by these changes. There are several steps that each arch should take so
it can set HAVE_ARCH_TRACEHOOK. Most of these are simple. Providing this
support will let new things people add for doing debugging and tracing of
user-level threads "just work" for your arch in the future. For an arch
that does not provide HAVE_ARCH_TRACEHOOK, some new options for such
features will not be available for config.
I have done some arch work and will submit this to the arch maintainers
after the generic tracehook series settles in. For now, that work is
available in my GIT repositories, and in patch and mbox-of-patches form at
http://people.redhat.com/roland/utrace/2.6-current/
This paves the way for my "utrace" work, to be submitted later. But it is
not innately tied to that. I hope that the tracehook series can go in
soon regardless of what eventually does or doesn't go on top of it. For
anyone implementing any kind of new tracing/debugging plan, or just
understanding all the context of the existing ptrace implementation,
having tracehook.h makes things much easier to find and understand.
This patch:
This adds the new kernel-internal header file <linux/tracehook.h>. This
is not yet used at all. The comments in the header introduce what the
following series of patches is about.
The aim is to formalize and consolidate all the places that the core
kernel code and the arch code now ties into the ptrace implementation.
These patches mostly don't cause any functional change. They just move
the details of ptrace logic out of core code into tracehook.h inlines,
where they are mostly compiled away to the same as before. All that
changes is that everything is thoroughly documented and any future
reworking of ptrace, or addition of something new, would not have to touch
core code all over, just change the tracehook.h inlines.
The new linux/ptrace.h inlines are used by the following patches in the
new tracehook_*() inlines. Using these helpers for the ptrace event stops
makes it simple to change or disable the old ptrace implementation of
these stops conditionally later.
Signed-off-by: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 267e2a9c71b8e088ac307f9549f71468e86e26c1
Author: Arjan van de Ven <arjan at linux.intel.com>
Date: Fri Jul 25 19:45:41 2008 -0700
Use WARN() in fs/proc/
Use WARN() instead of a printk+WARN_ON() pair; this way the message
becomes part of the warning section for better reporting/collection.
This way, the entire if() {} section can collapse into the WARN() as well.
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
Acked-by: Alexey Dobriyan <adobriyan at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 99fcd77d15357e8ba51005c25cc750b9c28b2688
Author: Arjan van de Ven <arjan at linux.intel.com>
Date: Fri Jul 25 19:45:41 2008 -0700
Use WARN() in fs/sysfs
Use WARN() instead of a printk+WARN_ON() pair; this way the message becomes
part of the warning section for better reporting/collection. Also, with this,
one fo the if() sections collapses entirely into the WARN().
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5c752ad9f35910ff1912b3f3ae82878178ddc432
Author: Arjan van de Ven <arjan at linux.intel.com>
Date: Fri Jul 25 19:45:40 2008 -0700
Use WARN() in fs/
Use WARN() instead of a printk+WARN_ON() pair; this way the message
becomes part of the warning section for better reporting/collection.
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5cd2b459d326a424671dcd95f038649f7bf7cb96
Author: Arjan van de Ven <arjan at linux.intel.com>
Date: Fri Jul 25 19:45:39 2008 -0700
Use WARN() in lib/
Use WARN() instead of a printk+WARN_ON() pair; this way the message becomes
part of the warning section for better reporting/collection. In addition, one
of the if() clauses collapes into the WARN() entirely now.
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f810a5cf28a818db96333cd23646f0227ec015b4
Author: Arjan van de Ven <arjan at linux.intel.com>
Date: Fri Jul 25 19:45:39 2008 -0700
Use WARN() in drivers/base/
Use WARN() instead of a printk+WARN_ON() pair; this way the message
becomes part of the warning section for better reporting/collection.
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
Cc: Greg KH <greg at kroah.com>
Cc: Kay Sievers <kay.sievers at vrfy.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 12e0036818eed243c8ed6583ebf98261a2554e12
Author: Arjan van de Ven <arjan at linux.intel.com>
Date: Fri Jul 25 19:45:38 2008 -0700
Use WARN() in block/
Use WARN() instead of a printk+WARN_ON() pair; this way the message
becomes part of the warning section for better reporting/collection.
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
Cc: Jens Axboe <jens.axboe at oracle.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 261c40c1191ad8d7a2e49fa2bb5f6a84e3d44b10
Author: Arjan van de Ven <arjan at linux.intel.com>
Date: Fri Jul 25 19:45:37 2008 -0700
use WARN() in kernel/irq/chip.c
Use WARN() instead of a printk+WARN_ON() pair; this way the message
becomes part of the warning section for better reporting/collection.
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4c8573e25f27b60b495aaa23089032f685ffd5ba
Author: Arjan van de Ven <arjan at linux.intel.com>
Date: Fri Jul 25 19:45:37 2008 -0700
Use WARN() in mm/vmalloc.c
Use WARN() instead of a printk+WARN_ON() pair; this way the message becomes
part of the warning section for better reporting/collection.
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b8c512f6190e313df69060bae4a161c5c044e272
Author: Arjan van de Ven <arjan at linux.intel.com>
Date: Fri Jul 25 19:45:36 2008 -0700
Use WARN() in kernel/irq/manage.c
Replace a printk+WARN_ON() by a WARN(); this increases the chance of the
string making it into the bugreport (ie: it goes inside the
---[ cut here ]--- section)
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 51cc50685a4275c6a02653670af9f108a64e01cf
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Fri Jul 25 19:45:34 2008 -0700
SL*B: drop kmem cache argument from constructor
Kmem cache passed to constructor is only needed for constructors that are
themselves multiplexeres. Nobody uses this "feature", nor does anybody uses
passed kmem cache in non-trivial way, so pass only pointer to object.
Non-trivial places are:
arch/powerpc/mm/init_64.c
arch/powerpc/mm/hugetlbpage.c
This is flag day, yes.
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Acked-by: Pekka Enberg <penberg at cs.helsinki.fi>
Acked-by: Christoph Lameter <cl at linux-foundation.org>
Cc: Jon Tollefson <kniht at linux.vnet.ibm.com>
Cc: Nick Piggin <nickpiggin at yahoo.com.au>
Cc: Matt Mackall <mpm at selenic.com>
[akpm at linux-foundation.org: fix arch/powerpc/mm/hugetlbpage.c]
[akpm at linux-foundation.org: fix mm/slab.c]
[akpm at linux-foundation.org: fix ubifs]
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d91958815d214ea365b98cbff6215383897edcb6
Author: Matt LaPlante <kernel1 at cyberdogtech.com>
Date: Fri Jul 25 19:45:33 2008 -0700
Documentation cleanup: trivial misspelling, punctuation, and grammar corrections.
Cc: Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 19fd6231279be3c3bdd02ed99f9b0eb195978064
Author: Nick Piggin <npiggin at suse.de>
Date: Fri Jul 25 19:45:32 2008 -0700
mm: spinlock tree_lock
mapping->tree_lock has no read lockers. convert the lock from an rwlock
to a spinlock.
Signed-off-by: Nick Piggin <npiggin at suse.de>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Paul Mackerras <paulus at samba.org>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: "Paul E. McKenney" <paulmck at us.ibm.com>
Reviewed-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a60637c85893e7191faaafa6a72e197c24386727
Author: Nick Piggin <npiggin at suse.de>
Date: Fri Jul 25 19:45:31 2008 -0700
mm: lockless pagecache
Combine page_cache_get_speculative with lockless radix tree lookups to
introduce lockless page cache lookups (ie. no mapping->tree_lock on the
read-side).
The only atomicity changes this introduces is that the gang pagecache
lookup functions now behave as if they are implemented with multiple
find_get_page calls, rather than operating on a snapshot of the pages. In
practice, this atomicity guarantee is not used anyway, and it is to
replace individual lookups, so these semantics are natural.
Signed-off-by: Nick Piggin <npiggin at suse.de>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Paul Mackerras <paulus at samba.org>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: "Paul E. McKenney" <paulmck at us.ibm.com>
Reviewed-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e286781d5f2e9c846e012a39653a166e9d31777d
Author: Nick Piggin <npiggin at suse.de>
Date: Fri Jul 25 19:45:30 2008 -0700
mm: speculative page references
If we can be sure that elevating the page_count on a pagecache page will
pin it, we can speculatively run this operation, and subsequently check to
see if we hit the right page rather than relying on holding a lock or
otherwise pinning a reference to the page.
This can be done if get_page/put_page behaves consistently throughout the
whole tree (ie. if we "get" the page after it has been used for something
else, we must be able to free it with a put_page).
Actually, there is a period where the count behaves differently: when the
page is free or if it is a constituent page of a compound page. We need
an atomic_inc_not_zero operation to ensure we don't try to grab the page
in either case.
This patch introduces the core locking protocol to the pagecache (ie.
adds page_cache_get_speculative, and tweaks some update-side code to make
it work).
Thanks to Hugh for pointing out an improvement to the algorithm setting
page_count to zero when we have control of all references, in order to
hold off speculative getters.
[kamezawa.hiroyu at jp.fujitsu.com: fix migration_entry_wait()]
[hugh at veritas.com: fix add_to_page_cache]
[akpm at linux-foundation.org: repair a comment]
Signed-off-by: Nick Piggin <npiggin at suse.de>
Cc: Jeff Garzik <jeff at garzik.org>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Paul Mackerras <paulus at samba.org>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: "Paul E. McKenney" <paulmck at us.ibm.com>
Reviewed-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Signed-off-by: Daisuke Nishimura <nishimura at mxp.nes.nec.co.jp>
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
Signed-off-by: Hugh Dickins <hugh at veritas.com>
Acked-by: Nick Piggin <npiggin at suse.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 47feff2c8eefe85099f87c43d3096855f0085ca0
Author: Nick Piggin <npiggin at suse.de>
Date: Fri Jul 25 19:45:29 2008 -0700
radix-tree: add gang_lookup_slot, gang_lookup_slot_tag
Introduce gang_lookup_slot() and gang_lookup_slot_tag() functions, which
are used by lockless pagecache.
Signed-off-by: Nick Piggin <npiggin at suse.de>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Paul Mackerras <paulus at samba.org>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: "Paul E. McKenney" <paulmck at us.ibm.com>
Reviewed-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 30002ed2e41830ec03ec3e577ad83ac6b188f96e
Author: Nick Piggin <npiggin at suse.de>
Date: Fri Jul 25 19:45:28 2008 -0700
mm: readahead scan lockless
radix_tree_next_hole() is implemented as a series of radix_tree_lookup()s.
So it can be called locklessly, under rcu_read_lock().
Signed-off-by: Nick Piggin <npiggin at suse.de>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Paul Mackerras <paulus at samba.org>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: "Paul E. McKenney" <paulmck at us.ibm.com>
Reviewed-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 652ea695364142b2464744746beac206d050ef19
Author: Nick Piggin <npiggin at suse.de>
Date: Fri Jul 25 19:45:27 2008 -0700
x86: support 1GB hugepages with get_user_pages_lockless()
Signed-off-by: Nick Piggin <npiggin at suse.de>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Andi Kleen <andi at firstfloor.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit bc40d73c950146725e9e768e856a416ec8949065
Author: Nick Piggin <npiggin at suse.de>
Date: Fri Jul 25 19:45:26 2008 -0700
splice: use get_user_pages_fast
Use get_user_pages_fast in splice. This reverts some mmap_sem batching
there, however the biggest problem with mmap_sem tends to be hold times
blocking out other threads rather than cacheline bouncing. Further: on
architectures that implement get_user_pages_fast without locks, mmap_sem
can be avoided completely anyway.
Signed-off-by: Nick Piggin <npiggin at suse.de>
Cc: Dave Kleikamp <shaggy at austin.ibm.com>
Cc: Andy Whitcroft <apw at shadowen.org>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Andi Kleen <andi at firstfloor.org>
Cc: Dave Kleikamp <shaggy at austin.ibm.com>
Cc: Badari Pulavarty <pbadari at us.ibm.com>
Cc: Zach Brown <zach.brown at oracle.com>
Cc: Jens Axboe <jens.axboe at oracle.com>
Reviewed-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f5dd33c494a427b1d1a3b574de5c9e511c888864
Author: Nick Piggin <npiggin at suse.de>
Date: Fri Jul 25 19:45:25 2008 -0700
dio: use get_user_pages_fast
Use get_user_pages_fast in the common/generic block and fs direct IO paths.
Signed-off-by: Nick Piggin <npiggin at suse.de>
Cc: Dave Kleikamp <shaggy at austin.ibm.com>
Cc: Andy Whitcroft <apw at shadowen.org>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Andi Kleen <andi at firstfloor.org>
Cc: Dave Kleikamp <shaggy at austin.ibm.com>
Cc: Badari Pulavarty <pbadari at us.ibm.com>
Cc: Zach Brown <zach.brown at oracle.com>
Cc: Jens Axboe <jens.axboe at oracle.com>
Reviewed-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8174c430e445a93016ef18f717fe570214fa38bf
Author: Nick Piggin <npiggin at suse.de>
Date: Fri Jul 25 19:45:24 2008 -0700
x86: lockless get_user_pages_fast()
Implement get_user_pages_fast without locking in the fastpath on x86.
Do an optimistic lockless pagetable walk, without taking mmap_sem or any
page table locks or even mmap_sem. Page table existence is guaranteed by
turning interrupts off (combined with the fact that we're always looking
up the current mm, means we can do the lockless page table walk within the
constraints of the TLB shootdown design). Basically we can do this
lockless pagetable walk in a similar manner to the way the CPU's pagetable
walker does not have to take any locks to find present ptes.
This patch (combined with the subsequent ones to convert direct IO to use
it) was found to give about 10% performance improvement on a 2 socket 8
core Intel Xeon system running an OLTP workload on DB2 v9.5
"To test the effects of the patch, an OLTP workload was run on an IBM
x3850 M2 server with 2 processors (quad-core Intel Xeon processors at
2.93 GHz) using IBM DB2 v9.5 running Linux 2.6.24rc7 kernel. Comparing
runs with and without the patch resulted in an overall performance
benefit of ~9.8%. Correspondingly, oprofiles showed that samples from
__up_read and __down_read routines that is seen during thread contention
for system resources was reduced from 2.8% down to .05%. Monitoring the
/proc/vmstat output from the patched run showed that the counter for
fast_gup contained a very high number while the fast_gup_slow value was
zero."
(fast_gup is the old name for get_user_pages_fast, fast_gup_slow is a
counter we had for the number of times the slowpath was invoked).
The main reason for the improvement is that DB2 has multiple threads each
issuing direct-IO. Direct-IO uses get_user_pages, and thus the threads
contend the mmap_sem cacheline, and can also contend on page table locks.
I would anticipate larger performance gains on larger systems, however I
think DB2 uses an adaptive mix of threads and processes, so it could be
that thread contention remains pretty constant as machine size increases.
In which case, we stuck with "only" a 10% gain.
The downside of using get_user_pages_fast is that if there is not a pte
with the correct permissions for the access, we end up falling back to
get_user_pages and so the get_user_pages_fast is a bit of extra work.
However this should not be the common case in most performance critical
code.
[akpm at linux-foundation.org: coding-style fixes]
[akpm at linux-foundation.org: build fix]
[akpm at linux-foundation.org: Kconfig fix]
[akpm at linux-foundation.org: Makefile fix/cleanup]
[akpm at linux-foundation.org: warning fix]
Signed-off-by: Nick Piggin <npiggin at suse.de>
Cc: Dave Kleikamp <shaggy at austin.ibm.com>
Cc: Andy Whitcroft <apw at shadowen.org>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Andi Kleen <andi at firstfloor.org>
Cc: Dave Kleikamp <shaggy at austin.ibm.com>
Cc: Badari Pulavarty <pbadari at us.ibm.com>
Cc: Zach Brown <zach.brown at oracle.com>
Cc: Jens Axboe <jens.axboe at oracle.com>
Reviewed-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 21cc199baa815d7b3f1ace4be20b9558cbddc00f
Author: Nick Piggin <npiggin at suse.de>
Date: Fri Jul 25 19:45:22 2008 -0700
mm: introduce get_user_pages_fast
Introduce a new get_user_pages_fast mm API, which is basically a
get_user_pages with a less general API (but still tends to be suited to
the common case):
- task and mm are always current and current->mm
- force is always 0
- pages is always non-NULL
- don't pass back vmas
This restricted API can be implemented in a much more scalable way on many
architectures when the ptes are present, by walking the page tables
locklessly (no mmap_sem or page table locks). When the ptes are not
populated, get_user_pages_fast() could be slower.
This is implemented locklessly on x86, and used in some key direct IO call
sites, in later patches, which provides nearly 10% performance improvement
on a threaded database workload.
Lots of other code could use this too, depending on use cases (eg. grep
drivers/). And it might inspire some new and clever ways to use it.
[akpm at linux-foundation.org: build fix]
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Nick Piggin <npiggin at suse.de>
Cc: Dave Kleikamp <shaggy at austin.ibm.com>
Cc: Andy Whitcroft <apw at shadowen.org>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Andi Kleen <andi at firstfloor.org>
Cc: Dave Kleikamp <shaggy at austin.ibm.com>
Cc: Badari Pulavarty <pbadari at us.ibm.com>
Cc: Zach Brown <zach.brown at oracle.com>
Cc: Jens Axboe <jens.axboe at oracle.com>
Reviewed-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a0a8f5364a5ad248aec6cb705e0092ff563edc2f
Author: Nick Piggin <npiggin at suse.de>
Date: Fri Jul 25 19:45:20 2008 -0700
x86: implement pte_special
Implement the pte_special bit for x86. This is required to support
lockless get_user_pages, because we need to know whether or not we can
refcount a particular page given only its pte (and no vma).
[hugh at veritas.com: fix a BUG]
Signed-off-by: Nick Piggin <npiggin at suse.de>
Cc: Dave Kleikamp <shaggy at austin.ibm.com>
Cc: Andy Whitcroft <apw at shadowen.org>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Andi Kleen <andi at firstfloor.org>
Cc: Dave Kleikamp <shaggy at austin.ibm.com>
Cc: Badari Pulavarty <pbadari at us.ibm.com>
Cc: Zach Brown <zach.brown at oracle.com>
Cc: Jens Axboe <jens.axboe at oracle.com>
Reviewed-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Signed-off-by: Hugh Dickins <hugh at veritas.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2682497245e7d22160ae63032c378745a7f2cfe5
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Fri Jul 25 19:45:20 2008 -0700
mn10300: use the common ascii hex helpers
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Acked-by: David Howells <dhowells at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 19caeed6339aec02901e2f4c49d8e1d3d6090559
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Fri Jul 25 19:45:19 2008 -0700
frv: use the common ascii hex helpers
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Acked-by: David Howells <dhowells at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 42a9a58361d3b65f4a7c2ad280cc1ec9b657e7d2
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Fri Jul 25 19:45:18 2008 -0700
cris: use the common ascii hex helpers
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Cc: Mikael Starvik <starvik at axis.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0ad122d901977890de554fdd3ff65474efc1a9bf
Author: Bob Copeland <me at bobcopeland.com>
Date: Fri Jul 25 19:45:18 2008 -0700
omfs: add MAINTAINERS entry
Add the MAINTAINERS entry for OMFS.
Signed-off-by: Bob Copeland <me at bobcopeland.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 63ca8ce2a2641f9cb5f0add33ced4591681d1cd7
Author: Bob Copeland <me at bobcopeland.com>
Date: Fri Jul 25 19:45:17 2008 -0700
omfs: update kbuild to include OMFS
Adds OMFS to the fs Kconfig and Makefile
Signed-off-by: Bob Copeland <me at bobcopeland.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 36cc410a6799a205bfc6ccc38abd9d52f2afba64
Author: Bob Copeland <me at bobcopeland.com>
Date: Fri Jul 25 19:45:17 2008 -0700
omfs: add bitmap routines
Add block allocation and block bitmap management routines for OMFS.
Signed-off-by: Bob Copeland <me at bobcopeland.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8f09e98768c17287df076580c4cc72ac358312c6
Author: Bob Copeland <me at bobcopeland.com>
Date: Fri Jul 25 19:45:16 2008 -0700
omfs: add file routines
Add functions for reading and manipulating the storage of file data in
the extent-based OMFS.
Signed-off-by: Bob Copeland <me at bobcopeland.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a3ab7155ea21aadc8a4d5687e91b3d876973185e
Author: Bob Copeland <me at bobcopeland.com>
Date: Fri Jul 25 19:45:16 2008 -0700
omfs: add directory routines
Add lookup and directory management routines for OMFS. The filesystem uses
hashing based on the filename and stores collisions, unordered, in siblings
of files' inode structures. To support telldir, the current position in
the hash table is encoded in fpos.
Signed-off-by: Bob Copeland <me at bobcopeland.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 555e3775ced1d05203934fc6529bbf0560dd8733
Author: Bob Copeland <me at bobcopeland.com>
Date: Fri Jul 25 19:45:15 2008 -0700
omfs: add inode routines
Add basic superblock and inode handling routines for OMFS
Signed-off-by: Bob Copeland <me at bobcopeland.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1b002d7b173ae7cc15ed90d3c07f6d106babc510
Author: Bob Copeland <me at bobcopeland.com>
Date: Fri Jul 25 19:45:15 2008 -0700
omfs: define filesystem structures
Add header files containing OMFS on-disk and memory structures.
Signed-off-by: Bob Copeland <me at bobcopeland.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a14e4b572b0ee5c6dbe4aceb83d00b2c969324e9
Author: Bob Copeland <me at bobcopeland.com>
Date: Fri Jul 25 19:45:14 2008 -0700
omfs: add filesystem documentation
These patches add the Optimized MPEG Filesystem, a proprietary filesystem used
by the embedded devices Rio Karma and ReplayTV, which are no longer
manufactured. This filesystem module enables people to access files on these
devices.
This patch:
OMFS is a proprietary filesystem created for the ReplayTV and also used by the
Rio Karma. It uses hash tables with unordered, unbounded lists in each bucket
for directories, extents for data blocks, 64-bit addressing for blocks, with
up to 8K blocks (only 2K of a given block is ever used for metadata, so the FS
still works with 4K pages).
Document the filesystem usage and structures.
Signed-off-by: Bob Copeland <me at bobcopeland.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 080ccd4573607a930367c2128fc709814b2ade5d
Author: Huang Weiyi <weiyi.huang at gmail.com>
Date: Fri Jul 25 19:45:13 2008 -0700
include/linux/aio.h: removed duplicated include
Removed duplicated include <linux/uio.h> in include/linux/aio.h
Signed-off-by: Huang Weiyi <weiyi.huang at gmail.com>
Signed-off-by: Benjamin LaHaise <bcrl at kvack.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 20d8b67c06fa5e74f44e80b0a0fd68c8327f7c6a
Author: Eduard - Gabriel Munteanu <eduard.munteanu at linux360.ro>
Date: Fri Jul 25 19:45:12 2008 -0700
relay: add buffer-only channels; useful for early logging
Allows one to create and use a channel with no associated files. Files
can be initialized later. This is useful in scenarios such as logging in
early code, before VFS is up. Therefore, such channels can be created and
used as soon as kmem_cache_init() completed.
This is needed by kmemtrace to do tracing in early kernel code.
[kosaki.motohiro at jp.fujitsu.com: build fix]
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu at linux360.ro>
Cc: Tom Zanussi <tzanussi at gmail.com>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7babe8db99d305340cf4828ce1f5a1481d5622ef
Author: Eduard - Gabriel Munteanu <eduard.munteanu at linux360.ro>
Date: Fri Jul 25 19:45:11 2008 -0700
Full conversion to early_initcall() interface, remove old interface
A previous patch added the early_initcall(), to allow a cleaner hooking of
pre-SMP initcalls. Now we remove the older interface, converting all
existing users to the new one.
[akpm at linux-foundation.org: cleanups]
[akpm at linux-foundation.org: build fix]
[kosaki.motohiro at jp.fujitsu.com: warning fix]
[kosaki.motohiro at jp.fujitsu.com: warning fix]
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu at linux360.ro>
Cc: Tom Zanussi <tzanussi at gmail.com>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c2147a5092cfe13dbf3210e54e8a622015edeecc
Author: Eduard - Gabriel Munteanu <eduard.munteanu at linux360.ro>
Date: Fri Jul 25 19:45:11 2008 -0700
Better interface for hooking early initcalls
Added early initcall (pre-SMP) support, using an identical interface to
that of regular initcalls. Functions called from do_pre_smp_initcalls()
could be converted to use this cleaner interface.
This is required by CPU hotplug, because early users have to register
notifiers before going SMP. One such CPU hotplug user is the relay
interface with buffer-only channels, which needs to register such a
notifier, to be usable in early code. This in turn is used by kmemtrace.
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu at linux360.ro>
Cc: Tom Zanussi <tzanussi at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 89081d17f7bb81d89fa1aa9b70f821c5cf4d39e9
Author: Huang Ying <ying.huang at intel.com>
Date: Fri Jul 25 19:45:10 2008 -0700
kexec jump: save/restore device state
This patch implements devices state save/restore before after kexec.
This patch together with features in kexec_jump patch can be used for
following:
- A simple hibernation implementation without ACPI support. You can kexec a
hibernating kernel, save the memory image of original system and shutdown
the system. When resuming, you restore the memory image of original system
via ordinary kexec load then jump back.
- Kernel/system debug through making system snapshot. You can make system
snapshot, jump back, do some thing and make another system snapshot.
- Cooperative multi-kernel/system. With kexec jump, you can switch between
several kernels/systems quickly without boot process except the first time.
This appears like swap a whole kernel/system out/in.
- A general method to call program in physical mode (paging turning
off). This can be used to invoke BIOS code under Linux.
The following user-space tools can be used with kexec jump:
- kexec-tools needs to be patched to support kexec jump. The patches
and the precompiled kexec can be download from the following URL:
source: http://khibernation.sourceforge.net/download/release_v10/kexec-tools/kexec-tools-src_git_kh10.tar.bz2
patches: http://khibernation.sourceforge.net/download/release_v10/kexec-tools/kexec-tools-patches_git_kh10.tar.bz2
binary: http://khibernation.sourceforge.net/download/release_v10/kexec-tools/kexec_git_kh10
- makedumpfile with patches are used as memory image saving tool, it
can exclude free pages from original kernel memory image file. The
patches and the precompiled makedumpfile can be download from the
following URL:
source: http://khibernation.sourceforge.net/download/release_v10/makedumpfile/makedumpfile-src_cvs_kh10.tar.bz2
patches: http://khibernation.sourceforge.net/download/release_v10/makedumpfile/makedumpfile-patches_cvs_kh10.tar.bz2
binary: http://khibernation.sourceforge.net/download/release_v10/makedumpfile/makedumpfile_cvs_kh10
- An initramfs image can be used as the root file system of kexeced
kernel. An initramfs image built with "BuildRoot" can be downloaded
from the following URL:
initramfs image: http://khibernation.sourceforge.net/download/release_v10/initramfs/rootfs_cvs_kh10.gz
All user space tools above are included in the initramfs image.
Usage example of simple hibernation:
1. Compile and install patched kernel with following options selected:
CONFIG_X86_32=y
CONFIG_RELOCATABLE=y
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
CONFIG_PM=y
CONFIG_HIBERNATION=y
CONFIG_KEXEC_JUMP=y
2. Build an initramfs image contains kexec-tool and makedumpfile, or
download the pre-built initramfs image, called rootfs.gz in
following text.
3. Prepare a partition to save memory image of original kernel, called
hibernating partition in following text.
4. Boot kernel compiled in step 1 (kernel A).
5. In the kernel A, load kernel compiled in step 1 (kernel B) with
/sbin/kexec. The shell command line can be as follow:
/sbin/kexec --load-preserve-context /boot/bzImage --mem-min=0x100000
--mem-max=0xffffff --initrd=rootfs.gz
6. Boot the kernel B with following shell command line:
/sbin/kexec -e
7. The kernel B will boot as normal kexec. In kernel B the memory
image of kernel A can be saved into hibernating partition as
follow:
jump_back_entry=`cat /proc/cmdline | tr ' ' '\n' | grep kexec_jump_back_entry | cut -d '='`
echo $jump_back_entry > kexec_jump_back_entry
cp /proc/vmcore dump.elf
Then you can shutdown the machine as normal.
8. Boot kernel compiled in step 1 (kernel C). Use the rootfs.gz as
root file system.
9. In kernel C, load the memory image of kernel A as follow:
/sbin/kexec -l --args-none --entry=`cat kexec_jump_back_entry` dump.elf
10. Jump back to the kernel A as follow:
/sbin/kexec -e
Then, kernel A is resumed.
Implementation point:
To support jumping between two kernels, before jumping to (executing)
the new kernel and jumping back to the original kernel, the devices
are put into quiescent state, and the state of devices and CPU is
saved. After jumping back from kexeced kernel and jumping to the new
kernel, the state of devices and CPU are restored accordingly. The
devices/CPU state save/restore code of software suspend is called to
implement corresponding function.
Known issues:
- Because the segment number supported by sys_kexec_load is limited,
hibernation image with many segments may not be load. This is
planned to be eliminated by adding a new flag to sys_kexec_load to
make a image can be loaded with multiple sys_kexec_load invoking.
Now, only the i386 architecture is supported.
Signed-off-by: Huang Ying <ying.huang at intel.com>
Acked-by: Vivek Goyal <vgoyal at redhat.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Cc: Pavel Machek <pavel at ucw.cz>
Cc: Nigel Cunningham <nigel at nigel.suspend2.net>
Cc: "Rafael J. Wysocki" <rjw at sisk.pl>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Thomas Gleixner <tglx at linutronix.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3ab83521378268044a448113c6aa9a9e245f4d2f
Author: Huang Ying <ying.huang at intel.com>
Date: Fri Jul 25 19:45:07 2008 -0700
kexec jump
This patch provides an enhancement to kexec/kdump. It implements the
following features:
- Backup/restore memory used by the original kernel before/after
kexec.
- Save/restore CPU state before/after kexec.
The features of this patch can be used as a general method to call program in
physical mode (paging turning off). This can be used to call BIOS code under
Linux.
kexec-tools needs to be patched to support kexec jump. The patches and
the precompiled kexec can be download from the following URL:
source: http://khibernation.sourceforge.net/download/release_v10/kexec-tools/kexec-tools-src_git_kh10.tar.bz2
patches: http://khibernation.sourceforge.net/download/release_v10/kexec-tools/kexec-tools-patches_git_kh10.tar.bz2
binary: http://khibernation.sourceforge.net/download/release_v10/kexec-tools/kexec_git_kh10
Usage example of calling some physical mode code and return:
1. Compile and install patched kernel with following options selected:
CONFIG_X86_32=y
CONFIG_KEXEC=y
CONFIG_PM=y
CONFIG_KEXEC_JUMP=y
2. Build patched kexec-tool or download the pre-built one.
3. Build some physical mode executable named such as "phy_mode"
4. Boot kernel compiled in step 1.
5. Load physical mode executable with /sbin/kexec. The shell command
line can be as follow:
/sbin/kexec --load-preserve-context --args-none phy_mode
6. Call physical mode executable with following shell command line:
/sbin/kexec -e
Implementation point:
To support jumping without reserving memory. One shadow backup page (source
page) is allocated for each page used by kexeced code image (destination
page). When do kexec_load, the image of kexeced code is loaded into source
pages, and before executing, the destination pages and the source pages are
swapped, so the contents of destination pages are backupped. Before jumping
to the kexeced code image and after jumping back to the original kernel, the
destination pages and the source pages are swapped too.
C ABI (calling convention) is used as communication protocol between
kernel and called code.
A flag named KEXEC_PRESERVE_CONTEXT for sys_kexec_load is added to
indicate that the loaded kernel image is used for jumping back.
Now, only the i386 architecture is supported.
Signed-off-by: Huang Ying <ying.huang at intel.com>
Acked-by: Vivek Goyal <vgoyal at redhat.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Cc: Pavel Machek <pavel at ucw.cz>
Cc: Nigel Cunningham <nigel at nigel.suspend2.net>
Cc: "Rafael J. Wysocki" <rjw at sisk.pl>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Thomas Gleixner <tglx at linutronix.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7fccf0326536c1b245b98740d489abb9aab69a12
Author: WANG Cong <xiyou.wangcong at gmail.com>
Date: Fri Jul 25 19:45:02 2008 -0700
kernel/kexec.c: make 'kimage_terminate' void
Since kimage_terminate() always returns 0, make it void.
Signed-off-by: WANG Cong <wangcong at zeuux.org>
Signed-off-by: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f1d82698029b92a88f5500b99f66514b6dee2bc3
Author: Alex Dubov <oakad at yahoo.com>
Date: Fri Jul 25 19:45:02 2008 -0700
memstick: use fully asynchronous request processing
Instead of using a separate thread to pump requests from block layer queue
to memstick, do so inline, utilizing the callback design of the memstick.
[akpm at linux-foundation.org: fix warnings]
Signed-off-by: Alex Dubov <oakad at yahoo.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 17017d8d2c005734d7088d8281ce2daab8fcb097
Author: Alex Dubov <oakad at yahoo.com>
Date: Fri Jul 25 19:45:01 2008 -0700
memstick: add "start" and "stop" methods to memstick device
In some cases it may be desirable to ensure that associated driver is not
going to access the media in some period of time. "start" and "stop"
methods are provided therefore to allow it.
Signed-off-by: Alex Dubov <oakad at yahoo.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b77899985bdfd85a8e5a6e485033a9b4713d2471
Author: Alex Dubov <oakad at yahoo.com>
Date: Fri Jul 25 19:45:00 2008 -0700
memstick: allow "set_param" method to return an error code
Some controllers (Jmicron, for instance) can report temporal failure
condition during power-on. It is desirable to account for this using a
return value of "set_param" device method. The return value can also be
handy to distinguish between supported and unsupported device parameters
in run time.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Alex Dubov <oakad at yahoo.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0147600172b4a5d261165d1aa5ef818d84da1557
Author: Michael Halcrow <mhalcrow at us.ibm.com>
Date: Fri Jul 25 19:45:00 2008 -0700
tpm: Use correct data types for sizes in tpm_write() and tpm_read()
Use the correct data types for the size parameters in tpm_write() and
tpm_read(). Note that rw_verify_area() makes sure that this bug cannot
be exploited to produce a buffer overrun.
Signed-off-by: Michael Halcrow <mhalcrow at us.ibm.com>
Cc: Marcel Selhorst <tpm at selhorst.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ec288bd37e1925f513db40871bc46115cf7fb733
Author: Marcin Obara <marcin_obara at users.sourceforge.net>
Date: Fri Jul 25 19:44:59 2008 -0700
tpm: increase size of internal TPM response buffers
This patch increases size of driver internal response buffers. Some TPM
responses defined in TCG TPM Specification Version 1.2 Revision 103 have
increased size and do not fit previously defined buffers. Some TPM
responses do not have fixed size, so bigger response buffers have to be
allocated. 200B buffers should be enough.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Marcin Obara <marcin_obara at users.sourceforge.net>
Cc: Marcel Selhorst <tpm at selhorst.net>
Cc: Kylene Jo Hall <kjhall at us.ibm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3bd60464e3224820bc413c45ea2cc371edc63e9d
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:44:58 2008 -0700
tpm_bios.c: make 2 structs static
This patch makes two needlessly global structs static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: Marcel Selhorst <tpm at selhorst.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 061991ec6edceda48d60f7a53e17b8d3416266ae
Author: LE DISEZ Erwan <eledisez at grounation.org>
Date: Fri Jul 25 19:44:56 2008 -0700
tpm: add support for Broadcom TPM TIS device HID
Signed-off-by: Rajiv Andrade <srajiv at linux.vnet.ibm.com>
Cc: Marcel Selhorst <tpm at selhorst.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit adbd321a17ccdd26752b57e68ab0a97a4aebc299
Author: Bernhard Walle <bwalle at suse.de>
Date: Fri Jul 25 19:44:56 2008 -0700
parport_pc: add base_hi BAR for oxsemi_840
Use the 2nd BAR for the oxsemi_840 chip as BAR for base_hi. Tested with:
Parallel controller [0701]: Oxford Semiconductor Ltd VScom 011H-EP1
1 port parallel adaptor [1415:8403] (prog-if 03 [IEEE1284])
This patch is needed to make 'TRISTATE' work with that adaptor.
Signed-off-by: Bernhard Walle <bwalle at suse.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d99a0344aefbfe991147472d46a6ee1c1a0043de
Author: Andre Haupt <andre at bitwigglers.org>
Date: Fri Jul 25 19:44:55 2008 -0700
parport: remove superfluous local variable
Signed-off-by: Andre Haupt <andre at bitwigglers.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 929dfb24fbcd60e2544b2de7bfb4a68da4dfc747
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:44:54 2008 -0700
parport/share.c: proper externs
This patch adds proper externs for parport_default_timeslice and
parport_default_spintime in include/linux/parport.h
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3f165e4cf2af042af7d2440d688299c0d2a48b1f
Author: Dmitri Vorobiev <dmitri.vorobiev at movial.fi>
Date: Fri Jul 25 19:44:54 2008 -0700
bfs: kill BKL
Replace the BKL-based locking scheme used in the bfs driver by a private
filesystem-wide mutex.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev at movial.fi>
Cc: Tigran Aivazian <tigran_aivazian at symantec.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 75b25b4cabb7ce956c36442bf8225659b1864866
Author: Dmitri Vorobiev <dmitri.vorobiev at movial.fi>
Date: Fri Jul 25 19:44:52 2008 -0700
bfs: assorted cleanups
This patch makes the following cleanups:
o removing an unused variable from bfs_fill_super();
o removing unneeded blank spaces from pointer
definitions.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev at movial.fi>
Cc: Tigran Aivazian <tigran_aivazian at symantec.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7d135a5d50a08bbc53b189d79d8bdb03136f5303
Author: Matthias Kaehlcke <matthias at kaehlcke.net>
Date: Fri Jul 25 19:44:51 2008 -0700
affs: convert s_bmlock into a mutex
The semaphore s_bmlock is used as a mutex. Convert it to the mutex API.
Signed-off-by: Matthias Kaehlcke <matthias at kaehlcke.net>
Cc: Roman Zippel <zippel at linux-m68k.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1956a96de488feb05e95c08c9d5e80f63a4be2b1
Author: Alexis Bruemmer <alexisb at us.ibm.com>
Date: Fri Jul 25 19:44:51 2008 -0700
x86 calgary: fix handling of devices that aren't behind the Calgary
The calgary code can give drivers addresses above 4GB which is very bad
for hardware that is only 32bit DMA addressable.
With this patch, the calgary code sets the global dma_ops to swiotlb or
nommu properly, and the dma_ops of devices behind the Calgary/CalIOC2
to calgary_dma_ops. So the calgary code can handle devices safely that
aren't behind the Calgary/CalIOC2.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Alexis Bruemmer <alexisb at us.ibm.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Cc: Muli Ben-Yehuda <muli at il.ibm.com>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Thomas Gleixner <tglx at linutronix.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8d8bb39b9eba32dd70e87fd5ad5c5dd4ba118e06
Author: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Date: Fri Jul 25 19:44:49 2008 -0700
dma-mapping: add the device argument to dma_mapping_error()
Add per-device dma_mapping_ops support for CONFIG_X86_64 as POWER
architecture does:
This enables us to cleanly fix the Calgary IOMMU issue that some devices
are not behind the IOMMU (http://lkml.org/lkml/2008/5/8/423).
I think that per-device dma_mapping_ops support would be also helpful for
KVM people to support PCI passthrough but Andi thinks that this makes it
difficult to support the PCI passthrough (see the above thread). So I
CC'ed this to KVM camp. Comments are appreciated.
A pointer to dma_mapping_ops to struct dev_archdata is added. If the
pointer is non NULL, DMA operations in asm/dma-mapping.h use it. If it's
NULL, the system-wide dma_ops pointer is used as before.
If it's useful for KVM people, I plan to implement a mechanism to register
a hook called when a new pci (or dma capable) device is created (it works
with hot plugging). It enables IOMMUs to set up an appropriate
dma_mapping_ops per device.
The major obstacle is that dma_mapping_error doesn't take a pointer to the
device unlike other DMA operations. So x86 can't have dma_mapping_ops per
device. Note all the POWER IOMMUs use the same dma_mapping_error function
so this is not a problem for POWER but x86 IOMMUs use different
dma_mapping_error functions.
The first patch adds the device argument to dma_mapping_error. The patch
is trivial but large since it touches lots of drivers and dma-mapping.h in
all the architecture.
This patch:
dma_mapping_error() doesn't take a pointer to the device unlike other DMA
operations. So we can't have dma_mapping_ops per device.
Note that POWER already has dma_mapping_ops per device but all the POWER
IOMMUs use the same dma_mapping_error function. x86 IOMMUs use device
argument.
[akpm at linux-foundation.org: fix sge]
[akpm at linux-foundation.org: fix svc_rdma]
[akpm at linux-foundation.org: build fix]
[akpm at linux-foundation.org: fix bnx2x]
[akpm at linux-foundation.org: fix s2io]
[akpm at linux-foundation.org: fix pasemi_mac]
[akpm at linux-foundation.org: fix sdhci]
[akpm at linux-foundation.org: build fix]
[akpm at linux-foundation.org: fix sparc]
[akpm at linux-foundation.org: fix ibmvscsi]
Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Cc: Muli Ben-Yehuda <muli at il.ibm.com>
Cc: Andi Kleen <andi at firstfloor.org>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Avi Kivity <avi at qumranet.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c485b465a031b6f9b9a51300e0ee1f86efc6db87
Author: David Howells <dhowells at redhat.com>
Date: Fri Jul 25 19:44:47 2008 -0700
pnp: fix the fcpnp_driver declaration to only exist if CONFIG_PNP=y
Fix the fcpnp_driver declaration to only exist if CONFIG_PNP=y as it's
only accessed in that case.
The PNP=n variant was added by 30d55e71a81b1f5a8136f191dc9f4c21f18e77e6
("hisax: depend on CONFIG_PNP, not __ISAPNP__")
Fixes an unused variable warning.
Signed-off-by: David Howells <dhowells at redhat.com>
Acked-by: Bjorn Helgaas <bjorn.helgaas at hp.com>
Cc: Karsten Keil <kkeil at suse.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 999ed65ad12e374d7445fbc13f5a1d146ae4b0da
Author: Rene Herman <rene.herman at gmail.com>
Date: Fri Jul 25 19:44:47 2008 -0700
pnp: have quirk_system_pci_resources() include io resources
quirk_system_pci_resources() disables a PnP mem resource that overlaps a
PCI BAR so as to not keep the PCI driver from claiming the resource. Have
it do the same for io resources.
Here, ACPI claims ports that overlap with my soundcard causing the
soundcard driver to fail to load. It's unknown why my ACPI BIOS claims
those ports; it did not use to but this is not a (kernel) regression.
Some odd BIOS reconfig triggered by temporarily removing the card seems to
have brought this on.
Signed-off-by: Rene Herman <rene.herman at gmail.com>
Acked-by: Bjorn Helgaas <bjorn.helgaas at hp.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 00412be1d7bdf451653c7dafeb09f4f83398d756
Author: Rene Herman <rene.herman at keyaccess.nl>
Date: Fri Jul 25 19:44:45 2008 -0700
isa: set 24-bit dma_mask for ISA devices
dma_alloc_coherent() on x86 currently takes a passed in NULL device
pointer to mean that it should allocate an ISA compatible (24-bit) buffer
which is a bit of a hack.
The ALSA ISA drivers are the main consumers of this but have a struct
device in fact readily available.
For the legacy drivers, this sets the device dma_mask in preparation for
using the actual device with the DMA API so as to eventually not need the
NULL hack in dma_alloc_coherent().
This does not fix a current bug -- 2.6.26-rc1 stumbled over the NULL hack
in dma_alloc_coherent() but this has already been fixed in commit
4a367f3a9dbf2e7ffcee4702203479809236ee6e by Takashi Iwai.
Signed-off-by: Rene Herman <rene.herman at gmail.com>
Cc: Bjorn Helgaas <bjorn.helgaas at hp.com>
Acked-by: Takashi Iwai <tiwai at suse.de>
Cc: Alan Cox <alan at lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e86b19ce64a25d39bb0e10e0e695213fc5993dfb
Author: Rene Herman <rene.herman at keyaccess.nl>
Date: Fri Jul 25 19:44:42 2008 -0700
pnp: set the pnp_card dma_mask for use by ISAPnP cards
dma_alloc_coherent() on x86 currently takes a passed in NULL device
pointer to mean that it should allocate an ISA compatible (24-bit) buffer
which is a bit of a hack.
The ALSA ISA drivers are the main consumers of this but have a struct
device in fact readily available.
For the PnP drivers, the specific pnp_dev->dev device pointer is not
always available at the right time so for now we want to pass the
pnp_card->dev instead which is always available. Set its dma_mask in
preparation for doing so.
This does not fix a current bug -- 2.6.26-rc1 stumbled over the NULL hack
in dma_alloc_coherent() but this has already been fixed in commit
4a367f3a9dbf2e7ffcee4702203479809236ee6e by Takashi Iwai.
Signed-off-by: Rene Herman <rene.herman at gmail.com>
Acked-by: Bjorn Helgaas <bjorn.helgaas at hp.com>
Acked-by: Takashi Iwai <tiwai at suse.de>
Cc: Alan Cox <alan at lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c491b2ffae3fad5e6e3cb2320b46bb8ea8729d49
Author: Roel Kluin <12o3l at tiscali.nl>
Date: Fri Jul 25 19:44:41 2008 -0700
asic3: platform_get_irq() may return signed unnoticed
asic->irq_nr is unsigned. platform_get_irq() may return signed unnoticed
Signed-off-by: Roel Kluin <12o3l at tiscali.nl>
Cc: Joe Perches <joe at perches.com>
Acked-by: Samuel Ortiz <sameo at openedhand.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f3c6ba986ab4527b6dfacf9f3b9e40f72466a8b2
Author: Kentaro Makita <k-makita at np.css.fujitsu.com>
Date: Fri Jul 25 19:44:40 2008 -0700
vfs: add cond_resched_lock while scanning dentry LRU lists
Add cond_resched_lock(&dcache_lock) while scanning LRU lists on
superblocks in __shrink_dcache_sb()
Signed-off-by: Kentaro Makita <k-makita at np.css.fujitsu.com>
Cc: Al Viro <viro at zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a76eef9573c93f8f324ebacfd090a3e319a64d59
Author: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Date: Fri Jul 25 19:44:39 2008 -0700
block/blk-map.c: use the new object_is_on_stack() helper
Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Cc: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Cc: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
Cc: Tejun Heo <htejun at gmail.com>
Cc: Jens Axboe <jens.axboe at oracle.com>
Cc: James Bottomley <James.Bottomley at HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a2e2e3577c3ef2b5dbb866e97e612aae4adfa32f
Author: David Brownell <dbrownell at users.sourceforge.net>
Date: Fri Jul 25 19:44:38 2008 -0700
pm selftest: rtc paranoia
Cope with a quirk of some RTCs (notably ACPI ones) which aren't guaranteed
to implement oneshot behavior when they woke the system from sleeep:
forcibly disable the alarm, just in case.
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 44ccac13c7f4728cf2992d49384671a176db74dd
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 19:44:38 2008 -0700
include/video/atmel_lcdc.h must #include <linux/workqueue.h>
This patch fixes the following compile error caused by commit
d22579b837358cbef12ccca5adaf7e93ae09ab7a ("atmel_lcdfb: FIFO underflow
management"):
In file included from arch/avr32/boards/atstk1000/atstk1004.c:21:
include/video/atmel_lcdc.h:40: error: field 'task' has incomplete type
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8a21346058ad946134b6ddfeb5de975c3cfcf5da
Author: Nishanth Aravamudan <nacc at us.ibm.com>
Date: Fri Jul 25 19:44:37 2008 -0700
hugetlb: fix CONFIG_SYSCTL=n build
Fixes a build failure reported by Alan Cox:
mm/hugetlb.c: In function `hugetlb_acct_memory': mm/hugetlb.c:1507:
error: implicit declaration of function `cpuset_mems_nr'
Also reverts Ingo's
commit e44d1b2998d62a1f2f4d7eb17b56ba396535509f
Author: Ingo Molnar <mingo at elte.hu>
Date: Fri Jul 25 12:57:41 2008 +0200
mm/hugetlb.c: fix build failure with !CONFIG_SYSCTL
which fixed the build error but added some unused-static-function warnings.
Signed-off-by: Nishanth Aravamudan <nacc at us.ibm.com>
Cc: Alan Cox <alan at lxorguk.ukuu.org.uk>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 16d69265b930f7e2fa9eea381715696f780718f4
Author: Andrew Morton <akpm at linux-foundation.org>
Date: Fri Jul 25 19:44:36 2008 -0700
uninline arch_pick_mmap_layout()
Fix this, on avr32:
include/linux/utsname.h:35,
from init/main.c:20:
include/linux/sched.h: In function 'arch_pick_mmap_layout':
include/linux/sched.h:2149: error: implicit declaration of function 'PAGE_ALIGN'
Reported-by: Adrian Bunk <bunk at kernel.org>
Cc: Haavard Skinnemoen <hskinnemoen at atmel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0c7ad106e779549792deb307242dece6f3499bb9
Author: Andrew Morton <akpm at linux-foundation.org>
Date: Fri Jul 25 19:44:35 2008 -0700
drivers/mmc/host/sdhci.h needs scatterlist.h
alpha:
drivers/mmc/host/sdhci.h:242: error: field 'sg_miter' has incomplete type
Cc: Pierre Ossman <drzeus at drzeus.cx>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4c920de37d29284d4cb65d76a97a567247c2ac32
Author: Kumar Gala <galak at kernel.crashing.org>
Date: Sat Jul 26 12:55:09 2008 -0500
powerpc: Fix 8xx build failure
The 'powerpc ioremap_prot' broke 8xx builds:
include2/asm/pgtable-ppc32.h:555: error: '_PAGE_WRITETHRU' undeclared (first use in this function)
include2/asm/pgtable-ppc32.h:555: error: (Each undeclared identifier is reported only once
include2/asm/pgtable-ppc32.h:555: error: for each function it appears in.)
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
commit 87a9f704658a40940e740b1d73d861667e9164d3
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 23:03:48 2008 +0300
include/video/atmel_lcdc.h must #include <linux/workqueue.h>
This patch fixes the following compile error caused by
commit d22579b837358cbef12ccca5adaf7e93ae09ab7a
(atmel_lcdfb: FIFO underflow management):
<-- snip -->
...
CC arch/avr32/boards/atstk1000/atstk1004.o
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/avr32/boards/atstk1000/atstk1004.c:21:
/home/bunk/linux/kernel-2.6/git/linux-2.6/include/video/atmel_lcdc.h:40: error: field 'task' has incomplete type
make[2]: *** [arch/avr32/boards/atstk1000/atstk1004.o] Error 1
<-- snip -->
Reported-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
commit fdd2a7e2dac56a3384068802be46b822f2aed703
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Sat Jul 26 13:25:25 2008 -0300
V4L/DVB (8500a): videotext.h: whitespace cleanup
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit ed1aedb136ca42dfd70f5bef202d23994c1a3bae
Author: Martin Samuelsson <sam.linux.kernel at gmail.com>
Date: Mon Jul 14 09:28:59 2008 -0300
V4L/DVB (8500): zr36067: Load the avs6eyes chip drivers automatically
This enables the avs6eyes to load the bt866 and ks0127 drivers
automatically.
Signed-off-by: Martin Samuelsson <sam.linux.kernel at gmail.com>
Acked-by: Ronald Bultje <rbultje at ronald.bitfreak.net>
Signed-off-by: Jean Delvare <khali at linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 85b9b8a444413ea5706096df13012520ed6c5103
Author: Jean Delvare <khali at linux-fr.org>
Date: Mon Jul 14 09:51:03 2008 -0300
V4L/DVB (8499): zr36067: Rework device memory allocation
Allocate zoran devices dynamically. Currently, the zr36067 driver
stores the device structures in a global array, with room for 4
devices. This makes the bss section very large (90 kB!), and given
that most users, I suspect, have only one zoran device, this is a
waste of kernel memory. Allocating the memory dynamically lets us use
only the amount of memory we need.
Before:
text data bss dec hex filename
64754 9230 90224 164208 28170 drivers/media/video/zr36067.o
After:
text data bss dec hex filename
64866 9230 112 74208 121e0 drivers/media/video/zr36067.o
Signed-off-by: Jean Delvare <khali at linux-fr.org>
Acked-by: Ronald Bultje <rbultje at ronald.bitfreak.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 54812c77bc830e2dbcb62b4c6d8a9c7f97cfdd1b
Author: Laurent Pinchart <laurent.pinchart at skynet.be>
Date: Thu Jul 17 07:37:37 2008 -0300
V4L/DVB (8498): uvcvideo: Return sensible min and max values when querying a boolean control.
Although the V4L2 spec states that the minimum and maximum fields may not be
valid for control types other than V4L2_CTRL_TYPE_INTEGER, it makes sense
to set the bounds to 0 and 1 for boolean controls instead of returning
uninitialized values.
Signed-off-by: Laurent Pinchart <laurent.pinchart at skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 90ac5ea37f91e38d798c5e355232ce7f9c2a24d4
Author: Laurent Pinchart <laurent.pinchart at skynet.be>
Date: Sat Jul 26 11:42:29 2008 -0300
V4L/DVB (8497): uvcvideo: Make the auto-exposure menu control V4L2 compliant
V4L2 and UVC enumerate the auto-exposure settings in a different order. This
patch fixes the auto-exposure menu declaration to match the V4L2 spec.
Signed-off-by: Laurent Pinchart <laurent.pinchart at skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit d53687d1d22c3204394658a31654de2f1efb0e8f
Author: Simon Arlott <simon at fire.lp0.eu>
Date: Sat Jul 26 11:30:03 2008 -0300
V4L/DVB (8496): saa7134: Copy tuner data earlier in init to avoid overwriting manual tuner type
When saa7134_board_init2 runs, it immediately overwrites the current value
(set earlier from module parameter) of tuner_type with the static values,
and then does autodetection. This patch moves the tuner_addr copy to earlier
in saa7134_initdev and removes the tuner_type copy from saa7134_board_init2.
Autodetection could still potentially change to the wrong tuner type, but it
is now possible to override the default type for the card again.
My card's tuner is configured with autodetection from eeprom, so I don't
need to manually set the tuner. I've checked that the autodetection still
works for my card.
Signed-off-by: Simon Arlott <simon at fire.lp0.eu>
Reviewed-by: Hermann Pitton <hermann-pitton at arcor.de>
Cc: Brian Marete <bgmarete at gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 53faa1b1b9a262a634d7761ab5c62bbb017666bd
Author: Adrian Bunk <bunk at kernel.org>
Date: Mon Jul 21 16:33:42 2008 -0300
V4L/DVB (8495): usb/anysee.c: make struct anysee_usb_mutex static
This patch makes the needlessly global struct anysee_usb_mutex static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit fe0d3dff464bdd0cfe56829d86e358438647046c
Author: Adrian Bunk <bunk at kernel.org>
Date: Mon Jul 21 16:33:48 2008 -0300
V4L/DVB (8494): make cx25840_debug static
cx25840_debug can now become static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 1ffdddd6fa3d18982133f6d149d456312d8bfcac
Author: roel kluin <roel.kluin at gmail.com>
Date: Mon Jul 21 21:29:46 2008 -0300
V4L/DVB (8493): mt20xx: test below 0 on unsigned lo1a and lo2a
lo1a and lo2a are unsigned ints so these tests won't work.
Signed-off-by: Roel Kluin <roel.kluin at gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit e14b3658a7651ffd9b1f407eaf07f4dde17ef1e7
Author: Devin Heitmueller <devin.heitmueller at gmail.com>
Date: Sat Jul 26 11:04:33 2008 -0300
V4L/DVB (8492): Add support for the ATI TV Wonder HD 600
em28xx-cards.c
em28xx-dvb.c
em28xx.h
- Add support for the ATI TV Wonder HD 600, based on a 94 email exchange and
USB traces provided by Ronnie Bailey
Thanks to Ronnie Bailey <purevw at wtxs.net> for testing the changes
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit b18559076a31ab0be2d980ce2beff8e32504e080
Author: Jaime Velasco Juan <jsagarribay at gmail.com>
Date: Tue Jul 22 12:28:36 2008 -0300
V4L/DVB (8491): stkwebcam: Always reuse last queued buffer
This change keeps the video stream going on when the application
is slow queuing buffers, instead of spamming dmesg and hanging.
Fixes a problem with aMSN reported by Samed Beyribey <beyribey at gmail.com>
Signed-off-by: Jaime Velasco Juan <jsagarribay at gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit f78d92c9ffcda7451b5943ab491c087f1ec7e08d
Author: Dean Anderson <dean at sensoray.com>
Date: Tue Jul 22 14:43:27 2008 -0300
V4L/DVB (8490): s2255drv Sensoray 2255 driver fixes
This patch fixes timer issues in driver disconnect.
It also removes the restriction of one user per channel at a time.
Thanks to Oliver Neukum and Mauro Chehab for finding these issues.
Locking of video stream partly based on saa7134 driver.
Signed-off-by: Dean Anderson <dean at sensoray.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 655b8408557d586212d0797d423babdc464c587f
Author: reinhard schwab <reinhard.schwab at aon.at>
Date: Sat Jul 26 10:47:00 2008 -0300
V4L/DVB (8489): add dvb-t support for terratec cinergy hybrid T usb xs
This patch adds dvbt support for the terratec cinergy hybrid T usb xsstick.
Thanks to Devin Heitmueller and Mauro Chehab for guiding me.
Signed-off-by: Reinhard Schwab <reinhard.schwab at aon.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit f894dfd735237548d282d6fd55b6ebb4b2fd9ef2
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Fri Jul 25 07:39:54 2008 -0300
V4L/DVB (8488): videodev: remove some CONFIG_VIDEO_V4L1_COMPAT code from v4l2-dev.h
The video_device_create_file and video_device_remove_file functions can be
removed from v4l2-dev.h, removing the dependency on videodev.h in v4l2-dev.h.
Also removed a few more videodev.h includes that should have been videodev2.h.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 668acf32dfa1f1a975213f77bf17ee435f5a8edd
Author: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
Date: Sat Jul 19 07:54:43 2008 -0300
V4L/DVB (8488a): Add myself as a maintainer of the soc-camera subsystem
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 33b687cf1df62bd83167616516922b4e472be662
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Fri Jul 25 05:32:50 2008 -0300
V4L/DVB (8487): videodev: replace videodev.h includes by videodev2.h where possible
Several V4L2 drivers still included videodev.h. Fix this.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 58cfdf9acffb0c61feb0e2bceacd557a2e0b0328
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 04:26:31 2008 -0300
V4L/DVB (8485): v4l-dvb: remove broken PlanB driver
The PlanB driver has been broken since around May 2004. No one stepped
in to maintain it, so it is now being removed.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: Michel Lanners <mlan at cpu.lu>
Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 322e4095c9261d4cf0326f10d8e398d05e66521c
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Tue Jul 22 16:25:35 2008 -0300
V4L/DVB (8484): videodev: missed two more usages of the removed 'owner' field.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 9c39d7eafa366b807067697f7fc5b14d8b865179
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Mon Jul 21 07:51:45 2008 -0300
V4L/DVB (8483): Remove obsolete owner field from video_device struct.
According to an old comment this should have been removed in 2.6.15.
Better late than never...
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit a399810ca69d9d4bd30ab8c1678c7439e567f90b
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Mon Jul 21 02:57:38 2008 -0300
V4L/DVB (8482): videodev: move all ioctl callbacks to a new v4l2_ioctl_ops struct
All ioctl callbacks are now stored in a new v4l2_ioctl_ops struct. Drivers fill in
a const struct v4l2_ioctl_ops and video_device just contains a const pointer to it.
This ensures a clean separation between the const ops struct and the non-const
video_device struct.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit b654fcdc0ea3b6e5724c9873ae062bdfe7f28efe
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Tue Jul 22 15:50:31 2008 -0300
V4L/DVB (8479): tveeprom/ivtv: fix usage of has_ir field
has_ir was set to and compared to -1 in several cases, even though it is
an u32. ivtv also contained a FIXME for an old kernel that could be
removed.
Thanks to Roel Kluin for creating an initial patch for this. Although
I chose a different solution here it did help in pointing out the problem.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 38f9d308597fe3f8d52bfa30e7ed6c742b85a1db
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Wed Jul 23 05:09:15 2008 -0300
V4L/DVB (8477): v4l: remove obsolete audiochip.h
Converted the last users of audiochip.h to the v4l2-chip-ident.h header
and remove the now unused audiochip.h header.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit d417f711b9180c4851cfdc19db030878918eac88
Author: Mike Isely <isely at pobox.com>
Date: Fri Jul 25 19:50:52 2008 -0300
V4L/DVB (8475): pvrusb2: Cosmetic macro fix (benign)
Signed-off-by: Mike Isely <isely at pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 31335b13ca3925f361702ca4fc895ab165beddb9
Author: Mike Isely <isely at pobox.com>
Date: Fri Jul 25 19:35:31 2008 -0300
V4L/DVB (8474): pvrusb2: Enable IR chip on HVR-1900 class devices
The Zilog IR chip on HVR-1900 devices is held in reset when the device
initializes. We have to bring this chip out of reset before LIRC has
any chance of operating the chip. So do it.
Signed-off-by: Mike Isely <isely at pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 7e994302ed3fc6d209ce247ad5b6d9c2499bf7c2
Author: Steven Toth <stoth at hauppauge.com>
Date: Tue Jul 1 21:18:00 2008 -0300
V4L/DVB (8472): cx23885: SRAM changes for the 885 and 887 silicon parts.
In a previous patch I merged both memory maps into a single struct, believing
that they could be combined. We've since found problems with streaming
multiple channels on the 885. I'm restoring the multiple memory map structs
- in line with the windows driver.
Signed-off-by: Steven Toth <stoth at hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit d8d12b4367e2e759f65c5f9dcb94d21ec237bbc5
Author: Steven Toth <stoth at hauppauge.com>
Date: Tue Jul 1 10:43:27 2008 -0300
V4L/DVB (8471): cx23885: Reallocated the sram to avoid concurrent VIDB/C issues.
This may be cx23885 chip specific and may not work on the cx23887.
Analog and mpeg encoder streaming are still to be tested.
Signed-off-by: Steven Toth <stoth at hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 6df516905b5c53b306d90be33f9c56434e8db053
Author: Steven Toth <stoth at hauppauge.com>
Date: Mon Jun 30 22:17:05 2008 -0300
V4L/DVB (8470): cx23885: Add DViCO HDTV7 Dual Express tuner callback support.
Ensure the correct tuner gets reset on demand.
Signed-off-by: Steven Toth <stoth at hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 1ecc5aed1ea426dbb7e5cd9a0c980c14c879277b
Author: Steven Toth <stoth at hauppauge.com>
Date: Mon Jun 30 21:23:50 2008 -0300
V4L/DVB (8469): cx23885: FusionHDTV7 Dual Express toggle reset.
Ensure the tuners and demods are brought in and out of reset during
driver startup.
Signed-off-by: Steven Toth <stoth at hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit aaadeac88add22c4b2e2e7d17af1c5bae2d3fe17
Author: Steven Toth <stoth at hauppauge.com>
Date: Mon Jun 30 20:58:38 2008 -0300
V4L/DVB (8468): cx23885: Ensure the second transport port is enabled for streaming.
It was previously disabled pending a bugfix, which has since been
resolved.
Signed-off-by: Steven Toth <stoth at hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 7b9139086abca60b762d1b01231db88abfb666d5
Author: Steven Toth <stoth at hauppauge.com>
Date: Mon Jun 30 20:54:34 2008 -0300
V4L/DVB (8467): cx23885: Minor cleanup to the debuging output for a specific register.
Don't display the register when it's not appropriate for the specific port.
Signed-off-by: Steven Toth <stoth at hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 52ce27bfc4d302a3e28267a5820a8b031ceccee9
Author: Steven Toth <stoth at hauppauge.com>
Date: Sat Jun 28 00:58:35 2008 -0300
V4L/DVB (8466): cx23885: Bugfix - DVB Transport cards using DVB port VIDB/TS1 did not stream.
Certain DVB cards that have demodulators on TS1/VIDB were not streaming packets.
This ensure the pin directions on PAD_CTRL are set correctly, solving the issue.
Signed-off-by: Steven Toth <stoth at hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit ecda5966c90746a044ff68e78b1062adcddd9664
Author: Steven Toth <stoth at hauppauge.com>
Date: Sat Jun 28 00:52:45 2008 -0300
V4L/DVB (8465): cx23885: Ensure PAD_CTRL is always reset to a sensible default
PAD_CTRL controls TS1 and TS2 input and output states, if the register
became corrupt the driver was never able to recover.
Signed-off-by: Steven Toth <stoth at hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 28901ab621bb56cd2aa9670dc7ce016ba80ec45c
Author: Steven Toth <stoth at hauppauge.com>
Date: Sat Jun 28 00:48:18 2008 -0300
V4L/DVB (8464): cx23885: Bugfix for concurrent use of /dev/video0 and /dev/video1
With the HVR1800, trying to use video0 and video1 simultaneously caused
buffer corruption in the PCIe bridge. This fix reallocates video1
buffer locations to avoid the issue.
Signed-off-by: Steven Toth <stoth at hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 35f92b2af8230ffc1146e2317e2068fefd7caacb
Author: Andy Walls <awalls at radix.net>
Date: Fri Jul 25 15:03:08 2008 -0300
V4L/DVB (8462): cx18: Lock the aux PLL to the video pixle rate for analog captures
cx18: Lock the aux PLL to the video pixel rate for analog captures. The
datasheet for the CX25840 says this is important for MPEG encoding applications.
To ensure the PLL locking was correct, also fixed the aux PLL's multiplier to
be computed based on a precise crystal freq of 4.5 MHz/286 * 455/2 * 8 =
28636363.6363... instead of the imporperly rounded 28636363.
Signed-off-by: Andy Walls <awalls at radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit f8f6296adad30cadd65555dfde489d1080b2001c
Author: Andy Walls <awalls at radix.net>
Date: Wed Jul 23 20:28:23 2008 -0300
V4L/DVB (8461): cx18: Fix 32 kHz audio sample output rate for analog tuner SIF input
cx18: Fix 32 kHz audio sample output rate for analog tuner SIF input so it
works. The AUX_PLL VCO was being operated at 196.6 MHz out of the spec'ed
200-600 MHz range. Fixed the multipler and post dividers to operate the VCO
within specification and added comments on how magic numbers are derived.
Thanks to Hans Verkuil for pointing out this interesting problem to solve.
Signed-off-by: Andy Walls <awalls at radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit fff4205f1d64163132609942314e94ec3ba2ed6b
Author: Hans de Goede <j.w.r.degoede at hhs.nl>
Date: Wed Jul 23 07:04:39 2008 -0300
V4L/DVB (8458): gspca_sonixb remove one more no longer needed special case from the code
gspca_sonixb remove one more no longer needed special case from the code
Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 84754319e30a25626f6bf0d84efc7935ba1d0b3d
Author: Andoni Zubimendi <andoni.zubimendi at gmail.com>
Date: Tue Jul 22 08:39:24 2008 -0300
V4L/DVB (8457): gspca_sonixb remove some no longer needed sn9c103+ov7630 special cases
gspca_sonixb remove some no longer needed sn9c103+ov7630 special cases
Signed-off-by: Andoni Zubimendi <andoni.zubimendi at gmail.com>
Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit e0a33d4d6e028bf40a18069c00884671be75c6b4
Author: Hans de Goede <j.w.r.degoede at hhs.nl>
Date: Tue Jul 22 07:13:21 2008 -0300
V4L/DVB (8456): gspca_sonixb remove non working ovXXXX contrast, hue and saturation ctrls
gspca_sonixb remove non working ovXXXX contrast, hue and saturation ctrls
Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 6af492e56648e786e0dfb84d538fb7f9ecc02504
Author: Hans de Goede <j.w.r.degoede at hhs.nl>
Date: Tue Jul 22 07:09:33 2008 -0300
V4L/DVB (8455): gspca_sonixb sn9c103 + ov7630 autoexposure and cleanup
Andoni Zubimendi has been doing some testing with his sn9c103 cam with
ov7630 sensor, and with this patch the exposure setting and autoexposure now
work.
This patch also removes some special cases in the shared ov6650 / ov7630 code
which now are handled the same for both sensors and it adds a new special case
which stops us from changing the hsync / vsync polarity settings from their
default on the ov7630 (which we were doing as a side-effect of using the ov6650
exposure code for the ov7630).
Last this patch removes the superficial difference between the OV7630 and
OV7630_3 sensors.
Signed-off-by: Andoni Zubimendi <andoni.zubimendi at gmail.com>
Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit c5e0bd1a982ee449b3598600f85895dc3bc8c13f
Author: Adrian Bunk <bunk at kernel.org>
Date: Mon Jul 21 23:17:36 2008 -0300
V4L/DVB (8453): sms1xxx: dvb/siano/: cleanups
This patch contains the following cleanups:
- mark smscore_module_init() as __init
- mark smscore_module_exit as __exit
- make the following needlessly global code static:
- smscoreapi.c: struct g_smscore_notifyees
- smscoreapi.c: struct g_smscore_devices
- smscoreapi.c: struct g_smscore_deviceslock
- smscoreapi.c: struct g_smscore_registry
- smscoreapi.c: struct g_smscore_registrylock
- smscoreapi.c: smscore_module_init()
- smscoreapi.c: smscore_module_exit()
- smsdvb.c: struct g_smsdvb_clients
- smsdvb.c: struct g_smsdvb_clientslock
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 4ef584ba84125b67c17b5aded38e7783cd8cdef0
Author: Russell King <rmk at dyn-67.arm.linux.org.uk>
Date: Sat Jul 26 15:46:39 2008 +0100
[ARM] fix nwflash.c: 6ee8928d94841aa764aeaf645ad16daff811dc26
drivers/char/nwflash.c: In function 'flash_read':
drivers/char/nwflash.c:129: error: 'p' undeclared (first use in this function)
drivers/char/nwflash.c:129: error: (Each undeclared identifier is reported only once
drivers/char/nwflash.c:129: error: for each function it appears in.)
drivers/char/nwflash.c:129: error: 'count' undeclared (first use in this function)
drivers/char/nwflash.c:136: warning: passing argument 4 of 'simple_read_from_buffer' discards qualifiers from pointer target type
Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
commit 5a7a201c51c324876d00a54e7208af6af12d1ca4
Author: Ingo Molnar <mingo at elte.hu>
Date: Sat Jul 26 16:50:47 2008 +0200
cpumask: export cpumask_of_cpu_map
fix:
ERROR: "cpumask_of_cpu_map" [drivers/acpi/processor.ko] undefined!
ERROR: "cpumask_of_cpu_map" [arch/x86/kernel/microcode.ko] undefined!
ERROR: "cpumask_of_cpu_map" [arch/x86/kernel/cpu/cpufreq/speedstep-ich.ko] undefined!
ERROR: "cpumask_of_cpu_map" [arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko] undefined!
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit bb2b180ca0469a51256d5ad62008b495345ad61f
Author: Russell King <rmk at dyn-67.arm.linux.org.uk>
Date: Sat Jul 26 15:36:03 2008 +0100
[ARM] fix IOP32x, IOP33x, MXC and Samsung builds
7444a72effa632fcd8edc566f880d96fe213c73b caused these platforms to lose
their GPIOLIB configuration. Convert the missed Kconfig symbols using:
sed -i s/HAVE_GPIO_LIB/ARCH_REQUIRE_GPIOLIB/ arch/arm/Kconfig arch/arm/plat-s3c24xx/Kconfig
Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
commit 0bc3cc03fa6e1c20aecb5a33356bcaae410640b9
Author: Mike Travis <travis at sgi.com>
Date: Thu Jul 24 18:21:31 2008 -0700
cpumask: change cpumask_of_cpu_ptr to use new cpumask_of_cpu
* Replace previous instances of the cpumask_of_cpu_ptr* macros
with a the new (lvalue capable) generic cpumask_of_cpu().
Signed-off-by: Mike Travis <travis at sgi.com>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: Jack Steiner <steiner at sgi.com>
Cc: Rusty Russell <rusty at rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 6524d938b3360504b43a1278b5a8403e85383d1a
Author: Mike Travis <travis at sgi.com>
Date: Thu Jul 24 18:21:30 2008 -0700
cpumask: put cpumask_of_cpu_map in the initdata section
* Create the cpumask_of_cpu_map statically in the init data section
using NR_CPUS but replace it during boot up with one sized by
nr_cpu_ids (num possible cpus).
Signed-off-by: Mike Travis <travis at sgi.com>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: Jack Steiner <steiner at sgi.com>
Cc: Rusty Russell <rusty at rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit b8d317d10cca76cabe6b03ebfeb23cc99118b731
Author: Mike Travis <travis at sgi.com>
Date: Thu Jul 24 18:21:29 2008 -0700
cpumask: make cpumask_of_cpu_map generic
If an arch doesn't define cpumask_of_cpu_map, create a generic
statically-initialized one for them. This allows removal of the buggy
cpumask_of_cpu() macro (&cpumask_of_cpu() gives address of
out-of-scope var).
An arch with NR_CPUS of 4096 probably wants to allocate this itself
based on the actual number of CPUs, since otherwise they're using 2MB
of rodata (1024 cpus means 128k). That's what
CONFIG_HAVE_CPUMASK_OF_CPU_MAP is for (only x86/64 does so at the
moment).
In future as we support more CPUs, we'll need to resort to a
get_cpu_map()/put_cpu_map() allocation scheme.
Signed-off-by: Mike Travis <travis at sgi.com>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: Jack Steiner <steiner at sgi.com>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit dd438e77f01d024919a8ae81d0cf2e4c6cda79cc
Author: Russell King <rmk at dyn-67.arm.linux.org.uk>
Date: Fri Jul 25 20:55:52 2008 +0100
[ARM] pci: provide dummy pci_get_legacy_ide_irq()
This fixes footbridge_defconfig:
drivers/pnp/resource.c: In function 'pci_dev_uses_irq':
drivers/pnp/resource.c:317: error: implicit declaration of function 'pci_get_legacy_ide_irq'
Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
commit 0c65f459ce6c8bd873a61b3ae1e57858ab1debf3
Author: Andrew Morton <akpm at linux-foundation.org>
Date: Wed Jul 23 15:35:22 2008 -0700
[ARM] fix fls() for 64-bit arguments
arm's fls() is implemented as a macro, causing it to misbehave when passed
64-bit arguments. Fix.
Cc: Nickolay Vinogradov <nickolay at protei.ru>
Tested-by: Krzysztof Halasa <khc at pm.waw.pl>
Cc: <stable at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
commit 9d9fa83beadf0a0c0ee2cd45be6e4a25cb536b67
Author: Russell King <rmk at dyn-67.arm.linux.org.uk>
Date: Thu Jul 24 11:18:07 2008 +0100
[ARM] fix mode for board-yl-9200.c
Xose Vazquez Perez points out that this file should not be marked
executable.
Reported-by: Xose Vazquez Perez <xose.vazquez at gmail.com>
Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
commit e6bb83fd2f39eff3ae3e5ad6cac91d154d7ef3b1
Author: Adrian Bunk <bunk at kernel.org>
Date: Sat Jul 19 17:52:59 2008 +0100
[ARM] 5176/1: arm/Makefile: fix: ARM946T -> ARM946E
This patch fixes a typo introduced by
commit f37f46eb1c0bd0b11c34ef06c7365658be989d80
([ARM] nommu: add ARM946E-S core support).
Reported-by: Robert P. J. Day <rpjday at crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: Hyok S. Choi <hyok.choi at samsung.com>
Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
commit 3a61ec387c9092dfc91a5959145d36835a72fc4c
Author: Joerg Roedel <joerg.roedel at amd.com>
Date: Fri Jul 25 13:07:50 2008 +0200
x86, AMD IOMMU: include amd_iommu_last_bdf in device initialization
All the values read while searching for amd_iommu_last_bdf are defined as
inclusive. Let the code handle this value as such. Found by Wei Wang. Thanks
Wei.
Signed-off-by: Joerg Roedel <joerg.roedel at amd.com>
Cc: iommu at lists.linux-foundation.org
Cc: bhavna.sarathy at amd.com
Cc: robert.richter at amd.com
Cc: Wei Wang <wei.wang2 at amd.com>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 87e39ea5714dd59ba31e36c25833d2b20255a29d
Author: Joerg Roedel <joerg.roedel at amd.com>
Date: Fri Jul 25 14:58:00 2008 +0200
x86 gart: replace to_pages macro with iommu_num_pages
This patch removes the to_pages macro from x86 GART code and calls the generic
iommu_num_pages function instead.
Signed-off-by: Joerg Roedel <joerg.roedel at amd.com>
Cc: iommu at lists.linux-foundation.org
Cc: bhavna.sarathy at amd.com
Cc: robert.richter at amd.com
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit a8132e5fe2c4f3f780b8bd3cce7851640f79f1c7
Author: Joerg Roedel <joerg.roedel at amd.com>
Date: Fri Jul 25 14:57:59 2008 +0200
x86, AMD IOMMU: replace to_pages macro with iommu_num_pages
This patch removes the to_pages macro from AMD IOMMU code and calls the generic
iommu_num_pages function instead.
Signed-off-by: Joerg Roedel <joerg.roedel at amd.com>
Cc: iommu at lists.linux-foundation.org
Cc: bhavna.sarathy at amd.com
Cc: robert.richter at amd.com
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 3bc9f79ee1ddc913be0a6d3592036683ef8a3148
Author: Joerg Roedel <joerg.roedel at amd.com>
Date: Fri Jul 25 14:57:58 2008 +0200
iommu: add iommu_num_pages helper function
Calculating the number of pages from given address and length numbers is a task
required in multiple IOMMU implementations. So implement this as a generic
function into the IOMMU helper code.
Signed-off-by: Joerg Roedel <joerg.roedel at amd.com>
Cc: iommu at lists.linux-foundation.org
Cc: bhavna.sarathy at amd.com
Cc: robert.richter at amd.com
Cc: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 1fe371044b21b226b96a9dd959e971b50b28c78e
Author: Ingo Molnar <mingo at elte.hu>
Date: Sat Jul 26 15:09:47 2008 +0200
ftrace: fix modular build
fix:
ERROR: "start_critical_timings" [drivers/acpi/processor.ko] undefined!
ERROR: "stop_critical_timings" [drivers/acpi/processor.ko] undefined!
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 1ca9fda4b2f3413e4bc748b983f5585629ca0560
Author: Chris McDermott <lcm at linux.vnet.ibm.com>
Date: Thu Jul 24 19:06:09 2008 -0700
x86: fix IBM Summit based systems' phys_cpu_present_map on 32-bit kernels
x86 kernels on IBM Summit based systems will only online 1 CPU because the
phys_cpu_present_map is not set up correctly. Patch below applied to
2.6.26-git10.
Signed-off-by: Chris McDermott <lcm at linux.vnet.ibm.com>
Tested-by: Tim Pepper <lnxninga at linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 071375bc76ee86e58592f4682030c81d410ddfd9
Author: Ingo Molnar <mingo at elte.hu>
Date: Sat Jul 26 14:52:26 2008 +0200
x86, RDC321x: remove gpio.h complications
Remove the include/asm-x86/gpio.h specials, just use the generic
version.
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit dcf309974555d17019c6a8e1a425238f17990b71
Author: Steven Rostedt <rostedt at goodmis.org>
Date: Fri Jul 25 18:00:42 2008 -0400
ftrace: disable tracing on acpi idle calls
The acpi idle waits calls local_irq_save and then uses mwait to go into
idle. The tracer gets reenabled at local_irq_save but does not detect that
the idle allows for wake ups.
This patch adds code to disable the tracing when acpi puts the CPU to idle.
Signed-off-by: Steven Rostedt <srostedt at redhat.com>
Cc: Peter Zijlstra <peterz at infradead.org>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 1f972768a1df1518f45adb6b8ffbf04fa1c99737
Author: Ingo Molnar <mingo at elte.hu>
Date: Sat Jul 26 13:52:50 2008 +0200
x86, RDC321x: add to mach-default
first step to add RDC321x support to the default PC architecture.
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 2d2009806dd843f3adc0cbbb5d2204980f28111a
Author: Robin Getz <rgetz at blackfin.uclinux.org>
Date: Sat Jul 26 19:41:40 2008 +0800
Blackfin arch: If we double fault, rather than hang forever, reset
Signed-off-by: Robin Getz <rgetz at blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 9de3a0b6979a4839d67ca840e386ea06acaabe39
Author: Robin Getz <rgetz at blackfin.uclinux.org>
Date: Sat Jul 26 19:39:19 2008 +0800
Blackfin arch: When icache is off, make sure people know it
Signed-off-by: Robin Getz <rgetz at blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 860239c56bbc7c830bdbcec93b140f22a5a5219b
Author: Wei Yongjun <yjwei at cn.fujitsu.com>
Date: Sat Jul 26 11:59:11 2008 +0100
dccp: Add check for truncated ICMPv6 DCCP error packets
This patch adds a minimum-length check for ICMPv6 packets, as per the previous
patch for ICMPv4 payloads.
Signed-off-by: Wei Yongjun <yjwei at cn.fujitsu.com>
Signed-off-by: Gerrit Renker <gerrit at erg.abdn.ac.uk>
commit 18e1d836002ad970f42736bad09b7be9cfe99545
Author: Wei Yongjun <yjwei at cn.fujitsu.com>
Date: Sat Jul 26 11:59:10 2008 +0100
dccp: Fix incorrect length check for ICMPv4 packets
Unlike TCP, which only needs 8 octets of original packet data, DCCP requires
minimally 12 or 16 bytes for ICMP-payload sequence number checks.
This patch replaces the insufficient length constant of 8 with a two-stage
test, making sure that 12 bytes are available, before computing the basic
header length required for sequence number checks.
Signed-off-by: Wei Yongjun <yjwei at cn.fujitsu.com>
Signed-off-by: Gerrit Renker <gerrit at erg.abdn.ac.uk>
commit e0bcfb0c6a6ed9ebd68746b306298dc5797fd426
Author: Wei Yongjun <yjwei at cn.fujitsu.com>
Date: Sat Jul 26 11:59:10 2008 +0100
dccp: Add check for sequence number in ICMPv6 message
This adds a sequence number check for ICMPv6 DCCP error packets, in the same
manner as it has been done for ICMPv4 in the previous patch.
Signed-off-by: Wei Yongjun <yjwei at cn.fujitsu.com>
Acked-by: Gerrit Renker <gerrit at erg.abdn.ac.uk>
commit d68f0866f76e2bc4ddc07e88e2cb1bc8959a6d7e
Author: Wei Yongjun <yjwei at cn.fujitsu.com>
Date: Sat Jul 26 11:59:10 2008 +0100
dccp: Fix sequence number check for ICMPv4 packets
The payload of ICMP message is a part of the packet sent by ourself,
so the sequence number check must use AWL and AWH, not SWL and SWH.
For example:
Endpoint A Endpoint B
DATA-ACK -------->
(SEQ=X)
<-------- ICMP (Fragmentation Needed)
(SEQ=X)
Signed-off-by: Wei Yongjun <yjwei at cn.fujitsu.com>
Acked-by: Gerrit Renker <gerrit at erg.abdn.ac.uk>
commit 73f18fdbca3f92b90aeaee16f5175fe30496e218
Author: Gerrit Renker <gerrit at erg.abdn.ac.uk>
Date: Sat Jul 26 11:59:10 2008 +0100
dccp: Bug-Fix - AWL was never updated
The AWL lower Ack validity window advances in proportion to GSS, the greatest
sequence number sent. Updating AWL other than at connection setup (in the
DCCP-Request sent by dccp_v{4,6}_connect()) was missing in the DCCP code.
This bug lead to syslog messages such as
"kernel: dccp_check_seqno: DCCP: Step 6 failed for DATAACK packet, [...]
P.ackno exists or LAWL(82947089) <= P.ackno(82948208)
<= S.AWH(82948728), sending SYNC..."
The difference between AWL/AWH here is 1639 packets, while the expected value
(the Sequence Window) would have been 100 (the default). A closer look showed
that LAWL = AWL = 82947089 equalled the ISS on the Response.
The patch now updates AWL with each increase of GSS.
Further changes:
----------------
The patch also enforces more stringent checks on the ISS sequence number:
* AWL is initialised to ISS at connection setup and remains at this value;
* AWH is then always set to GSS (via dccp_update_gss());
* so on the first Request: AWL = AWH = ISS,
and on the n-th Request: AWL = ISS, AWH = ISS + n.
As a consequence, only Response packets that refer to Requests sent by this
host will pass, all others are discarded. This is the intention and in effect
implements the initial adjustments for AWL as specified in RFC 4340, 7.5.1.
Signed-off-by: Gerrit Renker <gerrit at erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald at jandi.co.nz>
commit 59435444a13ed52d3444c5df26b73d3086bcd57b
Author: Gerrit Renker <gerrit at erg.abdn.ac.uk>
Date: Sat Jul 26 11:59:09 2008 +0100
dccp: Allow to distinguish original and retransmitted packets
This patch allows the sender to distinguish original and retransmitted packets,
which is in particular needed for the retransmission of DCCP-Requests:
* the first Request uses ISS (generated in net/dccp/ip*.c), and sets GSS = ISS;
* all retransmitted Requests use GSS' = GSS + 1, so that the n-th retransmitted
Request has sequence number ISS + n (mod 48).
To add generic support, the patch reorganises existing code so that:
* icsk_retransmits == 0 for the original packet and
* icsk_retransmits = n > 0 for the n-th retransmitted packet
at the time dccp_transmit_skb() is called, via dccp_retransmit_skb().
Thanks to Wei Yongjun for pointing this problem out.
Further changes:
----------------
* removed the `skb' argument from dccp_retransmit_skb(), since sk_send_head
is used for all retransmissions (the exception is client-Acks in PARTOPEN
state, but these do not use sk_send_head);
* since sk_send_head always contains the original skb (via dccp_entail()),
skb_cloned() never evaluated to true and thus pskb_copy() was never used.
Signed-off-by: Gerrit Renker <gerrit at erg.abdn.ac.uk>
commit 0d1cdd7ab6e0e7ccaf9f3b1d2afa0ddeead23ccc
Author: Sonic Zhang <sonic.zhang at analog.com>
Date: Sat Jul 26 18:54:38 2008 +0800
Blackfin arch: Fix bug - skip single step in high priority interrupt handler instead of disabling all interrupts in single step debugging.
Skip single step if event priority of current instruction is higher than
that of the first instruction, from which gdb starts single step.
Signed-off-by: Sonic Zhang <sonic.zhang at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 3a2521fa75359450f5ec7e6b76847f933b7ee680
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Sat Jul 26 18:52:56 2008 +0800
Blackfin arch: cache the values of vco/sclk/cclk as the overhead of doing so (~24 bytes) is worth avoiding the software mult/div routines
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 377d43e7d07fc9a64eb162c6f70e6d1961604629
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Sat Jul 26 18:28:03 2008 +0800
Blackfin arch: fix bug - IMDMA is not type struct dma_register
TEMP Workaround - avoid access to PERIPHERAL_MAP
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit b1b154e503a0e590eb9e189586783dc8750f910e
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Sat Jul 26 18:02:05 2008 +0800
Blackfin arch: check the EXTBANKS field of the DDRCTL1 register to see if we are using both memory banks
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit cdec7e50a4896c5197d5575d9ca635eea6825149
Author: David S. Miller <davem at davemloft.net>
Date: Sat Jul 26 02:28:09 2008 -0700
Revert "pkt_sched: sch_sfq: dump a real number of flows"
This reverts commit f867e6af94239a04ec23aeec2fcda5aa58e41db7.
Based upon discussions between Jarek and Patrick McHardy
this is field being set is more a config parameter than a
statistic. And we should add a true statistic to provide
this information if we really want it.
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 36ac26171afa8dbf29226199699fe955d4a0b6f6
Author: Ingo Molnar <mingo at elte.hu>
Date: Sat Jul 26 11:22:33 2008 +0200
crashdump: fix undefined reference to `elfcorehdr_addr'
fix build bug introduced by 95b68dec0d5 "calgary iommu: use the first
kernels TCE tables in kdump":
arch/x86/kernel/built-in.o: In function `calgary_iommu_init':
(.init.text+0x8399): undefined reference to `elfcorehdr_addr'
arch/x86/kernel/built-in.o: In function `calgary_iommu_init':
(.init.text+0x856c): undefined reference to `elfcorehdr_addr'
arch/x86/kernel/built-in.o: In function `detect_calgary':
(.init.text+0x8c68): undefined reference to `elfcorehdr_addr'
arch/x86/kernel/built-in.o: In function `detect_calgary':
(.init.text+0x8d0c): undefined reference to `elfcorehdr_addr'
make elfcorehdr_addr a generally available symbol.
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 88bef5a4074e0568cf54df410f41065c06694d8a
Merge: 054a3fd824705543322d787893de9f3755151517 024e8ac04453b3525448c31ef39848cf675ba6db
Author: Ingo Molnar <mingo at elte.hu>
Date: Sat Jul 26 11:26:19 2008 +0200
Merge branch 'linus' into x86/urgent
commit 509e2562adfd63964aa30c1ddd9ddf4e57949351
Author: Heiko Carstens <heiko.carstens at de.ibm.com>
Date: Sat Jul 26 02:24:10 2008 -0700
qeth: use dev->ml_priv instead of dev->priv
From: Heiko Carstens <heiko.carstens at de.ibm.com>
This makes qeth working again after git commit
e3c50d5d25ac09efd9acbe2b2a3e365466de84ed
"netdev: netdev_priv() can now be sane again.".
Signed-off-by: Heiko Carstens <heiko.carstens at de.ibm.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 16df845f4566bc252f3e09db12f5c2f22cb44226
Author: Florian Westphal <fw at strlen.de>
Date: Sat Jul 26 02:21:54 2008 -0700
syncookies: Make sure ECN is disabled
ecn_ok is not initialized when a connection is established by cookies.
The cookie syn-ack never sets ECN, so ecn_ok must be set to 0.
Spotted using ns-3/network simulation cradle simulator and valgrind.
Signed-off-by: Florian Westphal <fw at strlen.de>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 054a3fd824705543322d787893de9f3755151517
Author: Wang Chen <wangchen at cn.fujitsu.com>
Date: Fri Jul 25 15:44:33 2008 +0800
flag parameters: fix compile error of sys_epoll_create1
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
arch/x86/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x8a4): undefined reference to `sys_epoll_create1'
make: *** [vmlinux] Error 1
Signed-off-by: Wang Chen <wangchen at cn.fujitsu.com>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: Davide Libenzi <davidel at xmailserver.org>
Cc: Ulrich Drepper <drepper at redhat.com>
Cc: Linus Torvalds <torvalds at linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit ec34c702ca8b7d6f0aa54379c3b0d0ec10b8ff23
Author: Ilpo Järvinen <ilpo.jarvinen at helsinki.fi>
Date: Fri Jul 25 21:45:49 2008 -0700
net: drop unused BUG_TRAP()
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen at helsinki.fi>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 547b792cac0a038b9dbf958d3c120df3740b5572
Author: Ilpo Järvinen <ilpo.jarvinen at helsinki.fi>
Date: Fri Jul 25 21:43:18 2008 -0700
net: convert BUG_TRAP to generic WARN_ON
Removes legacy reinvent-the-wheel type thing. The generic
machinery integrates much better to automated debugging aids
such as kerneloops.org (and others), and is unambiguous due to
better naming. Non-intuively BUG_TRAP() is actually equal to
WARN_ON() rather than BUG_ON() though some might actually be
promoted to BUG_ON() but I left that to future.
I could make at least one BUILD_BUG_ON conversion.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen at helsinki.fi>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 53e5e96ec18da6f65e89f05674711e1c93d8df67
Author: Ilpo Järvinen <ilpo.jarvinen at helsinki.fi>
Date: Fri Jul 25 21:40:45 2008 -0700
drivers/net: convert BUG_TRAP to generic WARN_ON
Removes legacy reinvent-the-wheel type thing. The generic
machinery integrates much better to automated debugging aids
such as kerneloops.org (and others), and is unambiguous due to
better naming. Non-intuively BUG_TRAP() is actually equal to
WARN_ON() rather than BUG_ON().
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen at helsinki.fi>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 024e8ac04453b3525448c31ef39848cf675ba6db
Author: Roland McGrath <roland at redhat.com>
Date: Fri Jul 25 20:00:10 2008 -0700
x86_64: fix ia32 AMD syscall audit fast-path
The new code in commit 5cbf1565f29eb57a86a305b08836613508e294d7
has a bug in the version supporting the AMD 'syscall' instruction.
It clobbers the user's %ecx register value (with the %ebp value).
This change fixes it.
Signed-off-by: Roland McGrath <roland at redhat.com>
commit 284b01897340974000bcc84de87a4e1becc8a83d
Author: Grant Likely <grant.likely at secretlab.ca>
Date: Fri May 16 11:37:09 2008 -0600
spi: Add OF binding support for SPI busses
This patch adds support for populating an SPI bus based on data in the
OF device tree. This is useful for powerpc platforms which use the
device tree instead of discrete code for describing platform layout.
Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
commit dc87c98e8f635a718f1abb2c3e15fc77c0001651
Author: Grant Likely <grant.likely at secretlab.ca>
Date: Thu May 15 16:50:22 2008 -0600
spi: split up spi_new_device() to allow two stage registration.
spi_new_device() allocates and registers an spi device all in one swoop.
If the driver needs to add extra data to the spi_device before it is
registered, then this causes problems. This is needed for OF device
tree support so that the SPI device tree helper can add a pointer to
the device node after the device is allocated, but before the device
is registered. OF aware SPI devices can then retrieve data out of the
device node to populate a platform data structure.
This patch splits the allocation and registration portions of code out
of spi_new_device() and creates two new functions; spi_alloc_device()
and spi_register_device(). spi_new_device() is modified to use the new
functions for allocation and registration. None of the existing users
of spi_new_device() should be affected by this change.
Drivers using the new API can forego the use of spi_board_info
structure to describe the device layout and populate data into the
spi_device structure directly.
This change is in preparation for adding an OF device tree parser to
generate spi_devices based on data in the device tree.
Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
Acked-by: David Brownell <dbrownell at users.sourceforge.net>
commit 3f07af494dfa6de43137dae430431c9fbf929c0c
Author: Grant Likely <grant.likely at secretlab.ca>
Date: Fri Jul 25 22:25:13 2008 -0400
of: adapt of_find_i2c_driver() to be usable by SPI also
SPI has a similar problem as I2C in that it needs to determine an
appropriate modalias value for each device node. This patch adapts
the of_i2c of_find_i2c_driver() function to be usable by of_spi also.
Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
commit 1ff8419871ea757ae0298aa296bcff9b2ca48561
Merge: 8d25b36b77fe32c296ece83e94ca6ae4d17f3e25 7d7e5a60c62e88cb8782760bb6c4d3bd1577a6c6
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Jul 25 17:40:16 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
ipsec: ipcomp - Decompress into frags if necessary
ipsec: ipcomp - Merge IPComp implementations
pkt_sched: Fix locking in shutdown_scheduler_queue()
commit 8d25b36b77fe32c296ece83e94ca6ae4d17f3e25
Author: Adrian Bunk <bunk at kernel.org>
Date: Sat Jul 26 02:38:00 2008 +0300
MFD_TC6393XB is ARM-only
Compile error on other architectures:
CC drivers/mfd/tc6393xb.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/mfd/tc6393xb.c: In function âtc6393xb_attach_irqâ:
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/mfd/tc6393xb.c:324: error: implicit declaration of function âset_irq_flagsâ
...
Reported-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e89f38218ff6de09983bd8769ec0cdf6e70d9e8e
Merge: 7b35fa86e47f83db27056b202463d926ff0a2c8f fc532f810832beb3306b42526a78f411972281c7
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Jul 25 17:34:00 2008 -0700
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
powerpc: Fix boot problem due to AT_BASE_PLATFORM change
commit 7b35fa86e47f83db27056b202463d926ff0a2c8f
Merge: 29ca069cc6572cce62e42a27efdab01f50190616 f1373da87be917e5b2356af44764620487376a07
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Jul 25 17:33:34 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
sparc: Wire up new system calls.
commit 29ca069cc6572cce62e42a27efdab01f50190616
Merge: b4615e69b6c6353878b734a8202b65efbc554df4 3e4d0cab61c88a9ae3e61151a857960397e26403
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Jul 25 17:29:03 2008 -0700
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] Wire up new system calls
commit b4615e69b6c6353878b734a8202b65efbc554df4
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Fri Jul 25 13:19:22 2008 -0700
sys_paccept definition missing __user annotation
Introduced by commit aaca0bdca573f3f51ea03139f9c7289541e7bca3 ("flag
parameters: paccept"):
net/socket.c:1515:17: error: symbol 'sys_paccept' redeclared with different type (originally declared at include/linux/syscalls.h:413) - incompatible argument 4 (different address spaces)
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit fc532f810832beb3306b42526a78f411972281c7
Author: Nathan Lynch <ntl at pobox.com>
Date: Fri Jul 25 17:50:30 2008 -0500
powerpc: Fix boot problem due to AT_BASE_PLATFORM change
Commit 9115d13453dee22473a1e8cacc90a8d64a9c4bc9 ("powerpc: Enable
AT_BASE_PLATFORM aux vector") broke boot on 32-bit powerpc systems; we
have to use PTRRELOC to initialize powerpc_base_platform this early in
boot.
Bug reported by Jon Smirl.
Signed-off-by: Nathan Lynch <ntl at pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit f1373da87be917e5b2356af44764620487376a07
Author: David S. Miller <davem at davemloft.net>
Date: Fri Jul 25 15:18:31 2008 -0700
sparc: Wire up new system calls.
This wires up the recently added Wire up signalfd4, eventfd2,
epoll_create1, dup3, pipe2, and inotify_init1 system calls.
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 56b2f0706d82535fd8d85503f2dcc0be40c8e55d
Author: Sebastian Siewior <lkml at ml.breakpoint.cc>
Date: Wed Jul 2 00:18:08 2008 +0200
setlocalversion: do not describe if there is nothing to describe
Jan Engelhardt wrote:
> Just a note that when you run git-describe, you should probably quiten it.
>
> fatal: cannot describe 'bd7364a0fd5a4a2878fe4a224be1b142a4e6698e'
>
> This happens when tags are not present, which can happen if Linus's tree
> is sent upwards again, IOW:
>
> machine1$ git-clone torvalds/linux-2.6.git
> machine1$ git push elsewhere master
>
> machine2$ git-clone elsewhere:/linux
> machine2$ git-describe HEAD
> fatal: cannot describe that
Signed-off-by: Sebastian Siewior <sebastian at breakpoint.cc>
Acked-by: Jan Engelhardt <jengelh at medozas.de>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 12d2b8f951063076c7e0acdff7ae1fecd54920a0
Author: Heikki Orsila <heikki.orsila at iki.fi>
Date: Sun Jul 6 15:48:02 2008 +0300
kconfig: fix typos: "Suport" -> "Support"
Signed-off-by: Heikki Orsila <heikki.orsila at iki.fi>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 09748e178b6cb8d3b8a748d0159aa7ad8eadcbe1
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Mon Jun 30 23:02:59 2008 +0200
kconfig: make defconfig is no longer chatty
make defconfig generated a lot of output
then noone actually read.
Use conf_set_all_new_symbols() to generate the default
configuration and avoid the chatty output.
A typical run now looks like this:
$ make defconfig
*** Default configuration is based on 'i386_defconfig'
arch/x86/configs/i386_defconfig:13:warning: trying to assign nonexistent symbol SEMAPHORE_SLEEPERS
arch/x86/configs/i386_defconfig:176:warning: trying to assign nonexistent symbol PREEMPT_BKL
...
arch/x86/configs/i386_defconfig:1386:warning: trying to assign nonexistent symbol INSTRUMENTATION
$
As an added benefit we now clearly see the warnings generated
in the start of the process.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Cc: Roman Zippel <zippel at linux-m68k.org>
commit cd9140e1e73a31fd45f1fd4585260643a2f9ab1d
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Mon Jun 30 22:53:04 2008 +0200
kconfig: make oldconfig is now less chatty
Previously when running "make oldconfig" we saw all the propmt lines
from kconfig and noone actully read this.
With this patch the user will only see output if there is new symbols.
This will be seen as "make oldconfig" runs which does not generate any output.
A typical run now looks like this:
$ make oldconfig
scripts/kconfig/conf -o arch/x86/Kconfig
$
If a new symbol is found then we restart the config process like this:
$ make oldconfig
scripts/kconfig/conf -o arch/x86/Kconfig
*
* Restart config...
*
*
* General setup
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
Local version - append to kernel release (LOCALVERSION) []
...
The bahaviour is similar to what we know when running the implicit
oldconfig target "make silentoldconfig".
"make silentoldconfig" are run as part of the kernel build process
if the configuration has changed.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Cc: Roman Zippel <zippel at linux-m68k.org>
commit f443d2eccf077afd8a839cc7ed66cc4d520c5f05
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Mon Jun 30 22:45:38 2008 +0200
kconfig: speed up all*config + randconfig
Drop the chatty mode when we generate the all*config, randconfig
configurations.
Ths speeds up the process considerably and noone looked
at the output anyway.
This patch uses the conf_set_all_new_symbols() function
just added to kconfig.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Cc: Roman Zippel <zippel at linux-m68k.org>
commit dc7862e5a65b9b9e0aad448398b4f652c49c9350
Author: Roman Zippel <zippel at linux-m68k.org>
Date: Tue May 6 04:55:55 2008 +0200
kconfig: set all new symbols automatically
Add conf_set_all_new_symbols() which set all symbols (which don't have a
value yet) to a specifed value.
Signed-off-by: Roman Zippel <zippel at linux-m68k.org>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit a717417e7f96ad2c6c3d80cdd0836e49597399a3
Author: Tim Bird <tim.bird at am.sony.com>
Date: Tue Jun 24 10:56:06 2008 -0700
kconfig: add diffconfig utility
Diffconfig is a simple utility for comparing two kernel configuration files.
See usage in the script for more info.
Signed-off-by: Tim Bird <tim.bird at am.sony.com>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit c28ca3aaa1f08877ac0da7efcfead71a08490d65
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Mon Jun 23 04:05:40 2008 +0400
kbuild: remove Module.markers during mrproper
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit a887a07d51be6c7cd2c4c373cd17273158d6a85d
Author: Geert Uytterhoeven <Geert.Uytterhoeven at sonycom.com>
Date: Fri Jun 20 15:45:12 2008 +0200
kbuild: sparse needs CF not CHECKFLAGS
Documentation/sparse.txt tells to use:
make C=2 CHECKFLAGS="-D__CHECK_ENDIAN__"
However, this still doesn't enable endian checks. The correct syntax is:
make C=2 CF="-D__CHECK_ENDIAN__"
This documentation bug was introduced by the following commit:
commit 1c7bafe7206d928eaccbcbd08d868733e0fb7054
Author: Robert P. J. Day <rpjday at mindspring.com>
Date: Wed Sep 13 07:57:50 2006 -0400
kbuild: clarify "make C=" build option
Clarify the use of "make C=" in the top-level Makefile, and fix a
typo in the Documentation file.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
This `typo' was not a typo, as `CF' had been introduced much earlier, by:
commit 7b49bb9aff8b14d15da58111d8908c877c0a525e
Author: viro at ZenIV.linux.org.uk <viro at ZenIV.linux.org.uk>
Date: Fri Sep 9 21:14:35 2005 +0100
[PATCH] kbuild: CF=<arguments> passes arguments to sparse
Allows to add to sparse arguments without mutilating makefiles - just
pass CF=<arguments> and they will be added to CHECKFLAGS.
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven at sonycom.com>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 74fc5c653c5d0f9d4d70499709a68e61c4acf991
Author: Randy Dunlap <randy.dunlap at oracle.com>
Date: Thu Jun 19 16:03:29 2008 -0700
kernel-doc: handle/strip __init
Handle __init in functions with kernel-doc notation by stripping the
__init away from the output doc. This is already being done for
"__devinit". This patch fixes these kernel-doc error/aborts:
Error(linux-next-20080619//drivers/usb/gadget/config.c:132): cannot understand prototype: 'struct usb_descriptor_header **__init usb_copy_descriptors(struct usb_descriptor_header **src) '
Error(linux-next-20080619//drivers/usb/gadget/config.c:182): cannot understand prototype: 'struct usb_endpoint_descriptor *__init usb_find_endpoint( struct usb_descriptor_header **src, struct usb_descriptor_header **copy, struct usb_endpoint_descriptor *match ) '
Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
Cc: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit fb5e2b379732e1a6ea32392980bb42e0212db842
Author: Jan Beulich <jbeulich at novell.com>
Date: Wed Jun 18 12:36:01 2008 +0100
vmlinux.lds: move __attribute__((__cold__)) functions back into final .text section
Due to the addition of __attribute__((__cold__)) to a few symbols
without adjusting the linker scripts, those symbols currently may end
up outside the [_stext,_etext) range, as they get placed in
.text.unlikely by (at least) gcc 4.3.0. This may confuse code not only
outside of the kernel, symbol_put_addr()'s BUG() could also trigger.
Hence we need to add .text.unlikely (and for future uses of
__attribute__((__hot__)) also .text.hot) to the TEXT_TEXT() macro.
Issue observed by Lukas Lipavsky.
Signed-off-by: Jan Beulich <jbeulich at novell.com>
Tested-by: Lukas Lipavsky <llipavsky at suse.cz>
Cc: <stable at kernel.org>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 37a4c940749670671adab211a2d9c9fed9f3f757
Author: S.ÃaÄlar Onur <caglar at pardus.org.tr>
Date: Wed Jun 18 11:45:13 2008 +0300
init: fix URL of "The GNU Accounting Utilities"
Following patch corrects URL of "The GNU Accounting Utilities" in init/Kconfig.
Noticed by: Bart Van Assche" <bart.vanassche at gmail.com>
Signed-off-by: S.ÃaÄlar Onur <caglar at pardus.org.tr>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 5e4786f75d885dd1a5f9fe12f3385ece7656b0c9
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Sun Jun 22 21:48:26 2008 +0200
kbuild: add arch/$ARCH/include to search path
This patch conclude the support for
arch/$ARCH/include
Note: The individual architectures will most likely require
a few minor patches to support locating header files in
arch/$ARCH/include
Testing shows that it worked out-of-the-box for sparc.
x86 required a few trivial changes in the arch
specific Makefile and a few include paths had to be adjusted.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 2e57d051160dd61776461637f767df19036b1186
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Sun Jun 22 21:42:06 2008 +0200
kbuild: asm symlink support for arch/$ARCH/include
Adjust the asm symlink support so we do not create the
symlink unless really needed.
We check the precense of include/asm-$ARCH by checking
for the system.h file. We may end up with a stale directory
so it is not enough to check if the directory is present.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit a53ce098a763a33311b60c53161572f5789d5594
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Sun Jun 22 21:41:13 2008 +0200
kbuild: support arch/$ARCH/include for tags, cscope
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 2fb9b1bd9dd7f4455407dc1bec74fb8ae0d3138e
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Sat Jun 21 00:24:17 2008 +0200
kbuild: prepare headers_* for arch/$ARCH/include
Factor out the headers_*_all support to a seperate
shell script and add support for arch specific
header files can be located in either
arch/$ARCH/include/asm
or
include/asm-$ARCH/
In "make help" always display the headers_* targets.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit db1bec4f5271d7799d481cd4d95fdc268bdd7614
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Mon Jun 16 21:29:38 2008 +0200
kbuild: install all headers when arch is changed
We see some header files that are selected dependent on
the actual architecture so force a reinstallation
of all header files when the arch changes.
This slows down "make headers_check_all" but then
we better reflect reality.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 6b36ab27d7161bc233e014ff38d8b17ae9975dee
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Sat Jun 7 01:47:09 2008 +0400
kbuild: make clean removes *.o.* as well
Those are left presumably from aborted ccache(1) compilations:
arch/x86/kernel/.tmp_io_apic_64.o.T5veul
arch/x86/kvm/.tmp_x86.o.SZWn69
arch/x86/mm/.tmp_pgtable.o.sL1LTf
drivers/ieee1394/.tmp_ieee1394_transactions.o.bUj6o1
drivers/infiniband/hw/mlx4/.tmp_main.o.vy0ep6
BTW, with git there is nice way to check for such nuisainces:
make mrproper
git-ls-files -o
should give empty output.
More precise wildcard spec from: Jan Engelhardt <jengelh at medozas.de>
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Cc: Jan Engelhardt <jengelh at medozas.de>
commit 7712401ae9006fc9d9b9a3e7861dc73781429a89
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Sun Jun 15 21:41:09 2008 +0200
kbuild: optimize headers_* targets
Move the core functionality of headers_install
and headers_check to two small perl scripts.
The makefile is adapted to use the perl scrip and
changed to operate on all files in a directory.
So if one file is changed then all files in the
directory is processed.
perl were chosen for the helper scripts because this
is pure text processing which perl is good at and
especially the headers_check.pl script are expected to
see changes / new checks implmented.
The speed is ~300% faster on this box.
And the output generated to the screen is now down to
two lines per directory (one for install, one for check)
so it is easier to scroll back after a kernel build.
The perl scripts has been brought to sanity by patient
feedback from: Vegard Nossum <vegard.nossum at gmail.com>
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 88181ec30f58a28cd78b26aaac38bef4062b23dc
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Mon Jun 9 21:24:28 2008 +0200
kbuild: only one call for include/ in make headers_*
Move it to the top-level file to decide if we install/check
the generic headers or the arch specific headers.
This revealed a long standing bug where "make headers_check_all"
relied on the files in asm/ for the current architecture.
So make headers_check_all is now broken by this commit.
In addition:
o add a simpler way to detect if an arch support
exporting header files.
o add 'set -e;' so we error out early if
make headers_check_all fails.
o add sparc64 and cris to arch we do not process
in make headers_*_all because:
sparc64 - use sparc to export headers
cris - is know seriously broken
Includes suggestions from: David Woodhouse
<dwmw2 at infradead.org>.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Cc: David Woodhouse <dwmw2 at infradead.org>
commit f6ecd4c84a279a7c82f45687a612302becd7b844
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Sun Jun 8 12:28:22 2008 +0200
kbuild: error out early in make headers_install
Fix the a.out.h case by setting SRCARCH and error
out early in case of an error.
The a.out.h case failed with the *_all targets.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 62284a37dcd6725921410fb75446d270cc726b4f
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Sat Jun 7 13:18:26 2008 +0200
kbuild: code refactoring in Makefile.headerinst
No functional changes just improved readability
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
commit 283039fb7ded6b863eacc9cfd67232297622e52d
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Thu Jun 5 19:19:47 2008 +0200
kbuild: drop support of ALTARCH for headers_*
ALTARCH is no longer used by any arch(*) so drop
support for this from Makefile.headerinst
Dropping ALTARCH support simplifies Makefile.headerinst
(*) sparc64 uses it but work is ongoing to drop it
and no furter usage is planned.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Cc: David Woodhouse <dwmw2 at infradead.org>
Cc: David Miller <davem at davemloft.net>
commit 4e420aa94c9e6974533797efd1dd93e779d490c3
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Thu Jun 5 16:52:15 2008 +0200
kbuild: always unifdef files in headers_install*
unifdef utility is fast enough to warrant that we always
run the scripts through unifdef.
This patch runs all headers listed with header-y and unifdef-y
through unifdef.
Next step is to drop unifdef-y in all Kbuild files and
that can now be done in smaller steps.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Cc: David Woodhouse <dwmw2 at infradead.org>
Cc: Adrian Bunk <bunk at kernel.org>
commit e6883b187920e71ae57bbc9c07885afdd83ddc4e
Author: Sam Ravnborg <sam at ravnborg.org>
Date: Thu Jun 5 16:43:46 2008 +0200
kbuild: refactor headers_* targets in Makefile
o Use lower case for local variables
o Add a helper target for common targets
o Use $(hdr-inst)= ... to make Make invocations simpler
o Add -rR to make invocations
In total this adds more lines than it removes but the
benefit is better readability
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Cc: David Woodhouse <dwmw2 at infradead.org>
commit 0b21bb49187a863e3fc3c4f3356baf03578a9d1a
Author: Kumar Gala <galak at kernel.crashing.org>
Date: Fri Jul 25 14:22:02 2008 -0500
powerpc: clean up the Book-E HW watchpoint support
* CONFIG_BOOKE is selected by CONFIG_44x so we dont need both
* Fixed a few comments
* Go back to only using DBCR0_IDM to determine if we are using
debug resources.
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
commit ff5d48a6d18d09bb750d1f89f6464f5fdb6fc85b
Merge: 762b8291be6944bd891fbe2c8976a2b2e5bbc726 a29ccf6f823a84d89e1c7aaaf221cf7282022024
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Jul 25 12:02:08 2008 -0700
Merge git://git.infradead.org/embedded-2.6
* git://git.infradead.org/embedded-2.6:
Make console charset translation optional
commit 762b8291be6944bd891fbe2c8976a2b2e5bbc726
Merge: c6af5e9f8a57467df2e55e428316a43480174521 7dcf2a9fced59e58e4694cdcf15850c01fdba89b
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Jul 25 12:01:37 2008 -0700
Merge git://git.infradead.org/~dwmw2/random-2.6
* git://git.infradead.org/~dwmw2/random-2.6:
remove dummy asm/kvm.h files
firmware: create firmware binaries during 'make modules'.
commit c6af5e9f8a57467df2e55e428316a43480174521
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 15:48:04 2008 +0200
bootmem: Move node allocation macros back to !HAVE_ARCH_BOOTMEM_NODE
These got unintentionally moved, put them back as x86 provides its own
versions.
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7dcf2a9fced59e58e4694cdcf15850c01fdba89b
Author: Adrian Bunk <bunk at kernel.org>
Date: Tue Jul 1 19:27:16 2008 +0300
remove dummy asm/kvm.h files
This patch removes the dummy asm/kvm.h files on architectures not (yet)
supporting KVM and uses the same conditional headers installation as
already used for a.out.h .
Also removed are superfluous install rules in the s390 and x86 Kbuild
files (they are already in Kbuild.asm).
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: Sam Ravnborg <sam at ravnborg.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 9b81361631bbb1d85c99ddec677d42afe516737b
Author: Ingo Molnar <mingo at elte.hu>
Date: Fri Jul 25 13:02:37 2008 +0200
signalfd: fix undefined reference to `compat_sys_signalfd4' when !CONFIG_SIGNALFD
fix:
arch/x86/ia32/built-in.o: In function `ia32_sys_call_table':
(.rodata+0xa38): undefined reference to `compat_sys_signalfd4'
on !CONFIG_SIGNALFD.
Signed-off-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e44d1b2998d62a1f2f4d7eb17b56ba396535509f
Author: Ingo Molnar <mingo at elte.hu>
Date: Fri Jul 25 12:57:41 2008 +0200
mm/hugetlb.c: fix build failure with !CONFIG_SYSCTL
on !CONFIG_SYSCTL on x86 with latest -git i get:
mm/hugetlb.c: In function 'decrement_hugepage_resv_vma':
mm/hugetlb.c:83: error: 'reserve' undeclared (first use in this function)
mm/hugetlb.c:83: error: (Each undeclared identifier is reported only once
mm/hugetlb.c:83: error: for each function it appears in.)
Signed-off-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 44463f7dd6c8039904333e4374e5c6e9ad83006f
Author: David Woodhouse <David.Woodhouse at intel.com>
Date: Fri Jul 25 14:17:19 2008 -0400
firmware: create firmware binaries during 'make modules'.
This means that we no longer need write access to the source tree while
doing 'make modules_install'.
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit f05e21b39f7dddcebab03ff329fef5783fea58d4
Author: Stefan Richter <stefanr at s5r6.in-berlin.de>
Date: Fri Jul 25 16:24:19 2008 +0200
firewire: state userland requirements in Kconfig help
Signed-off-by: Stefan Richter <stefanr at s5r6.in-berlin.de>
commit c0220d686b926a5865a2032c805015758bfdda69
Author: Stefan Richter <stefanr at s5r6.in-berlin.de>
Date: Tue Jul 22 21:35:47 2008 +0200
firewire: avoid memleak after phy config transmit failure
Use only statically allocated data for PHY config packet transmission.
With the previous incarnation, some data wouldn't be freed if the packet
transmit callback was never called.
A theoretical drawback now is that, in PCs with more than one card,
card A may complete() for a waiter on card B. But this is highly
unlikely and its impact not serious. Bus manager B may reset bus B
before the PHY config went out, but the next phy config on B should be
fine. However, with a timeout of 100ms, this situation is close to
impossible.
Signed-off-by: Stefan Richter <stefanr at s5r6.in-berlin.de>
commit 51a379d0c8f7a6db7c9e3c9c770d90a6d2d1ef9b
Author: Jack Morgenstein <jackm at dev.mellanox.co.il>
Date: Fri Jul 25 10:32:52 2008 -0700
mlx4: Update/add Mellanox Technologies copyright lines to mlx4 driver files
Update existing Mellanox copyright lines to 2008, and add such lines
to files where they are missing.
Signed-off-by: Jack Morgenstein <jackm at dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd at cisco.com>
commit 25c94d010a8ae8605dc4d5453e0c82fa97da5d12
Author: Yevgeny Petrilin <yevgenyp at mellanox.co.il>
Date: Fri Jul 25 10:30:06 2008 -0700
mlx4_core: Add VLAN tag field to WQE control segment struct
Add fields for VLAN tag and insert VLAN tag flag to the control
section struct. These fields will be used for sending ethernet
packets.
Signed-off-by: Yevgeny Petrilin <yevgenyp at mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd at cisco.com>
commit 3e4d0cab61c88a9ae3e61151a857960397e26403
Author: Tony Luck <tony.luck at intel.com>
Date: Fri Jul 25 10:10:28 2008 -0700
[IA64] Wire up new system calls
Six new system calls: signalfd4, eventfd2, epoll_create1,
dup3, pipe2 and inotify_init1.
Signed-off-by: Tony Luck <tony.luck at intel.com>
commit 3d45955962496879dead8d4dd70bb9a23b07154b
Author: Alexey Korolev <akorolev at infradead.org>
Date: Thu May 15 17:23:18 2008 +0100
[MTD] [NAND] subpage read feature as a way to increase performance.
This patch enables NAND subpage read functionality.
If upper layer drivers are requesting to read non page aligned data NAND
subpage-read functionality reads the only whose ECC regions which include
requested data when original code reads whole page.
This significantly improves performance in many cases.
Here are some digits :
UBI volume mount time
No subpage reads: 5.75 seconds
Subpage read patch: 2.42 seconds
Open/stat time for files on JFFS2 volume:
No subpage read 0m 5.36s
Subpage read 0m 2.88s
Signed-off-by Alexey Korolev <akorolev at infradead.org>
Acked-by: Artem Bityutskiy <dedekind at infradead.org>
Acked-by: Jörn Engel <joern at logfs.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit ff877ea80efa2015b6263766f78ee42c2a1b32f9
Merge: 30821fee4f0cb3e6d241d9f7ddc37742212e3eb7 d37e6bf68fc1eb34a4ad21d9ae8890ed37ea80e7
Author: David Woodhouse <David.Woodhouse at intel.com>
Date: Fri Jul 25 10:40:14 2008 -0400
Merge branch 'linux-next' of git://git.infradead.org/~dedekind/ubi-2.6
commit 30821fee4f0cb3e6d241d9f7ddc37742212e3eb7
Author: Ben Dooks <ben-mtd at fluff.org>
Date: Tue Jul 15 11:58:31 2008 +0100
CPUFREQ: S3C24XX NAND driver frequency scaling support.
Add support for CPU frequency scalling to the S3C24XX NAND driver.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit ee39a0e61b8a307576b5e26057f8257444b5c9c1
Author: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>
Date: Tue Jul 15 23:04:35 2008 +0900
[MTD][NAND] au1550nd: remove unused variable
Remove unused variable from au1550 NAND driver.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit ca6f12c67ed19718cf37d0f531af9438de85b70c
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Wed Jul 16 00:09:15 2008 +0900
[MTD] jedec_probe: Fix SST 16-bit chip detection
The unlock_addr rework in kernel 2.6.25 breaks 16-bit SST chips. SST
39LF160 and SST 39VF1601 are both 16-bit only chip (do not have BYTE#
pin) and new uaddr value is not correct for them. Add
MTD_UADDR_0xAAAA_0x5555 for those chips. Tested with SST 39VF1601
chip.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit f636ffb420f0f9059c1d0b841afd691657246ad6
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Sat Jul 19 01:01:22 2008 +0900
[MTD][MTDPART] Fix a division by zero bug
When detecting a partition beyond the end of the device, skip most of
the initialisation, in particular those bits causing a division by zero.
Signed-off-by: Jörn Engel <joern at logfs.org>
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 6910c1368104d50e6b6afc6c8b7e9d1670a374e7
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Sat Jul 19 01:00:57 2008 +0900
[MTD][MTDPART] Cleanup and document the erase region handling
Mostly simplifying the loops. Now everything fits into 80 columns,
is easier to read and the finer details have extra comments.
Signed-off-by: Jörn Engel <joern at logfs.org>
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit b33a2887396a1a5207e56459f62c4b132294ca58
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Sat Jul 19 01:00:33 2008 +0900
[MTD][MTDPART] Handle most checkpatch findings
Remaining are 12 warnings about long lines and 1 about braces that
could be argued about.
Signed-off-by: Jörn Engel <joern at logfs.org>
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 7788ba71a6046de1b70e7dd45ed0bc5768a4bbd9
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date: Sat Jul 19 01:00:18 2008 +0900
[MTD][MTDPART] Seperate main loop from per-partition code in add_mtd_partition
add_mtd_partition was a 150+ line monster consisting mostly of a single
loop. Seperate the loop from most of the body. Now it should be
obvious which variables are carried around from iteration to iteration.
Signed-off-by: Jörn Engel <joern at logfs.org>
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 4b5e33a7bf185c8d8568a807d9805fb155bcedd9
Author: Uwe Kleine-König <Uwe.Kleine-Koenig at digi.com>
Date: Tue Jul 22 09:39:01 2008 +0200
[MTD] physmap: resume already suspended chips on failure to suspend
A nice side effect of this patch is that the return value of
physmap_flash_suspend in the error path is the value of the first failing
suspend callback and not the bitwise OR of all of them.
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig at digi.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 7b2491911540e4904498622fbee2e1a9e3120d2f
Author: Robert Jarzmik <rjarzmik at free.fr>
Date: Tue Jul 22 09:39:00 2008 +0200
[MTD] physmap: Fix suspend/resume/shutdown bugs.
Don't call suspend/resume functions if they have not been
defined.
Signed-off-by: Robert Jarzmik <rjarzmik at free.fr>
Acked-By: Jörn Engel <joern at logfs.org>
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig at digi.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 998453fbf2e0709bf65ac419718ad284401b2b4f
Author: Alexey Korolev <akorolev at infradead.org>
Date: Wed Jul 16 15:28:56 2008 +0100
[MTD] [NOR] Fix -ETIMEO errors in CFI driver
Existing CFI driver has problems with excessive writes during erase.
If CFI driver does many writes during one erase cycle we may face the
messages with -ETIMEO error on erase operation. It may cause the
following data corruption and kernel panics.
The reason of the issue is related to specifics of suspend operation:
if we write to flash during erase, suspend operation will cost some time
to erase procedure (for P30 it could be significant). In current version of
cfi driver the problem of many suspends is partially workarounded by adding
some time reserv to any operation (8xerase_time) but if we have many writes
during one erase the problem appears.
This patch detects the suspend and resets timer if suspend occured. It
has been well verified on different chips. No problems were found.
Could you please include the patch as it is simple and fixes bad issue.
Signed-off-by: Alexey Korolev <akorolev at infradead.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 55679df30dfa37886cd9e22d8dea0e6974a552df
Author: Anton Vorontsov <avorontsov at ru.mvista.com>
Date: Mon Jul 14 19:20:37 2008 +0400
[MTD] [NAND] fsl_elbc_nand: fix section mismatch with CONFIG_MTD_OF_PARTS=y
With CONFIG_MTD_OF_PARTS=y I'm getting this new section mismatch in reference
from the function fsl_elbc_chip_probe() to the function
.devinit.text:of_mtd_parse_partitions()
This patch fixes the mismatch by providing __devinit annotation to the
fsl_elbc_chip_probe() function.
Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
Acked-By: Scott Wood <scottwood at freescale.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 95984f62c9b0bf6d89ef4f514b1afe73623481de
Author: Stefan Richter <stefanr at s5r6.in-berlin.de>
Date: Tue Jul 22 18:41:10 2008 +0200
firewire: fw-ohci: TSB43AB22/A dualbuffer workaround
Isochronous reception in dualbuffer mode is reportedly broken with
TI TSB43AB22A on x86-64. Descriptor addresses above 2G have been
determined as the trigger:
https://bugzilla.redhat.com/show_bug.cgi?id=435550
Two fixes are possible:
- pci_set_consistent_dma_mask(pdev, DMA_31BIT_MASK);
at least when IR descriptors are allocated, or
- simply don't use dualbuffer.
This fix implements the latter workaround.
But we keep using dualbuffer on x86-32 which won't give us highmen (and
thus physical addresses outside the 31bit range) in coherent DMA memory
allocations. Right now we could for example also whitelist PPC32, but
DMA mapping implementation details are expected to change there.
Signed-off-by: Stefan Richter <stefanr at s5r6.in-berlin.de>
Signed-off-by: Jarod Wilson <jwilson at redhat.com>
commit 56d3eef2b49b06618981c87edba16a607bf10ddd
Author: Voss, Nikolaus <N.Voss at weinmann.de>
Date: Fri Jul 18 14:44:48 2008 +0200
avr32: allow system timer to share interrupt to make OProfile work
The following patch allows the avr32_comparator interrupt to be shared.
This is necessary as the avr32 oprofile driver shares the irq group 0
with the timer.
To make OProfile actually work on AVR32, a small patch for oprofiled is
also needed (posted to the oprofile mailing list).
Signed-off-by: Nikolaus Voss <n.voss at weinmann.de>
[haavard.skinnemoen at atmel.com: set IRQF_SHARED unconditionally]
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
commit e5b13acf563e98ffc5dea8bebf80299a2a4ea088
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Thu Jul 24 14:37:55 2008 -0300
V4L/DVB (8451): dw2102: fix in-kernel compilation
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 7d7e5a60c62e88cb8782760bb6c4d3bd1577a6c6
Author: Herbert Xu <herbert at gondor.apana.org.au>
Date: Fri Jul 25 02:55:33 2008 -0700
ipsec: ipcomp - Decompress into frags if necessary
When decompressing extremely large packets allocating them through
kmalloc is prone to failure. Therefore it's better to use page
frags instead.
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 6fccab671f2f0a24b799f29a4ec878f62d34656c
Author: Herbert Xu <herbert at gondor.apana.org.au>
Date: Fri Jul 25 02:54:40 2008 -0700
ipsec: ipcomp - Merge IPComp implementations
This patch merges the IPv4/IPv6 IPComp implementations since most
of the code is identical. As a result future enhancements will no
longer need to be duplicated.
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit cffe1c5d7a5a1e54f7c2c6d0510f651a965bccc3
Author: David S. Miller <davem at davemloft.net>
Date: Fri Jul 25 01:25:04 2008 -0700
pkt_sched: Fix locking in shutdown_scheduler_queue()
Qdisc locks need to be held with BH disabled.
Tested-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: David S. Miller <davem at davemloft.net>
commit 6492cdf3a24fd620660c399745b5e169a0ed27d6
Author: Faisal Latif <flatif at neteffect.com>
Date: Thu Jul 24 20:50:45 2008 -0700
RDMA/nes: CM connection setup/teardown rework
Major rework of CM connection setup/teardown. We had a number of issues
with MPI applications not starting/terminating properly over time.
With these changes we were able to run longer on larger clusters.
* Remove memory allocation from nes_connect() and nes_cm_connect().
* Fix mini_cm_dec_refcnt_listen() when destroying listener.
* Remove unnecessary code from schedule_nes_timer() and nes_cm_timer_tick().
* Functionalize mini_cm_recv_pkt() and process_packet().
* Clean up cm_node->ref_count usage.
* Reuse skbs if available.
Signed-off-by: Faisal Latif <flatif at neteffect.com>
Signed-off-by: Roland Dreier <rolandd at cisco.com>
commit 9905922446f6dc02fd4650c8f59114d6bdb5b777
Author: Roland Dreier <rolandd at cisco.com>
Date: Thu Jul 24 20:37:25 2008 -0700
IPoIB: Correct help text for INFINIBAND_IPOIB_DEBUG
The help text for INFINIBAND_IPOIB_DEBUG refers to "ipoib_debugfs,"
which no longer exists. Correct this to talk about the files under
debugfs that are really created.
Signed-off-by: Roland Dreier <rolandd at cisco.com>
commit 99c3a5a9e388e0ac166c617aaf02150e778d2779
Author: Roland Dreier <rolandd at cisco.com>
Date: Thu Jul 24 20:37:25 2008 -0700
IPoIB/cm: Connected mode is no longer EXPERIMENTAL
Connected mode is now tested and used by lots of people. No need to
hide it under CONFIG_EXPERIMENTAL.
Signed-off-by: Roland Dreier <rolandd at cisco.com>
commit 5ba18b186c979283a2bf75a28b7ea325184b0c08
Author: Roland Dreier <rolandd at cisco.com>
Date: Thu Jul 24 20:36:59 2008 -0700
RDMA/ucm: BKL is not needed for ib_ucm_open()
Remove explicit cycle_kernel_lock() call and document why the code is safe.
Signed-off-by: Roland Dreier <rolandd at cisco.com>
commit f7a6117ee59c0001d58e830a82d7e205ed602bdd
Author: Roland Dreier <rolandd at cisco.com>
Date: Thu Jul 24 20:36:59 2008 -0700
RDMA/ucma: BKL is not needed for ucma_open()
Remove explicit lock_kernel() calls and document why the code is safe.
Signed-off-by: Roland Dreier <rolandd at cisco.com>
commit e2d2867ff8700d7431c68c089ff5f5ed7f2d5b40
Author: Chris Wright <chrisw at sous-sol.org>
Date: Thu Jul 24 20:43:34 2008 +0000
When verifying the decoded header before decoding the object identifier
(expecting a SPNEGO pseudo-mechanism oid), the test to verify it is a
primitive encoding is compared against the asn1 class. Primitive is not a
class. This brings check in line with similar check for krb/ntlmssp oid.
Signed-off-by: Chris Wright <chrisw at sous-sol.org>
Cc: Steven French <sfrench at us.ibm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Steve French <sfrench at us.ibm.com>
commit 698158c799c7961824ccdb773250e16c0dd5d9e4
Merge: 4c7827eec78abe6fe68fd29305806467f2a51e63 338b9bb3adac0d2c5a1e180491d9b001d624c402
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Thu Jul 24 14:05:50 2008 -0300
Merge ../linux-2.6
commit 4c7827eec78abe6fe68fd29305806467f2a51e63
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Mon Jul 7 20:04:29 2008 -0300
V4L/DVB (8234a): uvcvideo: Fix build for uvc input
Fix a bug introduced by some trouble on my -git tree that resulted on a hunk to
be lost (probably caused by some rebase).
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit ef571cadd516e7ffcdeac6bb8054e5908fcccfcf
Author: Shirish Pargaonkar <shirishp at gmail.com>
Date: Thu Jul 24 15:56:05 2008 +0000
[CIFS] Fix warnings from checkpatch
Signed-off-by: Steve French <sfrench at us.ibm.com>
commit b1910ad6222a705650dc991c003af43b94cdb3e1
Author: Shirish Pargaonkar <shirishp at gmail.com>
Date: Thu Jul 24 14:53:20 2008 +0000
[CIFS] Fix improper endian conversion of ACL subauth field
In mode_to_acl when converting a Unix mode to a Windows ACL
the subauth fields of the SID in the ACL were translated
incorrectly on bigendian architectures
Signed-off-by: Steve French <sfrench at us.ibm.com>
commit 76c510ad2e7d56cfe8f2cc7b23783e5c687cf704
Author: Shirish Pargaonkar <shirishp at gmail.com>
Date: Thu Jul 24 14:48:33 2008 +0000
[CIFS] Fix possible double free if search immediately after search rewind fails
Signed-off-by: Shirish Pargaonkar <shirishp at us.ibm.com>
Signed-off-by: Steve French <sfrench at us.ibm.com>
commit db6ea2c17cef531a58f48c51c3a0892edcaf1380
Author: Huang Weiyi <weiyi.huang at gmail.com>
Date: Sat Jun 21 22:30:43 2008 +0800
drivers/misc/atmel-ssc.c: Removed duplicated include
Removed duplicated include file <linux/list.h> in
drivers/misc/atmel-ssc.c.
Signed-off-by: Huang Weiyi <weiyi.huang at gmail.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
commit 218df4a25a9b828df4bb44c86e35febe40c82e62
Author: Hans-Christian Egtvedt <hcegtvedt at atmel.com>
Date: Tue Jul 1 14:26:45 2008 +0200
avr32: Add platform data for AC97C platform device
This patch adds platform data to the AC97C platform device. This will
let the board add a GPIO line which is connected to the external codecs
reset line.
The platform data, ac97c_platform_data, must also contain the DMA
controller ID, RX channel ID and TX channel ID.
Tested with Wolfson WM9712 and AP7000.
Signed-off-by: Hans-Christian Egtvedt <hcegtvedt at atmel.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
commit 1986b0cb1671ea39178b4e2b00461109728fc935
Author: Ingo Molnar <mingo at elte.hu>
Date: Thu Jul 24 08:10:02 2008 +0200
ftrace: remove latency-tracer leftover
remove the :vim=ft=help tag from trace files.
I used them years ago to syntax-highlight traces and forgot about this hack.
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 28afe961a18f77b2249062499bdbf70fd2ec6bba
Merge: 1e01cb0c6ff7e9ddb6547551794c6aa82785a7cb 338b9bb3adac0d2c5a1e180491d9b001d624c402
Author: Ingo Molnar <mingo at elte.hu>
Date: Thu Jul 24 08:09:26 2008 +0200
Merge branch 'linus' into tracing/urgent
commit ac0a2d0c8ab18045ab217339a71e76c76e186ede
Author: Lennert Buytenhek <buytenh at wantstofly.org>
Date: Tue Jul 15 12:26:16 2008 +0200
mv643xx_eth: bump version to 1.2
Signed-off-by: Lennert Buytenhek <buytenh at marvell.com>
commit e32b66175072d75bde1ddca4227a6723ca17e0af
Author: Lennert Buytenhek <buytenh at wantstofly.org>
Date: Thu Jul 24 06:22:59 2008 +0200
mv643xx_eth: enable hardware TX checksumming with vlan tags
Although mv643xx_eth has no hardware support for inserting a vlan
tag by twiddling some bits in the TX descriptor, it does support
hardware TX checksumming on packets where the IP header starts {a
limited set of values other than 14} bytes into the packet.
This patch sets mv643xx_eth's ->vlan_features to NETIF_F_SG |
NETIF_F_IP_CSUM, which prevents the stack from checksumming vlan'ed
packets in software, and if vlan tags are present on a transmitted
packet, notifies the hardware of this fact by toggling the right
bits in the TX descriptor.
Signed-off-by: Lennert Buytenhek <buytenh at marvell.com>
commit 2f7eb47a7b9f703d4f7dfdab358df6ff1f2a2204
Author: Lennert Buytenhek <buytenh at wantstofly.org>
Date: Thu Jul 24 06:22:59 2008 +0200
mv643xx_eth: print message on link status change
When there is a link status change (link or phy status interrupt),
print a message notifying the user of the new link status.
Signed-off-by: Lennert Buytenhek <buytenh at marvell.com>
commit 81600eea98789da09a32de69ca9d3be8b9503c54
Author: Lennert Buytenhek <buytenh at wantstofly.org>
Date: Mon Jul 14 14:29:40 2008 +0200
mv643xx_eth: use auto phy polling for configuring (R)(G)MII interface
The mv643xx_eth hardware has a provision for polling the PHY's
MII management registers to obtain the (R)(G)MII interface speed
(10/100/1000) and duplex (half/full) and pause (off/symmetric)
settings to use to talk to the PHY.
The driver currently does not make use of this feature. Instead,
whenever there is a link status change event, it reads the current
link parameters from the PHY, and programs those parameters into
the mv643xx_eth MAC by hand.
This patch switches the mv643xx_eth driver to letting the MAC
auto-determine the (R)(G)MII link parameters by PHY polling, if there
is a PHY present. For PHYless ports (when e.g. the (R)(G)MII
interface is connected to a hardware switch), we keep hardcoding the
MII interface parameters.
Signed-off-by: Lennert Buytenhek <buytenh at marvell.com>
commit 7dde154d3d0d9701ecfb5533017a8f1a20bb4214
Author: Lennert Buytenhek <buytenh at wantstofly.org>
Date: Tue Jul 15 12:20:30 2008 +0200
mv643xx_eth: print driver version on init
Print the mv643xx_eth driver version on init to help debugging.
Signed-off-by: Lennert Buytenhek <buytenh at marvell.com>
commit 7f106c1d050c085c84d148ba56293e60b2c4e756
Author: Lennert Buytenhek <buytenh at wantstofly.org>
Date: Tue Jul 15 02:28:47 2008 +0200
mv643xx_eth: use symbolic MII register addresses and values
Instead of hardcoding MII register addresses and values, use the
symbolic constants defined in linux/mii.h.
Signed-off-by: Lennert Buytenhek <buytenh at marvell.com>
commit cd4ccf76bfd2c36d351e68be7e6a597268f98a1a
Author: Lennert Buytenhek <buytenh at wantstofly.org>
Date: Thu Jul 10 14:40:51 2008 +0200
mv643xx_eth: use longer DMA bursts
The mv643xx_eth driver is limiting DMA bursts to 32 bytes, while
using the largest burst size (128 bytes) gives a couple percentage
points performance improvement in throughput tests, and the docs
say that the 128 byte default should not need to be changed, so
use 128 byte bursts instead.
Signed-off-by: Lennert Buytenhek <buytenh at marvell.com>
commit ae9ae06443f7bfa4f013c0e2c035d549e999ad3e
Author: Lennert Buytenhek <buytenh at wantstofly.org>
Date: Tue Jul 15 02:15:24 2008 +0200
mv643xx_eth: also check TX_IN_PROGRESS when disabling transmit path
The recommended sequence for waiting for the transmit path to clear
after disabling all of the transmit queues is to wait for the
TX_FIFO_EMPTY bit in the Port Status register to become set as well
as the TX_IN_PROGRESS bit to clear.
Signed-off-by: Lennert Buytenhek <buytenh at marvell.com>
commit 65193a91fc60fdb79e392c9842c10552a1fa3e1c
Author: Lennert Buytenhek <buytenh at wantstofly.org>
Date: Fri Jul 11 00:39:41 2008 +0200
mv643xx_eth: don't fiddle with maximum receive packet size setting
The maximum receive packet size field in the Port Serial Control
register controls at what size received packets are flagged
overlength in the receive descriptor, but it doesn't prevent
overlength packets from being DMAd to memory and signaled to the
host like other received packets.
mv643xx_eth does not support receiving jumbo frames in 10/100 mode,
but setting the packet threshold to larger than 1522 bytes in 10/100
mode won't cause breakage by itself.
If we really want to enforce maximum packet size on the receiving
end instead of on the sending end where it should be done, we can
always just add a length check to the software receive handler
instead of relying on the hardware to do the comparison for us.
What's more, changing the maximum packet size field requires
temporarily disabling the RX/TX paths. So once the link comes
up in 10/100 Mb/s mode or 1000 Mb/s mode, we'd have to disable it
again just to set the right maximum packet size field (1522 in
10/100 Mb/s mode or 9700 in 1000 Mb/s mode), just so that we can
offload one comparison operation to hardware that we might as well
do in software, assuming that we'd want to do it at all.
Contrary to what the documentation suggests, there is no harm in
just setting a 9700 byte maximum packet size in 10/100 mode, so use
the maximum maximum packet size for all modes.
Signed-off-by: Lennert Buytenhek <buytenh at marvell.com>
commit 4dfc1c87af46f9d8abf2ef78a4e22891d7a564c3
Author: Lennert Buytenhek <buytenh at wantstofly.org>
Date: Tue Jul 15 13:34:51 2008 +0200
mv643xx_eth: fix transmit-reclaim-in-napi-poll
The mv643xx_eth driver allows doing transmit reclaim from within the
napi poll routine, but after doing reclaim, it would forget to check
the free transmit descriptor count and wake up the transmit queue if
the reclaim caused enough descriptors for a new packet to become
available. This would cause the netdev watchdog to occasionally kick
in during certain workloads with combined receive and transmit traffic.
Fix this by adding a wakeup check identical to the one in the
interrupt handler to the napi poll routine.
Signed-off-by: Lennert Buytenhek <buytenh at marvell.com>
commit 6b368f6859c80343e5d7c6e2a7c49df0a8a273c1
Author: Lennert Buytenhek <buytenh at wantstofly.org>
Date: Fri Jul 11 19:38:34 2008 +0200
mv643xx_eth: prevent breakage when link goes down during transmit
When the ethernet link goes down while mv643xx_eth is transmitting
data, transmit DMA can stop before all queued transmit descriptors
have been processed. But even the descriptors that _have_ been
processed might not be properly marked as done before the transmit
DMA unit shuts down.
Then when the link comes up again, the hardware transmit pointer
might have advanced while not all previous packet descriptors have
been marked as transmitted, causing software transmit reclaim to
hang waiting for the hardware to finish transmitting a descriptor
that it has already skipped.
This patch forcibly reclaims all packets on the transmit ring on a
link down interrupt, and then resyncs the hardware transmit pointer to
what the software's idea of the first free descriptor is. Also, we
need to prevent re-waking the transmit queue if we get a 'transmit
done' interrupt at the same time as a 'link down' interrupt, which
this patch does as well.
Signed-off-by: Lennert Buytenhek <buytenh at marvell.com>
commit 8fa89bf5de066b11190ac804903021700c2b1185
Author: Lennert Buytenhek <buytenh at wantstofly.org>
Date: Mon Jul 14 22:56:55 2008 +0200
mv643xx_eth: fix TX hang erratum workaround
The previously merged TX hang erratum workaround ("mv643xx_eth:
work around TX hang hardware issue") assumes that TX_END interrupts
are delivered simultaneously with or after their corresponding TX
interrupts, but this is not always true in practise.
In particular, it appears that TX_END interrupts are issued as soon
as descriptor fetch returns an invalid descriptor, which may happen
before earlier descriptors have been fully transmitted and written
back to memory as being done.
This hardware behavior can lead to a situation where the current
driver code mistakenly assumes that the MAC has given up transmitting
before noticing the packets that it is in fact still currently working
on, causing the driver to re-kick the transmit queue, which will only
cause the MAC to re-fetch the invalid head descriptor, and generate
another TX_END interrupt, et cetera, until the packets in the pipe
finally finish transmitting and have their descriptors written back
to memory, which will then finally break the loop.
Fix this by having the erratum workaround not check the 'number of
unfinished descriptor', but instead, to compare the software's idea
of what the head descriptor pointer should be to the hardware's head
descriptor pointer (which is updated on the same conditions as the
TX_END interupt is generated on, i.e. possibly before all previous
descriptors have been transmitted and written back).
Signed-off-by: Lennert Buytenhek <buytenh at marvell.com>
commit 99b1f5b2f6cd2f65cce02c5f63302df5878a5fbc
Author: Steve French <sfrench at us.ibm.com>
Date: Thu Jul 24 02:37:45 2008 +0000
[CIFS] remove checkpatch warning
Signed-off-by: Steve French <sfrench at us.ibm.com>
commit f984c7b98253c541ed6e702ee521f6a84c8113d4
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Thu Jul 24 02:34:24 2008 +0000
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Cc: Steven French <sfrench at us.ibm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Steve French <sfrench at us.ibm.com>
commit 72d18a7b9e1a3a9511bae78fc7f0932ae01d5d73
Author: Dan Liang <Dan.Liang at atmel.com>
Date: Wed Jul 23 21:27:25 2008 -0400
Input: add driver for Atmel integrated touchscreen controller
The AT91SAM9RL SoC integrates a Touchscreen Controller which
can trigger ADC conversion periodically.
Signed-off-by: Justin Waters <justin.waters at timesys.com>
Signed-off-by: Dan Liang <dan.liang at atmel.com>
Signed-off-by: Dmitry Torokhov <dtor at mail.ru>
commit 5ca33c6ac30596fc1403a092f46ea48c406734e4
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Wed Jul 23 17:45:58 2008 -0700
cifs: assorted endian annotations
fs/cifs/cifssmb.c:3917:13: warning: incorrect type in assignment (different base types)
fs/cifs/cifssmb.c:3917:13: expected bool [unsigned] [usertype] is_unicode
fs/cifs/cifssmb.c:3917:13: got restricted __le16
The comment explains why __force is used here.
fs/cifs/connect.c:458:16: warning: cast to restricted __be32
fs/cifs/connect.c:458:16: warning: cast to restricted __be32
fs/cifs/connect.c:458:16: warning: cast to restricted __be32
fs/cifs/connect.c:458:16: warning: cast to restricted __be32
fs/cifs/connect.c:458:16: warning: cast to restricted __be32
fs/cifs/connect.c:458:16: warning: cast to restricted __be32
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Signed-off-by: Steve French <sfrench at us.ibm.com>
commit 1685a03e98b7e9b83e0aa692c1cc470b3aa37597
Author: Jan Nikitenko <jan.nikitenko at gmail.com>
Date: Thu Jul 24 01:27:07 2008 +0200
mmc_spi: put signals to low power off fix
The original intention was to write a zero byte to mmc to force spi
signals to low when doing power off. Somehow the spi_w8r8 call got there
so a read followed the write of single zero byte. This patch changes
that to simple write of zero byte without the following read.
This way the power off is more reliable and completely sufficient.
Signed-off-by: Jan Nikitenko <jan.nikitenko at gmail.com>
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
commit 10b0e96ed9a1ce0412ef981cf6250f9de3c80b02
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Tue Jul 22 05:35:10 2008 -0300
V4L/DVB (8442): gspca: Remove the version from the subdrivers.
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 06ca78fa3a77c955bd46ba3dbe529c399d260aa4
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Tue Jul 22 03:45:08 2008 -0300
V4L/DVB (8441): gspca: Bad handling of start of frames in sonixj.
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 903e10aa664473ce19c30c0f80ffd7bbbbd8fc33
Author: Adrian Bunk <bunk at kernel.org>
Date: Tue Jul 22 02:35:05 2008 -0300
V4L/DVB (8440): gspca: Makes some needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 63fc4a038d8ca5e2da8c14c01b16876685beacf4
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Mon Jul 21 05:42:17 2008 -0300
V4L/DVB (8438): gspca: Lack of matrix for zc3xx - tas5130c (vf0250).
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit bb64e86c3ad55e70a8001d87c050fd3a82004d17
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Sat Jul 19 06:49:28 2008 -0300
V4L/DVB (8436): gspca: Version number only in the main driver.
The version numbers of the subrivers will be removed as these ones
will be changed for any other purpose.
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 600176176101fc6e0e0c7468efa83203e8d3e015
Author: Jean-Francois Moine <moinejf at free.fr>
Date: Fri Jul 18 08:46:19 2008 -0300
V4L/DVB (8435): gspca: Delay after reset for ov7660 and USB traces in sonixj.
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 2864462eaf027ff10c1df1ce57d3518332e9083c
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Sun Jul 20 20:26:54 2008 -0300
V4L/DVB (8434): Fix x86_64 compilation and move some macros to v4l2-ioctl.h
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 35ea11ff84719b1bfab2909903a9640a86552fd1
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sun Jul 20 08:12:02 2008 -0300
V4L/DVB (8430): videodev: move some functions from v4l2-dev.h to v4l2-common.h or v4l2-ioctl.h
The functions in a header should not belong to another module. The prio functions
belong to v4l2-common.c, so move them to v4l2-common.h.
The ioctl functions belong to v4l2-ioctl.c, so create a new v4l2-ioctl.h header
and move those functions to it.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 8efdbde647f542ce0d303273df7ad4157caa03d0
Author: Jeff Layton <jlayton at redhat.com>
Date: Wed Jul 23 21:28:12 2008 +0000
[CIFS] break ATTR_SIZE changes out into their own function
Move the code that handles ATTR_SIZE changes to its own function. This
makes for a smaller function and reduces the level of indentation.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
Signed-off-by: Steve French <sfrench at us.ibm.com>
commit d8e64406a037a64444175730294e449c9e21f5ec
Author: Dan Williams <dan.j.williams at intel.com>
Date: Wed Jul 23 13:09:48 2008 -0700
md: delay notification of 'active_idle' to the recovery thread
sysfs_notify might sleep, so do not call it from md_safemode_timeout.
Signed-off-by: Dan Williams <dan.j.williams at intel.com>
commit 2339788376e2d69a9154130e4dacd5b21ce63094
Author: Dan Williams <dan.j.williams at intel.com>
Date: Wed Jul 23 20:05:34 2008 -0700
md: fix merge error
The original STRIPE_OP_IO removal patch had the following hunk:
- for (i = conf->raid_disks; i--; ) {
+ for (i = conf->raid_disks; i--; )
set_bit(R5_Wantwrite, &sh->dev[i].flags);
- if (!test_and_set_bit(STRIPE_OP_IO, &sh->ops.pending))
- sh->ops.count++;
- }
However it appears the hunk became broken after merging:
- for (i = conf->raid_disks; i--; ) {
+ for (i = conf->raid_disks; i--; )
set_bit(R5_Wantwrite, &sh->dev[i].flags);
set_bit(R5_LOCKED, &dev->flags);
s.locked++;
- if (!test_and_set_bit(STRIPE_OP_IO, &sh->ops.pending))
- sh->ops.count++;
- }
Signed-off-by: Dan Williams <dan.j.williams at intel.com>
commit e81cf44428b9540d489a12880663488708bbb9c1
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Sun Jul 20 10:49:39 2008 -0300
V4L/DVB (8433): Fix macro name at z0194a.h
As reported by Hans Verkuil:
In file included from /home/v4l/master/v4l/dw2102.c:14:
/home/v4l/master/v4l/z0194a.h:93: error: 'STV0229_LOCKOUTPUT_1' undeclared here (not in a function)
This is due to some typos that were fixed on stv0299.
This patch renames it in accord with that fix.
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 22a04f106346c3af019135f2de3cabf9ac41c3ba
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sun Jul 20 06:35:02 2008 -0300
V4L/DVB (8429): videodev: renamed 'class_dev' to 'dev'
The class_dev field is a normal device, not a class device. This is very
confusing and now that the old 'dev' field has been renamed to 'parent'
we can rename 'class_dev' to just 'dev'.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 5e85e732f0ed56aa97a3ba26ac2b93ffe597a208
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sun Jul 20 06:31:39 2008 -0300
V4L/DVB (8428): videodev: rename 'dev' to 'parent'
The field 'dev' is not the video device, but the parent of the video device.
Rename accordingly.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 27a5e6d3fcce73ceeee8f3bdc9a30c4564233800
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sun Jul 20 08:43:17 2008 -0300
V4L/DVB (8427): videodev: split off the ioctl handling into v4l2-ioctl.c
videodev.c became top-heavy so all the ioctl processing has been split off
into v4l2-ioctl.c. This means videodev.c is back to its original purpose:
creating and registering v4l devices.
Since videodev.c and v4l2-ioctl.c should still remain one module (as least
for now) I also had to rename videodev.c to v4l2-dev.c to prevent a
circular dependency when building a videodev.ko module. This is not a bad
thing, since the source and header now have the same name. And the v4l2-
prefix is useful to see which sources are generic v4l2 support code.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit c9f21aaff1d1fb5629325130af469532d19beb93
Author: Dan Williams <dan.j.williams at intel.com>
Date: Wed Jul 23 12:05:51 2008 -0700
md: move async_tx_issue_pending_all outside spin_lock_irq
Some dma drivers need to call spin_lock_bh in their device_issue_pending
routines. This change avoids:
WARNING: at kernel/softirq.c:136 local_bh_enable_ip+0x3a/0x85()
Signed-off-by: Dan Williams <dan.j.williams at intel.com>
commit 9460b6529d8a0bfabf241ddda8b0e469d219844c
Author: Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com>
Date: Wed Jul 23 14:38:27 2008 -0400
Input: ads7846 - optimize order of calculating Rt in ads7846_rx()
Alter the if expression for calculating Rt. The old implementation would
run unnecessary code when the ADS7843 device was used.
The patch also fixes the code style to kernel standard.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor at mail.ru>
commit 494f685775ee4c2f3db4081209f00ff0633243fc
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Wed Jul 23 14:16:19 2008 -0400
Input: ads7846 - fix sparse endian warnings
Also remove the temporary pointer and use ->rx_buf directly.
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Signed-off-by: Dmitry Torokhov <dtor at mail.ru>
commit 09e50d55a9490e9b7a6fdfbf8fc078924b25ecb5
Author: Jeff Layton <jlayton at redhat.com>
Date: Wed Jul 23 10:11:19 2008 -0400
lockdep: annotate cifs in-kernel sockets
Put CIFS sockets in their own class to avoid some lockdep warnings. CIFS
sockets are not exposed to user-space, and so are not subject to the
same deadlock scenarios.
A similar change was made a couple of years ago for RPC sockets in commit
ed07536ed6731775219c1df7fa26a7588753e693.
This patch should prevent lockdep false-positives like this one:
=======================================================
[ INFO: possible circular locking dependency detected ]
2.6.18-98.el5.jtltest.38.bz456320.1debug #1
-------------------------------------------------------
test5/2483 is trying to acquire lock:
(sk_lock-AF_INET){--..}, at: [<ffffffff800270d2>] tcp_sendmsg+0x1c/0xb2f
but task is already holding lock:
(&inode->i_alloc_sem){--..}, at: [<ffffffff8002e454>] notify_change+0xf5/0x2e0
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #3 (&inode->i_alloc_sem){--..}:
[<ffffffff800a817c>] __lock_acquire+0x9a9/0xadf
[<ffffffff800a8a72>] lock_acquire+0x55/0x70
[<ffffffff8002e454>] notify_change+0xf5/0x2e0
[<ffffffff800a4e36>] down_write+0x3c/0x68
[<ffffffff8002e454>] notify_change+0xf5/0x2e0
[<ffffffff800e358d>] do_truncate+0x50/0x6b
[<ffffffff8005197c>] get_write_access+0x40/0x46
[<ffffffff80012cf1>] may_open+0x1d3/0x22e
[<ffffffff8001bc81>] open_namei+0x2c6/0x6dd
[<ffffffff800289c6>] do_filp_open+0x1c/0x38
[<ffffffff800683ef>] _spin_unlock+0x17/0x20
[<ffffffff800167a7>] get_unused_fd+0xf9/0x107
[<ffffffff8001a704>] do_sys_open+0x44/0xbe
[<ffffffff80060116>] system_call+0x7e/0x83
[<ffffffffffffffff>] 0xffffffffffffffff
-> #2 (&sysfs_inode_imutex_key){--..}:
[<ffffffff800a817c>] __lock_acquire+0x9a9/0xadf
[<ffffffff8010f6df>] create_dir+0x26/0x1d7
[<ffffffff800a8a72>] lock_acquire+0x55/0x70
[<ffffffff8010f6df>] create_dir+0x26/0x1d7
[<ffffffff800671c0>] mutex_lock_nested+0x104/0x29c
[<ffffffff800a819d>] __lock_acquire+0x9ca/0xadf
[<ffffffff8010f6df>] create_dir+0x26/0x1d7
[<ffffffff8010fc67>] sysfs_create_dir+0x58/0x76
[<ffffffff8015144c>] kobject_add+0xdb/0x198
[<ffffffff801be765>] class_device_add+0xb2/0x465
[<ffffffff8005a6ff>] kobject_get+0x12/0x17
[<ffffffff80225265>] register_netdevice+0x270/0x33e
[<ffffffff8022538c>] register_netdev+0x59/0x67
[<ffffffff80464d40>] net_olddevs_init+0xb/0xac
[<ffffffff80448a79>] init+0x1f9/0x2fc
[<ffffffff80068885>] _spin_unlock_irq+0x24/0x27
[<ffffffff80067f86>] trace_hardirqs_on_thunk+0x35/0x37
[<ffffffff80061079>] child_rip+0xa/0x11
[<ffffffff80068885>] _spin_unlock_irq+0x24/0x27
[<ffffffff800606a8>] restore_args+0x0/0x30
[<ffffffff80179a59>] acpi_ds_init_one_object+0x0/0x80
[<ffffffff80448880>] init+0x0/0x2fc
[<ffffffff8006106f>] child_rip+0x0/0x11
[<ffffffffffffffff>] 0xffffffffffffffff
-> #1 (rtnl_mutex){--..}:
[<ffffffff800a817c>] __lock_acquire+0x9a9/0xadf
[<ffffffff8025acf8>] ip_mc_leave_group+0x23/0xb7
[<ffffffff800a8a72>] lock_acquire+0x55/0x70
[<ffffffff8025acf8>] ip_mc_leave_group+0x23/0xb7
[<ffffffff800671c0>] mutex_lock_nested+0x104/0x29c
[<ffffffff8025acf8>] ip_mc_leave_group+0x23/0xb7
[<ffffffff802451b0>] do_ip_setsockopt+0x6d1/0x9bf
[<ffffffff800a575e>] lock_release_holdtime+0x27/0x48
[<ffffffff800a575e>] lock_release_holdtime+0x27/0x48
[<ffffffff8006a85e>] do_page_fault+0x503/0x835
[<ffffffff8012cbf6>] socket_has_perm+0x5b/0x68
[<ffffffff80245556>] ip_setsockopt+0x22/0x78
[<ffffffff8021c973>] sys_setsockopt+0x91/0xb7
[<ffffffff800602a6>] tracesys+0xd5/0xdf
[<ffffffffffffffff>] 0xffffffffffffffff
-> #0 (sk_lock-AF_INET){--..}:
[<ffffffff800a5037>] print_stack_trace+0x59/0x68
[<ffffffff800a8092>] __lock_acquire+0x8bf/0xadf
[<ffffffff800a8a72>] lock_acquire+0x55/0x70
[<ffffffff800270d2>] tcp_sendmsg+0x1c/0xb2f
[<ffffffff80035466>] lock_sock+0xd4/0xe4
[<ffffffff80096e91>] _local_bh_enable+0xcb/0xe0
[<ffffffff800606a8>] restore_args+0x0/0x30
[<ffffffff800270d2>] tcp_sendmsg+0x1c/0xb2f
[<ffffffff80057540>] sock_sendmsg+0xf3/0x110
[<ffffffff800a2bb6>] autoremove_wake_function+0x0/0x2e
[<ffffffff800a10e4>] kernel_text_address+0x1a/0x26
[<ffffffff8006f4e2>] dump_trace+0x211/0x23a
[<ffffffff800a6d3d>] find_usage_backwards+0x5f/0x88
[<ffffffff8840221a>] MD5Final+0xaf/0xc2 [cifs]
[<ffffffff884032ec>] cifs_calculate_signature+0x55/0x69 [cifs]
[<ffffffff8021d891>] kernel_sendmsg+0x35/0x47
[<ffffffff883ff38e>] smb_send+0xa3/0x151 [cifs]
[<ffffffff883ff5de>] SendReceive+0x1a2/0x448 [cifs]
[<ffffffff800a812f>] __lock_acquire+0x95c/0xadf
[<ffffffff883e758a>] CIFSSMBSetEOF+0x20d/0x25b [cifs]
[<ffffffff883fa430>] cifs_set_file_size+0x110/0x3b7 [cifs]
[<ffffffff883faa89>] cifs_setattr+0x3b2/0x6f6 [cifs]
[<ffffffff8002e454>] notify_change+0xf5/0x2e0
[<ffffffff8002e4a4>] notify_change+0x145/0x2e0
[<ffffffff800e358d>] do_truncate+0x50/0x6b
[<ffffffff8005197c>] get_write_access+0x40/0x46
[<ffffffff80012cf1>] may_open+0x1d3/0x22e
[<ffffffff8001bc81>] open_namei+0x2c6/0x6dd
[<ffffffff800289c6>] do_filp_open+0x1c/0x38
[<ffffffff800683ef>] _spin_unlock+0x17/0x20
[<ffffffff800167a7>] get_unused_fd+0xf9/0x107
[<ffffffff8001a704>] do_sys_open+0x44/0xbe
[<ffffffff800602a6>] tracesys+0xd5/0xdf
[<ffffffffffffffff>] 0xffffffffffffffff
other info that might help us debug this:
2 locks held by test5/2483:
#0: (&inode->i_mutex){--..}, at: [<ffffffff800e3582>] do_truncate+0x45/0x6b
#1: (&inode->i_alloc_sem){--..}, at: [<ffffffff8002e454>] notify_change+0xf5/0x2e0
stack backtrace:
Call Trace:
[<ffffffff800a6a7b>] print_circular_bug_tail+0x65/0x6e
[<ffffffff800a5037>] print_stack_trace+0x59/0x68
[<ffffffff800a8092>] __lock_acquire+0x8bf/0xadf
[<ffffffff800a8a72>] lock_acquire+0x55/0x70
[<ffffffff800270d2>] tcp_sendmsg+0x1c/0xb2f
[<ffffffff80035466>] lock_sock+0xd4/0xe4
[<ffffffff80096e91>] _local_bh_enable+0xcb/0xe0
[<ffffffff800606a8>] restore_args+0x0/0x30
[<ffffffff800270d2>] tcp_sendmsg+0x1c/0xb2f
[<ffffffff80057540>] sock_sendmsg+0xf3/0x110
[<ffffffff800a2bb6>] autoremove_wake_function+0x0/0x2e
[<ffffffff800a10e4>] kernel_text_address+0x1a/0x26
[<ffffffff8006f4e2>] dump_trace+0x211/0x23a
[<ffffffff800a6d3d>] find_usage_backwards+0x5f/0x88
[<ffffffff8840221a>] :cifs:MD5Final+0xaf/0xc2
[<ffffffff884032ec>] :cifs:cifs_calculate_signature+0x55/0x69
[<ffffffff8021d891>] kernel_sendmsg+0x35/0x47
[<ffffffff883ff38e>] :cifs:smb_send+0xa3/0x151
[<ffffffff883ff5de>] :cifs:SendReceive+0x1a2/0x448
[<ffffffff800a812f>] __lock_acquire+0x95c/0xadf
[<ffffffff883e758a>] :cifs:CIFSSMBSetEOF+0x20d/0x25b
[<ffffffff883fa430>] :cifs:cifs_set_file_size+0x110/0x3b7
[<ffffffff883faa89>] :cifs:cifs_setattr+0x3b2/0x6f6
[<ffffffff8002e454>] notify_change+0xf5/0x2e0
[<ffffffff8002e4a4>] notify_change+0x145/0x2e0
[<ffffffff800e358d>] do_truncate+0x50/0x6b
[<ffffffff8005197c>] get_write_access+0x40/0x46
[<ffffffff80012cf1>] may_open+0x1d3/0x22e
[<ffffffff8001bc81>] open_namei+0x2c6/0x6dd
[<ffffffff800289c6>] do_filp_open+0x1c/0x38
[<ffffffff800683ef>] _spin_unlock+0x17/0x20
[<ffffffff800167a7>] get_unused_fd+0xf9/0x107
[<ffffffff8001a704>] do_sys_open+0x44/0xbe
[<ffffffff800602a6>] tracesys+0xd5/0xdf
Signed-off-by: Jeff Layton <jlayton at redhat.com>
Acked-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Signed-off-by: Steve French <sfrench at us.ibm.com>
commit 53703659ab559a58a3058e69aeb59c06d4872358
Author: Huang Weiyi <weiyi.huang at gmail.com>
Date: Wed Jul 23 13:57:50 2008 -0400
Input: uinput - remove duplicate include
Remove duplicate include file <linux/smp_lock.h> in
drivers/input/misc/uinput.c.
Signed-off-by: Huang Weiyi <weiyi.huang at gmail.com>
Signed-off-by: Dmitry Torokhov <dtor at mail.ru>
commit 6aabcdffd1a5f8f5b906696e58069c4f8fced542
Author: Shaohua Li <shaohua.li at intel.com>
Date: Thu Jul 3 10:45:38 2008 -0400
Input: serio - offload resume to kseriod
When resuming AUX ports psmouse driver calls psmouse_extensions()
to determine if the attached mouse is still the same, which may take
a while to complete for generic mice. Offload the resume process to
kseriod so the rest of the system may continue resuming without
waiting for the mouse.
Signed-off-by: Shaohua Li <shaohua.li at intel.com>
Signed-off-by: Dmitry Torokhov <dtor at mail.ru>
commit a822bea7962b500b0bcab41bf3500f7c40ae56b5
Author: Dmitry Torokhov <dmitry.torokhov at gmail.com>
Date: Fri Jun 6 01:34:00 2008 -0400
Input: serio - mark serio_register_driver() __must_check
Also remove extra declaration of serio_register_driver().
Signed-off-by: Dmitry Torokhov <dtor at mail.ru>
commit a4e0d9af403d099e751797f6cc69e4a8e2d78ef1
Merge: c60f2b5c1defb6b1345968e1c65c2008c221d57d c010b2f76c3032e48097a6eef291d8593d5d79a6
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Wed Jul 23 14:10:23 2008 -0300
Merge ../linux-2.6
commit c60f2b5c1defb6b1345968e1c65c2008c221d57d
Author: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
Date: Thu Jul 17 17:30:47 2008 -0300
V4L/DVB (8425): v4l: fix checkpatch errors introduced by recent commits
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski at pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 82fc52a886aaff8a1605f9d16240e74ddac8570c
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Sat Jul 19 08:34:12 2008 -0300
V4L/DVB (8423): cx18: remove firmware size check
This check was an ivtv leftover that served no purpose for the cx18.
Removed it, as this allows the user to load different firmware versions.
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit bcf4562ecbc35dabacc562fdf6c92218ca59ca94
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date: Fri Jul 18 20:14:31 2008 -0300
V4L/DVB (8422): cs5345: fix incorrect mask with VIDIOC_DBG_S_REGISTER
Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 7fd4828f6cc5bd4339ff58e372ccb5f528548b30
Author: Igor M Liplianin <liplianin at me.by>
Date: Sun Jul 20 08:05:50 2008 -0300
V4L/DVB (8421): Adds support for Dvbworld DVB-S 2102 USB card
Signed-off-by: Igor M Liplianin <liplianin at me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit e272ae088fccf0e98ee0042392bd52a3455f28bd
Author: David Howells <dhowells at redhat.com>
Date: Tue Jul 8 12:56:04 2008 -0300
V4L/DVB (8247): Fix a const pointer assignment error in the drx397xD demodulator driver
Fix an assignment of a const pointer to a non-const pointer in the drx397xD
demodulator driver.
This was introduced in patch eb9bd0e567365d4f607d32d8c41e201da65aa971.
Signed-off-by: David Howells <dhowells at redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 22b0119e09d6e7d671535c61de27753a5e1a0a63
Author: Roman Zippel <zippel at linux-m68k.org>
Date: Wed Apr 30 09:52:50 2008 -0300
V4L/DVB (7812): 2.6.25-rc5-mm1 specifc div64_u64 fixes
Rename a few more div64_u64 which are only in -mm.
Signed-off-by: Roman Zippel <zippel at linux-m68k.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 29e031d5b09ae60d0ecdb6a1d869d591d63e893a
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date: Thu Apr 24 21:43:23 2008 -0300
V4L/DVB (7737): drx397xD: fix math usage
The previous code were using a div64 math specific to i386. Replace for an
asm-generic one.
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 89f9257c06cb635ef140bd1acf21fb067ed4ed34
Author: Henk Vergonet <henk.vergonet at gmail.com>
Date: Thu Aug 9 11:02:30 2007 -0300
V4L/DVB (7736): This patch adds support for the Micronas DRX3975D/DRX3977D DVB-T demodulator
The module needs an external firmware file.
The module has been tested on a Pinnacle 330e, but with modules that
are currently not part of the linux-dvb tree. So consider this highly
experimental, don't use this code unless you are an experienced kernel
developer.
create mode 100644 drivers/media/dvb/frontends/drx397xD.c
create mode 100644 drivers/media/dvb/frontends/drx397xD.h
create mode 100644 drivers/media/dvb/frontends/drx397xD_fw.h
Signed-off-by: Henk Vergonet <henk.vergonet at gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
commit 04e1e0cccade330ab3715ce59234f7e3b087e246
Author: Jan Beulich <jbeulich at novell.com>
Date: Tue Jul 22 13:04:18 2008 +0000
[CIFS] Fix compiler warning on 64-bit
Signed-off-by: Steve French <sfrench at us.ibm.com>
commit b6d4f7e3ef25beb8c658c97867d98883e69dc544
Author: Dmitry Baryshkov <dbaryshkov at gmail.com>
Date: Sun Jul 20 15:01:10 2008 +0400
dma-coherent: add documentation to new interfaces
Signed-off-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
Cc: Jesse Barnes <jbarnes at virtuousgeek.org>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 8fa8b9fbab90c74139e8e868fe5b30b6a9f6be65
Author: Dmitry Baryshkov <dbaryshkov at gmail.com>
Date: Sun Jul 20 15:00:32 2008 +0400
Cris: convert to using generic dma-coherent mem allocator
Signed-off-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
Cc: Jesse Barnes <jbarnes at virtuousgeek.org>
Cc: Jesper Nilsson <jesper.nilsson at axis.com>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 9432484110263e9418f380faf05fa9e2e7fb87a0
Author: Marek Vasut <marek.vasut at gmail.com>
Date: Sun Jul 20 17:36:20 2008 +0200
ALSA: soc - wm9712 mono mixer
this fixes typo in wm9712 codec which prevents it from registering all audio
routes (and thus working correctly). Please consider applying.
(Tested and works on palmtx, palmld and palmt5)
Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
Acked-by: Mark Brown <brooie at opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit f9543d0ab6392a9a5bff0034622688dc10d9d225
Author: JiSheng Zhang <jszhang3 at mail.ustc.edu.cn>
Date: Sat Jul 19 15:35:41 2008 +0800
firewire: queue the right number of data
There will be 4 padding bytes in struct fw_cdev_event_response on some platforms
The member:__u32 data will point to these padding bytes. While queue the
response and data in complete_transaction in fw-cdev.c, it will queue like this:
|response(excluding padding bytes)|4 padding bytes|4 padding bytes|data.
It queue 4 extra bytes. That is to say it use "&response + sizeof(response)"
while other place of kernel and userspace library use "&response + offsetof
(typeof(response), data)". So it will lost the last 4 bytes of data. This patch
can fix it while not changing the struct definition.
Signed-off-by: JiSheng Zhang <jszhang3 at mail.ustc.edu.cn>
This fixes responses to outbound block read requests on 64bit architectures.
Tested on i686, x86-64, and x86-64 with i686 userland, using firecontrol and
gscanbus.
Signed-off-by: Stefan Richter <stefanr at s5r6.in-berlin.de>
commit 9db144fe897bb09838294aab2229cb423ab40988
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Sat Jul 19 17:16:07 2008 +0800
Blackfin arch: Apply Bluetechnix CM-BF527 board support patch
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit f09630bff51daaf427968c61c0f2370c64148e06
Author: Robin Getz <rgetz at blackfin.uclinux.org>
Date: Sat Jul 26 19:45:46 2008 +0800
Blackfin arch: Add unwinding for stack info, and a little more detail on trace buffer
Signed-off-by: Robin Getz <rgetz at blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 0a6304a9517aa3593913ecfbbcad80e798641723
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Sat Jul 26 16:14:57 2008 +0800
Blackfin arch: Add ISP1760 board resources to BF548-EZKIT
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 0138da6101fa3cdfea7f470d014c2f13cc03e7a9
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Sat Jul 19 16:56:53 2008 +0800
Blackfin arch: fix bug - detect 0.1 silicon revision BF527-EZKIT as 0.0 version
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit cc2e16bd35f6d78f559467358259e7d7264d4e96
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Sat Jul 19 16:43:51 2008 +0800
Blackfin arch: add missing IORESOURCE_MEM flags to UART3
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit aa3348f461da1df5c583f9916ab80298ddd68eff
Author: Graf Yang <graf.yang at analog.com>
Date: Sat Jul 19 15:54:10 2008 +0800
Blackfin arch: Add return value check in bfin_sir_probe(), remove SSYNC().
Signed-off-by: Graf Yang <graf.yang at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 262c3825a9f3eb0f4f30ebb4b1ee57397bcb3ffc
Author: Sonic Zhang <sonic.zhang at analog.com>
Date: Sat Jul 19 15:42:41 2008 +0800
Blackfin arch: Extend sram malloc to handle L2 SRAM.
Extend system call to alloc L2 SRAM in application.
Automatically move following sections to L2 SRAM:
1. kernel built-in l2 attribute section
2. kernel module l2 attribute section
3. elf-fdpic application l2 attribute section
Signed-off-by: Sonic Zhang <sonic.zhang at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit bafcc1b97323261a42d47960db99947bcc1be133
Author: Robin Getz <rgetz at blackfin.uclinux.org>
Date: Sat Jul 19 15:11:15 2008 +0800
Blackfin arch: Remove useless config option.
Signed-off-by: Robin Getz <rgetz at blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 5d481f497559245ecfb1b95cafe39bfbf037fda5
Author: Sonic Zhang <sonic.zhang at analog.com>
Date: Sat Jul 19 14:51:31 2008 +0800
Blackfin arch: change L1 malloc to base on slab cache and lists.
Remove the sram piece limitation and improve the performance to
alloc/free sram piece data.
Signed-off-by: Sonic Zhang <sonic.zhang at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 91467bdf6e53058af13fd255375d6634ba0c70e0
Author: Bernhard Walle <bwalle at suse.de>
Date: Fri Jul 18 19:07:53 2008 +0200
x86: move dma32_reserve_bootmem() after reserve_crashkernel()
On a x86-64 machine (nothing special I could encounter) I had the problem that
crashkernel reservation with the usual "64M at 16M" failed. While debugging that,
I encountered that dma32_reserve_bootmem() reserves a memory region which is in
that area.
Because dma32_reserve_bootmem() does not rely on a specific offset but
crashkernel does, it makes sense to move the dma32_reserve_bootmem()
reservation down a bit. I tested that patch and it works without problems. I
don't see any negative effects of that move, but maybe I oversaw something ...
While we strictly don't need that patch in 2.6.27 because we have the
automatic, dynamic offset detection, it makes sense to also include it here
because:
- it's easier to get it in -stable then,
- many people are still used to the 'crashkernel=... at 16M' syntax,
- not everybody may be using a reloatable kernel.
Signed-off-by: Bernhard Walle <bwalle at suse.de>
Cc: kexec at lists.infradead.org
Cc: vgoyal at redhat.com
Cc: akpm at linux-foundation.org
Cc: Bernhard Walle <bwalle at suse.de>
Cc: yhlu.kernel at gmail.com
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 9de90ac27d752bc0177baf2699ab483888de0743
Author: Dmitry Baryshkov <dbaryshkov at gmail.com>
Date: Fri Jul 18 13:30:31 2008 +0400
Sh: use generic per-device coherent dma allocator
Signed-off-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
Cc: Jesse Barnes <jbarnes at virtuousgeek.org>
Cc: Paul Mundt <lethal at linux-sh.org>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 1fe532685a1984dc9f2603ed20bd5e630ba79709
Author: Dmitry Baryshkov <dbaryshkov at gmail.com>
Date: Fri Jul 18 13:30:14 2008 +0400
ARM: support generic per-device coherent dma mem
Signed-off-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
Cc: Jesse Barnes <jbarnes at virtuousgeek.org>
Cc: Russell King <rmk at arm.linux.org.uk>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 538c29d43ebdac2edcef96ac07982d2296a63077
Author: Dmitry Baryshkov <dbaryshkov at gmail.com>
Date: Fri Jul 18 13:29:57 2008 +0400
Generic dma-coherent: fix DMA_MEMORY_EXCLUSIVE
Don't rewrite successfull allocation return values
in case the memory was marked with DMA_MEMORY_EXCLUSIVE.
Signed-off-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
Cc: Jesse Barnes <jbarnes at virtuousgeek.org>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit f6dc8ccaab6d8f63cbae1e6c73fe972b26f5376c
Merge: 323ec001c6bb98eeabb5abbdbb8c8055d9496554 5b664cb235e97afbf34db9c4d77f08ebd725335e
Author: Ingo Molnar <mingo at elte.hu>
Date: Fri Jul 18 21:13:20 2008 +0200
Merge branch 'linus' into core/generic-dma-coherent
Conflicts:
kernel/Makefile
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit 1e01cb0c6ff7e9ddb6547551794c6aa82785a7cb
Author: Steven Rostedt <rostedt at goodmis.org>
Date: Tue Jul 15 09:53:37 2008 -0400
ftrace: only trace preempt off with preempt tracer
When PREEMPT_TRACER and IRQSOFF_TRACER are both configured and irqsoff
tracer is running, the preempt_off sections might also be traced.
Thanks to Andrew Morton for pointing out my mistake of spin_lock disabling
interrupts while he was reviewing ftrace.txt. Seems that my example I used
actually hit this bug.
Signed-off-by: Steven Rostedt <srostedt at redhat.com>
Cc: Linus Torvalds <torvalds at linux-foundation.org>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: Peter Zijlstra <peterz at infradead.org>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit e59494f441c834ca7aaa0e6fa6678ddbd3d72743
Author: Steven Rostedt <rostedt at goodmis.org>
Date: Wed Jul 16 00:13:45 2008 -0400
ftrace: fix 4d3702b6 (post-v2.6.26): WARNING: at kernel/lockdep.c:2731 check_flags (ftrace)
On Wed, 16 Jul 2008, Vegard Nossum wrote:
> When booting 4d3702b6, I got this huge thing:
>
> Testing tracer wakeup: <4>------------[ cut here ]------------
> WARNING: at kernel/lockdep.c:2731 check_flags+0x123/0x160()
> Modules linked in:
> Pid: 1, comm: swapper Not tainted 2.6.26-crashing-02127-g4d3702b6 #30
> [<c015c349>] warn_on_slowpath+0x59/0xb0
> [<c01276c6>] ? ftrace_call+0x5/0x8
> [<c012d800>] ? native_read_tsc+0x0/0x20
> [<c0158de2>] ? sub_preempt_count+0x12/0xf0
> [<c01814eb>] ? trace_hardirqs_off+0xb/0x10
> [<c0182fbc>] ? __lock_acquire+0x2cc/0x1120
> [<c01814eb>] ? trace_hardirqs_off+0xb/0x10
> [<c01276af>] ? mcount_call+0x5/0xa
> [<c017ff53>] check_flags+0x123/0x160
> [<c0183e61>] lock_acquire+0x51/0xd0
> [<c01276c6>] ? ftrace_call+0x5/0x8
> [<c0613d4f>] _spin_lock_irqsave+0x5f/0xa0
> [<c01a8d45>] ? ftrace_record_ip+0xf5/0x220
> [<c02d5413>] ? debug_locks_off+0x3/0x50
> [<c01a8d45>] ftrace_record_ip+0xf5/0x220
> [<c01276af>] mcount_call+0x5/0xa
> [<c02d5418>] ? debug_locks_off+0x8/0x50
> [<c017ff27>] check_flags+0xf7/0x160
> [<c0183e61>] lock_acquire+0x51/0xd0
> [<c01276c6>] ? ftrace_call+0x5/0x8
> [<c0613d4f>] _spin_lock_irqsave+0x5f/0xa0
> [<c01affcd>] ? wakeup_tracer_call+0x6d/0xf0
> [<c01625e2>] ? _local_bh_enable+0x62/0xb0
> [<c0158ddd>] ? sub_preempt_count+0xd/0xf0
> [<c01affcd>] wakeup_tracer_call+0x6d/0xf0
> [<c0162724>] ? __do_softirq+0xf4/0x110
> [<c01afff1>] ? wakeup_tracer_call+0x91/0xf0
> [<c01276c6>] ftrace_call+0x5/0x8
> [<c0162724>] ? __do_softirq+0xf4/0x110
> [<c0158de2>] ? sub_preempt_count+0x12/0xf0
> [<c01625e2>] _local_bh_enable+0x62/0xb0
> [<c0162724>] __do_softirq+0xf4/0x110
> [<c01627ed>] do_softirq+0xad/0xb0
> [<c0162a15>] irq_exit+0xa5/0xb0
> [<c013a506>] smp_apic_timer_interrupt+0x66/0xa0
> [<c02d3fac>] ? trace_hardirqs_off_thunk+0xc/0x10
> [<c0127449>] apic_timer_interrupt+0x2d/0x34
> [<c018007b>] ? find_usage_backwards+0xb/0xf0
> [<c0613a09>] ? _spin_unlock_irqrestore+0x69/0x80
> [<c014ef32>] tg_shares_up+0x132/0x1d0
> [<c014d2a2>] walk_tg_tree+0x62/0xa0
> [<c014ee00>] ? tg_shares_up+0x0/0x1d0
> [<c014a860>] ? tg_nop+0x0/0x10
> [<c015499d>] update_shares+0x5d/0x80
> [<c0154a2f>] try_to_wake_up+0x6f/0x280
> [<c01a8b90>] ? __ftrace_modify_code+0x0/0xc0
> [<c01a8b90>] ? __ftrace_modify_code+0x0/0xc0
> [<c0154c94>] wake_up_process+0x14/0x20
> [<c01725f6>] kthread_create+0x66/0xb0
> [<c0195400>] ? do_stop+0x0/0x200
> [<c0195320>] ? __stop_machine_run+0x30/0xb0
> [<c0195340>] __stop_machine_run+0x50/0xb0
> [<c0195400>] ? do_stop+0x0/0x200
> [<c01a8b90>] ? __ftrace_modify_code+0x0/0xc0
> [<c061242d>] ? mutex_unlock+0xd/0x10
> [<c01953cc>] stop_machine_run+0x2c/0x60
> [<c01a94d3>] unregister_ftrace_function+0x103/0x180
> [<c01b0517>] stop_wakeup_tracer+0x17/0x60
> [<c01b056f>] wakeup_tracer_ctrl_update+0xf/0x30
> [<c01ab8d5>] trace_selftest_startup_wakeup+0xb5/0x130
> [<c01ab950>] ? trace_wakeup_test_thread+0x0/0x70
> [<c01aadf5>] register_tracer+0x135/0x1b0
> [<c0877d02>] init_wakeup_tracer+0xd/0xf
> [<c085d437>] kernel_init+0x1a9/0x2ce
> [<c061397b>] ? _spin_unlock_irq+0x3b/0x60
> [<c02d3f9c>] ? trace_hardirqs_on_thunk+0xc/0x10
> [<c0877cf5>] ? init_wakeup_tracer+0x0/0xf
> [<c0182646>] ? trace_hardirqs_on_caller+0x126/0x180
> [<c02d3f9c>] ? trace_hardirqs_on_thunk+0xc/0x10
> [<c01269c8>] ? restore_nocheck_notrace+0x0/0xe
> [<c085d28e>] ? kernel_init+0x0/0x2ce
> [<c085d28e>] ? kernel_init+0x0/0x2ce
> [<c01275fb>] kernel_thread_helper+0x7/0x10
> =======================
> ---[ end trace a7919e7f17c0a725 ]---
> irq event stamp: 579530
> hardirqs last enabled at (579528): [<c01826ab>] trace_hardirqs_on+0xb/0x10
> hardirqs last disabled at (579529): [<c01814eb>] trace_hardirqs_off+0xb/0x10
> softirqs last enabled at (579530): [<c0162724>] __do_softirq+0xf4/0x110
> softirqs last disabled at (579517): [<c01627ed>] do_softirq+0xad/0xb0
> irq event stamp: 579530
> hardirqs last enabled at (579528): [<c01826ab>] trace_hardirqs_on+0xb/0x10
> hardirqs last disabled at (579529): [<c01814eb>] trace_hardirqs_off+0xb/0x10
> softirqs last enabled at (579530): [<c0162724>] __do_softirq+0xf4/0x110
> softirqs last disabled at (579517): [<c01627ed>] do_softirq+0xad/0xb0
> PASSED
>
> Incidentally, the kernel also hung while I was typing in this report.
Things get weird between lockdep and ftrace because ftrace can be called
within lockdep internal code (via the mcount pointer) and lockdep can be
called with ftrace (via spin_locks).
Signed-off-by: Steven Rostedt <srostedt at redhat.com>
Tested-by: Vegard Nossum <vegard.nossum at gmail.com>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit f53281e62a41ac176f050307c0d746a1183a68e8
Author: Kailang Yang <kailang at realtek.com>
Date: Fri Jul 18 12:36:43 2008 +0200
ALSA: hda - Add support of ASUS Eeepc P90*
- Support ASUS_P900A = P703
- Support ASUS_P901
Signed-off-by: Kailang Yang <kailang at realtek.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit 51f6baad264ca4bacdbf4fa25c676fa30d344bfa
Author: Rene Herman <rene.herman at gmail.com>
Date: Fri Jul 18 11:15:12 2008 +0200
ALSA: opti9xx: no isapnp param for !CONFIG_PNP
"isapnp" needs CONFIG_PNP to be useful.
Signed-off-by: Rene Herman <rene.herman at gmail.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit 82af6bc0986c5140efc875b2d91326031f0254ab
Author: Takashi Iwai <tiwai at suse.de>
Date: Thu Jul 17 23:37:20 2008 +0200
ALSA: opti93x - Fix NULL dereference
Probing non-existing device causes Oops with snd-opti93x driver
due to NULL access in the destructor of the error path.
Signed-off-by: Takashi Iwai <tiwai at suse.de>
Tested-by: Rene Herman <rene.herman at gmail.com>
Acked-by: Rene Herman <rene.herman at gmail.com>
Tested-by: Ingo Molnar <mingo at elte.hu>
Acked-by: Ingo Molnar <mingo at elte.hu>
commit fbfca4b8781757c1950b2225ba67d83072e0bc07
Author: Ben Nizette <bn at niasdigital.com>
Date: Fri Jul 18 16:48:09 2008 +1000
avr32: clean up mci platform code
This patch does a few small cleanups around the atmel mci platform code
and in the atmel-mci driver. The platform changes simply removes an
unused variable, uses the fact that by the end we always have some form
of platform data and notes that GPIO_PIN_NONE != 0. This last point
could cause the incorrect attempt to twice reserve pin PA0.
While we've got the hood up, add linux/err.h to the atmel-mci.c include
list. It needs it and generally pulls it by voodoo but I did once
stumble across a config which don't build.
This is against Linus' latest git.
Signed-off-by: Ben Nizette <bn at niasdigital.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
commit 2522d7359301efadfb5744ebd3c623c3af4a7b30
Author: Alexander Holler <holler at ahsoftware.de>
Date: Thu Jul 17 23:36:15 2008 +0200
ALSA: hda - Added support for Asus V1Sn
Added the necessary ID for Asus V1Sn to patch_realtek.c
to use ALC861VD_LENOVO on these laptops.
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit 62fe8378d949c9a12bc2a5f51cd41fabf70e682c
Author: Adrian Bunk <bunk at kernel.org>
Date: Thu Jul 17 16:45:11 2008 +0300
fix avr32 build errors
Commit 7d2be0749a59096a334c94dc48f43294193cb8ed
(atmel-mci: Driver for Atmel on-chip MMC controllers)
causes build errors like:
<-- snip -->
...
CC arch/avr32/boards/atstk1000/atstk1003.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/avr32/boards/atstk1000/atstk1003.c: In function 'atstk1003_init':
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/avr32/boards/atstk1000/atstk1003.c:157: error: too few arguments to function 'at32_add_device_mci'
make[2]: *** [arch/avr32/boards/atstk1000/atstk1003.o] Error 1
<-- snip -->
Reported-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
commit 9dd8d812d3b4d208a769ca3cf23a7f9294632d0d
Author: Mark Brown <broonie at opensource.wolfsonmicro.com>
Date: Thu Jul 17 15:06:51 2008 +0100
ALSA: ASoC: Factor PGA DAPM handling into main
This allows pre and post event hooks to be provided for PGA widgets.
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit 2927d6eeca0a5004d81fa5bedbdf3f2b1b842903
Author: Mark Brown <broonie at opensource.wolfsonmicro.com>
Date: Thu Jul 17 15:06:50 2008 +0100
ALSA: ASoC: Refactor DAPM event handler
The DAPM event callback code has many layers of indentation, taking it
over 80 columns. Refactor the code to give less indentation in order to
avoid checkpatch issues on further changes and exploding indentation.
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit 462dba28e1921f19319d11a44b7bb97e72da2a79
Author: Rene Herman <rene.herman at gmail.com>
Date: Thu Jul 17 14:02:16 2008 +0200
ALSA: ALSA: ens1370: communicate PCI device to AC97
communicate the ES137x PCI device to the AC97 code for its
subsys_vendor/device values
Signed-off-by: Rene Herman <rene.herman at gmail.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit c0e741d47859fcabb84a37589a4f49801ca8590a
Author: Kim Phillips <kim.phillips at freescale.com>
Date: Thu Jul 17 20:20:59 2008 +0800
crypto: talitos - sparse fix
Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
commit fa86a26795b850cdf4e557898457a63e241c1aa1
Author: Kim Phillips <kim.phillips at freescale.com>
Date: Thu Jul 17 20:20:06 2008 +0800
crypto: talitos - Stop leaking memory in error path
free edescriptor when returning error (such as -EAGAIN).
Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
Acked-by: Lee Nipper <lee.nipper at freescale.com>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
commit 586725f8604ef16ebbfdd66e73036e162ae00135
Author: Kim Phillips <kim.phillips at freescale.com>
Date: Thu Jul 17 20:19:18 2008 +0800
crypto: talitos - Fix GFP flag usage
use GFP_ATOMIC when necessary; use atomic_t when allocating submit_count.
Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
Acked-by: Lee Nipper <lee.nipper at freescale.com>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
commit ec6644d6325b5a38525f1d5b20fd4bf7db05cf2a
Author: Kim Phillips <kim.phillips at freescale.com>
Date: Thu Jul 17 20:16:40 2008 +0800
crypto: talitos - Preempt overflow interrupts
add requests pending/submit count to prevent request queue full
condition by preempting h/w overflow interrupts in software.
We do this due to the delay in the delivery and handling of the
channel overflow error interrupt.
Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
Acked-by: Lee Nipper <lee.nipper at freescale.com>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
commit 810fd3f3f621fef9d1ac71b198d830fdeafbc1c3
Author: Rene Herman <rene.herman at gmail.com>
Date: Thu Jul 17 09:22:29 2008 +0200
ALSA: ens1370: SRC stands for Sample Rate Converter
Signed-off-by: Rene Herman <rene.herman at gmail.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit 695ad589698571046d42a4450c2d801486905535
Author: Lee Nipper <lee.nipper at freescale.com>
Date: Thu Jul 17 16:22:30 2008 +0800
crypto: talitos - Correct dst != src case handling
Seems that dst == src, but this fixes the logic in case it's not.
Signed-off-by: Lee Nipper <lee.nipper at freescale.com>
Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
commit 4aaf087846f9a1f1ec272393f5cd78f713e24f37
Author: Lee Nipper <lee.nipper at freescale.com>
Date: Thu Jul 17 15:58:08 2008 +0800
crypto: talitos - Remove calls to of_node_put
Remove of_node_put calls since there is no corresponding of_node_get.
This patch prevents an exception when talitos is loaded a 2nd time.
This sequence: modprobe talitos; rmmod talitos; modprobe talitos
causes this message: "WARNING: Bad of_node_put() on /soc8349 at e0000000/crypto at 30000".
Signed-off-by: Lee Nipper <lee.nipper at freescale.com>
Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
commit e785d3d8fb5fab744d67fac9966229bcdc52db45
Author: Takashi Iwai <tiwai at suse.de>
Date: Tue Jul 15 16:28:43 2008 +0200
ALSA: hda - Align BDL position adjustment parameter
It seems NVidia and other hardwares require the alignment for period
update timing. For satisfying this condition, align the position
adjustment for delayed wake-up to the initial bdl_pos_adj value.
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit 1a8caeebe3689ad4ef67d7ff5d4143f7748deedd
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Wed Jul 16 17:07:26 2008 +0800
Blackfin arch: use local labels and ENDPROC() markings
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 7dee62ac5a3e3f5aa7cc5069fa2d32cec5117229
Author: Yi Li <yi.li at analog.com>
Date: Sat Jul 19 20:53:46 2008 +0800
Blackfin arch: Do not need this dualcore test module in kernel.
Signed-off-by: Yi Li <yi.li at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 2b30a55d4d09254d6b25814bf6ac0b7843afdc99
Author: Roel Kluin <roel.kluin at gmail.com>
Date: Tue Jul 15 15:07:19 2008 +0200
ALSA: Au1xpsc: psc not disabled when TX is idle
TX idleness isn't tested, but RX twice. PSC is not disabled when TX is idle
Signed-off-by: Roel Kluin <roel.kluin at gmail.com>
Acked-by: Manuel Lauss <mano at roarinelk.homelinux.net>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit f6127efba1295b4668327b97014e678370028827
Author: Rene Herman <rene.herman at gmail.com>
Date: Tue Jul 15 03:00:21 2008 +0200
ALSA: add TriTech 28023 AC97 codec ID and Wolfson 9701 name.
Signed-off-by: Rene Herman <rene.herman at gmail.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
commit 6546eae4fd90ab11ca7ab6d6b9e1b243d1ce5fe6
Author: Jie Zhang <jie.zhang at analog.com>
Date: Tue Jul 15 16:15:40 2008 +0800
Blackfin arch: Allow ptrace to peek and poke application data in L1 data SRAM.
Signed-off-by: Jie Zhang <jie.zhang at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 2cfebf2bceff4645b403246b608b1bb6222e4deb
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Wed Jul 16 16:59:05 2008 +0800
Blackfin arch: Add ANOMALY_05000368 workaround
Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 1efc80b53eb54770139219f99657abd92595fc86
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Sat Jul 19 16:57:32 2008 +0800
Blackfin arch: Functional power management support
Enable: PM_SUSPEND_MEM -> Blackfin Hibernate to SDRAM
This feature requires a special bootloader (u-boot)
supporting return from hibernate.
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 4f13f548cef5af1717cbbc341a1a3474f3e7466e
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Tue Jul 15 16:38:28 2008 +0800
Blackfin arch: Fix BUG - JUMP error in kernel (relocation truncated to fit: R_pcrel12_jump_s)
Use long jump
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 1c0d20cd29aec11a3580cedf0bccec25052e8d4c
Author: Bryan Wu <cooloney at kernel.org>
Date: Tue Jul 15 12:08:50 2008 +0800
Blackfin arch: add TXDWA definition to enable new feature
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 18c60c0a3b16fc7d6a55497a228602ad8509f838
Author: Benny Halevy <bhalevy at panasas.com>
Date: Mon Jun 30 19:59:14 2008 +0300
dlm: fix uninitialized variable for search_rsb_list callers
gcc 4.3.0 correctly emits the following warning.
search_rsb_list does not *r_ret if no dlm_rsb is found
and _search_rsb may pass the uninitialized value upstream
on the error path when both calls to search_rsb_list
return non-zero error.
The fix sets *r_ret to NULL on search_rsb_list's not-found path.
Signed-off-by: Benny Halevy <bhalevy at panasas.com>
Signed-off-by: David Teigland <teigland at redhat.com>
commit 311f6fc77c51926dbdfbeab0a5d88d70f01fa3f4
Author: Masatake YAMATO <yamato at redhat.com>
Date: Fri Jun 27 08:35:03 2008 -0500
dlm: release socket on error
It seems that `sock' allocated by sock_create_kern in
tcp_connect_to_sock() of dlm/fs/lowcomms.c is not released if
dlm_nodeid_to_addr an error.
Acked-by: Christine Caulfield <ccaulfie at redhat.com>
Signed-off-by: Masatake YAMATO <yamato at redhat.com>
Signed-off-by: David Teigland <teigland at redhat.com>
commit 329fc4c37212588091b64bdf09afaeb18642aae2
Author: David Teigland <teigland at redhat.com>
Date: Tue May 20 12:18:10 2008 -0500
dlm: fix basts for granted CW waiting PR/CW
The fix in commit 3650925893469ccb03dbcc6a440c5d363350f591 was addressing
the case of a granted PR lock with waiting PR and CW locks. It's a
special case that requires forcing a CW bast. However, that forced CW
bast was incorrectly applying to a second condition where the granted
lock was CW. So, the holder of a CW lock could receive an extraneous CW
bast instead of a PR bast. This fix narrows the original special case to
what was intended.
Signed-off-by: David Teigland <teigland at redhat.com>
commit 254ae43ab8d7877c980fca3636624e0777a70fa4
Author: Masatake YAMATO <yamato at redhat.com>
Date: Wed May 28 14:45:10 2008 +0900
dlm: check for null in device_write
If `device_write' method is called via "dlm-control",
file->private_data is NULL. (See ctl_device_open() in
user.c. ) Through proc->flags is read.
Signed-off-by: Masatake YAMATO <yamato at redhat.com>
Signed-off-by: David Teigland <teigland at redhat.com>
commit 1e8afea124added6409d5209f90d9949f5a13b32
Author: Stefan Richter <stefanr at s5r6.in-berlin.de>
Date: Sat Jul 12 14:51:18 2008 +0200
firewire: warn on unfinished transactions during card removal
After card->done and card->work are completed, any remaining pending
request would be a bug. We cannot safely complete a transaction at
that point anymore.
IOW card users must not drop their last fw_card reference (usually
indirect references through fw_device references) before their last
outbound transaction through that card was finished.
Signed-off-by: Stefan Richter <stefanr at s5r6.in-berlin.de>
commit b9549bc6803d6a16fe6a85b316b742ef82bd3931
Author: Stefan Richter <stefanr at s5r6.in-berlin.de>
Date: Sat Jul 12 14:50:42 2008 +0200
firewire: small fw_fill_request cleanup
- better name for a function argument
- removal of a local variable which became unnecessary after
"fully initialize fw_transaction before marking it pending"
Signed-off-by: Stefan Richter <stefanr at s5r6.in-berlin.de>
commit e9aeb46c93a8b1b703d00586c05d9a71aa7e0f0c
Author: Stefan Richter <stefanr at s5r6.in-berlin.de>
Date: Sat Jul 12 14:50:06 2008 +0200
firewire: fully initialize fw_transaction before marking it pending
In theory, card->flush_timer could already access a transaction between
fw_send_request()'s spin_unlock_irqrestore and the rest of what happens
in fw_send_request(). This would happen if the process which sends the
request is preempted and put to sleep right after spin_unlock_irqrestore
for longer than 100ms.
Therefore we fill in everything in struct fw_transaction at which the
flush_timer might look at before we lift the lock.
To do: Ensure that the timer does not pick up the transaction before
the time of the AT request event plus split transaction timeout.
Signed-off-by: Stefan Richter <stefanr at s5r6.in-berlin.de>
commit 792a61021c6043f6c2b24b1cdd42be5753b3e54c
Author: Stefan Richter <stefanr at s5r6.in-berlin.de>
Date: Sat Jul 12 14:49:19 2008 +0200
firewire: fix race of bus reset with request transmission
Reported by Jay Fenlason: A bus reset tasklet may call
fw_flush_transactions and touch transactions (call their callback which
will free them) while the context which submitted the transaction is
still inserting it into the transmission queue.
A simple solution to this problem is to _not_ "flush" the transactions
because of a bus reset (complete the transcations as 'cancelled'). They
will now simply time out (completed as 'cancelled' by the split-timeout
timer).
Jay Fenlason thought of this fix too but I was quicker to type it out.
:-)
Background:
Contexts which access an instance of struct fw_transaction are:
1. the submitter, until it inserted the packet which is embedded in the
transaction into the AT req DMA,
2. the AsReqTrContext tasklet when the request packet was acked by the
responder node or transmission to the responder failed,
3. the AsRspRcvContext tasklet when it found a request which matched
an incoming response,
4. the card->flush_timer when it picks up timed-out transactions to
cancel them,
5. the bus reset tasklet when it cancels transactions (this access is
eliminated by this patch),
6. a process which shuts down an fw_card (unregisters it from fw-core
when the controller is unbound from fw-ohci) --- although in this
case there shouldn't really be any transactions anymore because we
wait until all card users finished their business with the card.
All of these contexts run concurrently (except for the 6th, presumably).
The 1st is safe against the 2nd and 3rd because of the way how a request
packet is carefully submitted to the hardware. A race between 2nd and
3rd has been fixed a while ago (bug 9617). The 4th is almost safe
against 1st, 2nd, 3rd; there are issues with it if huge scheduling
latencies occur, to be fixed separately. The 5th looks safe against
2nd, 3rd, and 4th but is unsafe against 1st. Maybe this could be fixed
with an explicit state variable in struct fw_transaction. But this
would require fw_transaction to be rewritten as only dynamically
allocatable object with reference counting --- not a good solution if we
also can simply kill this 5th accessing context (replace it by the 4th).
Signed-off-by: Stefan Richter <stefanr at s5r6.in-berlin.de>
commit c71b47835188d0c2a1e1f9590564f1b71c651710
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Mon Jul 14 17:10:50 2008 +0800
Blackfin arch: set CROSS_COMPILE in our arch Makefile so it gets used by default
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit ed987319ed6a3f5e14c87141e210deb057a6c507
Author: Sonic Zhang <sonic.zhang at analog.com>
Date: Sat Jul 26 18:40:06 2008 +0800
Blackfin arch: update board defconfigs
Signed-off-by: Sonic Zhang <sonic.zhang at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 99d95bbd48f43dafdcd0540eb0da26c5655d7f33
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Mon Jul 14 17:04:14 2008 +0800
Blackfin arch: Remove redundant kernel option
use kernel command line mem and max_mem bootargs to limit
availabe memory instead.
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 96b86e94bcf7eadbd8c959c0474d2971b3695478
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Mon Jul 14 16:39:43 2008 +0800
Blackfin arch: use the symbolic IRQ define rather than the backend number
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 68e2fc78e5055740126df8eab0d31005495756c9
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Mon Jul 14 16:51:57 2008 +0800
Blackfin arch: Fix bug - Kernel does not boot if re-program clocks
Don't write conflicting data to EBIU_SDBCTL after the SDRAM is
configured. This can cause data corruption, since we might change SDRAM
row and column addressing modes.
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 260d5d3517c67c5b68b4e28c5d3e1e3b73976a90
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Mon Jul 14 16:34:05 2008 +0800
Blackfin arch: Fix bug - do not overflow the buffer given to us which tends to happen when CONFIG_L1_MAX_PIECE is increased past its default
Singed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 1f2d18690f4390ac4cf75648a5bc18fc07b3aef6
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Mon Jul 14 16:31:22 2008 +0800
Blackfin arch: Fix Bug - GPIO interrupts not disabled; edge sensitive interrupt hang system.
- Implement irq_chip.enable and irq_chip.disable
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 0533400b7813df6c22a171499434d30bd57e799c
Author: Stoyan Gaydarov <stoyboyker at gmail.com>
Date: Mon Jul 7 07:45:59 2008 -0500
[JFFS2] Use .unlocked_ioctl
This changes the .ioctl to the .unlocked_ioctl version.
Signed-off-by: Stoyan Gaydarov <stoyboyker at gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 36560d255b017dbcaefbf0f8fee7ad4dd1f0fe0a
Author: David Howells <dhowells at redhat.com>
Date: Tue Jul 8 17:09:03 2008 +0100
[MTD] Fix const assignment in the MTD command line partitioning driver
Fix const to non-const pointer assignment in the MTD command line partitioning
driver.
Signed-off-by: David Howells <dhowells at redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 3a3688b6af103e2c86a7cfc2050988655e184ecc
Author: Jean Delvare <khali at linux-fr.org>
Date: Thu Jul 10 13:37:08 2008 +0200
[MTD] [NOR] gen_probe: No debug message when debugging is disabled
Use pr_debug(...) instead of printk(KERN_DEBUG ...) so that the message
is only printed when debugging is enabled.
Signed-off-by: Jean Delvare <khali at linux-fr.org>
Tested-by: John stoffel <john at stoffel.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit f63af11ddb508ce7b2a270515244d145248cad7f
Author: Milton Miller <miltonm at bga.com>
Date: Thu Jul 10 16:14:18 2008 -0500
[MTD] [NAND] remove __PPC__ hardcoded address from DiskOnChip drivers
Such a hardcoded address can cause a checkstop or machine check if
the driver is in the kernel but the address is not acknowledged.
Both drivers allow an address to be specified as either a module
parameter or config option. Any future powerpc board should either
use one of these methods or find the address in the device tree.
Signed-off-by: Milton Miller <miltonm at bga.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 6f40470e745693ee4ad85edb441b0aad5cae3f00
Author: Ben Dooks <ben-linux at fluff.org>
Date: Wed Jul 9 14:09:20 2008 +0100
[MTD] [MAPS] Remove the bast-flash driver.
Remove the Simtec BAST flash driver as this has been replaced by using
the platform flash driver.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 0acf944c6853813ed19cdf46d4042a77dd878ab5
Author: Anton Vorontsov <avorontsov at ru.mvista.com>
Date: Fri Jun 27 23:04:20 2008 +0400
[MTD] [NAND] fsl_elbc_nand: ecclayout cleanups
This patch deletes oobavail assignments, they're calculated by the nand
core code in nand_scan_tail, plus current oobavail values are wrong for
the LP NANDs.
Also remove mtd->ecclayout and mtd->oobavail assignments, mtd core
handles this all by itself.
Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit ec6e0ea3bdf82ee9761d324c011c3627821f7410
Author: Anton Vorontsov <avorontsov at ru.mvista.com>
Date: Fri Jun 27 23:04:13 2008 +0400
[MTD] [NAND] fsl_elbc_nand: implement support for flash-based BBT
This patch implements support for flash-based BBT for chips working
through ELBC NAND controller, so that NAND core will not have to re-scan
for bad blocks on every boot.
Because ELBC controller may provide HW-generated ECCs we should adjust
bbt pattern and bbt version positions in the OOB free area.
Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
Acked-by: Scott Wood <scottwood at freescale.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 452db2724351ff3d9416a183a7955e00ab4e6ab4
Author: Anton Vorontsov <avorontsov at ru.mvista.com>
Date: Fri Jun 27 23:04:04 2008 +0400
[MTD] [NAND] fsl_elbc_nand: fix OOB workability for large page NAND chips
For large page chips, nand_bbt is looking into OOB area, and checking
for "0xff 0xff" pattern at OOB offset 0. That is, two bytes should be
reserved for bbt means.
But ELBC driver is specifying ecclayout so that oobfree area starts at
offset 1, so only one byte left for the bbt purposes.
This causes problems with any OOB users, namely JFFS2: after first mount
JFFS2 will fill all OOBs with "erased marker", so OOBs will contain:
OOB Data: ff 19 85 20 03 00 ff ff ff 00 00 08 ff ff ff ff
OOB Data: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
OOB Data: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
OOB Data: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
And on the next boot, NAND core will rescan for bad blocks, then will
see "0xff 0x19" pattern, and will mark all blocks as bad ones.
To fix the issue we should implement our own bad block pattern: just one
byte at OOB start. Though, this will work only for x8 chips. For x16
chips two bytes must be checked. Since ELBC driver does not support x16
NANDs (yet), we're safe for now.
Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
Acked-by: Scott Wood <scottwood at freescale.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit bd5a43822b438f297f4088f1cfd3514e32e56328
Author: David Brownell <dbrownell at users.sourceforge.net>
Date: Thu Jul 3 23:40:19 2008 -0700
[MTD] [NAND] atmel_nand can be modular
There's no reason to prevent the Atmel NAND driver from
building as a module.
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Acked-by: Andrew Victor <linux at maxim.org.za>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit d6248fddf717041f25781050e6392cc76525272d
Author: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Thu Jul 3 23:40:18 2008 -0700
[MTD] [NAND] atmel_nand: Work around AT32AP7000 ECC erratum
The ALE signal isn't correctly wired up to the ECC controller on the
AP7000, so it starts calculating ECC during the address cycles.
Work around this by resetting the ECC controller between the address and
data cycles.
Signed-off-by: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Acked-by: Andrew Victor <linux at maxim.org.za>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 23a346ca4a5a6f50f81062456af955155f68e313
Author: David Brownell <david-b at pacbell.net>
Date: Thu Jul 3 23:40:16 2008 -0700
[MTD] [NAND] atmel_nand speedup via {read,write}s{b,w}()
This uses __raw_{read,write}s{b,w}() primitives to access data on NAND
chips for more efficient I/O.
On an arm926 with memory clocked at 100 MHz, this reduced the elapsed time
for a 64 MiB read by 16%. ("dd" /dev/mtd0 to /dev/null, with an 8-bit
NAND using hardware ECC and 128KiB blocksize.)
Also some minor section tweaks:
- Use platform_driver_probe() so no pointer to probe() lingers
after that code has been removed at run-time.
- Use __exit and __exit_p so the remove() code will normally be
removed by the linker.
Since these buffer read/write calls are new, this increases the runtime
code footprint (by 88 bytes on my build, after the section tweaks).
[haavard.skinnemoen at atmel.com: rebase onto atmel_nand rename]
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Acked-by: Andrew Victor <linux at maxim.org.za>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 175428b2b3eeacf90dcc171d5915d6b4dc86e917
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Thu Jul 3 23:40:14 2008 -0700
[MTD] mtdchar.c remove shadowed variable warnings
Use einfo, oinfo for the inner erase_info and otp_info structs used in
individual case statements.
drivers/mtd/mtdchar.c:582:26: warning: symbol 'info' shadows an earlier one
drivers/mtd/mtdchar.c:380:23: originally declared here
drivers/mtd/mtdchar.c:596:26: warning: symbol 'info' shadows an earlier one
drivers/mtd/mtdchar.c:380:23: originally declared here
drivers/mtd/mtdchar.c:704:19: warning: symbol 'info' shadows an earlier one
drivers/mtd/mtdchar.c:380:23: originally declared here
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 5f6928378b165c4b0d57a711e1c1eb925ad33846
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Thu Jul 3 23:40:13 2008 -0700
[MTD] mtdchar.c silence sparse warning
The copy_to_user was casting away the address space to get the offset of
the length member. Use offsetof() instead and add it to the void __user
*argp.
drivers/mtd/mtdchar.c:527:23: warning: cast removes address space of expression
drivers/mtd/mtdchar.c:527:23: warning: incorrect type in argument 1 (different address spaces)
drivers/mtd/mtdchar.c:527:23: expected void [noderef] <asn:1>*to
drivers/mtd/mtdchar.c:527:23: got unsigned int *<noident>
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit 72289824423655e67993c25c91a7a86a34917209
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Thu Jul 3 23:54:42 2008 -0700
[MTD] m25p80: fix bug - ATmel spi flash fails to be copied to
Atmel serial flash tends to power up with the protection status bits set.
http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=4089
[michael.hennerich at analog.com: remove duplicate code]
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
commit a8931ef380c92d121ae74ecfb03b2d63f72eea6f
Merge: 90574d0a4d4b73308ae54a2a57a4f3f1fa98e984 e5a5816f7875207cb0a0a7032e39a4686c5e10a4
Author: David Woodhouse <David.Woodhouse at intel.com>
Date: Fri Jul 11 14:36:25 2008 +0100
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
commit fece418418f51e92dd7e67e17c5e3fe5a28d3279
Author: Dmitry Baryshkov <dbaryshkov at gmail.com>
Date: Tue Jun 24 18:51:07 2008 +0400
power_supply: Sharp SL-6000 (tosa) batteries support
This patch adds common battery interface support for Sharp SL-6000 (tosa).
Signed-off-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru at gmail.com>
commit 323ec001c6bb98eeabb5abbdbb8c8055d9496554
Author: Dmitry Baryshkov <dbaryshkov at gmail.com>
Date: Sun Jun 29 14:19:31 2008 +0400
x86: use generic per-device dma coherent allocator
Signed-off-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit ee7e5516be4f2107535ad5a3d47d9c79f93661a2
Author: Dmitry Baryshkov <dbaryshkov at gmail.com>
Date: Sun Jun 29 14:18:46 2008 +0400
generic: per-device coherent dma allocator
Currently x86_32, sh and cris-v32 provide per-device coherent dma
memory allocator.
However their implementation is nearly identical. Refactor out
common code to be reused by them.
Signed-off-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
commit fc68911ee379bff429c2f8dfc0a4d3277eb193ec
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Wed Jun 25 11:41:42 2008 +0800
Blackfin arch: use the generic platform nand driver to support nand flash on bf53x board which do not have on-chip nand flash controller
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
commit 90574d0a4d4b73308ae54a2a57a4f3f1fa98e984
Author: David Woodhouse <dwmw2 at infradead.org>
Date: Sat Jun 7 08:49:00 2008 +0100
[MTD] [NAND] Fix checkpatch warnings which showed up when atmel_nand.c moved
Some of them, at least.
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit e150d6e725c014d72106a8610be40b7b08beb77a
Author: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Fri Jun 6 18:04:58 2008 +0200
avr32: Add support for ATSTK1006
The ATSTK1006 is basically an upgraded version of ATSTK1002 with
128 MiB SDRAM and 256 MiB NAND flash on board.
Otherwise, the board is very similar to the ATSTK1002, so it uses the
same board support file.
Signed-off-by: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 984290ded4ee3834ca913fe361afe3bf625cd9c0
Author: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Fri Jun 6 18:04:57 2008 +0200
[MTD] [NAND] atmel_nand: make available on AVR32
Make the atmel_nand driver selectable on AVR32, and update the Kconfig
help text to reflect this.
Signed-off-by: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 62090a08aba579e6c69319fac4d4a1f806f26400
Author: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Fri Jun 6 18:04:56 2008 +0200
[MTD] [NAND] avr32: atmel_nand platform code for AT32AP700x
This function initializes and adds a platform_device for a NAND flash
interface on SMC chip select 3.
Signed-off-by: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit e1677ce4e41a7c1bbc35a0dee27d5c7e7d223a4b
Author: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Fri Jun 6 18:04:55 2008 +0200
avr32: move hsmc_init() to core_initcall
The board init code, typically running from postcore_initcall, may
need to set up SMC timings. We have to make sure the SMC driver is
ready before this happens.
Signed-off-by: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit cc0c72e173db70a3a864994b05ebbe59b79b888f
Author: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Fri Jun 6 18:04:54 2008 +0200
[MTD] [NAND] atmel_nand: Clean up and fix probe() error path
This fixes several bugs in the atmel_nand_probe() error path, including
at least one memory leak.
Signed-off-by: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 3c3796cc32b6e53653a5eb868dc959b8c2779db9
Author: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Fri Jun 6 18:04:53 2008 +0200
[MTD] [NAND] rename at91_nand -> atmel_nand: internal symbols
This is basically s/at91_nand/atmel_nand/g with some manual inspection.
Signed-off-by: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit d4f4c0aa8e36f69e46360b3d3569dc15d6099894
Author: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Fri Jun 6 18:04:52 2008 +0200
[MTD] [NAND] rename at91_nand -> atmel_nand: file names and Kconfig
The AT91 NAND driver needs just a few tiny modifications to work on
AVR32 as well. Rename it atmel_nand to reflect this.
Also move the ECC register definitions into drivers/mtd/nand since they
are only useful to the atmel_nand driver, and get rid of the useless
filename at the top of each file.
Signed-off-by: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 62fd71fe710886ba449e932ad7877f4a8340c2d4
Author: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Fri Jun 6 18:04:51 2008 +0200
[MTD] [NAND] at91_nand: Convert to generic GPIO API
No point in using an AT91-specific GPIO API when the generic API works
just as well.
Signed-off-by: HÃ¥vard Skinnemoen <haavard.skinnemoen at atmel.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit aa83570e23e626fe8dd1253f17e6d175507025f1
Author: Anton Vorontsov <avorontsov at ru.mvista.com>
Date: Fri Jun 6 18:59:40 2008 +0400
[MTD] [NAND] fsl_elbc_nand: fix section mismatch between probe and remove
WARNING: drivers/mtd/nand/built-in.o(.devinit.text+0x114): Section mismatch
in reference from the function fsl_elbc_ctrl_probe() to the function
.devexit.text:fsl_elbc_ctrl_remove()
__devinit functions should not call functions with __devexit. Since probe
function calls remove in case of errors, we want to remove __devexit
attribute from it.
Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
Acked-by: Scott Wood <scottwood at freescale.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 4474573a90bae41351fad576fa80c424d62be567
Author: Randy Dunlap <randy.dunlap at oracle.com>
Date: Thu Jun 5 09:43:03 2008 -0700
[MTD] [NAND] nandsim: missing header for do_div
Fix nandsim build error, missing #include:
linux-next-20080605/drivers/mtd/nand/nandsim.c: In function 'divide':
linux-next-20080605/drivers/mtd/nand/nandsim.c:462: error: implicit declaration of function 'do_div'
Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 7e74a5076edb3555dc6c96dc91b155706515bb4c
Author: Ben Dooks <ben-linux at fluff.org>
Date: Tue May 20 17:32:27 2008 +0100
[MTD] [NAND] S3C2410: Remove changelog and tidy header
The changelog on the driver is superflous given this
is being kept under revision control. Remove the other
cruft in the header and update the copyright and the
supported device list.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 451d33993b13174d27474ad2ce7a2f10ce2e31ad
Author: Ben Dooks <ben-linux at fluff.org>
Date: Tue May 20 17:32:14 2008 +0100
[MTD] [NAND] S3C2410: Change printk() into dev_dbg()
Fix a minor problem with what should have been
debug output by changing printk() to dev_dbg()
inside s3c2410_nand_update_chip().
Thanks to David Woodhouse for pointing this out.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 2e3c22f57029ce04d55c07b8332ae405005456d9
Author: Mike Frysinger <vapier.adi at gmail.com>
Date: Mon May 19 18:32:24 2008 +0800
[MTD] [MAPS] Blackfin Async Flash Maps
Handle the case where flash memory and ethernet mac/phy are mapped onto
the same async bank
[try #4]
- drop superfluous casts
- drop SSYNC() when reading from the flash and rewrite
bfin_copy_from() to be like bfin_copy_to() so that
we dont have to handle all the aligned/unaligned cases
[try #3] rename bf5xx-flash to bfin-async-flash
- move all kconfig board settings into board resources
- fixup casting style according to lkml feedback
- rewrite driver so that it can handle arbitrary of
instances according to the declared platform resources
[try #2]
Remove useless SSYNC() as Will said
[try #1]
The BF533-STAMP does this for example.
All board-specific configuration goes in your board resources file.
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Acked-By: Jörn Engel <joern at logfs.org>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 71a928c0e52cedc43747c64b96a5f74592ab678f
Author: Chris Malley <mail at chrismalley.co.uk>
Date: Mon May 19 20:11:50 2008 +0100
[MTD] Use list_for_each_entry[_safe] where appropriate.
Janitorial work to remove temporary pointers and make some functions a bit
more readable.
Signed-off-by: Chris Malley <mail at chrismalley.co.uk>
Reviewed-By: Jörn Engel <joern at logfs.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 59018b6d2acabb114ab58637e6ab95ba424a89d0
Author: Adrian Bunk <bunk at kernel.org>
Date: Tue May 20 01:03:52 2008 +0300
MTD/JFFS2: remove CVS keywords
Once upon a time, the MTD repository was using CVS.
This patch therefore removes all usages of the no longer updated CVS
keywords from the MTD code.
This also includes code that printed them to the user.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 6eda7a55f786b75e7d3d636a9431e6c850b20d72
Author: Adrian Hunter <ext-adrian.hunter at nokia.com>
Date: Fri May 30 15:56:26 2008 +0300
[MTD] [NAND] nandsim: allow for 64-bit size
Amend nandsim so that it does not assume 32-bit flash size.
Signed-off-by: Adrian Hunter <ext-adrian.hunter at nokia.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 07293b20083cb66df35bf2041f0c554eaac43e8c
Author: Adrian Hunter <ext-adrian.hunter at nokia.com>
Date: Fri May 30 15:56:23 2008 +0300
[MTD] [NAND] nandsim: fix overridesize
Signed-off-by: Adrian Hunter <ext-adrian.hunter at nokia.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit af3deccfa67341a9df39b6f734afcc85998ad4b7
Author: Adrian Hunter <ext-adrian.hunter at nokia.com>
Date: Fri May 30 15:56:18 2008 +0300
[MTD] [NAND] nandsim: fix size bug
Signed-off-by: Adrian Hunter <ext-adrian.hunter at nokia.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 83973b87938a06a2af7e2a7fd1b630c35f8baff4
Author: Kyungmin Park <kyungmin.park at samsung.com>
Date: Thu May 29 14:52:40 2008 +0900
[MTD] [OneNAND] Check the ECC status first instead of controller
To get the correct information in case of power off recovery,
it should read ECC status first
Also remove previous workaround method.
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 271c5c59e00302494ffc299741e7fa2d63103e76
Author: David Woodhouse <dwmw2 at infradead.org>
Date: Wed Jun 4 17:43:22 2008 +0100
[MTD] DataFlash: use proper types
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit e9d42227bdc96238676bd28feca5815fcff2d6a8
Author: Michael Hennerich <michael.hennerich at analog.com>
Date: Tue Jun 3 12:26:05 2008 +0800
[MTD] DataFlash: fix bug - ATMEL AT45DF321D spi flash card fails to be copied to (v2)
- Add support for binary page size DataFlashes.
- The driver now prints out pagesize and erasesize.
Printout valuable information for creating flash filesystems.
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Cc: David Brownell <david-b at pacbell.net>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 856613c98c2f864994d5fb33a62b7a468f68ab9b
Author: matthias at kaehlcke.net <matthias at kaehlcke.net>
Date: Sat May 31 15:28:10 2008 +0200
[MTD] use list_for_each_entry() in del_mtd_device()
Signed-off-by: Matthias Kaehlcke <matthias at kaehlcke.net>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 2606c79759e83fd8b1e45bc99b10e65a1dcf1602
Author: matthias at kaehlcke.net <matthias at kaehlcke.net>
Date: Sat May 31 15:28:09 2008 +0200
[MTD] use list_for_each_entry() in add_mtd_device()
Signed-off-by: Matthias Kaehlcke <matthias at kaehlcke.net>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit ff0de61c3612410dc84a8de28761ef840d5d35ac
Author: Robert P. J. Day <rpjday at crashcourse.ca>
Date: Sun May 25 07:35:17 2008 -0400
[MTD] [NAND] excite_nandflash: simplify code using ARRAY_SIZE() macro.
Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 437d0d299f0e08954c3cb680221d7e888e1a857f
Author: Toralf Förster <toralf.foerster at gmx.de>
Date: Mon May 26 20:35:46 2008 +0200
[MTD] [NAND] fix 2 "unused variable" warnings in cafe_nand.c
Signed-off-by: Toralf Förster <toralf.foerster at gmx.de>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 1b0b30acf3fc76e5d4d278fa5a8c9c6ac9898745
Author: Mike Rapoport <mike at compulab.co.il>
Date: Tue May 27 11:20:07 2008 +0300
[MTD] [NOR] Add support for Eon EN29SL800B[BT] NOR flash chips
This patch add support for non-CFI Eon EN29SL800B[BT] NOR flash chips.
The Eon chips have manufacturer ID in the first bank, therefore this patch
depends on support for flash chips with ID in bank other than 0.
Signed-off-by: Mike Rapoport <mike at compulab.co.il>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 5c9c11e1c47c2101253a95c54ef72e13edcc728a
Author: Mike Rapoport <mike at compulab.co.il>
Date: Tue May 27 11:20:03 2008 +0300
[MTD] [NOR] Add support for flash chips with ID in bank other than 0
According to JEDEC "Standard Manufacturer's Identification Code"
(http://www.jedec.org/download/search/jep106W.pdf)
several first banks of NOR flash can contain 0x7f instead of actual ID.
This patch adds support for reading manufacturer ID from banks other than 0.
Signed-off-by: Mike Rapoport <mike at compulab.co.il>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 8fd310a1cc3aadb7a17d844beeefae66b1a169c6
Author: Mike Rapoport <mike at compulab.co.il>
Date: Tue May 27 11:19:57 2008 +0300
[MTD] [NOR] Add support for AMD AM29SL800D[BT] NOR flash chips
Signed-off-by: Mike Rapoport <mike at compulab.co.il>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit a29ccf6f823a84d89e1c7aaaf221cf7282022024
Author: David Woodhouse <dwmw2 at infradead.org>
Date: Tue Jun 3 14:59:40 2008 +0100
Make console charset translation optional
By turning off the new CONSOLE_TRANSLATIONS option and dropping the
associated code and tables from the kernel, we can save about 7KiB.
Taken from linux-tiny project by Tim Bird and mangled further by dwmw2.
Signed-off-by: Tim Bird <tim.bird at am.sony.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 75d8807962fc7529b4946e9ec92cae197be5a967
Author: Andres Salomon <dilinger at queued.net>
Date: Wed May 14 16:20:38 2008 -0700
power_supply: fix up CHARGE_COUNTER output to be more precise
As Richard Smith pointed out, ACR * 6250 / 15 provides for less
precision loss than ACR * 4167 / 10, _and_ it doesn't overflow. Switch
to using that equation for CHARGE_COUNTER.
Signed-off-by: Andres Salomon <dilinger at debian.org>
Cc: "Richard A. Smith" <richard at laptop.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Anton Vorontsov <cbouatmailru at gmail.com>
commit deb1a5f1134e7da0e3dacd37b5d32b7fe0600a7f
Author: Nate Case <ncase at xes-inc.com>
Date: Tue May 13 14:45:29 2008 -0500
[MTD] [NOR] Support for M50FLW080A and M50FLW080B
Add support for M50FLW080A and M50FLW080B revisions of LPC flash
devices.
Signed-off-by: Aaron Lindner <alindner at xes-inc.com>
Signed-off-by: Nate Case <ncase at xes-inc.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 8e552c36d90c03d2cabf5373788998966751b609
Author: Andres Salomon <dilinger at debian.org>
Date: Mon May 12 21:46:29 2008 -0400
power_supply: add CHARGE_COUNTER property and olpc_battery support for it
This adds PROP_CHARGE_COUNTER to the power supply class (documenting it
as well). The OLPC battery driver uses this for spitting out its ACR
values (in uAh). We have some rounding errors (the data sheet claims
416.7, the math actually works out to 416.666667, so we're forced to
choose between overflows or precision loss. I chose precision loss,
and stuck w/ data sheet values), but I don't think anyone will care
that much.
Signed-off-by: Andres Salomon <dilinger at debian.org>
Signed-off-by: Anton Vorontsov <cbouatmailru at gmail.com>
commit 91949d64548ead31df51c9fb6f7201ca8ffc9b51
Author: Alexander Belyakov <abelyako at mail.ru>
Date: Sun May 4 14:32:58 2008 +0400
[MTD] [NOR] Remove cfi_cmdset_0001.c erase suspend fixup typo
Fix typo in erase suspend while write fixup code leading to compile time
error if CMDSET0001_DISABLE_ERASE_SUSPEND_ON_WRITE was defined.
drivers/mtd/chips/cfi_cmdset_0001.c: In function 'fixup_intel_strataflash':
drivers/mtd/chips/cfi_cmdset_0001.c:212: error: 'struct cfi_pri_amdstd' has no member named 'SuspendCmdSupport'
Signed-off-by: Alexander Belyakov <abelyako at googlemail.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
commit 484d6d50cca3941db6e063113d124333aed0abc0
Author: Andres Salomon <dilinger at queued.net>
Date: Fri May 2 13:41:59 2008 -0700
power_supply: bump EC version check that we refuse to run with in olpc_battery
Refuse to run with an EC < 0x44. We're playing it safe, and this is a pretty
old EC version.
Also, add a comment about why we're checking the EC version.
Signed-off-by: Andres Salomon <dilinger at debian.org>
Cc: David Woodhouse <dwmw2 at infradead.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Anton Vorontsov <cbouatmailru at gmail.com>
commit b2bd8a3bcdd18101eb5d85c267c1a1fb8ce9acc7
Author: Andres Salomon <dilinger at queued.net>
Date: Fri May 2 13:41:59 2008 -0700
power_supply: cleanup of the OLPC battery driver
Move portions of the massive switch statement into functions. The layout of
this thing has already caused one bug (a break in the wrong place), it needed
to shrink.
Signed-off-by: Andres Salomon <dilinger at debian.org>
Cc: David Woodhouse <dwmw2 at infradead.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Anton Vorontsov <cbouatmailru at gmail.com>
commit d7eb9e36c42504e87c7d92dd5c05cb6f2cf74d28
Author: Andres Salomon <dilinger at queued.net>
Date: Fri May 2 13:41:58 2008 -0700
power_supply: add eeprom dump file to olpc_battery's sysfs
This allows you to dump 0x60 bytes from the battery's EEPROM (starting at
address 0x20). Note that it does an EC command for each byte, so it's pretty
slow. OTOH, if you want to grab just a single byte from somewhere in the
EEPROM, you can do something like:
dd bs=1 count=1 skip=16 if=/sys/class/power_supply/olpc-battery/eeprom | od -x
Userspace battery collection/logging information needs this.
Signed-off-by: Andres Salomon <dilinger at debian.org>
Cc: David Woodhouse <dwmw2 at infradead.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Anton Vorontsov <cbouatmailru at gmail.com>
commit 1ca5b9d2183f11bb8b69e04b19a7faf7f600a840
Author: David Woodhouse <dwmw2 at infradead.org>
Date: Sun May 4 01:31:42 2008 -0400
power_supply: Support serial number in olpc_battery
This adds serial number support to the OLPC battery driver.
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
Signed-off-by: Andres Salomon <dilinger at debian.org>
Signed-off-by: Anton Vorontsov <cbouatmailru at gmail.com>
More information about the commitlog
mailing list