Re: [RFC 00/17] Remove GENERIC_GPIO from architecture code

2013-03-14 Thread Alexandre Courbot
On Thu, Mar 14, 2013 at 11:14 PM, Linus Walleij wrote: > For submitting the pull request to Torvalds in the end you will need > to create a signed tag. Do you have a signed GPG key? Else it's > about time to create a key and start collecting signatures... then you > can also get a repo at

Re: [ 031/100] iwlwifi: always copy first 16 bytes of commands

2013-03-14 Thread Ben Hutchings
On Thu, 2013-03-14 at 06:31 +, Berg, Johannes wrote: > > > > /* and copy the data that needs to be copied */ > > > > cmd_pos = offsetof(struct iwl_device_cmd, payload); > > > > + copy_size = sizeof(out_cmd->hdr); > > > > for (i = 0; i < IWL_MAX_CMD_TFDS; i++) { >

Re: [PATCH] powerpc/40x: remove unused "config 405GPR"

2013-03-14 Thread Josh Boyer
On Thu, Mar 14, 2013 at 9:47 AM, Paul Bolle wrote: > The last user of Kconfig symbol 405GPR got removed in release v3.2. > Remove this symbol too. > > Signed-off-by: Paul Bolle Acked-by: Josh Boyer > --- > arch/powerpc/platforms/40x/Kconfig | 3 --- > 1 file changed, 3 deletions(-) > > diff

Re: [RFC 00/17] Remove GENERIC_GPIO from architecture code

2013-03-14 Thread Linus Walleij
On Thu, Mar 14, 2013 at 3:08 PM, Alexandre Courbot wrote: > Would be reasonable indeed. I can publish the branch on Github, That'll work. For submitting the pull request to Torvalds in the end you will need to create a signed tag. Do you have a signed GPG key? Else it's about time to create a

Re: [PATCH] usb: gadget: remove MACH_OMAP_H4_OTG

2013-03-14 Thread Felipe Balbi
On Mon, Mar 11, 2013 at 09:14:41PM +0100, Paul Bolle wrote: > The Kconfig option MACH_OMAP_H4_OTG was already considered dead as of > v2.6.36, as can be seen in commit > 267ecec95f7d215d2da38252640b06198515acc3 ("Removing dead > MACH_OMAP_H4_OTG"). Remove its last trace now. > > Signed-off-by:

[RFC V1 1/8] smi2021: Add the header file

2013-03-14 Thread Jon Arne Jørgensen
This is the header file for the smi2021 module. Signed-off-by: Jon Arne Jørgensen --- drivers/media/usb/smi2021/smi2021.h | 228 1 file changed, 228 insertions(+) create mode 100644 drivers/media/usb/smi2021/smi2021.h diff --git

[RFC V1 3/8] smi2021: Add smi2021_i2c.c

2013-03-14 Thread Jon Arne Jørgensen
This file is responsible for registering the device with the kernel i2c subsystem. v4l2 talks to the saa7113 chip of the device via i2c. Signed-off-by: Jon Arne Jørgensen --- drivers/media/usb/smi2021/smi2021_i2c.c | 160 1 file changed, 160 insertions(+)

[RFC V1 4/8] smi2021: Add smi2021_v4l2.c

2013-03-14 Thread Jon Arne Jørgensen
This file is responsible for registering the device with the v4l2 subsystem, and the communication with v4l2. Most of the v4l2 ioctls are just passed on to vidbuf2. Signed-off-by: Jon Arne Jørgensen --- drivers/media/usb/smi2021/smi2021_v4l2.c | 566 +++ 1 file

[RFC V1 5/8] smi2021: Add smi2021_video.c

2013-03-14 Thread Jon Arne Jørgensen
This file is responsible for all communication with the video hardware and also starting and stopping the capture. It also contains the setup and handling of the usb ISOCHRONOUS transfers. Signed-off-by: Jon Arne Jørgensen --- drivers/media/usb/smi2021/smi2021_video.c | 543

[RFC V1 6/8] smi2021: Add smi2021_audio.c

2013-03-14 Thread Jon Arne Jørgensen
This file handles all setup of a new snd_card instance with one pcm_substream. It's also responsible for parsing the raw pcm data received in the isoc transfers, and passing it to the alsa buffers. Signed-off-by: Jon Arne Jørgensen --- drivers/media/usb/smi2021/smi2021_audio.c | 385

[RFC V1 0/8] Add a driver for somagic smi2021

2013-03-14 Thread Jon Arne Jørgensen
This patch-set will add a driver for the Somagic SMI2021 chip. This chip is found inside different usb video-capture devices. Most of them are branded as EasyCap, but there also seems to be some other brands selling devices with this chip. This driver is split into two modules, where one is

Re: [PATCH 1/1] mm/hugetlb: add more arch-defined huge_pte_xxx functions

2013-03-14 Thread Gerald Schaefer
On Thu, 14 Mar 2013 14:14:04 +0100 Michal Hocko wrote: > On Tue 12-03-13 19:48:26, 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

[RFC V1 2/8] smi2021: Add smi2021_main.c

2013-03-14 Thread Jon Arne Jørgensen
This is the core of the smi2021 module. It will register the module with the kernel, and register the usb probe function. Signed-off-by: Jon Arne Jørgensen --- drivers/media/usb/smi2021/smi2021_main.c | 339 +++ 1 file changed, 339 insertions(+) create mode 100644

[RFC V1 7/8] smi2021: Add smi2021_bl.c

2013-03-14 Thread Jon Arne Jørgensen
This is the smi2021-bootloader module. This module will upload the firmware for the different somagic devices. Signed-off-by: Jon Arne Jørgensen --- drivers/media/usb/smi2021/smi2021_bl.c | 254 + 1 file changed, 254 insertions(+) create mode 100644

[RFC V1 8/8] smi2021: Add Kconfig and Makefiles

2013-03-14 Thread Jon Arne Jørgensen
Signed-off-by: Jon Arne Jørgensen --- drivers/media/usb/Kconfig | 1 + drivers/media/usb/Makefile | 1 + drivers/media/usb/smi2021/Kconfig | 18 ++ drivers/media/usb/smi2021/Makefile | 12 4 files changed, 32 insertions(+) create mode 100644

Re: [RFC 00/17] Remove GENERIC_GPIO from architecture code

2013-03-14 Thread Alexandre Courbot
On Thu, Mar 14, 2013 at 3:01 AM, Linus Walleij wrote: > On Wed, Mar 13, 2013 at 8:53 AM, Grant Likely > wrote: >> On Wed, Mar 13, 2013 at 1:12 PM, Linus Walleij >> wrote: >>> On Tue, Mar 12, 2013 at 11:12 AM, Alexandre Courbot >>> wrote: >>> This series makes sure the GENERIC_GPIO

Re: [PATCH 11/12] USB: ehci-omap: Try to get PHY even if not in PHY mode

2013-03-14 Thread Felipe Balbi
On Tue, Mar 12, 2013 at 11:57:56AM -0400, Alan Stern wrote: > On Tue, 12 Mar 2013, Roger Quadros wrote: > > > Even when not in PHY mode, the USB device on the port (e.g. HUB) > > might need resources like RESET which can be modelled as a PHY > > device. So try to get the PHY device in any case. >

[PATCH] xtensa: net: fix invalid use of sizeof in iss_net_setup()

2013-03-14 Thread Wei Yongjun
From: Wei Yongjun sizeof() when applied to a pointer typed expression gives the size of the pointer, not that of the pointed data. Signed-off-by: Wei Yongjun --- arch/xtensa/platforms/iss/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-14 Thread Sascha Hauer
On Thu, Mar 14, 2013 at 01:58:05PM +, Arnd Bergmann wrote: > On Thursday 14 March 2013, Fabio Porcedda wrote: > > This patch converts the drivers to use the > > module_platform_driver_probe() macro which makes the code smaller and > > a bit simpler. > > > > Signed-off-by: Fabio Porcedda > >

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-14 Thread Mark Jackson
On 14/03/13 12:23, Artem Bityutskiy wrote: > On Thu, 2013-03-14 at 14:18 +0200, Artem Bityutskiy wrote: >>> Is this size larger than the allocated buffer ? >> >> I believe so. > > Err, I mean, the buffer is large enough. I do not believe there is a > stupid bug like too small buffer. This code

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

2013-03-14 Thread 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: > > a. cpu0 call cpu_up: > cpu_up() > ->_cpu_up() >

Re: [PATCH 3/6] mfd: omap-usb-host: Actually update hostconfig

2013-03-14 Thread Felipe Balbi
On Tue, Mar 12, 2013 at 12:25:37PM +0200, Roger Quadros wrote: > The helper functions omap_usbhs_rev1_hostconfig() > and omap_usbhs_rev2_hostconfig() don't write into > the hostconfig register. Make sure that we write > the return value into the hostconfig register. > > Signed-off-by: Roger

Re: [PATCH] slab : allow SLAB_RED_ZONE and SLAB_STORE_USER to work on arm

2013-03-14 Thread Castet Matthieu
On Mon, Jan 21, 2013 at 10:56 AM, Matthieu CASTET wrote: > The current slab code only allow to put redzone( and user store) info if > "buffer > alignment(ralign) <= __alignof__(unsigned long long)". This was done because > we > want to keep the buffer aligned for user even after adding redzone

Re: [PATCH 04/10] drivers: hwmon: use module_platform_driver_probe()

2013-03-14 Thread Guenter Roeck
On Thu, Mar 14, 2013 at 02:11:25PM +0100, Fabio Porcedda wrote: > This patch converts the drivers to use the > module_platform_driver_probe() macro which makes the code smaller and > a bit simpler. > > Signed-off-by: Fabio Porcedda > Cc: Greg Kroah-Hartman > Cc: Jean Delvare > Cc: Guenter

Re: 3.9.0-rc1: kexec not working: root disk does not show up

2013-03-14 Thread Vivek Goyal
On Wed, Mar 13, 2013 at 06:53:16PM +0400, Konstantin Khlebnikov wrote: [..] > PCI: Don't try to disable Bus Master on disconnected PCI devices > > From: Konstantin Khlebnikov > > This is fix for commit 7897e6022761ace7377f0f784fca059da55f5d71 from v3.9-rc1 > ("PCI: Disable Bus Master

[PATCH] pinctrl: exynos5440: fix invalid use of sizeof in exynos5440_pinctrl_probe()

2013-03-14 Thread Wei Yongjun
From: Wei Yongjun sizeof() when applied to a pointer typed expression gives the size of the pointer, not that of the pointed data. Signed-off-by: Wei Yongjun --- drivers/pinctrl/pinctrl-exynos5440.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] hwmon: (pmbus) Fix krealloc() misuse in pmbus_add_attribute()

