[PATCH 20/32] nios2: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 24/32] s390: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 16/32] metag: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 18/32] mips: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 11/32] frv: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

Re: [PATCH 07/12] clocksource: qcom: Remove dead code

2015-03-13 Thread Daniel Lezcano
On 03/13/2015 07:09 PM, Stephen Boyd wrote: This code is no longer used now that mach-msm has been removed. Delete it. Cc: Daniel Lezcano daniel.lezc...@linaro.org Cc: David Brown dav...@codeaurora.org Cc: Bryan Huntsman bry...@codeaurora.org Cc: Daniel Walker dwal...@fifo99.com Signed-off-by:

[PATCH] rnndb: update generated headers

2015-03-13 Thread Stephane Viau
From: Beeresh Gopal gbeer...@codeaurora.org To avoid ambiguity rename register FRAME_SIZE to SSTILE_FRAME_SIZE. Signed-off-by: Beeresh Gopal gbeer...@codeaurora.org --- rnndb/mdp/mdp4.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rnndb/mdp/mdp4.xml b/rnndb/mdp/mdp4.xml

[Patch] dt: OF_UNITTEST make dependency broken

2015-03-13 Thread Frank Rowand
From: Frank Rowand frank.row...@sonymobile.com If CONFIG_OF_UNITTEST=y then a kernel image make will always cause .version to be incremented, even if there are not source changes. This is caused by a lack of dependency tracking and checking for drivers/of/unittest-data/testcases.dtb.o.

[GIT PULL] sound fixes for 4.0-rc4

2015-03-13 Thread Takashi Iwai
Linus, please pull sound fixes for v4.0-rc4 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.0-rc4 The topmost commit is ef403edb75580a3ec5d155f5de82155f0419c621 sound fixes for 4.0-rc4 This

Re: [Cocci] [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-03-13 Thread Stephen Boyd
On 03/12/15 20:29, Shawn Guo wrote: On Thu, Mar 12, 2015 at 12:43:40PM -0700, Stephen Boyd wrote: On 03/12/15 10:20, Sebastian Andrzej Siewior wrote: On 2015-02-17 14:01:04 [-0800], Stephen Boyd wrote: diff = --- arch/arm/mach-imx/mach-imx6q.c +++ /tmp/cocci-output-11792-b62223-mach-imx6q.c

[PATCH 6/6] dts: msm8974: Add dma channels for blsp2_i2c1 node

2015-03-13 Thread Sricharan R
Signed-off-by: Sricharan R sricha...@codeaurora.org --- arch/arm/boot/dts/qcom-msm8974.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 3f648ae..1ec7ec5 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++

Re: [RFC] capabilities: Ambient capabilities

2015-03-13 Thread Andy Lutomirski
On Fri, Mar 13, 2015 at 9:06 AM, Christoph Lameter c...@linux.com wrote: On Fri, 13 Mar 2015, Andrew G. Morgan wrote: prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_SYS_ADMIN); system(/bin/bash); Let's call the above two lines [a] and [b]. With this patch, you are encouraging folk to

Re: [PATCH] ARM: at91: force CPU selection

2015-03-13 Thread Alexandre Belloni
On 10/03/2015 at 14:42:24 +0100, Arnd Bergmann wrote : On Tuesday 10 March 2015 10:42:09 Alexandre Belloni wrote: I actually added a bunch of these in other places, but have stopped doing so because Russell didn't like them, and I tend to follow his argument now that it's actually

Re: [PATCH V5] Allow compaction of unevictable pages

2015-03-13 Thread Michal Hocko
On Fri 13-03-15 15:09:15, Eric B Munson wrote: On Fri, 13 Mar 2015, Rik van Riel wrote: On 03/13/2015 01:26 PM, Eric B Munson wrote: --- a/mm/compaction.c +++ b/mm/compaction.c @@ -1046,6 +1046,8 @@ typedef enum { ISOLATE_SUCCESS,/* Pages isolated, migrate */ }

Re: [PATCH] mmc: dw_mmc: Consider HLE errors to be data and command errors

2015-03-13 Thread Doug Anderson
Hi, On Fri, Mar 13, 2015 at 4:30 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi, Doug. On 03/11/2015 12:48 AM, Doug Anderson wrote: The dw_mmc driver enables HLE errors as part of DW_MCI_ERROR_FLAGS but nothing in the interrupt handler actually handles them and ACKs them. That means

Re: [PATCH v4 4/9] selftests: Add install target

2015-03-13 Thread Shuah Khan
On 03/13/2015 11:20 AM, Shuah Khan wrote: On 03/10/2015 10:06 PM, Michael Ellerman wrote: This adds make install support to selftests. The basic usage is: $ cd tools/testing/selftests $ make install That installs into tools/testing/selftests/install, which can then be copied where ever

