[PATCH] staging/comedi: Use dev_ printks in rtd520.c

2012-10-05 Thread YAMANE Toshiaki
fixed below checkpatch warning. -Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/comedi/drivers/rtd520.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff

[PATCH] staging/comedi: Use dev_ printks in drivers/quatech_daqp_cs.c

2012-10-05 Thread YAMANE Toshiaki
fixed below checkpatch warnings. - WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... - WARNING: Prefer netdev_warn(netdev, ... then dev_warn(dev, ... then pr_warn(... to printk(KERN_WARNING ... - WARNING: Prefer netdev_err(netdev, ... then

[PATCH] staging/comedi: Use dev_ printks in drivers/adl_pci8164.c

2012-10-05 Thread YAMANE Toshiaki
fixed below checkpatch warning. - WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/comedi/drivers/adl_pci8164.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff

[PATCH] staging/comedi: Use dev_ printks in drivers/me_daq.c

2012-10-05 Thread YAMANE Toshiaki
fixed below checkpatch warnings. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... - WARNING: quoted string split across lines Signed-off-by: YAMANE Toshiaki --- drivers/staging/comedi/drivers/me_daq.c | 19 --- 1 file

[PATCH V2] net: Fix skb_under_panic oops in neigh_resolve_output

2012-10-05 Thread ramesh . nagappa
The retry loop in neigh_resolve_output() and neigh_connected_output() call dev_hard_header() with out reseting the skb to network_header. This causes the retry to fail with skb_under_panic. The fix is to reset the network_header within the retry loop. Signed-off-by: Ramesh Nagappa Reviewed-by:

Re: [PATCH v2 09/10] bug.h: Add BUILD_BUG_ON_MSG & BUILD_BUG_INTERNAL{,2}

2012-10-05 Thread Daniel Santos
On 10/05/2012 04:02 PM, Josh Triplett wrote: > On Fri, Oct 05, 2012 at 10:58:58PM +0200, Borislav Petkov wrote: >> On Fri, Oct 05, 2012 at 02:42:48PM -0500, danielfsan...@att.net wrote: >>> Add BUILD_BUG_ON_MSG which behaves like BUILD_BUG_ON (with optimizations >>> turned enabled), except that it

Re: [PATCH v2 07/10] compiler.h, bug.h: Prevent double error messages with BUILD_BUG{,_ON}

2012-10-05 Thread Daniel Santos
On 10/05/2012 03:59 PM, Josh Triplett wrote: > On Fri, Oct 05, 2012 at 02:42:46PM -0500, danielfsan...@att.net wrote: >> --- a/include/linux/compiler.h >> +++ b/include/linux/compiler.h >> @@ -296,6 +296,11 @@ void ftrace_likely_update(struct ftrace_branch_data *f, >> int val, int expect); >>

[RFC PATCH 04/06] input/rmi4: Config files and makefiles

2012-10-05 Thread Christopher Heiny
Not much to say here, except that we've reduced the number of different Kconfig options, which will hopefully make it easier to configure RMI4 support in kernels. Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Linus Walleij Cc: Naveen Kumar Gaddipati Cc: Joeri de Gram ---

[RFC PATCH 05/06] input/rmi4: F01 - device control

2012-10-05 Thread Christopher Heiny
RMI Function 01 implements basic device control and power management behaviors for the RMI4 sensor. Since the last patch, we've decoupled rmi_f01.c implementation from rmi_driver.c, so rmi_f01.c acts as a standard driver module to handle F01 devices on the RMI bus. Like other modules, a number

[RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-05 Thread Christopher Heiny
As requested in the feedback from the previous patch, we've documented the debugfs and sysfs attributes in files in Documentation/ABI/testing. There's two files, one for debugfs and one for sysfs. Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Linus Walleij Cc: Naveen Kumar

[RFC PATCH 03/06] input/rmi4: I2C physical interface

2012-10-05 Thread Christopher Heiny
The I2C physical driver is not extensively changed in terms of functionality since the previous patch. Management of the attention GPIO has been moved to rmi_driver.c (see previous email), and most of the debug related interfaces have been moved from sysfs to debugfs. Control of the debug

[RFC PATCH 00/06] input: Synaptics RMI4 Touchscreen Driver

2012-10-05 Thread Christopher Heiny
This patch implements a driver supporting Synaptics ClearPad and other touchscreen sensors that use the RMI4 protocol, as defined here: http://www.synaptics.com/sites/default/files/511-000136-01-Rev-E-RMI4%20Intrfacing%20Guide.pdf as well as successor documents that haven't made their way

Re: sched: per-entity load-tracking

2012-10-05 Thread Paul Turner
I've rebased this to tip/master and pushed some minor updates (most notable: rounding down in decay_load). Tree is at: http://git.kernel.org/?p=linux/kernel/git/pjt/sched.git;a=summary (branch: load-tracking) If you prefer raw patches there's a quilt series at:

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

2012-10-05 Thread Steven Rostedt
On Fri, 2012-10-05 at 17:16 -0700, H. Peter Anvin wrote: > On 10/05/2012 07:13 AM, Steven Rostedt wrote: > > > > Peter, > > > > I agree that the IDT version is a zero cost in performance, where as the > > tracepoint version is a negligible cost in performance. But my worry is > > the complexity

Re: [PATCH v3 04/13] kmem accounting basic infrastructure

2012-10-05 Thread Tejun Heo
Hello, Glauber. On Thu, Oct 04, 2012 at 03:55:14PM +0400, Glauber Costa wrote: > I don't want to bloat unrelated kmem_cache structures, so I can't embed > a memcg array in there: I would have to have a pointer to a memcg array > that gets assigned at first use. But if we don't want to have a

Re: [PATCH 07/16] cgroup: fix warning when building without any subsys

2012-10-05 Thread Tejun Heo
On Fri, Oct 05, 2012 at 04:55:21PM +0200, Arnd Bergmann wrote: > In a configuration where the base cgroup support is enabled but > every single cgroup subsys is turned off, CGROUP_BUILTIN_SUBSYS_COUNT > is zero, which causes the sanity check code in cgroup_load_subsys > to trigger: > >

[PATCH v2 2/6] Add the main bulk of core driver for SI476x code

2012-10-05 Thread Andrey Smirnov
This patch adds main part(out of three) of the I2C driver for the "core" of MFD device. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-i2c.c | 972 ++ 1 file changed, 972 insertions(+) create mode 100644 drivers/mfd/si476x-i2c.c diff --git

[PATCH v2 3/6] Add commands abstraction layer for SI476X MFD

2012-10-05 Thread Andrey Smirnov
This patch adds all the functions used for exchanging commands with the chip. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-cmd.c | 1493 ++ 1 file changed, 1493 insertions(+) create mode 100644 drivers/mfd/si476x-cmd.c diff --git

[PATCH v2 4/6] Add chip properties handling code for SI476X MFD

2012-10-05 Thread Andrey Smirnov
This patch adds code related to manipulation of the properties of SI476X chips. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-prop.c | 477 + 1 file changed, 477 insertions(+) create mode 100644 drivers/mfd/si476x-prop.c diff --git

[PATCH v2 5/6] Add a V4L2 driver for SI476X MFD

2012-10-05 Thread Andrey Smirnov
This commit adds a driver that exposes all the radio related functionality of the Si476x series of chips via the V4L2 subsystem. Signed-off-by: Andrey Smirnov --- drivers/media/radio/Kconfig| 17 + drivers/media/radio/Makefile |1 + drivers/media/radio/radio-si476x.c | 1153

[PATCH v2 6/6] Add a codec driver for SI476X MFD

2012-10-05 Thread Andrey Smirnov
This commit add a sound codec driver for Silicon Laboratories 476x series of AM/FM radio chips. Signed-off-by: Andrey Smirnov --- sound/soc/codecs/Kconfig |4 + sound/soc/codecs/Makefile |2 + sound/soc/codecs/si476x.c | 255 + 3 files

[PATCH v2 1/6] Add header files and Kbuild plumbing for SI476x MFD core

2012-10-05 Thread Andrey Smirnov
This patch adds all necessary header files and Kbuild plumbing for the core driver for Silicon Laboratories Si476x series of AM/FM tuner chips. The driver as a whole is implemented as an MFD device and this patch adds a core portion of it that provides all the necessary functionality to the two

[PATCH v2 0/6] A driver for Si476x series of chips

2012-10-05 Thread Andrey Smirnov
This is a second version of the patchset originaly posted here: https://lkml.org/lkml/2012/9/13/590 To save everyone's time I'll repost the original description of it: This patchset contains a driver for a Silicon Laboratories 476x series of radio tuners. The driver itself is implemented as an

[GIT PULL] target updates for v3.7-rc1

2012-10-05 Thread Nicholas A. Bellinger
Hello Linus! Here are the target pending updates for v3.7-rc1 code. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git for-next Things have been calm for the most part with no new fabric drivers in flight for v3.7 (we're up to eight now !), so

Re: Minimal jitter = good desktop.

2012-10-05 Thread david
less jitter != less latency you could (in theory) eliminate jitter by delaying every keypress processed for exactly 1 second by having the code paths that process keypresses faster insert delays before implementing the results. that would result in zero jitter, but horrific latency. latency

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-05 Thread H. Peter Anvin
That disappeared 10 years ago... ebied...@xmission.com wrote: >"H. Peter Anvin" writes: > >> On 10/05/2012 02:41 PM, Eric W. Biederman wrote: >>> Yinghai Lu writes: >>> with bzImage or vmlinux? >>> >>> bzImage I presume. Certainly the bzImage has lost it's 896M limit, >>> which is where

Minimal jitter = good desktop.

2012-10-05 Thread Uwaysi Bin Kareem
Reducing jitter seems central for many things. First of all keypresses seem faster. (less jitter = less latency). Doom 3 and similar jittersensitive OpenGL applications run smoothly, and better than windows. Doom 3 was also my main app to get running well, and measuring jitter in the

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-05 Thread Eric W. Biederman
"H. Peter Anvin" writes: > On 10/05/2012 02:41 PM, Eric W. Biederman wrote: >> Yinghai Lu writes: >> >>> with bzImage or vmlinux? >> >> bzImage I presume. Certainly the bzImage has lost it's 896M limit, >> which is where ultimiately the 896M limite came from. >> > > ~896M (actually comes from

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-05 Thread H. Peter Anvin
On 10/05/2012 05:28 PM, Eric W. Biederman wrote: Seriously, any case where we can't load anywhere in physical ram on x86-64 is a bug. i386 is another matter. As I recall there are data structures like the IDT that only have a 32bit base address. Not true. The only one I know of is memory

[PATCH 5/7] swiotlb: Use physical addresses for swiotlb_tbl_unmap_single

2012-10-05 Thread Alexander Duyck
This change makes it so that the unmap functionality also uses physical addresses. This helps to further reduce the use of virt_to_phys and phys_to_virt functions. In order to clarify things since we now have 2 physical addresses in use inside of swiotlb_tbl_unmap_single I am renaming phys to

[PATCH 7/7] swiotlb: Do not export swiotlb_bounce since there are no external consumers

2012-10-05 Thread Alexander Duyck
Currently swiotlb is the only consumer for swiotlb_bounce. Since that is the case it doesn't make much sense to be exporting it so make it a static function only. In addition we can save a few more lines of code by making it so that it accepts the DMA address as a physical address instead of a

[PATCH 6/7] swiotlb: Use physical addresses instead of virtual in swiotlb_tbl_sync_single

2012-10-05 Thread Alexander Duyck
This change makes it so that the sync functionality also uses physical addresses. This helps to further reduce the use of virt_to_phys and phys_to_virt functions. In order to clarify things since we now have 2 physical addresses in use inside of swiotlb_tbl_sync_single I am renaming phys to

[PATCH 3/7] swiotlb: Make io_tlb_overflow_buffer a physical address

2012-10-05 Thread Alexander Duyck
This change makes it so that we can avoid virt_to_phys overhead when using the io_tlb_overflow_buffer. My original plan was to completely remove the value and replace it with a constant but I had seen that there were recent patches that stated this couldn't be done until all device drivers that

[PATCH 4/7] swiotlb: Return physical addresses when calling swiotlb_tbl_map_single

2012-10-05 Thread Alexander Duyck
This change makes it so that swiotlb_tbl_map_single will return a physical address instead of a virtual address when called. The advantage to this once again is that we are avoiding a number of virt_to_phys and phys_to_virt translations by working with everything as a physical address. One

[PATCH 2/7] swiotlb: Replace virtual io_tlb_start with physical io_tlb_addr

2012-10-05 Thread Alexander Duyck
This change replaces all references to the virtual address for io_tlb_start with references to the physical address io_tlb_addr. The main advantage of replacing the virtual address with a physical address is that we can avoid having to do multiple translations from the virtual address to the

[PATCH 1/7] swiotlb: Instead of tracking the end of the swiotlb region just calculate it

2012-10-05 Thread Alexander Duyck
In the case of swiotlb we already have the start of the region and the number of slabs that give us the region size. Instead of having to call virt_to_phys on two pointers we can just take advantage of the fact that the region is linear and just compute the end based on the start plus the size.

[PATCH 0/7] Improve swiotlb performance by using physical addresses

2012-10-05 Thread Alexander Duyck
While working on 10Gb/s routing performance I found a significant amount of time was being spent in the swiotlb DMA handler. Further digging found that a significant amount of this was due to virtual to physical address translation and calling the function that did it. It accounted for nearly

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-05 Thread Eric W. Biederman
"H. Peter Anvin" writes: > On 10/05/2012 02:32 PM, Eric W. Biederman wrote: >> Yinghai Lu writes: >> >>> On Fri, Oct 5, 2012 at 2:04 PM, Eric W. Biederman >>> wrote: >> Is there a git commit that explains what the 'big range' problem is? At least on x86_64 this was recently

[tip:x86/acpi] X86 ACPI: Use #ifdef not #if for CONFIG_X86 check

2012-10-05 Thread tip-bot for Luck, Tony
Commit-ID: 385ddeac7ed99cf7dc62d76274d55fbd7cae1b5a Gitweb: http://git.kernel.org/tip/385ddeac7ed99cf7dc62d76274d55fbd7cae1b5a Author: Luck, Tony AuthorDate: Fri, 5 Oct 2012 15:05:34 -0700 Committer: H. Peter Anvin CommitDate: Fri, 5 Oct 2012 15:59:07 -0700 X86 ACPI: Use #ifdef not

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-05 Thread H. Peter Anvin
On 10/05/2012 02:41 PM, Eric W. Biederman wrote: Yinghai Lu writes: with bzImage or vmlinux? bzImage I presume. Certainly the bzImage has lost it's 896M limit, which is where ultimiately the 896M limite came from. ~896M (actually comes from i386, not from bzImage... -hpa --

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-05 Thread H. Peter Anvin
On 10/05/2012 02:32 PM, Eric W. Biederman wrote: Yinghai Lu writes: On Fri, Oct 5, 2012 at 2:04 PM, Eric W. Biederman wrote: Is there a git commit that explains what the 'big range' problem is? At least on x86_64 this was recently tested and anywhere below 4G is good, and there is a patch

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

2012-10-05 Thread H. Peter Anvin
On 10/05/2012 07:13 AM, Steven Rostedt wrote: > > Peter, > > I agree that the IDT version is a zero cost in performance, where as the > tracepoint version is a negligible cost in performance. But my worry is > the complexity (read error prone and possible openings of security > exploits) worth

Re: [PATCH 00/33] AutoNUMA27

2012-10-05 Thread Andi Kleen
Tim Chen writes: >> > > I remembered that 3 months ago when Alex tested the numa/sched patches > there were 20% regression on SpecJbb2005 due to the numa balancer. 20% on anything sounds like a show stopper to me. -Andi -- a...@linux.intel.com -- Speaking for myself only -- To unsubscribe

Re: 3.6.0+ (GIT) -- lpc_ich: Resource conflict(s) found affecting gpio_ich

2012-10-05 Thread Peter Tyser
Hi Miles, On Thu, 2012-10-04 at 10:14 -0400, Miles Lane wrote: > ACPI Warning: 0x0828-0x082f SystemIO conflicts > with Region \PMIO 1 (20120711/utaddress-251) > ACPI: If an ACPI driver is available for this device, you should use > it instead of the native driver > ACPI

Re: [PATCH] mlx4: set carrier off after register netdev

2012-10-05 Thread Min Zhang
On Fri, 5 Oct 2012, Ben Hutchings wrote: > On Fri, 2012-10-05 at 11:28 -0700, Min Zhang wrote: > > ifconfig mlx4_en port reported RUNNING even though the link was down. > > > > mlx4_en_init_netdev didn't initialize the dev operstate properly so > > the operstate stayed as default

Re: 3.5 regression on i915

2012-10-05 Thread Willy Tarreau
On Sat, Oct 06, 2012 at 09:48:57AM +1000, Dave Airlie wrote: > Any reason you don't have KMS, you'll keep hitting these non-kms bugs > since it has no users anymore really. > > Granted they'll get fixed, but I suspect its a losing battle over time. Well, back in old times every time I tried to

Re: [PATCH 00/33] AutoNUMA27

2012-10-05 Thread Tim Chen
On Fri, 2012-10-05 at 16:14 -0700, Andi Kleen wrote: > Andrew Morton writes: > > > On Thu, 4 Oct 2012 01:50:42 +0200 > > Andrea Arcangeli wrote: > > > >> This is a new AutoNUMA27 release for Linux v3.6. > > > > Peter's numa/sched patches have been in -next for a week. > > Did they pass

Re: 3.5 regression on i915

2012-10-05 Thread Dave Airlie
On Sat, Oct 6, 2012 at 9:42 AM, Willy Tarreau wrote: > Chris, Daniel, > > since version 3.5, my Asus EeePC 1005HA bugs during startx. I didn't > have the time to investigate until this evening. > > I could bisect the commits and found that the following one was merged > in 3.5-rc1 and is

3.5 regression on i915

2012-10-05 Thread Willy Tarreau
Chris, Daniel, since version 3.5, my Asus EeePC 1005HA bugs during startx. I didn't have the time to investigate until this evening. I could bisect the commits and found that the following one was merged in 3.5-rc1 and is responsible for these bugs that can reliably be triggered :

Re: [RFC PATCH 0/7] Improve swiotlb performance by using physical addresses

2012-10-05 Thread Alexander Duyck
On 10/05/2012 01:02 PM, Andi Kleen wrote: >> I was thinking the issue was all of the calls to relatively small >> functions occurring in quick succession. The way most of this code is >> setup it seems like it is one small function call in turn calling >> another, and then another, and I would

Re: [PATCH 00/33] AutoNUMA27

2012-10-05 Thread Andi Kleen
Andrew Morton writes: > On Thu, 4 Oct 2012 01:50:42 +0200 > Andrea Arcangeli wrote: > >> This is a new AutoNUMA27 release for Linux v3.6. > > Peter's numa/sched patches have been in -next for a week. Did they pass review? I have some doubts. The last time I looked it also broke numactl. >

Re: [PATCH 0/4] ACPI: kill acpi_pci_root_start

2012-10-05 Thread Yinghai Lu
On Fri, Oct 5, 2012 at 4:01 PM, Rafael J. Wysocki wrote: > On Thursday 04 of October 2012 15:46:39 Yinghai Lu wrote: >> > Your patches seem to affect all devices in the ACPI namespace added after >> > boot, though, not only host bridges. >> >> yes, but it still should be safe. > > I'm not really

Re: [PATCH 0/4] ACPI: kill acpi_pci_root_start

2012-10-05 Thread Rafael J. Wysocki
On Thursday 04 of October 2012 15:46:39 Yinghai Lu wrote: > On Thu, Oct 4, 2012 at 3:36 PM, Rafael J. Wysocki wrote: > > On Thursday 04 of October 2012 15:01:21 Yinghai Lu wrote: > >> during adding pci root bus hotplug, Bjorn found some unsafe searching > >> that caused by pci_bus_add_devices. >

include/linux/cgroup.h:566 suspicious rcu_dereference_check() usage!

2012-10-05 Thread Cristian Rodríguez
Hi: I am getting this in the current linus tree. [0.408781] === [0.408783] [ INFO: suspicious RCU usage. ] [0.408786] 3.6.0-canneverbe-07124-g5f3d2f2 #18 Not tainted [0.408789] --- [0.408791] include/linux/cgroup.h:566

Re: [PATCH v4] dma-debug: New interfaces to debug dma mapping errors

2012-10-05 Thread Andrew Morton
On Thu, 04 Oct 2012 19:23:13 -0600 Shuah Khan wrote: > A recent dma mapping error analysis effort showed that a large percentage > of dma_map_single() and dma_map_page() returns are not checked for mapping > errors. > > Reference: >

[PATCH 19/20 V2] drivers/net/ethernet/marvell/skge.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function skge_probe() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to err_out_led_off:. For this error case, the function abort its success execution path, but returns non negative

[PATCH 17/20 V2] drivers/net/ethernet/sun/niu.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function niu_pci_init_one() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to err_out_free_res:. For this error case, the function abort its success execution path, but returns non

[PATCH 18/20 V2] drivers/net/ethernet/sun/sungem.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function gem_init_one() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to err_out_free_consistent:. For this error case, the function abort its success execution path, but returns non

[PATCH 20/20 V2] drivers/net/ethernet/marvell/sky2.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function sky2_probe() return 0 for success and negative value for most of its internal tests failures. There are two exceptions that are error cases going to err_out*:. For this two cases, the function abort its success execution path, but returns non negative

[PATCH 16/20 V2] drivers/net/ethernet/renesas/sh_eth.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function sh_eth_drv_probe() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to out_release:. For this error case, the function abort its success execution path, but returns non

Re: [PATCH 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-05 Thread Sergei Shtylyov
Hello. On 05-10-2012 12:07, Kishon Vijay Abraham I wrote: Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/devices.c | 72

Re: [GIT PULL] Disintegrate UAPI for hexagon

2012-10-05 Thread Richard Kuo
On Thu, Oct 04, 2012 at 08:51:19PM +0100, David Howells wrote: > Can you merge the following branch into the hexagon tree please. > > This is to complete part of the UAPI disintegration for which the preparatory > patches were pulled recently. > > Note that there are some fixup patches which are

CONFIG_INTEL_IDLE causing crashes?

2012-10-05 Thread J. Bruce Fields
I find that I can reliably crash 3.6 by booting to a kernel with CONFIG_INTEL_IDLE set and running dd if=/dev/zero of=BIG If I turn off CONFIG_INTEL_IDLE there's no crash. (dd just hits ENOSPC eventually.) This isn't new--I originally saw it on 2.6.35.6. (An upgrade to F14 failed, and

Re: [PATCH] regmap: silence GCC warning

2012-10-05 Thread Valdis . Kletnieks
On Wed, 03 Oct 2012 09:23:36 +0200, Paul Bolle said: > By the way, GCC doesn't warn if I add an early check whether 'val_count' > is non-zero: > > diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c > index c241ae2..d41527b 100644 > --- a/drivers/base/regmap/regmap.c > +++

[PATCH 12/20 V2] drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function qlcnic_probe() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to err_out_free_netdev:. For this error case, the function abort its success execution path, but returns non

[PATCH 15/20 V2] drivers/net/ethernet/natsemi/xtsonic.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function sonic_probe1() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to out:. For this error case, the function abort its success execution path, but returns non negative value,

[PATCH 13/20 V2] drivers/net/ethernet/amd/amd8111e.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function amd8111e_probe_one() return 0 for success and negative value for most of its internal tests failures. There are two exceptions that are error cases going to err_free_reg:. For this two cases, the function abort its success execution path, but returns non

[PATCH 11/20 V2] drivers/net/irda/sh_sir.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function sh_sir_probe() return 0 for success and negative value for most of its internal tests failures. There are two exceptions that are error cases going to err_mem_*:. For this two cases, the function abort its success execution path, but returns non negative

[PATCH 14/20 V2] drivers/net/ethernet/amd/au1000_eth.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function au1000_probe() return 0 for success and negative value for most of its internal tests failures. There are exceptions that are error cases going to err_out:. For this cases, the function abort its success execution path, but returns non negative value,

[PATCH] USB: usb.h: remove dbg() macro

2012-10-05 Thread Greg Kroah-Hartman
There are no users of this macro anymore in the kernel tree, so finally delete it. Signed-off-by: Greg Kroah-Hartman --- include/linux/usb.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/include/linux/usb.h b/include/linux/usb.h index 07915a3..10278d1 100644 ---

Re: suspicious RCU usage in cgroup

2012-10-05 Thread Aristeu Rozanski
Hi Dave, On Fri, Oct 05, 2012 at 05:59:29PM -0400, Dave Jones wrote: > On boot in Linus' current tree.. > > > === > [ INFO: suspicious RCU usage. ] > 3.6.0+ #22 Not tainted > --- > include/linux/cgroup.h:566 suspicious

[PATCH] X86 ACPI: Use #ifdef not #if for CONFIG_X86 check

2012-10-05 Thread Luck, Tony
Fix a build warning on ia64: include/linux/acpi.h:437:5: warning: "CONFIG_X86" is not defined Signed-off-by: Tony Luck --- diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 4f42332..f70f18d 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -434,7 +434,7 @@ void

alsa lockdep trace.

2012-10-05 Thread Dave Jones
Takashi, I've been seeing this on one machine since around 3.3 (perhaps earlier, I forget) I reported it a while ago, and you had me test some patch that didn't make any difference, then it fell off my radar.. Dave = [ INFO: possible recursive

896MB address limit (was: Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit)

2012-10-05 Thread Eric W. Biederman
I am going to see about merging these two threads. Yinghai Lu writes: > On Fri, Oct 5, 2012 at 2:41 PM, Eric W. Biederman > wrote: >> Yinghai Lu writes: >> >>> with bzImage or vmlinux? >> >> bzImage I presume. Certainly the bzImage has lost it's 896M limit, >> which is where ultimiately

Re: [PATCH v2 5/7] mm: Add and use update_mmu_cache_pmd() in transparent huge page code.

2012-10-05 Thread Andrew Morton
On Thu, 04 Oct 2012 15:47:38 -0400 (EDT) David Miller wrote: > The transparent huge page code passes a PMD pointer in as the third > argument of update_mmu_cache(), which expects a PTE pointer. > > This never got noticed because X86 implements update_mmu_cache() as a > macro and thus we don't

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

2012-10-05 Thread Andrew Morton
On Fri, 05 Oct 2012 17:45:08 -0400 (EDT) David Miller wrote: > From: Andrew Morton > Date: Fri, 5 Oct 2012 14:36:44 -0700 > > > David, I don't know what to do until there's some clarity on the > > numa/sched changes. Andrea has a new autonuma patchset, Peter's code > > is in -next and I don't

Re: [PATCH 2/20 V2] drivers/net/ethernet/natsemi/natsemi.c: fix error return code

2012-10-05 Thread Francois Romieu
Peter Senna Tschudin : [...] > The function natsemi_probe1() return 0 for success and negative value > for most of its internal tests failures. There is one exception > that is error case going to err_create_file:. Fore this error case the > function abort its success execution path, but returns

suspicious RCU usage in cgroup

2012-10-05 Thread Dave Jones
On boot in Linus' current tree.. === [ INFO: suspicious RCU usage. ] 3.6.0+ #22 Not tainted --- include/linux/cgroup.h:566 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 1,

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

2012-10-05 Thread David Miller
From: Andrew Morton Date: Fri, 5 Oct 2012 14:36:44 -0700 > David, I don't know what to do until there's some clarity on the > numa/sched changes. Andrea has a new autonuma patchset, Peter's code > is in -next and I don't know if it's planned for 3.7 merging. And I > suspect (hope) that it

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-05 Thread Henrique de Moraes Holschuh
On Fri, 05 Oct 2012, da...@lang.hm wrote: > >On Thu, Oct 4, 2012 at 9:50 PM, Kurt H Maier wrote: > >>On Wed, Oct 03, 2012 at 07:27:01PM +, Al Viro wrote: > >>>Al, that -><- close to volunteering for maintaining that FPOS > >>>kernel-side... > >> > >>This would be fantastic. > > > >And that

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-05 Thread Yinghai Lu
On Fri, Oct 5, 2012 at 2:41 PM, Eric W. Biederman wrote: > Yinghai Lu writes: > >> with bzImage or vmlinux? > > bzImage I presume. Certainly the bzImage has lost it's 896M limit, > which is where ultimiately the 896M limite came from. they are using updated kexec-tools ? last time when i

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-05 Thread Eric W. Biederman
Yinghai Lu writes: > with bzImage or vmlinux? bzImage I presume. Certainly the bzImage has lost it's 896M limit, which is where ultimiately the 896M limite came from. Eric -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-05 Thread Yinghai Lu
On Fri, Oct 5, 2012 at 2:32 PM, Eric W. Biederman wrote: > Yinghai Lu writes: > >> On Fri, Oct 5, 2012 at 2:04 PM, Eric W. Biederman >> wrote: > Is there a git commit that explains what the 'big range' problem is? >>> >>> At least on x86_64 this was recently tested and anywhere below 4G is

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

2012-10-05 Thread Andrew Morton
On Thu, 04 Oct 2012 15:46:24 -0400 (EDT) David Miller wrote: > > Changes since V1: > > 1) Respun against mmotm > > 2) Bug fix for pgtable allocation, need real locking instead of >just preemption disabling. > > Andrew, you can probably take patch #5 in this series and combine > it into:

Re: [PATCH 0/2] Convert davinci ASoC to genalloc SRAM

2012-10-05 Thread Matt Porter
size to something that's known to work > for them. > > [1] http://www.spinics.net/lists/arm-kernel/msg198854.html Tested again on top of v4 of the uio_pruss/genalloc series http://www.spinics.net/lists/arm-kernel/msg199255.html on next-20121005 since there's some conflicts falling out o

[PATCH 8/20 V2] drivers/net/irda/pxaficp_ir.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function pxa_irda_probe() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to err_mem_3:. For this error case, the function abort its success execution path, but returns non negative

[PATCH 10/20 V2] drivers/net/irda/sh_irda.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function sh_irda_probe() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to err_mem_4:. For this error case, the function abort its success execution path, but returns non negative

[PATCH 9/20 V2] drivers/net/irda/sa1100_ir.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function sa1100_irda_probe() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to err_mem_4:. For this error case, the function abort its success execution path, but returns non negative

[PATCH 7/20 V2] drivers/net/irda/mcs7780.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function mcs_probe() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to error2:. For this error case, the function abort its success execution path, but returns non negative value,

[PATCH 6/20 V2] drivers/net/irda/irtty-sir.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function irtty_open() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to out_put:. For this error case, the function abort its success execution path, but returns non negative value,

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-05 Thread Eric W. Biederman
Yinghai Lu writes: > On Fri, Oct 5, 2012 at 2:04 PM, Eric W. Biederman > wrote: Is there a git commit that explains what the 'big range' problem is? >> >> At least on x86_64 this was recently tested and anywhere below 4G is >> good, and there is a patch floating around somewhere to remove

Re: Linux 3.5-rc7

2012-10-05 Thread Valdis . Kletnieks
On Sun, 30 Sep 2012 14:54:07 +0200, Uwaysi Bin Kareem said: > Compiled 3.6-rc7, with a hz timer of 3956 for a "natural" psychovisual > profile jitter level in OpenGL, and a shaved config for minimal jitter. I'll bite - how did you measure the difference between 3956 and 4000? The other stuff in

Re: [PATCH v2 0/7] uio_pruss cleanup and platform support

2012-10-05 Thread Matt Porter
On Fri, Oct 05, 2012 at 04:43:56AM +, Hebbar, Gururaja wrote: > Matt, > > On Wed, Oct 03, 2012 at 20:30:58, Porter, Matt wrote: > > On Fri, Sep 28, 2012 at 03:37:45PM -0400, Matt Porter wrote: > > > Changes since v1: > > > - Replaced uio_pruss private SRAM API use with genalloc > > > -

[PATCH] crypto: Make VMAC work when blocks aren't aligned

2012-10-05 Thread Salman Qazi
VMAC implementation, as it is, does not work with blocks that are not multiples of 128-bytes. Furthermore, this is a problem when using the implementation on scatterlists, even when the complete plain text is 128-byte multiple, as the pieces that get passed to vmac_update can be pretty much any

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-05 Thread Yinghai Lu
On Fri, Oct 5, 2012 at 2:04 PM, Eric W. Biederman wrote: >>> Is there a git commit that explains what the 'big range' problem is? > > At least on x86_64 this was recently tested and anywhere below 4G is > good, and there is a patch floating around somewhere to remove this > issue. patch for

Re: [PATCH] rcu: Add "expedite always" switch

2012-10-05 Thread Paul E. McKenney
On Fri, Oct 05, 2012 at 09:59:15AM +0300, Antti P Miettinen wrote: > From: "Paul E. McKenney" > > b. Maybe sysfs setting. Initially, this can be simple "on" and "off", > > exported with root-only access (like you have above). If more > > elaborate use cases appear, this might become

Re: [PATCH 02/16] f2fs: add on-disk layout

2012-10-05 Thread Boaz Harrosh
On 10/05/2012 10:54 AM, Dan Luedtke wrote: > On Fri, 2012-10-05 at 20:56 +0900, 김재극 wrote: >> +__le32 i_atime; /* Access time */ >> +__le32 i_ctime; /* inode Change time */ >> +__le32 i_mtime; /* Modification time */ >> +__le32

Re: [PATCH 4/20 V2] drivers/net/can/sja1000/peak_pcmcia.c: fix error return code

2012-10-05 Thread Marc Kleine-Budde
On 10/05/2012 10:41 PM, Peter Senna Tschudin wrote: > From: Peter Senna Tschudin > > The function pcan_probe() return 0 for success and negative value > for most of its internal tests failures. There is one exception > that is error case going to probe_err_4:. Fore this error case, the >

Re: [PATCH 3/20 V2] drivers/net/can/sja1000/peak_pci.c: fix error return code

2012-10-05 Thread Marc Kleine-Budde
On 10/05/2012 10:41 PM, Peter Senna Tschudin wrote: > From: Peter Senna Tschudin > > The function peak_pci_probe() return 0 for success and negative value > for most of its internal tests failures. There are two exceptions > that are error cases going to failure_*:. Fore this two cases the >

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-05 Thread Eric W. Biederman
Yinghai Lu writes: > On Thu, Oct 4, 2012 at 9:46 AM, Konrad Rzeszutek Wilk > wrote: >>> then kdump may have problem get big range again. >> >> Is there a git commit that explains what the 'big range' problem is? At least on x86_64 this was recently tested and anywhere below 4G is good, and

  1   2   3   4   5   6   7   8   9   10   >