RE: Work queue questions

2012-09-21 Thread Daniel Taylor
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of anish singh > Sent: Friday, September 21, 2012 9:25 PM > To: Deepawali Verma > Cc: Tejun Heo; linux-kernel@vger.kernel.org > Subject: Re: Work queue questions > >

Re: [PATCH v2] charger-manager: Add support sysfs entry for charger

2012-09-21 Thread Kyungmin Park
On 9/22/12, Anton Vorontsov wrote: > On Fri, Sep 21, 2012 at 06:49:37PM +0900, Chanwoo Choi wrote: >> This patch add support sysfs entry for each charger(regulator). >> Charger-manager use one or more chargers for charging battery but >> some charger isn't necessary on specific scenario. So, if

Re: [PATCH 01/14] davinci: vpfe: add dm3xx IPIPEIF hardware support module

2012-09-21 Thread Prabhakar Lad
Hi Laurent, Thanks for the review. On Thu, Sep 20, 2012 at 3:31 AM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thanks for the patch. > > On Friday 14 September 2012 18:16:31 Prabhakar Lad wrote: >> From: Manjunath Hadli >> >> add support for dm3xx IPIPEIF hardware setup. This is the >> lowest

Re: [ACPI/PCI] possible recursive locking detected

2012-09-21 Thread Yinghai Lu
On Fri, Sep 21, 2012 at 5:35 PM, Fengguang Wu wrote: > Hi Taku, > > The below oops is pretty reproducible, and shows up first in: > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git > pci/taku-acpi-pci-host-bridge-v3 > head: e3faec8ea9c8aa683c56fa20ff2c58a4c5857960 >

Re: Work queue questions

2012-09-21 Thread anish singh
On Sat, Sep 22, 2012 at 1:05 AM, Deepawali Verma wrote: > Hi Tajun, > > These three tasks are writing the three chunks of data in parallel. I > am not getting improvement here otherwise what is difference between > writing these chunks one by one in single thread instead of trying to > write the

Re: [PATCH v2 4/5] unicore32: pwm: Use managed resource allocations

2012-09-21 Thread guanxuetao
> This commit uses the managed resource allocation functions to simplify > the cleanup paths on error and removal. > > Signed-off-by: Thierry Reding Tested-by: Qin Rui Acked-by: Guan Xuetao Thanks & Regards, Guan Xuetao > --- > arch/unicore32/kernel/pwm.c | 47 >

Re: [PATCH v2 5/5] pwm: Move PUV3 PWM driver to PWM framework

2012-09-21 Thread guanxuetao
> This commit moves the driver to drivers/pwm and converts it to the new > PWM framework. > > Signed-off-by: Thierry Reding Tested-by: Qin Rui Acked-by: Guan Xuetao Thanks & Regards, Guan Xuetao > --- > arch/unicore32/Kconfig | 12 +-- > arch/unicore32/kernel/Makefile | 1 - >

Re: [PATCH v2 3/5] unicore32: pwm: Remove unnecessary indirection

2012-09-21 Thread guanxuetao
> Calling the actual probing function through a proxy isn't required and > makes the code needlessly complex. > > Signed-off-by: Thierry Reding Tested-by: Qin Rui Acked-by: Guan Xuetao Thanks & Regards, Guan Xuetao > --- > arch/unicore32/kernel/pwm.c | 23 ++- > 1 file

Re: [PATCH v2 2/5] unicore32: pwm: Use module_platform_driver()

2012-09-21 Thread guanxuetao
> Some of the boilerplate code can be eliminated by using this macro. The > driver was previously registered with an arch_initcall(), so technically > this is no longer the same, but when the driver is moved to the PWM > framework, deferred probing will take care of any driver probe ordering >

[PATCH] net/phy/bcm87xx: Add MODULE_LICENSE("GPL") to GPL driver

2012-09-21 Thread Peter Huewe
Currently the driver has no MODULE_LICENSE attribute in its source which results in a kernel taint if I load this: root@(none):~# modprobe bcm87xx bcm87xx: module license 'unspecified' taints kernel. Since the first lines of the source code clearly state: * This file is subject to the terms and

[PATCH 3/7][RFC] netfilter: qtaguid: initialize a local var to keep compiler happy.

2012-09-21 Thread John Stultz
From: JP Abgrall There was a case that might have seemed like new_tag_stat was not initialized and actually used. Added comment explaining why it was impossible, and a BUG() in case the logic gets changed. Cc: net...@vger.kernel.org Cc: JP Abgrall Cc: Ashish Sharma Cc: Peter P Waskiewicz Jr

[PATCH 4/7][RFC] netfilter: xt_qtaguid: fix ipv6 protocol lookup

2012-09-21 Thread John Stultz
From: JP Abgrall When updating the stats for a given uid it would incorrectly assume IPV4 and pick up the wrong protocol when IPV6. Cc: net...@vger.kernel.org Cc: JP Abgrall Cc: Ashish Sharma Cc: Peter P Waskiewicz Jr Signed-off-by: JP Abgrall [Small compile fix for ipv6_find_hdr()

[PATCH 5/7][RFC] netfilter: xt_qtaguid: start tracking iface rx/tx at low level

2012-09-21 Thread John Stultz
From: JP Abgrall qtaguid tracks the device stats by monitoring when it goes up and down, then it gets the dev_stats(). But devs don't correctly report stats (either they don't count headers symmetrically between rx/tx, or they count internal control messages). Now qtaguid counts the rx/tx

[PATCH 7/7][RFC] netfilter: xt_IDLETIMER: Rename INTERFACE to LABEL in netlink notification.