2013-03-14 Thread Guenter Roeck
On Thu, Mar 14, 2013 at 01:30:20PM +, David Woodhouse wrote: > If krealloc() returns NULL, it *doesn't* free the original. So any code > of the form 'foo = krealloc(foo, …);' is almost certainly a bug. > > Signed-off-by: David Woodhouse Good catch. Thanks a lot for the fix! Guenter -- To

Re: [PATCH v2 4/4] usb: musb: omap2430: replace *_* with *-* in property names

2013-03-14 Thread Felipe Balbi
On Thu, Mar 07, 2013 at 06:51:46PM +0530, Kishon Vijay Abraham I wrote: > No functional change. Replace *_* with *-* in property names of otg to > follow the general convention. > > Signed-off-by: Kishon Vijay Abraham I this has been pending for quite a while, since nobody complained, I'm

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-14 Thread Arnd Bergmann
On Thursday 14 March 2013, Fabio Porcedda wrote: > This patch converts the drivers to use the > module_platform_driver_probe() macro which makes the code smaller and > a bit simpler. > > Signed-off-by: Fabio Porcedda > Cc: Greg Kroah-Hartman > Cc: Arnd Bergmann > --- >

Re: [PATCH v2 3/4] USB: Palmas OTG Transceiver Driver

2013-03-14 Thread Felipe Balbi
On Thu, Mar 07, 2013 at 06:51:45PM +0530, Kishon Vijay Abraham I wrote: > From: Graeme Gregory > > This is the driver for the OTG transceiver built into the Palmas chip. It > handles the various USB OTG events that can be generated by cable > insertion/removal. > > Signed-off-by: Graeme Gregory

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-14 Thread Mark Jackson
On 14/03/13 13:40, Mark Jackson wrote: > On 14/03/13 12:23, Artem Bityutskiy wrote: >> On Thu, 2013-03-14 at 14:18 +0200, Artem Bityutskiy wrote: Is this size larger than the allocated buffer ? >>> >>> I believe so. >> >> Err, I mean, the buffer is large enough. I do not believe there is a >>

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

