Re: Storage related regression in linux-next 20120824

2012-09-09 Thread Hugh Dickins
On Mon, 27 Aug 2012, Arvydas Sidorenko wrote: > On 08/27/2012 06:39 PM, Arvydas Sidorenko wrote: > > > Can you pastebin 'dmesg' and 'lspci'? Did this occur only once, or is > > > it reproducible? > > > > > > Jeff > > It does happen every time when booting into -next 20120824. I don't know

Re: [PATCH v2] media: v4l2-ctrls: add control for test pattern

2012-09-09 Thread Sakari Ailus
Hi Hans, On Sat, Sep 08, 2012 at 01:11:04PM +0200, Hans Verkuil wrote: > On Fri September 7 2012 20:20:51 Sakari Ailus wrote: > > Hi Prabhakar, > > > > Thanks for the patch! > > > > Prabhakar Lad wrote: > > > From: Lad, Prabhakar > > > > > > add V4L2_CID_TEST_PATTERN of type menu, which determi

Re: [RFC PATCH 0/5] driver core: driver probe asynchronously

2012-09-09 Thread Benjamin Herrenschmidt
On Sat, 2012-09-08 at 19:57 -0700, Greg Kroah-Hartman wrote: > As you state, this doesn't really solve the problem, and will cause a > lot more (think about all the busses that aren't expecting to have > their > probe functions called at the same time as other probe functions are > being called.) >

Re: [RFC PATCH 0/5] driver core: driver probe asynchronously

2012-09-09 Thread Takashi Iwai
At Sun, 09 Sep 2012 17:47:46 +1000, Benjamin Herrenschmidt wrote: > > On Sat, 2012-09-08 at 19:57 -0700, Greg Kroah-Hartman wrote: > > As you state, this doesn't really solve the problem, and will cause a > > lot more (think about all the busses that aren't expecting to have > > their > > probe fu

Re: [PATCH 4/4] xtensa: Setup CROSS_COMPILE at the top

2012-09-09 Thread Geert Uytterhoeven
On Sat, May 12, 2012 at 10:39 PM, Geert Uytterhoeven wrote: > CROSS_COMPILE must be setup before using e.g. cc-option (and a few other > as-*, cc-*, ld-* macros), else they will check against the wrong compiler > when cross-compiling, and may invoke the cross compiler with wrong or > suboptimal co

[PATCH] Staging: panel: fix spinlock trylock failure on UP

2012-09-09 Thread Fengguang Wu
Use spin_lock_irq() to quiet warning: [8.232324] BUG: spinlock trylock failure on UP on CPU#0, reboot/85 [8.234138] lock: c161c760, .magic: dead4ead, .owner: reboot/85, .owner_cpu: 0 [8.236132] Pid: 85, comm: reboot Not tainted 3.4.0-rc7-00656-g82163ed #5

Re: [PATCH/RFC] um: Preinclude include/linux/kern_levels.h

