[PATCH V2] ARM: debug: move StrongARM debug include to arch/arm/include/debug

2014-10-20 Thread Dmitry Eremin-Solenikov
StrongARM debug-macro.S is quite standalone thing, depending only on register mappings. Move it to proper place and add Kconfig entry. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/arm/Kconfig.debug | 9 +

Re: [PATCH v3] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-10-20 Thread Kirill Tkhai
Hi, Oleg, On 20.10.2014 22:27, Oleg Nesterov wrote: On 10/20, Oleg Nesterov wrote: On 10/20, Oleg Nesterov wrote: Again, perhaps we will need to change the lifetime rules for task_struct anyway, if we have more problems like this. But until then this looks like an overkill to me. Plus

[PATCH] staging: clocking-wizard: Contain macro argument in parenthesis

2014-10-20 Thread Soren Brinkmann
A macro doing some arithmetic to calculate a register offset, did not contain an argument to the macro in parentheses, potentially leading to unexpected results when using that macro with arithmetic expressions as argument. Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com ---

Re: [PATCH] cmpxchg: Discard unnecessary cast to volatile

2014-10-20 Thread Pranith Kumar
ping. On Wed, Oct 1, 2014 at 1:57 PM, Pranith Kumar bobby.pr...@gmail.com wrote: Generating a volatile pointer is really not necessary here. This is the only location where a volatile pointer is being generated for use in asm. This commit removes the unnecessary volatile pointer being

Re: [PATCH V5 0/5] audit by executable name

2014-10-20 Thread Steve Grubb
On Thursday, October 02, 2014 11:06:51 PM Richard Guy Briggs wrote: This is a part of Peter Moody, my and Eric Paris' work to implement audit by executable name. Does this patch set define an AUDIT_VERSION_SOMETHING and then set AUDIT_VERSION_LATEST to it? If not, I need one to tell if the

Re: [PATCH 7/8] x86: Add documentation for rd/wr fs/gs base

2014-10-20 Thread Konrad Rzeszutek Wilk
On Tue, Oct 14, 2014 at 10:11:50PM -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com Signed-off-by: Andi Kleen a...@linux.intel.com --- Documentation/x86/fsgs.txt | 73 ++ 1 file changed, 73 insertions(+) create mode 100644

localed stuck in recent 3.18 git in copy_net_ns?

2014-10-20 Thread Kevin Fenzi
Greetings. I'm seeing suspend/resume failures with recent 3.18 git kernels. Full dmesg at: http://paste.fedoraproject.org/143615/83287914/ The possibly interesting parts: [ 78.373144] PM: Syncing filesystems ... done. [ 78.411180] PM: Preparing system for mem sleep [ 78.411995]

Re: [PATCH v2 1/7] taint: add TAINT_DEBUG for invasive debugging features

2014-10-20 Thread Luis R. Rodriguez
On Wed, Oct 15, 2014 at 04:05:06PM +1030, Rusty Russell wrote: Luis R. Rodriguez mcg...@do-not-panic.com writes: From: Luis R. Rodriguez mcg...@suse.com At times we may add module parameters or debugging / testing kernel features, when enabled though we don't really want to be spending

Re: localed stuck in recent 3.18 git in copy_net_ns?

2014-10-20 Thread Dave Jones
On Mon, Oct 20, 2014 at 02:15:15PM -0600, Kevin Fenzi wrote: I'm seeing suspend/resume failures with recent 3.18 git kernels. Full dmesg at: http://paste.fedoraproject.org/143615/83287914/ The possibly interesting parts: [ 78.373144] PM: Syncing filesystems ... done. [

Re: [PATCH 3/4] UBI: Fastmap: Care about the protection queue

2014-10-20 Thread Richard Weinberger
Am 20.10.2014 um 17:40 schrieb Artem Bityutskiy: Also, say, PEB X is in the work queue waiting for erasure. Fastmap comes along and saves it as must be erased in the fastmap. Fastmap finishes its job, PEB X gets erased, and I write my data there, so PEB X is referred to by LEB Y. Now I have

Re: [PATCH v3] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-10-20 Thread Oleg Nesterov
On 10/21, Kirill Tkhai wrote: I think generic helper is a good idea. The prototype looks OK. But I'm a little doubt about retry loop. If this helper is generic and one day it may move to ./include directory, Well, if we add a generic helper I think it should be exported even if it has a

Re: localed stuck in recent 3.18 git in copy_net_ns?

2014-10-20 Thread Kevin Fenzi
On Mon, 20 Oct 2014 16:43:26 -0400 Dave Jones da...@redhat.com wrote: I've seen similar soft lockup traces from the sys_unshare path when running my fuzz tester. It seems that if you create enough network namespaces, it can take a huge amount of time for them to be iterated. (Running trinity

Re: Sparse warning: initializer entry defined twice - sparse can't handle bool?