2013-03-14 Thread Shuge
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: a. cpu0 call cpu_up: cpu_up() ->_cpu_up() ->__cpu_notify(CPU_UP_PREPARE) ->__cpu_up()

[PATCH] powerpc/40x: remove unused "config 405GPR"

2013-03-14 Thread Paul Bolle
The last user of Kconfig symbol 405GPR got removed in release v3.2. Remove this symbol too. Signed-off-by: Paul Bolle --- arch/powerpc/platforms/40x/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/powerpc/platforms/40x/Kconfig b/arch/powerpc/platforms/40x/Kconfig index

Re: [PATCH 0/9] overlay filesystem: request for inclusion (v17)

2013-03-14 Thread Miklos Szeredi
On Thu, Mar 14, 2013 at 12:08 AM, Andrew Morton wrote: > On Wed, 13 Mar 2013 15:16:24 +0100 Miklos Szeredi wrote: > >> Here's another version with the comments addressed plus a small bugfix and >> some >> checkpatch cleanups. > > It all looks nice to my rusty eye. But then, I like anything

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

2013-03-14 Thread Tommi Rantala
2013/3/14 Chris Wilson : > In order to prevent a potential NULL deference with hostile userspace, > we need to check whether the ioctl was passed an invalid args pointer. > > Reported-by: Tommi Rantala > Link: >

Re: [ 00/40] 3.4.36-stable review

2013-03-14 Thread Satoru Takeuchi
At Tue, 12 Mar 2013 15:43:21 -0700, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.4.36 release. > There are 40 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. >

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

2013-03-14 Thread Chris Wilson
In order to prevent a potential NULL deference with hostile userspace, we need to check whether the ioctl was passed an invalid args pointer. Reported-by: Tommi Rantala Link: http://lkml.kernel.org/r/ca+ydwtpubvbwxbt-tdgpuvj1eu7itmcho_2b3w13hkd5+jw...@mail.gmail.com Signed-off-by: Chris Wilson

