Re: [RFC -next] linux/linkage.h: fix symbol prefix handling

2013-03-10 Thread Rusty Russell
James Hogan writes: > Hi Rusty, > > On 08/03/13 00:03, Rusty Russell wrote: >> James Hogan writes: >>> Also the definition of SYMBOL_PREFIX in is removed as >>> it conflicts, isn't used anywhere, and is defined as a string so differs >>> from the assembly definition. >> >> So now, if CONFIG_SY

[PATCH 14/14] power: wm831x_backup: use devm_kzalloc()

2013-03-10 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/power/wm831x_backup.c | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/power/wm831x_backup.c b/drivers/power/wm831x_backup.c index d9cc169..58cbb00 100644 --- a/dr

[PATCH 13/14] power: rx51_battery: use devm_kzalloc()

2013-03-10 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/power/rx51_battery.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/power/rx51_battery.c b/drivers/power/rx51_battery.c index 820..f9dc9ff 100644 --- a/drivers/pow

[PATCH 12/14] power: pcf50633-charger: use devm_kzalloc()

2013-03-10 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/power/pcf50633-charger.c |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/drivers/power/pcf50633-charger.c b/drivers/power/pcf50633-charger.c index c2122a7..17fd77f 100644 --

[PATCH 11/14] power: max8998_charger: use devm_kzalloc()

2013-03-10 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/power/max8998_charger.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/power/max8998_charger.c b/drivers/power/max8998_charger.c index bf677e3..5017470 100644 --- a/d

[PATCH 10/14] power: max8997_charger: use devm_kzalloc()

2013-03-10 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/power/max8997_charger.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/power/max8997_charger.c b/drivers/power/max8997_charger.c index e757885..4bdedfe 100644 ---

[PATCH 09/14] power: max8903_charger: use devm_kzalloc()

2013-03-10 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/power/max8903_charger.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/power/max8903_charger.c b/drivers/power/max8903_charger.c index 14e2b96..08f0d79 100644 --- a/dr

[PATCH 08/14] power: isp1704_charger: use devm_kzalloc()

2013-03-10 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/power/isp1704_charger.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/power/isp1704_charger.c b/drivers/power/isp1704_charger.c index 176ad59..fc04d19 100644 --- a/d

[PATCH 07/14] power: gpio-charger: use devm_kzalloc()

2013-03-10 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/power/gpio-charger.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/power/gpio-charger.c b/drivers/power/gpio-charger.c index e3e40a9..e9883ee 100644 --- a/drivers/po

[PATCH 06/14] power: ds2780_battery: use devm_kzalloc()

2013-03-10 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/power/ds2780_battery.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/power/ds2780_battery.c b/drivers/power/ds2780_battery.c index 8b6c453..9f418fa 100644 --- a/dr

[PATCH 05/14] power: ds2760_battery: use devm_kzalloc()

2013-03-10 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/power/ds2760_battery.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/power/ds2760_battery.c b/drivers/power/ds2760_battery.c index 704e652..85b4e6e 100644 --- a/dri

[PATCH 04/14] power: da9052-battery: use devm_kzalloc()

2013-03-10 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/power/da9052-battery.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/power/da9052-battery.c b/drivers/power/da9052-battery.c index 08193fe..f8f4c0f 100644 --- a/driv

[PATCH 03/14] power: da9030_battery: use devm_kzalloc()

2013-03-10 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/power/da9030_battery.c |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/drivers/power/da9030_battery.c b/drivers/power/da9030_battery.c index e8c5a39..ae6c418 100644 --- a/dri

[PATCH 02/14] power: max8925_power: use devm_kzalloc()

2013-03-10 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/power/max8925_power.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/power/max8925_power.c b/drivers/power/max8925_power.c index 665cdc7..0ee1e14 100644 --- a/drivers

[PATCH] power: abx500_chargalg: use module_platform_driver() macro

2013-03-10 Thread Jingoo Han
This patch uses module_platform_driver() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han --- drivers/power/abx500_chargalg.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/power/abx500_chargalg.c b/drivers/power/abx500_char

[PATCH 01/14] power: 88pm860x_charger: drop kfree of devm_kzalloc'd data

2013-03-10 Thread Jingoo Han
The devm_kzalloc function allocates memory that is released automatically, when a driver detaches. Thus, there is no reason to explicitly call kfree in probe or remove functions. Signed-off-by: Jingoo Han --- drivers/power/88pm860x_charger.c |2 -- 1 files changed, 0 insertions(+), 2 deletio

Re: [PATCH v2 20/20] x86, mm, numa: Put pagetable on local node ram for 64bit

2013-03-10 Thread Yinghai Lu
On Sun, Mar 10, 2013 at 10:49 PM, Tang Chen wrote: > On 03/10/2013 02:44 PM, Yinghai Lu wrote: >> >> Calling init_mem_mapping in early_initmem_init for every node. >> alloc_low_pages will alloc page table in following order: >> BRK, local node, low range >> So page table will be on low ran

Re: [PATCHv5,RESEND 3/8] gpu: host1x: Add channel support

2013-03-10 Thread Terje Bergström
On 08.03.2013 22:43, Thierry Reding wrote: > A bo is just a buffer object, so I don't see why the name shouldn't > be used. The name is in no way specific to DRM or GEM. But the point > that I was trying to make was that there is nothing to suggest that > we couldn't use drm_gem_object as the under

