[PATCH -tip ] [BUGFIX] perf probe: Fix to find line information for probe list

2013-09-27 Thread Masami Hiramatsu
Fix to find the correct (as much as possible) line information for listing probes. Without this fix, perf probe --list action will show incorrect line information as below; # perf probe getname_flags # perf probe -l probe:getname_flags (on getname_flags@ksrc/linux-3/fs/namei.c)

linux-next: build failure after merge of the char-misc tree

2013-09-27 Thread Stephen Rothwell
Hi all, After merging the char-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/misc/mic/host/mic_main.c: In function 'mic_probe': drivers/misc/mic/host/mic_main.c:320:3: error: too many arguments to function 'sysfs_get_dirent' NULL, state); ^ In file

Re: [PATCH] fbcon: fix deadlock in fbcon_generic_blank()

2013-09-27 Thread Tomi Valkeinen
Hi, On 18/09/13 01:29, John Tapsell wrote: Do not lock fb_info when calling sending the FB_EVENT_CONBLANK event. In fbmem.c, the semantics are that we acquire the lock_fb_info first, and then console_lock. However when fbcon.c fbcon_generic_blank() is called, the console lock could

Re: [PATCH v3 2/2] max77693: added device tree support

2013-09-27 Thread Lee Jones
On Wed, 21 Aug 2013, Andrzej Hajda wrote: This patch adds only of_match_table. There are no device specific properties. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: [PATCH] kernel/groups.c: consider about NULL for 'group_info' in all related extern functions

2013-09-27 Thread Chen Gang
Firstly, thank you for your so much contents reply. On 09/27/2013 11:36 AM, Tejun Heo wrote: Hello, Chen. On Fri, Sep 27, 2013 at 09:30:13AM +0800, Chen Gang wrote: As an integrator or large source code maintainer, we cannot only depend on testing, or tracing log, or some short directly

Re: [PATCH 16/27] mmc: mxcmmc: Move away from using deprecated APIs

2013-09-27 Thread Sascha Hauer
On Thu, Sep 26, 2013 at 04:54:41PM +0200, Ulf Hansson wrote: Suspend and resume of cards are being handled from the protocol layer and consequently the mmc_suspend|resume_host APIs are deprecated. This means we can simplify the suspend|resume callbacks by removing the use of the deprecated

[PATCH v4 2/2] max77693: added device tree support

2013-09-27 Thread Andrzej Hajda
This patch adds only of_match_table. There are no device specific properties. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Hi, Spaces added. Regards Andrzej ---

Re: [PATCH v3 1/2] max77693: remove device wakeup from driver

2013-09-27 Thread Lee Jones
The patch removes wakeup related code from the driver and plaftorm data - it is already handled by i2c core using I2C_CLIENT_WAKE flag from struct i2c_board_info. As a result MFD itself do not requires platform data. I have expanded this to use more than 46 chars of the line buffer. Please

Re: [RFC v2] gpio/omap: auto-setup a GPIO when used as an IRQ

2013-09-27 Thread Javier Martinez Canillas
On 09/27/2013 01:18 AM, Stephen Warren wrote: On 09/24/2013 01:58 AM, Javier Martinez Canillas wrote: The OMAP GPIO controller HW requires a pin to be configured in GPIO input mode in order to operate as an interrupt input. Since drivers should not be aware of whether an interrupt pin is also

Re: [GIT PULL 3.12-rc2 fixes] clocksource: Several fixes for 3.12-rc2

2013-09-27 Thread Ingo Molnar
* Daniel Lezcano daniel.lezc...@linaro.org wrote: On 09/27/2013 07:49 AM, Ingo Molnar wrote: * Daniel Lezcano daniel.lezc...@linaro.org wrote: Hi Thomas, this pull request contains several fixes for the clocksource/clockevent drivers: - Jean Pihet fixed a missing Kconfig option

Re: [GIT PULL] Keyrings patches

2013-09-27 Thread James Morris
On Wed, 25 Sep 2013, David Howells wrote: Hi James, Could you pull these patches into the security tree? They're based on your next branch. Thanks, pulled. The patches can be viewed as a number of sets: (1) KEYS: Skip key state checks when checking for possession This is

Re: [PATCH 4/4] mfd: palmas: fix resource leak of i2c_dummy devices

2013-09-27 Thread Lee Jones
On Thu, 26 Sep 2013, Laxman Dewangan wrote: Palmas device supports multiple i2c device address and the client for these addressed are created in the driver as i2c_new_dummy(). The new devices are not getting released in error or removal path and so it is causing resource leak. Add the

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-27 Thread Sekhar Nori
On 9/27/2013 5:58 AM, Joel Fernandes wrote: On 09/26/2013 06:13 PM, Olof Johansson wrote: On Thu, Sep 26, 2013 at 2:55 PM, Joel Fernandes jo...@ti.com wrote: HWMOD removal for MMC is breaking edma_start as the events are being manually triggered due to unused channel list not being clear.

Re: [PATCH] serial: 8250_dw: Improve unwritable LCR workaround