2012-09-09 Thread Geert Uytterhoeven
Ping? On Thu, Aug 16, 2012 at 8:15 PM, Geert Uytterhoeven wrote: > The userspace part of UML uses the asm-offsets.h generator mechanism to > create definitions for UM_KERN_ that match the in-kernel > KERN_ constant definitions. > > As of commit 04d2c8c83d0e3ac5f78aeede51babb3236200112 ("printk: c

Re: [GIT PULL 0/9] perf/core improvements and fixes

2012-09-09 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Hi Ingo, > > Please consider pulling, > > Thanks, > > - Arnaldo > > The following changes since commit ef34eb4da3eb62a1511592adf7c76d74faca0b14: > > Merge tag 'perf-core-for-mingo' of > git://git.kernel.org/pu

[tip:perf/core] perf bench: fix assert when NDEBUG is defined

2012-09-09 Thread tip-bot for Irina Tirdea
Commit-ID: 8bf98b89688c3d7ec071bf26d49761e38d846b47 Gitweb: http://git.kernel.org/tip/8bf98b89688c3d7ec071bf26d49761e38d846b47 Author: Irina Tirdea AuthorDate: Sat, 8 Sep 2012 08:35:51 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Sat, 8 Sep 2012 13:18:54 -0300 perf bench: fix

[tip:perf/core] perf hists: Introduce perf_hpp for hist period printing

2012-09-09 Thread tip-bot for Namhyung Kim
Commit-ID: ea251d51d2c7d7233790123227f787c477f567f5 Gitweb: http://git.kernel.org/tip/ea251d51d2c7d7233790123227f787c477f567f5 Author: Namhyung Kim AuthorDate: Mon, 3 Sep 2012 11:53:06 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Sat, 8 Sep 2012 13:19:44 -0300 perf hists: Intr

[tip:perf/core] perf hists: Handle field separator properly

2012-09-09 Thread tip-bot for Namhyung Kim
Commit-ID: 9ffad987ff565999d91fc2783dd77f08094a743b Gitweb: http://git.kernel.org/tip/9ffad987ff565999d91fc2783dd77f08094a743b Author: Namhyung Kim AuthorDate: Mon, 3 Sep 2012 11:53:07 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Sat, 8 Sep 2012 13:19:55 -0300 perf hists: Hand

[tip:perf/core] perf hists: Use perf_hpp__format-> width to calculate the column widths

2012-09-09 Thread tip-bot for Namhyung Kim
Commit-ID: 7e62ef44e89e7b7f2c48090a048f2a5dffa838c7 Gitweb: http://git.kernel.org/tip/7e62ef44e89e7b7f2c48090a048f2a5dffa838c7 Author: Namhyung Kim AuthorDate: Mon, 3 Sep 2012 11:53:08 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Sat, 8 Sep 2012 13:20:05 -0300 perf hists: Use

[tip:perf/core] perf hists browser: Use perf_hpp__format functions

2012-09-09 Thread tip-bot for Namhyung Kim
Commit-ID: f5951d56a2ab4181b96806a4746895aaa5a3d72e Gitweb: http://git.kernel.org/tip/f5951d56a2ab4181b96806a4746895aaa5a3d72e Author: Namhyung Kim AuthorDate: Mon, 3 Sep 2012 11:53:09 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Sat, 8 Sep 2012 13:20:13 -0300 perf hists brows

[tip:perf/core] perf gtk/browser: Use perf_hpp__format functions

2012-09-09 Thread tip-bot for Namhyung Kim
Commit-ID: 12ceaded6b276c13d905cf09f0c1a1322022ea58 Gitweb: http://git.kernel.org/tip/12ceaded6b276c13d905cf09f0c1a1322022ea58 Author: Namhyung Kim AuthorDate: Mon, 3 Sep 2012 11:53:10 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Sat, 8 Sep 2012 13:20:21 -0300 perf gtk/browser

[tip:perf/core] perf annotate: Make a copy of filename for passing to basename

2012-09-09 Thread tip-bot for David Ahern
Commit-ID: bfd14b9a7231e7cf77520bca1848c40c6b6360ae Gitweb: http://git.kernel.org/tip/bfd14b9a7231e7cf77520bca1848c40c6b6360ae Author: David Ahern AuthorDate: Sat, 8 Sep 2012 09:06:50 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Sat, 8 Sep 2012 17:14:43 -0300 perf annotate: Ma

[tip:perf/core] perf symbols: Remove BIONIC wrapper around libgen. h

2012-09-09 Thread tip-bot for David Ahern
Commit-ID: 6c7f631261064762a8ba1ee34fc2b76d117ef3fa Gitweb: http://git.kernel.org/tip/6c7f631261064762a8ba1ee34fc2b76d117ef3fa Author: David Ahern AuthorDate: Sat, 8 Sep 2012 09:06:52 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Sat, 8 Sep 2012 17:15:16 -0300 perf symbols: Rem

Re: Linux 3.6-rc5

2012-09-09 Thread Romain Francoise
Still seeing this BUG with -rc5, that I originally reported here: http://marc.info/?l=linux-crypto-vger&m=134653220530264&w=2 [ 26.362567] [ cut here ] [ 26.362583] kernel BUG at crypto/scatterwalk.c:37! [ 26.362606] invalid opcode: [#1] SMP [ 26.362622] Modul

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

2012-09-09 Thread anish kumar
On Sat, 2012-09-08 at 11:09 +0100, Jonathan Cameron wrote: > On 09/08/2012 08:10 AM, anish kumar wrote: > > Thanks for your time. > > On Fri, 2012-09-07 at 08:52 +0100, Jonathan Cameron wrote: > >> On 02/09/12 16:39, anish kumar wrote: > >>> From: anish kumar > >>> > >>> This patch is to use IIO t

Re: [PATCH v2 1/5] fat: allocate persistent inode numbers

2012-09-09 Thread OGAWA Hirofumi
"Steven J. Magnani" writes: > On Fri, 2012-09-07 at 16:01 +0900, Namjae Jeon wrote: >> Hi. OGAWA. >> >> I checked read-only option for export on FAT. >> I think that there are 3 approaches as mentioned below. >> >> 1. As per the current scenario – user already has the option of >> setting ‘ro’

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

2012-09-09 Thread Lars-Peter Clausen
On 09/09/2012 11:32 AM, anish kumar wrote: > + channels = iio_channel_get_all(dev_name(&pdev->dev)); I would give these explicit names and get the two individual channels by name. I think it will give you cleaner code. >>> Yes, now it will be based on pdata->voltage_channel, >>> pdat

Re: [PATCH] block: reject invalid queue attribute values

2012-09-09 Thread Jens Axboe
On 2012-09-08 17:55, Dave Reisner wrote: > Instead of using simple_strtoul which "converts" invalid numbers to 0, > use strict_strtoul and perform error checking to ensure that userspace > passes us a valid unsigned long. This addresses problems with functions > such as writev, which might want to

Re: [PATCH 0/6] mtip32xx: Support for new devices and minor changes

2012-09-09 Thread Jens Axboe
On 2012-09-05 18:30, Asai Thambi S P wrote: > This patchset adds support for new devices and few minor changes. > > Asai Thambi S P (6): > mtip32xx: Add support for new devices > mtip32xx: Handle NCQ commands during the security locked state > mtip32xx: Increase timeout for standby command >

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

2012-09-09 Thread Jonathan Cameron
On 09/09/2012 10:46 AM, Lars-Peter Clausen wrote: > On 09/09/2012 11:32 AM, anish kumar wrote: >> +channels = iio_channel_get_all(dev_name(&pdev->dev)); > I would give these explicit names and get the two individual channels by > name. I think it will give you cleaner code. >>>

Re: [GIT PULL] (xen) stable/for-jens-3.7

2012-09-09 Thread Jens Axboe
On 2012-09-07 17:52, Konrad Rzeszutek Wilk wrote: > Hey Jens, > > Please pull for your 3.7 tree the following branch: > > git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git > stable/for-jens-3.7 > > Which has two little fixes that are quite innocuous. Please pull. Thanks Konrad, pull

Re: [GIT] floppy, pktcdvd

2012-09-09 Thread Jens Axboe
On 2012-09-04 11:39, Jiri Kosina wrote: > Jens, > > please consider pulling from > > git://git.kernel.org/pub/scm/linux/kernel/git/jikos/linux-block.git for-jens > > (based on 'master' of your linux-block.git) to receive the changes below. > > There are a couple of fixes (mostly clenaups) to

Re: [PATCH] block: remove the duplicated setting for congestion_threshold

2012-09-09 Thread Jens Axboe
On 2012-08-31 10:24, Jaehoon Chung wrote: > Before call the blk_queue_congestion_threshold(), > the blk_queue_congestion_threshold() is already called at > blk_queue_make_rquest(). > Because this code is the duplicated, it has removed. So it is, good catch. Applied. -- Jens Axboe -- To unsubsc

Re: [RFC PATCH 0/5] driver core: driver probe asynchronously

2012-09-09 Thread Ming Lei
On Sun, Sep 9, 2012 at 10:57 AM, Greg Kroah-Hartman wrote: > On Sun, Sep 09, 2012 at 07:25:15AM +0800, Ming Lei wrote: >> Hi, >> >> This patchset implements asynchronous driver probe for driver_register, >> and try to address the below problems about driver init during >> kernel boot: >> - h

Re: [PATCH v2 1/5] fat: allocate persistent inode numbers

2012-09-09 Thread OGAWA Hirofumi
OGAWA Hirofumi writes: > What is your use case? I'm assuming current NFS support of FAT is not > unstable behavior even with your patches. Is this true? s/is not unstable/is still unstable/ -- OGAWA Hirofumi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bod

Re: [PATCH] builddeb: remove unneeded explicit Architecture

2012-09-09 Thread Tzafrir Cohen
On Fri, Sep 07, 2012 at 02:02:09AM +0200, maximilian attems wrote: > On Thu, 06 Sep 2012, Tzafrir Cohen wrote: > > > > Works for the case I presented. > > Michal please care to queue previous v2 patch with > Tested-by: Tzafrir Cohen > to kope with that cross building regression since > the linux

RE: [PATCH v8 1/2] block: ioctl support for sanitize in eMMC 4.5

2012-09-09 Thread Yaniv Gardi
I didn't quite understand everything that you meant in your mail, however I will try to explain briefly: SANITIZE replaces the need to issue REQ_SECURE as part of the REQ_DISCARD request. In this way DISCARD request finishes much faster (order of magnitude) and thus improves system performance. Wh

[PATCH v4] hashtable: introduce a small and naive hashtable

2012-09-09 Thread Sasha Levin
This hashtable implementation is using hlist buckets to provide a simple hashtable to prevent it from getting reimplemented all over the kernel. Signed-off-by: Sasha Levin --- I'll send just the hashtable patch itself to avoid spamming a bunch of people until it's stable again. include/linux/

Re: Linux 3.6-rc5

2012-09-09 Thread Jussi Kivilinna
Quoting Romain Francoise : Still seeing this BUG with -rc5, that I originally reported here: http://marc.info/?l=linux-crypto-vger&m=134653220530264&w=2 Does reverting e46e9a46386bca8e80a6467b5c643dc494861896 help? That commit added crypto selftest for authenc(hmac(sha1),cbc(aes)) in 3.6, a

Re: [PATCH v6 11/12] KVM: introduce readonly memslot

2012-09-09 Thread Avi Kivity
On 09/07/2012 02:14 PM, Jan Kiszka wrote: >> >> $ grep __KVM_HAVE include/linux/kvm.h | wc -l >> 20 > > Yes, mistakes of the past. > >> >> As your suggestion, userspace will always use the CAP even if the CAP >> is not really supported. We do not need care the overload on other arches? > > Gen

Re: [PATCH v6 12/12] KVM: indicate readonly access fault

2012-09-09 Thread Avi Kivity
On 09/07/2012 12:56 PM, Xiao Guangrong wrote: > On 09/06/2012 10:09 PM, Avi Kivity wrote: >> On 08/22/2012 03:47 PM, Xiao Guangrong wrote: >>> On 08/22/2012 08:06 PM, Avi Kivity wrote: On 08/21/2012 06:03 AM, Xiao Guangrong wrote: > Introduce write_readonly_mem in mmio-exit-info to indicat

Re: [PATCH v6 11/12] KVM: introduce readonly memslot

2012-09-09 Thread Jan Kiszka
On 2012-09-09 15:42, Avi Kivity wrote: > On 09/07/2012 02:14 PM, Jan Kiszka wrote: >>> >>> $ grep __KVM_HAVE include/linux/kvm.h | wc -l >>> 20 >> >> Yes, mistakes of the past. >> >>> >>> As your suggestion, userspace will always use the CAP even if the CAP >>> is not really supported. We do not ne

[PATCH] dlm: check the maximum size of a request from user

2012-09-09 Thread Sasha Levin
device_write only checks whether the request size is big enough, but it doesn't check if the size is too big. At that point, it also tries to allocate as much memory as the user has requested even if it's too much. This can lead to OOM killer kicking in, or memory corruption if (count + 1) overf

Re: Linux 3.6-rc5

2012-09-09 Thread Romain Francoise
Jussi Kivilinna writes: > Does reverting e46e9a46386bca8e80a6467b5c643dc494861896 help? It does, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.

Re: [PATCH] KVM: tsc deadline timer works only when hrtimer high resolution configured

2012-09-09 Thread Avi Kivity
On 09/07/2012 03:07 PM, Liu, Jinsong wrote: > Avi Kivity wrote: >>> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c >>> index 148ed66..0e64997 100644 >>> --- a/arch/x86/kvm/x86.c >>> +++ b/arch/x86/kvm/x86.c >>> @@ -2210,7 +2210,11 @@ int kvm_dev_ioctl_check_extension(long ext) >>>

RE: [PATCH] KVM: tsc deadline timer works only when hrtimer high resolution configured

2012-09-09 Thread Liu, Jinsong
Avi Kivity wrote: > On 09/07/2012 03:07 PM, Liu, Jinsong wrote: >> Avi Kivity wrote: diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 148ed66..0e64997 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -2210,7 +2210,11 @@ int kvm_dev_ioctl_check_extension

Re: mtd: kernel BUG at arch/x86/mm/pat.c:279!

2012-09-09 Thread Suresh Siddha
On Sat, 2012-09-08 at 12:57 -0700, Linus Torvalds wrote: > Whatever. Something like this (TOTALLY UNTESTED) attached patch should > get the mtdchar overflows to go away, It looks good to me. Acked-by: Suresh Siddha Sasha, can you please give this a try? > but it does *not* fix the fact > that

Re: [PATCH v4] linux/kernel.h: Fix DIV_ROUND_CLOSEST to support negative dividends

2012-09-09 Thread Geert Uytterhoeven
On Fri, Aug 31, 2012 at 5:02 PM, Guenter Roeck wrote: > DIV_ROUND_CLOSEST returns a bad result for negative dividends: > DIV_ROUND_CLOSEST(-2, 2) = 0 > > Most of the time this does not matter. However, in the hardware monitoring > subsystem, DIV_ROUND_CLOSEST is sometimes used on integers

Re: [PATCH] KVM: tsc deadline timer works only when hrtimer high resolution configured

2012-09-09 Thread Avi Kivity
On 09/09/2012 05:54 PM, Liu, Jinsong wrote: >> >> hrtimers is an intrusive feature, I don't think we should force-enable >> it. Please change it to a depends on. > > Hmm, if it changed as > config KVM > depends on HIGH_RES_TIMERS > The item 'Kernel-based Virtual Machine (KVM) support (NEW)

[PATCH] lib: gcd: prevent possible div by 0

2012-09-09 Thread Davidlohr Bueso
Account for properties when a and/or b are 0: gcd(0, 0) = 0 gcd(a, 0) = a gcd(0, b) = b Cc: sta...@vger.kernel.org Signed-off-by: Davidlohr Bueso --- lib/gcd.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/gcd.c b/lib/gcd.c index cce4f3c..7e163c6 100644 --- a/lib/gcd.c +++ b/lib/

[PATCH] clk: Make the managed clk functions generically available

2012-09-09 Thread Lars-Peter Clausen
The managed clk functions are currently only available when the generic clk lookup framework is build. But the managed clk functions are merely wrappers around clk_get and clk_put and do not depend on any specifics of the generic lookup functions and there are still quite a few custom implementatio

Re: [PATCH/RFC] um: Preinclude include/linux/kern_levels.h

2012-09-09 Thread Joe Perches
On Sun, 2012-09-09 at 10:33 +0200, Geert Uytterhoeven wrote: > Ping? Richard? Are you going to pick up this patch? It seems sensible. Geert, I suggest sending it directly to Linus as a fix if Richard doesn't respond in a few days. > On Thu, Aug 16, 2012 at 8:15 PM, Geert Uytterhoeven > wrote:

RE: [PATCH] KVM: tsc deadline timer works only when hrtimer high resolution configured

2012-09-09 Thread Liu, Jinsong
Avi Kivity wrote: > On 09/09/2012 05:54 PM, Liu, Jinsong wrote: >>> >>> hrtimers is an intrusive feature, I don't think we should >>> force-enable it. Please change it to a depends on. >> >> Hmm, if it changed as >> config KVM >> depends on HIGH_RES_TIMERS >> The item 'Kernel-based Virtual

Re: [BUG][3.4.10] Conflicts between initializing my USB devices and my IDE devices

2012-09-09 Thread Steven Rostedt
On Sat, 2012-09-08 at 18:25 -0400, David Miller wrote: > The IDE layer does not handle shared interrupts properly at all, > and it never will be rearchitected to do so. > > This is a well known issue. > Come to think of it, I believe I even reported this exact same bug before :-/ > Please disab

[PATCH] leds: add led_trigger_rename function

2012-09-09 Thread Fabio Baltieri
Implements a led_trigger_rename() function to rename a trigger with proper locking. This also implies that "name" in "struct led_trigger" is not const anymore. Signed-off-by: Fabio Baltieri Cc: Kurt Van Dijck Cc: Bryan Wu --- Hi all, this adds a led_trigger_rename_static() function to change

Re: mtd: kernel BUG at arch/x86/mm/pat.c:279!

2012-09-09 Thread Linus Torvalds
On Sun, Sep 9, 2012 at 7:56 AM, Suresh Siddha wrote: > > yes but that is not a valid range I think because of the supported > physical address bit limits of the processor and also the max > architecture limit of 52 address bits. But how could the caller possibly know that? None of those internal

Re: Linux 3.6-rc5

2012-09-09 Thread Linus Torvalds
On Sun, Sep 9, 2012 at 5:54 AM, Jussi Kivilinna wrote: > > Does reverting e46e9a46386bca8e80a6467b5c643dc494861896 help? > > That commit added crypto selftest for authenc(hmac(sha1),cbc(aes)) in 3.6, > and probably made this bug visible (but not directly causing it). So Romain said it does - wher

[PATCH] fbdev: jz4740: Use devm_request_and_ioremap

2012-09-09 Thread Lars-Peter Clausen
Use devm_request_and_ioremap instead of request_mem_region + devm_ioremap. This also fixes the following compile error introduced in commit b2ca7f4d ("drivers/video/jz4740_fb.c: use devm_ functions"): drivers/video/jz4740_fb.c: In function 'jzfb_probe': drivers/video/jz4740_fb.c:676:2: er

Re: [uml-devel] [PATCH/RFC] um: Preinclude include/linux/kern_levels.h

2012-09-09 Thread Richard Weinberger
Am 09.09.2012 17:09, schrieb Joe Perches: > On Sun, 2012-09-09 at 10:33 +0200, Geert Uytterhoeven wrote: >> Ping? > > Richard? Are you going to pick up this patch? > It seems sensible. > > Geert, I suggest sending it directly to Linus as a fix > if Richard doesn't respond in a few days. I'll pi

Re: [PATCH v4] linux/kernel.h: Fix DIV_ROUND_CLOSEST to support negative dividends

2012-09-09 Thread Guenter Roeck
On Sun, Sep 09, 2012 at 04:57:34PM +0200, Geert Uytterhoeven wrote: > On Fri, Aug 31, 2012 at 5:02 PM, Guenter Roeck wrote: > > DIV_ROUND_CLOSEST returns a bad result for negative dividends: > > DIV_ROUND_CLOSEST(-2, 2) = 0 > > > > Most of the time this does not matter. However, in the har

[PATCH v2] can: rename LED trigger name on netdev renames

2012-09-09 Thread Fabio Baltieri
From: Kurt Van Dijck The LED trigger name for CAN devices is based on the initial CAN device name, but does never change. The LED trigger name is not guaranteed to be unique in case of hotplugging CAN devices. This patch tries to address this problem by modifying the LED trigger name according t

Re: [PATCH v3 31/31] arm64: MAINTAINERS update

2012-09-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:27 Fri 07 Sep , Catalin Marinas wrote: > This patch updates the MAINTAINERS file for the AArch64 Linux kernel > port. > > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren > Acked-by: Arnd Bergmann > --- > MAINTAINERS |6 ++ > 1 files changed, 6 insertions(+), 0 deleti

Re: [PATCH] PCI: drop duplicate const in DECLARE_PCI_FIXUP_SECTION

2012-09-09 Thread Mathias Krause
On Sun, Sep 2, 2012 at 11:37 PM, Mathias Krause wrote: > It's redundant and makes sparse complain about it. > > Signed-off-by: Mathias Krause > --- > include/linux/pci.h |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/pci.h b/include/linux/pci.h > index

Re: mtd: kernel BUG at arch/x86/mm/pat.c:279!

2012-09-09 Thread H. Peter Anvin
On 09/08/2012 12:57 PM, Linus Torvalds wrote: Ack. Anyway, that means that the BUG_ON() is likely bogus, but so is the whole calling convention. The 4kB range starting at 0xf000 sounds like a *valid* range, but that requires that we fix the calling convention to not have that "end"

Re: mtd: kernel BUG at arch/x86/mm/pat.c:279!

2012-09-09 Thread H. Peter Anvin
On 09/09/2012 08:31 AM, Linus Torvalds wrote: On Sun, Sep 9, 2012 at 7:56 AM, Suresh Siddha wrote: yes but that is not a valid range I think because of the supported physical address bit limits of the processor and also the max architecture limit of 52 address bits. But how could the caller

Re: [PATCH v3 02/31] arm64: Kernel booting and initialisation

2012-09-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:26 Fri 07 Sep , Catalin Marinas wrote: > The patch adds the kernel booting and the initial setup code. > Documentation/arm64/booting.txt describes the booting protocol on the > AArch64 Linux kernel. This is subject to change following the work on > boot standardisation, ACPI. > > Signed-

Re: 3.5-rc7: nouveau doesn't X on NVC0

2012-09-09 Thread Alexey Dobriyan
On Thu, Sep 06, 2012 at 11:33:16AM +1000, Dave Airlie wrote: > On Thu, Sep 6, 2012 at 11:15 AM, Linus Torvalds > wrote: > > [ This got dropped somehow - it's in my draft folder. The bisection > > may be irrelevant now: does it work with current git, since we've had > > some nouveau changes? ] > >

Re: rcu_bh stalls on 3.2.28

2012-09-09 Thread Ben Hutchings
Please note that I can only directly deal with regressions that are specific to 3.2, caused by a bad backport. For anything else, you need to identify an upstream fix to be applied - I'm not usually going to have the time to do that. On Fri, 2012-08-31 at 20:02 -0300, Henrique de Moraes Holschuh

Re: [Squashfs-devel] PROBLEM: mount empty SquashFS

2012-09-09 Thread Ben Hutchings
On Tue, 2012-09-04 at 20:52 +0200, Geert Uytterhoeven wrote: > Hi Phillip, > > On Wed, Aug 1, 2012 at 6:25 AM, Phillip Lougher > wrote: [...] > > I discovered the sanity checks mistakenly flagged empty filesystems > > as invalid in January, and added a fix to the mainline kernel, FYI > > the comm

Re: [PATCH v2] drivers/media/pci/cx25821/cx25821-video-upstream-ch2.c: fix error return code

2012-09-09 Thread walter harms
looks ok to me, note: i do not have the hardware Reviewed-by: walter harms Am 08.09.2012 16:01, schrieb Peter Senna Tschudin: > From: Peter Senna Tschudin > > Convert a nonnegative error return code to a negative one, as returned > elsewhere in the function. > > A simplified version of the se

Re: Linux 3.6-rc5

2012-09-09 Thread Herbert Xu
On Sun, Sep 09, 2012 at 08:35:56AM -0700, Linus Torvalds wrote: > On Sun, Sep 9, 2012 at 5:54 AM, Jussi Kivilinna > wrote: > > > > Does reverting e46e9a46386bca8e80a6467b5c643dc494861896 help? > > > > That commit added crypto selftest for authenc(hmac(sha1),cbc(aes)) in 3.6, > > and probably made

Re: [PATCH] rtlwifi/rtl8723e: Add firmware for new driver

2012-09-09 Thread Ben Hutchings
On Mon, 2012-08-20 at 11:42 -0500, Larry Finger wrote: > The driver and firmware are new additions to the rtlwifi family of drivers. > > Signed-off-by: Larry Finger > --- > WHENCE | 10 ++ > rtlwifi/rtl8723fw.bin | Bin 0 -> 11662 bytes > rtlwifi/rtl8723fw_B.bin |

[tip:x86/cpufeature] x86, cpufeature: Add feature bit for SMAP

2012-09-09 Thread tip-bot for H. Peter Anvin
Commit-ID: 05194cfc547528a01d655262c49da3b1311c4b11 Gitweb: http://git.kernel.org/tip/05194cfc547528a01d655262c49da3b1311c4b11 Author: H. Peter Anvin AuthorDate: Sun, 9 Sep 2012 11:12:04 -0700 Committer: H. Peter Anvin CommitDate: Sun, 9 Sep 2012 11:12:04 -0700 x86, cpufeature: Add fea

Re: mtd: kernel BUG at arch/x86/mm/pat.c:279!

2012-09-09 Thread David Woodhouse
On Sun, 2012-09-09 at 09:56 -0700, H. Peter Anvin wrote: > > > So it should either be start=0xf000 end=0x > > or it should be start=0xf000 len=0x1000. > > I would strongly object to the former; that kind of inclusive ranges > breed a whole class of bugs by

Re: Linux 3.6-rc5

2012-09-09 Thread Herbert Xu
On Sun, Sep 09, 2012 at 11:13:02AM +0200, Romain Francoise wrote: > Still seeing this BUG with -rc5, that I originally reported here: > http://marc.info/?l=linux-crypto-vger&m=134653220530264&w=2 > > [ 26.362567] [ cut here ] > [ 26.362583] kernel BUG at crypto/scatterw

[PATCH] IRQ: Add a check for uninitialized irqs.

2012-09-09 Thread raghu . prabhu13
From: Raghavendra D Prabhu Errors like "do_IRQ: 0.84 No Irq handler for vector (irq -1)" have been reported earlier filling up the console/logs. So this adds a condition to check for uninitialized irqs so that it exits early and doesn't proceed further. Also, irq is made a signed integer, since i

Re: [Squashfs-devel] PROBLEM: mount empty SquashFS

2012-09-09 Thread Phillip Lougher
On Sun, Sep 9, 2012 at 7:17 PM, Ben Hutchings wrote: > > I've queued this up for 3.2, thanks. Thanks Ben Phillip . -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/major

[PATCH] compat_ioctl: Remove unused local typedef

2012-09-09 Thread Andi Kleen
From: Andi Kleen gcc 4.8 always warns fs/compat_ioctl.c: In function 'serial_struct_ioctl': fs/compat_ioctl.c:609:38: warning: typedef 'SS' locally defined but not used [-Wunused-local-typedefs] typedef struct serial_struct SS; Indeed that typedef is unused, so just remove it. Signed

[PATCH] USB: input: wacom_sys.c: format OLED image in kernel

2012-09-09 Thread Przemo Firszt
This patch adds a new way of handling Wacom Intuos4 family OLEDs. Previously the images had to be 'scrambled' by userland application. Now the 'scrambling' is done in the kernel module, so user space can send simple 64x32 pixels 4-bit grayscale (2 pixels per byte) 0,0 in top left corner images stra

Re: Storage related regression in linux-next 20120824

2012-09-09 Thread Arvydas Sidorenko
> I think you know your way around SCSI/libata much better than I do. > > I just bisected linux-next, and it comes down to the commit below, which > introduces the regression for me, and I'm guessing for you also. Maybe > it can be fixed up to satisfy us, but otherwise will have to be reverted: >

Re: Linux 3.6-rc5

2012-09-09 Thread Mathias Krause
On Sun, Sep 09, 2012 at 12:19:58PM -0700, Herbert Xu wrote: > On Sun, Sep 09, 2012 at 11:13:02AM +0200, Romain Francoise wrote: > > Still seeing this BUG with -rc5, that I originally reported here: > > http://marc.info/?l=linux-crypto-vger&m=134653220530264&w=2 > > > > [ 26.362567] [

Re: [PATCH] virtio: console: fix error handling in init() function

2012-09-09 Thread Amit Shah
Hi Alexey, On (Sat) 01 Sep 2012 [23:49:37], Alexey Khoroshilov wrote: > If register_virtio_driver() fails, virtio-ports class is not destroyed. > The patch adds error handling of register_virtio_driver(). > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexe

Re: Linux 3.6-rc5

2012-09-09 Thread Jussi Kivilinna
Quoting Herbert Xu : Can you try blacklisting/not loading sha1_ssse3 and aesni_intel to see which one of them is causing this crash? Of course if you can still reproduce this without loading either of them that would also be interesting to know. This triggers with aes-x86_64 and sha1_generic

Re: Storage related regression in linux-next 20120824

2012-09-09 Thread Jeff Garzik
On 09/09/2012 04:11 PM, Arvydas Sidorenko wrote: I think you know your way around SCSI/libata much better than I do. I just bisected linux-next, and it comes down to the commit below, which introduces the regression for me, and I'm guessing for you also. Maybe it can be fixed up to satisfy us,

Re: mtd: kernel BUG at arch/x86/mm/pat.c:279!

2012-09-09 Thread H. Peter Anvin
On 09/09/2012 12:04 PM, David Woodhouse wrote: On Sun, 2012-09-09 at 09:56 -0700, H. Peter Anvin wrote: So it should either be start=0xf000 end=0x or it should be start=0xf000 len=0x1000. I would strongly object to the former; that kind of inclusive ra

Re: [RFC][PATCH] libata: enable SATA disk fua detection on default

2012-09-09 Thread Arvydas Sidorenko
> Meanwhile there already has a number of SATA disks that have supported > this feature. So I think maybe we can enable it. > > Regards, > Zheng Blindly enabling FUA by default in my opinion is not a good idea at all. I believe the focus should be on detecting FUA support on the device instead, w

Re: Storage related regression in linux-next 20120824

2012-09-09 Thread Hugh Dickins
On Sun, Sep 9, 2012 at 1:28 PM, Jeff Garzik wrote: > I'll send Linus a patch to disable. Thanks, but no, the change in question hasn't reached Linus yet, it's just a linux-next or mmotm thing - isn't it? I'll reply again later, but just about to rush out, and thought it best to clear this up qui

Re: [PATCH v4] linux/kernel.h: Fix DIV_ROUND_CLOSEST to support negative dividends

2012-09-09 Thread Geert Uytterhoeven
Hi Günter, On Sun, Sep 9, 2012 at 6:17 PM, Guenter Roeck wrote: > On Sun, Sep 09, 2012 at 04:57:34PM +0200, Geert Uytterhoeven wrote: >> On Fri, Aug 31, 2012 at 5:02 PM, Guenter Roeck wrote: >> > DIV_ROUND_CLOSEST returns a bad result for negative dividends: >> > DIV_ROUND_CLOSEST(-2, 2)

Re: [RFC][PATCH] libata: enable SATA disk fua detection on default

2012-09-09 Thread Jeff Garzik
On 09/09/2012 04:34 PM, Arvydas Sidorenko wrote: Meanwhile there already has a number of SATA disks that have supported this feature. So I think maybe we can enable it. Regards, Zheng Blindly enabling FUA by default in my opinion is not a good idea at all. I believe the focus should be on det

Re: Build regressions/improvements in v3.6-rc5

2012-09-09 Thread Geert Uytterhoeven
On Sun, Sep 9, 2012 at 10:41 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.6-rc5 to v3.6-rc4[3], the summaries are: > - build errors: +15/-4 + arch/powerpc/platforms/512x/mpc512x_shared.c: error: 'FSL_DIU_PORT_DVI' undeclared (first use in this function): => 189:9 + arch/powerpc/

Re: Storage related regression in linux-next 20120824

2012-09-09 Thread Jeff Garzik
On 09/09/2012 04:36 PM, Hugh Dickins wrote: On Sun, Sep 9, 2012 at 1:28 PM, Jeff Garzik wrote: I'll send Linus a patch to disable. Thanks, but no, the change in question hasn't reached Linus yet, it's just a linux-next or mmotm thing - isn't it? Yep, libata-dev#upstream. Sorry, got my own

Re: Linux 3.6-rc5

2012-09-09 Thread Jussi Kivilinna
Quoting Herbert Xu : On Sun, Sep 09, 2012 at 08:35:56AM -0700, Linus Torvalds wrote: On Sun, Sep 9, 2012 at 5:54 AM, Jussi Kivilinna wrote: > > Does reverting e46e9a46386bca8e80a6467b5c643dc494861896 help? > > That commit added crypto selftest for authenc(hmac(sha1),cbc(aes)) in 3.6, > and pro

Re: [PATCH] clk: Make the managed clk functions generically available

2012-09-09 Thread Russell King - ARM Linux
On Sun, Sep 09, 2012 at 05:01:02PM +0200, Lars-Peter Clausen wrote: > The managed clk functions are currently only available when the generic clk > lookup framework is build. But the managed clk functions are merely wrappers > around clk_get and clk_put and do not depend on any specifics of the gen

Re: Linux 3.6-rc5

2012-09-09 Thread Herbert Xu
On Sun, Sep 09, 2012 at 10:09:10PM +0200, Mathias Krause wrote: > > It happens with the C variants of SHA1 and AES, too. You can easily > trigger the bug with Steffen's crconf[1]: > > $ crconf add alg "authenc(hmac(sha1-generic),cbc(aes-generic))" type 3 > > So the problem is likely not related t

Re: Linux 3.6-rc5

2012-09-09 Thread Herbert Xu
On Sun, Sep 09, 2012 at 11:54:04PM +0300, Jussi Kivilinna wrote: > > It seems that authenc is chaining empty assoc scatterlist, which causes > BUG_ON(!sg->length) set off in crypto/scatterwalk.c. > > Following fixes the bug and self-test passes, but not sure if it's correct > (note, copy-paste to

Re: Linux 3.6-rc5

2012-09-09 Thread Mathias Krause
On Sun, Sep 09, 2012 at 02:00:00PM -0700, Herbert Xu wrote: > On Sun, Sep 09, 2012 at 10:09:10PM +0200, Mathias Krause wrote: > > > > It happens with the C variants of SHA1 and AES, too. You can easily > > trigger the bug with Steffen's crconf[1]: > > > > $ crconf add alg "authenc(hmac(sha1-generi

Re: linux-user-chroot 2012.2

2012-09-09 Thread Jan Engelhardt
On Monday 2012-08-13 20:10, Andy Lutomirski wrote: > >One of these days, I intend to resurrect my unprivileged chroot kernel >patches. My current thought is to add a new syscall weak_chroot, >which should have these properties: >[...] >3. Can't be used to break out of chroot jail. > >The interfac

Re: [PATCH 01/10] Makefile: Add option CONFIG_DISABLE_GCC_AUTOMATIC_INLINING

2012-09-09 Thread David Rientjes
On Sat, 8 Sep 2012, Ezequiel Garcia wrote: > diff --git a/Makefile b/Makefile > index ddf5be9..df6045a 100644 > --- a/Makefile > +++ b/Makefile > @@ -561,6 +561,10 @@ else > KBUILD_CFLAGS+= -O2 > endif > > +ifdef CONFIG_DISABLE_GCC_AUTOMATIC_INLINING > +KBUILD_CFLAGS+= -fno-inl

Re: [PATCH 02/10] mm, slob: Use NUMA_NO_NODE instead of -1

2012-09-09 Thread David Rientjes
On Sat, 8 Sep 2012, Ezequiel Garcia wrote: > Cc: Pekka Enberg > Signed-off-by: Ezequiel Garcia Acked-by: David Rientjes Please cc Matt Mackall on all slob patches in the future. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@

Re: [PATCH 03/10] mm, slab: Remove silly function slab_buffer_size()

2012-09-09 Thread David Rientjes
On Sat, 8 Sep 2012, Ezequiel Garcia wrote: > This function is seldom used, and can be simply replaced with cachep->size. > > Cc: Pekka Enberg > Signed-off-by: Ezequiel Garcia Acked-by: David Rientjes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

Re: [PATCH v4] linux/kernel.h: Fix DIV_ROUND_CLOSEST to support negative dividends

2012-09-09 Thread Guenter Roeck
On Sun, Sep 09, 2012 at 10:38:41PM +0200, Geert Uytterhoeven wrote: > Hi Günter, > > On Sun, Sep 9, 2012 at 6:17 PM, Guenter Roeck wrote: > > On Sun, Sep 09, 2012 at 04:57:34PM +0200, Geert Uytterhoeven wrote: > >> On Fri, Aug 31, 2012 at 5:02 PM, Guenter Roeck wrote: > >> > DIV_ROUND_CLOSEST re

iwl3945: order 5 allocation during ifconfig up; vm problem?

2012-09-09 Thread Pavel Machek
Hi! On 3.6.0-rc2+, I tried to turn on the wireless, but got root@amd:~# ifconfig wlan0 10.0.0.6 up SIOCSIFFLAGS: Cannot allocate memory SIOCSIFFLAGS: Cannot allocate memory root@amd:~# It looks like it uses "a bit too big" allocations to allocate firmware...? Order five allocation Hmm... t

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

2012-09-09 Thread Rafael J. Wysocki
On Monday, September 03, 2012, Rajagopal Venkat 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 > monitoring and resume back when device is online. Present > code

Re: [PATCH 2/3] devfreq: Add suspend and resume apis

2012-09-09 Thread Rafael J. Wysocki
On Monday, September 03, 2012, Rajagopal Venkat wrote: > Add devfreq suspend/resume apis for devfreq users. This patch > supports suspend and resume of devfreq load monitoring, required > for devices which can idle. > > Signed-off-by: Rajagopal Venkat I'd call the new functions devfreq_dev_suspe

Re: [PATCH 3/3] devfreq: Add current freq callback in device profile

2012-09-09 Thread Rafael J. Wysocki
On Monday, September 03, 2012, Rajagopal Venkat wrote: > Devfreq returns governor predicted frequency as current > frequency via sysfs interface. But device may not support > all frequencies that governor predicts. Do you have any examples, even out of the tree? > Its driver > responsibility to m

Re: [PATCH 14/14] drivers/media/usb/gspca/cpia1.c: fix error return code

2012-09-09 Thread Hans de Goede
Hi, Applied to my gspca tree and included in my pull-req for 3.7 which I just send out. Thanks, Hans On 09/06/2012 05:24 PM, Peter Senna Tschudin wrote: From: Peter Senna Tschudin Convert a nonnegative error return code to a negative one, as returned elsewhere in the function. A simplifi

Re: [PATCH] Add mach-specific includes

2012-09-09 Thread Jan Engelhardt
On Friday 2012-08-31 15:45, Michal Marek wrote: >> # Build header package >> (cd $srctree; find . -name Makefile\* -o -name Kconfig\* -o -name \*.pl > >> "$objtree/debian/hdrsrcfiles") >> (cd $srctree; find arch/$SRCARCH/include include scripts -type f >> >> "$objtree/debian/hdrsrcfiles") >>

  1   2   3   >