aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-06-23V4L/DVB (12075): gspca_ov519: check ov518 packet numbersHans de Goede1-6/+23
Check ov518 packet numbers to detect dropped packets. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-23V4L/DVB (12074): gspca_ov519: Add 320x240 and 160x120 support for cif sensor ↵Hans de Goede1-3/+30
cams gspca_ov519: Add 320x240 and 160x120 support for cif sensor cams Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-23V4L/DVB (12073): gspca_ov519: limit ov6630 qvif uv swap fix to ov66308AFHans de Goede1-14/+24
The fix for the UV swapping in qcif mode with the ov6630, which I did to fix this issue on a ov518 cam with an ov66308AF, causes UV swapping in qcif with another cam of mine with the ov518 and an ov66308AE, so this patch changes the code to differentiate between the ov66308AF and other ov6630 versions, and restricts the UV swap fix to the ov66308AF. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-23V4L/DVB (12072): gspca-ov519: add extra controlsHans de Goede2-10/+207
This patch adds autobrightness (so that it can be turned off to make the already present brightness control work) and light frequency filtering controls. The lightfreq control needed 2 different entries in the ctrls array, as the number of options differs depending on the sensor. Always one of the 2 entires is disabled ofcourse. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-23V4L/DVB (12071): gspca: fix NULL pointer deref in query_ctrlHans de Goede1-5/+3
gspca: fix NULL pointer deref in query_ctrl Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-23V4L/DVB (12010): cx88: Properly support Leadtek TV2000 XP GlobalMauro Carvalho Chehab2-22/+78
Fix Leadtek TV2000 XP Global entries and add missing PCI ID's. Thanks to Terry Wu <[email protected]> for pointing us for the proper settings. Cc: Terry Wu <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-22mlx4_core: Fix dma_sync_single_for_cpu() with matching for_device() callsRoland Dreier1-4/+10
Commit 5d23a1d2 ("net: replace dma_sync_single with dma_sync_single_for_cpu") replaced uses of the deprectated function dma_sync_single() with calls to dma_sync_single_for_cpu(). However, to be correct, the code should do a sync for_cpu() before touching the memory and for_device() after it's done. Signed-off-by: Roland Dreier <[email protected]>
2009-06-22IB/mthca: Replace dma_sync_single() use with proper functionsRoland Dreier1-3/+10
dma_sync_single() is deprecated now, and the use in mthca is wrong: there should be a dma_sync_single_for_cpu() before touching the memory from the CPU, and a dma_sync_single_for_device() afterwards. Fix this, prompted by a kick in the pants from a patch from FUJITA Tomonori <[email protected]>. Signed-off-by: Roland Dreier <[email protected]>
2009-06-23libata: don't set IORDY for resetTejun Heo1-4/+9
Before issuing reset, libata configures xfermode to PIO0 which makes some drivers turn on IORDY which may cause the controller to lock up if the port is not occupied. IORDY isn't necessary at this point anyway. Make ata_pio_need_iordy() return zero if it's being called for reset. This fixes bko#11703. Reported and tracked down by Daniel Gnoutcheff and Constantine Gavrilov. Signed-off-by: Tejun Heo <[email protected]> Reported-by: Daniel Gnoutcheff <[email protected]> Cc: Constantine Gavrilov <[email protected]> Cc: Alan Cox <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2009-06-23sata_fsl: Add power mgmt supportDave Liu1-0/+35
Signed-off-by: Dave Liu <[email protected]> Signed-off-by: Liu Yu <[email protected]> Signed-off-by: Kumar Gala <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2009-06-23[libata] PATA driver for CF interface on AT91SAM9260 SoCSergey Matyukevich3-0/+370
This patch provides PATA driver for CompactFlash interface in True IDE mode on AT91SAM9260 SoC. Signed-off-by: Sergey Matyukevich <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2009-06-23[libata] beautify module parametersEvgeni Golov1-6/+6
1. add defaults to description where possible 2. add value definition (off=0, on=1) where missing v2: reformatted as per request by Jeff Garzik <[email protected]> "Enable foo (0=off, 1=on [default])" Signed-off-by: Evgeni Golov <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2009-06-22RDMA/nes: Fix FIN state handling under error conditionsFaisal Latif1-3/+5
During cluster testing, one QP was not closed, as FIN is not handled properly when its rexmit count expires or in some cases when RST is is received after sending FIN. The reason is that the cm_id does not get decremented under these conditions. Signed-off-by: Faisal Latif <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
2009-06-22RDMA/nes: Fix max_qp_init_rd_atom returned from query deviceFaisal Latif1-1/+1
In nes_query_device(), max_qp_init_rd_atom is incorrectly set to max_qp_wr. This was found when a test application had a dapl async event error. Signed-off-by: Faisal Latif <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
2009-06-22IB/ehca: Ensure that guid_entry index is not negativeRoel Kluin1-1/+1
This prevents the memcpy() of a guid_entries element using a negative index. Signed-off-by: Roel Kluin <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
2009-06-22IB/ehca: Tolerate dynamic memory operations before driver loadHannes Hering3-17/+522
Implement toleration of dynamic memory operations and 16 GB gigantic pages, where "toleration" means that the driver can cope with dynamic memory operations that happen before the driver is loaded. While the ehca driver is loaded, dynamic memory operations are still prohibited by returning NOTIFY_BAD from the memory notifier. On module load the driver walks through available system memory, checks for available memory ranges and then registers the kernel internal memory region accordingly. The translation of address ranges is implemented via a 3-level busmap. Signed-off-by: Hannes Hering <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
2009-06-22Merge branch 'for-linus' of ↵Linus Torvalds82-1216/+1530
git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin: (27 commits) Blackfin: fix dma-mapping build errors Blackfin: hook up new perf_counter_open syscall Blackfin: drop BF535-specific text for exception 0x2A (unaligned instruction) Blackfin: fix early crash when booting on wrong cpu Blackfin: fix GPTMR0_CLOCKSOURCE dependency on BFIN_GPTIMERS Blackfin: drop unused ISP1760 port1_disable from board resources Blackfin: bf526-ezbrd: handle different SDRAM chips Blackfin: fix typo in TRAS define in mem_init.h header Blackfin: unify memory map headers Blackfin: stick the CPU name into boot image name Blackfin: update defconfigs Blackfin: decouple unrelated cache settings to get exact behavior Blackfin: update I-pipe patch level Blackfin: remove obsolete mcount support from I-pipe code Blackfin: allow CONFIG_TICKSOURCE_GPTMR0 with interrupt pipeline Blackfin: convert interrupt pipeline to irqflags Blackfin: allow people to select BF51x-0.1 silicon rev Blackfin: bf526-ezbrd: set SPI flash resources to SST device Blackfin: fix accidental reset in some boot modes Blackfin: abstract irq14 lowering in do_irq ...
2009-06-22Merge git://git.infradead.org/~dwmw2/iommu-2.6.31Linus Torvalds17-217/+754
* git://git.infradead.org/~dwmw2/iommu-2.6.31: intel-iommu: Fix one last ia64 build problem in Pass Through Support VT-d: support the device IOTLB VT-d: cleanup iommu_flush_iotlb_psi and flush_unmaps VT-d: add device IOTLB invalidation support VT-d: parse ATSR in DMA Remapping Reporting Structure PCI: handle Virtual Function ATS enabling PCI: support the ATS capability intel-iommu: dmar_set_interrupt return error value intel-iommu: Tidy up iommu->gcmd handling intel-iommu: Fix tiny theoretical race in write-buffer flush. intel-iommu: Clean up handling of "caching mode" vs. IOTLB flushing. intel-iommu: Clean up handling of "caching mode" vs. context flushing. VT-d: fix invalid domain id for KVM context flush Fix !CONFIG_DMAR build failure introduced by Intel IOMMU Pass Through Support Intel IOMMU Pass Through Support Fix up trivial conflicts in drivers/pci/{intel-iommu.c,intr_remapping.c}
2009-06-22Merge branch 'for-linus' of ↵Linus Torvalds8-136/+1807
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: new stack is no longer experimental firewire: net: better FIFO address range check and rcodes firewire: net: fix card driver reloading firewire: core: fix iso context shutdown on card removal firewire: core: fix DMA unmapping in iso buffer removal firewire: net: adjust net_device ops firewire: net: remove unused code firewire: net: allow for unordered unit discovery firewire: net: style changes firewire: net: add Kconfig item, rename driver firewire: add IPv4 support
2009-06-22NFS: Correct the NFS mount path when following a referralTrond Myklebust1-0/+24
Signed-off-by: Trond Myklebust <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2009-06-22NFS: Fix nfs_path() to always return a '/' at the beginning of the pathTrond Myklebust1-0/+5
Signed-off-by: Trond Myklebust <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2009-06-22NFSv4: Replace nfs4_path_walk() with VFS path lookup in a private namespaceTrond Myklebust1-21/+157
As noted in the previous patch, the NFSv4 client mount code currently has several limitations. If the mount path contains symlinks, or referrals, or even if it just contains a '..', then the client code in nfs4_path_walk() will fail with an error. This patch replaces the nfs4_path_walk()-based lookup with a helper function that sets up a private namespace to represent the namespace on the server, then uses the ordinary VFS and NFS path lookup code to walk down the mount path in that namespace. Signed-off-by: Trond Myklebust <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2009-06-22VFS: Add VFS helper functions for setting up private namespacesTrond Myklebust2-8/+38
The purpose of this patch is to improve the remote mount path lookup support for distributed filesystems such as the NFSv4 client. When given a mount command of the form "mount server:/foo/bar /mnt", the NFSv4 client is required to look up the filehandle for "server:/", and then look up each component of the remote mount path "foo/bar" in order to find the directory that is actually going to be mounted on /mnt. Following that remote mount path may involve following symlinks, crossing server-side mount points and even following referrals to filesystem volumes on other servers. Since the standard VFS path lookup code already supports walking paths that contain all these features (using in-kernel automounts for following referrals) we would like to be able to reuse that rather than duplicate the full path traversal functionality in the NFSv4 client code. This patch therefore defines a VFS helper function create_mnt_ns(), that sets up a temporary filesystem namespace and attaches a root filesystem to it. It exports the create_mnt_ns() and put_mnt_ns() function for use by filesystem modules. Signed-off-by: Trond Myklebust <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2009-06-22VFS: Uninline the function put_mnt_ns()Trond Myklebust2-10/+7
In order to allow modules to use it without having to export vfsmount_lock. Signed-off-by: Trond Myklebust <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2009-06-22mm/init: cpu_hotplug_init() must be initialized before SLABLinus Torvalds3-14/+5
SLAB uses get/put_online_cpus() which use a mutex which is itself only initialized when cpu_hotplug_init() is called. Currently we hang suring boot in SLAB due to doing that too late. Reported by James Bottomley and Sachin Sant (and possibly others). Debugged by Benjamin Herrenschmidt. This just removes the dynamic initialization of the data structures, and replaces it with a static one, avoiding this dependency entirely, and removing one unnecessary special initcall. Tested-by: Sachin Sant <[email protected]> Tested-by: James Bottomley <[email protected]> Tested-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2009-06-22Blackfin: fix dma-mapping build errorsFUJITA Tomonori1-0/+13
The recent deprecation of dma_sync_{sg,single} ironically broke Blackfin systems. This is because we don't define dma_sync_sg_for_cpu at all, so until the DMA asm-generic conversion/cleanup is done after the next release, simply stub out the dma_sync_sg_for_{cpu,device} functions. Signed-off-by: FUJITA Tomonori <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: hook up new perf_counter_open syscallMike Frysinger2-1/+3
Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: drop BF535-specific text for exception 0x2A (unaligned instruction)Yi Li1-3/+1
We don't support the BF535 at all, and the exception 0x2A text specific to it is pretty verbose and confusing (since the behavior is simply odd), so punt it to keep the noise down. Signed-off-by: Yi Li <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: fix early crash when booting on wrong cpuRobin Getz1-8/+15
Make sure we process the kernel command line before poking the hardware, so that we can process early printk. This helps ensure that if you boot a kernel configured for a different processor, something will be left in the log buffer. Signed-off-by: Robin Getz <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: fix GPTMR0_CLOCKSOURCE dependency on BFIN_GPTIMERSMike Frysinger1-0/+1
The GPTMR0_CLOCKSOURCE Kconfig option requires the gptimers framework, so make sure it is selected when this option is enabled. Reported-by: Peter Meerwald <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: drop unused ISP1760 port1_disable from board resourcesMike Frysinger5-5/+0
The port1 disable stuff was dropped from the USB ISP1760, so update the Blackfin boards accordingly. Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: bf526-ezbrd: handle different SDRAM chipsGraf Yang2-1/+92
The BF526-EZBRD changed SDRAM chips between board revisions, so create a timing table that can accommodate both. Signed-off-by: Graf Yang <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: fix typo in TRAS define in mem_init.h headerGraf Yang1-1/+1
We defined SDRAM_tRAS to TRAS_4, but then wrongly defined SDRAM_tRAS_num to 3. Signed-off-by: Graf Yang <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: unify memory map headersMike Frysinger16-350/+145
Many aspects of the Blackfin memory map is exactly the same across all variants. Rather than copy and paste all of these duplicated values in each header, unify all of these into the common Blackfin memory map header file. In the process, push down BF561 SMP specific stuff to the BF561 specific header to keep the noise down. Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: stick the CPU name into boot image nameRobin Getz1-1/+1
Rather than use "Linux" in the boot image name (as this is redundant -- the image type is already set to "linux"), use the CPU name. This makes it fairly obvious when a wrong image is accidentally booted. Otherwise there is no kernel output and you waste time scratching your head wondering wtf just happened. Signed-off-by: Robin Getz <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: update defconfigsMike Frysinger20-155/+272
Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: decouple unrelated cache settings to get exact behaviorJie Zhang11-81/+176
The current cache options don't really represent the hardware features. They end up setting different aspects of the hardware so that the end result is to turn on/off the cache. Unfortunately, when we hit cache problems with the hardware, it's difficult to test different settings to root cause the problem. The current settings also don't cleanly allow for different caching behaviors with different regions of memory. So split the configure options such that they properly reflect the settings that are applied to the hardware. Signed-off-by: Jie Zhang <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: update I-pipe patch levelPhilippe Gerum1-2/+2
Signed-off-by: Philippe Gerum <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: remove obsolete mcount support from I-pipe codePhilippe Gerum3-76/+0
Signed-off-by: Philippe Gerum <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: allow CONFIG_TICKSOURCE_GPTMR0 with interrupt pipelinePhilippe Gerum3-27/+28
Signed-off-by: Philippe Gerum <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: convert interrupt pipeline to irqflagsPhilippe Gerum5-30/+177
Signed-off-by: Philippe Gerum <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: allow people to select BF51x-0.1 silicon revMike Frysinger1-1/+1
Now that 0.1 of the BF51x is coming out, allow people to build for it. Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: bf526-ezbrd: set SPI flash resources to SST deviceGraf Yang1-2/+2
The BF526-EZBRD has a SST SPI flash on it, not a ST Micro. Signed-off-by: Graf Yang <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: fix accidental reset in some boot modesSonic Zhang1-1/+2
We read the SWRST (Software Reset) register to get at the last reset state, and then we may configure the DOUBLE_FAULT bit to control behavior when a double fault occurs. But if the lower bits of the register is already set (like UART boot mode on a BF54x), we inadvertently make the system reset by writing to the SYSTEM_RESET field at the same time. So make sure the lower 4 bits are always cleared. Signed-off-by: Sonic Zhang <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: abstract irq14 lowering in do_irqMike Frysinger1-18/+25
Split out the optional IRQ14 lowering code to further simplify the asm_do_IRQ() function and keep the ifdef nest under control. Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: simplify irq stack overflow checkingMike Frysinger1-15/+17
Take a page from x86 and abstract the stack checking out of the asm_do_IRQ() function so that the result is easier to digest. Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: only build show_interrupts() when procfs is enabledMike Frysinger1-0/+2
Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: redo handling of bad irqsMike Frysinger1-42/+11
With the common IRQ code initializing much more of the irq_desc state, we can't blindly initialize it ourselves to the local bad_irq state. If we do, we end up wrongly clobbering many fields. So punt most of the bad irq code as the common layers will handle the default state, and simply call handle_bad_irq() directly when the IRQ we are processing is invalid. Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: update anomaly listsMike Frysinger7-125/+178
Update anomaly headers to match latest released anomaly sheets. Signed-off-by: Mike Frysinger <[email protected]>
2009-06-22Blackfin: bf533-ezkit: add resources for FISP devicesMike Frysinger1-0/+106
The BF533-EZKIT has two Flash In-System Programming devices hooked up to the async memory bus, so add resources for the primary flashes and the SRAMs on the devices. Signed-off-by: Mike Frysinger <[email protected]>