2013-09-27 Thread Heikki Krogerus
Hi, On Wed, Sep 25, 2013 at 03:47:14PM -0700, Tim Kryger wrote: On Wed, Sep 25, 2013 at 4:42 AM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: On Tue, Sep 24, 2013 at 05:39:09PM -0700, Tim Kryger wrote: static void dw8250_serial_out(struct uart_port *p, int offset, int value) {

Re: [PATCH 3/4] mfd: palmas: reset pm_power_off if it is set for the device

2013-09-27 Thread Lee Jones
On Thu, 26 Sep 2013, Laxman Dewangan wrote: If Palams supports the system power controller and pm_power_off is implemented through the Palmas driver then reset the pm_power_off in driver remove. This will avoid the call of Palmas driver after removal of driver. Signed-off-by: Laxman

linux-next: build failure after merge of the akpm-current tree

2013-09-27 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) failed like this: arch/x86/mm/init.c: In function 'memory_map_bottom_up': arch/x86/mm/init.c:512:18: error: 'STEP_SIZE_SHIFT' undeclared (first use in this function) step_size = STEP_SIZE_SHIFT;

[PATCH 1/3] mutex,spinlock: rename arch_mutex_cpu_relax() to cpu_relax_simple()

2013-09-27 Thread Heiko Carstens
s390 needs a special version of cpu_relax() for the new lockref code. The new variant should be a no-op but also have memory barrier semantics, since that is what the default cpu_relax() variant implements. Actually s390 had the same problem already in the past where we implemented

[PATCH 0/3] changes to enable lockless lockref on s390

2013-09-27 Thread Heiko Carstens
Hi all, enabling the new lockless lockref variant on s390 would have been trivial until Tony Luck added a cpu_relax() call into the CMPXCHG_LOOP(), with d472d9d9 lockref: Relax in cmpxchg loop. As already mentioned cpu_relax() is very expensive on s390 since it yields() the current virtual cpu.

[PATCH 2/3] lockref: use cpu_relax_simple()

2013-09-27 Thread Heiko Carstens
Make use of cpu_relax_simple() so architectures can override the default cpu_relax() semantics. This is especially useful for s390, where cpu_relax() means that the we yield() the current (virtual) cpu and therefore is very expensive. Signed-off-by: Heiko Carstens heiko.carst...@de.ibm.com ---

Re: [PATCH 2/4] mfd: palmas: add MODULE_DEVICE_TABLE for of_device table

2013-09-27 Thread Lee Jones
On Thu, 26 Sep 2013, Laxman Dewangan wrote: Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- drivers/mfd/palmas.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c Applied, thanks. -- Lee Jones Linaro

[PATCH 3/3] s390: enable ARCH_USE_CMPXCHG_LOCKREF

2013-09-27 Thread Heiko Carstens
Enable ARCH_USE_CMPXCHG_LOCKREF for 64 bit since it shows performance improvements with Linus' simple stat() test case of up to 50% on a 30 cpu system. Signed-off-by: Heiko Carstens heiko.carst...@de.ibm.com --- arch/s390/Kconfig| 1 + arch/s390/include/asm/spinlock.h | 5 +

[RFT PATCH v1 0/7] enable FPSIMD lazy save and restore for arm64

2013-09-27 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com This patchset enables FPSIMD lazy save and restore for ARM64, you could apply it against v3.12-rc2. We have done basic functional tests on ARM fast model, but still lack of detail performance benchmark on real hardware platforms. We would appreciate if you

Re: [PATCH 1/4] mfd: palmas: remove call of mfd_remove_devices

2013-09-27 Thread Lee Jones
On Thu, 26 Sep 2013, Laxman Dewangan wrote: The driver only support the device tree and sub modules are populated through platform, the registration of sub devices through mfd_add_devices has been removed. Hence in remove path of the driver, it is not require to call mfd_remove_devices.

[RFT PATCH v1 1/7] arm64: fix possible invalid FPSIMD initialization state

2013-09-27 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com If context switching happens during executing fpsimd_flush_thread(), stale value in FPSIMD registers will be saved into current thread's fpsimd_state by fpsimd_thread_switch(). That may cause invalid initialization state for the new process, so disable

[RFT PATCH v1 2/7] arm64: restore FPSIMD to default state for kernel and signal contexts

2013-09-27 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Restore FPSIMD control and status registers to default values when creating new FPSIMD contexts for kernel and signal handling, otherwise the stale value in FPSIMD control and status registers may affect the new kernal or signal handling contexts.

[RFT PATCH v1 3/7] arm64: implement basic lazy save and restore for FPSIMD registers

2013-09-27 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Implement basic lazy save and restore for FPSIMD registers, which only restore FPSIMD state on demand and save FPSIMD state if it has been loaded on to hardware. Signed-off-by: Jiang Liu jiang@huawei.com Cc: Jiang Liu liu...@gmail.com ---

[RFT PATCH v1 4/7] arm64: provide boot option eagerfpu to control FPSIMD restore policy