2012-09-21 Thread John Stultz
From: Ashish Sharma Rename INTERFACE to LABEL in netlink notification. Cc: net...@vger.kernel.org Cc: JP Abgrall Cc: Ashish Sharma Cc: Peter P Waskiewicz Jr Signed-off-by: Ashish Sharma Signed-off-by: John Stultz --- net/netfilter/xt_IDLETIMER.c | 12 ++-- 1 file changed, 6

[PATCH 0/7][RFC] Android netfilter patches

2012-09-21 Thread John Stultz
During Kernel Summit, I mentioned that one area of the Android patch set that hasn't had seemed to have had much discussion were the netfilter changes. PJ Waskiewicz asked more about them, and I sent them along to him to briefly review, and he suggested sending them out for wider review. So here

[PATCH 6/7][RFC] netfilter: xt_IDLETIMER: Add new netlink msg type

2012-09-21 Thread John Stultz
From: JP Abgrall Send notifications when the label becomes active after an idle period. Send netlink message notifications in addition to sysfs notifications. Using a uevent with subsystem=xt_idletimer INTERFACE=... STATE={active,inactive} This is backport from common android-3.0 commit:

[PATCH 1/7][RFC] nf: xt_socket: export the fancy sock finder code

2012-09-21 Thread John Stultz
From: JP Abgrall The socket matching function has some nifty logic to get the struct sock from the skb or from the connection tracker. We export this so other xt_* can use it, similarly to ho how xt_socket uses nf_tproxy_get_sock. Cc: net...@vger.kernel.org Cc: JP Abgrall Cc: Ashish Sharma

OOPS/panic in iio_dummy (v3.6-rc6-176-gabef3bd)

2012-09-21 Thread Peter Hüwe
Hi, loading iio_dummy results in kernel panic as the call to iio_buffer_register in iio_dummy_probe is performed with indio_dev->buffer == NULL and thus the access to indio_dev->buffer->attrs results in this oops/panic. Thanks, Peter Steps to reproduce: #modprobe iio_dummy iio_dummy: module

Re: mmotm 2012-09-20-17-25 uploaded (fs/bimfmt_elf on uml)

2012-09-21 Thread Stephen Rothwell
Hi Randy, On Fri, 21 Sep 2012 08:23:09 -0700 Randy Dunlap wrote: > > on uml for x86_64 defconfig: > > fs/binfmt_elf.c: In function 'fill_files_note': > fs/binfmt_elf.c:1419:2: error: implicit declaration of function 'vmalloc' > fs/binfmt_elf.c:1419:7: warning: assignment makes pointer from

[PATCH 11/11] userns: Convert the ufs filesystem to use kuid/kgid where appropriate

2012-09-21 Thread Eric W. Biederman
From: "Eric W. Biederman" Cc: Evgeniy Dushistov Acked-by: Serge Hallyn Signed-off-by: Eric W. Biederman --- fs/ufs/inode.c | 16 init/Kconfig |1 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c index dd7c89d..eb6d0b7

[PATCH 06/11] userns: Convert jfs to use kuid/kgid where appropriate

2012-09-21 Thread Eric W. Biederman
From: "Eric W. Biederman" Cc: Dave Kleikamp Signed-off-by: Eric W. Biederman --- fs/jfs/file.c |4 ++-- fs/jfs/jfs_imap.c | 22 -- fs/jfs/jfs_incore.h |8 fs/jfs/super.c | 22 +++--- init/Kconfig|1 - 5 files

[PATCH 04/11] userns: Convert hpfs to use kuid and kgid where appropriate

2012-09-21 Thread Eric W. Biederman
From: "Eric W. Biederman" Cc: Mikulas Patocka Acked-by: Serge Hallyn Signed-off-by: Eric W. Biederman --- fs/hpfs/hpfs_fn.h |4 ++-- fs/hpfs/inode.c | 19 +++ fs/hpfs/namei.c |8 fs/hpfs/super.c | 18 +++--- init/Kconfig |1 - 5

[PATCH 10/11] userns: Convert the udf filesystem to use kuid/kgid where appropriate

2012-09-21 Thread Eric W. Biederman
From: "Eric W. Biederman" Cc: Jan Kara Acked-by: Serge Hallyn Signed-off-by: Eric W. Biederman --- fs/udf/inode.c | 20 init/Kconfig |1 - 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/fs/udf/inode.c b/fs/udf/inode.c index fafaad7..2e6fb4d

[PATCH 2/2] extcon: unregister compat link on cleanup

2012-09-21 Thread Peter Huewe
Since extcon registers this compat link at device registration (extcon_dev_register), we should probably remove them at deregistration/cleanup. Cc: sta...@vger.kernel.org Signed-off-by: Peter Huewe --- drivers/extcon/extcon_class.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-)

[PATCH 1/2] extcon: Unregister compat class at module unload to fix oops

2012-09-21 Thread Peter Huewe
If you compile extcon with CONFIG_ANDROID and then load and unload the module you get a simple oops as the driver does not unregister its compat class and thus cannot register it again. Full trace: root@(none):~# modprobe extcon_class root@(none):~# rmmod extcon_class root@(none):~# modprobe

[PATCH 09/11] userns: Convert ubifs to use kuid/kgid

2012-09-21 Thread Eric W. Biederman
From: "Eric W. Biederman" Cc: Artem Bityutskiy Cc: Adrian Hunter Acked-by: Serge Hallyn Signed-off-by: Eric W. Biederman --- fs/ubifs/budget.c |4 ++-- fs/ubifs/debug.c |4 ++-- fs/ubifs/journal.c |4 ++-- fs/ubifs/sb.c |4 ++-- fs/ubifs/super.c |4 ++--

