Re: [PATCHv3 2/4] Input: keypad: Add smsc ece1099 keypad driver

2012-10-02 Thread Poddar, Sourav
Hi Dmitry, On Tue, Oct 2, 2012 at 11:48 AM, Dmitry Torokhov wrote: > Hi Sourav, > > On Mon, Oct 01, 2012 at 04:31:50PM +0530, Sourav Poddar wrote: >> From: G, Manjunath Kondaiah >> >> SMSC ECE1099 is a keyboard scan or GPIO expansion device.The device >> supports a keypad scan matrix of

[PATCH] module: Fix kallsyms to show the last symbol properly

2012-10-02 Thread masaki . kimura . kz
This patch fixes a bug that the last symbol in the .symtab section of kernel modules is not displayed with /proc/kallsyms. This happens because the first symbol is processed twice before and inside the loop without incrementing "src". This bug exists since the following commit was introduced.

[PATCH v0] Add SHA-3 hash algorithm

2012-10-02 Thread Jeff Garzik
Whee -- SHA-3 is out! I wanted to explore the new toy a bit, and so, here is a blatantly untested rough draft of SHA-3 kernel support. Why rough draft? Because answers to the questions below will inform a more polished version. Code notes and questions: 1) tcrypt setup blatantly wrong.

Re: [PATCH] Fix devmem_is_allowed for below 1MB accesses for an efi machine

2012-10-02 Thread H. Peter Anvin
On 10/02/2012 10:28 PM, Matthew Garrett wrote: > On Tue, Oct 02, 2012 at 11:13:17PM -0600, Thavatchai Makphaibulchoke wrote: > >> Sounds like a better solution is to allow accesses to only I/O regions >> presented in the EFI memory map for physical addresses below 1 MB. > > That won't work -

Re: [PATCH] mm: use %pK for /proc/vmallocinfo

2012-10-02 Thread David Rientjes
On Tue, 2 Oct 2012, Kees Cook wrote: > >> In the paranoid case of sysctl kernel.kptr_restrict=2, mask the kernel > >> virtual addresses in /proc/vmallocinfo too. > >> > >> Reported-by: Brad Spengler > >> Signed-off-by: Kees Cook > > > > /proc/vmallocinfo is S_IRUSR, not S_IRUGO, so exactly what

linux-next: fate of the kvmtool tree

2012-10-02 Thread Stephen Rothwell
Hi all, Well, here we are at another merge window and the kvmtool tree is still not merged. So, is it likely that it will be merged in this merge window? or the next? If not, can I please remove it from linux-next (and have it removed from the auto-latest branch of the tip tree) as it just

Re: [PATCH] Fix devmem_is_allowed for below 1MB accesses for an efi machine

2012-10-02 Thread Matthew Garrett
On Tue, Oct 02, 2012 at 11:13:17PM -0600, Thavatchai Makphaibulchoke wrote: > Sounds like a better solution is to allow accesses to only I/O regions > presented in the EFI memory map for physical addresses below 1 MB. That won't work - unfortunately we do still need the low region to be

Re: [PATCH] Fix devmem_is_allowed for below 1MB accesses for an efi machine

2012-10-02 Thread H. Peter Anvin
On 10/02/2012 10:15 PM, Matthew Garrett wrote: > On Tue, Oct 02, 2012 at 09:44:16PM -0700, H. Peter Anvin wrote: > >> We *always* expose the I/O regions to /dev/mem. That is what /dev/mem >> *does*. The above is an exception (which is really obsolete, too: we >> should simply disallow access to

Re: [git patches] libata fixes for 3.7

2012-10-02 Thread Michael Tokarev
On 02.10.2012 23:59, Jeff Garzik wrote: > On 10/02/2012 03:44 PM, Michael Tokarev wrote: >> On 02.10.2012 23:40, Jeff Garzik wrote: >> >>> Minor libata updates, nothing notable. >>> >>> 1) Apply -- and then revert -- the FUA feature. Caused >>> disk corruption in linux-next, proving it cannot

Re: [PATCH] Fix devmem_is_allowed for below 1MB accesses for an efi machine

2012-10-02 Thread Thavatchai Makphaibulchoke
Thank you both for the comments. Sounds like a better solution is to allow accesses to only I/O regions presented in the EFI memory map for physical addresses below 1 MB. Do we need to worry about the X checksum in the first MB on an EFI system? Thanks, Mak. On 10/02/2012 11:15 PM, Matthew

Re: [PATCH v2] psmouse: mitigate failing-mouse symptoms

2012-10-02 Thread Jim Hill
On 09/30/2012 11:02 AM, Alessandro Rubini wrote: >> I think this would be less controversial if the run-time default were >> to disable the feature. > > Yes, that's the common sensible path Fixed, there's no way I can test it well enough for anything more widespread. > Then, I think it would be

Re: [PATCH] Fix devmem_is_allowed for below 1MB accesses for an efi machine