2013-09-27 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Provide tristate kernel boot option eagerfpu to control FPSIMD state save and restore policy. It adopts the same scematics as x86. The lazy FPSIMD restore policy needs to configured before any thread makes use of FPSIMD registers, so change fpsimd_init() as

[RFT PATCH v1 5/7] arm64: reuse FPSIMD hardware context if possible

2013-09-27 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Reuse FPSIMD hardware context if it hasn't been touched by other thread yet, so we can get rid of unnecessary FPSIMD context restores. This is especially useful when switching between kernel thread and user thread because kernel thread usaually doesn't touch

[RFT PATCH v1 6/7] amd64: avoid saving and restoring FPSIMD registers until threads access them

2013-09-27 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Use PF_USED_MATH flag to mark whether the thread has accessed any FPSIMD registers, so we could avoid saving and restroing FPSIMD registers until threads access them. This may improve performance when lazy FPSIMD restore is disabled. Signed-off-by: Jiang Liu

Re: [PATCH v4 2/2] max77693: added device tree support

2013-09-27 Thread Lee Jones
On Fri, 27 Sep 2013, Andrzej Hajda wrote: This patch adds only of_match_table. There are no device specific properties. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Hi,

[RFT PATCH v1 7/7] arm64: disable lazy load if FPSIMD registers are frequently used

2013-09-27 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Disable lazy load if FPSIMD registers are frequently used by the thread, so we can reduce overhead of lazy FPSIMD restore for FPU extensive applications. The thresholds are randomly chosen without thorough benchmarks, we may need to tune it for really systems.

[PATCH] ASoC: wm8993: drop regulator_bulk_free of devm_ allocated data

2013-09-27 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn It's not necessary to free regulator consumers allocated with devm_regulator_bulk_get. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- sound/soc/codecs/wm8993.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH] ARC: Use clockevents_config_and_register over clockevents_register_device

2013-09-27 Thread Uwe Kleine-König
On Thu, Sep 26, 2013 at 12:01:49PM +, Vineet Gupta wrote: On 09/25/2013 02:35 AM, Uwe Kleine-König wrote: clockevents_config_and_register is more clever and correct than doing it by hand; so use it. Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de Acked-by: Vineet

Re: [PATCH] i2c-designware: define i2c_dw_pci_runtime_idle only with runtime pm

2013-09-27 Thread Mika Westerberg
On Fri, Sep 27, 2013 at 04:43:13AM +0200, Wolfram Sang wrote: On Fri, Sep 27, 2013 at 12:24:03AM +0200, Vincent Stehlé wrote: Make sure i2c_dw_pci_runtime_idle() is defined only when actually used, when CONFIG_PM_RUNTIME is defined. This fixes the following compilation warning:

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

2013-09-27 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/tty/serial/8250/8250_dw.c: In function 'dw8250_probe': drivers/tty/serial/8250/8250_dw.c:341:3: error: too many arguments to function 'dw8250_probe_acpi' err =

[PATCH] ASoC: wm8993: drop regulator_bulk_free of devm_ allocated data

2013-09-27 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn It's not necessary to free regulator consumers allocated with devm_regulator_bulk_get. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- sound/soc/codecs/wm8993.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH] mfd: ti_am335x_tscadc: Restore clock divider on resume

2013-09-27 Thread Lee Jones
On Mon, 23 Sep 2013, Matthias Kaehlcke wrote: The ADC clock divider needs to be restored on resume as the register content is lost when the ADC is powered down Signed-off-by: Matthias Kaehlcke matth...@kaehlcke.net --- drivers/mfd/ti_am335x_tscadc.c | 10 ++

[PATCH] arch: tile: re-use kbasename() helper

2013-09-27 Thread Andy Shevchenko
kbasename() returns the filename part of a pathname. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- arch/tile/kernel/stack.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/arch/tile/kernel/stack.c b/arch/tile/kernel/stack.c index

Re: [PATCH] ARC: Use clockevents_config_and_register over clockevents_register_device

2013-09-27 Thread Vineet Gupta
On 09/27/2013 01:47 PM, Uwe Kleine-König wrote: On Thu, Sep 26, 2013 at 12:01:49PM +, Vineet Gupta wrote: On 09/25/2013 02:35 AM, Uwe Kleine-König wrote: clockevents_config_and_register is more clever and correct than doing it by hand; so use it. Signed-off-by: Uwe Kleine-König

Please revert 928bea964827d7824b548c1f8e06eccbbc4d0d7d

2013-09-27 Thread Benjamin Herrenschmidt
Hi Linus, Yinghai ! Please consider reverting: 928bea964827d7824b548c1f8e06eccbbc4d0d7d PCI: Delay enabling bridges until they're needed (I'd suggest to revert now and maybe merge a better patch later) This breaks PCI on the PowerPC powernv platform (which is booted via kexec) and probably x86

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

2013-09-27 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from include/linux/kernel.h:14:0, from include/linux/debug_locks.h:4, from include/linux/lockdep.h:23, from

Re: [PATCH 04/12] seq_file: Make seq_file able to access the file's opener cred