Re: [PATCH 8/8] memory: emif: Load the correct custom config values from dt

2013-03-10 Thread Santosh Shilimkar
On Monday 11 March 2013 10:36 AM, Lokesh Vutla wrote: > of_get_property returns value in Big Endian format. > Before using this value it should be converted to little endian > using be32_to_cpup(). > Custom configs of emif are read from dt using of_get_property, > but these are not converted to lit

Re: [PATCH 7/8] memory: emif: errata i743: Prohibit usage of Power-Down mode

2013-03-10 Thread Santosh Shilimkar
On Monday 11 March 2013 10:36 AM, Lokesh Vutla wrote: > From: Grygorii Strashko > > ERRATA DESCRIPTION : > The EMIF supports power-down state for low power. The EMIF > automatically puts the SDRAM into power-down after the memory is > not accessed for a defined number of cycles and the > EMIF_PWR

Re: [PATCH v2 20/20] x86, mm, numa: Put pagetable on local node ram for 64bit

2013-03-10 Thread Tang Chen
Hi Yinghai, Please see below. :) On 03/10/2013 02:44 PM, Yinghai Lu wrote: If node with ram is hotplugable, local node mem for page table and vmemmap should be on that node ram. This patch is some kind of refreshment of | commit 1411e0ec3123ae4c4ead6bfc9fe3ee5a3ae5c327 | Date: Mon Dec 27 16:

Re: [PATCH 6/8] memory: emif: fix timings initialization issue

2013-03-10 Thread Santosh Shilimkar
$subject is too vague. What issue ? Some thing like "Fix the incorrect 'size' parameter in memcpy' etc On Monday 11 March 2013 10:36 AM, Lokesh Vutla wrote: > From: Oleksandr Dmytryshyn > > The issue was that only the first timings table was added to the > emif platform data at the emif driver r

Re: [PATCH 5/8] memory: emif: use restart if power_off not present when out of spec

2013-03-10 Thread Santosh Shilimkar
On Monday 11 March 2013 10:36 AM, Lokesh Vutla wrote: > From: Nishanth Menon > > Some machine or kernel variants might have missed implementation > of power off handlers. We DONOT want to let the system be in > "out of spec" state in this condition. So, WARN and attempt > a machine restart in the

Re: [PATCH 4/8] memory: emif: Handle devices which are not rated for >85C

2013-03-10 Thread Santosh Shilimkar
On Monday 11 March 2013 10:36 AM, Lokesh Vutla wrote: > From: Nishanth Menon > > As per JESD209-2E specification for LPDDR2, > http://www.jedec.org/standards-documents/results/jesd209-2E > Table 73, LPDDR2 memories come in two flavors - Standard and > Extended. The Standard types can operat

Re: [PATCH 3/8] memory: emif: handle overflow for timing for LP mode

2013-03-10 Thread Santosh Shilimkar
On Monday 11 March 2013 10:36 AM, Lokesh Vutla wrote: > From: Nishanth Menon > > In case the custom timings provide values which overflow > the maximum possible field value, warn and use maximum > permissible value. > > Signed-off-by: Nishanth Menon > Signed-off-by: Lokesh Vutla > --- Acked-b

Re: [PATCH 2/8] memory: emif: setup LP settings on freq update

2013-03-10 Thread Santosh Shilimkar
On Monday 11 March 2013 10:35 AM, Lokesh Vutla wrote: > From: Ambresh K > > Program the power management shadow register on freq update > Else the concept of threshold frequencies dont really matter > as the system always uses the performance mode timing for LP > which is programmed in at init ti

Re: [PATCH 1/8] memory: emif: Correct the lpmode timeout calculation

2013-03-10 Thread Santosh Shilimkar
minor nit. $subject s/Correct/Fix On Monday 11 March 2013 10:35 AM, Lokesh Vutla wrote: > The driver tries to round up the specified timeout cycles to > the next power of 2 value. But this is done wrongly. > Correcting this here. > Change needs to be improved here. See below. > Reported-by: Nish

[GIT PULL FOR v3.10] DaVinci media/tvp514x/ths7353 cleanups and feature enhancement

2013-03-10 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches. A gentle request, can you please pull these patches ASAP as my TI I'd might get shut any movement, so as the mails of patches being queued don’t get bounce. Regards, --Prabhakar Lad The following changes since commit f6161aa153581da4a3867a2d1a7caf4be

Re: [PATCH v2, part1 29/29] mm,kexec: use common help functions to free reserved pages

2013-03-10 Thread Zhang Yanfei
于 2013年03月10日 14:27, Jiang Liu 写道: > Use common help functions to free reserved pages. > > Signed-off-by: Jiang Liu > Cc: Eric Biederman Reviewed-by: Zhang Yanfei > --- > kernel/kexec.c |8 ++-- > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git a/kernel/kexec.c b/kern

Re: [PATCH 11/12] rwsem: wake all readers when first waiter is a reader