2014-10-20 Thread Mariusz Gorski
Yes, I've actually used outdated sparse in version 0.4.3. After updating to the latest one, built from master in git repo, the issue is gone. Thanks. On 19 October 2014 23:40, Ramsay Jones ram...@ramsay1.demon.co.uk wrote: On 19/10/14 18:21, Randy Dunlap wrote: [adding linux-sparse mailing

Re: [PATCH v5] init: Disable defaults if init= fails

2014-10-20 Thread Josh Triplett
On Mon, Oct 20, 2014 at 01:14:54PM -0700, Andy Lutomirski wrote: On Tue, Oct 14, 2014 at 2:00 PM, Andrew Morton a...@linux-foundation.org wrote: On Wed, 1 Oct 2014 11:13:14 -0700 Andy Lutomirski l...@amacapital.net wrote: On Wed, Oct 1, 2014 at 11:05 AM, j...@joshtriplett.org wrote:

Re: [PATCH v3] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-10-20 Thread Kirill Tkhai
On 21.10.2014 00:50, Oleg Nesterov wrote: On 10/21, Kirill Tkhai wrote: I think generic helper is a good idea. The prototype looks OK. But I'm a little doubt about retry loop. If this helper is generic and one day it may move to ./include directory, Well, if we add a generic helper I

[PATCH v3 0/2] ARM: EXYNOS: Call regulator suspend prepare/finish

2014-10-20 Thread Javier Martinez Canillas
Hello, This series add support for Exynos platforms to prepare regulators for system suspend. The regulator core has a set of helpers functions to be used when the system is entering and leaving from a suspend state but currently there is only one user in mainline. This user is

[PATCH v3 2/2] ARM: EXYNOS: Call regulator core suspend prepare and finish functions

2014-10-20 Thread Javier Martinez Canillas
The regulator framework has a set of helpers functions to be used when the system is entering and leaving from suspend but these are not called on Exynos platforms. This means that the .set_suspend_* function handlers defined by regulator drivers are not called when the system is suspended.

[PATCH v3 1/2] Revert mfd: sec-core: Prepare regulators for suspend state to reduce power-consumption

2014-10-20 Thread Javier Martinez Canillas
This reverts commit b7cde7078d2344073c310aa65fc2b0a845d2cb5b (mfd: sec-core: Prepare regulators for suspend state to reduce power-consumption) Commit b7cde7078d23 called regulator_suspend_prepare() to prepare the regulators for a suspend state. But it did from the device pm suspend handler while

[PATCH v8 00/11] Coresight framework and drivers

2014-10-20 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Coresight is an umbrella of technologies allowing for the debugging of ARM based SoCs. It includes solutions for JTAG and HW assisted tracing. This patchset is concerned with the latter. Coresight components are cathegorised as source, link and

[PATCH v8 03/11] coresight-tpiu: add CoreSight TPIU driver

2014-10-20 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org This driver manages CoreSight TPIU (Trace Port Interface Unit) which acts as a sink. TPIU is typically connected to some offchip hardware hosting a storage buffer. Signed-off-by: Pratik Patel prat...@codeaurora.org Signed-off-by: Mathieu Poirier

[PATCH v8 10/11] coresight: adding basic support for Vexpress TC2

2014-10-20 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Support for the 2 PTMs, 3 ETMs, funnel, TPIU and replicator connected to the ETB are included. Proper handling of the ITM and the replicator linked to it along with the CTIs and SWO are not included. Signed-off-by: Mathieu Poirier

[PATCH v8 01/11] coresight: add CoreSight core layer framework

2014-10-20 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org CoreSight components are compliant with the ARM CoreSight architecture specification and can be connected in various topologies to suit a particular SoC tracing needs. These trace components can generally be classified as sources, links and sinks. Trace

[PATCH v8 09/11] coresight: adding support for beagle and beagleXM

2014-10-20 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Currently supporting ETM and ETB. Support for TPIU and SDTI are yet to be added. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- arch/arm/boot/dts/omap3-beagle-xm.dts | 28

[PATCH v8 08/11] coresight: documentation for coresight framework and drivers

2014-10-20 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Documentation containing an explanation on what the framework provides and the drivers working with it. A minimal example on how to use the functionality is also provided. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org ---

Re: [PATCH 2/5] scsi: bfa: bfa_fcs_lport.c: Cleaning up missing null-terminate by switching from strncpy to strzcpy

2014-10-20 Thread Rickard Strandqvist
2014-10-20 17:37 GMT+02:00 Dan Carpenter dan.carpen...@oracle.com: On Sun, Oct 19, 2014 at 12:13:10AM +0200, Rickard Strandqvist wrote: Ensures that the string is null-terminate in connection with the use of strncpy, by switching from strncpy to strzcpy. I wish the changelogs were more clear

[PATCH v8 11/11] ARM: removing support for etb/etm in arch/arm/kernel/

2014-10-20 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Removing minimal support for etb/etm to favour an implementation that is more flexible, extensible and capable of handling more platforms. Also removing the only client of the old driver. That code can easily be replaced by entries for etb/etm in

[PATCH v8 02/11] coresight-tmc: add CoreSight TMC driver