2013-09-27 Thread Djalal Harouni
On Wed, Sep 25, 2013 at 05:22:51PM -0700, Linus Torvalds wrote: On Wed, Sep 25, 2013 at 1:14 PM, Djalal Harouni tix...@opendz.org wrote: Therefor add the f_cred field to the seq_file struct and a helper seq_f_cred() to return it. I hate how you've split up this patch from the next one

Re: [PATCH] IPv6: Allow the MTU of ipip6 tunnel to be set below 1280

2013-09-27 Thread Hannes Frederic Sowa
On Thu, Sep 26, 2013 at 03:51:48PM +0100, Oussama Ghorbel wrote: The (inner) MTU of a ipip6 (IPv4-in-IPv6) tunnel cannot be set below 1280, which is the minimum MTU in IPv6. However, there should be no IPv6 on the tunnel interface at all, so the IPv6 rules should not apply. More info at

Re: [PATCH v2 5/5] ARM: shmobile: lager: (DEVEL) add CPUFreq support

2013-09-27 Thread Guennadi Liakhovetski
Hi Sergei On Thu, 26 Sep 2013, Sergei Shtylyov wrote: Hello. On 09/26/2013 09:21 PM, Guennadi Liakhovetski wrote: The Lager board uses a DA9210 voltage regulator to supply DVFS power to the CA15 cores on the r8a7790 SoC. This patch adds CPUFreq support for that board using the

Re: [PATCH 04/12] seq_file: Make seq_file able to access the file's opener cred

2013-09-27 Thread Djalal Harouni
On Thu, Sep 26, 2013 at 04:02:54AM +0100, Al Viro wrote: On Wed, Sep 25, 2013 at 05:22:51PM -0700, Linus Torvalds wrote: On Wed, Sep 25, 2013 at 1:14 PM, Djalal Harouni tix...@opendz.org wrote: Therefor add the f_cred field to the seq_file struct and a helper seq_f_cred() to return it.

Re: [PATCH 1/6] cpuidle: calxeda: add support to use PSCI calls

2013-09-27 Thread Daniel Lezcano
On 09/27/2013 04:24 AM, Rob Herring wrote: From: Rob Herring rob.herr...@calxeda.com This updates the Calxeda cpuidle driver to use PSCI calls to powergate cores. This is needed to enable cpuidle for the ECX-2000. This could possibly become a generic PSCI driver, but there are no other PSCI

Re: [PATCH 2/6] cpuidle: calxeda: add cpu_pm_enter/exit calls

2013-09-27 Thread Daniel Lezcano
On 09/27/2013 04:24 AM, Rob Herring wrote: From: Rob Herring rob.herr...@calxeda.com Wnen powergating the core, we need to call cpu pm notifiers to save VFP state (!SMP only) and resetting the breakpoint h/w. Signed-off-by: Rob Herring rob.herr...@calxeda.com Cc: Rafael J. Wysocki r...@sisk.pl

Re: [PATCH 3/6] cpuidle: calxeda: add ecx-2000 support

2013-09-27 Thread Daniel Lezcano
On 09/27/2013 04:24 AM, Rob Herring wrote: From: Rob Herring rob.herr...@calxeda.com Add cpuidle support for Calxeda ecx-2000 SoC. Signed-off-by: Rob Herring rob.herr...@calxeda.com Cc: Rafael J. Wysocki r...@sisk.pl Cc: Daniel Lezcano daniel.lezc...@linaro.org Cc: linux...@vger.kernel.org

Re: [PATCH 1/1] arm64: X-Gene AHBC platform bus driver

2013-09-27 Thread Marc Zyngier
Hi Feng, On 2013-09-27 02:19, Feng Kan wrote: This driver setup the AHBC for SPI and SD drivers to use. That's a bit thin for a description. What is AHBC? How does it relate to SPI and SD? How is it used? Signed-off-by: Feng Kan f...@apm.com --- arch/arm64/boot/dts/apm-storm.dtsi |6

linux-next: build failure after merge of the final tree (char-misc tree related)

2013-09-27 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/misc/mic/card/mic_x100.c: In function 'mic_init': drivers/misc/mic/card/mic_x100.c:215:9: error: implicit declaration of function 'cpu_data' [-Werror=implicit-function-declaration]

Re: [PATCH] ARC: Use clockevents_config_and_register over clockevents_register_device

2013-09-27 Thread Uwe Kleine-König
Hello, On Fri, Sep 27, 2013 at 08:26:58AM +, Vineet Gupta wrote: On 09/27/2013 01:47 PM, Uwe Kleine-König wrote: On Thu, Sep 26, 2013 at 12:01:49PM +, Vineet Gupta wrote: On 09/25/2013 02:35 AM, Uwe Kleine-König wrote: clockevents_config_and_register is more clever and correct than

Re: [PATCH 09/27] mmc: mvsdio: Remove redundant suspend and resume callbacks