2012-10-02 Thread Matthew Garrett
On Tue, Oct 02, 2012 at 09:44:16PM -0700, H. Peter Anvin wrote: > We *always* expose the I/O regions to /dev/mem. That is what /dev/mem > *does*. The above is an exception (which is really obsolete, too: we > should simply disallow access to anything which is treated as system > RAM, which

Re: [PATCH] mm: use %pK for /proc/vmallocinfo

2012-10-02 Thread Kees Cook
On Tue, Oct 2, 2012 at 10:12 PM, David Rientjes wrote: > On Tue, 2 Oct 2012, Kees Cook wrote: > >> In the paranoid case of sysctl kernel.kptr_restrict=2, mask the kernel >> virtual addresses in /proc/vmallocinfo too. >> >> Reported-by: Brad Spengler >> Signed-off-by: Kees Cook > >

Re: [PATCH] mm: use %pK for /proc/vmallocinfo

2012-10-02 Thread David Rientjes
On Tue, 2 Oct 2012, Kees Cook wrote: > In the paranoid case of sysctl kernel.kptr_restrict=2, mask the kernel > virtual addresses in /proc/vmallocinfo too. > > Reported-by: Brad Spengler > Signed-off-by: Kees Cook /proc/vmallocinfo is S_IRUSR, not S_IRUGO, so exactly what are you trying to

Re: [PATCH v4 2/2] hwmon: (ads7828) add support for ADS7830

2012-10-02 Thread Guenter Roeck
On Tue, Oct 02, 2012 at 11:33:27PM -0400, Vivien Didelot wrote: > From: Guillaume Roguez > > The ADS7830 device is almost the same as the ADS7828, > except that it does 8-bit sampling, instead of 12-bit. > This patch extends the ads7828 driver to support this chip. > > Signed-off-by: Guillaume

Re: [PATCH] make GFP_NOTRACK flag unconditional

2012-10-02 Thread David Rientjes
On Fri, 28 Sep 2012, Glauber Costa wrote: > There was a general sentiment in a recent discussion (See > https://lkml.org/lkml/2012/9/18/258) that the __GFP flags should be > defined unconditionally. Currently, the only offender is GFP_NOTRACK, > which is conditional to KMEMCHECK. > > This simple

Re: [PATCH] slub: init_kmem_cache_cpus() and put_cpu_partial() can be static

2012-10-02 Thread David Rientjes
On Fri, 28 Sep 2012, Fengguang Wu wrote: > Acked-by: Glauber Costa > Signed-off-by: Fengguang Wu Acked-by: David Rientjes I think init_kmem_cache_cpus() would also benefit from just being inlined into alloc_kmem_cache_cpus(). -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v4 1/2] hwmon: (ads7828) driver cleanup

2012-10-02 Thread Guenter Roeck
On Tue, Oct 02, 2012 at 11:33:26PM -0400, Vivien Didelot wrote: > * Remove module parameters, add a ads7828_platform_data; > * Move driver declaration to avoid adding function prototypes; > * Remove unused macros; > * Coding Style fixes. > > Signed-off-by: Vivien Didelot Hi Vivien, nice

Re: [GIT] Security subsystem updates for 3.7

2012-10-02 Thread Linus Torvalds
On Tue, Oct 2, 2012 at 4:35 AM, James Morris wrote: > Highlights: > > - Integrity: add local fs integrity verification to detect offline attacks > - Integrity: add digital signature verification Ok, the integrity changes in particular clashed with the new user namespace support by Eric

Re: [PATCH] Fix devmem_is_allowed for below 1MB accesses for an efi machine

2012-10-02 Thread H. Peter Anvin
On 10/02/2012 09:31 PM, Matthew Garrett wrote: > On Tue, Oct 02, 2012 at 02:50:09PM -0700, H. Peter Anvin wrote: > >> That sounds like exactly the opposite of normal /dev/mem behavior... we >> allow access to non-memory resources (which really could do anything if >> misused), but not memory. >

Re: Re: [PATCH v3 1/3] devfreq: Core updates to support devices which can idle

2012-10-02 Thread Rajagopal Venkat
On 2 October 2012 11:11, MyungJoo Ham wrote: >> On 27 September 2012 13:50, MyungJoo Ham wrote: >> >> Prepare devfreq core framework to support devices which >> >> can idle. When device idleness is detected perhaps through >> >> runtime-pm, need some mechanism to suspend devfreq load >> >>

RE: [PATCHv4 1/4] modem_shm: Add Modem Access Framework

2012-10-02 Thread Arun MURTHY
> On Wed, Oct 3, 2012 at 9:24 AM, Arun MURTHY > wrote: > >> On Mon, Oct 01, 2012 at 07:30:38AM +0200, Arun MURTHY wrote: > >> > > On Fri, Sep 28, 2012 at 01:35:01PM +0530, Arun Murthy wrote: > >> > > > +#include > >> > > > +#include > >> > > > +#include > >> > > > +#include > >> > > >

Re: [PATCH] Fix devmem_is_allowed for below 1MB accesses for an efi machine

2012-10-02 Thread Matthew Garrett
On Tue, Oct 02, 2012 at 02:50:09PM -0700, H. Peter Anvin wrote: > That sounds like exactly the opposite of normal /dev/mem behavior... we > allow access to non-memory resources (which really could do anything if > misused), but not memory. >From arch/x86/mm/init.c: * On x86, access has to be

linux-next: manual merge of the battery tree with the tree

2012-10-02 Thread Stephen Rothwell
Hi Anton, Today's linux-next merge of the battery tree got a conflict in include/linux/mfd/88pm860x.h between commit 2e57d56747e6 ("mfd: 88pm860x: Device tree support") from the mfd tree and commit a830d28b48bf ("power_supply: Enable battery-charger for 88pm860x") from the battery tree. I fixed

Re: [REGRESSION] nfsd crashing with 3.6.0-rc7 on PowerPC

2012-10-02 Thread Benjamin Herrenschmidt
On Tue, 2012-10-02 at 14:43 -0700, Nishanth Aravamudan wrote: > > Started looking into this. If your suspicion were accurate, wouldn't > the > bisection have stopped at 0e4bc95d87394364f408627067238453830bdbf3 > ("powerpc/iommu: Reduce spinlock coverage in iommu_alloc and > iommu_free")? > >

[PATCH]staging "xgifb" Fix typos.

2012-10-02 Thread Justin P. Mattock
From: "Justin P. Mattock" Signed-off-by: Justin P. Mattock --- The patch below fixes typos while reading through staging "xgifb". drivers/staging/xgifb/TODO |2 +- drivers/staging/xgifb/vb_setmode.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCHv4 1/4] modem_shm: Add Modem Access Framework