2014-10-20 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org This driver manages CoreSight TMC (Trace Memory Controller) which can act as a link or a sink depending upon its configuration. It can present itself as an ETF (Embedded Trace FIFO) or ETR (Embedded Trace Router). ETF when configured in circular buffer

[PATCH v8 05/11] coresight-funnel: add CoreSight Funnel driver

2014-10-20 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org This driver manages CoreSight Funnel which acts as a link. Funnels have multiple input ports (typically 8) each of which represents an input trace data stream. These multiple input trace data streams are interleaved into a single output stream coming out

[PATCH v8 06/11] coresight-replicator: add CoreSight Replicator driver

2014-10-20 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org This driver manages non-configurable CoreSight Replicator that takes a single input trace data stream and replicates it to produce two identical trace data output streams. Replicators are typically used to route single interleaved trace data stream to two

[PATCH v8 07/11] coresight-etm: add CoreSight ETM/PTM driver

2014-10-20 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org This driver manages CoreSight ETM (Embedded Trace Macrocell) that supports processor tracing. Currently supported version are ARM ETMv3.x and PTM1.x. Signed-off-by: Pratik Patel prat...@codeaurora.org Signed-off-by: Mathieu Poirier

[PATCH v8 04/11] coresight-etb: add CoreSight ETB driver

2014-10-20 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org This driver manages CoreSight ETB (Embedded Trace Buffer) which acts as a circular buffer sink collecting generated trace data. Signed-off-by: Pratik Patel prat...@codeaurora.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org ---

Re: [PATCH 5/5] vfio/iommu_type1: implement the VFIO_DMA_MAP_FLAG_NOEXEC flag

2014-10-20 Thread Alex Williamson
On Mon, 2014-10-13 at 15:09 +0200, Antonios Motakis wrote: Some IOMMU drivers, such as the ARM SMMU driver, make available the IOMMU_NOEXEC flag, to set the page tables for a device as XN (execute never). This affects devices such as the ARM PL330 DMA Controller, which respects this flag and

[PATCH v8] coresight: bindings for coresight drivers

2014-10-20 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Coresight IP blocks allow for the support of HW assisted tracing on ARM SoCs. Bindings for the currently available blocks are presented herein. Signed-off-by: Pratik Patel prat...@codeaurora.org Signed-off-by: Mathieu Poirier

Re: [PATCH v5] init: Disable defaults if init= fails

2014-10-20 Thread Andrew Morton
On Mon, 20 Oct 2014 14:01:55 -0700 Josh Triplett j...@joshtriplett.org wrote: IOW, the no-fallback behavior is easy to implement, easy to understand, and has extremely predictable behavior. The fallback behavior is more user friendly if you consider having a chance of booting to

Re: [PATCH 2/5] vfio: introduce the VFIO_DMA_MAP_FLAG_NOEXEC flag

2014-10-20 Thread Alex Williamson
On Mon, 2014-10-13 at 15:09 +0200, Antonios Motakis wrote: We introduce the VFIO_DMA_MAP_FLAG_NOEXEC flag to the VFIO dma map call, and expose its availability via the capability VFIO_DMA_NOEXEC_IOMMU. This way the user can control whether the XN flag will be set on the requested mappings. The

Re: [PATCH v4 1/3] power-domain: add power domain drivers for Rockchip platform

2014-10-20 Thread Kevin Hilman
jinkun.hong jinkun.h...@rock-chips.com writes: From: jinkun.hong jinkun.h...@rock-chips.com Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. Signed-off-by: Jack Dai jack@rock-chips.com Signed-off-by: jinkun.hong

Re: [PATCH v4 0/3] ARM: rk3288 : Add PM Domain support

2014-10-20 Thread Kevin Hilman
jinkun.hong jinkun.h...@rock-chips.com writes: From: jinkun.hong jinkun.h...@rock-chips.com Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. Based on: - [PATCH v1 1/4] PM / clock_ops: Add pm_clk_add_clk()