2013-09-27 Thread Ulf Hansson
On 26 September 2013 17:40, Nicolas Pitre nicolas.pi...@linaro.org wrote: On Thu, 26 Sep 2013, Ulf Hansson wrote: Suspend and resume of cards are handled by the protocol layer and consequently the mmc_suspend|resume_host APIs are marked as deprecated. Having the protocol layer take care of

[QUERY] Building and testing Aarch64

2013-09-27 Thread Ramkumar Ramachandra
Hi, I'm interested in cross-compiling for ARM v8, and fixing some early papercuts to begin with; my host machine is a normal x86_64 box. Although I managed to use Linaro's toolchain [1] to build an Aarch64 kernel, and found a suitable rootfs [2] to use it with, I am not able to find an ARM64

Re: [PATCH] mmc: core: remove issue_fn indirect function call

2013-09-27 Thread Ulf Hansson
On 27 September 2013 00:16, Grant Grundler grund...@chromium.org wrote: On Thu, Sep 26, 2013 at 2:56 PM, Grant Grundler grund...@chromium.org wrote: On Wed, Sep 25, 2013 at 7:37 PM, Chris Ball c...@laptop.org wrote: Hi, On Wed, Sep 25 2013, Chris Ball wrote: Hi, On Fri, Sep 20 2013, Ulf

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-27 Thread Sekhar Nori
On 9/27/2013 5:58 AM, Joel Fernandes wrote: On 09/26/2013 06:13 PM, Olof Johansson wrote: On Thu, Sep 26, 2013 at 2:55 PM, Joel Fernandes jo...@ti.com wrote: HWMOD removal for MMC is breaking edma_start as the events are being manually triggered due to unused channel list not being clear.

Re: [PATCH] ARC: Use clockevents_config_and_register over clockevents_register_device

2013-09-27 Thread Vineet Gupta
On 09/27/2013 02:22 PM, Uwe Kleine-König wrote: I still have a few such fixes in the queue, but as they are all independant of each other I think it would be best if you took it. Queued up for 3.12-rc3 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

linux-next: Tree for Sep 27

2013-09-27 Thread Stephen Rothwell
Hi all, Heads up: I will be having a 3 week break leading up to the kernel summit. This means that next-20130927 (today) will be the last linux-next release until next-20131028 (or maybe 29). I presume that Linus will be up to v3.12-rc7 by then and -rc7 is often the last before a release

[GIT PULL] fbdev fixes for 3.12

2013-09-27 Thread Tomi Valkeinen
Hi Linus, The following changes since commit 272b98c6455f00884f0350f775c5342358ebb73f: Linux 3.12-rc1 (2013-09-16 16:17:51 -0400) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git tags/fbdev-fixes-3.12 for you to fetch changes up to

[PATCH v5] media: st-rc: Add ST remote control driver

2013-09-27 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support to ST RC driver, which is basically a IR/UHF receiver and transmitter. This IP (IRB) is common across all the ST parts for settop box platforms. IRB is embedded in ST COMMS IP block. It supports both Rx Tx

Re: [PATCH] PCI: add quirk for 3ware 9650SE controller

2013-09-27 Thread Jiri Kosina
On Fri, 6 Sep 2013, Bjorn Helgaas wrote: Commit d5dea7d95 (PCI: msi: Disable msi interrupts when we initialize a pci device) makes MSIs be forcibly disabled at boot time. It turns out that this breaks 3ware controller -- if MSIs are disabled during PCI discovery of this

[PATCH] fs/debugfs: add declaration for no CONFIG_DEBUG_FS

2013-09-27 Thread Weijie Yang
Two function declarations are absence if not define CONFIG_DEBUG_FS in include/linux/debugfs.h Signed-off-by: Weijie Yang weijie.y...@samsung.com --- include/linux/debugfs.h | 12 1 file changed, 12 insertions(+) diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h

[PATCH] gcov: MAINTAINERS: Add an entry for gcov

2013-09-27 Thread Peter Oberparleiter
Signed-off-by: Peter Oberparleiter ober...@linux.vnet.ibm.com --- MAINTAINERS |6 ++ 1 file changed, 6 insertions(+) --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3605,6 +3605,12 @@ S: Odd Fixes (e.g., new signatures) F: drivers/scsi/fdomain.* +GCOV BASED KERNEL PROFILING +M:

Re: [PATCH 1/4] [RFC] net: Explicitly initialize u64_stats_sync structures for lockdep

2013-09-27 Thread Eric Dumazet
On Fri, 2013-09-27 at 07:44 +0200, Ingo Molnar wrote: C cannot pass along symbolic names, unfortunately, so we are stuck with 1970's tech and the C preprocessor. Yes, I realized that a bit too late. There's a way to make such macros look a tiny bit more structured and thus be more

Re: [PATCH 1/8] um: Create defconfigs for i386 and x86_64

2013-09-27 Thread Toralf Förster
On 09/26/2013 12:35 PM, Richard Weinberger wrote: Am 26.09.2013 12:20, schrieb Ramkumar Ramachandra: Richard Weinberger wrote: This patch is based on: https://lkml.org/lkml/2013/7/4/396 Cc: Ramkumar Ramachandra artag...@gmail.com Signed-off-by: Richard Weinberger rich...@nod.at ---

