Re: [PATCH] USB: EHCI: fix for leaking isochronous data

2013-03-15 Thread Alan Stern
On Fri, 15 Mar 2013, Soeren Moch wrote: The log shows a 1-1 match between allocations and deallocations, except for three excess allocations about 45 lines before the end. I have no idea what's up with those. They may be an artifact arising from where you stopped copying the log data.

Re: [PATCH 1/2] task_work: make FIFO task_work list

2013-03-15 Thread Oleg Nesterov
On 03/15, li guang wrote: 在 2013-03-14四的 15:40 +0100,Oleg Nesterov写道: --- a/kernel/task_work.c +++ b/kernel/task_work.c @@ -13,11 +13,12 @@ task_work_add(struct task_struct *task, struct callback_head *work, bool notify) head = ACCESS_ONCE(task-task_works);

Re: [PATCH 1/1] tty: atmel_serial_probe(): index of atmel_ports[] fix

2013-03-15 Thread Nicolas Ferre
On 02/20/2013 05:26 PM, Pawel Wieczorkiewicz : From: Pawel Wieczorkiewicz wpa...@gmail.com Index of atmel_ports[ATMEL_MAX_UART] should be smaller than ATMEL_MAX_UART. Signed-off-by: Pawel Wieczorkiewicz wpa...@gmail.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com It can be good to

Re: [PATCH resend v5] fs: imgdafs: Add IMG DAFS filesystem for metag

2013-03-15 Thread James Hogan
On 08/03/13 13:02, James Hogan wrote: Add the IMG Debug Adapter File System (DAFS) for metag, which uses SWITCH operations to communicate with a file server on a host computer via a JTAG debug adapter. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Alexander Viro

[PATCH v3] regmap: Cut down on the average # of nodes in the rbtree cache

2013-03-15 Thread Dimitris Papastamos
This patch aims to bring down the average number of nodes in the rbtree cache and increase the average number of registers per node. This should improve general lookup and traversal times. This is achieved by setting the minimum size of a block within the rbnode to the size of the rbnode itself.

[PATCH] Documentation: Remove text on tracepoint samples

2013-03-15 Thread Paul Bolle
The tracepoint sample code got removed. Remove a few lines on its usage too. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Documentation/trace/tracepoints.txt | 15 --- 1 file changed, 15 deletions(-) diff --git a/Documentation/trace/tracepoints.txt

Re: [PATCH 1/1] tty: atmel_serial_probe(): index of atmel_ports[] fix

2013-03-15 Thread Greg KH
On Fri, Mar 15, 2013 at 03:36:38PM +0100, Nicolas Ferre wrote: On 02/20/2013 05:26 PM, Pawel Wieczorkiewicz : From: Pawel Wieczorkiewicz wpa...@gmail.com Index of atmel_ports[ATMEL_MAX_UART] should be smaller than ATMEL_MAX_UART. Signed-off-by: Pawel Wieczorkiewicz wpa...@gmail.com

Re: Inactive memory keep growing and how to release it?

2013-03-15 Thread Theodore Ts'o
On Fri, Mar 15, 2013 at 04:41:41PM +0800, Simon Jeons wrote: This is really an old kernel and also a distribution one which might contain a lot of patches on top of the core kernel. I would suggest to contact Redhat or try to reproduce the issue with the vanilla and What's the meaning of

Re: linux-next: manual merge of the staging tree with Linus' tree

2013-03-15 Thread Greg KH
On Fri, Mar 15, 2013 at 03:13:34PM +1100, Stephen Rothwell wrote: Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/ccg/f_fs.c between commit 7f78e0351394 (fs: Limit sys_mount to only request filesystem modules) from Linus' tree and commit 515e6dd20b3f

[GIT PULL] Sound fixes for 3.9-rc3