[PATCH] params: Fix potential memory leak in add_sysfs_param()

2013-03-14 Thread David Woodhouse
On allocation failure, it would fail to free the old attrs array which was no longer referenced by anything (since it would free the old module_param_attrs struct on the way out). Comment the suspicious-looking krealloc() usage to explain why it *isn't* actually buggy, despite looking like a

Re: [PATCH 8/9] overlay: overlay filesystem documentation

2013-03-14 Thread Miklos Szeredi
On Thu, Mar 14, 2013 at 12:06 AM, Andrew Morton wrote: > On Wed, 13 Mar 2013 15:16:32 +0100 Miklos Szeredi wrote: > >> From: Neil Brown >> >> Document the overlay filesystem. >> > > Damn, I did it again. This is good, thanks. > >> +Changes to the underlying filesystems while part of a mounted

Re: [PATCH v2 0/4] usb: musb/otg: cleanup and fixes

2013-03-14 Thread Felipe Balbi
On Thu, Mar 14, 2013 at 11:53:55AM +0530, Kishon Vijay Abraham I wrote: > This series has some misc cleanup and fixes. The fix solves the cold > plug issue in omap3 which some have reported. Developed these patches on > fixes-for-v3.9-rc3 after applying >

Re: [PATCH] hwmon: lineage-pem: Add missing terminating entry for pem_[input|fan]_attributes

2013-03-14 Thread Guenter Roeck
On Thu, Mar 14, 2013 at 11:23:54AM +0100, Jean Delvare wrote: > Hi Axel, > > On Thu, 14 Mar 2013 16:27:18 +0800, Axel Lin wrote: > > Signed-off-by: Axel Lin > > --- > > drivers/hwmon/lineage-pem.c |2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/drivers/hwmon/lineage-pem.c

Re: [RFC] epoll: avoid spinlock contention with wfcqueue

2013-03-14 Thread Mathieu Desnoyers
or convenience everything is here: > > http://yhbt.net/epoll-wfcqueue-v3.8.2-20130314.mbox > (should apply cleanly to 3.9-rc* since there's no epoll changes in that) > > --8<--- > From 139f0d4528c3fabc6a54e47be73ba9990b42cdd8 Mon S

[PATCH] hwmon: (pmbus) Fix krealloc() misuse in pmbus_add_attribute()

2013-03-14 Thread David Woodhouse
If krealloc() returns NULL, it *doesn't* free the original. So any code of the form 'foo = krealloc(foo, …);' is almost certainly a bug. Signed-off-by: David Woodhouse --- drivers/hwmon/pmbus/pmbus_core.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git

[GIT PULL] ext2, ext3, reiserfs, quota fixes for 3.9-rc3

2013-03-14 Thread Jan Kara
Hello Linus, could you please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_linus to get a fix for regression in ext2, and a fix of one possibly exploitable format string issue in ext3. The rest isn't too serious. Top of the tree is c288d29. The full

Re: [PATCH 4/9] vfs: introduce clone_private_mount()

2013-03-14 Thread Miklos Szeredi
On Wed, Mar 13, 2013 at 11:48 PM, Andrew Morton wrote: > On Wed, 13 Mar 2013 15:16:28 +0100 Miklos Szeredi wrote: > >> From: Miklos Szeredi >> >> Overlayfs needs a private clone of the mount, so create a function for >> this and export to modules. >> >> ... >> >> +struct vfsmount

Re: [PATCH 1/1] mm/hugetlb: add more arch-defined huge_pte_xxx functions

2013-03-14 Thread Hillf Danton
On Thu, Mar 14, 2013 at 9:14 PM, Michal Hocko wrote: > Ouch, this adds a lot of code that is almost same for all archs except > for some. Can we just make one common definition and define only those > that differ, please? > Wonder if he is the guy that added THP for s390, which was a model work

Re: [PATCH 01/10] drivers: media: use module_platform_driver_probe()

2013-03-14 Thread Guennadi Liakhovetski
Hi Fabio On Thu, 14 Mar 2013, Fabio Porcedda wrote: > This patch converts the drivers to use the > module_platform_driver_probe() macro which makes the code smaller and > a bit simpler. > > Signed-off-by: Fabio Porcedda > Cc: Greg Kroah-Hartman > Cc: Mauro Carvalho Chehab > Cc: Josh Wu >

[PATCH] export.h: clarify comment in relation to avoiding includes

2013-03-14 Thread Paul Gortmaker
The existing comment indicated what was desired, but it didn't necessarily convey the reasoning behind it in an effective way. Cc: Rusty Russell Signed-off-by: Paul Gortmaker --- include/linux/export.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [Suggestion] Latest randconfig build errors for CONFIG_MMU=no