Re: [PATCH 1/8] um: Create defconfigs for i386 and x86_64

2013-09-27 Thread Richard Weinberger
Am 27.09.2013 11:22, schrieb Toralf Förster: On 09/26/2013 12:35 PM, Richard Weinberger wrote: Am 26.09.2013 12:20, schrieb Ramkumar Ramachandra: Richard Weinberger wrote: This patch is based on: https://lkml.org/lkml/2013/7/4/396 Cc: Ramkumar Ramachandra artag...@gmail.com Signed-off-by:

Re: [PATCH v5] media: st-rc: Add ST remote control driver

2013-09-27 Thread Prabhakar Lad
Hi Srinivas, Thanks for the patch. Several nits below. On Fri, Sep 27, 2013 at 2:32 PM, Srinivas KANDAGATLA srinivas.kandaga...@st.com wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support to ST RC driver, which is basically a IR/UHF receiver and transmitter.

[PATCH RFC] media: rc: OF: Add Generic bindings for remote-control

2013-09-27 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch attempts to collate generic bindings which can be used by the remote control hardwares. Currently the list is not long as there are only 2 drivers which are device tree'd. Mainly this patch tries to document few bindings used by ST

Re: [PATCH] gma500: define do_gma_backlight_set only when used

2013-09-27 Thread Jani Nikula
On Fri, 27 Sep 2013, Patrik Jakobsson patrik.r.jakobs...@gmail.com wrote: +#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE Hi, while at it, you should probably let backlight be built as module: #if IS_ENABLED(CONFIG_BACKLIGHT_CLASS_DEVICE) Cheers, Jani. -- Jani Nikula, Intel Open Source Technology

Re: [PATCH] ASoC: wm8993: drop regulator_bulk_free of devm_ allocated data

2013-09-27 Thread Mark Brown
On Fri, Sep 27, 2013 at 04:15:54PM +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn It's not necessary to free regulator consumers allocated with devm_regulator_bulk_get. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCHv2] ipvs: improved SH fallback strategy

2013-09-27 Thread Alexander Frolkin
Improve the SH fallback realserver selection strategy. With sh and sh-fallback, if a realserver is down, this attempts to distribute the traffic that would have gone to that server evenly among the remaining servers. Signed-off-by: Alexander Frolkin a...@eldamar.org.uk -- diff --git

[f2fs-dev][PATCH V2] f2fs: use rw_sem instead of fs_lock(locks mutex)

2013-09-27 Thread Gu Zheng
The fs_locks is used to block other ops(ex, recovery) when doing checkpoint. And each other operate routine(besides checkpoint) needs to acquire a fs_lock, there is a terrible problem here, if these are too many concurrency threads acquiring fs_lock, so that they will block each other and may

Re: [PATCH v2 0/5] mm: migrate zbud pages

2013-09-27 Thread Tomasz Stanislawski
On 09/25/2013 11:57 PM, Seth Jennings wrote: On Wed, Sep 25, 2013 at 07:09:50PM +0200, Tomasz Stanislawski wrote: I just had an idea this afternoon to potentially kill both these birds with one stone: Replace the rbtree in zswap with an address_space. Each swap type would have its own

Re: thinkpad x60: critical thermal shutdown does not work (and ethernet overheats)

2013-09-27 Thread Pavel Machek
On Mon 2013-09-23 09:02:56, Henrique de Moraes Holschuh wrote: On Mon, 23 Sep 2013, Pavel Machek wrote: I have rather old thinkpad x60 here. Long time ago, I noticed that on high continuous ethernet load, it shuts itself down in regular way. I traced it down to overheat, followed by ACPI

Re: [PATCH v5] media: st-rc: Add ST remote control driver

2013-09-27 Thread Srinivas KANDAGATLA
Thanks Prabhakar, +config RC_ST + tristate ST remote control receiver + depends on ARCH_STI RC_CORE + help +Say Y here if you want support for ST remote control driver +which allows both IR and UHF RX. +The driver passes raw pluse and space

[PATCH] USB: gadget: f_fs: fix error handling

2013-09-27 Thread Robert Baldyga
This patch add missing error check in ffs_func_bind() function, after ffs_do_descs() funcion call for hs descriptors. Without this check it's possible that the module will try dereference incorrect pointer. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/gadget/f_fs.c |3

[PATCH] USB: gadget: epautoconf: fix ep maxpacket check

2013-09-27 Thread Robert Baldyga
This patch fixes validation of maxpacket value given in endpoint descriptor. Added check of maxpacket for bulk endpoints. Correct maxpacket value is: FULL-SPEED HIGH-SPEED BULK 64 512 INTERRUPT64 1024 ISOCHRONOUS 10231024 Signed-off-by: Robert

[PATCH] USB: gadget: s3c-hsotg: fix maxpacket size