2012-10-02 Thread anish singh
On Wed, Oct 3, 2012 at 9:24 AM, Arun MURTHY wrote: >> On Mon, Oct 01, 2012 at 07:30:38AM +0200, Arun MURTHY wrote: >> > > On Fri, Sep 28, 2012 at 01:35:01PM +0530, Arun Murthy wrote: >> > > > +#include >> > > > +#include >> > > > +#include >> > > > +#include >> > > > +#include >> > > > + >>

Re: Lockdep complains about commit 1331e7a1bb ("rcu: Remove _rcu_barrier() dependency on __stop_machine()")

2012-10-02 Thread Srivatsa S. Bhat
On 10/03/2012 09:37 AM, Paul E. McKenney wrote: > On Wed, Oct 03, 2012 at 09:29:01AM +0530, Srivatsa S. Bhat wrote: >> On 10/03/2012 05:01 AM, Paul E. McKenney wrote: >>> On Tue, Oct 02, 2012 at 11:58:36PM +0200, Jiri Kosina wrote: On Tue, 2 Oct 2012, Jiri Kosina wrote:

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

2012-10-02 Thread Stephen Rothwell
Hi Samuel, Today's linux-next merge of the mfd tree got a conflict in drivers/video/backlight/88pm860x_bl.c between commit e1c9ac420ef1 ("Revert "backlight: fix memory leak on obscure error path"") from Linus' tree and commit a6ccdcd98c39 ("mfd: 88pm860x: Use REG resource for backlight") from the

[PATCH] perf kvm: move global variables into a perf_kvm struct

2012-10-02 Thread David Ahern
Cleans up the builtin-kvm code in preparation for the live mode. No functional changes; only code movement. Signed-off-by: David Ahern Cc: Dong Hao Cc: Runzhen Wang Cc: Xiao Guangrong Cc: Ingo Molnar --- tools/perf/builtin-kvm.c | 460 +- 1 file

Re: Lockdep complains about commit 1331e7a1bb ("rcu: Remove _rcu_barrier() dependency on __stop_machine()")

2012-10-02 Thread Paul E. McKenney
On Wed, Oct 03, 2012 at 09:29:01AM +0530, Srivatsa S. Bhat wrote: > On 10/03/2012 05:01 AM, Paul E. McKenney wrote: > > On Tue, Oct 02, 2012 at 11:58:36PM +0200, Jiri Kosina wrote: > >> On Tue, 2 Oct 2012, Jiri Kosina wrote: > >> > >> 1331e7a1bbe1f11b19c4327ba0853bee2a606543 is the first bad

Re: Lockdep complains about commit 1331e7a1bb ("rcu: Remove _rcu_barrier() dependency on __stop_machine()")

2012-10-02 Thread Srivatsa S. Bhat
On 10/03/2012 09:14 AM, Paul E. McKenney wrote: > On Wed, Oct 03, 2012 at 09:05:31AM +0530, Srivatsa S. Bhat wrote: >> On 10/03/2012 03:47 AM, Jiri Kosina wrote: >>> On Wed, 3 Oct 2012, Srivatsa S. Bhat wrote: >>> I don't see how this circular locking dependency can occur.. If you are

Re: Lockdep complains about commit 1331e7a1bb ("rcu: Remove _rcu_barrier() dependency on __stop_machine()")

2012-10-02 Thread Srivatsa S. Bhat
On 10/03/2012 05:01 AM, Paul E. McKenney wrote: > On Tue, Oct 02, 2012 at 11:58:36PM +0200, Jiri Kosina wrote: >> On Tue, 2 Oct 2012, Jiri Kosina wrote: >> >> 1331e7a1bbe1f11b19c4327ba0853bee2a606543 is the first bad commit >> commit 1331e7a1bbe1f11b19c4327ba0853bee2a606543 >> Author:

Re: [PATCH 0/2] memory-hotplug : notification of memoty block's state

2012-10-02 Thread Yasuaki Ishimatsu
Hi Chen, 2012/10/03 11:12, Ni zhan Chen wrote: On 10/03/2012 09:21 AM, Yasuaki Ishimatsu wrote: Hi Andrew, 2012/10/03 6:42, Andrew Morton wrote: On Tue, 2 Oct 2012 17:25:06 +0900 Yasuaki Ishimatsu wrote: remove_memory() offlines memory. And it is called by following two cases: 1. echo

RE: [PATCHv4 1/4] modem_shm: Add Modem Access Framework

2012-10-02 Thread Arun MURTHY
> On Mon, Oct 01, 2012 at 07:30:38AM +0200, Arun MURTHY wrote: > > > On Fri, Sep 28, 2012 at 01:35:01PM +0530, Arun Murthy wrote: > > > > +#include > > > > +#include > > > > +#include > > > > +#include > > > > +#include > > > > + > > > > +static struct class *modem_class; > > > > > > What's

Re: [PATCH] mm, slab: release slab_mutex earlier in kmem_cache_destroy() (was Re: Lockdep complains about commit 1331e7a1bb ("rcu: Remove _rcu_barrier() dependency on __stop_machine()"))

2012-10-02 Thread Srivatsa S. Bhat
On 10/03/2012 06:15 AM, Jiri Kosina wrote: > On Tue, 2 Oct 2012, Paul E. McKenney wrote: > >> On Wed, Oct 03, 2012 at 01:48:21AM +0200, Jiri Kosina wrote: >>> On Tue, 2 Oct 2012, Paul E. McKenney wrote: >>> Indeed. Slab seems to be doing an rcu_barrier() in a CPU hotplug notifier,

Re: Soft lockup in scsi_remove_target under 3.6 (regression from 3.5)

2012-10-02 Thread Mike Christie
On 10/02/2012 07:43 PM, Jonathan McDowell wrote: > Upgraded to 3.6 today on my dev box and after seeing an FC attached SAN > go down and come back up (due to an expected reboot) I started getting > the following in my logs. It continues even after the array is back and > functioning - I'm seeing:

