[PATCH v2 3/7] ARM: at91: remove unused headers

2015-03-05 Thread Alexandre Belloni
Following the switch to multiplatform, uncompress.h is not used anymore. Remove it. at91_dbgu.h is also not used anymore Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/include/mach/at91_dbgu.h | 63

Re: [PATCH 1/3] e820: Don't let unknown DIMM type come out BUSY

2015-03-05 Thread Dan Williams
On Thu, Mar 5, 2015 at 2:20 AM, Boaz Harrosh b...@plexistor.com wrote: There is something not very nice (Gentlemen nice) In current e820.c code. At Multiple places for example @memblock_x86_fill() it will add the different memory resources *except the E820_RESERVED type* Then at

Re: Resurrecting the VM_PINNED discussion

2015-03-05 Thread Christoph Lameter
On Thu, 5 Mar 2015, Peter Zijlstra wrote: Am I missing something about why it was never merged? Because I got lost in IB code and didn't manage to bribe anyone into fixing that for me. Well the complexity increased since then with the on demand pinning, mmu notifiers etc etc ... I thought

Re: [PATCH] checkpatch: Add optional --codespell dictionary to find more typos

2015-03-05 Thread Lucas De Marchi
On Thu, Mar 5, 2015 at 3:52 PM, Joe Perches j...@perches.com wrote: If a codespell dictionary exists, use it if desired. default is off, maybe it could be turned on later. codespell's dictionary format allows multiple possible corrections, ignore that for now and only use the first

[PATCH v2 4/7] ARM: at91: remove useless mach/cpu.h

2015-03-05 Thread Alexandre Belloni
mach/cpu.h is not used anymore, remove it. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/include/mach/at91sam9_smc.h | 2 - arch/arm/mach-at91/include/mach/cpu.h | 216 - arch/arm/mach-at91/pm.c

Re: [PATCH 1/1] perf annotate: Fix fallback to unparsed disassembler line

2015-03-05 Thread Rabin Vincent
On Thu, Mar 05, 2015 at 04:03:20PM -0300, Arnaldo Carvalho de Melo wrote: When fixing a leak in the 0fb9f2aab738 commit (perf annotate: Fix memory leaks in LOCK handling) we failed to take that into account and instead tried to free one of the data structures that should be freed only when

[PATCH v2 7/7] ARM: at91: remove hardware.h

2015-03-05 Thread Alexandre Belloni
hardware.h is now mostyl unused, move the remaining declarations to pm.c and remove it. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/include/mach/hardware.h | 123 - arch/arm/mach-at91/pm.c| 11 ++-

Re: [GIT PULL 0/1] perf/urgent fix

2015-03-05 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider applying, - Arnaldo The following changes since commit 021f5f12f2ab44874193c68fb19eea154493f83a: Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into

[PATCH 1/1] x86/fpu: math_state_restore() should not blindly disable irqs

2015-03-05 Thread Oleg Nesterov
math_state_restore() assumes it is called with irqs disabled, but this is not true if the caller is __restore_xstate_sig(). This means that if ia32_fxstate == T and __copy_from_user() fails __restore_xstate_sig() returns with irqs disabled too. This trgiggers BUG: sleeping function

Re: [PATCH] bcma: Kconfig: Let it depend on PCI

2015-03-05 Thread Chen Gang
On 3/5/15 19:40, Kalle Valo wrote: Rafał Miłecki zaj...@gmail.com writes: Kalle, I guess the recent discussion and work on this problem could be confusing, so let me try to sum it up it a bit. First of all, please note there are 3 awaiting bcma patches that should be applied independently

Re: [PATCH RESEND 0/4] Add support for IPROC SDHCI controller

2015-03-05 Thread Florian Fainelli
On 05/03/15 08:16, Ulf Hansson wrote: On 5 March 2015 at 16:59, Scott Branden sbran...@broadcom.com wrote: This series of patchsets contains the IPROC SDHCI driver used in a series of Broadcom SoCs Quirks are also added to support this controller. Corneliu Doban (1): mmc: sdhci: do not

Re: [PATCH v2] clk: qcom: Add MSM8916 Global Clock Controller support

2015-03-05 Thread Stephen Boyd
On 02/25, Georgi Djakov wrote: diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c new file mode 100644 index ..810c38004520 --- /dev/null +++ b/drivers/clk/qcom/gcc-msm8916.c + +#define P_XO 0 +#define P_GPLL0 1

Re: [PATCH v1 3/6] eeprom: Add bindings for simple eeprom framework

2015-03-05 Thread Rob Herring
On Thu, Mar 5, 2015 at 3:46 AM, Srinivas Kandagatla srinivas.kandaga...@linaro.org wrote: This patch adds bindings for simple eeprom framework which allows eeprom consumers to talk to eeprom providers to get access to eeprom cell data. Signed-off-by: Maxime Ripard

[PATCH] rnndb: Add registers needed by DSI in mdp5

2015-03-05 Thread Hai Li
Pingpong registers are needed by dsi command mode operation for tearing check. Split display registers are needed by dual dsi broadcast mode for synchronization. Signed-off-by: Hai Li h...@codeaurora.org --- rnndb/mdp/mdp5.xml | 48 1 file