Re: [PATCH 12/12] crypto/sha-mb/sha1_mb.c : Syntax error

2015-03-13 Thread Tim Chen
On Fri, 2015-03-13 at 23:13 +0200, Ameen Ali wrote: fixing a syntax-error . Signed-off-by : Ameen Ali ameenali...@gmail.com --- arch/x86/crypto/sha-mb/sha1_mb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/crypto/sha-mb/sha1_mb.c

Re: [GIT PULL] cpuidle: 4.0-rc3 fixes

2015-03-13 Thread Rafael J. Wysocki
On Friday, March 13, 2015 06:42:30 PM Daniel Lezcano wrote: Hi Rafael, this pull request contains a couple of fixes: - Fix the cpu_pm_enter/exit symmetry in the mvebu driver (Gregory Clement) - Fix the mvebu drivers latency/residency values to reach an acceptable tradeoff between

Re: [GIT PULL] cpuidle: 4.0-rc3 fixes

2015-03-13 Thread Daniel Lezcano
On 03/13/2015 10:56 PM, Rafael J. Wysocki wrote: On Friday, March 13, 2015 06:42:30 PM Daniel Lezcano wrote: Hi Rafael, this pull request contains a couple of fixes: - Fix the cpu_pm_enter/exit symmetry in the mvebu driver (Gregory Clement) - Fix the mvebu drivers latency/residency

Re: [PATCH] phy: Add a driver for dm816x USB PHY

2015-03-13 Thread Tony Lindgren
* Matthijs van Duin matthijsvand...@gmail.com [150313 11:39]: Given that the documentation mentions the actual phy used, it may be worth mentioning this also in the driver? i.e. that it's not a dm816x phy but a SR70LX Synopsys USB 2.0 OTG nanoPHY (in contrast to the dm814x and am335x which

Re: [PATCH 01/12] ARM: Remove mach-msm and associated ARM architecture code

2015-03-13 Thread Paul Bolle
I've checked this series with my local Kconfig checker (for no other reason than that it removes board-sapphire.c and I had promised to do so too a week ago). On Fri, 2015-03-13 at 11:09 -0700, Stephen Boyd wrote: --- a/arch/arm/mach-msm/Kconfig +++ /dev/null -config MSM_SMD - bool After

Re: [PATCH 6/6] clone4: Introduce new CLONE_FD flag to get task exit notification via fd

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 05:21:13PM +0100, Oleg Nesterov wrote: Josh, I'll certainly try to read this series, but not before next week. Thanks for looking at it. but a couple of nits right now. On 03/12, Josh Triplett wrote: When passed CLONE_FD, clone4 will return a file descriptor

Re: [PATCH 00/12] Remove mach-msm and associated code

2015-03-13 Thread Arnd Bergmann
On Friday 13 March 2015 11:09:33 Stephen Boyd wrote: The maintainers for mach-msm no longer have any plans to support or test the platforms supported by this architecture[1]. Most likely there aren't any active users of this code anyway, so let's delete it and the associated drivers/code. We

Re: [PATCH 00/12] Remove mach-msm and associated code

2015-03-13 Thread Stephen Boyd
On 03/13/15 12:55, Arnd Bergmann wrote: On Friday 13 March 2015 11:09:33 Stephen Boyd wrote: The maintainers for mach-msm no longer have any plans to support or test the platforms supported by this architecture[1]. Most likely there aren't any active users of this code anyway, so let's delete

Re: [PATCH] Lock 7 is cpuidle specific, use non-generic value for locking

2015-03-13 Thread Lina Iyer
On Fri, Mar 13 2015 at 14:02 -0600, Andy Gross wrote: On Thu, Mar 12, 2015 at 04:16:00PM -0600, Lina Iyer wrote: snip It looks like the remote side unlocks it too? It doesn't seem like this will work with the framework very well. The framework has a kernel spinlock attached to the hwspinlock

Re: [PATCH 0/6] kbuild: mergeconfig: fix bugs, improve readability, and add generic entry point

2015-03-13 Thread Darren Hart
On 3/13/15, 1:27 AM, Josh Triplett j...@joshtriplett.org wrote: On Fri, Mar 13, 2015 at 03:21:37PM +0900, Masahiro Yamada wrote: This series is related to mergeconfig (scripts/kconfig/merge_config.sh): 1/6 and 2/6 fix bugs related to the parallel build. (-j option). 3/6 thru 5/6 are minor