[PATCH 08/11] userns: Convert squashfs to use kuid/kgid where appropriate

2012-09-21 Thread Eric W. Biederman
From: "Eric W. Biederman" Cc: Phillip Lougher Acked-by: Serge Hallyn Signed-off-by: Eric W. Biederman --- fs/squashfs/inode.c |8 ++-- init/Kconfig|1 - 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/fs/squashfs/inode.c b/fs/squashfs/inode.c index

[PATCH 07/11] userns: Convert reiserfs to use kuid and kgid where appropriate

2012-09-21 Thread Eric W. Biederman
From: "Eric W. Biederman" Cc: reiserfs-de...@vger.kernel.org Signed-off-by: Eric W. Biederman --- fs/reiserfs/inode.c | 26 +- fs/reiserfs/xattr_acl.c | 20 +--- init/Kconfig|1 - 3 files changed, 30 insertions(+), 17 deletions(-)

[PATCH 05/11] userns: Convert jffs2 to use kuid and kgid where appropriate

2012-09-21 Thread Eric W. Biederman
From: "Eric W. Biederman" - General routine uid/gid conversion work - When storing posix acls treat ACL_USER and ACL_GROUP separately so I can call from_kuid or from_kgid as appropriate. - When reading posix acls treat ACL_USER and ACL_GROUP separately so I can call make_kuid or make_kgid as

[PATCH 03/11] userns: Convert btrfs to use kuid/kgid where appropriate

2012-09-21 Thread Eric W. Biederman
From: "Eric W. Biederman" Cc: Chris Mason Acked-by: Serge Hallyn Signed-off-by: Eric W. Biederman --- fs/btrfs/delayed-inode.c |8 fs/btrfs/inode.c |8 fs/btrfs/ioctl.c |6 +++--- init/Kconfig |1 - 4 files changed, 11

[PATCH 02/11] userns: Convert bfs to use kuid/kgid where appropriate

2012-09-21 Thread Eric W. Biederman
From: "Eric W. Biederman" Cc: "Tigran A. Aivazian" Acked-by: Serge Hallyn Signed-off-by: Eric W. Biederman --- fs/bfs/inode.c |8 init/Kconfig |1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/bfs/inode.c b/fs/bfs/inode.c index 9870417..b242beb 100644

[PATCH 01/11] userns: Convert affs to use kuid/kgid wherwe appropriate

2012-09-21 Thread Eric W. Biederman
From: "Eric W. Biederman" Acked-by: Serge Hallyn Signed-off-by: Eric W. Biederman --- fs/affs/affs.h |4 ++-- fs/affs/inode.c | 20 ++-- fs/affs/super.c | 18 +++--- init/Kconfig|1 - 4 files changed, 23 insertions(+), 20 deletions(-) diff --git

[REVIEW][PATCH 00/11] userns: Simple filesystems conversions

2012-09-21 Thread Eric W. Biederman
This continus my conversion of filesystems to support running when kernel user namespace supprot is enabled. This time I have targed the filesystems that I had to look twice at to verify the changes were correct. The strategy is to convert the structures in the kernel where we store uid_t and

[PATCH] ext4: remove static from struct match_token used in token2str

2012-09-21 Thread Herton Ronaldo Krzesinski
There is no reason to use static there, and it will cause issues when reading /proc/fs/ext4//options concurrently. Signed-off-by: Herton Ronaldo Krzesinski Cc: sta...@vger.kernel.org # 3.4+ --- fs/ext4/super.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) The problem is easy to

Re: Helping with backports: linux-next, linux, linux-stable - a few enhancements

2012-09-21 Thread Stephen Rothwell
Hi Luis, On Fri, 21 Sep 2012 09:24:44 -0700 "Luis R. Rodriguez" wrote: > > > I don't see how pulling linux-stable into linux-next really helps anyone > > out, linux-stable is so far behind what is in linux-next it's not funny. > > By pulling linux-stable into linux-next you get to be able to

Re: [PATCH 00/10] Convert MSM to common clock framework

2012-09-21 Thread Mike Turquette
Quoting Stephen Boyd (2012-09-20 19:26:48) > This patchset moves the existing MSM clock code and affected drivers to the > common clock framework. A prerequisite of moving to the common clock > framework is to use clk_prepare() and clk_enable() so the first > few patches migrate drivers to that

Re: [RFC] mm: add support for zsmalloc and zcache

2012-09-21 Thread Mel Gorman
On Fri, Sep 21, 2012 at 01:35:15PM -0700, Dan Magenheimer wrote: > > From: Seth Jennings [mailto:sjenn...@linux.vnet.ibm.com] > > Subject: Re: [RFC] mm: add support for zsmalloc and zcache > > > > On 09/21/2012 01:02 PM, Konrad Rzeszutek Wilk wrote: > > > On Fri, Sep 21, 2012 at 05:12:52PM +0100,

Re: pull request: bluetooth-next 2012-09-18

2012-09-21 Thread Luis R. Rodriguez
On Tue, Sep 18, 2012 at 6:31 PM, Gustavo Padovan wrote: > Johan Hedberg (2): > Bluetooth: mgmt: Implement support for passkey notification Too late now... but why did we allow this a stable fix? I get its a feature that is important and likely overlooked / someone had a brain fart, but

Re: Linux 3.6-rc6