Re: Lockdep complains about commit 1331e7a1bb ("rcu: Remove _rcu_barrier() dependency on __stop_machine()")

2012-10-02 Thread Paul E. McKenney
On Wed, Oct 03, 2012 at 09:05:31AM +0530, Srivatsa S. Bhat wrote: > On 10/03/2012 03:47 AM, Jiri Kosina wrote: > > On Wed, 3 Oct 2012, Srivatsa S. Bhat wrote: > > > >> I don't see how this circular locking dependency can occur.. If you are > >> using SLUB, > >> kmem_cache_destroy() releases

Re: [PATCH] block: makes bio_split support bio without data

2012-10-02 Thread Kent Overstreet
Adding Martin to the cc, so he can chime in on WRITE_SAME if I got it wrong On Wed, Oct 03, 2012 at 01:30:45PM +1000, NeilBrown wrote: > On Tue, 2 Oct 2012 14:09:23 -0700 Kent Overstreet > wrote: > > > On Tue, Oct 02, 2012 at 04:22:01PM +1000, NeilBrown wrote: > > > On Fri, 28 Sep 2012 09:23:43

Re: [PATCH] mm, slab: release slab_mutex earlier in kmem_cache_destroy() (was Re: Lockdep complains about commit 1331e7a1bb ("rcu: Remove _rcu_barrier() dependency on __stop_machine()"))

2012-10-02 Thread Paul E. McKenney
On Wed, Oct 03, 2012 at 02:45:30AM +0200, Jiri Kosina wrote: > On Tue, 2 Oct 2012, Paul E. McKenney wrote: > > > On Wed, Oct 03, 2012 at 01:48:21AM +0200, Jiri Kosina wrote: > > > On Tue, 2 Oct 2012, Paul E. McKenney wrote: > > > > > > > Indeed. Slab seems to be doing an rcu_barrier() in a CPU

Re: crash in ocfs2_fast_symlink_readpage in kernel 3.5.0

2012-10-02 Thread Bret Towe
On Sun, Jul 22, 2012 at 1:16 PM, Bret Towe wrote: > just booted a fresh 3.5 kernel and got the following on login via gdm > on the client computer > didn't see any crashes yet on any other computer but didn't give it > long to try after seeing this > let me know if you need more info > this

Re: Lockdep complains about commit 1331e7a1bb ("rcu: Remove _rcu_barrier() dependency on __stop_machine()")

2012-10-02 Thread Srivatsa S. Bhat
On 10/03/2012 03:47 AM, Jiri Kosina wrote: > On Wed, 3 Oct 2012, Srivatsa S. Bhat wrote: > >> I don't see how this circular locking dependency can occur.. If you are >> using SLUB, >> kmem_cache_destroy() releases slab_mutex before it calls rcu_barrier(). If >> you are >> using SLAB,

[PATCH v4 1/2] hwmon: (ads7828) driver cleanup

2012-10-02 Thread Vivien Didelot
* Remove module parameters, add a ads7828_platform_data; * Move driver declaration to avoid adding function prototypes; * Remove unused macros; * Coding Style fixes. Signed-off-by: Vivien Didelot --- Documentation/hwmon/ads7828 | 31 +++-- drivers/hwmon/ads7828.c | 206

[PATCH v4 2/2] hwmon: (ads7828) add support for ADS7830

2012-10-02 Thread Vivien Didelot
From: Guillaume Roguez The ADS7830 device is almost the same as the ADS7828, except that it does 8-bit sampling, instead of 12-bit. This patch extends the ads7828 driver to support this chip. Signed-off-by: Guillaume Roguez Signed-off-by: Vivien Didelot --- Documentation/hwmon/ads7828 | 12

RE: [PATCH] Input: Add new driver into Input Subsystem for Synaptics DS4 touchscreen I2C devices

2012-10-02 Thread Alexandra Chin
Add Chris in mail loop. Best Regards, Alexandra Chin  Synaptics Hong Kong Limited, Taiwan Branch  5F., No. 501, Sec. 2 Tiding Blvd., Neihu District,  Taipei City 114, Taiwan Office: 886.2.8752.5700  ext:652 Email:alexandra.c...@synaptics.com.tw -Original Message- From: Alexandra Chin

Re: [PATCH] block: makes bio_split support bio without data

2012-10-02 Thread NeilBrown
On Tue, 2 Oct 2012 14:09:23 -0700 Kent Overstreet wrote: > On Tue, Oct 02, 2012 at 04:22:01PM +1000, NeilBrown wrote: > > On Fri, 28 Sep 2012 09:23:43 -0700 Kent Overstreet > > wrote: > > > > > On Mon, Sep 24, 2012 at 02:56:39PM +1000, NeilBrown wrote: > > > > > > > > Hi Jens, > > > > this

Re: [PATCH 0/4] dw_dmac: few cleanups to the driver

2012-10-02 Thread viresh kumar
On Tue, Oct 2, 2012 at 5:11 PM, Andy Shevchenko wrote: > There are few cleanups to the driver which already acked and reviewed. > I decide to split last series to two parts. This is first part. Looks good. Acked-by: Viresh Kumar -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v3 1/2] hwmon: (ads7828) driver cleanup

2012-10-02 Thread Guenter Roeck
On Tue, Oct 02, 2012 at 10:28:13PM -0400, Vivien Didelot wrote: > Hi Guenter, > > Some of those changes weren't in the mainline tree a few days ago. > I'll cherry-pick them and send a update very soon :-) > True, but they have been in -next for the last two months or so ... Guenter -- To

Re: [PATCH v1] i2c-hid: introduce HID over i2c specification implementation