Re: ARM: OMPA4+: is it expected dma_coerce_mask_and_coherent(dev, DMA_BIT_MASK(64)); to fail?

2015-03-05 Thread Russell King - ARM Linux
On Thu, Mar 05, 2015 at 08:55:07PM +0200, grygorii.stras...@linaro.org wrote: Now I can see very interesting behavior related to dma_coerce_mask_and_coherent() and friends which I'd like to explain and clarify. Below is set of questions I have (why - I explained below): - Is expected

Re: Resurrecting the VM_PINNED discussion

2015-03-05 Thread Peter Zijlstra
On Thu, Mar 05, 2015 at 03:09:42PM -0600, Christoph Lameter wrote: On Thu, 5 Mar 2015, Peter Zijlstra wrote: Am I missing something about why it was never merged? Because I got lost in IB code and didn't manage to bribe anyone into fixing that for me. Well the complexity increased

[PATCH v2 1/7] ARM: at91: switch to multiplatform

2015-03-05 Thread Alexandre Belloni
Switch AT91 to multiplatform as all SoCs are properly handled. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/Kconfig| 13 - arch/arm/mach-at91/Kconfig | 117 +++- arch/arm/mach-at91/Makefile | 2 + 3

[PATCH v2 2/7] ARM: at91: switch at91_dt_defconfig to multiplatform

2015-03-05 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/configs/at91_dt_defconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig index f2670f638e97..c944fb6e1ece 100644 ---

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-05 Thread Kevin Hilman
Kumar Gala ga...@codeaurora.org writes: The top level qcom,msm-id and qcom,board-id are utilized by bootloaders on Qualcomm MSM platforms to determine which device tree should be utilized and passed to the kernel. Cc: devicet...@vger.kernel.org Signed-off-by: Kumar Gala ga...@codeaurora.org

Re: [PATCH 3/3] net: macb: remove #if defined(CONFIG_ARCH_AT91) sections

2015-03-05 Thread Alexandre Belloni
On 05/03/2015 at 17:27:22 +0100, Boris Brezillon wrote : @@ -2388,21 +2392,20 @@ static int macb_probe(struct platform_device *pdev) bp-phy_interface = err; } + config = 0; if (bp-phy_interface == PHY_INTERFACE_MODE_RGMII) - macb_or_gem_writel(bp,

Re: [PATCH v4 6/9] ARM: at91: time: move the system timer driver to drivers/clocksource

2015-03-05 Thread Alexandre Belloni
On 05/03/2015 at 20:41:33 +0100, Paul Bolle wrote : On Thu, 2015-03-05 at 16:49 +0100, Alexandre Belloni wrote: diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 1c2506f68122..d1d15985a4ec 100644 --- a/drivers/clocksource/Kconfig +++

Re: [PATCH v3 0/3] epoll: introduce round robin wakeup mode

2015-03-05 Thread Jason Baron
On 03/05/2015 04:15 AM, Ingo Molnar wrote: * Jason Baron jba...@akamai.com wrote: 2) We are using the wakeup in this case to 'assign' work more permanently to the thread. That is, in the case of a listen socket we then add the connected socket to the woken up threads local set of epoll

[PATCH 0/1] x86/fpu: math_state_restore() should not blindly disable irqs

2015-03-05 Thread Oleg Nesterov
On 03/05, Oleg Nesterov wrote: And this also means I have another off-topic fix for 4.0/stable, will send a patch in a minute... I knew about this problem, but I didn't realize that restore_sigcontext() can call a sleeping function after math_state_restore(). So I was going to fix this later,

[PATCH 0/1] x86/fpu: math_state_restore() should not blindly disable irqs

2015-03-05 Thread Oleg Nesterov
Sorry if you see this message twice, but it seems that today my messages go to /dev/null sometimes... On 03/05, Oleg Nesterov wrote: And this also means I have another off-topic fix for 4.0/stable, will send a patch in a minute... I knew about this problem, but I didn't realize that

Re: [PATCH 3/3] e820: Add the unknown-12 Memory type (DDR3-NvDIMM)

2015-03-05 Thread Dan Williams
On Thu, Mar 5, 2015 at 2:24 AM, Boaz Harrosh b...@plexistor.com wrote: There are multiple vendors of DDR3 NvDIMMs out in the market today. At various stages of development/production. It is estimated that there are already more the 100ds of thousands chips sold to testers and sites. All the

Re: [PATCH 2/2] mtd: nand: jz4780: driver for NAND devices on JZ4780 SoCs