2013-03-15 Thread Takashi Iwai
Linus, The following changes since commit 69a4cfdd444d1fe5c24d29b3a063964ac165d2cd: ALSA: ice1712: Initialize card-private_data properly (2013-03-07 15:38:58 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-3.9 for

Re: [BUG]: when printk too more through serial, cpu up is failed.

2013-03-15 Thread Greg KH
On Fri, Mar 15, 2013 at 09:26:26AM +0800, Shuge wrote: 于 2013年03月14日 22:05, Greg KH 写道: On Thu, Mar 14, 2013 at 09:51:34PM +0800, Shuge wrote: Hi all, When the kernel printk too many log, the cpu is failed to come online. The problem is this: For example, cpu0 bring up cpu1:

Re: [PATCHv2, RFC 08/30] thp, mm: rewrite add_to_page_cache_locked() to support huge pages

2013-03-15 Thread Kirill A. Shutemov
Hillf Danton wrote: On Fri, Mar 15, 2013 at 9:50 PM, Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: Hillf Danton wrote: On Fri, Mar 15, 2013 at 9:23 PM, Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: Hillf Danton wrote: On Fri, Mar 15, 2013 at 1:50 AM, Kirill A.

Re: [PATCH] Documentation: Remove text on tracepoint samples

2013-03-15 Thread Mathieu Desnoyers
* Paul Bolle (pebo...@tiscali.nl) wrote: The tracepoint sample code got removed. Remove a few lines on its usage too. Signed-off-by: Paul Bolle pebo...@tiscali.nl Thanks! Acked-by: Mathieu Desnoyers mathieu.desnoy...@efficios.com --- Documentation/trace/tracepoints.txt | 15

[PATCH v6 0/2] ARM: davinci: add support for dm365 vpbe display

2013-03-15 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series enables VPBE display driver on DM365. This patch is work on on following pull request from Hans http://davinci-linux-open-source.1494791.n2.nabble.com/GIT-PULL-FOR-v3-10-tvp7002-davinci-blackfin-legacy-cleanups-td7582451.html

[PATCH v6 1/2] ARM: davinci: dm365: add support for v4l2 video display

2013-03-15 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm365. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- arch/arm/mach-davinci/board-dm365-evm.c |4 +- arch/arm/mach-davinci/davinci.h

[PATCH v6 2/2] ARM: davinci: dm365 EVM: add support for VPBE display

2013-03-15 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com add support for V4L2 video display to DM365 EVM. Support for SD and ED modes is provided, along with Composite and Component outputs. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- arch/arm/mach-davinci/board-dm365-evm.c | 164

Re: + atomic-improve-atomic_inc_unless_negative-atomic_dec_unless_positive .patch added to -mm tree

2013-03-15 Thread Ming Lei
On Fri, Mar 15, 2013 at 9:46 PM, Oleg Nesterov o...@redhat.com wrote: On 03/15, Ming Lei wrote: On Fri, Mar 15, 2013 at 12:24 AM, Oleg Nesterov o...@redhat.com wrote: static inline int atomic_inc_unless_negative(atomic_t *p) { int v, v1; - for (v = 0; v = 0; v = v1) {

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-15 Thread Jiri Kosina
On Fri, 15 Mar 2013, Jiri Kosina wrote: I have the same problem on my Lenovo T500. I think the graphics card is involved. This laptop has hybrid graphics - one Intel GMA 4500MHD and one ATI Mobility Radeon HD 3650. When I boot with the Intel card, I get irq 16: nobody cared during

[PATCH v2 00/23] ARM: OMAP2+: Adapt to ehci-omap changes for 3.10

2013-03-15 Thread Roger Quadros
Hi Tony, These patches provide the SoC side code required to support the changes in the OMAP USB Host drivers done in [1], [2] [3]. Device tree support is added for Beagleboard and Panda. NOTE: The first patch needs to be shared between the OMAP tree and Felipe's USB tree. v2: - Added helper

[PATCH v2 10/23] ARM: OMAP3: cm-t35: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as PHYs for HS USB ports 1 and 2 so provide binding information for them. Use usbhs_init_phys() to register the PHY's RESET regulators. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/board-cm-t35.c | 45

[PATCH v2 20/23] ARM: dts: OMAP4: Add HS USB Host IP nodes

2013-03-15 Thread Roger Quadros
Adds device nodes for HS USB Host module, TLL module, OHCI and EHCI controllers. CC: Benoît Cousson b-cous...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git

[PATCH v2 22/23] ARM: dts: OMAP3: Add HS USB Host IP nodes

2013-03-15 Thread Roger Quadros
Adds device nodes for HS USB Host module, TLL module, OHCI and EHCI controllers. CC: Benoît Cousson b-cous...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap3.dtsi | 31 +++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git

[PATCH v2 23/23] ARM: dts: omap3-beagle: Add USB Host support

2013-03-15 Thread Roger Quadros
Provide RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. Also provide pin multiplexer information for USB host pins. CC: Benoît Cousson b-cous...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap3-beagle.dts | 71

[PATCH v2 13/23] ARM: OMAP3: igep0020: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as PHYs for HS USB ports 1 and 2 so provide binding information for them. Use usbhs_init_phys() to register the PHY's RESET regulators. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/board-igep0020.c | 66

[PATCH v2 15/23] ARM: OMAP3: omap3pandora: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 2, so provide binding information for it. Use usbhs_init_phys() to register the PHY's RESET regulator. VAUX2 supplies the PHY's VCC. Signed-off-by: Roger Quadros rog...@ti.com ---

[PATCH v2 17/23] ARM: OMAP3: omap3touchbook: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as a PHY for HS USB Ports 1 and 2, so provide binding information for them. Use usbhs_init_phys() to register the PHY's RESET regulator. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/board-omap3touchbook.c |

[PATCH v2 16/23] ARM: OMAP3: omap3stalker: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 2, so provide binding information for it. Use usbhs_init_phys() to register the PHY's RESET regulator. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/board-omap3stalker.c | 29

[PATCH v2 21/23] ARM: dts: omap4-panda: Add USB Host support

2013-03-15 Thread Roger Quadros
Provide the RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. Also provide pin multiplexer information for the USB host pins. CC: Benoît Cousson b-cous...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4-panda.dts | 56

[PATCH v2 19/23] ARM: OMAP: zoom: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 2, so provide binding information for it. Use usbhs_init_phys() to register the PHY's RESET regulator. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/board-zoom.c | 32

[PATCH v2 18/23] ARM: OMAP3: overo: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 2, so provide binding information for it. Use usbhs_init_phys() to register the PHY's RESET regulator. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/board-overo.c | 32

[PATCH v2 14/23] ARM: OMAP3: omap3evm: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 2, so provide binding information for it. Use usbhs_init_phys() to register the PHY's RESET regulator. VAUX2 supplies the PHY's VCC. Signed-off-by: Roger Quadros rog...@ti.com ---

[PATCH v2 04/23] ARM: OMAP2+: omap4panda: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Use usbhs_init_phys() to register the PHY's VCC and RESET regulators. The VCC and RESET will then be managed by the PHY driver. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/board-omap4panda.c | 37 +-- 1 files changed, 11 insertions(+), 26

[PATCH v2 06/23] ARM: OMAP3: 3430SDP: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as PHYs for HS USB ports 1 and 2 so provide binding information for them. Use usbhs_init_phys() to register the PHY's RESET regulators. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c | 47

[PATCH v2 08/23] ARM: OMAP: AM3517crane: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 1, so provide binding information for it. Use usbhs_init_phys() to register the PHY's VCC and RESET regulators. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/board-am3517crane.c | 38

[PATCH] nouveau: nv10_fence.c: avoid sparse warning

2013-03-15 Thread Laurent Navet
fix this warning : sparse: symbol 'nv10_fence_context_new' was not declared. Should it be static? Signed-off-by: Laurent Navet laurent.na...@gmail.com --- drivers/gpu/drm/nouveau/nouveau_fence.h |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/nouveau/nouveau_fence.h

[PATCH v2 12/23] ARM: OMAP: devkit8000: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 1, so provide binding information for it. Signed-off-by: Roger Quadros rog...@ti.com Acked-by: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/board-devkit8000.c | 20 1 files changed, 12

[PATCH v2 11/23] ARM: OMAP3: cm-t3517: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as PHYs for HS USB ports 1 and 2 so provide binding information for them. Use usbhs_init_phys() to register the PHY's RESET regulators. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/board-cm-t3517.c | 45

[PATCH v2 09/23] ARM: OMAP: AM3517evm: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as a PHY for HS USB Port 1 and 2, so provide binding information for them. Use usbhs_init_phys() to register the PHY's RESET regulators. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/board-am3517evm.c | 41

[PATCH v2 07/23] ARM: OMAP3: 3630SDP: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as PHYs for HS USB ports 1 and 2 so provide binding information for them. Use usbhs_init_phys() to register the PHY's RESET regulators. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/board-3630sdp.c | 48

[PATCH v2 05/23] ARM: OMAP3: Beagle: Adapt to ehci-omap changes

2013-03-15 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 2, so provide binding information for it. Use usbhs_init_phys() to register the PHY's VCC and RESET regulators. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/board-omap3beagle.c | 44

[PATCH v2 02/23] ARM: OMAP2+: omap-usb-host: Add usbhs_init_phys()

2013-03-15 Thread Roger Quadros
This helper allows board support code to add the PHY's VCC and RESET regulators which are GPIO controlled. It also links the vcc and reset supplies to the PHY's device ID that is supplied in the struct usbhs_phy_data argument. Signed-off-by: Roger Quadros rog...@ti.com ---

[PATCH v2 03/23] ARM: OMAP2+: omap4panda: Provide USB Host's PHY platform data

2013-03-15 Thread Roger Quadros
Add platform device and data for 'nop-usb-xceiv'. This will be used as PHY for HS USB port 1, so provide binding information for it. Get rid of managing the PHY clock as it will be done by the PHY driver. For that to work we create a clock alias that links the PHY clock name to the PHY device

[PATCH] misc: Remove max8997-muic.o Makefile line again

2013-03-15 Thread Paul Bolle
Commit 20259849bb1ac1ffb0156eb359810e8b99cb644d (VMCI: Some header and config files.) readded this Makefile line. Remove it again. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Bravely untested. drivers/misc/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/misc/Makefile

Re: lgetxattr()/getxattr() return different values on a file labelled with selinux disabled

2013-03-15 Thread Thomas COUDRAY
2013/3/15 Stephen Smalley s...@tycho.nsa.gov: f is truly a regular file and not a symlink pointing to a regular file? f is a truly regular file. before_t and after_t are both defined in the policy? Only before_t was defined in the policy. When I define after_t in the policy, both commands

[PATCH v2 01/23] usb: phy: nop: Add some parameters to platform data

2013-03-15 Thread Roger Quadros
Add clk_rate parameter to platform data. If supplied, the NOP phy driver will program the clock to that rate during probe. Also add 2 flags, needs_vcc and needs_reset. If the flag is set and the regulator couldn't be found then the driver will bail out with -EPROBE_DEFER. Signed-off-by: Roger

[PATCH 0/5] KVM: MMU: fast invalid all mmio sptes

2013-03-15 Thread Xiao Guangrong
The current way is holding hot mmu-lock and walking all shadow pages, this is not scale. This patchset tries to introduce a very simple and scale way to fast invalid all mmio sptes - it need not walk any shadow pages and hold any locks. The idea is simple: KVM maintains a global mmio invalid

[PATCH 1/5] Revert KVM: x86: Optimize mmio spte zapping when, creating/moving memslot

2013-03-15 Thread Xiao Guangrong
This reverts commit 982b3394dd23eec6e5a2f7871238435a167b63cc. This way is not scale, will use a simple and scale way to zap all mmio sptes later Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/include/asm/kvm_host.h |1 - arch/x86/kvm/mmu.c | 18

[PATCH 2/5] Revert KVM: MMU: Mark sp mmio cached when creating mmio spte

2013-03-15 Thread Xiao Guangrong
This reverts commit 95b0430d1a53541076ffbaf453f8b49a547cceba. Will use a better way to zap all mmio shadow pages Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/include/asm/kvm_host.h |1 - arch/x86/kvm/mmu.c |3 --- 2 files changed, 0

[PATCH 3/5] KVM: MMU: retain more available bits available on mmio spte

2013-03-15 Thread Xiao Guangrong
Let mmio spte only use bit62 and bit63 on upper 32 bits, then bit 52 ~ bit 61 can be used for other purposes Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/vmx.c |4 ++-- arch/x86/kvm/x86.c |8 +++- 2 files changed, 9 insertions(+), 3 deletions(-)

[PATCH 4/5] KVM: MMU: store generation-number into mmio spte

2013-03-15 Thread Xiao Guangrong
Store the generation-number into bit3 ~ bit11 and bit52 ~ bit61, totally 19 bits can be used, it should be enough for nearly all most common cases In this patch, the generation-number is always 0, it will be changed in the later patch Signed-off-by: Xiao Guangrong

[PATCH 5/5] KVM: MMU: fast invalid all mmio sptes

2013-03-15 Thread Xiao Guangrong
This patch tries to introduce a very simple and scale way to invalid all mmio sptes - it need not walk any shadow pages and hold mmu-lock KVM maintains a global mmio invalid generation-number which is stored in kvm-arch.mmio_invalid_gen and every mmio spte stores the current global

pull request: wireless 2013-03-15

2013-03-15 Thread John W. Linville
Dave, Please pull these fixes for the 3.9 stream. On the NFC bits, Samuel says: With this one we have: - A fix for properly decreasing socket ack log. - A timer and works cleanup upon NFC device removal. - A monitoroing socket cleanup round from llcp_socket_release. - A proper error report to

[PATCH] [TRIVIAL] Fix comment typo CONFIG_IIO_RING_BUFFER

2013-03-15 Thread Paul Bolle
Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Entirely untested. include/linux/iio/gyro/itg3200.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/iio/gyro/itg3200.h b/include/linux/iio/gyro/itg3200.h index c53f169..2a82085 100644 ---

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-15 Thread Greg KH
On Fri, Mar 15, 2013 at 02:33:13PM +0100, Jiri Kosina wrote: On Fri, 15 Mar 2013, Harald Arnesen wrote: I have the same problem on my Lenovo T500. I think the graphics card is involved. This laptop has hybrid graphics - one Intel GMA 4500MHD and one ATI Mobility Radeon HD 3650. When

[PATCH] i2c: tegra: check the clk_prepare_enable() return value

2013-03-15 Thread Laxman Dewangan
NVIDIA's Tegra SoC allows read/write of controller register only if controller clock is enabled. System hangs if read/write happens to registers without enabling clock. clk_prepare_enable() can be fail due to unknown reason and hence adding check for return value of this function. If this

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-15 Thread Jiri Kosina
On Fri, 15 Mar 2013, Greg KH wrote: I have the same problem on my Lenovo T500. I think the graphics card is involved. This laptop has hybrid graphics - one Intel GMA 4500MHD and one ATI Mobility Radeon HD 3650. When I boot with the Intel card, I get irq 16: nobody cared during

Re: For review: user_namespaces(7) man page

2013-03-15 Thread Serge Hallyn
Hi, you mention that after creating a new user namespace you at first have all capabilities in the new ns. You don't explicitly mention (or I missed it - I did see the mention of securebits) that if you want to keep those capabilities after doing an exec, you need to first have something mapped

Re: [RFC PATCH] integrity: Use a new type for asymmetric signature

2013-03-15 Thread Vivek Goyal
On Thu, Mar 14, 2013 at 11:08:45PM +0200, Kasatkin, Dmitry wrote: On Thu, Mar 14, 2013 at 10:37 PM, Vivek Goyal vgo...@redhat.com wrote: On Thu, Mar 14, 2013 at 04:30:28PM -0400, Vivek Goyal wrote: [..] I thought explicitly using signature format is more intutive. Exporting signature

Re: [PATCH v2 4/4] ARM: dts: Add adc and thermistors for exynos5250-snow

2013-03-15 Thread Naveen Krishna Ch
On 15 March 2013 15:54, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: Doug, On 14 March 2013 02:10, Doug Anderson diand...@chromium.org wrote: Hook up the exynos5250-snow thermistors via the device tree now that there's a driver available to use them. Signed-off-by: Doug Anderson

RE: [PATCH]Skip unnecessary WARN_ON in panic case

2013-03-15 Thread Seiji Aguchi
Thank you for giving me the feedback. So it appears the problem occurs because the other CPUs are not offlined correctly, and still have pending work which may generate wakeup IPIs to them? Right. The fix would be to either offline them properly - or, if we don't want to do that to

Re: [PATCH v2 2/4] iio: adc: Add dt support for turning on the phy in exynos-adc

2013-03-15 Thread Naveen Krishna Ch
On 15 March 2013 17:15, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: On 14 March 2013 02:10, Doug Anderson diand...@chromium.org wrote: Without this change the exynos adc controller needed to have its phy enabled in some out-of-driver C code. Add support for specifying the phy enable

Re: [PATCH v2 3/4] ARM: dts: Add adc to exynos5250 device tree file

2013-03-15 Thread Naveen Krishna Ch
On 14 March 2013 02:10, Doug Anderson diand...@chromium.org wrote: Add the device tree entry for the device-tree enabled ADC driver that recently landed in the iio tree. Signed-off-by: Doug Anderson diand...@chromium.org I've not used the clock binding yet, Will test with that and give a tag.

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-15 Thread Greg KH
On Fri, Mar 15, 2013 at 04:37:56PM +0100, Jiri Kosina wrote: On Fri, 15 Mar 2013, Greg KH wrote: I have the same problem on my Lenovo T500. I think the graphics card is involved. This laptop has hybrid graphics - one Intel GMA 4500MHD and one ATI Mobility Radeon HD 3650.

Re: [PATCH 1/4] usb: Fix linker errors during build

2013-03-15 Thread kishon
On Friday 15 March 2013 07:55 PM, Felipe Balbi wrote: On Fri, Mar 15, 2013 at 06:58:49PM +0530, Kishon Vijay Abraham I wrote: commit 63378a (usb: phy: remove CONFIG_USB_OTG_UTILS) removed CONFIG_USB_OTG_UTILS from Kconfig but failed to removed from Makefile. Fixed it here. Signed-off-by:

[PATCH] fs: Make binfmt support for #! scripts modular and removable

2013-03-15 Thread Josh Triplett
Add a new configuration option CONFIG_BINFMT_SCRIPT to configure support for interpreted scripts starting with #!; allow compiling out that support, or building it as a module. Embedded systems running exclusively compiled binaries could leave this support out, and systems that don't need scripts

[PATCH] MAINTAINERS: add maintainer entry for atmel i2c driver

2013-03-15 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Create an entry for atmel i2c driver: i2c-at91.c Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com --- Hello, If there are no objections, I'll take the maintenance of the at91 i2c driver since there is no maintainer. Wolfram, can

Re: [PATCH v2] mm/hugetlb: add more arch-defined huge_pte functions

2013-03-15 Thread Michal Hocko
On Thu 14-03-13 18:51:03, Gerald Schaefer wrote: Commit abf09bed3c s390/mm: implement software dirty bits introduced another difference in the pte layout vs. the pmd layout on s390, thoroughly breaking the s390 support for hugetlbfs. This requires replacing some more pte_xxx functions in

Re: [PATCH] staging: comedi: drivers: ni_atmio.c: Add a missing semicolon

2013-03-15 Thread Greg KH
On Fri, Mar 15, 2013 at 01:14:29AM -0700, Kumar Amit Mehta wrote: fix a missing end-of-statement by adding a semicolon. Signed-off-by: Kumar Amit Mehta gmate.a...@gmail.com --- drivers/staging/comedi/drivers/ni_atmio.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Hartley sent

Re: [PATCH] MAINTAINERS: add maintainer entry for atmel i2c driver

2013-03-15 Thread Nicolas Ferre
On 03/15/2013 04:32 PM, ludovic.desroc...@atmel.com : From: Ludovic Desroches ludovic.desroc...@atmel.com Create an entry for atmel i2c driver: i2c-at91.c Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- Hello, If there

RE: [PATCH] staging: comedi: drivers: ni_atmio.c: Add a missing semicolon

2013-03-15 Thread H Hartley Sweeten
On Friday, March 15, 2013 2:41 AM, Ian Abbott wrote: On 2013-03-15 08:14, Kumar Amit Mehta wrote: fix a missing end-of-statement by adding a semicolon. Signed-off-by: Kumar Amit Mehta gmate.a...@gmail.com --- drivers/staging/comedi/drivers/ni_atmio.c |2 +- 1 file changed, 1

Re: [PATCH v2 06/23] ARM: OMAP3: 3430SDP: Adapt to ehci-omap changes

2013-03-15 Thread Tony Lindgren
Hi, I think you can get rid of quite a bit more of the repeated data for most boards, see below. * Roger Quadros rog...@ti.com [130315 08:21]: Add 2 platform devices for 'nop-usb-xceiv'. These will be used as PHYs for HS USB ports 1 and 2 so provide binding information for them. Use

Re: zsmalloc limitations and related topics

2013-03-15 Thread Seth Jennings
On 03/14/2013 01:54 PM, Dan Magenheimer wrote: From: Robert Jennings [mailto:r...@linux.vnet.ibm.com] Sent: Thursday, March 14, 2013 7:21 AM To: Bob Cc: Seth Jennings; Dan Magenheimer; minc...@kernel.org; Nitin Gupta; Konrad Wilk; linux...@kvack.org; linux-kernel@vger.kernel.org; Bob Liu;

[PATCH] arc: remove #ifdef-ed out include of dead header

2013-03-15 Thread Paul Bolle
There's no (Kconfig) macro CONFIG_BLOCK_DEV_RAM. (CONFIG_BLK_DEV_RAM does exist though.) But linux/blk.h got killed in 2005 anyway (in a patch titled kill blk.h), so these three lines can be removed. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Untested (no relevant hardware or compiler).

Re: [PATCH] powerpc/qe: remove useless Kconfig default

2013-03-15 Thread Kumar Gala
On Mar 12, 2013, at 4:49 PM, Paul Bolle wrote: The Kconfig entry for QE_USB contains default y if USB_GADGET_FSL_QE But USB_GADGET_FSL_QE got removed in commit 193ab2a6070039e7ee2b9b9bebea754a7c52fd1b (usb: gadget: allow multiple gadgets to be built). This default will therefor

Re: zsmalloc limitations and related topics

2013-03-15 Thread Seth Jennings
On 03/14/2013 01:54 PM, Dan Magenheimer wrote: From: Robert Jennings [mailto:r...@linux.vnet.ibm.com] Sent: Thursday, March 14, 2013 7:21 AM To: Bob Cc: Seth Jennings; Dan Magenheimer; minc...@kernel.org; Nitin Gupta; Konrad Wilk; linux...@kvack.org; linux-kernel@vger.kernel.org; Bob Liu;

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-15 Thread Jiri Kosina
On Fri, 15 Mar 2013, Greg KH wrote: I have the same problem on my Lenovo T500. I think the graphics card is involved. This laptop has hybrid graphics - one Intel GMA 4500MHD and one ATI Mobility Radeon HD 3650. When I boot with the Intel card, I get irq 16:

[PATCH] [TRIVIAL] Fix comment typo CONFIG_MISALIGN_ACCESS

2013-03-15 Thread Paul Bolle
Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Entirely untested. arch/arc/kernel/disasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/kernel/disasm.c b/arch/arc/kernel/disasm.c index 2f39028..d14764a 100644 --- a/arch/arc/kernel/disasm.c +++

[PATCH 1/2] iio: adc: Kconfig: exynos_adc depends on CONFIG_OF

2013-03-15 Thread Naveen Krishna Chatradhi
As the exynos_adc driver only supports device tree registration. Making driver depend on CONFIG_OF solves possible errors during probe. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Reported-by: Dan Carpenter dan.carpen...@oracle.com Cc: Doug Anderson diand...@chromium.org Cc:

Re: use after free in sysfs_find_dirent

2013-03-15 Thread Sasha Levin
On 03/15/2013 03:38 AM, Ming Lei wrote: Hi, On Fri, Mar 15, 2013 at 1:04 PM, Sasha Levin levinsasha...@gmail.com wrote: On 03/15/2013 12:03 AM, Sasha Levin wrote: [ 350.140100] general protection fault: [#1] PREEMPT SMP DEBUG_PAGEALLOC [ 350.141468] Dumping ftrace buffer: [

Re: [PATCH] [media] ir: IR_RX51 only works on OMAP2

2013-03-15 Thread Tony Lindgren
* Timo Kokkonen timo.t.kokko...@iki.fi [130314 23:43]: On 03.14 2013 22:56:44, Arnd Bergmann wrote: This driver can be enabled on OMAP1 at the moment, which breaks allyesconfig for that platform. Let's mark it OMAP2PLUS-only in Kconfig, since that is the only thing it builds on.

[RFC: PATCH 2/2] iio: adc: exynos_adc: Handle timeout and race conditions

2013-03-15 Thread Naveen Krishna Chatradhi
This patch does the following 1. Handle the return values of wait_for_completion_interruptible_timeout 2. Add spin locks to avoid race conditions during ISR. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Doug Anderson diand...@chromium.org Cc: Lars-Peter Clausen

sctp: hang in sctp_remaddr_seq_show

2013-03-15 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel, I've stumbled on an interesting hang related to sctp. After some fuzzing, I get a hang message about procfs not able to grab a hold of a mutex for one of the files: [ 375.900309] INFO: task

Re: [Intel-gfx] [PATCH] drm/i915: Sanity check incoming ioctl data for a NULL pointer

2013-03-15 Thread Ben Widawsky
On Fri, Mar 15, 2013 at 08:24:03AM +, Chris Wilson wrote: On Thu, Mar 14, 2013 at 09:50:04PM -0700, Ben Widawsky wrote: On Thu, Mar 14, 2013 at 12:59:57PM +, Chris Wilson wrote: In order to prevent a potential NULL deference with hostile userspace, we need to check whether the

Re: [PATCH 3/3] serial: tegra: Convert to devm_ioremap_resource()

2013-03-15 Thread gre...@linuxfoundation.org
On Sat, Feb 02, 2013 at 10:22:16AM +0530, Sachin Kamat wrote: On Friday, 1 February 2013, Stephen Warren swar...@wwwdotorg.org wrote: On 02/01/2013 02:49 AM, Sachin Kamat wrote: On 1 February 2013 09:54, Stephen Warren swar...@wwwdotorg.org wrote: The entire series is merged in Greg's

Re: [PATCH 1/1] poweroff: change orderly_poweroff() to use schedule_work()

2013-03-15 Thread Oleg Nesterov
On 03/14, Andrew Morton wrote: On Wed, 13 Mar 2013 18:47:05 +0100 Oleg Nesterov o...@redhat.com wrote: This means that orderly_poweroff() becomes async even if we do not run the command and always succeeds, schedule_work() can only fail if the work is already pending. We can export

Re: New MFD tree for linux-next

2013-03-15 Thread Samuel Ortiz
Hi Stephen, On Thu, Mar 14, 2013 at 01:02:01AM +0100, Samuel Ortiz wrote: Hi Stephen, I am moving the MFD development from mfd-2.6.git/for-next to a new mfd-next tree: git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-next.git Could you please point linux-next at it ? Many thanks

Re: [PATCH 2/3] mfd: Make AB8500_CORE select POWER_SUPPLY to fix build error

2013-03-15 Thread Samuel Ortiz
Hi Arnd, On Fri, Mar 15, 2013 at 10:18:13AM +, Arnd Bergmann wrote: On Friday 15 March 2013, Samuel Ortiz wrote: On Thu, Mar 14, 2013 at 10:56:39PM +0100, Arnd Bergmann wrote: Please apply to MFD tree for 3.9 Already applied to mfd-fixes. For some reason I did not see it

Re: [PATCH] powerpc: remove config 8260_PCI9

2013-03-15 Thread Kumar Gala
On Mar 14, 2013, at 10:14 AM, Paul Bolle wrote: The last user of Kconfig symbol 8260_PCI9 got removed in release v3.2. Remove this symbol too. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- 0) Untested. 1) This probably is a second order effect of my commit

[PATCH 0/9 for-3.10] srcu: use-site fix and cleanups

2013-03-15 Thread Lai Jiangshan
All are simple cleanups(and one fix). Patch1: fix imbalance srcu_read_[un]lock() Patch2~6: use DEFINE[_STATIC]_SRCU macro Patch7: use call_srcu() and remove a lot of code Patch8~9: non-srcu related cleanup for fsnotify Lai Jiangshan (9): powerpc,kvm: fix imbalance srcu_read_[un]lock()

[PATCH 1/9] powerpc,kvm: fix imbalance srcu_read_[un]lock()

2013-03-15 Thread Lai Jiangshan
At the point of up_out label in kvmppc_hv_setup_htab_rma(), srcu read lock is still held. We have to release it before return. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Cc: Marcelo Tosatti mtosa...@redhat.com Cc: Gleb Natapov g...@redhat.com Cc: Alexander Graf ag...@suse.de Cc: Benjamin

[PATCH 2/9] events: use DEFINE_STATIC_SRCU() to define pmus_srcu

2013-03-15 Thread Lai Jiangshan
DEFINE_STATIC_SRCU() defines srcu struct and do init at build time. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- kernel/events/core.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/kernel/events/core.c b/kernel/events/core.c index b0cd865..c334f26 100644 ---

[PATCH 3/9] mmu_notifier: use DEFINE_STATIC_SRCU() to define srcu struct

2013-03-15 Thread Lai Jiangshan
DEFINE_STATIC_SRCU() defines srcu struct and do init at build time. also remove unneeded mmu_notifier_init(). Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- mm/mmu_notifier.c |8 +--- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/mm/mmu_notifier.c

[PATCH 4/9] netpoll: use DEFINE_STATIC_SRCU() to define netpoll_srcu

2013-03-15 Thread Lai Jiangshan
DEFINE_STATIC_SRCU() defines srcu struct and do init at build time. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- net/core/netpoll.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/net/core/netpoll.c b/net/core/netpoll.c index fa32899..a3a17ae 100644 ---

[PATCH 5/9] tomoyo: use DEFINE_SRCU() to define tomoyo_ss

2013-03-15 Thread Lai Jiangshan
DEFINE_STATIC_SRCU() defines srcu struct and do init at build time. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- security/tomoyo/tomoyo.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c index

[PATCH 6/9] fsnotify: use DEFINE_SRCU() for srcu_struct

2013-03-15 Thread Lai Jiangshan
DEFINE_STATIC_SRCU() defines srcu struct and do init at build time. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Cc: Eric Paris epa...@parisplace.org --- fs/notify/fsnotify.c |6 -- fs/notify/mark.c |2 +- 2 files changed, 1 insertions(+), 7 deletions(-) diff --git

[PATCH 7/9] fsnotify: use existed call_srcu()

2013-03-15 Thread Lai Jiangshan
fsnotify implements its own call_srcu() by: dedicated thread + synchronize_srcu() But srcu provides call_srcu() now, so we should convert them to use existed call_srcu() and remove the thread. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Cc: Eric Paris epa...@parisplace.org ---

[PATCH 8/9] fsnotify: use BUILD_BUG_ON() to test the weight of ALL_FSNOTIFY_EVENTS

2013-03-15 Thread Lai Jiangshan
BUILD_BUG_ON() is build-time-test for constant. avoid runtime test. also use HWEIGHT32() for build-time. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Cc: Eric Paris epa...@parisplace.org --- fs/notify/fsnotify.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 9/9] fsnotify: remove fsnotify_init()

2013-03-15 Thread Lai Jiangshan
Since fsnotify_init() is empty in runtime, remove it. The build time test is moved to notification.c Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Cc: Eric Paris epa...@parisplace.org --- fs/notify/fsnotify.c |8 fs/notify/notification.c |2 ++ 2 files changed, 2

Re: + atomic-improve-atomic_inc_unless_negative-atomic_dec_unless_positive .patch added to -mm tree

2013-03-15 Thread Oleg Nesterov
On 03/15, Ming Lei wrote: On Fri, Mar 15, 2013 at 9:46 PM, Oleg Nesterov o...@redhat.com wrote: On 03/15, Ming Lei wrote: On Fri, Mar 15, 2013 at 12:24 AM, Oleg Nesterov o...@redhat.com wrote: static inline int atomic_inc_unless_negative(atomic_t *p) { int v, v1; -

Re: [PATCH] regmap: Remove __attribute__ ((packed))

2013-03-15 Thread Mark Brown
On Fri, Mar 15, 2013 at 11:16:02AM +, Dimitris Papastamos wrote: On my system there was no benefit of using it, it just happens that the struct is aligned properly and needs no padding. OK, so which system was that and is it not possible that other systems will get something useful from

<    5   6   7   8   9   10   11   12   13   >