2013-03-10 Thread Michel Lespinasse
On Sun, Mar 10, 2013 at 5:16 PM, Dave Chinner wrote: > On Fri, Mar 08, 2013 at 05:20:34PM -0800, Michel Lespinasse wrote: >> On Fri, Mar 8, 2013 at 4:32 PM, Dave Chinner wrote: >> > Isn't this a significant change of semantics for the rwsem? i.e. >> > that read lock requests that come after a wri

Re: [PATCH] include/linux/res_counter.h: fixup commit 9259826ccb8165f797e4c2c9d17925b41af5f6ae

2013-03-10 Thread Chen Gang
于 2013年03月11日 09:14, Li Zefan 写道: > On 2013/3/10 11:12, Chen Gang wrote: >> > >> > still need include linux/errno.h for EBUSY. >> > >> > additional info: >> > make command: >> > make EXTRA_CFLAGS=-W V=1 ARCH=arm allmodconfig >> > make EXTRA_CFLAGS=-W V=1 ARCH=arm >> > error report:

[PATCH 7/8] memory: emif: errata i743: Prohibit usage of Power-Down mode

2013-03-10 Thread Lokesh Vutla
From: Grygorii Strashko ERRATA DESCRIPTION : The EMIF supports power-down state for low power. The EMIF automatically puts the SDRAM into power-down after the memory is not accessed for a defined number of cycles and the EMIF_PWR_MGMT_CTRL[10:8] REG_LP_MODE bit field is set to 0x4. As the EMIF su

[PATCH 4/8] memory: emif: Handle devices which are not rated for >85C

2013-03-10 Thread Lokesh Vutla
From: Nishanth Menon As per JESD209-2E specification for LPDDR2, http://www.jedec.org/standards-documents/results/jesd209-2E Table 73, LPDDR2 memories come in two flavors - Standard and Extended. The Standard types can operate from -25C to +85C However, beyond that and upto +105C can only b

[PATCH 2/8] memory: emif: setup LP settings on freq update

2013-03-10 Thread Lokesh Vutla
From: Ambresh K Program the power management shadow register on freq update Else the concept of threshold frequencies dont really matter as the system always uses the performance mode timing for LP which is programmed in at init time. Signed-off-by: Nishanth Menon Signed-off-by: Ambresh K Sign

[PATCH 3/8] memory: emif: handle overflow for timing for LP mode

2013-03-10 Thread Lokesh Vutla
From: Nishanth Menon In case the custom timings provide values which overflow the maximum possible field value, warn and use maximum permissible value. Signed-off-by: Nishanth Menon Signed-off-by: Lokesh Vutla --- drivers/memory/emif.c | 36 1 file chang

[PATCH 8/8] memory: emif: Load the correct custom config values from dt

2013-03-10 Thread Lokesh Vutla
of_get_property returns value in Big Endian format. Before using this value it should be converted to little endian using be32_to_cpup(). Custom configs of emif are read from dt using of_get_property, but these are not converted to litte endian format. Correcting the same here. Signed-off-by: Loke

[GIT PULL FOR v3.9] DaVinci media driver fixes

2013-03-10 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches for Davinci. The first patch fixes module build for VPBE driver and the second patch fixes the module build for VPIF driver. The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2 (2013-03-10 16:54:19 -0700) are a

[PATCH 6/8] memory: emif: fix timings initialization issue

2013-03-10 Thread Lokesh Vutla
From: Oleksandr Dmytryshyn The issue was that only the first timings table was added to the emif platform data at the emif driver registration. All other timings tables was filled with zeros. Now all emif timings table are added to the platform data. Signed-off-by: Oleksandr Dmytryshyn Signed-o

[PATCH 5/8] memory: emif: use restart if power_off not present when out of spec

2013-03-10 Thread Lokesh Vutla
From: Nishanth Menon Some machine or kernel variants might have missed implementation of power off handlers. We DONOT want to let the system be in "out of spec" state in this condition. So, WARN and attempt a machine restart in the hopes of clearing the out-of-spec temperature condition. NOTE: T

[PATCH 0/8] memory: emif: miscellaneous bug fixes for EMIF driver

2013-03-10 Thread Lokesh Vutla
This series resolves a few minor issues for EMIF driver. Tested all patches on OMAP4430-sdp. Patch : "memory: emif: setup LP settings on freq update" is tested on a local tree, since freq update cannot be tested on mainline. Ambresh K (1): memory: emif: setup LP settings on freq update Grygori

[PATCH 1/8] memory: emif: Correct the lpmode timeout calculation

2013-03-10 Thread Lokesh Vutla
The driver tries to round up the specified timeout cycles to the next power of 2 value. But this is done wrongly. Correcting this here. Reported-by: Nishanth Menon Signed-off-by: Lokesh Vutla --- drivers/memory/emif.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dr

Re: 3.9-rc1 regression in arm dtb build

2013-03-10 Thread Olof Johansson
On Thu, Mar 07, 2013 at 01:50:54PM -0700, Stephen Warren wrote: > On 03/07/2013 07:45 AM, Pavel Machek wrote: > > Hi! > >>> commit 499cd8298628eeabf0eb5eb6525d4faa0eec80d8 > >>> Author: Grant Likely > >>> Date: Tue Nov 27 16:29:11 2012 -0700 > > ... > >>> 1) it is inconsistent with 3.8, making s

[PATCH] PCI, ACPI: hold acpi_scan_lock during root bus hotplug