2012-10-02 Thread Jian-Jhong Ding
Hi Benjamin, I have one little question about __i2chid_command(), please see below. "benjamin.tissoires" writes: > From: Benjamin Tissoires > > Microsoft published the protocol specification of HID over i2c: > http://msdn.microsoft.com/en-us/library/windows/hardware/hh852380.aspx > > This

Re: [RFC, PATCH] Extensible AIO interface

2012-10-02 Thread Kent Overstreet
On Wed, Oct 03, 2012 at 10:41:06AM +0900, Tejun Heo wrote: > Hello, Kent. > > On Tue, Oct 02, 2012 at 02:41:13PM -0700, Kent Overstreet wrote: > > Seems to me it'd be no different from security considerations when > > introducing new ioctls. I.e., messy, ad hoc, easy to get wrong, but > >

[PATCH 5/5] Remove the pSeries_reconfig.h file

2012-10-02 Thread Nathan Fontenot
Remove the pSeries_reconfig.h header file. At this point there is only one definition in the file, pSeries_coalesce_init(), which can be moved to rtas.h. Signed-off-by: Nathan Fontenot --- arch/powerpc/include/asm/pSeries_reconfig.h | 15 --- arch/powerpc/include/asm/rtas.h

[PATCH 4/5] Rename the drivers/of prom_* functions to of_*

2012-10-02 Thread Nathan Fontenot
Rename the prom_*_property routines of the generic OF code to of_*_property. This brings them in line with the naming used by the rest of the OF code. Signed-off-by: Nathan Fontenot --- arch/powerpc/kernel/machine_kexec.c | 12 ++-- arch/powerpc/kernel/machine_kexec_64.c|

[PATCH 3/5] Add of node/property notification chain for adds and removes

2012-10-02 Thread Nathan Fontenot
This patch moves the notification chain for updates to the device tree from the powerpc/pseries code to the base OF code. This makes this functionality available to all architectures. Additionally the notification chain is updated to allow notifications for property add/remove/update. To make

[PATCH 2/5] Move of_drconf_cell struct definition to asm/prom.h

2012-10-02 Thread Nathan Fontenot
This patch moves the definition of the of_drconf_cell struct to asm/prom.h to make it available for all powerpc/pseries code. Signed-off-by: Nathan Fontenot --- arch/powerpc/include/asm/prom.h | 16 arch/powerpc/mm/numa.c | 12 2 files changed, 16

[PATCH 1/5] Add /proc device tree updating to of node add/remove

2012-10-02 Thread Nathan Fontenot
When adding or removing a device tree node we should also update the device tree in /proc/device-tree. This action is already done in the generic OF code for adding/removing properties of a node. This patch adds this functionality for nodes. Signed-off-by: Nathan Fontenot ---

Re: [git pull] vfs, part 1

2012-10-02 Thread Al Viro
On Tue, Oct 02, 2012 at 07:31:58PM -0700, Linus Torvalds wrote: > On Tue, Oct 2, 2012 at 6:39 PM, Al Viro wrote: > > This is *not* all; fs/dcache.c bits will go separately, for one > > thing - that's just the first pile. Please, pull from the usual place - > > Al, *please* describe what

Re: [RFC, PATCH] Extensible AIO interface

2012-10-02 Thread Kent Overstreet
On Wed, Oct 03, 2012 at 11:28:25AM +1000, Dave Chinner wrote: > On Tue, Oct 02, 2012 at 05:20:29PM -0700, Kent Overstreet wrote: > > On Tue, Oct 02, 2012 at 01:41:17PM -0400, Jeff Moyer wrote: > > > Kent Overstreet writes: > > > > > > > So, I and other people keep running into things where we

Re: [PATCH] net: ethernet: davinci_cpdma: decrease the desc count when cleaning up the remaining packets

2012-10-02 Thread David Miller
From: Tao Hou Date: Tue, 2 Oct 2012 10:42:43 +0800 > chan->count is used by rx channel. If the desc count is not updated by > the clean up loop in cpdma_chan_stop, the value written to the rxfree > register in cpdma_chan_start will be incorrect. > > Signed-off-by: Tao Hou Applied, thanks. --

Re: [git pull] vfs, part 1

2012-10-02 Thread Linus Torvalds
On Tue, Oct 2, 2012 at 6:39 PM, Al Viro wrote: > This is *not* all; fs/dcache.c bits will go separately, for one > thing - that's just the first pile. Please, pull from the usual place - Al, *please* describe what is going on. Your description is negative (what *doesn't* happen in this

Re: [PATCH v3 1/2] hwmon: (ads7828) driver cleanup

2012-10-02 Thread Vivien Didelot
Hi Guenter, Some of those changes weren't in the mainline tree a few days ago. I'll cherry-pick them and send a update very soon :-) Thanks for the tips, Vivien -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

linux-next: build failure after merge of the ubi tree

2012-10-02 Thread Stephen Rothwell
/mtd/ubi/ubi.ko] undefined! I have used the ubi tree form next-20121002 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpggJOs1F8TF.pgp Description: PGP signature

[PATCH] extcon: max77693: Fix max77693_muic_probe error handling

2012-10-02 Thread Axel Lin
Fix below issues: 1. If request_threaded_irq() fails, current code does not free all requested irqs. 2. Add missing extcon_dev_unregister() in error path if failed to read revision number. Signed-off-by: Axel Lin --- drivers/extcon/extcon-max77693.c | 12 ++-- 1 file changed, 6

Re: [PATCH 1/2] Fix build error caused by broken PCH_PTP module dependency.

2012-10-02 Thread David Miller
From: Haicheng Li Date: Fri, 28 Sep 2012 14:57:38 +0800 > On 09/28/2012 02:46 PM, David Miller wrote: >> From: Haicheng Li >> Date: Fri, 28 Sep 2012 14:41:43 +0800 >> >>> On 09/28/2012 06:09 AM, David Miller wrote: Look at how other people submit patches, do any other patch submissions