2013-03-14 Thread Jonathan Austin
Hi Chen, On 14/03/13 03:44, Chen Gang wrote: Hello Maintainers: when use randconfig: make V=1 EXTRA_CFLAGS=-W ARCH=arm randconfig (and "grep CONFIG_MMU .config" outputs "# CONFIG_MMU is not set") the error information: arch/arm/kernel/suspend.c: 在函数‘cpu_suspend’中:

Re: [PATCH v5 3/3] mtd: add 4 Toshiba nand chips for the full-id case

2013-03-14 Thread Huang Shijie
于 2013年03月14日 01:10, Brian Norris 写道: On Wed, Mar 13, 2013 at 7:59 PM, Huang Shijie wrote: I have 4 Toshiba nand chips which can not be parsed out by the id data. We can not get the oob size from the id data. So add them as the full-id nand chips in the first of nand_flash_ids. The

Re: [PATCH] caif: remove caif_shm

2013-03-14 Thread Linus Walleij
On Fri, Mar 8, 2013 at 10:56 AM, Erwan Yvin wrote: > caif_shm is an old implementation > caif_shm will be replaced by caif_virtio > > Signed-off-by: Erwan Yvin > Acked-by: Sjur Brendeland Acked-by: Linus Walleij The story is something like this: U5500 used this, but was cancelled and the

[PATCH] hw_random: free rng_buffer at module exit