Re: [PATCH v5] init: Disable defaults if init= fails

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 2:28 PM, Andrew Morton a...@linux-foundation.org wrote: On Mon, 20 Oct 2014 14:01:55 -0700 Josh Triplett j...@joshtriplett.org wrote: IOW, the no-fallback behavior is easy to implement, easy to understand, and has extremely predictable behavior. The fallback

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Aaro Koskinen
Hi, On Sun, Oct 19, 2014 at 09:19:37PM +0200, Pavel Machek wrote: I am trying to use nfsroot, so I can't use modules. Why not? (I am attaching full config, in case I missed something important). I'm using the below config with 3.17 and g_ether works OK. (My initramfs modprobes g_ether, runs

Re: [PATCH v5 0/6] add basic rk3288 smp support

2014-10-20 Thread Kevin Hilman
://lkml.org/lkml/2014/9/30/156) Tested on top of linux-next (next-20141020) along with above syscon dependency, and verifed that 4 CPUs boot up on my rk3288-evb-rk808. Tested-by: Kevin Hilman khil...@linaro.org Kevin -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH 2/5] vfio: introduce the VFIO_DMA_MAP_FLAG_NOEXEC flag

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 13, 2014 at 6:09 AM, Antonios Motakis a.mota...@virtualopensystems.com wrote: We introduce the VFIO_DMA_MAP_FLAG_NOEXEC flag to the VFIO dma map call, and expose its availability via the capability VFIO_DMA_NOEXEC_IOMMU. This way the user can control whether the XN flag will be set

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Aaro Koskinen
Hi, On Tue, Oct 21, 2014 at 12:35:18AM +0300, Aaro Koskinen wrote: On Sun, Oct 19, 2014 at 09:19:37PM +0200, Pavel Machek wrote: I am trying to use nfsroot, so I can't use modules. Why not? (I am attaching full config, in case I missed something important). I'm using the below config

Re: [PATCH v3] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-10-20 Thread Oleg Nesterov
Kirill, You should be as rude as you can if you send an email to lkml! You are breaking the well-known rules, and now I have to mimic your wrong behaviour. On 10/21, Kirill Tkhai wrote: No, I won't send. Please do this. Your idea and your patch is almost ready. Thanks :) Come on. You have

RE: [PATCH] staging: comedi: fix memory leak / bad pointer freeing for chanlist

2014-10-20 Thread Hartley Sweeten
On Monday, October 20, 2014 7:11 AM, Ian Abbott wrote: As a follow-up to commit 6cab7a37f5c04 (staging: comedi: (regression) channel list must be set for COMEDI_CMD ioctl), Hartley Sweeten pointed out another couple of bugs stemming from commit 6cab7a37f5c04 (staging: comedi: comedi_fops:

Re: [PATCH] tty: serial: msm: Fix lock init issue with earlycon

2014-10-20 Thread Peter Hurley
On 10/20/2014 02:27 PM, Stephen Boyd wrote: On 10/17/2014 06:13 AM, Kumar Gala wrote: With CONFIG_DEBUG_SPINLOCK enabled we see: BUG: spinlock bad magic on CPU#0, swapper/0 lock: early_console_dev+0x8/0x160, .magic: , .owner: none/-1, .owner_cpu: 0 CPU: 0 PID: 0 Comm: swapper Not

Re: [PATCH v5] init: Disable defaults if init= fails

2014-10-20 Thread Andrew Morton
On Mon, 20 Oct 2014 14:34:14 -0700 Andy Lutomirski l...@amacapital.net wrote: On Mon, Oct 20, 2014 at 2:28 PM, Andrew Morton a...@linux-foundation.org wrote: On Mon, 20 Oct 2014 14:01:55 -0700 Josh Triplett j...@joshtriplett.org wrote: IOW, the no-fallback behavior is easy to

Re: [PATCH v3 2/2] ARM: EXYNOS: Call regulator core suspend prepare and finish functions

2014-10-20 Thread Doug Anderson
Javier, On Mon, Oct 20, 2014 at 2:05 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: The regulator framework has a set of helpers functions to be used when the system is entering and leaving from suspend but these are not called on Exynos platforms. This means that the

Re: [PATCH v4 1/3] power-domain: add power domain drivers for Rockchip platform

2014-10-20 Thread Russell King - ARM Linux
On Mon, Oct 20, 2014 at 02:31:17PM -0700, Kevin Hilman wrote: jinkun.hong jinkun.h...@rock-chips.com writes: + spin_lock_irqsave(pd-idle_lock, flags); + val = (idle) ? mask : 0; + regmap_update_bits(pd-regmap_pmu, REQ_OFFSET, mask, val); + dsb(); A summary of the locking and

Re: [PATCH v3 1/2] Revert mfd: sec-core: Prepare regulators for suspend state to reduce power-consumption

2014-10-20 Thread Doug Anderson
Javier, On Mon, Oct 20, 2014 at 2:05 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: This reverts commit b7cde7078d2344073c310aa65fc2b0a845d2cb5b (mfd: sec-core: Prepare regulators for suspend state to reduce power-consumption) Commit b7cde7078d23 called

Re: [PATCH 0/8] x86: Disentangle the vdso and clean it up

2014-10-20 Thread H. Peter Anvin
On 09/23/2014 10:50 AM, Andy Lutomirski wrote: Patch 8 removes the vvar that selects the getcpu mode. That vvar has been unnecessary for a couple of years, ever since alternative patching has worked in the vdso. Is there any fundamental reason to not always use LSL at this point?

Re: [PATCH v5] init: Disable defaults if init= fails

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 2:41 PM, Andrew Morton a...@linux-foundation.org wrote: On Mon, 20 Oct 2014 14:34:14 -0700 Andy Lutomirski l...@amacapital.net wrote: On Mon, Oct 20, 2014 at 2:28 PM, Andrew Morton a...@linux-foundation.org wrote: On Mon, 20 Oct 2014 14:01:55 -0700 Josh Triplett

Re: [PATCH v5] init: Disable defaults if init= fails

2014-10-20 Thread Andrew Morton
On Mon, 20 Oct 2014 14:42:07 -0700 Andy Lutomirski l...@amacapital.net wrote: Does -mm have a next+1 section? If so, you could queue it up now :) Yes, I can do that. I add little notes-to-self in the series file to remember such things. Should I send you a patch, or do you want to

[PATCH 1/2] fs: Moved sendfile syscall to own source file

2014-10-20 Thread Pieter Smith
Part of the tinification effort. Splitting out the sendfile syscall allows optional compilation in the succeeding patch. Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/Makefile | 3 +- fs/read_write.c | 176 - fs/sendfile.c | 200

[PATCH] [media] af9035: make sure loading modules is const

2014-10-20 Thread Kees Cook
Make sure that loaded modules are const char strings so we don't load arbitrary modules in the future, nor allow for format string leaks in the module request call. Signed-off-by: Kees Cook keesc...@chromium.org --- drivers/media/usb/dvb-usb-v2/af9035.c | 6 +++--- 1 file changed, 3

Re: [PATCH v3 2/2] ARM: EXYNOS: Call regulator core suspend prepare and finish functions

2014-10-20 Thread Javier Martinez Canillas
Hello Doug, On 10/20/2014 11:40 PM, Doug Anderson wrote: Javier, On Mon, Oct 20, 2014 at 2:05 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: The regulator framework has a set of helpers functions to be used when the system is entering and leaving from suspend but these

[PATCH] [media] anysee: make sure loading modules is const

2014-10-20 Thread Kees Cook
Make sure that loaded modules are const char strings so we don't load arbitrary modules in the future, nor allow for format string leaks in the module request call. Signed-off-by: Kees Cook keesc...@chromium.org --- drivers/media/usb/dvb-usb-v2/anysee.c | 6 +++--- 1 file changed, 3

[PATCH 2/2] fs: Support compiling out sendfile

2014-10-20 Thread Pieter Smith
Many embedded systems will not need this syscall, and omitting it saves space. Add a new EXPERT config option CONFIG_SENDFILE_SYSCALL (default y) to support compiling it out. bloat-o-meter: add/remove: 0/4 grow/shrink: 5/0 up/down: 23/-751 (-728) function old

[PATCH 1/2] fs: Moved sendfile syscall to own source file

2014-10-20 Thread Pieter Smith
Part of the tinification effort. Splitting out the sendfile syscall allows optional compilation in the succeeding patch. Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/Makefile | 3 +- fs/read_write.c | 176 - fs/sendfile.c | 200

Re: [PATCH 0/2] fs: merge I/O error prints into one line

2014-10-20 Thread relliott
On Wed, Aug 27, 2014 at 10:51:54AM -0500, Robert Elliott wrote: The following series merges I/O error prints into one line and makes rate limited messages clearer. --- Robert Elliott (2): fs: merge I/O error prints into one line fs: clarify rate limit suppressed buffer I/O

Re: [PATCH v5 09/12] Driver core: Unified interface for firmware node properties

2014-10-20 Thread Rafael J. Wysocki
On Monday, October 20, 2014 04:18:18 PM Grant Likely wrote: On Mon, 20 Oct 2014 01:46 +0200 , Rafael J. Wysocki r...@rjwysocki.net wrote: On Saturday, October 18, 2014 04:55:20 PM Grant Likely wrote: On Fri, 17 Oct 2014 14:14:53 +0200 [cut] No, that wouldn't work for ACPI (if I

Re: [PATCH 1/2] fs: Moved sendfile syscall to own source file

2014-10-20 Thread josh
On Mon, Oct 20, 2014 at 11:43:01PM +0200, Pieter Smith wrote: Part of the tinification effort. Splitting out the sendfile syscall allows optional compilation in the succeeding patch. Signed-off-by: Pieter Smith pie...@boesman.nl Seems fine in general. One minor nit below, and with that,

[PATCH net] bpf: fix bug in eBPF verifier

2014-10-20 Thread Alexei Starovoitov
while comparing for verifier state equivalency the comparison was missing a check for uninitialized register. Make sure it does so and add a testcase. Fixes: f1bca824dabb (bpf: add search pruning optimization to verifier) Cc: Hannes Frederic Sowa han...@stressinduktion.org Signed-off-by: Alexei

[PATCH] rtlwifi: prevent format string usage from leaking

2014-10-20 Thread Kees Cook
Use %s in the workqueue allocation to make sure the rtl_hal_cfg name can never accidentally leak information via a format string. Signed-off-by: Kees Cook keesc...@chromium.org --- drivers/net/wireless/rtlwifi/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 0/8] x86: Disentangle the vdso and clean it up

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 2:41 PM, H. Peter Anvin h...@zytor.com wrote: On 09/23/2014 10:50 AM, Andy Lutomirski wrote: Patch 8 removes the vvar that selects the getcpu mode. That vvar has been unnecessary for a couple of years, ever since alternative patching has worked in the vdso. Is