Re: [PATCH 0/2] memory-hotplug : notification of memoty block's state

2012-10-02 Thread Ni zhan Chen
On 10/03/2012 09:21 AM, Yasuaki Ishimatsu wrote: Hi Andrew, 2012/10/03 6:42, Andrew Morton wrote: On Tue, 2 Oct 2012 17:25:06 +0900 Yasuaki Ishimatsu wrote: remove_memory() offlines memory. And it is called by following two cases: 1. echo offline >/sys/devices/system/memory/memoryXX/state

Re: [RFC, PATCH] Extensible AIO interface

2012-10-02 Thread Tejun Heo
Hello, Kent. On Tue, Oct 02, 2012 at 02:41:13PM -0700, Kent Overstreet wrote: > Seems to me it'd be no different from security considerations when > introducing new ioctls. I.e., messy, ad hoc, easy to get wrong, but > sometimes no way around it. > > It really has to be ad hoc if it's

[git pull] vfs, part 1

2012-10-02 Thread Al Viro
This is *not* all; fs/dcache.c bits will go separately, for one thing - that's just the first pile. Please, pull from the usual place - git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus Shortlog: Al Viro (67): do_add_mount()/umount -l races close the race in

Re: [RFC, PATCH] Extensible AIO interface

2012-10-02 Thread Dave Chinner
On Tue, Oct 02, 2012 at 05:20:29PM -0700, Kent Overstreet wrote: > On Tue, Oct 02, 2012 at 01:41:17PM -0400, Jeff Moyer wrote: > > Kent Overstreet writes: > > > > > So, I and other people keep running into things where we really need to > > > add an interface to pass some auxiliary... stuff

Re: [PATCH 0/2] memory-hotplug : notification of memoty block's state

2012-10-02 Thread Yasuaki Ishimatsu
Hi Andrew, 2012/10/03 6:42, Andrew Morton wrote: On Tue, 2 Oct 2012 17:25:06 +0900 Yasuaki Ishimatsu wrote: remove_memory() offlines memory. And it is called by following two cases: 1. echo offline >/sys/devices/system/memory/memoryXX/state 2. hot remove a memory device In the 1st case,

Soft lockup in scsi_remove_target under 3.6 (regression from 3.5)

2012-10-02 Thread Jonathan McDowell
Upgraded to 3.6 today on my dev box and after seeing an FC attached SAN go down and come back up (due to an expected reboot) I started getting the following in my logs. It continues even after the array is back and functioning - I'm seeing: kernel:[109104.348034] BUG: soft lockup - CPU#6 stuck

Re: [PATCH v2 1/3] w1: mxc_w1: Adapt the clock name to the new clock framework

2012-10-02 Thread Fabio Estevam
Sascha, On Tue, Oct 2, 2012 at 2:32 AM, Evgeniy Polyakov wrote: > On Mon, Oct 01, 2012 at 02:51:44PM -0300, Fabio Estevam > (fabio.este...@freescale.com) wrote: >> Evgeny, >> >> Any comments, please? > > I have no objections per se, but I'm hardly an expert in imx clock > framework :) > > Since

Re: [PATCH] regmap: silence GCC warning

2012-10-02 Thread Valdis . Kletnieks
On Mon, 01 Oct 2012 11:03:21 +0100, Mark Brown said: > On Sun, Sep 30, 2012 at 12:15:55PM +0200, Paul Bolle wrote: > > Building regmap.o triggers this GCC warning: > > drivers/base/regmap/regmap.c: In function ‘regmap_raw_read’: > > drivers/base/regmap/regmap.c:1172:6: warning:

Re: [PATCH v2 0/2] Reset PCIe devices to address DMA problem on kdump with iommu

2012-10-02 Thread Takao Indoh
(2012/10/03 4:37), Andi Kleen wrote: Takao Indoh writes: These patches reset PCIe devices at boot time to address DMA problem on kdump with iommu. When "reset_devices" is specified, a hot reset is triggered on each PCIe root port and downstream port to reset its downstream endpoint. Great.

Re: [PATCH 03/15] cfq-iosched: Rename "service_tree" to "st"

2012-10-02 Thread Tejun Heo
Hello, On Tue, Oct 02, 2012 at 09:26:03AM -0400, Vivek Goyal wrote: > Yes this one is little odd. Ok, I will change it back to "service_tree" > and only use "st" for local variables and in some function names. Yes, please do that. In general, it's beneficial to use at least somewhat descriptive

Re: [PATCH 01/15] cfq-iosched: Properly name all references to IO class

2012-10-02 Thread Tejun Heo
On Mon, Oct 01, 2012 at 03:32:42PM -0400, Vivek Goyal wrote: > Currently CFQ has three IO classes, RT, BE and IDLE. At many a places we > are calling workloads belonging to these classes as "prio". This gets > very confusing as one starts to associate it with ioprio. > > So this patch just does

Re: [PATCH 0/8] THP support for Sparc64

2012-10-02 Thread David Miller
From: Andrew Morton Date: Tue, 2 Oct 2012 15:55:44 -0700 > I had a shot at integrating all this onto the pending stuff in linux-next. > "mm: Add and use update_mmu_cache_pmd() in transparent huge page code." > needed minor massaging in huge_memory.c. But as Andrea mentioned, we > ran aground

Re: tg3 driver upgrade (Linux 2.6.32 -> 3.2) breaks IBM Bladecenter SoL

2012-10-02 Thread David Miller
From: Ben Hutchings Date: Wed, 03 Oct 2012 01:17:12 +0100 > On Tue, 2012-10-02 at 23:06 +0400, Michael Tokarev wrote: >> On 02.10.2012 22:49, Ferenc Wagner wrote: >> > "Michael Chan" writes: >> >> These are the likely fixes: >> >> >> >> commit cf9ecf4b631f649a964fa611f1a5e8874f2a76db >> >>