2013-03-14 Thread Satoru Takeuchi
At Thu, 14 Mar 2013 17:11:21 +1030, Rusty Russell wrote: > > Satoru Takeuchi writes: > > Hi Rusty, > > > > At Tue, 12 Mar 2013 15:43:33 -0700, > > Greg Kroah-Hartman wrote: > >> @@ -307,6 +312,14 @@ int hwrng_register(struct hwrng *rng) > >> > >>mutex_lock(_mutex); > >> > >> + /*

Re: zsmalloc limitations and related topics

2013-03-14 Thread Robert Jennings
* Bob (bob@oracle.com) wrote: > On 03/14/2013 06:59 AM, Seth Jennings wrote: > >On 03/13/2013 03:02 PM, Dan Magenheimer wrote: > >>>From: Robert Jennings [mailto:r...@linux.vnet.ibm.com] > >>>Subject: Re: zsmalloc limitations and related topics > >> > >>Yes. And add pageframe-reclaim to this

[RFC PATCH] Linux kernel Wait-Free Concurrent Queue Implementation (v2)

2013-03-14 Thread Mathieu Desnoyers
Ported to the Linux kernel from Userspace RCU library, at commit 108a92e5b97ee91b2b902dba2dd2e78aab42f420. Ref: http://git.lttng.org/userspace-rcu.git It is provided as a starting point only. Test cases should be ported from Userspace RCU to kernel space and thoroughly ran on a wide range of

Re: [RFC PATCH] Linux kernel Wait-Free Concurrent Queue Implementation

2013-03-14 Thread Mathieu Desnoyers
* Eric Wong (normalper...@yhbt.net) wrote: > Mathieu Desnoyers wrote: > > Ported to the Linux kernel from Userspace RCU library, at commit > > 108a92e5b97ee91b2b902dba2dd2e78aab42f420. > > > > Ref: http://git.lttng.org/userspace-rcu.git > > > > It is provided as a starting point only. Test

[PATCH] drivers: misc: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Arnd Bergmann --- drivers/misc/arm-charlcd.c | 13 + drivers/misc/atmel_pwm.c | 12

[PATCH 03/10] drivers: char: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Matt Mackall Cc: Herbert Xu Cc: Fabio Estevam Cc: Sascha Hauer --- drivers/char/hw_random/mxc-rnga.c |

[PATCH 08/10] drivers: mfd: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Linus Walleij Cc: Samuel Ortiz Cc: linux-arm-ker...@lists.infradead.org ---

[PATCH 00/10] Use module_platform_driver_probe() part 2

2013-03-14 Thread Fabio Porcedda
Hi all, this patch set is the second part for the conversion to use new module_platform_driver_probe() macro. I will send a part 3 for the remaining drivers. Fabio Porcedda (10): drivers: media: use module_platform_driver_probe() drivers: ata: use module_platform_driver_probe() drivers:

Re: [PATCH 1/1] mm/hugetlb: add more arch-defined huge_pte_xxx functions

2013-03-14 Thread Michal Hocko
On Tue 12-03-13 19:48:26, 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

[PATCH 02/10] drivers: ata: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Jeff Garzik Cc: linux-...@vger.kernel.org --- drivers/ata/pata_at32.c | 13 +

[PATCH 07/10] drivers: memory: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Benoit Cousson Cc: Aneesh V --- drivers/memory/emif.c | 12 +--- 1 file changed, 1 insertion(+), 11

Re: [PATCH 00/03] gpio: Renesas R-Car GPIO driver update

2013-03-14 Thread Laurent Pinchart
Hi Magnus, On Thursday 14 March 2013 13:23:46 Magnus Damm wrote: > On Wed, Mar 13, 2013 at 9:58 PM, Laurent Pinchart wrote: > > On Wednesday 13 March 2013 20:32:03 Magnus Damm wrote: > >> gpio: Renesas R-Car GPIO driver update > >> > >> [PATCH 01/03] gpio: Renesas R-Car GPIO driver V2 > >>

[PATCH 06/10] drivers: input: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Dmitry Torokhov Cc: Mark Brown Cc: Liam Girdwood Cc: Bill Pemberton Cc: Linus Walleij Cc: David Howells

[PATCH 09/10] drivers: video: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Richard Purdie Cc: Florian Tobias Schandinat Cc: linux-fb...@vger.kernel.org ---

[PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Arnd Bergmann --- drivers/misc/atmel_pwm.c | 12 +--- drivers/misc/ep93xx_pwm.c | 13 +

[PATCH 05/10] drivers: ide: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: "David S. Miller" Cc: linux-...@vger.kernel.org --- drivers/ide/gayle.c | 15 +--

[PATCH 04/10] drivers: hwmon: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Jean Delvare Cc: Guenter Roeck Cc: lm-sens...@lm-sensors.org --- drivers/hwmon/mc13783-adc.c | 13

[PATCH 01/10] drivers: media: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Mauro Carvalho Chehab Cc: Josh Wu Cc: Guennadi Liakhovetski Cc: Hans Verkuil Cc:

Re: [PATCH v3] mm/hugetlb: fix total hugetlbfs pages count when memory overcommit accouting

2013-03-14 Thread Michal Hocko
On Thu 14-03-13 19:30:46, Wanpeng Li wrote: > Changelog: > v2 -> v3: > * update patch description, spotted by Michal > v1 -> v2: > * update patch description, spotted by Michal > > "hugetlb_total_pages is used for overcommit calculations but the > current implementation considers only

Re: [PATCH 2/3] ARM: davinci: da850: Enable EHRPWM TBCLK from CFG_CHIP1

2013-03-14 Thread Sekhar Nori
On 3/14/2013 4:07 PM, Philip Avinash wrote: > da850 platforms require TBCLK synchronization in CFG_CHIP1 register for > TBCLK enable in EHRPWM modules. Enabling of TBCLK is done only if EHRPWM > DT node status is set to "okay" DT blob. > Also adds macro definitions for DA8XX_EHRPWM_TBCLKSYNC and >

Re: [PATCH v2] mm/hugetlb: fix total hugetlbfs pages count when memory overcommit accouting

2013-03-14 Thread Michal Hocko
On Thu 14-03-13 19:24:11, Wanpeng Li wrote: > On Thu, Mar 14, 2013 at 12:09:27PM +0100, Michal Hocko wrote: > >On Thu 14-03-13 18:49:49, Wanpeng Li wrote: > >> Changelog: > >> v1 -> v2: > >> * update patch description, spotted by Michal > >> > >> hugetlb_total_pages() does not account for all

DT_WHT (Re: [PATCH 00/13] overlay filesystem: request for inclusion (v16))

2013-03-14 Thread J. R. Okajima
Miklos Szeredi: > On Thu, Mar 14, 2013 at 12:19 AM, Al Viro wrote: ::: > > As for whiteouts... I think we ought to pull these bits of unionmoun > > queue into the common stem and add the missing filesystems to them; > > ext* and ufs are trivial (keep in mind that FFS derivatives,

RE: [PATCH 2/3] pwm: pwm-tiecap: Add device-tree binding support for da850 SOC

2013-03-14 Thread Philip, Avinash
On Thu, Mar 14, 2013 at 17:13:08, Nori, Sekhar wrote: > On 3/14/2013 4:02 PM, Philip Avinash wrote: > > ECAP IP is used in da850 SOC's also. Hence adds ECAP device tree binding > > support for da850. > > > > Cc: Grant Likely > > Cc: Rob Herring > > Cc: Rob Landley > > Signed-off-by: Philip

RE: [PATCH 1/3] pwm: davinci: Add Kconfig support for ECAP & EHRPWM devices

2013-03-14 Thread Philip, Avinash
On Thu, Mar 14, 2013 at 17:09:04, Nori, Sekhar wrote: > On 3/14/2013 4:02 PM, Philip Avinash wrote: > > Add EHRPWM and ECAP support build support for DAVINCI_DA850 platforms. > > > > Also, since DAVINCI platforms doesn't support TI-PWM-Subsystem module, > > remove the select option for

Re: [PATCH] X.509: Remove certificate date checks

2013-03-14 Thread David Woodhouse
On Thu, 2013-03-14 at 12:34 +, David Howells wrote: > Remove the certificate date checks that are performed when a certificate is > parsed. There are two checks: a valid from and a valid to. The first check > is > causing a lot of problems with system clocks that don't keep good time and

[PATCH v2 1/2] usb: dwc3: exynos: Use of_platform API to create dwc3 core pdev

2013-03-14 Thread Vivek Gautam
Used of_platform_populate() to create dwc3 core platform_device from device tree data. Additionally some cleanup is also done. Signed-off-by: Vivek Gautam CC: Felipe Balbi CC: Kukjin Kim --- Changes from v1: - Added method to unregister dwc3 core from dwc3_exynos_remove() using

i915 drm oopses while fuzzing

2013-03-14 Thread Tommi Rantala
Hi, I saw these i915 oopses while fuzzing with trinity. The kernel is mainline v3.9-rc2-188-g6c23cbb, along with these two patches from Dave Airlie applied: [PATCH 1/2] drm: fix idr_remove warning during fuzzing [PATCH 2/2] drm: don't oops in ioctls that require the lock if no lock [

Re: [GIT PULL] sched: Cputime update for 3.10

2013-03-14 Thread Frederic Weisbecker
2013/3/14 Stanislaw Gruszka : > On Thu, Mar 14, 2013 at 08:14:27AM +0100, Ingo Molnar wrote: >> Hm, is this a new bug? When was it introduced and is upstream affected as >> well? > > Commit 0cf55e1ec08bb5a22e068309e2d8ba1180ab4239 start to use scalling > for whole thread group, so increase chances

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

2013-03-14 Thread Hillf Danton
On Sat, Mar 9, 2013 at 10:14 AM, Will Huck wrote: > Cc experts. Hugh, Johannes, > > On 03/04/2013 08:21 PM, Lenky Gao wrote: >> >> 2013/3/4 Zlatko Calusic : >>> >>> The drop_caches mechanism doesn't free dirty page cache pages. And your >>> bash >>> script is creating a lot of dirty pages. Run it

Re: [PATCH 1/3] arm: davinci: clock node support for ECAP & EHRPWM

2013-03-14 Thread Sekhar Nori
On 3/14/2013 4:07 PM, Philip Avinash wrote: > Add clock node support for ECAP and EHRPWM modules. > Also adds dummy clock for EHRWPM TBCLK to comply with pwm-tiehrpwm > driver. This is not right. So the version of IP used on AM335x uses a TBCLK and that's absent on the version used on DA850? If

[PATCH] X.509: Remove certificate date checks

2013-03-14 Thread David Howells
Remove the certificate date checks that are performed when a certificate is parsed. There are two checks: a valid from and a valid to. The first check is causing a lot of problems with system clocks that don't keep good time and the second places an implicit expiry date upon the kernel when used

mm: trivial: Remove duplicate declaration for migrate_misplaced_page

2013-03-14 Thread Srikar Dronamraju
Just noticied that e14808b49 added a duplicate extern declaration for migrate_misplaced_page() Signed-off-by: Srikar Dronamraju --- diff --git a/include/linux/migrate.h b/include/linux/migrate.h index a405d3dc..086bd33 100644 --- a/include/linux/migrate.h +++ b/include/linux/migrate.h @@

[PATCH 3/8] perf tools: check if -DFORTIFY_SOURCE=2 is allowed

2013-03-14 Thread Arnaldo Carvalho de Melo
From: Marcin Slusarz It seems gcc (4.7.2) defines _FORTIFY_SOURCE internally and becomes confused when it sees another definition in flags. For me, build failed like this: CHK glibc Makefile:548: *** No gnu/libc-version.h found, please install glibc-dev[el]/glibc-static. Stop. and only with

[PATCH 2/8] perf report: Fix build with NO_NEWT=1

2013-03-14 Thread Arnaldo Carvalho de Melo
From: Michael Ellerman Commit ad0de09 "Enable the runtime switching of perf data file" broke the build with NO_NEWT=1: CC builtin-report.o builtin-report.c: In function '__cmd_report': builtin-report.c:479:15: error: 'K_SWITCH_INPUT_DATA' undeclared (first use in this function)

[PATCH] Fix x509_key_preparse() not to reject keys outside their validity time range

2013-03-14 Thread David Woodhouse
The x509_key_preparse() function will refuse to even *parse* a certificate when the system clock happens to be set to a time before the ValidFrom or after the ValidTo date. This is wrong. If date checks are to be done, they need to be done at the time the cert is *used*. It should be perfectly

[PATCH 4/8] perf record: Fix -C option

2013-03-14 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Currently the -C option does not work for record command, because of the targets mismatch when synthesizing threads. Fixing this by using proper target interface for the synthesize decision. Signed-off-by: Jiri Olsa Reported-by: Oleg Nesterov Cc: Corey Ashford Cc: David

[PATCH 7/8] perf/POWER7: Create a sysfs format entry for Power7 events

2013-03-14 Thread Arnaldo Carvalho de Melo
From: Sukadev Bhattiprolu Create a sysfs entry, '/sys/bus/event_source/devices/cpu/format/event' which describes the format of the POWER7 PMU events. This code is based on corresponding code in x86. Changelog[v4]: [Michael Ellerman, Paul Mckerras] The event format is different

[PATCH 5/8] libtraceevent: Remove hard coded include to /usr/local/include in Makefile

2013-03-14 Thread Arnaldo Carvalho de Melo
From: Jack Mitchell having /usr/local/include hardcoded into the makefile is not necessary as this is automatically included by GCC. It also infects cross-compile builds with the host systems includes. Signed-off-by: Jack Mitchell Acked-by: Namhyung Kim Cc: Ingo Molnar Cc: Paul Mackerras

[PATCH 8/8] perf tools: Fix LIBNUMA build with glibc 2.12 and older.

2013-03-14 Thread Arnaldo Carvalho de Melo
From: Vinson Lee The tokens MADV_HUGEPAGE and MADV_NOHUGEPAGE are not available with glibc 2.12 and older. Define these tokens if they are not already defined. This patch fixes these build errors with older versions of glibc. CC bench/numa.o bench/numa.c: In function ‘alloc_data’:

[PATCH 6/8] perf probe: Fix segfault

2013-03-14 Thread Arnaldo Carvalho de Melo
From: Ananth N Mavinakayanahalli Fix segfault in perf probe due to a bug introduced by commit d8639f068 (perf tools: Stop using 'self' in strlist). Signed-off-by: Ananth N Mavinakayanahalli Acked-by: Srikar Dronamraju Cc: Srikar Dronamraju Link:

[PATCH 1/8] perf annotate: Fix build with NO_NEWT=1

2013-03-14 Thread Arnaldo Carvalho de Melo
From: Michael Ellerman Commit 18c9e5c "Make it to be able to skip unannotatable symbols" broke the build with NO_NEWT=1: CC builtin-annotate.o builtin-annotate.c: In function 'hists__find_annotations': builtin-annotate.c:161:4: error: duplicate case value builtin-annotate.c:154:4: error:

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-14 Thread Artem Bityutskiy
On Thu, 2013-03-14 at 14:18 +0200, Artem Bityutskiy wrote: > > Is this size larger than the allocated buffer ? > > I believe so. Err, I mean, the buffer is large enough. I do not believe there is a stupid bug like too small buffer. This code has worked for years and I do not think it was changes

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-14 Thread Artem Bityutskiy
On Thu, 2013-03-14 at 12:02 +, Mark Jackson wrote: > But there's also a call to crc with a size of 122880 bytes, and that's > when the oops occurs. > This is when we do the atomic LEB change. > Is this size larger than the allocated buffer ? I believe so. -- Best Regards, Artem Bityutskiy

Re: [PATCH v5 00/44] ldisc patchset

2013-03-14 Thread Michel Lespinasse
On Thu, Mar 14, 2013 at 4:42 AM, Peter Hurley wrote: > On Thu, 2013-03-14 at 00:25 -0700, Michel Lespinasse wrote: >> Its not too late to run away from it and preserve your sanity (as well >> as that of the next person working on the tty layer :) > > The long-term plan is to migrate it to lib so

Re: [PATCH 1/2] usb: dwc3: exynos: Use of_platform API to create dwc3 core pdev

2013-03-14 Thread Vivek Gautam
On Thu, Mar 14, 2013 at 4:21 PM, Felipe Balbi wrote: > Hi, > > On Thu, Mar 14, 2013 at 04:14:57PM +0530, Vivek Gautam wrote: >> @@ -170,7 +155,6 @@ static int dwc3_exynos_remove(struct platform_device >> *pdev) >> { >> struct dwc3_exynos *exynos = platform_get_drvdata(pdev); >> >> -

[PATCH 2/2] pinctrl/nomadik: Fix checkpatch errors

2013-03-14 Thread Sachin Kamat
Fixes the following types of checkpatch errors: ERROR: space required after that ',' (ctx:VxV) ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Sachin Kamat --- drivers/pinctrl/pinctrl-nomadik.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 1/2] pinctrl/nomadik-db8500: Fix checkpatch errors

2013-03-14 Thread Sachin Kamat
Silences the following type of checkpatch errors: ERROR: space required after that ',' (ctx:VxV) Signed-off-by: Sachin Kamat --- drivers/pinctrl/pinctrl-nomadik-db8500.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-nomadik-db8500.c

Re: zsmalloc limitations and related topics

2013-03-14 Thread Bob
On 03/14/2013 06:59 AM, Seth Jennings wrote: On 03/13/2013 03:02 PM, Dan Magenheimer wrote: From: Robert Jennings [mailto:r...@linux.vnet.ibm.com] Subject: Re: zsmalloc limitations and related topics Hi Robert -- Thanks for the well-considered reply! * Dan Magenheimer

Re: [PATCH v2] USB: ehci-s5p: Fix phy reset

2013-03-14 Thread Alexander Graf
On 14.03.2013, at 04:38, Doug Anderson wrote: > Alexander, > > On Wed, Mar 13, 2013 at 4:59 PM, Alexander Graf wrote: >> On my Exynos 5 based Arndale system, I need to pull the reset line down >> and then let it go up again to actually perform a reset. Without that >> reset, I can't find any

<    1   2   3   4   5   6   7   8   9   10   >