Re: [PATCH v2 12/15] KVM: MMU: allow locklessly access shadow page table out of vcpu thread

2013-10-09 Thread Xiao Guangrong
On 10/09/2013 09:56 AM, Marcelo Tosatti wrote: On Tue, Oct 08, 2013 at 12:02:32PM +0800, Xiao Guangrong wrote: Hi Marcelo, On Oct 8, 2013, at 9:23 AM, Marcelo Tosatti mtosa...@redhat.com wrote: + if (kvm-arch.rcu_free_shadow_page) { + kvm_mmu_isolate_pages(invalid_list); +

Re: [PATCH] arm, kbuild: make make install not depend on vmlinux

2013-10-09 Thread Geert Uytterhoeven
On Wed, Oct 9, 2013 at 12:28 PM, Michal Marek mma...@suse.cz wrote: On 9.10.2013 09:18, Geert Uytterhoeven wrote: Sorry for chiming in that late, but I didn't think of this when reading the original submission. Just doing make oldconfig; make install used to work. On ARM and maybe other

Re: [PATCH] PCI: designware: Add irq_create_mapping()

2013-10-09 Thread Jingoo Han
On Wednesday, October 09, 2013 7:27 PM, Kishon Vijay Abraham I wrote: On Wednesday 09 October 2013 03:35 PM, Jingoo Han wrote: On Wednesday, October 09, 2013 6:48 PM, Kishon Vijay Abraham I wrote: On Wednesday 09 October 2013 02:47 PM, Jingoo Han wrote: On Wednesday, October 09, 2013 6:06

[PATCH v2 3/3] video: xilinxfb: Simplify error path

2013-10-09 Thread Michal Simek
devm_iounmap is called automatically that's why remove it from the code dev_set_drvdata(dev, NULL) is called by generic code after device_release or on probe failure. Signed-off-by: Michal Simek michal.si...@xilinx.com Reviewed-by: Jingoo Han jg1@samsung.com --- Changes in v2: Rebased on

[PATCH v2 1/3] video: xilinxfb: Use standard variable name convention

2013-10-09 Thread Michal Simek
s/op/pdev/ in xilinxfb_of_probe(). No functional chagnes. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/video/xilinxfb.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/video/xilinxfb.c

[PATCH v2 2/3] video: xilinxfb: Use devm_kzalloc instead of kzalloc

2013-10-09 Thread Michal Simek
Simplify driver probe and release function. Signed-off-by: Michal Simek michal.si...@xilinx.com Reviewed-by: Jingoo Han jg1@samsung.com --- Changes in v2: Rebased on git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git for-next drivers/video/xilinxfb.c | 7 +-- 1 file changed,

Re: SDIV / UDIV Question

2013-10-09 Thread Will Deacon
On Wed, Oct 09, 2013 at 08:08:05AM +0100, Wang, Yalin wrote: I have a question about sdiv/ udiv instructions : In armv7 A/R TRM, it said sdiv/udiv will cause Divide by zero as undefined exception or just return zero (decided by implementation) . So in kernel , should we need register

Re: [PATCH v2 2/9] procfs: add proc_allow_access() to check if file's opener may access task

2013-10-09 Thread Djalal Harouni
On Mon, Oct 07, 2013 at 02:41:33PM -0700, Andy Lutomirski wrote: On Sat, Oct 5, 2013 at 6:23 AM, Djalal Harouni tix...@opendz.org wrote: On Fri, Oct 04, 2013 at 03:17:08PM -0700, Andy Lutomirski wrote: Exactly. Hence the NAK. But Having two LSM Hooks there is really not practical!

Re: [RFC PATCH] drm/radeon: fixup locking inversion between mmap_sem and reservations

2013-10-09 Thread Maarten Lankhorst
op 08-10-13 18:47, Jerome Glisse schreef: On Tue, Oct 08, 2013 at 06:29:35PM +0200, Thomas Hellstrom wrote: On 10/08/2013 04:55 PM, Jerome Glisse wrote: On Tue, Oct 08, 2013 at 04:45:18PM +0200, Christian König wrote: Am 08.10.2013 16:33, schrieb Jerome Glisse: On Tue, Oct 08, 2013 at

Re: [PATCH 5/9] spi: spi-au1550: replace platform_driver_probe to support deferred probing

2013-10-09 Thread Mark Brown
On Tue, Oct 08, 2013 at 10:35:37PM +0200, Wolfram Sang wrote: Subsystems like pinctrl and gpio rightfully make use of deferred probing at core level. Now, deferred drivers won't be retried if they don't have a .probe function specified in the driver struct. Fix this driver to have that, so the

Re: [PATCH 0/63] Basic scheduler support for automatic NUMA balancing V9

2013-10-09 Thread Ingo Molnar
* Mel Gorman mgor...@suse.de wrote: This series has roughly the same goals as previous versions despite the size. It reduces overhead of automatic balancing through scan rate reduction and the avoidance of TLB flushes. It selects a preferred node and moves tasks towards their memory as well

[GIT PULL] SPI updates for v3.12

2013-10-09 Thread Mark Brown
The following changes since commit d0e639c9e06d44e713170031fe05fb60ebe680af: Linux 3.12-rc4 (2013-10-06 14:00:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-v3.12-rc4 for you to fetch changes up to

Re: [PATCH v2 1/3] video: xilinxfb: Use standard variable name convention

2013-10-09 Thread Mark Rutland
On Wed, Oct 09, 2013 at 11:52:12AM +0100, Michal Simek wrote: s/op/pdev/ in xilinxfb_of_probe(). No functional chagnes. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/video/xilinxfb.c | 18 +- 1 file changed, 9 insertions(+), 9

Re: [PATCH v2] pinctrl: pinctrl-adi2: Remove nested lock+irqsave that resue flags.

2013-10-09 Thread Linus Walleij
On Tue, Oct 8, 2013 at 9:30 AM, Sonic Zhang sonic@gmail.com wrote: From: Sonic Zhang sonic.zh...@analog.com Also avoid use NULL pointer in error message. v2-changes: - use port pinter only after checking Signed-off-by: Sonic Zhang sonic.zh...@analog.com Nice cleanup! Patch applied.

Re: [PATCH] pinctrl: pinctrl-adi2: GPIO output value should be set after the GPIO interrupt is disabled.

2013-10-09 Thread Linus Walleij
On Tue, Oct 8, 2013 at 9:31 AM, Sonic Zhang sonic@gmail.com wrote: From: Sonic Zhang sonic.zh...@analog.com Use BIT macro as well. Signed-off-by: Sonic Zhang sonic.zh...@analog.com Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 13/29] metag: Use get_signal() signal_setup_done()

2013-10-09 Thread James Hogan
Hi Richard, (cc'd linux-metag) On 08/10/13 12:33, Richard Weinberger wrote: Use the more generic functions get_signal() signal_setup_done() for signal delivery. Signed-off-by: Richard Weinberger rich...@nod.at --- arch/metag/kernel/signal.c | 55

Re: [PATCH 0/63] Basic scheduler support for automatic NUMA balancing V9

2013-10-09 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: 3) Plus in addition to PeterZ's build fix I noticed this new build warning on i386 UP kernels: kernel/sched/fair.c:819:22: warning: 'task_h_load' declared 'static' but never defined [-Wunused-function] Introduced here I think:

Re: [PATCH 0/63] Basic scheduler support for automatic NUMA balancing V9

2013-10-09 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: mmzone.c: #if defined(CONFIG_NUMA_BALANCING) !defined(LAST_CPUPID_IN_PAGE_FLAGS) Note the missing 'NOT_' in the latter line. I've changed it to: #if defined(CONFIG_NUMA_BALANCING) defined(LAST_CPUPID_NOT_IN_PAGE_FLAGS) Actually, I think it

Re: [PATCH] PCI: designware: Add irq_create_mapping()

2013-10-09 Thread Pratyush Anand
On Wed, Oct 09, 2013 at 06:49:15PM +0800, Jingoo Han wrote: On Wednesday, October 09, 2013 7:27 PM, Kishon Vijay Abraham I wrote: On Wednesday 09 October 2013 03:35 PM, Jingoo Han wrote: On Wednesday, October 09, 2013 6:48 PM, Kishon Vijay Abraham I wrote: On Wednesday 09 October 2013

Re: [PATCH v2] vsprintf: Check real user/group id for %pK

2013-10-09 Thread Dan Rosenberg
On 10/08/2013 10:22 PM, Ryan Mallon wrote: Ah, I misread it. It does however check when kptr_restrict != 0, not just when kptr_restrict is 1. I've left the in_irq test as-is, but used a switch as suggested. I don't really care either way, I think the original check is quite readable. Anyway,

Re: [PATCH v2] PWM: atmel-pwm: use request/free instead of enable/disable

2013-10-09 Thread Alexandre Belloni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 08/10/2013 14:05, Thierry Reding wrote: On Mon, Sep 30, 2013 at 05:22:33PM +0200, Alexandre Belloni wrote: I found that disabling a pwm while it is at a low level will actually put it back at a high level. The main symptom is that leds-pwm is

Re: [PATCH v2 2/9] procfs: add proc_allow_access() to check if file's opener may access task

2013-10-09 Thread Djalal Harouni
On Wed, Oct 09, 2013 at 11:54:02AM +0100, Djalal Harouni wrote: On Mon, Oct 07, 2013 at 02:41:33PM -0700, Andy Lutomirski wrote: On Sat, Oct 5, 2013 at 6:23 AM, Djalal Harouni tix...@opendz.org wrote: On Fri, Oct 04, 2013 at 03:17:08PM -0700, Andy Lutomirski wrote: Exactly. Hence the

Re: [PATCH v2 1/3] video: xilinxfb: Use standard variable name convention

2013-10-09 Thread Michal Simek
On 10/09/2013 01:06 PM, Mark Rutland wrote: On Wed, Oct 09, 2013 at 11:52:12AM +0100, Michal Simek wrote: s/op/pdev/ in xilinxfb_of_probe(). No functional chagnes. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/video/xilinxfb.c | 18 +-

Re: [PATCH v2] msi: free msi_desc entry only after we've released the kobject

2013-10-09 Thread Veaceslav Falico
On Fri, Oct 04, 2013 at 10:46:31AM -0600, Bjorn Helgaas wrote: On Sat, Sep 28, 2013 at 3:37 PM, Veaceslav Falico vfal...@redhat.com wrote: On Thu, Sep 26, 2013 at 11:59:51AM +0200, Veaceslav Falico wrote: Currently, we first do kobject_put(entry-kobj) and the kfree(entry), however

Re: [PATCH 3/3] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-10-09 Thread Naveen Krishna Ch
Hello Bartlomiej, On 3 October 2013 18:12, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: Hi, I would like to see few minor cleanup changes, please see below: Sure. On Thursday, October 03, 2013 05:31:42 PM Naveen Krishna Ch wrote: On 4 September 2013 09:53, Naveen Krishna

3.11.4: kernel BUG at fs/buffer.c:1268

2013-10-09 Thread George Spelvin
This is a newly built machine (although out of tested parts), so RAM problems are not unthinkable, but I had the chance to capture this so it seemed worth reporting. i7-2xxx CPU, 8GB RAM, file system is ext4 on RAID-1. The local patches are to a char device driver (remote control/rf subsystem)

Re: [PATCH 01/03] Make non-linear GPIO ranges accesible from gpiolib

2013-10-09 Thread Linus Walleij
On Tue, Oct 8, 2013 at 2:25 PM, Christian Ruppert christian.rupp...@abilis.com wrote: This patch adds the infrastructure required to register non-linear gpio ranges through gpiolib and the standard GPIO device tree bindings. Signed-off-by: Christian Ruppert christian.rupp...@abilis.com I

[PATCH 3/3] drm/tegra: Reserve base for gr2d

2013-10-09 Thread Arto Merilainen
This patch modifies the gr2d to reserve a base for syncpoint. Signed-off-by: Arto Merilainen amerilai...@nvidia.com --- drivers/gpu/host1x/drm/gr2d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/host1x/drm/gr2d.c b/drivers/gpu/host1x/drm/gr2d.c index

[PATCH 2/3] drm/tegra: Deliver syncpoint base to user space

2013-10-09 Thread Arto Merilainen
This patch makes the necessary additions to deliver syncpoint base to the user space. This patch splits the index field in the drm_tegra_get_syncpt structure into three separate fields (index, support_base, base_id). This allows to keep compatibility over kernel versions: - The placing of index

[PATCH 1/3] gpu: host1x: Add syncpoint base support

2013-10-09 Thread Arto Merilainen
This patch adds support for hardware syncpoint bases. This creates a simple mechanism for waiting an operation to complete in the middle of the command buffer. Signed-off-by: Arto Merilainen amerilai...@nvidia.com --- drivers/gpu/host1x/dev.h | 2 ++

[PATCH 0/3] gpu: host1x: Add syncpoint base support

2013-10-09 Thread Arto Merilainen
The host1x driver uses currently syncpoints statically from host1x point of view. If we do a wait inside a job, it always has a constant value to wait. host1x supports also doing relative syncpoint waits with respect to syncpoint bases. This allows doing multiple operations inside a single submit

[PATCH V6 0/8] perf tools: kcore improvements

2013-10-09 Thread Adrian Hunter
Hi Here are some improvements for using kcore (version 6). There are 3 improvements: - validate that kcore matches the perf.data modules - workaround objdump difficulties with kcore - add kcore to the build-id cache Changes in V6: perf tools: make a separate

[PATCH V6 1/8] perf tools: validate kcore module addresses

2013-10-09 Thread Adrian Hunter
Before using kcore we need to check that modules are in memory at the same addresses that they were when data was recorded. This is done because, while we could remap symbols to different addresses, the object code linkages would still be different which would provide an erroneous view of the

[PATCH V6 2/8] perf tools: workaround objdump difficulties with kcore

2013-10-09 Thread Adrian Hunter
objdump fails to annotate module symbols when looking at kcore. Workaround this by extracting object code from kcore and putting it in a temporary file for objdump to use instead. The temporary file is created to look like kcore but contains only the function being disassembled. Signed-off-by:

[PATCH V6 3/8] perf tools: add map__find_other_map_symbol()

2013-10-09 Thread Adrian Hunter
Add a function to find a symbol using an ip that might be on a different map. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/map.c | 27 +++ tools/perf/util/map.h | 2 ++ 2 files changed, 29 insertions(+) diff --git a/tools/perf/util/map.c

[PATCH V6 6/8] perf tools: add copyfile_mode()

2013-10-09 Thread Adrian Hunter
Add a function to copy a file specifying the permissions to use for the created file. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/util.c | 18 +- tools/perf/util/util.h | 1 + 2 files changed, 14 insertions(+), 5 deletions(-) diff --git

[PATCH V6 7/8] perf buildid-cache: add ability to add kcore to the cache

2013-10-09 Thread Adrian Hunter
kcore can be used to view the running kernel object code. However, kcore changes as modules are loaded and unloaded, and when the kernel decides to modify its own code. Consequently it is useful to create a copy of kcore at a particular time. Unlike vmlinux, kcore is not unique for a given

[PATCH V6 8/8] perf tools: add ability to find kcore in build-id cache

2013-10-09 Thread Adrian Hunter
When no vmlinux is found, tools will use kallsyms and, if possible, kcore. Add the ability to find kcore in the build-id cache. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/symbol.c | 147 +-- 1 file changed, 103

[PATCH V6 5/8] perf tools: find kcore symbols on other maps

2013-10-09 Thread Adrian Hunter
Use the new map__find_other_map_symbol() to find kcore symbols on other maps. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/annotate.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/tools/perf/util/annotate.c

[PATCH V5 3/3] drivers/rtc/rtc-as3722: add RTC driver

2013-10-09 Thread Laxman Dewangan
The ams AS3722 is a compact system PMU suitable for mobile phones, tablets etc. Add a driver to support accessing the RTC found on the ams AS3722 PMIC using RTC framework. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com Signed-off-by: Florian Lobmaier florian.lobma...@ams.com --- Changes

[PATCH V5 2/3] pincntrl: add support for ams AS3722 pin control driver

2013-10-09 Thread Laxman Dewangan
The AS3722 is a compact system PMU suitable for mobile phones, tablets etc. Add a driver to support accessing the GPIO, pinmux and pin configuration of 8 GPIO pins found on the ams AS3722 through pin control driver and gpiolib. The driver will register itself as the pincontrol driver and gpio

[PATCH V5 1/3] mfd: add support for ams AS3722 PMIC

2013-10-09 Thread Laxman Dewangan
The ams AS3722 is a compact system PMU suitable for mobile phones, tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down controller, 11 LDOs, RTC, automatic battery, temperature and over-current monitoring, 8 GPIOs, ADC and a watchdog. Add MFD core driver for the AS3722 to support

[PATCH V6 4/8] perf tools: fix annotate_browser__callq()

2013-10-09 Thread Adrian Hunter
When following a call, annotate_browser__callq() uses the current symbol's map to look up the target ip. That will not work if the target ip is on a map with a different mapping (i.e. start - pgoff is different). Signed-off-by: Adrian Hunter adrian.hun...@intel.com ---

[PATCH V5 0/3] Add AMS AS3722 mfd, pincontrol and RTC driver.

2013-10-09 Thread Laxman Dewangan
This series add the driver support for AMS AS3722 PMIC. The driver includes MFD, pincontrol and GPIO, regulator and RTC. Changes from V1: - Remove compatible string from DT for subnode. - Add macro in regmap.h for definign range. - Nit cleanups in driver and use

Re: [PATCH 0/63] Basic scheduler support for automatic NUMA balancing V9

2013-10-09 Thread Peter Zijlstra
On Wed, Oct 09, 2013 at 01:03:54PM +0200, Ingo Molnar wrote: kernel/sched/fair.c:819:22: warning: 'task_h_load' declared 'static' but never defined [-Wunused-function] Not too pretty, but it avoids the warning: --- --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -681,6 +681,8 @@

[PATCH 3/3 v4] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-10-09 Thread Naveen Krishna Chatradhi
This patch adds the neccessary register changes and arch information to support Exynos5420 SoCs Exynos5420 has 5 TMU channels one for each CPU 0, 1, 2 and 3 and GPU Also updated the Documentation at Documentation/devicetree/bindings/thermal/exynos-thermal.txt Note: The platform data structure

[PATCH 2/3 v4] thermal: samsung: change base_common to more meaningful base_second

2013-10-09 Thread Naveen Krishna Chatradhi
On Exynos5440 and Exynos5420 there are registers common across the TMU channels. To support that, we introduced a ADDRESS_MULTIPLE flag in the driver and the 2nd set of register base and size are provided in the reg property of the node. As per Amit's suggestion, this patch changes the

[PATCH 1/3 v4] thermal: samsung: correct the fall interrupt en, status bit fields

2013-10-09 Thread Naveen Krishna Chatradhi
The FALL interrupt related en, status bits are available at an offset of 16 on INTEN, INTSTAT registers and at an offset of 12 on INTCLEAR register. This patch corrects the same for exyns5250 and exynos5440 Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Changes since v1:

Re: [PATCH V6 0/8] perf tools: kcore improvements

2013-10-09 Thread Peter Zijlstra
On Wed, Oct 09, 2013 at 03:01:10PM +0300, Adrian Hunter wrote: - workaround objdump difficulties with kcore I've no idea, but given that've 'inlined' addr2line, should we also consider polling in objdump -- or at least that subset of functionality that we actually use? -- To unsubscribe

[PATCH] UPROBES: Remove useless __weak attribute

2013-10-09 Thread Ralf Baechle
linux/uprobes.h declares arch_uprobe_skip_sstep() as a weak function. But as there is no definition of generic version so when trying to build uprobes for an architecture that doesn't yet have a arch_uprobe_skip_sstep() implementation, the vmlinux will try to call arch_uprobe_skip_sstep()

[PATCH v2 1/2] cpufreq: exynos4x12: Use the common clock framework to set APLL clock rate

2013-10-09 Thread Lukasz Majewski
In the exynos4x12_set_apll() function, the APLL frequency is set with direct register manipulation. Such approach is not allowed in the common clock framework. The frequency is changed, but the corresponding clock value is not updated. This causes wrong frequency read from cpufreq's

[PATCH v2 0/2] cpufreq: exynos: Fixes for v3.12

2013-10-09 Thread Lukasz Majewski
Attached commits provide cpufreq regression fixes for Trats and Trats2 Exynos4 boards. Since v3.12 Exynos4 uses common clock framework for clock manipulation. Those patches restore correct output for cpuinfo_cur_freq [1] sysfs attribute. Without them, the [1] provides default frequency (800 MHz)

[PATCH v2 2/2] cpufreq: exynos4210: Use the common clock framework to set APLL clock rate

2013-10-09 Thread Lukasz Majewski
In the exynos4210_set_apll() function, the APLL frequency is set with direct register manipulation. Such approach is not allowed in the common clock framework. The frequency is changed, but the corresponding clock value is not updated. This causes wrong frequency read from cpufreq's

[PATCH] spi: omap2-mcspi: Fix FIFO support for transmit-and-receive mode

2013-10-09 Thread Illia Smyrnov
This patch fixes MCSPI FIFO buffer support when transmit-and-receive (full duplex) mode is used. In this mode FIFO can be used for RX or for TX or for both directions. If FIFO used for both directions the buffer is split into two 32-byte buffers - one for each direction. Also for full duplex mode

Re: [PATCH V5 3/9] perf tools: workaround objdump difficulties with kcore

2013-10-09 Thread Jiri Olsa
On Wed, Oct 09, 2013 at 01:38:04PM +0300, Adrian Hunter wrote: On 09/10/13 13:12, Jiri Olsa wrote: On Wed, Oct 09, 2013 at 10:33:25AM +0300, Adrian Hunter wrote: On 08/10/13 17:02, Jiri Olsa wrote: On Tue, Oct 08, 2013 at 11:45:50AM +0300, Adrian Hunter wrote: SNIP so.. the name of

Re: [PATCH 03/03] GPIO: Add TB10x GPIO driver

2013-10-09 Thread Linus Walleij
On Tue, Oct 8, 2013 at 2:25 PM, Christian Ruppert christian.rupp...@abilis.com wrote: Overall this driver is looking very nice, we just need to figure out this group range concept in the other patch. +Example: + + gpioa: gpio@FF14 { + compatible = abilis,tb10x-gpio;

Re: [x86] BUG: unable to handle kernel paging request at 00740060

2013-10-09 Thread Fengguang Wu
Fengguang, I do not think this will help, but just in case. Could you show the result of $ kernel/task_work.s Update: I recompiled the kernel with gcc 4.4.7 and find it booting fine! Attached is the new kernel/task_work.s. Thanks, Fengguang .file task_work.c # GNU C

Re: [x86] BUG: unable to handle kernel paging request at 00740060

2013-10-09 Thread Fengguang Wu
On Wed, Oct 09, 2013 at 08:19:11PM +0800, Fengguang Wu wrote: Fengguang, I do not think this will help, but just in case. Could you show the result of $ kernel/task_work.s Update: I recompiled the kernel with gcc 4.4.7 and find it booting fine! Attached is the new

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

2013-10-09 Thread srinivas kandagatla
.../devicetree/bindings/media/remote-control.txt | 31 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/remote-control.txt diff --git a/Documentation/devicetree/bindings/media/remote-control.txt

Re: [x86] BUG: unable to handle kernel paging request at 00740060

2013-10-09 Thread Peter Zijlstra
On Wed, Oct 09, 2013 at 08:19:11PM +0800, Fengguang Wu wrote: Fengguang, I do not think this will help, but just in case. Could you show the result of $ kernel/task_work.s Update: I recompiled the kernel with gcc 4.4.7 and find it booting fine! # 208

Re: [PATCH] PCI: designware: Add irq_create_mapping()

2013-10-09 Thread Jingoo Han
On Wednesday, October 09, 2013 8:14 PM, Pratyush Anand wrote: On Wed, Oct 09, 2013 at 06:49:15PM +0800, Jingoo Han wrote: On Wednesday, October 09, 2013 7:27 PM, Kishon Vijay Abraham I wrote: On Wednesday 09 October 2013 03:35 PM, Jingoo Han wrote: On Wednesday, October 09, 2013 6:48 PM,

Re: [PATCH 02/03] pinmux: Add TB10x pinmux driver

2013-10-09 Thread Linus Walleij
On Tue, Oct 8, 2013 at 2:25 PM, Christian Ruppert christian.rupp...@abilis.com wrote: The pinmux driver of the Abilis Systems TB10x platform based on ARC700 CPUs. Used to control the pinmux and is a prerequisite for the GPIO driver. Signed-off-by: Christian Ruppert

[PATCH 2/2] regmap: Provide asynchronous write and update bits operations

2013-10-09 Thread Mark Brown
From: Mark Brown broo...@linaro.org Make it easier for drivers to include single register writes in asynchronous sequences by providing async versions of the write and update bits operations. The update bits operations are only likely to be effective when used with devices that have caches but

[PATCH 1/2] regmap: Simplify the initiation of async I/O

2013-10-09 Thread Mark Brown
From: Mark Brown broo...@linaro.org Rather than passing a flag around through the entire call stack store it in the regmap struct and read it when required. This minimises the visibility of the feature through the API, minimising the code updates needed to use it more widely. Signed-off-by: Mark

[PATCH V2] PCI: designware: Add irq_create_mapping()

2013-10-09 Thread Jingoo Han
From: Pratyush Anand pratyush.an...@st.com Without irq_create_mapping(), the correct irq number cannot be provided. In this case, it makes problems such as NULL deference. Thus, irq_create_mapping() should be added for MSI. Signed-off-by: Pratyush Anand pratyush.an...@st.com Suggested-by: Kishon

Arbitrary host crash with kvm.git queue (8a3c1a33476f6bfebd07954e2277dbc88003bd37)

2013-10-09 Thread Kashyap Chamarthy
Heya, I've seen this crash thrice so far on an Intel Haswell machine while doing some nested virtualization tests (KVM on KVM). At this moment, I can't pin-point an to exact trigger. On two occasions, it crashed when I tried to reboot a guest hypervisor (as part of nested virtualization testing).

[RFC PATCH v2] drm/radeon: fixup locking inversion between, mmap_sem and reservations

2013-10-09 Thread Maarten Lankhorst
op 08-10-13 18:58, Thomas Hellstrom schreef: On 10/08/2013 06:47 PM, Jerome Glisse wrote: On Tue, Oct 08, 2013 at 06:29:35PM +0200, Thomas Hellstrom wrote: On 10/08/2013 04:55 PM, Jerome Glisse wrote: On Tue, Oct 08, 2013 at 04:45:18PM +0200, Christian König wrote: Am 08.10.2013 16:33,

Re: Rounding issue in drivers/clk/clk-divider.c

2013-10-09 Thread Tomi Valkeinen
Hi, On 08/10/13 16:17, Tomi Valkeinen wrote: Hi, I'm seeing the following issue on omap3 with dpll4_m4 clock. dpll4_m4's parent is a PLL set to 86400 and dpll4_m4 is a divider, handled by clk-divider.c. Now, if I call clk_round_rate(dpll4_m4, 14399), I get 123428571 which is

Re: [PATCH V5 3/9] perf tools: workaround objdump difficulties with kcore

2013-10-09 Thread Adrian Hunter
On 09/10/13 15:16, Jiri Olsa wrote: On Wed, Oct 09, 2013 at 01:38:04PM +0300, Adrian Hunter wrote: On 09/10/13 13:12, Jiri Olsa wrote: On Wed, Oct 09, 2013 at 10:33:25AM +0300, Adrian Hunter wrote: On 08/10/13 17:02, Jiri Olsa wrote: On Tue, Oct 08, 2013 at 11:45:50AM +0300, Adrian Hunter

Re: [RFC/query] kvm async_pf anon pined pages migration

2013-10-09 Thread Gleb Natapov
On Tue, Oct 08, 2013 at 02:58:22PM +0800, chai wen wrote: On 10/02/2013 12:04 AM, chaiwen wrote: On 09/30/2013 08:51 PM, Gleb Natapov wrote: On Mon, Sep 30, 2013 at 06:03:07PM +0800, chai wen wrote: Hi all Async page fault in kvm currently pin user pages via get_user_pages. when doing page

Re: [PATCH 0/63] Basic scheduler support for automatic NUMA balancing V9

2013-10-09 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Wed, Oct 09, 2013 at 01:03:54PM +0200, Ingo Molnar wrote: kernel/sched/fair.c:819:22: warning: 'task_h_load' declared 'static' but never defined [-Wunused-function] Not too pretty, but it avoids the warning: --- ---

Re: [x86] BUG: unable to handle kernel paging request at 00740060

2013-10-09 Thread Oleg Nesterov
Hi Fengguang, On 10/09, Fengguang Wu wrote: Thanks for looking into this. Attached is the task_work.s for you. Thanks a lot! I'm afraid I am wrong, my asm skills are close to zero... but this code looks wrong to me, and this can explain the oopses. task_work_add: pushl %ebp#

Re: [x86] BUG: unable to handle kernel paging request at 00740060

2013-10-09 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Wed, Oct 09, 2013 at 08:19:11PM +0800, Fengguang Wu wrote: Fengguang, I do not think this will help, but just in case. Could you show the result of $ kernel/task_work.s Update: I recompiled the kernel with gcc 4.4.7

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-09 Thread Alexander Gordeev
On Mon, Oct 07, 2013 at 02:01:11PM -0400, Tejun Heo wrote: Hmmm... yean, the race condition could be an issue as multiple msi allocation might fail even if the driver can and explicitly handle multiple allocation if the quota gets reduced inbetween. BTW, should we care about the quota getting

Re: [x86] BUG: unable to handle kernel paging request at 00740060

2013-10-09 Thread Fengguang Wu
On Wed, Oct 09, 2013 at 02:27:05PM +0200, Peter Zijlstra wrote: On Wed, Oct 09, 2013 at 08:19:11PM +0800, Fengguang Wu wrote: Fengguang, I do not think this will help, but just in case. Could you show the result of $ kernel/task_work.s Update: I recompiled the kernel

Re: [PATCH 1/6] ARM: at91: prepare sama5 dt boards transition to common clk

2013-10-09 Thread Nicolas Ferre
On 08/08/2013 11:20, Boris BREZILLON : This patch prepare the transition to common clk for sama5 dt boards by replacing the timer init callback. Clocks registration cannot be done in early init callback (as formerly done by the old clk implementation) because it requires dynamic allocation

Re: [PATCH 2/6] ARM: at91: prepare common clk transition for sama5d3 SoC

2013-10-09 Thread Nicolas Ferre
On 08/08/2013 11:21, Boris BREZILLON : This patch enclose sama5d3 old clk registration in #if defined(CONFIG_OLD_CLK_AT91) #endif sections. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com And... do not forget to remove completely the

Re: [PATCH 3/6] ARM: at91/dt: define sama5d3 clocks

2013-10-09 Thread Nicolas Ferre
On 08/08/2013 11:31, Boris BREZILLON : Define sama5d3 clocks in sama5d3 device tree. Add references to the appropriate clocks in each peripheral. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Do not forget to remove the macros and change file paths... ---

Re: [PATCH 4/6] ARM: at91/dt: define sama5d3xek's main clk frequency

2013-10-09 Thread Nicolas Ferre
On 08/08/2013 11:36, Boris BREZILLON : Define the main clock frequency for the new main clock node in sama5d3xcm.dtsi. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d3xcm.dtsi |6 ++ 1 file

Re: [PATCH 5/6] ARM: at91: move sama5d3 SoC to common clk

2013-10-09 Thread Nicolas Ferre
On 08/08/2013 12:29, Boris BREZILLON : This patch removes the selection of AT91_USE_OLD_CLK when selecting sama5d3 SoC support. This will enable automatically enable COMMON_CLK_AT91 option and add support for at91 common clk implementation. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com

Re: [PATCH 6/6] ARM: at91/dt: remove old main clk definition from sama5d3xcm.dtsi

2013-10-09 Thread Nicolas Ferre
On 08/08/2013 12:30, Boris BREZILLON : This patch removes the old main clk node which is now useless as sama5d3 SoCs and boards are no longer compatible with the old at91 clk implementations. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com As said earlier, removal of old clock

Re: [PATCH 2/3] perf trace: Add summary option to dump syscall statistics

2013-10-09 Thread Jiri Olsa
On Tue, Oct 08, 2013 at 09:26:53PM -0600, David Ahern wrote: When enabled dumps a summary of all syscalls by task with the usual statistics -- min, max, average and relative stddev. For example, make - 26341 : 3344 [ 17.4% ] 0.000 ms read : 520.000

Re: [PATCH v2] ARM: Dove: fix bad properties of the si5351 clkout2 used by Cubox audio

2013-10-09 Thread Jason Cooper
On Tue, Oct 08, 2013 at 08:20:27PM +0200, Jean-Francois Moine wrote: As defined in the DT, clkout2 is not allowed to change the pll inside si5351. This patch extends the properties of clkout2 so that it works as the external clock of the audio device in the Cubox. Also, as the second

Re: [PATCH] slub: proper kmemleak tracking if CONFIG_SLUB_DEBUG disabled

2013-10-09 Thread Catalin Marinas
On Tue, Oct 08, 2013 at 11:58:57PM +0100, Tim Bird wrote: From: Roman Bobniev roman.bobn...@sonymobile.com Move all kmemleak calls into hook functions, and make it so that all hooks (both inside and outside of #ifdef CONFIG_SLUB_DEBUG) call the appropriate kmemleak routines. This allows for

Re: [PATCH 01/03] Make non-linear GPIO ranges accesible from gpiolib

2013-10-09 Thread Christian Ruppert
On Wed, Oct 09, 2013 at 01:58:35PM +0200, Linus Walleij wrote: On Tue, Oct 8, 2013 at 2:25 PM, Christian Ruppert christian.rupp...@abilis.com wrote: This patch adds the infrastructure required to register non-linear gpio ranges through gpiolib and the standard GPIO device tree bindings.

Re: [PATCH] perf record: mmap output file - RFC

2013-10-09 Thread Jiri Olsa
On Sun, Sep 22, 2013 at 08:05:59PM -0600, David Ahern wrote: SNIP + + if (size remaining) { + memcpy(rec-mmap_addr + rec-mmap_offset, buf, remaining); + rec-bytes_written += remaining; + + size -= remaining; + buf += remaining; + +

Re: Kernel warning triggered with trinity on 3.12-rc4

2013-10-09 Thread Benjamin LaHaise
On Tue, Oct 08, 2013 at 03:52:17PM +0100, Will Deacon wrote: Hi guys, I've been running trinity on my ARMv7 Cortex-A15 system and managed to trigger the following kernel warning: Adding Kent to the list of recipients since this is in code he wrote. I'd like to try to track down a test case

Re: [PATCH 4/9] i2c: i2c-stu300: replace platform_driver_probe to support deferred probing

2013-10-09 Thread Linus Walleij
On Tue, Oct 8, 2013 at 10:35 PM, Wolfram Sang w...@the-dreams.de wrote: Subsystems like pinctrl and gpio rightfully make use of deferred probing at core level. Now, deferred drivers won't be retried if they don't have a .probe function specified in the driver struct. Fix this driver to have

Re: [PATCH 3/6] pinctrl: single: Prepare for supporting SoC specific features

2013-10-09 Thread Linus Walleij
On Mon, Oct 7, 2013 at 7:35 PM, Tony Lindgren t...@atomide.com wrote: Hi Linus W, Any comments on the pinctrl patches 3 - 5 in this series? Yes, after good explanations to my whimsical questions only this: Acked-by: Linus Walleij linus.wall...@linaro.org I guess you'll take these patches

Re: [PATCH] perf record: mmap output file - RFC

2013-10-09 Thread David Ahern
On 10/9/13 7:33 AM, Jiri Olsa wrote: + + if (size remaining) { + memcpy(rec-mmap_addr + rec-mmap_offset, buf, remaining); + rec-bytes_written += remaining; + + size -= remaining; + buf += remaining; + +

Re: [rfc] rework aio migrate pages to use aio fs

2013-10-09 Thread Benjamin LaHaise
Hi Al, On Thu, Oct 03, 2013 at 03:50:07AM +0100, Al Viro wrote: ... Another thing: I'd rather pull everything about setting the inode up (aops, size, etc.) in there. Anyway, could you take a look at the last couple of commits in vfs.git#for-bcrl? Commit message on the last one is an

Re: [patch 2/3] pvclock: detect watchdog reset at pvclock read

2013-10-09 Thread Don Zickus
On Tue, Oct 08, 2013 at 07:08:11PM -0300, Marcelo Tosatti wrote: On Tue, Oct 08, 2013 at 09:37:05AM -0400, Don Zickus wrote: On Mon, Oct 07, 2013 at 10:05:17PM -0300, Marcelo Tosatti wrote: Implement reset of kernel watchdogs at pvclock read time. This avoids adding special code to every

Re: [PATCH 01/03] Make non-linear GPIO ranges accesible from gpiolib

2013-10-09 Thread Linus Walleij
On Wed, Oct 9, 2013 at 3:28 PM, Christian Ruppert christian.rupp...@abilis.com wrote: On Wed, Oct 09, 2013 at 01:58:35PM +0200, Linus Walleij wrote: On Tue, Oct 8, 2013 at 2:25 PM, Christian Ruppert christian.rupp...@abilis.com wrote: +In addition, named groups of pins can be mapped to pin

Re: [PATCH 1/3 v4] thermal: samsung: correct the fall interrupt en, status bit fields

2013-10-09 Thread Bartlomiej Zolnierkiewicz
Hi, All patches (#1-#3) look good to me, FWIW you can add: Reviewed-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Please note that (at least) patch #3 conflicts with Lukasz's EXYNOS4412 fixup patchset: https://lkml.org/lkml/2013/10/9/35 It is up to Eduardo to resolve

[PATCH 2/3] i2c: attach/detach I2C client device to the ACPI power domain

2013-10-09 Thread Mika Westerberg
From: Lv Zheng lv.zh...@intel.com If the I2C client device is enumerated from ACPI namespace it might have ACPI methods that needs to be called in order to transition the device to different power states (such as _PSx). Implement this for I2C client devices by checking if the device has an ACPI

[PATCH 1/3] ACPI / PM: allow child devices to ignore parent power state

2013-10-09 Thread Mika Westerberg
Some serial buses like I2C and SPI don't require that the parent device is in D0 before any of its children transitions to D0, but instead the parent device can control its own power independently from the children. This does not follow the ACPI specification as it requires the parent to be

[PATCH 0/3] ACPI power management support for I2C and SPI devices

2013-10-09 Thread Mika Westerberg
Hi, We originally tried to add runtime PM support for I2C adapter devices in order to have runtime PM core to power on the I2C host controller device automatically whenever any of its children I2C device is powered on (See [1] for the last patch series). The rationale was that it is what the

[PATCH 3/3] spi: attach/detach SPI device to the ACPI power domain

2013-10-09 Thread Mika Westerberg
If the SPI device is enumerated from ACPI namespace (it has an ACPI handle) it might have ACPI methods that needs to be called in order to transition the device to different power states (such as _PSx). We follow what has been done for platform and I2C buses here and attach the SPI device to the

Re: [x86] BUG: unable to handle kernel paging request at 00740060

2013-10-09 Thread Peter Zijlstra
On Wed, Oct 09, 2013 at 02:43:10PM +0200, Oleg Nesterov wrote: I'm afraid I am wrong, my asm skills are close to zero... but this code looks wrong to me, and this can explain the oopses. task_work_add: pushl %ebp# movl%esp, %ebp #, pushl %edi#

Re: [xen] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC

2013-10-09 Thread Josh Boyer
On Tue, Oct 8, 2013 at 8:45 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Tue, Oct 8, 2013 at 3:48 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: It's going to make things really noisy at boot time, but then it should settle down and not be bad at all. Let's try it and

<    4   5   6   7   8   9   10   11   12   13   >