[PATCH] mm, slab: release slab_mutex earlier in kmem_cache_destroy() (was Re: Lockdep complains about commit 1331e7a1bb ("rcu: Remove _rcu_barrier() dependency on __stop_machine()"))

2012-10-02 Thread Jiri Kosina
On Tue, 2 Oct 2012, Paul E. McKenney wrote: > On Wed, Oct 03, 2012 at 01:48:21AM +0200, Jiri Kosina wrote: > > On Tue, 2 Oct 2012, Paul E. McKenney wrote: > > > > > Indeed. Slab seems to be doing an rcu_barrier() in a CPU hotplug > > > notifier, which doesn't sit so well with rcu_barrier()

Re: [PATCH] hardening: add PROT_FINAL prot flag to mmap/mprotect

2012-10-02 Thread Hugh Dickins
On Tue, 2 Oct 2012, Andrew Morton wrote: > On Tue, 2 Oct 2012 15:10:56 -0700 > Kees Cook wrote: > > > >> Has there been any more progress on this patch over-all? > > > > > > No progress. > > > > Al, Andrew, anyone? Thoughts on this? > > (First email is https://lkml.org/lkml/2012/8/14/448) > >

Re: [PATCH] mm: use %pK for /proc/vmallocinfo

2012-10-02 Thread KOSAKI Motohiro
On Tue, Oct 2, 2012 at 7:49 PM, Kees Cook wrote: > In the paranoid case of sysctl kernel.kptr_restrict=2, mask the kernel > virtual addresses in /proc/vmallocinfo too. > > Reported-by: Brad Spengler > Signed-off-by: Kees Cook > --- > mm/vmalloc.c |2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH 01/17] ARM: shmobile: fix memory size for kota2_defconfig

2012-10-02 Thread Simon Horman
On Tue, Oct 02, 2012 at 06:36:40PM +0200, Arnd Bergmann wrote: > The CONFIG_MEMORY_SIZE value is interpreted as a 32 bit integer, which > makes sense on a system without PAE. I'm assuming 0x1000 (256 MB) > is the correct size, because that is used on most other shmobile > boards. > > Without

Re: [PATCH 3/7] staging: rts_pstor: reuse kbasename()

2012-10-02 Thread Ryan Mallon
On 03/10/12 10:30, Ryan Mallon wrote: > On 03/10/12 01:00, Andy Shevchenko wrote: >> The custom filename function mostly repeats the kernel's kbasename. This >> patch >> simplifies it. The updated filename() will not check for the '\' in the >> filenames. It seems redundant in Linux. >> >>

Re: [RFT/PATCH] serial: omap: prevent resume if device is not suspended.

2012-10-02 Thread Kevin Hilman
"Poddar, Sourav" writes: > Hi, > > On Tue, Sep 25, 2012 at 2:51 PM, Russell King - ARM Linux > wrote: >> On Tue, Sep 25, 2012 at 12:11:14PM +0300, Felipe Balbi wrote: >>> On Tue, Sep 25, 2012 at 10:12:28AM +0100, Russell King - ARM Linux wrote: >>> > On Tue, Sep 25, 2012 at 11:31:20AM +0300,

Re: [PATCH 3/7] staging: rts_pstor: reuse kbasename()

2012-10-02 Thread Ryan Mallon
On 03/10/12 01:00, Andy Shevchenko wrote: > The custom filename function mostly repeats the kernel's kbasename. This patch > simplifies it. The updated filename() will not check for the '\' in the > filenames. It seems redundant in Linux. > > Signed-off-by: Andy Shevchenko > Cc: YAMANE Toshiaki

Re: [PATCH v3 1/2] hwmon: (ads7828) driver cleanup

2012-10-02 Thread Guenter Roeck
On Tue, Oct 02, 2012 at 06:10:02PM -0400, Vivien Didelot wrote: > * Remove module parameters, add a ads7828_platform_data; > * Move driver declaration to avoid adding function prototypes; > * Remove unused macros; > * Coding Style fixes. > > Signed-off-by: Vivien Didelot Hi Vivien, nice

Re: [RFC, PATCH] Extensible AIO interface

2012-10-02 Thread Kent Overstreet
On Tue, Oct 02, 2012 at 01:41:17PM -0400, Jeff Moyer wrote: > Kent Overstreet writes: > > > So, I and other people keep running into things where we really need to > > add an interface to pass some auxiliary... stuff along with a pread() or > > pwrite(). > > > > A few examples: > > > > * IO

Re: [PATCH 3/3] Fix line over 80 character issue and space before tabs issue in trace.h

2012-10-02 Thread Toshiaki Yamane
On Tue, Oct 2, 2012 at 9:23 PM, Dan Carpenter wrote: > On Tue, Oct 02, 2012 at 08:54:48PM +0900, YAMANE Toshiaki wrote: >> fixed some checkpatch warnings. >> >> -WARNING: line over 80 characters >> -WARNING: please, no space before tabs >> > > These looked nicer in the original, sorry. I will

Re: [PATCH 2/3] Add parenthesis to macros with complex values in trace.h

2012-10-02 Thread Toshiaki Yamane
On Tue, Oct 2, 2012 at 9:21 PM, Dan Carpenter wrote: > On Tue, Oct 02, 2012 at 08:54:28PM +0900, YAMANE Toshiaki wrote: >> fixed some checkpatch below error. >> -ERROR: Macros with complex values should be enclosed in parenthesis >> >> Signed-off-by: Toshiaki Yamane >> --- >>

Re: [PATCH 1/3] Fix trailing whitespace in trace.h