2015-03-05 Thread Paul Bolle
On Thu, 2015-03-05 at 17:27 +, Zubair Lutfullah Kakakhel wrote: --- /dev/null +++ b/drivers/mtd/nand/jz4780_bch.c @@ -0,0 +1,359 @@ +/* + * JZ4780 BCH controller + * + * Copyright (c) 2015 Imagination Technologies + * Author: Alex Smith a...@alex-smith.me.uk + * + * This program is

[GIT PULL v2] x86 fixes

2015-03-05 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: 06c8173eb92bbfc03a0fe8bb64315857d0badd06 x86/fpu/xsaves: Fix improper uses of __ex_table Misc fixes: EFI fixes, an Intel Quark fix,

Re: [PATCH 19/21] userfaultfd: remap_pages: UFFDIO_REMAP preparation

2015-03-05 Thread Linus Torvalds
On Thu, Mar 5, 2015 at 10:51 AM, Andrea Arcangeli aarca...@redhat.com wrote: Thanks for your idea that the UFFDIO_COPY is faster, the userland code we submitted for qemu only uses UFFDIO_COPY|ZEROPAGE, it never uses UFFDIO_REMAP. Ok. So there's no actual expected use of the remap interface.

Re: [PATCH 0/3] net: macb: rework at91 specific handling

2015-03-05 Thread Alexandre Belloni
On 05/03/2015 at 17:27:19 +0100, Boris Brezillon wrote : Hello, This removes the #if defined(ARCH_AT91) sections to prevent any problem when enabling ARM multi-platform support. The at91 specific logic is now activated when the at91sam9260-macb compatible string is found. A small nit in

Re: [PATCH 1/1] x86/fpu: math_state_restore() should not blindly disable irqs

2015-03-05 Thread Ingo Molnar
* Oleg Nesterov o...@redhat.com wrote: math_state_restore() assumes it is called with irqs disabled, but this is not true if the caller is __restore_xstate_sig(). This means that if ia32_fxstate == T and __copy_from_user() fails __restore_xstate_sig() returns with irqs disabled too. This

Re: [PATCH] net: eth: xgene: fix booting with devicetree

2015-03-05 Thread David Miller
From: Mark Salter msal...@redhat.com Date: Wed, 4 Mar 2015 11:51:57 -0500 Commit de7b5b3d790a (net: eth: xgene: change APM X-Gene SoC platform ethernet to support ACPI) breaks booting with devicetree with UEFI firmware. In that case, I get: ... The problem here is that the enet hw clocks

[PATCH v2 6/7] ARM: at91: remove SoC headers

2015-03-05 Thread Alexandre Belloni
Remove the now useless SoC headers. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/include/mach/at91rm9200.h | 103 --- arch/arm/mach-at91/include/mach/at91sam9260.h | 129 ---

Re: [PATCH] checkpatch: Add optional --codespell dictionary to find more typos

2015-03-05 Thread Joe Perches
On Thu, 2015-03-05 at 16:13 -0300, Lucas De Marchi wrote: On Thu, Mar 5, 2015 at 3:52 PM, Joe Perches j...@perches.com wrote: If a codespell dictionary exists, use it if desired. default is off, maybe it could be turned on later. codespell's dictionary format allows multiple possible

Re: [PATCH 2/2] memory: jz4780-nemc: driver for the NEMC on JZ4780 SoCs

2015-03-05 Thread Paul Bolle
On Thu, 2015-03-05 at 17:01 +, Zubair Lutfullah Kakakhel wrote: --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig @@ -83,6 +83,15 @@ config FSL_IFC bool depends on FSL_SOC +config JZ4780_NEMC + bool Ingenic JZ4780 SoC NEMC driver A bool Kconfig symbol. +

[PATCH 1/4] drm/msm/mdp5: Add pingpong entry to mdp5 config table

2015-03-05 Thread Hai Li
Pingpong register base addresses are different across platforms. This change adds this information to config table and initialize the values for 8x74 and 8084. Signed-off-by: Hai Li h...@codeaurora.org --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c | 8

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-05 Thread Kumar Gala
On Mar 5, 2015, at 1:42 PM, Kevin Hilman khil...@kernel.org wrote: Kumar Gala ga...@codeaurora.org writes: The top level qcom,msm-id and qcom,board-id are utilized by bootloaders on Qualcomm MSM platforms to determine which device tree should be utilized and passed to the kernel. Cc:

Re: [PATCH] libfdt: Teach fdt_path_offset() about ':' path separator

2015-03-05 Thread Rob Herring
On Thu, Mar 5, 2015 at 11:04 AM, Peter Hurley pe...@hurleysoftware.com wrote: [ +cc Greg KH ] On 03/05/2015 10:23 AM, Rob Herring wrote: On Wed, Mar 4, 2015 at 10:44 AM, Peter Hurley pe...@hurleysoftware.com wrote: stdout-path defines ':' as a path separator and commit 75c28c09af99a (of:

Re: Resurrecting the VM_PINNED discussion

2015-03-05 Thread Peter Zijlstra
On Tue, Mar 03, 2015 at 12:41:05PM -0500, Eric B Munson wrote: All, After LSF/MM last year Peter revived a patch set that would create infrastructure for pinning pages as opposed to simply locking them. AFAICT, there was no objection to the set, it just needed some help from the IB folks.

Re: [PATCH tip/core/rcu 02/20] x86: Use common outgoing-CPU-notification code

2015-03-05 Thread Boris Ostrovsky
On 03/04/2015 10:25 AM, Paul E. McKenney wrote: On Wed, Mar 04, 2015 at 09:55:11AM -0500, Boris Ostrovsky wrote: The simple solution is to stop calling native_cpu_die() above but I'd like to use common code in native_cpu_die(). I'll see if I can carve it out without too much damage to x86.

Re: [PATCH 1/1] x86/fpu: math_state_restore() should not blindly disable irqs

2015-03-05 Thread Oleg Nesterov
On 03/05, Ingo Molnar wrote: * Oleg Nesterov o...@redhat.com wrote: --- a/arch/x86/kernel/traps.c +++ b/arch/x86/kernel/traps.c @@ -774,7 +774,10 @@ void math_state_restore(void) struct task_struct *tsk = current; if (!tsk_used_math(tsk)) { - local_irq_enable();

Re: [PATCH] of: Kconfig: Let OF_UNITTEST depend on I2C=y and I2C_MUX=y

2015-03-05 Thread Chen Gang
On 3/5/15 16:06, Geert Uytterhoeven wrote: On Wed, Mar 4, 2015 at 8:49 PM, Arnd Bergmann a...@arndb.de wrote: --- a/drivers/of/unittest.c +++ b/drivers/of/unittest.c @@ -979,7 +979,7 @@ static int of_path_platform_device_exists(const char *path) return pdev != NULL; } -#if

Re: [PATCH 4.0-rc1 v17 5/6] x86/nmi: Use common printk functions

2015-03-05 Thread Ingo Molnar
* Daniel Thompson daniel.thomp...@linaro.org wrote: On Thu, 2015-03-05 at 01:54 +0100, Ingo Molnar wrote: * Daniel Thompson daniel.thomp...@linaro.org wrote: Much of the code sitting in arch/x86/kernel/apic/hw_nmi.c to support safe all-cpu backtracing from NMI has been copied to

Re: [PATCH v4 4/9] power: reset: Add AT91RM9200 reset driver

2015-03-05 Thread Paul Bolle
On Thu, 2015-03-05 at 16:49 +0100, Alexandre Belloni wrote: --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -30,6 +30,13 @@ config POWER_RESET_AT91_RESET This driver supports restart for Atmel AT91SAM9 and SAMA5 SoCs +config

Re: [PATCH v2] sched, timer: Use atomics for thread_group_cputimer to improve scalability

2015-03-05 Thread Jason Low
On Thu, 2015-03-05 at 16:20 +0100, Frederic Weisbecker wrote: On Mon, Mar 02, 2015 at 01:44:04PM -0800, Linus Torvalds wrote: On Mon, Mar 2, 2015 at 1:16 PM, Jason Low jason.l...@hp.com wrote: In original code, we set cputimer-running first so it is running while we call

[PATCH 4/4] drm/msm: Fix default fb var width and height

2015-03-05 Thread Hai Li
The framebuffer var width and height should reflect the size of framebuffer memory allocated, which is the entire surface size. In case of dual DSI connectors with TILE properties, this change makes the whole image show on the dual DSI panel, instead of duplicated images on both sides.

[PATCH 2/4] drm/msm/mdp5: Update generated mdp5 header file with DSI support

2015-03-05 Thread Hai Li
This change adds the registers in mdp5 ping pong blocks and split display control registers. Signed-off-by: Hai Li h...@codeaurora.org --- drivers/gpu/drm/msm/mdp/mdp5/mdp5.xml.h | 105 1 file changed, 105 insertions(+) diff --git

[PATCH 3/4] drm/msm/mdp5: Fix PIPE source image size settings

2015-03-05 Thread Hai Li
The width and height in SSPP_SRC_IMG_SIZE register should be the size of the entire source framebuffer, not the fetch size. Signed-off-by: Hai Li h...@codeaurora.org --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [tip:perf/x86] perf/x86/intel: Support task events with Intel CQM

2015-03-05 Thread Peter Zijlstra
On Thu, Mar 05, 2015 at 01:55:16AM +0100, Ingo Molnar wrote: That's a fair point. Peter? Indeed, sorry. And its because of a stupid reason. --- Subject: perf: Remove type specific target pointers The only reason CQM had to use a hard-coded pmu type was so it could use cqm_target in

Re: [PATCH v2 1/2] livepatch/module: Apply patch when loaded module is unformed

2015-03-05 Thread Josh Poimboeuf
On Thu, Mar 05, 2015 at 04:45:13PM +0100, Petr Mladek wrote: Existing live patches are applied to loaded modules using a notify handler. There are two problems with this approach. First, errors from module notifiers are ignored and could not stop the module from being loaded. But we will

Re: [PATCH 2/2] toshiba_acpi: Add Satellite P50W-B to alternative keymap and create new mappings.

2015-03-05 Thread Joseph Salisbury
On 03/05/2015 04:04 PM, Azael Avalos wrote: Hi Joe, 2015-03-05 13:59 GMT-07:00 Joseph Salisbury joseph.salisb...@canonical.com: On 03/04/2015 07:05 PM, Azael Avalos wrote: Hi there, 2015-03-04 14:52 GMT-07:00 Joseph Salisbury joseph.salisb...@canonical.com: ... + { KE_KEY, 0x140,

Re: [PATCH 2/2] toshiba_acpi: Add Satellite P50W-B to alternative keymap and create new mappings.

2015-03-05 Thread Azael Avalos
Hi Joe, 2015-03-05 13:59 GMT-07:00 Joseph Salisbury joseph.salisb...@canonical.com: On 03/04/2015 07:05 PM, Azael Avalos wrote: Hi there, 2015-03-04 14:52 GMT-07:00 Joseph Salisbury joseph.salisb...@canonical.com: ... + { KE_KEY, 0x140, { KEY_BRIGHTNESSDOWN } }, + { KE_KEY,

[PATCH v2 0/7] Switch mach-at91 to multiplatform

2015-03-05 Thread Alexandre Belloni
AT91 is now ready to switch to multiplatform. Do it and clean the remaining mach includes. Changes in v2: - moved the bool for ARCH_AT91 to the top - added a patch to remove the sama5d4 map_io Alexandre Belloni (7): ARM: at91: switch to multiplatform ARM: at91: switch at91_dt_defconfig to

Re: [PATCH] perf/tui: Change default selection background color to yellow

2015-03-05 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@infradead.org wrote: Em Thu, Mar 05, 2015 at 11:32:13AM +0100, Ingo Molnar escreveu: Boris reported that 'perf top' is unusable on his default 'black on white' terminal, which uses (eye friendly) light-grey as a background color. The reason is that

[PATCH v2 5/7] ARM: at91: sama5d4: remove useless map_io

2015-03-05 Thread Alexandre Belloni
All the peripheral remapped at io_map are taken care of by their respective drivers. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/sama5.c | 33 - 1 file changed, 33 deletions(-) diff --git

Re: [PATCH v2 2/2] livepatch/module: Correctly handle going modules

2015-03-05 Thread Josh Poimboeuf
On Thu, Mar 05, 2015 at 04:45:14PM +0100, Petr Mladek wrote: Existing live patches are removed from going modules using a notify handler. There are two problems with the current implementation. First, new patch could still see the module in the GOING state even after the notifier has been

Re: [PATCH v4 6/9] ARM: at91: time: move the system timer driver to drivers/clocksource

2015-03-05 Thread Paul Bolle
On Thu, 2015-03-05 at 16:49 +0100, Alexandre Belloni wrote: diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 1c2506f68122..d1d15985a4ec 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -138,6 +138,10 @@ config ATMEL_PIT select

Re: [PATCH] of: Kconfig: Let OF_UNITTEST depend on I2C=y and I2C_MUX=y

2015-03-05 Thread Rob Herring
On Wed, Mar 4, 2015 at 1:58 PM, Pantelis Antoniou pantelis.anton...@konsulko.com wrote: Hi Arnd, On Mar 4, 2015, at 21:49 , Arnd Bergmann a...@arndb.de wrote: On Wednesday 04 March 2015 16:04:23 Geert Uytterhoeven wrote: - depends on OF_IRQ OF_EARLY_FLATTREE + depends on OF_IRQ

Re: [PATCH] do_fork(): Rename 'stack_size' argument to reflect actual use

2015-03-05 Thread David Rientjes
On Thu, 5 Mar 2015, Alex Dowad wrote: diff --git a/kernel/fork.c b/kernel/fork.c index cf65139..b38a2ae 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1186,10 +1186,12 @@ init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) * It copies the

Re: [PATCH v4 4/9] power: reset: Add AT91RM9200 reset driver

2015-03-05 Thread Alexandre Belloni
On 05/03/2015 at 20:49:14 +0100, Paul Bolle wrote : On Thu, 2015-03-05 at 16:49 +0100, Alexandre Belloni wrote: --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -30,6 +30,13 @@ config POWER_RESET_AT91_RESET This driver supports restart for Atmel AT91SAM9 and

Re: [PATCH] mm: pagewalk: prevent positive return value of walk_page_test() from being passed to callers (Re: [PATCH] mm: fix do_mbind return value)

2015-03-05 Thread David Rientjes
On Thu, 5 Mar 2015, Naoya Horiguchi wrote: walk_page_test() is purely pagewalk's internal stuff, and its positive return values are not intended to be passed to the callers of pagewalk. However, in the current code if the last vma in the do-while loop in walk_page_range() happens to return a

Re: [PATCH 1/8] pmem: Initial version of persistent memory driver

2015-03-05 Thread Paul Bolle
For what it's worth, at this moment, I found a license nit. On Thu, 2015-03-05 at 13:55 +0200, Boaz Harrosh wrote: --- /dev/null +++ b/drivers/block/pmem.c @@ -0,0 +1,334 @@ +/* + * Persistent Memory Driver + * Copyright (c) 2014, Intel Corporation. + * Copyright (c) 2014, Boaz Harrosh

Re: [PATCH 2/2] toshiba_acpi: Add Satellite P50W-B to alternative keymap and create new mappings.

2015-03-05 Thread Joseph Salisbury
On 03/04/2015 07:05 PM, Azael Avalos wrote: Hi there, 2015-03-04 14:52 GMT-07:00 Joseph Salisbury joseph.salisb...@canonical.com: ... + { KE_KEY, 0x140, { KEY_BRIGHTNESSDOWN } }, + { KE_KEY, 0x141, { KEY_BRIGHTNESSUP } }, ... These two are not neccesary, as they may collide

Re: [PATCH] pci: host: xgene: fix incorrectly returned address by map_bus

2015-03-05 Thread Rob Herring
On Thu, Mar 5, 2015 at 10:38 AM, Bjorn Helgaas bhelg...@google.com wrote: [+cc Mark] On Thu, Feb 26, 2015 at 06:21:51PM -0600, Bjorn Helgaas wrote: On Tue, Feb 17, 2015 at 03:14:00PM -0800, Feng Kan wrote: The generic accessor functions for pci-xgene uses map_bus call that returns the base

[PATCH] x86/PCI: Fully disable devices before releasing IRQ resource

2015-03-05 Thread Alex Williamson
The IRQ resource for a device is established when pci_enabled_device() is called on a fully disabled device (ie. enable_cnt == 0). With commit b4b55cda5874 (x86/PCI: Refine the way to release PCI IRQ resources) this same IRQ resource is released when the driver is unbound from the device,

Re: [PATCH 0/9] Support follow_link in RCU-walk.

2015-03-05 Thread NeilBrown
On Thu, 5 Mar 2015 06:05:20 + Al Viro v...@zeniv.linux.org.uk wrote: On Thu, Mar 05, 2015 at 04:21:21PM +1100, NeilBrown wrote: Hi Al (and others), I wonder if you could look over this patchset. It allows RCU-walk to follow symlinks in many common cases, thus removing a

Re: [PATCH] f2fs: fix to truncate inline data past EOF

2015-03-05 Thread Jaegeuk Kim
Hi Chao, On Thu, Mar 05, 2015 at 05:41:32PM +0800, Chao Yu wrote: Previously if inode is with inline data, we will try to invalid partial inline data in page #0 when we truncate size of inode in truncate_partial_data_page(). And then we set page #0 to dirty, after this we can synchronize

[PATCH 09/21] userfaultfd: prevent khugepaged to merge if userfaultfd is armed

2015-03-05 Thread Andrea Arcangeli
If userfaultfd is armed on a certain vma we can't fill the holes with zeroes or we'll break the userland on demand paging. The holes if the userfault is armed, are really missing information (not zeroes) that the userland has to load from network or elsewhere. The same issue happens for

[PATCH] virtio_mmio: generation support

2015-03-05 Thread Michael S. Tsirkin
virtio_mmio currently lacks generation support which makes multi-byte field access racy. Fix by getting the value at offset 0xfc for version 2 devices. Nothing we can do for version 1, so return generation id 0. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- Pawel, you mentioned you have

Re: [PATCH] capabilities: Ambient capability set V2

2015-03-05 Thread Andy Lutomirski
On Mar 5, 2015 10:41 AM, Christoph Lameter c...@linux.com wrote: On Thu, 5 Mar 2015, Serge E. Hallyn wrote: So I'd say drop this change ^ Then the ambient caps get ignored for a executables that have capabilities seton the file? Yes. Those are assumed to already know what

Re: x32 + audit status?

2015-03-05 Thread Andy Lutomirski
On Mar 5, 2015 10:32 AM, David Drysdale drysd...@google.com wrote: Hi, Do we currently expect the audit system to work with x32 syscalls? I was playing with the audit system for the first time today (on v4.0-rc2, due to [1]), and it didn't seem to work for me. (Tweaking ptrace.c like the

[REGRESSION in 3.18][PPC] PA Semi fails to boot after: of/base: Fix PowerPC address parsing hack

2015-03-05 Thread Steven Rostedt
A bug in ftrace was reported to me that affects ARM and ARM64 but not x86. Looking at the code it appears to affect PowerPC as well. So I booted up my old PA Semi, to give it a try. The last time I booted it was for a 3.17 kernel. Unfortunately, for 4.0-rc2 it crashed with: Unable to handle

Re: [RESEND PATCH] kernel/panic/kexec: fix crash_kexec_post_notifiers option issue in oops path

2015-03-05 Thread Vivek Goyal
On Thu, Mar 05, 2015 at 05:19:30PM -0500, Vivek Goyal wrote: On Wed, Mar 04, 2015 at 05:56:48PM +0900, HATAYAMA Daisuke wrote: The commit f06e5153f4ae2e2f3b0300f0e260e40cb7fefd45 introduced crash_kexec_post_notifiers kernel boot option, which toggles wheather panic() calls crash_kexec()

[Patch v2] apple-gmux: lock iGP IO to protect from vgaarb changes

2015-03-05 Thread Bruno Prémont
As GMUX depends on IO for iGP to be enabled and active, lock the IO at vgaarb level. This should prevent GPU driver for dGPU to disable IO for iGP while it tries to own legacy VGA IO. This fixes usage of backlight control combined with closed nvidia driver on some Apple dual-GPU (intel/nvidia)

[PATCH v2] HID: wacom: ask for a in-prox report when it was missed

2015-03-05 Thread Benjamin Tissoires
If noone listens to the input device when a tool comes in proximity, the tablet does not send the in-prox event when a client becomes available. That means that no events will be sent until the tool is taken out of proximity. In this situation, ask for the report WACOM_REPORT_INTUOSREAD which

Re: [PATCH v1 3/6] eeprom: Add bindings for simple eeprom framework

2015-03-05 Thread Srinivas Kandagatla
+ +For example: + + /* Provider */ + qfprom: qfprom@0070 { + compatible = qcom,qfprom; + reg = 0x0070 0x1000; + ... + + /* Data cells */ + tsens_calibration: calib@404 { +

[PATCH] HID: wacom: check for wacom-shared before following the pointer

2015-03-05 Thread Benjamin Tissoires
486b908 (HID: wacom: do not send pen events before touch is up/forced out) introduces a kernel oops when plugging a tablet without touch. wacom-shared is null for these devices so this leads to a null pointer exception. Change the condition to make it clear that what we need is wacom-shared not

Re: [PATCH] firmware_class: Add firmware filename overrides

2015-03-05 Thread Dmitry Torokhov
On Thu, Mar 5, 2015 at 2:12 PM, Marcel Holtmann mar...@holtmann.org wrote: Hi Dmitry, Specifically this was motivated by a situation where we have one device with a dual-sourced touchscreen. Both use the same driver but have different hardware fw. Our FW updating software therefore, needs

Re: [PATCH v2 1/7] ARM: at91: switch to multiplatform

2015-03-05 Thread Rob Herring
On Thu, Mar 5, 2015 at 1:17 PM, Alexandre Belloni alexandre.bell...@free-electrons.com wrote: Switch AT91 to multiplatform as all SoCs are properly handled. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/Kconfig| 13 -

Re: [PATCH 1/8] pmem: Initial version of persistent memory driver

2015-03-05 Thread Andy Lutomirski
On Mar 5, 2015 3:55 AM, Boaz Harrosh b...@plexistor.com wrote: From: Ross Zwisler ross.zwis...@linux.intel.com PMEM is a new driver That supports any physical contiguous iomem range as a single block device. The driver has support for as many as needed iomem ranges each as its own device.

Re: [PATCH 1/3] drivers:pnp Add support for descendants claiming memory address space

2015-03-05 Thread Rafael J. Wysocki
On 2/17/2015 8:41 PM, Jake Oshins wrote: This patch adds some wrapper functions in the pnp layer. The intent is to allow memory address space claims by devices which are descendants (a child or grandchild of) a device which is already part of the pnp layer. This allows a device to make a

Re: [PATCH v2 1/4] i2c: sunxi: Add Reduced Serial Bus (RSB) support

2015-03-05 Thread Maxime Ripard
On Thu, Mar 05, 2015 at 07:40:44PM +0100, Wolfram Sang wrote: I don't have the bandwidth for a full review right now. However, I already wanted to tell you guys that my gut feeling is that this protocol is quite far away from I2C. P2WI was already at the edge. Maybe there is a better

Re: [RESEND PATCH] kernel/panic/kexec: fix crash_kexec_post_notifiers option issue in oops path

2015-03-05 Thread Vivek Goyal
On Wed, Mar 04, 2015 at 05:56:48PM +0900, HATAYAMA Daisuke wrote: The commit f06e5153f4ae2e2f3b0300f0e260e40cb7fefd45 introduced crash_kexec_post_notifiers kernel boot option, which toggles wheather panic() calls crash_kexec() before or after panic_notifiers and dump kmsg. The problem is

RE: Re: [PATCH v2 3/3] efi: Capsule update with user helper interface

2015-03-05 Thread Andy Lutomirski
On Mar 5, 2015 1:19 AM, Kweh, Hock Leong hock.leong.k...@intel.com wrote: -Original Message- From: Andy Lutomirski [mailto:l...@amacapital.net] Sent: Wednesday, March 04, 2015 4:38 AM On Mon, Mar 2, 2015 at 9:56 PM, Kweh, Hock Leong hock.leong.k...@intel.com wrote: Just

Re: [PATCH 0/3 v5] e820: Fix handling of NvDIMM chips

2015-03-05 Thread Andy Lutomirski
On Thu, Mar 5, 2015 at 2:48 PM, H. Peter Anvin h...@zytor.com wrote: Seriously, if type 12 is the de facto standard for NvDIMMs, I think we should add it. The documented ACPI method of using flags was doomed from the start. I think it's a de facto standard that type 12 means nvdimm. I don't

Re: [PATCHv2 04/10] fbdev: ssd1307fb: Unify init code and obtain hw specific bits from DT

2015-03-05 Thread Maxime Ripard
On Sun, Mar 01, 2015 at 11:27:57PM +0100, Thomas Niederprüm wrote: The SSD130X controllers are very similar from the configuration point of view. The configuration registers for the SSD1305/6/7 are bit identical (except the the VHCOM register and the the default values for clock setup

Re: [PATCH tip/core/rcu 02/20] x86: Use common outgoing-CPU-notification code

2015-03-05 Thread Paul E. McKenney
On Thu, Mar 05, 2015 at 04:17:59PM -0500, Boris Ostrovsky wrote: On 03/04/2015 10:25 AM, Paul E. McKenney wrote: On Wed, Mar 04, 2015 at 09:55:11AM -0500, Boris Ostrovsky wrote: The simple solution is to stop calling native_cpu_die() above but I'd like to use common code in native_cpu_die().

Re: [PATCH] firmware_class: Add firmware filename overrides

2015-03-05 Thread Marcel Holtmann
Hi Dmitry, Specifically this was motivated by a situation where we have one device with a dual-sourced touchscreen. Both use the same driver but have different hardware fw. Our FW updating software therefore, needs to be able to update with the correct FW and detect all this at runtime due

Re: linux-next: build failure after merge of the net-next tree

2015-03-05 Thread Stephen Rothwell
Hi Dave, On Thu, 05 Mar 2015 00:01:58 -0500 (EST) David Miller da...@davemloft.net wrote: From: Stephen Rothwell s...@canb.auug.org.au Date: Thu, 5 Mar 2015 13:42:47 +1100 From: Stephen Rothwell s...@canb.auug.org.au Date: Thu, 5 Mar 2015 13:37:05 +1100 Subject: [PATCH] mpls: using

Possible lock-less list race in scheduler_ipi()

2015-03-05 Thread Mathieu Desnoyers
Hi, I recently reviewed the scheduler_ipi() code by coincidence, and noticed that the use of llist.h in there seemed a bit odd. So I'd like to have more eyes to help me look into this. I've been told that there has been issues with IPIs lately, so here is one possible scenario I think might be

Re: [PATCH] MIPS: OCTEON: Use correct CSR to soft reset

2015-03-05 Thread David Daney
On 03/05/2015 07:06 AM, Aleksey Makarov wrote: From: Chandrakala Chavva ccha...@caviumnetworks.com This fixes reboot for Octeon III boards Signed-off-by: Chandrakala Chavva ccha...@caviumnetworks.com Signed-off-by: Aleksey Makarov aleksey.maka...@auriga.com Let's make a change to this

[PATCH 2/2] mm: numa: Do not clear PTEs or PMDs for NUMA hinting faults

2015-03-05 Thread Mel Gorman
Dave Chinner reported the following on https://lkml.org/lkml/2015/3/1/226 Across the board the 4.0-rc1 numbers are much slower, and the degradation is far worse when using the large memory footprint configs. Perf points straight at the cause - this is from 4.0-rc1 on the -o

[RFC PATCH 0/2] Automatic NUMA balancing and PROT_NONE handling followup

2015-03-05 Thread Mel Gorman
Dave Chinner reported a problem due to excessive NUMA balancing activity and bisected it. These are two patches that address two major issues with that series. The first patch is almost certainly unrelated to what he saw due to fact his vmstats showed no huge page activity but the fix is

Qemu e1000 broken in -rc1 and -rc2

2015-03-05 Thread Ken Moffat
I have a very recent qemu i686 image, using a 3.19.0 kernel and dhclient, which works fine if the host is running a 3.19.0 kernel, but breaks when the host runs 4.0.0-rc1 or -rc2. On those, dhclient does not get an address, so I have no network. There is a message e1000 :00:03.0 eth0: Reset

Re: [PATCH 1/1] KVM: ioapic: Record edge-triggered interrupts delivery status.

2015-03-05 Thread Marcelo Tosatti
On Wed, Dec 24, 2014 at 11:14:29AM +0800, Wincy Van wrote: This patch fixes the bug discussed in https://www.mail-archive.com/kvm@vger.kernel.org/msg109813.html This patch uses a new field named irr_delivered to record the delivery status of edge-triggered interrupts, and clears the

Re: [PATCH v2] sched, timer: Use atomics for thread_group_cputimer to improve scalability

2015-03-05 Thread Jason Low
On Thu, 2015-03-05 at 16:35 +0100, Frederic Weisbecker wrote: On Mon, Mar 02, 2015 at 10:42:11AM -0800, Jason Low wrote: +/* Sample thread_group_cputimer values in cputimer, copy results to times */ +static inline void sample_group_cputimer(struct task_cputime *times, +

Re: [Xen-devel] [PATCHv1] x86: don't schedule when handling #NM exception

2015-03-05 Thread H. Peter Anvin
On 06/23/2014 06:08 AM, Konrad Rzeszutek Wilk wrote: On Wed, Mar 19, 2014 at 08:02:22AM -0700, H. Peter Anvin wrote: On 03/19/2014 06:21 AM, Konrad Rzeszutek Wilk wrote: The following patch does the always eager allocation. It's a fixup of Suresh's original patch. Hey Peter, I think

Re: Oops with tip/x86/fpu

2015-03-05 Thread Dave Hansen
On 03/05/2015 10:42 AM, Borislav Petkov wrote: On Thu, Mar 05, 2015 at 04:13:38PM +0100, Oleg Nesterov wrote: Yes, yes, sure. That is what I meant, sorry for confusion. It might be worth to try with Quentin's patch which fixes the exception tables. I can imagine with wrong exception tables us

Re: [PATCH 0/5] x86: IA32 emulation cleanups

2015-03-05 Thread H. Peter Anvin
On 03/03/2015 10:22 PM, Brian Gerst wrote: It looks like most cases can simply be replaced. There are some subtle relations with the x32 ABI though, and that will take some time to sort out. Yes, some aspects of CONFIG_COMPAT is used also by x32. Overall the current Linux kernel handles

Re: [PATCH 0/3 v5] e820: Fix handling of NvDIMM chips

2015-03-05 Thread H. Peter Anvin
Seriously, if type 12 is the de facto standard for NvDIMMs, I think we should add it. The documented ACPI method of using flags was doomed from the start. -hpa -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH 3/3] e820: Add the unknown-12 Memory type (DDR3-NvDIMM)

2015-03-05 Thread Andy Lutomirski
On Thu, Mar 5, 2015 at 12:56 PM, Dan Williams dan.j.willi...@intel.com wrote: On Thu, Mar 5, 2015 at 2:24 AM, Boaz Harrosh b...@plexistor.com wrote: There are multiple vendors of DDR3 NvDIMMs out in the market today. At various stages of development/production. It is estimated that there are

  1   2   3   4   5   6   7   8   9   >