Re: [PATCH v5 03/12] ACPI: Allow drivers to match using Device Tree compatible property

2014-10-20 Thread Rafael J. Wysocki
On Monday, October 20, 2014 04:05:01 PM Grant Likely wrote: On Fri, 17 Oct 2014 14:05:59 +0200 , Rafael J. Wysocki r...@rjwysocki.net wrote: From: Mika Westerberg mika.westerb...@linux.intel.com We have lots of existing Device Tree enabled drivers and allocating separate _HID for each

Re: [PATCH 0/2] fs: merge I/O error prints into one line

2014-10-20 Thread Jens Axboe
On 10/20/2014 03:43 PM, relli...@beardog.cce.hp.com wrote: On Wed, Aug 27, 2014 at 10:51:54AM -0500, Robert Elliott wrote: The following series merges I/O error prints into one line and makes rate limited messages clearer. --- Robert Elliott (2): fs: merge I/O error prints into one

Re: [PATCH v5 09/12] Driver core: Unified interface for firmware node properties

2014-10-20 Thread Rafael J. Wysocki
On Monday, October 20, 2014 04:19:57 PM Arnd Bergmann wrote: On Monday 20 October 2014 01:46:00 Rafael J. Wysocki wrote: Something like: #define define_fwnode_accessors(__type, __devprop_type) \ int device_property_read_##__type(struct device *dev, \