2012-10-02 Thread Toshiaki Yamane
On Tue, Oct 2, 2012 at 9:12 PM, Andy Shevchenko wrote: > On Tue, 2012-10-02 at 20:53 +0900, YAMANE Toshiaki wrote: >> fixed below checkpatch error. >> >> -ERROR: trailing whitespace >> >> Signed-off-by: Toshiaki Yamane >> --- >> drivers/staging/rts_pstor/trace.h |2 +- >> 1 file changed, 1

Re: tg3 driver upgrade (Linux 2.6.32 -> 3.2) breaks IBM Bladecenter SoL

2012-10-02 Thread Ben Hutchings
On Tue, 2012-10-02 at 23:06 +0400, Michael Tokarev wrote: > On 02.10.2012 22:49, Ferenc Wagner wrote: > > "Michael Chan" writes: > >> These are the likely fixes: > >> > >> commit cf9ecf4b631f649a964fa611f1a5e8874f2a76db > >> Author: Matt Carlson > >> Date: Mon Nov 28 09:41:03 2011 + > >> >

Re: Lockdep complains about commit 1331e7a1bb ("rcu: Remove _rcu_barrier() dependency on __stop_machine()")

2012-10-02 Thread Paul E. McKenney
On Wed, Oct 03, 2012 at 01:48:21AM +0200, Jiri Kosina wrote: > On Tue, 2 Oct 2012, Paul E. McKenney wrote: > > > Indeed. Slab seems to be doing an rcu_barrier() in a CPU hotplug > > notifier, which doesn't sit so well with rcu_barrier() trying to exclude > > CPU hotplug events. I could go

Re: udev breakages - was: Re: Need of an ".async_probe()" type of callback at driver's core - Was: Re: [PATCH] [media] drxk: change it to use request_firmware_nowait()

2012-10-02 Thread Linus Torvalds
On Tue, Oct 2, 2012 at 5:01 PM, Jiri Kosina wrote: > On Tue, 2 Oct 2012, Linus Torvalds wrote: > >> And see this email from Kay Sievers that shows that it was all known >> about and intentional in the udev camp: >> >> http://www.spinics.net/lists/netdev/msg185742.html > > This seems confusing

Re: [PATCH v3 00/10] Introduce huge zero page

2012-10-02 Thread Andrew Morton
On Wed, 3 Oct 2012 03:04:02 +0300 "Kirill A. Shutemov" wrote: > Is the overview complete enough? Have I answered all you questions here? Yes, thanks! The design overview is short enough to be put in as code comments in suitable places. -- To unsubscribe from this list: send the line

Re: [PATCH 1/7] aoe: support more AoE addresses with dynamic block device minor numbers

2012-10-02 Thread Ed Cashin
On Oct 2, 2012, at 5:12 PM, Andrew Morton wrote: ... >> +static int >> +minor_get(ulong *minor) >> { >> -struct aoedev *d; >> ulong flags; >> +ulong n; >> +int error = 0; >> + >> +spin_lock_irqsave(_minors_lock, flags); >> +n = find_first_zero_bit(used_minors, N_DEVS); >>

Re: [PATCH v3 00/10] Introduce huge zero page

2012-10-02 Thread Kirill A. Shutemov
On Tue, Oct 02, 2012 at 03:31:48PM -0700, Andrew Morton wrote: > On Tue, 2 Oct 2012 18:19:22 +0300 > "Kirill A. Shutemov" wrote: > > > During testing I noticed big (up to 2.5 times) memory consumption overhead > > on some workloads (e.g. ft.A from NPB) if THP is enabled. > > > > The main

Re: udev breakages - was: Re: Need of an ".async_probe()" type of callback at driver's core - Was: Re: [PATCH] [media] drxk: change it to use request_firmware_nowait()

2012-10-02 Thread Jiri Kosina
On Tue, 2 Oct 2012, Linus Torvalds wrote: > And see this email from Kay Sievers that shows that it was all known > about and intentional in the udev camp: > > http://www.spinics.net/lists/netdev/msg185742.html This seems confusing indeed. That e-mail referenced above is talking about loading

[PATCH] mm: use %pK for /proc/vmallocinfo

2012-10-02 Thread Kees Cook
In the paranoid case of sysctl kernel.kptr_restrict=2, mask the kernel virtual addresses in /proc/vmallocinfo too. Reported-by: Brad Spengler Signed-off-by: Kees Cook --- mm/vmalloc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index

[PATCH 02/31] perf, x86: Basic Haswell PMU support v2

2012-10-02 Thread Andi Kleen
From: Andi Kleen Add basic Haswell PMU support. Similar to SandyBridge, but has a few new events. Further differences are handled in followon patches. There are some new counter flags that need to be prevented from being set on fixed counters. Contains fixes from Stephane Eranian v2: Folded

[PATCH 07/31] perf, x86: Support PERF_SAMPLE_ADDR on Haswell

2012-10-02 Thread Andi Kleen
From: Andi Kleen Haswell supplies the address for every PEBS memory event, so always fill it in when the user requested it. It will be 0 when not useful (no memory access) Signed-off-by: Andi Kleen --- arch/x86/kernel/cpu/perf_event_intel_ds.c |4 1 files changed, 4 insertions(+), 0

[PATCH 08/31] perf, x86: Support Haswell v4 LBR format

2012-10-02 Thread Andi Kleen
From: Andi Kleen Haswell has two additional LBR from flags for TSX: intx and abort, implemented as a new v4 version of the PEBS record. Handle those in and adjust the sign extension code to still correctly extend. The flags are exported similarly in the LBR record to the existing misprediction

[PATCH 13/31] perf, x86: Support full width counting on Haswell

2012-10-02 Thread Andi Kleen
From: Andi Kleen Haswell has a new alternative MSR range for perfctrs that allows writing the full counter width. Enable this range if the hardware reports it using a new capability bit. This lowers overhead of perf stat slightly because it has to do less interrupts to accumulate the counter

  1   2   3   4   5   6   7   8   9   10   >