2012-09-21 Thread Shaun Ruffell
On Sun, Sep 16, 2012 at 03:59:09PM -0700, Linus Torvalds wrote: > > Please do test things out, I'd really like to be able to do the final > 3.6 soonish.. Linus, Just a heads up in case you are about to tag v3.6. v3.6-rc6 still has a regression with edac_mc_alloc()/edac_mc_free() introduced in

Re: [PATCH] pda_power: remove ac_draw_failed goto and label

2012-09-21 Thread Paul Parsons
Hello Anton, On 22/09/12 00:51, Anton Vorontsov wrote: On Fri, Sep 21, 2012 at 01:56:43AM +0100, Paul Parsons wrote: A previous patch added the ac_draw_failed goto and label to pda_power_probe(). The goto would be invoked after a failed call to regulator_get(). However the way ac_draw is used

Re: [PATCH 00/11] x86: Supervisor Mode Access Prevention

2012-09-21 Thread Eric W. Biederman
"H. Peter Anvin" writes: > On 09/21/2012 03:07 PM, Eric W. Biederman wrote: >> >> Have you tested kexec in this environment? >> >> This is the kind of cpu feature that when we enable it, frequently we >> have to do something on the kexec path. >> >> At a quick skim it looks like the kexec

[PATCH v4] trace,x86: add x86 irq vector tracepoints

2012-09-21 Thread Seiji Aguchi
Change log v3 -> v4 - Add a latency measurement of each tracepoint - Rebased to 3.6-rc6 v2 -> v3 - Remove an invalidate_tlb_vector event because it was replaced by a call function vector in a following commit.

Re: [RFC] mm: add support for zsmalloc and zcache

2012-09-21 Thread Mel Gorman
On Fri, Sep 21, 2012 at 12:14:39PM -0700, Dan Magenheimer wrote: > Hi Mel -- > > Wow! An incredibly wonderfully detailed response! Thank you very > much for taking the time to read through all of zcache! > My pleasure. > Your comments run the gamut from nit and code style, to design, >

[tip:x86/fpu] x86, kvm: fix kvm's usage of kernel_fpu_begin/end()

2012-09-21 Thread tip-bot for Suresh Siddha
Commit-ID: b1a74bf8212367be2b1d6685c11a84e056eaaaf1 Gitweb: http://git.kernel.org/tip/b1a74bf8212367be2b1d6685c11a84e056eaaaf1 Author: Suresh Siddha AuthorDate: Thu, 20 Sep 2012 11:01:49 -0700 Committer: H. Peter Anvin CommitDate: Fri, 21 Sep 2012 16:59:04 -0700 x86, kvm: fix kvm's

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-21 Thread Paul E. McKenney
On Fri, Sep 21, 2012 at 10:41:14PM +, Paul Walmsley wrote: > On Fri, 21 Sep 2012, Paul E. McKenney wrote: > > > On Fri, Sep 21, 2012 at 05:47:31PM +, Paul Walmsley wrote: > > > > > I built an OMAP kernel from Linus' commit > > > 4651afbbae968772efd6dc4ba461cba9b49bb9d8 ("Merge branch

[PATCH v2] serial: set correct baud_base for EXSYS EX-41092 Dual 16950

2012-09-21 Thread Flavio Leitner
Apparently the same card model has two IDs, so this patch complements the commit 39aced68d664291db3324d0fcf0985ab5626aac2 adding the missing one. Signed-off-by: Flavio Leitner --- drivers/tty/serial/8250/8250_pci.c | 9 +++-- include/linux/pci_ids.h| 1 - 2 files changed, 7

Re: [PATCH] pda_power: remove ac_draw_failed goto and label

2012-09-21 Thread Anton Vorontsov
On Fri, Sep 21, 2012 at 01:56:43AM +0100, Paul Parsons wrote: > A previous patch added the ac_draw_failed goto and label to > pda_power_probe(). The goto would be invoked after a failed call to > regulator_get(). > > However the way ac_draw is used - always after a check for NULL - > suggests

Re: [RFC v3 1/2] PCI-Express Non-Transparent Bridge Support

2012-09-21 Thread Jon Mason
On Fri, Sep 21, 2012 at 02:14:47PM -0400, David Miller wrote: > From: Jon Mason > Date: Fri, 21 Sep 2012 11:09:48 -0700 > > > A PCI-Express non-transparent bridge (NTB) is a point-to-point PCIe bus > > connecting 2 systems, providing electrical isolation between the two > > subsystems. > > A

Re: [PATCH v2] charger-manager: Add support sysfs entry for charger

2012-09-21 Thread Anton Vorontsov
On Fri, Sep 21, 2012 at 06:49:37PM +0900, Chanwoo Choi wrote: > This patch add support sysfs entry for each charger(regulator). > Charger-manager use one or more chargers for charging battery but > some charger isn't necessary on specific scenario. So, if some charger > isn't needed, can disable

Re: [PATCH 5/4] mm: remove unevictable_pgs_mlockfreed

2012-09-21 Thread Johannes Weiner
On Fri, Sep 21, 2012 at 03:56:11PM -0700, Hugh Dickins wrote: > Simply remove UNEVICTABLE_MLOCKFREED and unevictable_pgs_mlockfreed > line from /proc/vmstat: Johannes and Mel point out that it was very > unlikely to have been used by any tool, and of course we can restore > it easily enough if

Re: gpmc_cs_request() causes early boot hang