Re: [PATCH 0/2] fs: merge I/O error prints into one line

2014-10-20 Thread Jens Axboe
On 10/20/2014 04:00 PM, Jens Axboe wrote: On 10/20/2014 03:43 PM, relli...@beardog.cce.hp.com wrote: On Wed, Aug 27, 2014 at 10:51:54AM -0500, Robert Elliott wrote: The following series merges I/O error prints into one line and makes rate limited messages clearer. --- Robert Elliott (2):

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Pavel Machek
On Mon 2014-10-20 09:45:42, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [141020 06:10]: Hi! My N900 can boot kernel from v3.12-rc5-n900 branch compiled with arch/arm/configs/rx51_defconfig. Also it can boot full Maemo5 system (with CSSU and some minor system changes) and usb

Re: [PATCH 0/8] x86: Disentangle the vdso and clean it up

2014-10-20 Thread H. Peter Anvin
On 10/20/2014 02:57 PM, Andy Lutomirski wrote: Should I send a replacement for patch 8 or should I let you merge 1-7 and fold this into the followup series? Please send a replacement. -hpa -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH 1/2] fs: Moved sendfile syscall to own source file

2014-10-20 Thread josh
On Mon, Oct 20, 2014 at 11:48:36PM +0200, Pieter Smith wrote: Part of the tinification effort. Splitting out the sendfile syscall allows optional compilation in the succeeding patch. Signed-off-by: Pieter Smith pie...@boesman.nl Not sure why this was sent twice, but in any case, the same

[PATCH] init: Remove CONFIG_INIT_FALLBACK

2014-10-20 Thread Andy Lutomirski
CONFIG_INIT_FALLBACK adds config bloat without an obvious use case that makes it worth keeping around. Delete it. Signed-off-by: Andy Lutomirski l...@amacapital.net --- Bring on the blame :) init/Kconfig | 16 init/main.c | 5 - 2 files changed, 21 deletions(-) diff

Re: [PATCH] init: Remove CONFIG_INIT_FALLBACK

2014-10-20 Thread josh
On Mon, Oct 20, 2014 at 03:04:36PM -0700, Andy Lutomirski wrote: CONFIG_INIT_FALLBACK adds config bloat without an obvious use case that makes it worth keeping around. Delete it. Signed-off-by: Andy Lutomirski l...@amacapital.net --- Bring on the blame :) Reviewed-by: Josh Triplett

[PATCH 1/1] e1000: unset IFF_UNICAST_FLT on WMware 82545EM

2014-10-20 Thread Francesco Ruggeri
VMWare's e1000 implementation does not seem to support unicast filtering. This can be observed by configuring a macvlan interface on eth0 in a VM in VMWare Fusion 5.0.5, and trying to use that interface instead of eth0. Tested on 3.16. Signed-off-by: Francesco Ruggeri frugg...@arista.com ---

Re: [RESEND] [PATCH] radeon: clean up coding style differences in radeon_get_bios()

2014-10-20 Thread Alex Deucher
On Thu, Oct 16, 2014 at 5:37 AM, Wilfried Klaebe w-l...@lebenslange-mailadresse.de wrote: radeon: clean up coding style differences in radeon_get_bios() Signed-off-by: Wilfried Klaebe w-l...@lebenslange-mailadresse.de Applied. thanks! Alex diff --git a/drivers/gpu/drm/radeon/radeon_bios.c

[PATCH] dell-wmi: Update code for processing WMI events

2014-10-20 Thread Pali Rohár
WMI buffer can contains more events. First value in buffer is length of event followed by data of specified length. After that is next length and next data. When length is zero then there is no more events in bufffer. This patch adds support for processing all events in buffer (not only first)