2013-09-27 Thread Robert Baldyga
This patch changes ep maxpacket value from 512 to 1024, becouse it's needed to handle interupt and isochronous endpoints in high-speed mode. This change doesn't affect on driver functioning, becouse fifo size (3072) is still enough for the maximum transaction payload (3*1024 for high-speed

Re: [tip:x86/urgent] x86/smpboot: Fix announce_cpu() to printk() the last OK properly

2013-09-27 Thread Borislav Petkov
On Fri, Sep 27, 2013 at 08:51:15AM +0200, Ingo Molnar wrote: snip stuff to do (and I hope you learned the lesson about sending improvement patches against long-bitrotten code, as the new x86 CPU bootup printout format code maintainer!) Oh shit, what did I get into!? I only wanted to do a

Re: [PATCH] IPv6: Allow the MTU of ipip6 tunnel to be set below 1280

2013-09-27 Thread Oussama Ghorbel
The ip6_tunnel.c module would be then dependent on ip_tunnel.c and may be it would not be good thing? As I have check in v3.10 there is no call from ip6_tunnel to ip_tunnel... For information, there is no check for the maximum MTU for ipv4 in the patch as this is not done for ipv6. Regards,

Re: [RFT PATCH v1 0/7] enable FPSIMD lazy save and restore for arm64

2013-09-27 Thread Catalin Marinas
On Fri, Sep 27, 2013 at 09:04:40AM +0100, Jiang Liu wrote: From: Jiang Liu jiang@huawei.com This patchset enables FPSIMD lazy save and restore for ARM64, you could apply it against v3.12-rc2. We have done basic functional tests on ARM fast model, but still lack of detail performance

Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup

2013-09-27 Thread Jiri Kosina
On Wed, 25 Sep 2013, Joseph Salisbury wrote: After further testing reverting the following commit does in fact resolve the bug: commit b1a1442a23776756b254b69786848a94d92445ba Author: Jiri Kosina jkos...@suse.cz Date: Mon Jun 3 11:27:48 2013 +0200 HID: core: fix reporting of raw

[PATCH] tick: make sleep length calculation more accurate

2013-09-27 Thread Daniel Lezcano
The sleep_length is computed in the tick_nohz_stop_sched_tick function but it is used later in the code with in between the local irq enabled. cpu_idle_loop tick_nohz_idle_enter [ exits with local irq enabled ] __tick_nohz_idle_enter tick_nohz_stop_sched_tick ...

Re: [PATCH v3 0/4] Fix Win8 backlight issue

2013-09-27 Thread Mika Westerberg
On Tue, Sep 24, 2013 at 05:47:28PM +0800, Aaron Lu wrote: v3: 1 Add a new patch 4/4 to fix some problems in thinkpad-acpi module; 2 Remove unnecessary function acpi_video_unregister introduced in patch 2/3 as pointed out by Jani Nikula. v2: v1 has the subject of Rework ACPI video driver

[PATCH 1/4] ARC: Handle zero-overhead-loop in unaligned access handler

2013-09-27 Thread Vineet Gupta
From: Mischa Jonker mjon...@synopsys.com If a load or store is the last instruction in a zero-overhead-loop, and it's misaligned, the loop would execute only once. This fixes that problem. Signed-off-by: Mischa Jonker mjon...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com ---

[PATCH 2/4] ARC: Fix 32-bit wrap around in access_ok()

2013-09-27 Thread Vineet Gupta
Anton reported | LTP tests syscalls/process_vm_readv01 and process_vm_writev01 fail | similarly in one testcase test_iov_invalid - lvec-iov_base. | Testcase expects errno EFAULT and return code -1, | but it gets return code 1 and ERRNO is 0 what means success. Essentially test case was

[PATCH 3/4] ARC: Workaround spinlock livelock in SMP SystemC simulation

2013-09-27 Thread Vineet Gupta
Some ARC SMP systems lack native atomic R-M-W (LLOCK/SCOND) insns and can only use atomic EX insn (reg with mem) to build higher level R-M-W primitives. This includes a SystemC based SMP simulation model. So rwlocks need to use a protecting spinlock for atomic cmp-n-exchange operation to update

[PATCH 4/4] ARC: Use clockevents_config_and_register over clockevents_register_device

2013-09-27 Thread Vineet Gupta
From: Uwe Kleine-König u.kleine-koe...@pengutronix.de clockevents_config_and_register is more clever and correct than doing it by hand; so use it. [vgupta: fixed build failure due to missing ; in patch] Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de Signed-off-by: Vineet Gupta

Re: [PATCH] IPv6: Allow the MTU of ipip6 tunnel to be set below 1280

2013-09-27 Thread Hannes Frederic Sowa
On Fri, Sep 27, 2013 at 11:45:48AM +0100, Oussama Ghorbel wrote: The ip6_tunnel.c module would be then dependent on ip_tunnel.c and may be it would not be good thing? It could just be a static inline in some shared header. So there would be no compile-time dependency. As I have check in v3.10

[PATCH 0/4] ARC fixes for 3.12-rc3

2013-09-27 Thread Vineet Gupta
ARC fixes for 3.12-rc3. Thx, -Vineet Mischa Jonker (1): ARC: Handle zero-overhead-loop in unaligned access handler Uwe Kleine-König (1): ARC: Use clockevents_config_and_register over clockevents_register_device Vineet Gupta (2): ARC: Fix 32-bit wrap around in access_ok() ARC:

Re: [GIT PULL] ARM: SoC fixes for 3.12-rc

2013-09-27 Thread Woodhouse, David
On Thu, 2013-09-19 at 17:44 -0700, Brian Norris wrote: Does that m25p80 'fix 4 byte addressing' fix for Micron not also want to go in? I suppose the m25p80 one can go in as well. It's not so much a bugfix as augmenting my original patch to support more devices. But it is safe enough. You

Re: [RFT PATCH v1 6/7] amd64: avoid saving and restoring FPSIMD registers until threads access them

2013-09-27 Thread Will Deacon
On Fri, Sep 27, 2013 at 09:04:46AM +0100, Jiang Liu wrote: From: Jiang Liu jiang@huawei.com Use PF_USED_MATH flag to mark whether the thread has accessed any FPSIMD registers, so we could avoid saving and restroing FPSIMD registers until threads access them. This may improve performance

Re: [RFT PATCH v1 1/7] arm64: fix possible invalid FPSIMD initialization state

2013-09-27 Thread Catalin Marinas
On Fri, Sep 27, 2013 at 09:04:41AM +0100, Jiang Liu wrote: From: Jiang Liu jiang@huawei.com If context switching happens during executing fpsimd_flush_thread(), stale value in FPSIMD registers will be saved into current thread's fpsimd_state by fpsimd_thread_switch(). That may cause

[tip:x86/urgent] x86/microcode/AMD: Fix patch level reporting for family 15h

2013-09-27 Thread tip-bot for Suravee Suthikulpanit
Commit-ID: accd1e823ed1d5980106dd522a4c535084400830 Gitweb: http://git.kernel.org/tip/accd1e823ed1d5980106dd522a4c535084400830 Author: Suravee Suthikulpanit suravee.suthikulpa...@amd.com AuthorDate: Wed, 29 Sep 2010 19:27:12 -0500 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri,

Re: [PATCH 1/2] UBI: Fix error path in scan_pool()

2013-09-27 Thread Richard Weinberger
Am 26.09.2013 11:25, schrieb Richard Genoud: I added some traces and I found that : (dumping ec_header after ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in ubi_scan_fastmap()) [0.812500] UBI: default fastmap pool size: 95 [0.820312] UBI: default fastmap WL pool size: 25 [0.828125]

Re: [PATCH 1/2] UBI: Fix error path in scan_pool()

2013-09-27 Thread Richard Genoud
2013/9/27 Richard Weinberger rich...@nod.at: Am 26.09.2013 11:25, schrieb Richard Genoud: I added some traces and I found that : (dumping ec_header after ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in ubi_scan_fastmap()) [0.812500] UBI: default fastmap pool size: 95 [0.820312] UBI:

Re: [RFT PATCH v1 0/7] enable FPSIMD lazy save and restore for arm64

2013-09-27 Thread Will Deacon
On Fri, Sep 27, 2013 at 11:50:46AM +0100, Catalin Marinas wrote: On Fri, Sep 27, 2013 at 09:04:40AM +0100, Jiang Liu wrote: From: Jiang Liu jiang@huawei.com This patchset enables FPSIMD lazy save and restore for ARM64, you could apply it against v3.12-rc2. We have done basic

Re: [PATCH v6 5/6] MCS Lock: Restructure the MCS lock defines and locking code into its own file

2013-09-27 Thread Peter Zijlstra
On Fri, Sep 27, 2013 at 08:02:13AM +0200, Ingo Molnar wrote: Would be nice to have this as a separate, add-on patch. Every single instruction removal that has no downside is an upside! You can add a comment that explains it. If someone is going to do add-on patches to the mcslock.h file,

[PATCH] ll_temac: Reset dma descriptors on ndo_open

2013-09-27 Thread Ricardo Ribalda Delgado
The dma descriptors are only initialized on the probe function. If a packet is on the buffer when temac_stop is called, the dma descriptors can be left on a incorrect status where no other package can be sent. So an interface could be left in an usable state after ifdow/ifup. This patch makes

RE: [block:for-next 5/6] drivers/block/skd_main.c:441:3: error: implicit declaration of function 'readq'

2013-09-27 Thread Akhil Bhansali
Hello Jens, There are few improvements suggested by community for driver: 1. Replacement of custom macros for debug printing. (DPRINTK / VPRINTK). 2. Reformatting of skd_request_fn which is too long. Kindly let us know if you see any other changes required before it can be moved to mainline

Re: [PATCH RFC] media: rc: OF: Add Generic bindings for remote-control

2013-09-27 Thread Mark Rutland
On Fri, Sep 27, 2013 at 10:33:11AM +0100, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch attempts to collate generic bindings which can be used by the remote control hardwares. Currently the list is not long as there are only 2 drivers which are

<    2   3   4   5   6   7   8   9   10   11   >