2012-09-21 Thread Tony Lindgren
* Mark Jackson [120921 12:29]: > I'm developing a beaglebone cape board which requires the use of a > GPMC chip select. > > I've chosen GPMC_CS0, and in board-am335xevm.c, I have added the following:- > > static void gpmc_test() > { > unsigned long base = 0x12345678; >

Re: RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

2012-09-21 Thread Francois Romieu
Thanasis : > on 09/21/2012 11:29 PM Francois Romieu wrote the following: [...] > What message? What do you mean "the usual netdev watchdog message"? No, this one (see your 3.5.4 kernel log): [ 23.712058] WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x121/0x1a3( ) [ 23.712062]

[PATCH 5/4] mm: remove unevictable_pgs_mlockfreed

2012-09-21 Thread Hugh Dickins
Simply remove UNEVICTABLE_MLOCKFREED and unevictable_pgs_mlockfreed line from /proc/vmstat: Johannes and Mel point out that it was very unlikely to have been used by any tool, and of course we can restore it easily enough if that turns out to be wrong. Signed-off-by: Hugh Dickins Cc: Mel Gorman

Re: [PATCH] staging: zcache: fix spelling of comment

2012-09-21 Thread Greg KH
On Fri, Sep 21, 2012 at 11:45:51AM -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Sep 05, 2012 at 12:05:55PM -0400, Konrad Rzeszutek Wilk wrote: > > On Sat, Sep 01, 2012 at 10:29:46PM +0200, Marcus Karlsson wrote: > > > Fix spelling in tmem.c: > > > Transcedent -> Transcendent > > > > > >

Re: [RFC] Second attempt at kernel secure boot support

2012-09-21 Thread Eric W. Biederman
Matthew Garrett writes: > This is pretty much identical to the first patchset, but with the capability > renamed (CAP_COMPROMISE_KERNEL) and the kexec patch dropped. If anyone wants > to deploy these then they should disable kexec until support for signed > kexec payloads has been merged. A

Re: [PATCH] [V3]power: battery: Generic battery driver using IIO

2012-09-21 Thread Anton Vorontsov
On Fri, Sep 21, 2012 at 09:40:14PM +0530, anish kumar wrote: > From: anish kumar > > In last version: > Addressed concerns raised by lars: > a. made the adc_bat per device. > b. get the IIO channel using hardcoded channel names. > c. Minor issues related to gpio_is_valid and some code >

Re: [PATCH v3 17/17] ARM: mm: clean up membank size limit checks

2012-09-21 Thread Cyril Chemparathy
On 9/21/2012 2:42 PM, Nicolas Pitre wrote: On Tue, 11 Sep 2012, Cyril Chemparathy wrote: This patch cleans up the highmem sanity check code by simplifying the range checks with a pre-calculated size_limit. This patch should otherwise have no functional impact on behavior. This patch also

Re: [RFC v4 Patch 0/4] fs/inode.c: optimization for inode lock usage

2012-09-21 Thread Dave Chinner
On Fri, Sep 21, 2012 at 05:31:02PM +0800, Guo Chao wrote: > This patchset optimizes several places which take the per inode spin lock. > They have not been fully tested yet, thus they are marked as RFC. Inodes are RCU freed. The i_lock spinlock on the i_state field forms part of the memory

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-21 Thread Paul Walmsley
On Fri, 21 Sep 2012, Paul E. McKenney wrote: > On Fri, Sep 21, 2012 at 05:47:31PM +, Paul Walmsley wrote: > > > I built an OMAP kernel from Linus' commit > > 4651afbbae968772efd6dc4ba461cba9b49bb9d8 ("Merge branch 'for-3.6-fixes' of > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq").

Re: [PATCH] Documentation: RCU: update the stall warning message "timer=-1" to match reality

2012-09-21 Thread Paul Walmsley
On Fri, 21 Sep 2012, Paul E. McKenney wrote: > Good catch! Even worse, it gives "timer=18446744073709551615" on > 64-bit systems, which is no easier on the eyes. I therefore changed > the code to print a nicer message in this case, patch below. Looks better, thanks. - Paul -- To unsubscribe

Re: [PATCH v3 01/17] ARM: add mechanism for late code patching

2012-09-21 Thread Cyril Chemparathy
On 9/21/2012 2:09 PM, Nicolas Pitre wrote: On Tue, 11 Sep 2012, Cyril Chemparathy wrote: The original phys_to_virt/virt_to_phys patching implementation relied on early patching prior to MMU initialization. On PAE systems running out of >4G address space, this would have entailed an additional

Re: [PATCH v3 02/17] ARM: add self test for runtime patch mechanism

2012-09-21 Thread Cyril Chemparathy
On 9/21/2012 1:40 PM, Nicolas Pitre wrote: On Tue, 11 Sep 2012, Cyril Chemparathy wrote: This patch adds basic sanity tests to ensure that the instruction patching results in valid instruction encodings. This is done by verifying the output of the patch process against a vector of assembler

Re: [PATCH 15/19] mfd: Don't convert just one IRQ using irqdomain if a range is provided

2012-09-21 Thread Samuel Ortiz
Hi Lee, On Mon, Sep 17, 2012 at 03:11:07PM +0100, Lee Jones wrote: > On Mon, Sep 17, 2012 at 03:45:50PM +0200, Samuel Ortiz wrote: > > Hi Lee, Arnd, > > > > On Fri, Sep 07, 2012 at 01:57:27PM +, Arnd Bergmann wrote: > > > On Friday 07 September 2012, Lee Jones wrote: > > > > On Fri, Sep 07,

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-21 Thread Paul E. McKenney
On Fri, Sep 21, 2012 at 12:57:17PM -0700, Paul E. McKenney wrote: > On Fri, Sep 21, 2012 at 07:11:14PM +, Paul Walmsley wrote: > > On Fri, 21 Sep 2012, Paul E. McKenney wrote: [ . . . ] > > > I may take your advice of remote access to a Panda board, though that > > > is likely to take a bit

Re: [PATCH 00/11] x86: Supervisor Mode Access Prevention

2012-09-21 Thread H. Peter Anvin
On 09/21/2012 03:07 PM, Eric W. Biederman wrote: > > Have you tested kexec in this environment? > > This is the kind of cpu feature that when we enable it, frequently we > have to do something on the kexec path. > > At a quick skim it looks like the kexec path is using kernel page table >

Re: [PATCH 00/11] x86: Supervisor Mode Access Prevention

2012-09-21 Thread H. Peter Anvin
On 09/21/2012 03:08 PM, Dave Jones wrote: > > Perhaps add a printk somewhere to show that it's actually been enabled maybe ? > > Also, would it be feasible to add something like we have for test_nx ? > If this feature regresses in some way in the future, I suspect we'd like > to know about it

Re: [PATCH 00/11] x86: Supervisor Mode Access Prevention

2012-09-21 Thread Dave Jones
On Fri, Sep 21, 2012 at 12:43:04PM -0700, H. Peter Anvin wrote: > Supervisor Mode Access Prevention (SMAP) is a new security feature > disclosed by Intel in revision 014 of the Intel® Architecture > Instruction Set Extensions Programming Reference: > >

Re: [PATCH] Documentation: RCU: update the stall warning message "timer=-1" to match reality

2012-09-21 Thread Paul E. McKenney
On Fri, Sep 21, 2012 at 04:13:29PM +, Paul Walmsley wrote: > > The CONFIG_RCU_FAST_NO_HZ stall warning messages can never emit > "timer=-1". This is because the printf() format specifier to generate > that number is '%lu'. So, update the documentation to use the > unsigned long equivalent

Re: [PATCH 00/11] x86: Supervisor Mode Access Prevention

2012-09-21 Thread Eric W. Biederman
"H. Peter Anvin" writes: > Supervisor Mode Access Prevention (SMAP) is a new security feature > disclosed by Intel in revision 014 of the Intel® Architecture > Instruction Set Extensions Programming Reference: > > http://software.intel.com/sites/default/files/319433-014.pdf > > When SMAP is

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-21 Thread Paul E. McKenney
On Fri, Sep 21, 2012 at 01:31:49PM -0700, Tony Lindgren wrote: > * Paul E. McKenney [120921 12:58]: > > > > Just to make sure I understand the combinations: > > > > o All stalls have happened when running a minimal userspace. > > o CONFIG_NO_HZ=n suppresses the stalls. > > o

Re: [PATCH] net/can: rename peak_usb dump_mem function

2012-09-21 Thread Marc Kleine-Budde
On 09/21/2012 11:42 PM, Randy Dunlap wrote: > On 09/02/2012 10:13 AM, Randy Dunlap wrote: > >> From: Randy Dunlap >> >> Rename generic-sounding function dump_mem() to pcan_dump_mem() >> so that it does not conflict with the dump_mem() function in >> arch/sh/include/asm/kdebug.h. >> >>

Re: [PATCH] backlight: platform-lcd: Add support for device tree based probe

2012-09-21 Thread Andrew Morton
On Fri, 21 Sep 2012 10:27:07 +0900 Jingoo Han wrote: > This patch adds the of_match_table to platform-lcd driver to be > probed when platform-lcd device node is found in the device tree. > > Cc: Richard Purdie > Signed-off-by: Jingoo Han > --- > drivers/video/backlight/platform_lcd.c |9

Re: linux-next: build failure after merge of the final tree (net-next tree related)

2012-09-21 Thread Benjamin Herrenschmidt
On Thu, 2012-09-20 at 18:53 -0400, David Miller wrote: > From: Benjamin Herrenschmidt > Date: Fri, 21 Sep 2012 08:22:44 +1000 > > > Hrm, that's ancient gunk, I'll have to dig. We potentially can support > > ISA devices DMA'ing from an ISA bridge... but via the iommu, which means > >

Re: [PATCH] net/can: rename peak_usb dump_mem function

2012-09-21 Thread Randy Dunlap
On 09/02/2012 10:13 AM, Randy Dunlap wrote: > From: Randy Dunlap > > Rename generic-sounding function dump_mem() to pcan_dump_mem() > so that it does not conflict with the dump_mem() function in > arch/sh/include/asm/kdebug.h. > > drivers/net/can/usb/peak_usb/pcan_usb_core.c: error:

Drop support to compressed modules?

2012-09-21 Thread Lucas De Marchi
Hey, I'd like to ask people the following question: why are you using compressed modules? Is it only for the disk space or is there any performance related reason? While fixing a bug in kmod related to using compressed modules (that already existed in module-init-tools) we stopped to think about

Re: [PATCH RESEND] PM / Runtime: let rpm_resume() succeed if RPM_ACTIVE, even when disabled

2012-09-21 Thread Kevin Hilman
Alan Stern writes: > On Fri, 21 Sep 2012, Rafael J. Wysocki wrote: > >> > Kevin makes a good case that pm_runtime_resume() and related functions >> > should succeed even when runtime PM is disabled, if the device is >> > already in the desired state. >> > >> > The same may be true for

Re: [RFC] cgroup TODOs

2012-09-21 Thread Tejun Heo
On Thu, Sep 13, 2012 at 01:58:27PM -0700, Tejun Heo wrote: > 7. Misc issues > > * Sort & unique when listing tasks. Even the documentation says it > doesn't happen but we have a good hunk of code doing it in > cgroup.c. I'm gonna rip it out at some point. Again, if you > don't

Re: [PATCH] rds: Error on offset mismatch if not loopback

2012-09-21 Thread Venkat Venkatsubra
On 9/21/2012 4:32 PM, John Jolly wrote: Attempting an rds connection from the IP address of an IPoIB interface to itself causes a kernel panic due to a BUG_ON() being triggered. Making the test less strict allows rds-ping to work without crashing the machine. A local unprivileged user could use

Re: [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated

2012-09-21 Thread Andrew Morton
On Fri, 21 Sep 2012 11:46:22 +0100 Mel Gorman wrote: > When compaction was implemented it was known that scanning could potentially > be excessive. The ideal was that a counter be maintained for each pageblock > but maintaining this information would incur a severe penalty due to a > shared

Re: [PATCH 6/9] mm: compaction: Acquire the zone->lock as late as possible

2012-09-21 Thread Andrew Morton
On Fri, 21 Sep 2012 11:46:20 +0100 Mel Gorman wrote: > Compactions free scanner acquires the zone->lock when checking for PageBuddy > pages and isolating them. It does this even if there are no PageBuddy pages > in the range. > > This patch defers acquiring the zone lock for as long as

Re: [PATCH v2 0/3] input: Dynamic Minor Numbers

2012-09-21 Thread David Herrmann
Hi Dmitry On Fri, Sep 21, 2012 at 10:51 PM, Dmitry Torokhov wrote: > On Friday, September 21, 2012 09:18:00 PM David Herrmann wrote: >> Hi Dmitry >> >> On Fri, Sep 21, 2012 at 11:22 AM, David Herrmann >> >> wrote: >> > Hi Dmitry >> > >> > On Fri, Sep 21, 2012 at 10:07 AM, Dmitry Torokhov >> >

[PATCH] rds: Error on offset mismatch if not loopback

2012-09-21 Thread John Jolly
Attempting an rds connection from the IP address of an IPoIB interface to itself causes a kernel panic due to a BUG_ON() being triggered. Making the test less strict allows rds-ping to work without crashing the machine. A local unprivileged user could use this flaw to crash the system.

Re: [PATCH 4/9] mm: compaction: Abort compaction loop if lock is contended or run too long

2012-09-21 Thread Andrew Morton
On Fri, 21 Sep 2012 11:46:18 +0100 Mel Gorman wrote: > Changelog since V2 > o Fix BUG_ON triggered due to pages left on cc.migratepages > o Make compact_zone_order() require non-NULL arg `contended' > > Changelog since V1 > o only abort the compaction if lock is contended or run too long > o

Re: [PATCH] rds: Error on offset mismatch if not loopback

2012-09-21 Thread John Jolly
On Fri, Sep 21, 2012 at 01:20:45PM -0400, David Miller wrote: > From: John Jolly > Date: Thu, 20 Sep 2012 01:11:34 -0600 > > > Attempting an rds connection from the IP address of an IPoIB interface > > to itself causes a kernel panic due to a BUG_ON() being triggered. Making > > the test less

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-21 Thread Paul E. McKenney
On Fri, Sep 21, 2012 at 05:47:31PM +, Paul Walmsley wrote: > Hi Paul > > On Thu, 20 Sep 2012, Paul Walmsley wrote: > > > On Thu, 20 Sep 2012, Paul E. McKenney wrote: > > > > > Paul Walmsley, please let me know if the config below doesn't clear things > > > up for you or if there is some

Re: linux-next: Tree for Sept 21 (misc/lis3lv02d DT code)

2012-09-21 Thread Daniel Mack
On 21.09.2012 19:48, Randy Dunlap wrote: > On 09/21/2012 12:01 AM, Stephen Rothwell wrote: > >> Hi all, >> >> Changes since 201209020: >> > > > > on i386: > > ERROR: "lis3lv02d_init_dt" [drivers/misc/lis3lv02d/lis3lv02d_i2c.ko] > undefined! > > Full randconfig file is attached. > Hmm, I

Re: [PATCH 01/40] PCI: fix default vga ref_count

2012-09-21 Thread Yinghai Lu
On Fri, Sep 21, 2012 at 1:52 PM, Bjorn Helgaas wrote: > On Wed, Sep 19, 2012 at 12:54 PM, Yinghai Lu wrote: >> --- a/drivers/gpu/vga/vgaarb.c >> +++ b/drivers/gpu/vga/vgaarb.c >> @@ -141,6 +141,12 @@ EXPORT_SYMBOL_GPL(vga_default_device); >> >> void vga_set_default_device(struct pci_dev *pdev)

Re: RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

2012-09-21 Thread Thanasis
on 09/21/2012 11:29 PM Francois Romieu wrote the following: > Thanasis : >> So far, ping has failed *only* at this iteration of the make loop: > > Ok. > > Without the usual netdev watchdog message I presume ? What message? What do you mean "the usual netdev watchdog message"? I used a usb

Re: Linux 3.6-rc4

2012-09-21 Thread Dave Jones
On Mon, Sep 10, 2012 at 04:36:20PM +0200, Peter Zijlstra wrote: > On Fri, 2012-09-07 at 11:39 -0700, Linus Torvalds wrote: > > Al? Please look into this. I'm not entirely sure what's going on, but > > lockdep complains about this: > > > > Possible interrupt unsafe locking scenario: > > >

Re: [PATCH 00/11] x86: Supervisor Mode Access Prevention

2012-09-21 Thread H. Peter Anvin
On 09/21/2012 02:09 PM, Linus Torvalds wrote: > On Fri, Sep 21, 2012 at 2:03 PM, H. Peter Anvin wrote: >> >> A while ago I also did a mockup patch which switched %cr3 to >> swapper_pg_dir while entering the kernel (basically where the CLAC >> instructions go, plus the SYSCALL path; a restore was

Re: [PATCH 00/11] x86: Supervisor Mode Access Prevention

2012-09-21 Thread Linus Torvalds
On Fri, Sep 21, 2012 at 2:03 PM, H. Peter Anvin wrote: > > A while ago I also did a mockup patch which switched %cr3 to > swapper_pg_dir while entering the kernel (basically where the CLAC > instructions go, plus the SYSCALL path; a restore was obviously needed, > too.) The performance was

Re: [PATCH] kgdb: Fix warning with !CONFIG_DEBUG_RODATA

2012-09-21 Thread Andi Kleen
On Fri, Sep 21, 2012 at 04:01:55PM -0500, Jason Wessel wrote: > On 09/21/2012 03:59 PM, Andi Kleen wrote: > > From: Andi Kleen > > > > Fixes > > > > arch/x86/kernel/kgdb.c: In function ‘kgdb_arch_set_breakpoint’: > > arch/x86/kernel/kgdb.c:749:7: warning: unused variable ‘opc’ > >

Re: [PATCH 00/11] x86: Supervisor Mode Access Prevention

2012-09-21 Thread H. Peter Anvin
On 09/21/2012 01:08 PM, Ingo Molnar wrote: > > * Linus Torvalds wrote: > >> On Fri, Sep 21, 2012 at 12:43 PM, H. Peter Anvin >> wrote: >> >>> Supervisor Mode Access Prevention (SMAP) is a new security >>> feature disclosed by Intel in revision 014 of the Intel® >>> Architecture Instruction

Re: [PATCH] kgdb: Fix warning with !CONFIG_DEBUG_RODATA

2012-09-21 Thread Jason Wessel
On 09/21/2012 03:59 PM, Andi Kleen wrote: > From: Andi Kleen > > Fixes > > arch/x86/kernel/kgdb.c: In function ‘kgdb_arch_set_breakpoint’: > arch/x86/kernel/kgdb.c:749:7: warning: unused variable ‘opc’ > [-Wunused-variable] > > when CONFIG_DEBUG_RODATA is not defined. > This is already

[PATCH] kgdb: Fix warning with !CONFIG_DEBUG_RODATA

2012-09-21 Thread Andi Kleen
From: Andi Kleen Fixes arch/x86/kernel/kgdb.c: In function ‘kgdb_arch_set_breakpoint’: arch/x86/kernel/kgdb.c:749:7: warning: unused variable ‘opc’ [-Wunused-variable] when CONFIG_DEBUG_RODATA is not defined. Signed-off-by: Andi Kleen --- arch/x86/kernel/kgdb.c |2 ++ 1 files changed, 2

Re: [PATCH v2] Persistent grant maps for xen blk drivers

2012-09-21 Thread Konrad Rzeszutek Wilk
On Fri, Sep 21, 2012 at 02:56:22PM -0400, Konrad Rzeszutek Wilk wrote: > > *: With a PVHVM guest I get > > > > [ 261.927218] privcmd_fault: vma=88002a31dce8 > > 7f4edc095000-7f4edc195000, pgoff=c8, uv=7f4edc15d000 > > > > thought if I applied your patch on top of v3.6-rc6 I didn't see

Re: [PATCH] Xen backend support for paged out grant targets V4.

2012-09-21 Thread Konrad Rzeszutek Wilk
> > So with this patch when I launch an PVHVM guest on Xen 4.1 I get this > > in the initial domain and the guest is crashed: > > > > [ 261.927218] privcmd_fault: vma=88002a31dce8 > > 7f4edc095000-7f4edc195000, pgoff=c8, uv=7f4edc15d000 > > With this patch? Or with the mmapbatch v2?

Re: [PATCH 2/2] ACPI: Override arbitrary ACPI tables via initrd for debugging

2012-09-21 Thread Yinghai Lu
On Fri, Sep 21, 2012 at 6:28 AM, Thomas Renninger wrote: > Details can be found in: > Documentation/acpi/initrd_table_override.txt > > Signed-off-by: Thomas Renninger > CC: eric.p...@tremplin-utc.net > CC: voj...@tlen.pl > CC: Lin Ming > CC: l...@kernel.org > CC: robert.mo...@intel.com > CC:

sched: per-entity load-tracking

2012-09-21 Thread Paul Turner
Hi all, I've refreshed the load-tracking branch at: http://git.kernel.org/?p=linux/kernel/git/pjt/sched.git;a=summary With the latest rebased version. Similar I've got a quilt export below to make it easier for people to patch in. If you prefer raw patches there's a quilt series at:

Re: [PATCH v3 06/16] memcg: infrastructure to match an allocation to the right cache

2012-09-21 Thread Tejun Heo
Missed some stuff. On Tue, Sep 18, 2012 at 06:12:00PM +0400, Glauber Costa wrote: > +static struct kmem_cache *memcg_create_kmem_cache(struct mem_cgroup *memcg, > + struct kmem_cache *cachep) > +{ ... > + memcg->slabs[idx] = new_cachep; ... >

  1   2   3   4   5   6   7   8   9   10   >