2013-03-10 Thread Yinghai Lu
During merging pci tree with pm/acpi tree, Linus noticed that we don't have same lock using patten about acpi pci root as acpiphp. Here apply same lock patten, and we need to change acpi_bus_hot_remove_device executing via acpi_os_hotplug_execute() as it also hold the lock in acpi_bus_hot_remove_d

Re: [PATCH] ARM:kernel: beautify code, using 'static const' instead of 'const static'

2013-03-10 Thread Chen Gang
于 2013年03月11日 09:26, Rob Herring 写道: > On 03/09/2013 07:59 PM, Chen Gang wrote: >> > >> > better using 'static const' instead of 'const static' >> > >> > Signed-off-by: Chen Gang >> > --- >> > arch/arm/kernel/smp_twd.c |2 +- >> > 1 files changed, 1 insertions(+), 1 deletions(-) >> > >>

Re: [PATCH] [Timer][Trivial] __clocksource_register_scale return value use?

2013-03-10 Thread anish singh
ACK or NACK this patch please. On Sat, Mar 9, 2013 at 11:33 AM, anish singh wrote: > ping > > On Thu, Mar 7, 2013 at 4:41 PM, anish kumar > wrote: >> __clocksource_register_scale() currently returns int but it should >> return void as there are no error paths in that function. >> Making it void

Re: sysfs: Kernel OOPS when install and remove modules

2013-03-10 Thread Hillf Danton
On Mon, Mar 11, 2013 at 10:55 AM, Greg KH wrote: > On Mon, Mar 11, 2013 at 10:17:13AM +0800, Gao feng wrote: >> I get the below stack when I execute the shell program >> >> #!/bin/bash >> >> while :; >> do >> modprobe 8139too& >> rmmod 8139too& >> done >> >> I trust it is not the problem of 8139to

[PATCH] x86, kdump: Set crashkernel_low automatically

2013-03-10 Thread Yinghai Lu
Current code does not set low range for crashkernel if the user does not specify that. That cause regressions on system that does not support intel_iommu properly. Chao said that his system does work well on 3.8 without extra parameter. even iommu does not work with kdump. Set crashkernel_low au

Re: [PATCH] ARM:net: an issue for k which is u32, never < 0

2013-03-10 Thread Chen Gang
于 2013年03月11日 05:12, David Miller 写道: > From: Chen Gang > Date: Sun, 10 Mar 2013 10:15:54 +0800 > >> > >> > k is u32 which never < 0, need type cast, or cause issue. >> > >> > Signed-off-by: Chen Gang > Who will apply this, ARM folks or me? > > sorry I don't know, either. I get the mail

Re: [PATCH] Drivers: staging: media: davinci_vpfe: Use resource_size function

2013-03-10 Thread Prabhakar Lad
Hi Alexandru, Thanks for the patch! On Sun, Mar 10, 2013 at 5:44 PM, Alexandru Gheorghiu wrote: > Use resource_size function on resource object instead of explicit > computation. > > Signed-off-by: Alexandru Gheorghiu Acked-by: Lad, Prabhakar Regards, --Prabhakar Lad > --- > drivers/stagin

Re: [PATCH v1 2/2] x86, apic: Disable BSP if boot cpu is AP

2013-03-10 Thread H. Peter Anvin
On 03/10/2013 07:13 PM, HATAYAMA Daisuke wrote: > > It seems to me that at least there needs to be the following design > policy for multiple CPUs on the 2nd kenrel: > > - There's no firmware, kernel components and modules that depend on > BSP flag being kept set on the original BSP flag and ne

Re: [PATCH -mmotm] scsi: fix the wrong position of the comment

2013-03-10 Thread Andrew Vasquez
On Sun, 10 Mar 2013, James Bottomley wrote: > On Sun, 2013-03-10 at 00:57 -0800, Andrew Morton wrote: > > On Sun, 10 Mar 2013 08:22:47 + James Bottomley > > wrote: > > > > > [missing SCSI cc added] > > > On Sun, 2013-03-10 at 17:09 +0900, Akinobu Mita wrote: > > > > This fixes the wrong posi

[PATCH] backlight: l4f00242t03: check return value of regulator_enable()

2013-03-10 Thread Jingoo Han
The regulator_enable() was marked as as __must_check, therefore, the return value of regulator_enable() should be checked. Also, this patch checks return value of regulator_set_voltage(). Signed-off-by: Jingoo Han --- drivers/video/backlight/l4f00242t03.c | 27 ++- 1 fi

[PATCH][RESEND] Add a USB audio quirk for the NuForce UDH-100 device.

2013-03-10 Thread David Helstroom
From: Dave Helstroom Interface 1 does not exist and Interface 0 should be ignored. Before this patch, the device would not show up in /dev/snd (and dmesg showed Error -5 from the snd-alsa-usb module); after this patch, the device shows up correctly in /dev/snd and ALSA/Pulseaudio can access it.

Re: [PATCH V3 1/4] cpufreq: exynos: Adding cpufreq driver for exynos5440