Re: [PATCH] tty: serial: msm: Fix lock init issue with earlycon

2014-10-20 Thread Stephen Boyd
On 10/20, Peter Hurley wrote: On 10/20/2014 02:27 PM, Stephen Boyd wrote: On 10/17/2014 06:13 AM, Kumar Gala wrote: With CONFIG_DEBUG_SPINLOCK enabled we see: BUG: spinlock bad magic on CPU#0, swapper/0 lock: early_console_dev+0x8/0x160, .magic: , .owner: none/-1,

Re: [PATCH] tiny: reverse logic for DISABLE_DEV_COREDUMP

2014-10-20 Thread Greg Kroah-Hartman
On Mon, Oct 20, 2014 at 04:55:11AM -0700, Josh Triplett wrote: On Mon, Oct 20, 2014 at 11:42:31AM +0200, Johannes Berg wrote: On Thu, 2014-10-16 at 11:49 -0400, Aristeu Rozanski wrote: It's desirable for allnconfig and tinyconfig targets to result in the least amount of code possible.

Re: [PATCH] efi: efi-stub: notify on DTB absence

2014-10-20 Thread Mark Rutland
On Mon, Oct 20, 2014 at 08:10:38PM +0100, Roy Franz wrote: On Mon, Oct 20, 2014 at 11:49 AM, Mark Salter msal...@redhat.com wrote: On Mon, 2014-10-20 at 19:29 +0100, Mark Rutland wrote: In the absence of an DTB configuration table, the EFI stub will happily continue attempting to boot a

Re: [PATCH] tty: serial: msm: Fix lock init issue with earlycon

2014-10-20 Thread Stephen Boyd
On 10/20, Stephen Boyd wrote: On 10/20, Peter Hurley wrote: FWIW, __msm_console_write() is a deadlock-waiting-to_happen since it does not disable interrupts with spin_lock_irqsave(). Yeah we should fix that. As far as I can tell we've never used the irqsave variant of the lock in

Re: [PATCH 2/2] fs: Support compiling out sendfile

2014-10-20 Thread josh
On Mon, Oct 20, 2014 at 11:48:37PM +0200, Pieter Smith wrote: Many embedded systems will not need this syscall, and omitting it saves space. Add a new EXPERT config option CONFIG_SENDFILE_SYSCALL (default y) to support compiling it out. Nice work, thanks! If there are no objections, and

Re: [PATCH] kernel, add bug_on_warn

