Re: [PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-07-28 Thread Tino Reichardt
* Tino Reichardt list-linux-fsde...@mcmilk.de wrote: This patch adds support for the two linux interfaces of the discard/TRIM command for SSD devices and sparse/thinly-provisioned LUNs. Fixed a problem when setting minlen in jfs_ioc_trim(). Signed-off-by: Tino Reichardt list-...@mcmilk.de --

Re: [RFC PATCH] netconsole.txt: nc needs -p to specify the listening port

2012-07-28 Thread Dirk Gouders
Borislav Petkov b...@alien8.de writes: On Fri, Jul 27, 2012 at 11:24:53AM +0200, Dirk Gouders wrote: Cong Wang xiyou.wangc...@gmail.com writes: On Fri, Jul 27, 2012 at 2:35 PM, Dirk Gouders goud...@et.bocholt.fh-gelsenkirchen.de wrote: Hi Jesse, I would like to ask you to check if

Re: Kernel Oops while disconnecting USB peripheral (always)

2012-07-28 Thread Daniel Mack
On 23.07.2012 17:04, Sarbojit Ganguly wrote: On 23 July 2012 20:17, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 23 Jul 2012, Sarbojit Ganguly wrote: Hello Daniel, That is why I provided two stacks, 1st one is when I tried to remove the USB hub (which connects a webcam +

Re: [PATCH] ixp4xx: Declare MODULE_FIRMWARE usage

2012-07-28 Thread Krzysztof Halasa
Tim Gardner tim.gard...@canonical.com writes: +++ b/arch/arm/mach-ixp4xx/ixp4xx_npe.c @@ -116,7 +116,11 @@ /* NPE mailbox_status value for reset */ #define RESET_MBOX_STAT 0xF0F0 -const char *npe_names[] = { NPE-A, NPE-B, NPE-C }; +#define NPE_A_FIRMWARE NPE-A

Re: [PATCH] Documentation: fix DOCBOOKS=... building

2012-07-28 Thread Johannes Berg
On Fri, 2012-07-27 at 15:29 -0700, Randy Dunlap wrote: On 06/13/2012 01:43 AM, Johannes Berg wrote: From: Johannes Berg johannes.b...@intel.com Prior to commit 4266129964b8238526936d723de65b419d8069c6 Author: Mauro Carvalho Chehab mche...@redhat.com Date: Tue May 31 16:27:44

[RFC PATCH 0/3] ACPI based system device hotplug framework

2012-07-28 Thread Jiang Liu
From: Jiang Liu liu...@gmail.com The patchset is based on v3.5-rc6 and you may pull them from: git://github.com/jiangliu/linux.git acpihp Modern high-end server may support advanced hotplug features for system devices, including physical processor, memory board, IO extension board and/or

[PATCH] floppy: remove duplicated flag FD_RAW_NEED_DISK

2012-07-28 Thread Fengguang Wu
Fix coccinelle warning (without behavior change): drivers/block/floppy.c:2518:32-48: duplicated argument to or | Signed-off-by: Fengguang Wu fengguang...@intel.com --- diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 553f43a..0fcbe14 100644 --- a/drivers/block/floppy.c +++

Re: Kernel Oops while disconnecting USB peripheral (always)

2012-07-28 Thread Bjørn Mork
Daniel Mack zon...@gmail.com writes: On 23.07.2012 16:47, Alan Stern wrote: On Mon, 23 Jul 2012, Sarbojit Ganguly wrote: That is why I provided two stacks, 1st one is when I tried to remove the USB hub (which connects a webcam + microphone) 2nd one is when I tried to remove an USB powered

drivers/mfd/tps65090.c: duplicated TPS65090_INT_STS tests

2012-07-28 Thread Fengguang Wu
Hi Venu, Is this coccinelle warning a trivial one, or indicates some copypaste error? It's introduced by commit 3c33be06 (mfd: Add support for TPS65090). drivers/mfd/tps65090.c:239:5-30: duplicated argument to or || vim +239 drivers/mfd/tps65090.c 236 237 static bool

[PATCH] pch_uart: check kzalloc result in dma_handle_tx()

2012-07-28 Thread Fengguang Wu
Reported by coccinelle: drivers/tty/serial/pch_uart.c:979:1-14: alloc with no test, possible model on line 994 Signed-off-by: Fengguang Wu fengguang...@intel.com --- drivers/tty/serial/pch_uart.c |4 1 file changed, 4 insertions(+) WARNING: this may be a superficial fix! ---

Re: Kernel Oops while disconnecting USB peripheral (always)

2012-07-28 Thread Daniel Mack
On 28.07.2012 14:27, Bjørn Mork wrote: Daniel Mack zon...@gmail.com writes: On 23.07.2012 16:47, Alan Stern wrote: On Mon, 23 Jul 2012, Sarbojit Ganguly wrote: That is why I provided two stacks, 1st one is when I tried to remove the USB hub (which connects a webcam + microphone) 2nd one is

Re: [PATCH] sh: pfc: Fix build issues in pinctrl.c

2012-07-28 Thread Rafael J. Wysocki
On Saturday, July 28, 2012, Paul Mundt wrote: On Sat, Jul 28, 2012 at 12:07:04AM +0200, Rafael J. Wysocki wrote: First off, drivers/sh/pfc/pinctrl.c doesn't build after commit 5d589b0 (pinctrl: remove pinctrl_remove_gpio_range), because sh_pfc_pinctrl_remove() uses the function that has

Re: Kernel Oops while disconnecting USB peripheral (always)

2012-07-28 Thread Bjørn Mork
Daniel Mack zon...@gmail.com writes: On 28.07.2012 14:27, Bjørn Mork wrote: The reason is this change: 0998d0631 device-core: Ensure drvdata = NULL when no driver is bound It will make bugs like this suddenly 100% reproducible. But the bugs *are* in the drivers, and may have been

Re: Kernel Oops while disconnecting USB peripheral (always)

2012-07-28 Thread Daniel Mack
On 28.07.2012 15:25, Bjørn Mork wrote: Daniel Mack zon...@gmail.com writes: On 28.07.2012 14:27, Bjørn Mork wrote: The reason is this change: 0998d0631 device-core: Ensure drvdata = NULL when no driver is bound It will make bugs like this suddenly 100% reproducible. But the bugs *are*

Re: [PATCH] slub: remove one code path and reduce lock contention in __slab_free()

2012-07-28 Thread JoonSoo Kim
2012/7/28 Christoph Lameter c...@linux.com: On Sat, 28 Jul 2012, Joonsoo Kim wrote: Subject and commit log are changed from v1. That looks a bit better. But the changelog could use more cleanup and clearer expression. @@ -2490,25 +2492,17 @@ static void __slab_free(struct kmem_cache *s,

Re: [RFC PATCH 12/13] driver core: firmware loader: use small timeout for cache device firmware

2012-07-28 Thread Ming Lei
On Fri, Jul 27, 2012 at 6:35 PM, Borislav Petkov b...@amd64.org wrote: On Fri, Jul 27, 2012 at 09:54:25AM +0800, Ming Lei wrote: On Fri, Jul 27, 2012 at 1:54 AM, Borislav Petkov b...@amd64.org wrote: No, it is not what I was saying. I just mean the point is not mentioned in my commit log,

Re: [PATCH] powerpc/smp: Do not disable IPI interrupts during suspend

2012-07-28 Thread Kumar Gala
On Jul 27, 2012, at 5:20 PM, Benjamin Herrenschmidt wrote: On Fri, 2012-07-27 at 16:58 -0500, Kumar Gala wrote: On Jul 20, 2012, at 7:47 AM, Zhao Chenhui wrote: During suspend, all interrupts including IPI will be disabled. In this case, the suspend process will hang in SMP. To prevent

Re: [RFC PATCH 08/13] driver core: firmware loader: fix device lifetime

2012-07-28 Thread Ming Lei
On Fri, Jul 27, 2012 at 6:32 PM, Borislav Petkov b...@amd64.org wrote: I still don't like too much the not possible to sleep for long time expression. Maybe change it to should sleep for as small periods as possible since it increases boot time of device drivers requesting firmware in their

Re: [PATCH] net:appletalk:ddp:fixed some codystyle issues in

2012-07-28 Thread Joe Perches
On Sat, 2012-07-28 at 16:15 +0530, Jeffrin Jose wrote: Fixed coding style issues relating to indentation found in net/appletalkddp.c.git diff -w is empty and the compiled objects are the same too. Hello Jeffrin. Your commit message is OK but your patch not. The switch/case that could use

Re: [PATCH] floppy: remove duplicated flag FD_RAW_NEED_DISK

2012-07-28 Thread Joe Perches
On Sat, 2012-07-28 at 19:45 +0800, Fengguang Wu wrote: FD_RAW_NEED_DISK | FD_RAW_NEED_DISK That's a pretty old defect from kernel 1.1 days. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] Documentation: fix DOCBOOKS=... building

2012-07-28 Thread Randy Dunlap
On 07/28/2012 04:26 AM, Johannes Berg wrote: On Fri, 2012-07-27 at 15:29 -0700, Randy Dunlap wrote: On 06/13/2012 01:43 AM, Johannes Berg wrote: From: Johannes Berg johannes.b...@intel.com Prior to commit 4266129964b8238526936d723de65b419d8069c6 Author: Mauro Carvalho Chehab

Re: genirq: Flags mismatch irq 5. 00000000 (ES1688) vs. 00000000

2012-07-28 Thread Daniel Mack
On 28.07.2012 15:20, Fengguang Wu wrote: (ES1688) Reply-To: Hi all, snd_es1688_create() seems not doing things right. It never frees the previously allocated resources on error return.. Anyone cares about this driver now? Could you try the (not even compile-tested) patch attached?

[PATCH] net: move IPv6: sending pkt_too_big to self to NETDEBUG

2012-07-28 Thread Philipp Kern
ip6_xmit checks if the outgoing packet is larger than the path MTU and emits ICMPv6 packet too big locally if this is the case. Logging this, even at KERN_DEBUG, confuses users. It is also not actually helpful for debugging, given that there is no reference to the connection that triggered this

Re: [PATCH 1/3] sysfs: introduce a sysfs_create_file_uevent new API

2012-07-28 Thread Bryan Wu
On Fri, Jul 27, 2012 at 11:52 PM, Greg KH gre...@linuxfoundation.org wrote: On Fri, Jul 27, 2012 at 12:02:41PM +0800, Bryan Wu wrote: Send a uevent notification whenever a new sysfs file is created to allow userspace processes such as udev to modify permissions on the new files. This makes no

Re: [PATCH] dma: mxs_dma: Add the missing entries for mx6

2012-07-28 Thread Shawn Guo
On Wed, Jul 25, 2012 at 08:54:02AM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Add the missing entries for mx6. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Build tested only, as I currently do not have mx6 board handy.

Re: [GIT PULL] GPIO changes for v3.6

2012-07-28 Thread Shawn Guo
On Sat, Jul 28, 2012 at 12:37:05AM +0200, Linus Walleij wrote: Better page the MXC people so they can scream if something goes wild. Just tested the driver a little bit, and it still works for me. -- Regards, Shawn -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: Kernel Oops while disconnecting USB peripheral (always)

2012-07-28 Thread Alan Stern
On Sat, 28 Jul 2012, Daniel Mack wrote: Hmm, interesting. Thanks for sharing this. I personally never saw this bug kicking in, but if I understand your findings correctly, we would need something like the following patch for snd-usb and the storage driver? Sarbojit, could you give this a

[PATCH] uprobes: mmap_region() corrupts mm-mm_rb if uprobe_mmap() fails

2012-07-28 Thread Oleg Nesterov
https://bugzilla.redhat.com/show_bug.cgi?id=843640 If mmap_region()-uprobe_mmap() fails, unmap_and_free_vma path does unmap_region() but does not remove the soon-to-be-freed vma from rb tree (actually there are more problems). Perhaps we could do do_munmap() + return in this case, but in fact it

Re: [PATCH] uprobes: mmap_region() corrupts mm-mm_rb if uprobe_mmap() fails

2012-07-28 Thread Oleg Nesterov
On 07/28, Oleg Nesterov wrote: https://bugzilla.redhat.com/show_bug.cgi?id=843640 If mmap_region()-uprobe_mmap() fails, unmap_and_free_vma path does unmap_region() but does not remove the soon-to-be-freed vma from rb tree (actually there are more problems). Just in case... Ingo, this is

[PATCH 1/3] Fix Crash when IO is being submitted and block size is changed

2012-07-28 Thread Mikulas Patocka
On Thu, 19 Jul 2012, Jeff Moyer wrote: Mikulas Patocka mpato...@redhat.com writes: On Tue, 17 Jul 2012, Jeff Moyer wrote: This is the patch that fixes this crash: it takes a rw-semaphore around all direct-IO path. (note that if someone is concerned about performance, the

[PATCH 2/3] Introduce percpu rw semaphores

2012-07-28 Thread Mikulas Patocka
Introduce percpu rw semaphores When many CPUs are locking a rw semaphore for read concurrently, cache line bouncing occurs. When a CPU acquires rw semaphore for read, the CPU writes to the cache line holding the semaphore. Consequently, the cache line is being moved between CPUs and this slows

[PATCH 3/3] blockdev: turn a rw semaphore into a percpu rw semaphore

2012-07-28 Thread Mikulas Patocka
blockdev: turn a rw semaphore into a percpu rw semaphore This avoids cache line bouncing when many processes lock the semaphore for read. Partially based on a patch by Jeff Moyer jmo...@redhat.com. Signed-off-by: Mikulas Patocka mpato...@redhat.com --- fs/block_dev.c | 30

[PATCH] Documentation: fix DOCBOOKS=... building

2012-07-28 Thread Johannes Berg
From: Johannes Berg johannes.b...@intel.com Prior to commit 4266129964b8238526936d723de65b419d8069c6 Author: Mauro Carvalho Chehab mche...@redhat.com Date: Tue May 31 16:27:44 2011 -0300 [media] DocBook: Move all media docbook stuff into its own directory it was possible to build only a

Re: [PATCH] cx25840: Declare MODULE_FIRMWARE usage

2012-07-28 Thread Andy Walls
On Fri, 2012-07-27 at 06:06 -0600, Tim Gardner wrote: On 07/26/2012 03:59 PM, Andy Walls wrote: On Thu, 2012-07-26 at 10:44 -0600, Tim Gardner wrote: Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: linux-me...@vger.kernel.org Signed-off-by: Tim Gardner tim.gard...@canonical.com ---

Re: [PATCH] ivtv: Declare MODULE_FIRMWARE usage

2012-07-28 Thread Andy Walls
On Fri, 2012-07-27 at 09:45 -0600, Tim Gardner wrote: On 07/26/2012 04:21 PM, Andy Walls wrote: On Thu, 2012-07-26 at 12:26 -0600, Tim Gardner wrote: Cc: Andy Walls awa...@md.metrocast.net Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: ivtv-de...@ivtvdriver.org Cc:

Re: [PATCH v3] cx18: Declare MODULE_FIRMWARE usage

2012-07-28 Thread Andy Walls
On Fri, 2012-07-27 at 10:45 -0600, Tim Gardner wrote: Cc: Andy Walls awa...@md.metrocast.net Acked-by: Andy Walls awa...@md.metrocast.net Regards, Andy Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: ivtv-de...@ivtvdriver.org Cc: linux-me...@vger.kernel.org Signed-off-by: Tim Gardner

Re: [PATCH] net: move IPv6: sending pkt_too_big to self to NETDEBUG

2012-07-28 Thread Joe Perches
On Sat, 2012-07-28 at 17:06 +0200, Philipp Kern wrote: ip6_xmit checks if the outgoing packet is larger than the path MTU and emits ICMPv6 packet too big locally if this is the case. Logging this, even at KERN_DEBUG, confuses users. It is also not actually helpful for debugging, given that

Re: [PATCH 2/4] x86 idle APM: delete apm_cpu_idle()

2012-07-28 Thread Alan Cox
On Fri, 27 Jul 2012 18:42:53 -0400 Len Brown l...@kernel.org wrote: From: Len Brown len.br...@intel.com The APM idle feature to call into the BIOS is known to break some machines, and it has dubious benefit on the (decades old) machines it doesn't break. You mean doesn't fit my current

[PULL REQUEST] i2c-embedded for 3.6

2012-07-28 Thread Wolfram Sang
Linus, please pull the changes for the embedded part of the I2C subsystem: * lots of devicetree conversions of drivers (and preparations for that) * big cleanups for drivers for OMAP, Tegra, Nomadik, Blackfin * Rafael's struct dev_pm_ops conversion patches for I2C * usual driver cleanups and

Re: [Pv-drivers] [vmw_vmci 11/11] Apply the header code to make VMCI build

2012-07-28 Thread Greg KH
On Fri, Jul 27, 2012 at 01:29:27PM -0700, Dmitry Torokhov wrote: On Fri, Jul 27, 2012 at 11:16:39AM -0700, Greg KH wrote: On Fri, Jul 27, 2012 at 10:20:43AM -0700, Andrew Stiegmann wrote: The kernel style is to use lower_case for everything. So this would become:

Re: [PATCH 2/3] Introduce percpu rw semaphores

2012-07-28 Thread Eric Dumazet
On Sat, 2012-07-28 at 12:41 -0400, Mikulas Patocka wrote: Introduce percpu rw semaphores When many CPUs are locking a rw semaphore for read concurrently, cache line bouncing occurs. When a CPU acquires rw semaphore for read, the CPU writes to the cache line holding the semaphore.

Re: [Pv-drivers] [vmw_vmci 11/11] Apply the header code to make VMCI build

2012-07-28 Thread Dmitry Torokhov
On Sat, Jul 28, 2012 at 12:55:35PM -0700, Greg KH wrote: On Fri, Jul 27, 2012 at 01:29:27PM -0700, Dmitry Torokhov wrote: On Fri, Jul 27, 2012 at 11:16:39AM -0700, Greg KH wrote: On Fri, Jul 27, 2012 at 10:20:43AM -0700, Andrew Stiegmann wrote: The kernel style is to use lower_case for

RE: [PATCH] debug: Do not permit CONFIG_DEBUG_STACK_USAGE=y on IA64 or PARISC

2012-07-28 Thread Luck, Tony
I agree with this. Most of it looks easily fixable, but how would I enable the fix for ia64? For PA it's simple: I'll just use CONFIG_STACK_GROWSUP, but that won't work for you. ia64 has an ugly chicken vs. egg build dependency. When trying to build our asm-offsets.h file (to get #define

problem with baycom driver

2012-07-28 Thread folkert
Hi, It seems the baycom driver (for ham radio) needs some attention. The problems: - the baycom_ser_hdx driver does not work at all: very occasionally it switches the radio to send and transmit the data, but that's only one in thousand - the baycom_ser_fdx does seem to send, but only 1 or 2

[PATCH 1/1] [media] uvcvideo: Add 10,12bit and alternate 8bit greyscale

2012-07-28 Thread Stefan Muenzel
Some cameras support 10bit and 12bit greyscale, or use the alternate Y8 FOURCC for 8bit greyscale. Add support for these. Tested on a 12bit camera. Signed-off-by: Stefan Muenzel stefanmuen...@googlemail.com --- drivers/media/video/uvc/uvc_driver.c | 19 +--

Re: An Andre To Remember

2012-07-28 Thread Nicholas A. Bellinger
On Fri, 2012-07-27 at 13:56 -0400, Jeff Garzik wrote: An Andre To Remember July 2012 Linux lost a friend and advocate this month. Though never a household name, Andre Hedrick had a positive impact on everyone today running Linux, or using a website, with any form of IDE (ATA)

Re: [PATCH] Documentation: fix DOCBOOKS=... building

2012-07-28 Thread Rob Landley
On 07/28/2012 10:05 AM, Randy Dunlap wrote: On 07/28/2012 04:26 AM, Johannes Berg wrote: On Fri, 2012-07-27 at 15:29 -0700, Randy Dunlap wrote: On 06/13/2012 01:43 AM, Johannes Berg wrote: From: Johannes Berg johannes.b...@intel.com Prior to commit

Re: [PATCH] apple-gmux: Restore switch registers on suspend/resume

2012-07-28 Thread David Woodhouse
On Wed, 2012-07-11 at 02:25 +0200, Andreas Heider wrote: Thanks for adding me, seeing the gmux driver progress is always great. Regarding the original patch: This is probably only useful when the gmux was switched in GRUB and there's already a solution for the resume problem in userspace

[PATCH] netfilter: PTR_RET can be used

2012-07-28 Thread Fengguang Wu
This quiets the coccinelle warnings: net/bridge/netfilter/ebtable_filter.c:107:1-3: WARNING: PTR_RET can be used net/bridge/netfilter/ebtable_nat.c:107:1-3: WARNING: PTR_RET can be used net/ipv6/netfilter/ip6table_filter.c:65:1-3: WARNING: PTR_RET can be used

Re: [PATCH] apple-gmux: Restore switch registers on suspend/resume

2012-07-28 Thread David Woodhouse
On Sun, 2012-07-29 at 01:42 +0100, David Woodhouse wrote: If I don't hack it to switch the mux to IGD at boot time, I never manage to get a sane picture out of the Intel device after switching to it. It's late now, but I'll try to get a proper debug log of the working and failing cases

Re: [PATCH] MIPS: fix tc_id calculation

2012-07-28 Thread Hillf Danton
On Sat, Jul 28, 2012 at 5:08 PM, RongQing Li roy.qing...@gmail.com wrote: Any advice 2012/7/2 roy.qing...@gmail.com: From: RongQing.Li roy.qing...@gmail.com Now the tc_id is: (read_c0_tcbind() TCBIND_CURTC_SHIFT) TCBIND_CURTC; After substitute macro: (read_c0_tcbind() 21) ((0xff)

Re: [PATCHv5 2/2] ARM: dma-mapping: remove custom consistent dma region

2012-07-28 Thread Minchan Kim
Hi Marek, I looked at patch and have minor points and a question. I should have said in early patch. Sorry about that. Anyway, except below points, It's good to me. On Fri, Jul 27, 2012 at 02:03:39PM +0200, Marek Szyprowski wrote: This patch changes dma-mapping subsystem to use generic vmalloc

Re: [PATCH 0/4] promote zcache from staging

2012-07-28 Thread Minchan Kim
On Fri, Jul 27, 2012 at 02:42:14PM -0700, Dan Magenheimer wrote: From: Konrad Rzeszutek Wilk [mailto:kon...@darnok.org] Sent: Friday, July 27, 2012 3:00 PM Subject: Re: [PATCH 0/4] promote zcache from staging On Fri, Jul 27, 2012 at 12:21:50PM -0700, Dan Magenheimer wrote: From:

Re: [RFC PATCH v2 05/32] PCI/core: use PCIe capabilities access functions to simplify implementation

2012-07-28 Thread Jiang Liu
Hi Dan, Sorry for slow response, was busy with a patch for a new PCI hotplug framework patch set last week. Thanks for your comments, and seems I need to be more aggressive to reduce redundant pci_is_pcie() checks:) Will send out V3 to simplify code further. Thanks!

Re: [PATCH 0/4] promote zcache from staging

2012-07-28 Thread Minchan Kim
Hi Seth, zcache out of staging is rather controversial as you see this thread. But I believe zram is very mature and code/comment is clean. In addition, it has lots of real customers in embedded side so IMHO, it would be easy to promote it firstly. Of course, it will promote zsmalloc which is

Re: [PATCH 2/4] x86 idle APM: delete apm_cpu_idle()

2012-07-28 Thread Len Brown
On 07/28/2012 06:11 AM, Alan Cox wrote: On Fri, 27 Jul 2012 18:42:53 -0400 Len Brown l...@kernel.org wrote: From: Len Brown len.br...@intel.com The APM idle feature to call into the BIOS is known to break some machines, and it has dubious benefit on the (decades old) machines it doesn't

Re: [RFC PATCH v2 00/32] provide interfaces to access PCIe capabilities registers

2012-07-28 Thread Jiang Liu
On 07/25/2012 05:09 AM, Don Dutile wrote: On 07/24/2012 12:31 PM, Jiang Liu wrote: From: Jiang Liuliu...@gmail.com As suggested by Bjorn Helgaas and Don Dutile in threads http://www.spinics.net/lists/linux-pci/msg15663.html, we could improve access to PCIe capabilities register in to way:

[PATCH RFT 1/2] gpio: gpio-ml-ioh: Use spinlock for register access protection

2012-07-28 Thread Axel Lin
gpio_chip.can_sleep is 0, but current code uses mutex in ioh_gpio_set, ioh_gpio_get and ioh_gpio_direction_input functions. Thus those functions are not callable from interrupt context. This patch converts mutex into spinlock. Signed-off-by: Axel Lin axel@gmail.com ---

[PATCH RFT 2/2] gpio: gpio-pch: Use spinlock for register access protection

2012-07-28 Thread Axel Lin
gpio_chip.can_sleep is 0, but current code uses mutex in pch_gpio_set pch_gpio_get and pch_gpio_direction_input functions. Thus those functions are not callable from interrupt context. This patch converts mutex into spinlock. Signed-off-by: Axel Lin axel@gmail.com --- drivers/gpio/gpio-pch.c

[PATCH] power_supply: Add new power supply VALID property

2012-07-28 Thread Ramakrishna Pallala
It is possible that users can use non-standard chargers or use invalid batteries especially with mobile devices. This patch adds a new power supply property called 'VALID' to indicate this to the user(user space). Signed-off-by: Ramakrishna Pallala ramakrishna.pall...@intel.com ---

Re: [dm-devel] [PATCH 2/3] Introduce percpu rw semaphores

2012-07-28 Thread Mikulas Patocka
On Sat, 28 Jul 2012, Eric Dumazet wrote: On Sat, 2012-07-28 at 12:41 -0400, Mikulas Patocka wrote: Introduce percpu rw semaphores When many CPUs are locking a rw semaphore for read concurrently, cache line bouncing occurs. When a CPU acquires rw semaphore for read, the CPU writes to

Re: [PATCH 1/1] [media] uvcvideo: Add 10,12bit and alternate 8bit greyscale

2012-07-28 Thread Laurent Pinchart
Hi Stefan, Thanks for the patch. On Saturday 28 July 2012 18:49:14 Stefan Muenzel wrote: Some cameras support 10bit and 12bit greyscale, or use the alternate Y8 FOURCC for 8bit greyscale. Add support for these. Could you please tell me which camera(s) use those formats ? Tested on a 12bit

<    1   2