2013-03-10 Thread amit kachhap
Hi Viresh, On Sat, Mar 9, 2013 at 4:17 PM, Viresh Kumar wrote: > On 7 March 2013 12:13, Amit Daniel Kachhap wrote: >> diff --git a/drivers/cpufreq/exynos5440-cpufreq.c >> b/drivers/cpufreq/exynos5440-cpufreq.c >> +struct exynos_dvfs_data { >> + void __iomem *base; >> + struct resour

Re: [PATCH V3 1/4] cpufreq: exynos: Adding cpufreq driver for exynos5440

2013-03-10 Thread amit kachhap
Hi Russell, On Thu, Mar 7, 2013 at 9:07 PM, Russell King - ARM Linux wrote: > On Thu, Mar 07, 2013 at 04:28:00PM +0100, Sylwester Nawrocki wrote: >> On 03/07/2013 05:13 AM, Amit Daniel Kachhap wrote: >> > + dvfs_info->cpu_clk = devm_clk_get(dvfs_info->dev, "armclk"); >> > + if (IS_ERR_OR_NULL

Re: [PATCH V3 1/4] cpufreq: exynos: Adding cpufreq driver for exynos5440

2013-03-10 Thread amit kachhap
Hi Sylwester, Thanks for the review. Will update with your suggestion in the next version, Thanks, Amit D On Thu, Mar 7, 2013 at 8:58 PM, Sylwester Nawrocki wrote: > On 03/07/2013 05:13 AM, Amit Daniel Kachhap wrote: >> +/* Register definations */ > > s/definations/definitions ok > >> +#define

Re: 3.9-rc1: crash kernel panic - not syncing: Can not allocate SWIOTLB buffer earlier and can't now provide you with the DMA bounce buffer

2013-03-10 Thread WANG Chao
On 03/09/2013 03:39 AM, Yinghai Lu wrote: > [ Add more to To list ] > > On Fri, Mar 8, 2013 at 10:24 AM, Yinghai Lu wrote: >> On Fri, Mar 8, 2013 at 4:12 AM, WANG Chao wrote: >> what is 00:02.0 in your system? >>> This IOMMU issue is related to https://lkml.org/lkml/2012/11/26/814. We can >

Re: [3.9-rc1] very poor interrupt responses

2013-03-10 Thread Rafael J. Wysocki
On Friday, March 08, 2013 02:12:33 PM Shawn Starr wrote: > Hello folks, > > I am noticing since rc0 and now rc1, very poor interrupt handling. Keyboard > response, mouse movements, display refreshing etc. General input/display > sluggishness. Did something break IRQ handling somewhere? I need to

Re: [PATCH 0/4] time: dynamic irq affinity

2013-03-10 Thread Santosh Shilimkar
On Sunday 10 March 2013 11:52 PM, Daniel Lezcano wrote: > On 03/10/2013 06:33 PM, Santosh Shilimkar wrote: >> On Wednesday 27 February 2013 03:47 AM, Daniel Lezcano wrote: >>> When a cpu goes to a deep idle state where its local timer is shutdown, >>> it notifies the time framework to use the broad

Re: Bug#700333: Stack trace

2013-03-10 Thread Ben Hutchings
On Wed, 2013-03-06 at 15:27 +0400, vita...@yourcmc.ru wrote: [...] > Stack trace picture is here: > http://vmx.yourcmc.ru/var/pics/IMG_20130306_141045.jpg Vitaliy reported that his system crashes when suspending to disk. This was a regression from 3.2 to 3.7, and remains in 3.8. Some details of

Re: sysfs: Kernel OOPS when install and remove modules

2013-03-10 Thread Gao feng
On 2013/03/11 10:55, Greg KH wrote: > On Mon, Mar 11, 2013 at 10:17:13AM +0800, Gao feng wrote: >> I get the below stack when I execute the shell program >> >> #!/bin/bash >> >> while :; >> do >> modprobe 8139too& >> rmmod 8139too& >> done >> >> I trust it is not the problem of 8139too, the other m

[PATCH v2] nfsd: rmmove unused macro in nfsv4

2013-03-10 Thread ycnian
From: Yanchuan Nian lk_rflags is never used anywhere, and rflags is not defined in struct nfsd4_lock. Very sorry for my negligence in last version. Maybe I am tired. Signed-off-by: Yanchuan Nian --- fs/nfsd/xdr4.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/nfsd

Re: sysfs: Kernel OOPS when install and remove modules

2013-03-10 Thread Greg KH
On Mon, Mar 11, 2013 at 10:17:13AM +0800, Gao feng wrote: > I get the below stack when I execute the shell program > > #!/bin/bash > > while :; > do > modprobe 8139too& > rmmod 8139too& > done > > I trust it is not the problem of 8139too, the other modules have the same > problems too. > Is thi

[PATCH V4 0/5] virtio-scsi multiqueue

2013-03-10 Thread Wanlong Gao
This series implements virtio-scsi queue steering, which gives performance improvements of up to 50% (measured both with QEMU and tcm_vhost backends). This version rebased on Rusty's virtio ring rework patches. We hope this can go into virtio-next together with the virtio ring rework pathes. V4:

[PATCH V4 2/5] virtio-scsi: pass struct virtio_scsi to virtqueue completion function

2013-03-10 Thread Wanlong Gao
From: Paolo Bonzini This will be needed soon in order to retrieve the per-target struct. Cc: linux-s...@vger.kernel.org Signed-off-by: Paolo Bonzini Signed-off-by: Wanlong Gao --- drivers/scsi/virtio_scsi.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/

[PATCH V4 1/5] virtio-scsi: redo allocation of target data

2013-03-10 Thread Wanlong Gao
From: Paolo Bonzini virtio_scsi_target_state is now empty, but we will find new uses for it in the next few patches. However, dropping the sglist lets us turn the array-of-pointers into a simple array, which simplifies the allocation. However, we do not leave the virtio_scsi_target_state struct

[PATCH V4 4/5] virtio-scsi: introduce multiqueue support

2013-03-10 Thread Wanlong Gao
From: Paolo Bonzini This patch adds queue steering to virtio-scsi. When a target is sent multiple requests, we always drive them to the same queue so that FIFO processing order is kept. However, if a target was idle, we can choose a queue arbitrarily. In this case the queue is chosen according

[PATCH V4 3/5] virtio-scsi: push vq lock/unlock into virtscsi_vq_done

2013-03-10 Thread Wanlong Gao
From: Paolo Bonzini Avoid duplicated code in all of the callers. Cc: linux-s...@vger.kernel.org Signed-off-by: Paolo Bonzini Signed-off-by: Wanlong Gao --- drivers/scsi/virtio_scsi.c | 22 +- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/drivers/scsi/virti

[PATCH V4 5/5] virtio-scsi: reset virtqueue affinity when doing cpu hotplug

2013-03-10 Thread Wanlong Gao
Add hot cpu notifier to reset the request virtqueue affinity when doing cpu hotplug. Cc: linux-s...@vger.kernel.org Signed-off-by: Paolo Bonzini Signed-off-by: Wanlong Gao --- drivers/scsi/virtio_scsi.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/s

Re: [PATCH] sched: wakeup buddy

2013-03-10 Thread Michael Wang
On 03/08/2013 04:26 PM, Mike Galbraith wrote: > On Fri, 2013-03-08 at 15:30 +0800, Michael Wang wrote: >> On 03/08/2013 02:44 PM, Mike Galbraith wrote: > >>> In general, I think things would work better if we'd just rate limit how >>> frequently we can wakeup migrate each individual task. >> >>

[PATCH] Add a new USB audio quirk for the NuForce UDH-100 device. Interface 1 does not exist and Interface 0 should be ignored. Before this patch, the device would not show up in /dev/snd (and dmesg s

2013-03-10 Thread David Helstroom
From: Dave Helstroom Signed-off-by: Dave Helstroom --- sound/usb/quirks-table.h | 32 1 file changed, 32 insertions(+) diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index c39f898..62d29ca 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb

sysfs: Kernel OOPS when install and remove modules

2013-03-10 Thread Gao feng
I get the below stack when I execute the shell program #!/bin/bash while :; do modprobe 8139too& rmmod 8139too& done I trust it is not the problem of 8139too, the other modules have the same problems too. Is this an already known problem? [ 53.328212] 8139too: 8139too Fast Ethernet driver 0.

[PATCH 3/3] pwm: pwm-tiehrpwm: add CONFIG_PM_SLEEP to suspend/resume functions

2013-03-10 Thread Jingoo Han
This patch adds CONFIG_PM_SLEEP to suspend/resume functions to fix the following build warning when CONFIG_PM_SLEEP is not selected. drivers/pwm/pwm-tiehrpwm.c:562:12: warning: 'ehrpwm_pwm_suspend' defined but not used [-Wunused-function] drivers/pwm/pwm-tiehrpwm.c:580:12: warning: 'ehrpwm_pwm_re

Re: [PATCH] sctp: don't break the loop while meeting the active_path so as to find the matched transport

2013-03-10 Thread Xufeng Zhang
On 3/8/13, Neil Horman wrote: > On Fri, Mar 08, 2013 at 03:39:37PM +0800, Xufeng Zhang wrote: >> sctp_assoc_lookup_tsn() function searchs which transport a certain TSN >> was sent on, if not found in the active_path transport, then go search >> all the other transports in the peer's transport_addr

[PATCH 2/3] pwm: pwm-tipwmss: add CONFIG_PM_SLEEP to suspend/resume functions

2013-03-10 Thread Jingoo Han
This patch adds CONFIG_PM_SLEEP to suspend/resume functions to fix the following build warning when CONFIG_PM_SLEEP is not selected. drivers/pwm/pwm-tipwmss.c:104:12: warning: 'pwmss_suspend' defined but not used [-Wunused-function] drivers/pwm/pwm-tipwmss.c:113:12: warning: 'pwmss_resume' define

[PATCH] nfsd: rmmove unused macro in nfsv4

2013-03-10 Thread ycnian
From: Yanchuan Nian lk_new_open_seqid is never used anywhere, and rflags is not defined in struct nfsd4_lock. Signed-off-by: Yanchuan Nian --- fs/nfsd/xdr4.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index 0889bfb..326724a 100644 -

Re: [PATCH v1 2/2] x86, apic: Disable BSP if boot cpu is AP

2013-03-10 Thread HATAYAMA Daisuke
From: HATAYAMA Daisuke Subject: Re: [PATCH v1 2/2] x86, apic: Disable BSP if boot cpu is AP Date: Mon, 11 Mar 2013 10:07:21 +0900 > From: "Eric W. Biederman" > Subject: Re: [PATCH v1 2/2] x86, apic: Disable BSP if boot cpu is AP > Date: Thu, 25 Oct 2012 21:13:25 -0700 > >> HATAYAMA Daisuke wri

[PATCH 1/3] pwm: pwm-tiecap: add CONFIG_PM_SLEEP to suspend/resume functions

2013-03-10 Thread Jingoo Han
This patch adds CONFIG_PM_SLEEP to suspend/resume functions to fix the following build warning when CONFIG_PM_SLEEP is not selected. drivers/pwm/pwm-tiecap.c:314:12: warning: 'ecap_pwm_suspend' defined but not used [-Wunused-function] drivers/pwm/pwm-tiecap.c:328:12: warning: 'ecap_pwm_resume' de

[PATCH 1/2] hwmon: ntc: Add DT support to NTC thermistor driver

2013-03-10 Thread Naveen Krishna Chatradhi
This patch adds the DT support to NTC driver to parse the platform data. Signed-off-by: Naveen Krishna Chatradhi --- drivers/hwmon/ntc_thermistor.c | 93 1 file changed, 75 insertions(+), 18 deletions(-) diff --git a/drivers/hwmon/ntc_thermistor.c b/dr

[PATCH 2/2] hwmon: NTC: add IIO get channel and read support

2013-03-10 Thread Naveen Krishna Chatradhi
This patch adds the support to work as a iio device. iio_get_channel and iio_raw_read works. During the probe ntc driver gets the respective channels of ADC and uses iio_raw_read calls to get the ADC converted value. Signed-off-by: Naveen Krishna Chatradhi --- Still not sure about the read_uV f

Re: be2net failed to initialize regression

2013-03-10 Thread CAI Qian
- Original Message - > From: "Sathya Perla" > To: "CAI Qian" , net...@vger.kernel.org > Cc: "Ivan Vecera" , "LKML" > Sent: Friday, March 8, 2013 6:22:24 PM > Subject: RE: be2net failed to initialize regression > > > -Original Message- > > From: netdev-ow...@vger.kernel.org > >

Re: [PATCH 1/1] do not abuse ->cred_guard_mutex in threadgroup_lock()

2013-03-10 Thread Li Zefan
On 2013/3/10 4:01, Oleg Nesterov wrote: > threadgroup_lock() takes signal->cred_guard_mutex to ensure that > thread_group_leader() is stable. This doesn't look nice, the scope > of this lock in do_execve() is huge. > > And as Dave pointed out this can lead to deadlock, we have the > following depe

RE: [PATCH] pm: print the name of failed suspend function for platform device

2013-03-10 Thread Liu, Chuansheng
Hi Greg, I just noticed some other cases need the more log also. https://lkml.org/lkml/2013/3/8/71 Could you consider the below patch, thanks? Best Regards Liu chuansheng > -Original Message- > From: Li, Fei > Sent: Tuesday, February 05, 2013 1:13 PM > To: gre...@linuxfoundation.org; r.

[git pull] Input updates for 3.9-rc2

2013-03-10 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. Except for the largish change to the ALPS driver adding "Dolphin

RE: [PATCH] tty: serial: fix typo "ARCH_S5P6450"

2013-03-10 Thread Kukjin Kim
Paul Bolle wrote: > > This could have been either ARCH_S5P64X0 or CPU_S5P6450. Looking at > commit 2555e663b367b8d555e76023f4de3f6338c28d6c ("ARM: S5P64X0: Add UART > serial support for S5P6450") - which added this typo - makes clear this > should be CPU_S5P6450. > > Signed-off-by: Paul Bolle A

Re: [PATCH]->[PATCH v2] kgdb: Removed kmalloc returned value cast

2013-03-10 Thread tiejun.chen
On 03/11/2013 06:39 AM, Alex Grad wrote: While at it, check kmalloc return value. Signed-off-by: Alex Grad --- arch/powerpc/kernel/kgdb.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/kgdb.c b/arch/powerpc/kernel/kgdb.c index 5ca82cd..9e81dd8

[PATCH 2/3 V2] intel_idle: Removing the redundant calculating for dev->state_count

2013-03-10 Thread Chuansheng Liu
In function intel_idle_cpu_init() and intel_idle_cpuidle_driver_init(), they are having the same for(;;) loop to count the ->state_count. Although intel_idle_cpu_init() can be called at runtime CPU HOTPLUG case, but max_cstate can not be changed at runtime. So the dev->state_count should be == d

Re: [PATCH v2] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-03-10 Thread Don Dutile
On 03/09/2013 05:20 PM, Myron Stowe wrote: On Sat, Mar 9, 2013 at 1:49 PM, Neil Horman wrote: On Mon, Mar 04, 2013 at 02:04:19PM -0500, Neil Horman wrote: A few years back intel published a spec update: http://www.intel.com/content/dam/doc/specification-update/5520-and-5500-chipset-ioh-specifi

RE: [PATCH 2/3] intel_idle: Removing the redundant calculating for dev->state_count

2013-03-10 Thread Liu, Chuansheng
> -Original Message- > From: Daniel Lezcano [mailto:daniel.lezc...@linaro.org] > Sent: Saturday, March 09, 2013 11:00 AM > To: Liu, Chuansheng > Cc: l...@kernel.org; Brown, Len; linux...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH 2/3] intel_idle: Removing the re

Re: [PATCH] ARM:kernel: beautify code, using 'static const' instead of 'const static'

2013-03-10 Thread Rob Herring
On 03/09/2013 07:59 PM, Chen Gang wrote: > > better using 'static const' instead of 'const static' > > Signed-off-by: Chen Gang > --- > arch/arm/kernel/smp_twd.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd

Re: [PATCH] include/linux/res_counter.h: fixup commit 9259826ccb8165f797e4c2c9d17925b41af5f6ae

2013-03-10 Thread Li Zefan
On 2013/3/10 11:12, Chen Gang wrote: > > still need include linux/errno.h for EBUSY. > > additional info: > make command: > make EXTRA_CFLAGS=-W V=1 ARCH=arm allmodconfig > make EXTRA_CFLAGS=-W V=1 ARCH=arm > error report: > In file included from mm/memcontrol.c:28:0: > incl

Re: [PATCH v1 2/2] x86, apic: Disable BSP if boot cpu is AP

2013-03-10 Thread HATAYAMA Daisuke
From: "Eric W. Biederman" Subject: Re: [PATCH v1 2/2] x86, apic: Disable BSP if boot cpu is AP Date: Thu, 25 Oct 2012 21:13:25 -0700 > HATAYAMA Daisuke writes: > >> From: "H. Peter Anvin" >> Subject: Re: [PATCH v1 2/2] x86, apic: Disable BSP if boot cpu is AP >> Date: Mon, 22 Oct 2012 17:35:47

Re: [PATCH V2] cpufreq: ARM big LITTLE: Add generic cpufreq driver and its DT glue

2013-03-10 Thread Viresh Kumar
On 10 March 2013 23:58, Francesco Lavra wrote: > On 03/07/2013 06:14 PM, Viresh Kumar wrote: >> +void bL_cpufreq_unregister(struct cpufreq_arm_bL_ops *ops) >> +{ >> + if (arm_bL_ops != ops) { >> + pr_info("%s: Registered with: %s, can't unregister, exiting\n", >> +

[PATCH v2] nfsd: fix bug on nfs4 stateid deallocation

2013-03-10 Thread ycnian
NFS4_OO_PURGE_CLOSE is not handled properly. To avoid memory leak, nfs4 stateid which is pointed by oo_last_closed_stid is freed in nfsd4_close(), but NFS4_OO_PURGE_CLOSE isn't cleared meanwhile. So the stateid released in THIS close procedure may be freed immediately in the coming encoding func

[PATCH] nfsd: fix bug on nfs4 stateid deallocation

2013-03-10 Thread ycnian
NFS4_OO_PURGE_CLOSE is not handled properly. To avoid memory leak, nfs4 stateid which is pointed by oo_last_closed_stid is freed in nfsd4_close(), but NFS4_OO_PURGE_CLOSE isn't cleared meanwhile. So the stateid released in THIS close procedure may be freed immediately in the coming encoding funct

Re: pipe_release oops.

2013-03-10 Thread Al Viro
On Sun, Mar 10, 2013 at 10:10:47PM +, Al Viro wrote: > On Fri, Mar 08, 2013 at 10:30:01AM -0800, Linus Torvalds wrote: > > > I must be missing something, and I wonder if the thing I'm missing is > > that with OPEN_PATH we may now have open calls that don't actually > > have FMODE_READ or FMODE

[git pull] m68knommu arch fixes for 3.9

2013-03-10 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-linus branch. It contains a few small fixes for the non-MMU m68k platforms. Fixes some compilation problems, some broken header definitions, removes an unused config option and adds a name for the old 68000 CPU support. Regards Greg Th

Re: [PATCH v2 01/20] vmcore: refer to e_phoff member explicitly

2013-03-10 Thread HATAYAMA Daisuke
From: Zhang Yanfei Subject: Re: [PATCH v2 01/20] vmcore: refer to e_phoff member explicitly Date: Sun, 10 Mar 2013 14:46:31 +0800 > 于 2013年03月05日 15:35, Zhang Yanfei 写道: >> 于 2013年03月02日 16:35, HATAYAMA Daisuke 写道: > > One minor suggestion. > > Previously, when the code assumes program headers

Re: [PATCH v2 07/20] vmcore: copy non page-size aligned head and tail pages in 2nd kernel

2013-03-10 Thread HATAYAMA Daisuke
From: Zhang Yanfei Subject: Re: [PATCH v2 07/20] vmcore: copy non page-size aligned head and tail pages in 2nd kernel Date: Sun, 10 Mar 2013 14:16:51 +0800 > 于 2013年03月02日 16:36, HATAYAMA Daisuke 写道: >> /* Update the program header offset. */ >> phdr_ptr->p_offset = vm

Linux 3.9-rc2

2013-03-10 Thread Linus Torvalds
Hey, things have been reasonable calm. Sure, Dave Jones has been messing with trinity and we've had some excitement from that, but Al is back, and is hopefully now busy virtually riding to the rescue on a white horse. But otherwise it's been good for this phase in the rc window. The diffstat is re

  1   2   3   >