2014-10-20 Thread Andrew Morton
On Mon, 20 Oct 2014 08:00:20 -0400 Prarit Bhargava pra...@redhat.com wrote: There have been several times where I have had to rebuild a kernel to cause a panic when hitting a WARN() in the code in order to get a crash dump from a system. Sometimes this is easy to do, other times (such as in

Re: [linux-nics] [PATCH 1/1] e1000: unset IFF_UNICAST_FLT on WMware 82545EM

2014-10-20 Thread Jeff Kirsher
On Mon, 2014-10-20 at 15:11 -0700, Francesco Ruggeri wrote: VMWare's e1000 implementation does not seem to support unicast filtering. This can be observed by configuring a macvlan interface on eth0 in a VM in VMWare Fusion 5.0.5, and trying to use that interface instead of eth0. Tested on

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Tony Lindgren
* Pavel Machek pa...@ucw.cz [141020 15:04]: On Mon 2014-10-20 09:45:42, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [141020 06:10]: Hi! My N900 can boot kernel from v3.12-rc5-n900 branch compiled with arch/arm/configs/rx51_defconfig. Also it can boot full Maemo5 system

Re: [PATCH 1/2] binfmt_misc: add comments debug logs

2014-10-20 Thread Mike Frysinger
On 19 Oct 2014 17:41, Joe Perches wrote: On Sun, 2014-10-19 at 19:03 -0400, Mike Frysinger wrote: let's deploy extensive pr_debug markers at logical parse points, and add comments to the dense parsing logic. [] diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c [] @@ -259,14 +270,17 @@

[RFC][PATCH 6/6] mm,x86: Add speculative pagefault handling

2014-10-20 Thread Peter Zijlstra
Try a speculative fault before acquiring mmap_sem, if it returns with VM_FAULT_RETRY continue with the mmap_sem acquisition and do the traditional fault. Signed-off-by: Peter Zijlstra (Intel) pet...@infradead.org --- arch/x86/mm/fault.c | 35 ++- 1 file changed,

[RFC][PATCH 4/6] SRCU free VMAs

2014-10-20 Thread Peter Zijlstra
Manage the VMAs with SRCU such that we can do a lockless VMA lookup. We put the fput(vma-vm_file) in the SRCU callback, this keeps files valid during speculative faults, this is possible due to the delayed fput work by Al Viro -- do we need srcu_barrier() in unmount someplace? We guard the mm_rb

[RFC][PATCH 1/6] mm: Dont assume page-table invariance during faults

2014-10-20 Thread Peter Zijlstra
One of the side effects of speculating on faults (without holding mmap_sem) is that we can race with free_pgtables() and therefore we cannot assume the page-tables will stick around. Remove the relyance on the pte pointer. Signed-off-by: Peter Zijlstra (Intel) pet...@infradead.org ---

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Pavel Machek
Hi! On Sun, Oct 19, 2014 at 09:19:37PM +0200, Pavel Machek wrote: I am trying to use nfsroot, so I can't use modules. Why not? I'm trying to put root filesystem on nfs, without initrd/initramfs. Thus no modules for me. (I am attaching full config, in case I missed something important).

Re: [PATCH 0/8] x86: Disentangle the vdso and clean it up

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 3:03 PM, H. Peter Anvin h...@zytor.com wrote: On 10/20/2014 02:57 PM, Andy Lutomirski wrote: Should I send a replacement for patch 8 or should I let you merge 1-7 and fold this into the followup series? Please send a replacement. Sending in a sec. Also, this is

[RFC][PATCH 3/6] mm: VMA sequence count

2014-10-20 Thread Peter Zijlstra
Wrap the VMA modifications (vma_adjust/unmap_page_range) with sequence counts such that we can easily test if a VMA is changed. The unmap_page_range() one allows us to make assumptions about page-tables; when we find the seqcount hasn't changed we can assume page-tables are still valid. The flip

[RFC][PATCH 0/6] Another go at speculative page faults

2014-10-20 Thread Peter Zijlstra
Hi, I figured I'd give my 2010 speculative fault series another spin: https://lkml.org/lkml/2010/1/4/257 Since then I think many of the outstanding issues have changed sufficiently to warrant another go. In particular Al Viro's delayed fput seems to have made it entirely 'normal' to delay

[RFC][PATCH 5/6] mm: Provide speculative fault infrastructure

2014-10-20 Thread Peter Zijlstra
Provide infrastructure to do a speculative fault (not holding mmap_sem). The not holding of mmap_sem means we can race against VMA change/removal and page-table destruction. We use the SRCU VMA freeing to keep the VMA around. We use the VMA seqcount to detect change (including umapping /

[RFC][PATCH 2/6] mm: Prepare for FAULT_FLAG_SPECULATIVE

2014-10-20 Thread Peter Zijlstra
When speculating faults (without holding mmap_sem) we need to validate that the vma against which we loaded pages is still valid when we're ready to install the new PTE. Therefore, replace the pte_offset_map_lock() calls that (re)take the PTL with pte_map_lock() which can fail in case we find the

[PATCH v2 8/8 only] x86,vdso: Use LSL unconditionally for vgetcpu

2014-10-20 Thread Andy Lutomirski
LSL is faster than RDTSCP and works everywhere; there's no need to switch between them depending on CPU. Signed-off-by: Andy Lutomirski l...@amacapital.net --- This replaces patch 8 from v1. Changes from v1: - Use LSL unconditionally (drop static_cpu_has). arch/x86/include/asm/vgtod.h|

[PATCH 1/2 v2] binfmt_misc: add comments debug logs

2014-10-20 Thread Mike Frysinger
When trying to develop a custom format handler, the errors returned all effectively get bucketed as EINVAL with no kernel messages. The other errors (ENOMEM/EFAULT) are internal/obvious and basic. Thus any time a bad handler is rejected, the developer has to walk the dense code and try to guess

[PATCH 2/2 v2] binfmt_misc: clean up code style a bit

2014-10-20 Thread Mike Frysinger
Clean up various coding style issues that checkpatch complains about. No functional changes here. Signed-off-by: Mike Frysinger vap...@gentoo.org --- v2 - rebased fs/binfmt_misc.c | 295 +++ 1 file changed, 146 insertions(+), 149

Re: [PATCH V5 0/5] audit by executable name

2014-10-20 Thread Eric Paris
On Mon, 2014-10-20 at 16:25 -0400, Steve Grubb wrote: On Thursday, October 02, 2014 11:06:51 PM Richard Guy Briggs wrote: This is a part of Peter Moody, my and Eric Paris' work to implement audit by executable name. Does this patch set define an AUDIT_VERSION_SOMETHING and then set

Re: [PATCH] mm: cma: split cma-reserved in dmesg log

2014-10-20 Thread Andrew Morton
On Mon, 20 Oct 2014 13:03:10 +0530 Pintu Kumar pint...@samsung.com wrote: When the system boots up, in the dmesg logs we can see the memory statistics along with total reserved as below. Memory: 458840k/458840k available, 65448k reserved, 0K highmem When CMA is enabled, still the total

Re: [PATCHv4 RESEND 0/3] syscalls,x86: Add execveat() system call

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 6:48 AM, David Drysdale drysd...@google.com wrote: On Sun, Oct 19, 2014 at 1:20 AM, Eric W. Biederman ebied...@xmission.com wrote: Andy Lutomirski l...@amacapital.net writes: [Added Eric Biederman, since I think your tree might be a reasonable route forward for these

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