Re: [PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-03-13 Thread Thomas Niederprüm
Am Tue, 10 Mar 2015 12:49:19 +0200 schrieb Tomi Valkeinen tomi.valkei...@ti.com: On 09/02/15 10:52, Maxime Ripard wrote: On Sat, Feb 07, 2015 at 05:42:44PM +0100, Thomas Niederprüm wrote: +static struct device_attribute device_attrs[] = { +__ATTR(contrast, S_IRUGO|S_IWUSR,

[PATCH 10/12] x86: Restrict MSR access when trusted_kernel is true

2015-03-13 Thread Matthew Garrett
Permitting write access to MSRs allows userspace to modify the running kernel. Prevent this if trusted_kernel is true. Based on a patch by Kees Cook. Cc: Kees Cook keesc...@chromium.org Signed-off-by: Matthew Garrett matthew.garr...@nebula.com --- arch/x86/kernel/msr.c | 8 1 file

[PATCH 11/12] asus-wmi: Restrict debugfs interface when trusted_kernel is true

2015-03-13 Thread Matthew Garrett
We have no way of validating what all of the Asus WMI methods do on a given machine, and there's a risk that some will allow hardware state to be manipulated in such a way that arbitrary code can be executed in the kernel. Prevent that if trusted_kernel is true. Signed-off-by: Matthew Garrett

Re: [PATCH 5/5] drm/msm/mdp5: Add hardware configuration for msm8x16

2015-03-13 Thread Stéphane Viau
Hi, Hi, On 03/09/2015 06:41 PM, Stephane Viau wrote: This change adds the hw configuration for msm8x16 chipsets in mdp5_cfg module. Note that only one external display interface is present in this configuration (DSI) but has not been enabled yet. It will be enabled once drm/msm driver

Re: [PATCH 05/12] net: smc91x: Remove dead code

2015-03-13 Thread Arnd Bergmann
On Friday 13 March 2015 11:09:38 Stephen Boyd wrote: This config no longer exists now that mach-msm has been removed. Delete it and the associated code. Cc: David S. Miller da...@davemloft.net Cc: David Brown dav...@codeaurora.org Cc: Bryan Huntsman bry...@codeaurora.org Cc: Daniel Walker

Re: [RFC] capabilities: Ambient capabilities

2015-03-13 Thread Kees Cook
On Fri, Mar 13, 2015 at 12:03 PM, Andy Lutomirski l...@amacapital.net wrote: On Fri, Mar 13, 2015 at 11:52 AM, Kees Cook keesc...@chromium.org wrote: All this said, almost half of the capabilities, if passed to flawed children with attacker controlled execution, can be elevated to full root

Re: [PATCH 6/6] dts: msm8974: Add dma channels for blsp2_i2c1 node

2015-03-13 Thread Andy Gross
On Fri, Mar 13, 2015 at 11:19:52PM +0530, Sricharan R wrote: Signed-off-by: Sricharan R sricha...@codeaurora.org --- Reviewed-by: Andy Gross agr...@codeaurora.org arch/arm/boot/dts/qcom-msm8974.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi

Re: [PATCH] checkpatch: catch all world writable debugfs_create_file

2015-03-13 Thread Joe Perches
On Fri, 2015-03-13 at 15:23 -0400, Nicholas Mc Guire wrote: Currently checkpatch will fuss if one uses world writable settings in debugfs files by passing S_IWUGO but not when passing S_IWOTH, S_IRWXUGO or S_IALLUGO. This patch extends the check to catches all cases exporting world writable

[PATCH v2 0/2] ARM: devicetree: Remove unused ti,codec property

2015-03-13 Thread Marek Belisko
ti,codec in not parsed in omap-twl4030 sound driver. It's not necessary to specify this property in DT because ti,twl4030-audio which ti,codec was pointing to by phandle is mfd driver and device for ASoC ic created w/o any DT property (codec name is hardcoded in ASoC driver). Please see reply [1]

[PATCH v2 1/2] ARM: dts: omap3: Remove all references to ti,codec property

2015-03-13 Thread Marek Belisko
ti,codec property is not used (parsed) in omap-twl4030 driver. The ti,twl4030-audio which ti,codec points by phandle is mfd driver and device for ASoC codec is created w/o DT compatible string. Removing all references in DT files. Signed-off-by: Marek Belisko ma...@goldelico.com ---

Re: [PATCH v2] dgnc: Don't save boards in memory that have failed to initialize

2015-03-13 Thread Mark Hounschell
On 03/12/2015 12:14 PM, Giedrius Statkevičius wrote: On 2015.03.12 12:08, Greg KH wrote: On Mon, Mar 09, 2015 at 06:29:38PM +0200, Giedrius Statkevičius wrote: Remove BOARD_FAILED and don't save dgnc_boards which failed to initialize. Assign the result of kzalloc() to brd in

[PATCH] Documentation: Remove mentioning of block barriers

2015-03-13 Thread Leonid V. Fedorenchik
Remove mentioning of block barriers since they were removed. Signed-off-by: Leonid V. Fedorenchik leonids...@gmail.com --- Documentation/block/biodoc.txt | 36 +--- 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/Documentation/block/biodoc.txt

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

2015-03-13 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

[PATCH v3 7/7] ARM: at91: drop AT91_TIMER_HZ

2015-03-13 Thread Alexandre Belloni
Drop AT91_TIMER_HZ as this can be handled using HZ_FIXED. Initial help message was: On AT91rm9200 chips where you're using a system clock derived from the 32768 Hz hardware clock, this tick rate should divide it exactly: use a power-of-two value, such as 128 or 256, to reduce timing errors caused

Re: [GIT PULL] at91: cleanup for 4.1 #2

2015-03-13 Thread Alexandre Belloni
On 13/03/2015 at 18:12:29 +0100, Nicolas Ferre wrote : Another cleanup series on top of the previous one that I sent you this afternoon ;-) I think it is the last time that we can remove a whole bunch of files and legacy code... We were getting used to it! Actually, the switch to multiplatform

[PATCH 02/12] Enforce module signatures when trusted kernel is enabled

2015-03-13 Thread Matthew Garrett
If trusted_kernel is true, require that all modules have valid signatures. Signed-off-by: Matthew Garrett matthew.garr...@nebula.com --- include/linux/module.h| 6 ++ kernel/module.c | 6 ++ security/trusted_kernel.c | 6 +- 3 files changed, 17 insertions(+), 1

Re: [PATCH] tracing: add trace event for memory-failure

2015-03-13 Thread Steven Rostedt
On Fri, 13 Mar 2015 09:37:34 -0700 Tony Luck tony.l...@gmail.com wrote: int sysctl_memory_failure_early_kill __read_mostly = 0; @@ -837,6 +838,8 @@ static struct page_state { */ static void action_result(unsigned long pfn, char *msg, int result) { +

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Josh Triplett
On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett j...@joshtriplett.org wrote: This patch series introduces a new clone flag, CLONE_FD, which lets the caller handle child process exit notification via a file descriptor rather

Re: [PATCH 00/12] Remove mach-msm and associated code

2015-03-13 Thread Arnd Bergmann
On Friday 13 March 2015 20:55:30 Arnd Bergmann wrote: I think the MMC driver should also be removed when the platform code is deleted, new code would use the mmci driver anyway. Nevermind, I now see patch 6/12, which does just this. Arnd -- To unsubscribe from this list: send the

Re: [PATCH 3/6] ARM64: cpuidle: Replace cpu_suspend by the common ARM/ARM64 function

2015-03-13 Thread Daniel Lezcano
On 03/13/2015 07:21 PM, Catalin Marinas wrote: On Tue, Mar 03, 2015 at 01:29:34PM +0100, Daniel Lezcano wrote: Call the common ARM/ARM64 'arm_cpuidle_suspend' instead of cpu_suspend function which is specific to ARM64. Signed-off-by: Daniel Lezcano daniel.lezc...@linaro.org ---

Re: [PATCH 2/6] x86: Opt into HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit

2015-03-13 Thread Andy Lutomirski
On Thu, Mar 12, 2015 at 6:40 PM, Josh Triplett j...@joshtriplett.org wrote: For 32-bit userspace on a 64-bit kernel, this requires modifying stub32_clone to actually swap the appropriate arguments to match CONFIG_CLONE_BACKWARDS, rather than just leaving the C argument for tls broken.

[PATCH v3 1/4] drm/msm/mdp5: Update generated header files

2015-03-13 Thread Stephane Viau
Prepare for pipeline operation mode configuration, in particular for DSI and WB modes. Signed-off-by: Stephane Viau sv...@codeaurora.org --- drivers/gpu/drm/msm/mdp/mdp5/mdp5.xml.h | 68 - 1 file changed, 33 insertions(+), 35 deletions(-) diff --git

[PATCH v3 4/4] drm/msm/mdp5: Make the intf connection in config module

2015-03-13 Thread Stephane Viau
Up until now, we assume that eDP is tight to intf_0 and HDMI to intf_3. This information shall actually come from the mdp5_cfg module since it can change from one chip to another. v2: rename macro to mdp5_cfg_intf_is_virtual() [pointed by Archit] v3: add sanity check before writing in

[PATCH v3 3/4] drm/msm/mdp5: Add START signal to kick off certain pipelines

2015-03-13 Thread Stephane Viau
Some interfaces (WB, DSI Command Mode) need to be kicked off through a START Signal. This signal needs to be sent at the right time and requests in some cases to keep track of the pipeline status (eg: whether pipeline registers are flushed AND output WB buffers are ready, in case of WB interface).

Re: [PATCH] Lock 7 is cpuidle specific, use non-generic value for locking

2015-03-13 Thread Andy Gross
On Thu, Mar 12, 2015 at 04:16:00PM -0600, Lina Iyer wrote: snip It looks like the remote side unlocks it too? It doesn't seem like this will work with the framework very well. The framework has a kernel spinlock attached to the hwspinlock so when we lock the hwspinlock we also lock the

[PATCH v2 2/2] Documentation: omap-twl4030: Move ti,codec property to optional

2015-03-13 Thread Marek Belisko
ti,codec property is not used in omap-twl4030 driver in linux kernel but we keep it as optional property, so that the existing dtbs do not become noncompliant after the change on other OS. Signed-off-by: Marek Belisko ma...@goldelico.com ---

Re: [PATCH 07/12] clocksource: qcom: Remove dead code

2015-03-13 Thread Daniel Lezcano
On 03/13/2015 07:22 PM, Stephen Boyd wrote: On 03/13/15 11:14, Daniel Lezcano wrote: On 03/13/2015 07:09 PM, Stephen Boyd wrote: This code is no longer used now that mach-msm has been removed. Delete it. Cc: Daniel Lezcano daniel.lezc...@linaro.org Cc: David Brown dav...@codeaurora.org Cc:

Re: [Bugfix] x86/PCI: Release PCI IRQ resource only if PCI device is disabled when unbinding

2015-03-13 Thread Rafael J. Wysocki
On Friday, March 13, 2015 10:06:43 AM Jiang Liu wrote: To support IOAPIC hot-removal, we need to release PCI interrupt resource when unbinding PCI device driver. But due to historical reason, /* * We would love to complain here if pci_dev-is_enabled is set, that * the driver should have

Re: [PATCH 0/6] ARM: cpuidle: Unify the ARM64/ARM DT approach

2015-03-13 Thread Daniel Lezcano
On 03/13/2015 09:51 PM, Rob Herring wrote: On Thu, Mar 12, 2015 at 9:25 AM, Daniel Lezcano daniel.lezc...@linaro.org wrote: Catalin, Rob, do you agree with this patchset ? There's very little to do with DT, but looks fine to me. Shall I consider as a acked-by for the entire patchset or

Re: [PATCH 4/8] fbdev: ssd1307fb: Use vmalloc to allocate video memory.

2015-03-13 Thread Thomas Niederprüm
Am Tue, 10 Mar 2015 13:28:25 +0200 schrieb Tomi Valkeinen tomi.valkei...@ti.com: On 14/02/15 16:22, Thomas Niederprüm wrote: Am Thu, 12 Feb 2015 16:11:21 +0100 schrieb Maxime Ripard maxime.rip...@free-electrons.com: On Sat, Feb 07, 2015 at 04:35:41PM +0100, Thomas Niederprüm wrote: Am

[PATCH v3 1/5] mm, x86: Document return values of mapping funcs

2015-03-13 Thread Toshi Kani
Document the return values of KVA mapping functions, pud_set_huge(), pmd_set_huge, pud_clear_huge() and pmd_clear_huge(). Simplify the conditions to select HAVE_ARCH_HUGE_VMAP in the Kconfig, since X86_PAE depends on X86_32. There is no functional change in this patch. Signed-off-by: Toshi Kani

Re: [PATCH 5/8] fbdev: ssd1307fb: Add module parameter bitsperpixel.

2015-03-13 Thread Thomas Niederprüm
Am Tue, 10 Mar 2015 12:45:49 +0200 schrieb Tomi Valkeinen tomi.valkei...@ti.com: On 14/02/15 17:54, Maxime Ripard wrote: On Sat, Feb 07, 2015 at 05:05:03PM +0100, Thomas Niederprüm wrote: Am Sat, 7 Feb 2015 12:20:43 +0100 schrieb Maxime Ripard maxime.rip...@free-electrons.com: On Fri,

[PATCH v3 4/5] mtrr, x86: Clean up mtrr_type_lookup()

2015-03-13 Thread Toshi Kani
MTRRs contain fixed and variable entries. mtrr_type_lookup() may repeatedly call __mtrr_type_lookup() to handle a request that overlaps with variable entries. However, __mtrr_type_lookup() also handles the fixed entries, which do not have to be repeated. Therefore, this patch creates separate

Re: [PATCH] audit: Remove condition which always evaluates to false

2015-03-13 Thread Paul Moore
On Wed, Mar 11, 2015 at 2:08 PM, Pranith Kumar bobby.pr...@gmail.com wrote: After commit 3e1d0bb6224f019893d1c498cc3327559d183674 (audit: Convert int limit uses to u32), by converting an int to u32, few conditions will always evaluate to false. These warnings were emitted during

Re: [PATCH 6/6] clone4: Introduce new CLONE_FD flag to get task exit notification via fd

2015-03-13 Thread Andy Lutomirski
On Fri, Mar 13, 2015 at 12:57 PM, j...@joshtriplett.org wrote: On Fri, Mar 13, 2015 at 05:21:13PM +0100, Oleg Nesterov wrote: Josh, I'll certainly try to read this series, but not before next week. Thanks for looking at it. but a couple of nits right now. On 03/12, Josh Triplett wrote:

Re: [PATCH] parisc: fix pmd accounting with 3-level page tables

2015-03-13 Thread Graham Gower
This fixes the problem on my C8000. Tested-by: graham.go...@gmail.com On 13 March 2015 at 21:00, Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: There's hack in pgd_alloc() on parisc to initialize one pmd, which is not accounted. It leads to underflow on exit. Let's adjust nr_pmds

[PATCH 12/12] Add option to automatically set trusted_kernel when in Secure Boot mode

2015-03-13 Thread Matthew Garrett
UEFI Secure Boot provides a mechanism for ensuring that the firmware will only load signed bootloaders and kernels. Certain use cases may also require that the kernel prevent userspace from inserting untrusted kernel code at runtime. Add a configuration option that enforces this automatically when

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

2015-03-13 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 v4 2/2] dmaengine: Add ADM driver

2015-03-13 Thread Andy Gross
On Fri, Mar 13, 2015 at 02:27:45PM +0530, Vinod Koul wrote: On Wed, Feb 11, 2015 at 11:46:05PM -0600, Andy Gross wrote: +++ b/drivers/dma/qcom_adm.c @@ -0,0 +1,901 @@ +/* + * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. shouldn't this be 15 :) yeah, need to

Re: [PATCH v3 0/7] Switch mach-at91 to multiplatform

2015-03-13 Thread Alexandre Belloni
Nicolas, On 13/03/2015 at 22:57:17 +0100, Alexandre Belloni wrote : AT91 is now ready to switch to multiplatform. Do it and clean the remaining mach includes. Changes in v3: - use a menu structure as asked by Arnd - remove useless selects as pointed by Rob - drop a patch that has

Re: [PATCH v2 0/3] btrfs: ENOMEM bugfixes

2015-03-13 Thread Omar Sandoval
On Fri, Mar 13, 2015 at 12:04:30PM +0100, David Sterba wrote: On Wed, Mar 11, 2015 at 09:40:17PM -0700, Omar Sandoval wrote: Ping. For anyone following along, it looks like commit cc87317726f8 (mm: page_alloc: revert inadvertent !__GFP_FS retry behavior change) reverted the commit that

[PATCH v3 2/4] drm/msm/mdp5: Enhance operation mode for pipeline configuration

2015-03-13 Thread Stephane Viau
DSI and WB interfaces need a more complex pipeline configuration than the current mdp5_ctl_set_intf(). For example, memory output connections need to be selected for WB. Interface mode (Video vs. Command modes) also need to be configured for DSI. This change takes care of configuring the whole

Re: [PATCH] ARM: at91: force CPU selection

2015-03-13 Thread Arnd Bergmann
On Friday 13 March 2015 19:32:00 Alexandre Belloni wrote: On 10/03/2015 at 14:42:24 +0100, Arnd Bergmann wrote : On Tuesday 10 March 2015 10:42:09 Alexandre Belloni wrote: I actually added a bunch of these in other places, but have stopped doing so because Russell didn't like them,

[PATCH v3 0/4] drm/msm: preparation for WB/DSI connectors

2015-03-13 Thread Stephane Viau
WB and DSI support are in the pipe and will come out soon. Before that, we need to prepare the MDP5 driver so we can support these connectors. v2: rename macro to mdp5_cfg_intf_is_virtual() [pointed by Archit] v3: add sanity check before writing in INTF_TIMING_ENGINE_EN registers Note: drm/msm:

Re: [PATCH V5] Allow compaction of unevictable pages

2015-03-13 Thread Michal Hocko
On Fri 13-03-15 13:26:37, Eric B Munson wrote: [...] +compact_unevictable + +Available only when CONFIG_COMPACTION is set. When set to 1, compaction is +allowed to examine the unevictable lru (mlocked pages) for pages to compact. +This should be used on systems where stalls for minor page

Re: [PATCH] x86: Add kerneldoc for pcommit_sfence()

2015-03-13 Thread Ross Zwisler
On Thu, 2015-03-12 at 11:58 +0100, Ingo Molnar wrote: +/** + * pcommit_sfence() - persistent commit and fence + * + * The pcommit instruction ensures that data that has been flushed from the + * processor's cache hierarchy with clwb, clflushopt or clflush is accepted to +

Re: [PATCH] ARM: at91: force CPU selection

2015-03-13 Thread Alexandre Belloni
On 13/03/2015 at 20:50:59 +0100, Arnd Bergmann wrote : Actually, I had a closer look today and there is already just one level in my current version of patches. I can put everything under menuconfig ARCH_AT91 but I can't remove SOC_SAM_V7 and SOC_SAM_V4_V5 because that is what is

Re: [PATCH 01/12] ARM: Remove mach-msm and associated ARM architecture code

2015-03-13 Thread Stephen Boyd
On 03/13/15 12:36, Paul Bolle wrote: I've checked this series with my local Kconfig checker (for no other reason than that it removes board-sapphire.c and I had promised to do so too a week ago). On Fri, 2015-03-13 at 11:09 -0700, Stephen Boyd wrote: --- a/arch/arm/mach-msm/Kconfig +++

Re: [PATCH] checkpatch: catch all world writable debugfs_create_file

2015-03-13 Thread Joe Perches
On Fri, 2015-03-13 at 15:23 -0400, Nicholas Mc Guire wrote: Currently checkpatch will fuss if one uses world writable settings in debugfs files by passing S_IWUGO but not when passing S_IWOTH, S_IRWXUGO or S_IALLUGO. This patch extends the check to catches all cases exporting world writable

Re: [PATCH 0/6] ARM: cpuidle: Unify the ARM64/ARM DT approach

2015-03-13 Thread Rob Herring
On Thu, Mar 12, 2015 at 9:25 AM, Daniel Lezcano daniel.lezc...@linaro.org wrote: Catalin, Rob, do you agree with this patchset ? There's very little to do with DT, but looks fine to me. Rob Thanks -- Daniel On 03/03/2015 01:29 PM, Daniel Lezcano wrote: There is a big number of

Re: [GIT PULL] at91: cleanup for 4.1 #2

2015-03-13 Thread Arnd Bergmann
On Friday 13 March 2015 18:12:29 Nicolas Ferre wrote: Arnd, Olof, Kevin, Another cleanup series on top of the previous one that I sent you this afternoon ;-) I think it is the last time that we can remove a whole bunch of files and legacy code... We were getting used to it! I still have

[GIT PULL] Power management and ACPI fixes for 4.0-rc

2015-03-13 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-4.0-rc4 to receive power management and ACPI fixes for v4.0-rc4 with top-most commit b176023392360f28c0c8964a10effbc9a1f36c04 Merge branch 'pm-tools' on top of commit

Re: [update][PATCH v10 06/21] ACPI / sleep: Introduce CONFIG_ACPI_GENERIC_SLEEP

2015-03-13 Thread Rafael J. Wysocki
On Friday, March 13, 2015 04:14:29 PM Hanjun Guo wrote: From: Graeme Gregory graeme.greg...@linaro.org ACPI 5.1 does not currently support S states for ARM64 hardware but ACPI code will call acpi_target_system_state() and acpi_sleep_init() for device power management, so introduce

[PATCH v3 0/5] mtrr, mm, x86: Enhance MTRR checks for huge I/O mapping

2015-03-13 Thread Toshi Kani
This patchset enhances MTRR checks for the kernel huge I/O mapping, which was enabled by the patchset below: https://lkml.org/lkml/2015/3/3/589 The following functional changes are made in patch 5/5. - Allow pud_set_huge() and pmd_set_huge() to create a huge page mapping to a range covered

[PATCH 08/12] kexec: Disable loading of unverified images

2015-03-13 Thread Matthew Garrett
kexec permits the loading and execution of arbitrary code in ring 0, which permits the modification of the running kernel. Restrict it such that only images which have been verified may be loaded when trusted_kernel is true. Signed-off-by: Matthew Garrett matthew.garr...@nebula.com ---

[PATCH 05/12] Restrict /dev/mem and /dev/kmem when trusted_kernel is true

2015-03-13 Thread Matthew Garrett
Allowing users to write to address space provides mechanisms that may permit modification of the kernel at runtime. Prevent this if trusted_kernel is true. Signed-off-by: Matthew Garrett matthew.garr...@nebula.com --- drivers/char/mem.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH 06/12] acpi: Limit access to custom_method if trusted_kernel is true

2015-03-13 Thread Matthew Garrett
custom_method effectively allows arbitrary access to system memory, making it possible for an attacker to modify the kernel at runtime. Prevent this if trusted_kernel is true. Signed-off-by: Matthew Garrett matthew.garr...@nebula.com --- drivers/acpi/custom_method.c | 4 1 file changed, 4

[PATCH 09/12] uswsusp: Disable when trusted_kernel is true

2015-03-13 Thread Matthew Garrett
uswsusp allows a user process to dump and then restore kernel state, which makes it possible to modify the running kernel. Disable this if trusted_kernel is true. Signed-off-by: Matthew Garrett matthew.garr...@nebula.com --- kernel/power/user.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH 07/12] acpi: Ignore acpi_rsdp kernel parameter when trusted_kernel is true.

2015-03-13 Thread Matthew Garrett
From: Josh Boyer jwbo...@redhat.com This option allows userspace to pass the RSDP address to the kernel, which makes it possible for a user to execute arbitrary code in the kernel. Disable this when trusted_kernel is true. Signed-off-by: Josh Boyer jwbo...@redhat.com --- drivers/acpi/osl.c | 3

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 02:33:44PM -0700, Andy Lutomirski wrote: On Fri, Mar 13, 2015 at 12:42 PM, Josh Triplett j...@joshtriplett.org wrote: On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett j...@joshtriplett.org wrote: This

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Andy Lutomirski
On Fri, Mar 13, 2015 at 2:45 PM, j...@joshtriplett.org wrote: On Fri, Mar 13, 2015 at 02:33:44PM -0700, Andy Lutomirski wrote: On Fri, Mar 13, 2015 at 12:42 PM, Josh Triplett j...@joshtriplett.org wrote: On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: On Fri, Mar 13, 2015

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

2015-03-13 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 811e72bbe642..bcef49a21801 100644 ---

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

2015-03-13 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 ++-

[PATCH v3 5/7] ARM: at91: remove SoC headers

2015-03-13 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 ---

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

2015-03-13 Thread Alexandre Belloni
AT91 is now ready to switch to multiplatform. Do it and clean the remaining mach includes. Changes in v3: - use a menu structure as asked by Arnd - remove useless selects as pointed by Rob - drop a patch that has already been applied - add a patch to remove AT91_TIMER_HZ Changes in v2: -

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

2015-03-13 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 | 119 +++- arch/arm/mach-at91/Makefile | 2 + 3

[PATCH] blk-mq: rationalize plug

2015-03-13 Thread Shaohua Li
Previous post of the patch is lost, so I repost. This is helpful, for example, using scsi-mq for a sata drive. plug is still helpful for workload with IO merge, but it can be harmful otherwise especially with multiple hardware queues, as there is (supposed) no lock contention in this case and

Re: [PATCH v2] dgnc: Don't save boards in memory that have failed to initialize

2015-03-13 Thread Giedrius Statkevičius
Hi Greg, On 2015.03.12 12:08, Greg KH wrote: On Mon, Mar 09, 2015 at 06:29:38PM +0200, Giedrius Statkevičius wrote: Remove BOARD_FAILED and don't save dgnc_boards which failed to initialize. Assign the result of kzalloc() to brd in dgnc_found_board() and only put it in the dgnc_Board[] if

Re: [RFC 1/2] mmc: read mmc alias from device tree

2015-03-13 Thread Doug Anderson
Hi, On Tue, Apr 1, 2014 at 1:35 PM, ste...@agner.ch wrote: From: Stefan Agner ste...@agner.ch To get the SD/MMC host device ID, read the alias from the device tree. This is useful in case a SoC has multipe SD/MMC host controllers while the second controller should logically be the first

Re: [PATCH 01/15] perf build: Disable default check for libbabeltrace

2015-03-13 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 13, 2015 at 05:20:11PM +0100, Jiri Olsa escreveu: On Fri, Mar 13, 2015 at 12:36:21PM -0300, Arnaldo Carvalho de Melo wrote: SNIP Auto-detecting system features: ... dwarf: [ on ] ... glibc: [ on ] ...

[PATCH] selftests: check that execveat returns negative values in case of errors

2015-03-13 Thread Andrey Vagin
Currently we check that execveat returns non-positive value when an error is expected. But we need to check that execveat() doesn't return zero in such cases too. Cc: Shuah Khan shua...@osg.samsung.com Signed-off-by: Andrey Vagin ava...@openvz.org --- tools/testing/selftests/exec/execveat.c | 2

Re: [PATCH] checkkconfigsymbols.py: make it Git aware

2015-03-13 Thread Paul Bolle
On Wed, 2015-03-11 at 16:04 +0100, Valentin Rothberg wrote: Paul, how long does your monster run? Maybe I just call it wrong or mess up with caches. Even longer, I presume. Because an update for just a new linux next release can take over a minute on my fastest machine (a ThinkPad X220).

[PATCH 12/12] crypto/sha-mb/sha1_mb.c : Syntax error

2015-03-13 Thread Ameen Ali
fixing a syntax-error . Signed-off-by : Ameen Ali ameenali...@gmail.com --- arch/x86/crypto/sha-mb/sha1_mb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/crypto/sha-mb/sha1_mb.c b/arch/x86/crypto/sha-mb/sha1_mb.c index fd9f6b0..ec0b989 100644 ---

Re: [PATCH 0/6] ARM: cpuidle: Unify the ARM64/ARM DT approach

2015-03-13 Thread Daniel Lezcano
On 03/13/2015 07:29 PM, Catalin Marinas wrote: On Thu, Mar 12, 2015 at 03:25:34PM +0100, Daniel Lezcano wrote: do you agree with this patchset ? In principle yes, apart from some function naming and I'm waiting for Lorenzo's ack as well. Do you plan to upstream this directly via your tree? If

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