Re: [patch 7/8] mm, memcg: allow processes handling oom notifications to access reserves

2013-12-05 Thread David Rientjes
On Wed, 4 Dec 2013, Tejun Heo wrote: > Hello, > Tejun, how are you? > Umm.. without delving into details, aren't you basically creating a > memory cgroup inside a memory cgroup? Doesn't sound like a > particularly well thought-out plan to me. > I agree that we wouldn't need such support if

[PATCH 0/2] dmi-sysfs module unload fixes

2013-12-05 Thread Bjorn Helgaas
These fix a warning on dmi-sysfs module unload and an error when reloading immediately after unload with DEBUG_KOBJECT_RELEASE. --- Bjorn Helgaas (2): firmware: dmi-sysfs: Don't remove dmi-sysfs "raw" file explicitly firmware: dmi-sysfs: Remove "dmi" directory on module exit

[PATCH 2/2] firmware: dmi-sysfs: Remove "dmi" directory on module exit

2013-12-05 Thread Bjorn Helgaas
With CONFIG_DEBUG_KOBJECT_RELEASE=y, removing and immediately reloading the dmi-sysfs module causes the following warning: sysfs: cannot create duplicate filename '/firmware/dmi' kobject_add_internal failed for dmi with -EEXIST, don't try to register things with the same name in the same

[PATCH 1/2] firmware: dmi-sysfs: Don't remove dmi-sysfs "raw" file explicitly

2013-12-05 Thread Bjorn Helgaas
Removing the dmi-sysfs module causes the following warning: # modprobe -r dmi_sysfs WARNING: CPU: 11 PID: 6785 at fs/sysfs/inode.c:325 sysfs_hash_and_remove+0xa9/0xb0() sysfs: can not remove 'raw', no directory This is because putting the entry kobject, e.g., for

RE: 3.12.0: sda2: WRITE SAME failed. Manually zeroing. with 3w-xxxx driver

2013-12-05 Thread Justin Piszcz
> -Original Message- > From: Martin K. Petersen [mailto:martin.peter...@oracle.com] > Sent: Thursday, November 28, 2013 8:13 AM > > > Martin> http://marc.info/?l=linux-scsi=138252394614920=2 > > Justin> Awesome, thank you! This patch is over a month old, do you know > Justin>

Re: [RFC PATCH tip 0/5] tracing filters with BPF

2013-12-05 Thread Steven Rostedt
On Thu, 5 Dec 2013 14:36:58 -0800 Alexei Starovoitov wrote: > On Thu, Dec 5, 2013 at 5:46 AM, Steven Rostedt wrote: > > > > I know that it would be great to have the bpf filter run before > > recording of the tracepoint, but as that becomes quite awkward for a > > user interface, because it

[PATCH -v1.1 4/4] x86, microcode: Move to a proper location

2013-12-05 Thread Borislav Petkov
From: Borislav Petkov Subject: [PATCH -v1.1 4/4] x86, microcode: Move to a proper location We've grown a bunch of microcode loader files all prefixed with "microcode_". They should be under cpu/ because this is strictly CPU-related functionality so do that and drop the prefix since they're in

Re: [PATCH net-next] ether_addr_equal: Optimize implementation, remove unused compare_ether_addr

2013-12-05 Thread Joe Perches
On Thu, 2013-12-05 at 15:32 -0800, Stephen Hemminger wrote: > On Thu, 5 Dec 2013 14:54:38 -0800 > Joe Perches wrote: > > > +#ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS > > + u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) | > > + ((*(const u16 *)(addr1 + 4)) ^

Re: [PATCH] Fix race between oom kill and task exit

2013-12-05 Thread David Rientjes
On Thu, 5 Dec 2013, Oleg Nesterov wrote: > > > OK, I am going to send the initial fixes today. This means (I hope) > > > that we do not need this or Sameer's "[PATCH] mm, oom: Fix race when > > > selecting process to kill". > > > > Your v2 series looks good and I suspect anybody trying them

[PATCH 4/4] x86, microcode: Move to a proper location

2013-12-05 Thread Borislav Petkov
From: Borislav Petkov We've grown a bunch of microcode loader files all prefixed with "microcode_". They should be under cpu/ because this is strictly CPU-related functionality so do that and drop the prefix since they're in their own directory now which gives that prefix. :) Signed-off-by:

Re: [PATCH V3 0/4] ARM: tegra: convert dts files of all Tegra platforms to use pinctrl defines

2013-12-05 Thread Stephen Warren
On 12/05/2013 03:44 AM, Laxman Dewangan wrote: > This patch series convert dts files of all Tegra's platforms to use the > pinctron > dt-binding macro for better readability. I think this series looks fine now; I'll apply soon pending what happens with the DMA/reset/ binding rework. There are

Re: [PATCH net-next] ether_addr_equal: Optimize implementation, remove unused compare_ether_addr

2013-12-05 Thread Stephen Hemminger
On Thu, 5 Dec 2013 14:54:38 -0800 Joe Perches wrote: > +#ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS > + u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) | > +((*(const u16 *)(addr1 + 4)) ^ (*(const u16 *)(addr2 + 4))); > + > + return fold == 0; Why the

[PATCH 1/4] x86, ramdisk: Export relocated ramdisk VA

2013-12-05 Thread Borislav Petkov
From: Borislav Petkov The ramdisk can possibly get relocated if the whole image is not mapped. And since we're going over it in the microcode loader and fishing out the relevant microcode patches, we want to access it at its new location. Thus, export it. Signed-off-by: Borislav Petkov ---

[PATCH 3/4] x86, microcode, AMD: Fix early ucode loading

2013-12-05 Thread Borislav Petkov
From: Borislav Petkov The original idea to use the microcode cache for the APs doesn't pan out because we do memory allocation there very early and with IRQs disabled and we don't want to involve GFP_ATOMIC allocations. Not if it can be helped. Thus, extend the caching of the BSP patch approach

[PATCH 0/4] x86, microcode, AMD: Fix early loading

2013-12-05 Thread Borislav Petkov
From: Borislav Petkov A couple of openSUSE bugzillas made me look at the early ucode loading on AMD. The problem is, we're doing memory allocation too early with IRQs disabled and we really want to avoid that. Also, 32-bit has other problems like calling rd/wrmsr*/cpuid functions at their

[PATCH 2/4] x86, microcode: Share native MSR accessing variants

2013-12-05 Thread Borislav Petkov
From: Borislav Petkov We want to use those in AMD's early loading path too. Also, add a native_wrmsrl variant. Signed-off-by: Borislav Petkov --- arch/x86/include/asm/microcode.h| 15 +++ arch/x86/kernel/microcode_intel_early.c | 10 -- 2 files changed, 15

[RESEND PATCH] ARM: bcm_defconfig: Do not expect appended DTB

2013-12-05 Thread Tim Kryger
The bootloaders used with Broadcom mobile SoCs are capable of handling a device tree separately from the zImage so there is no need for this option to be enabled. Signed-off-by: Tim Kryger Reviewed-by: Markus Mayer --- arch/arm/configs/bcm_defconfig | 1 - 1 file changed, 1 deletion(-) diff

Re: [PATCH] staging: silicom: fix 'return is not a function, parentheses are not required' in bpctl_mod.c

2013-12-05 Thread Joe Perches
On Fri, 2013-12-06 at 02:21 +0300, Dan Carpenter wrote: > On Thu, Dec 05, 2013 at 03:09:15PM -0800, Joe Perches wrote: > > On Fri, 2013-12-06 at 01:50 +0300, Dan Carpenter wrote: > > > On Thu, Dec 05, 2013 at 10:23:53PM +0100, Will Tange wrote: > > > > Fixes warnings regarding redundant

[PATCH] serial: rewrite pxa2xx-uart to use 8250_core

2013-12-05 Thread Sergei Ianovich
pxa2xx-uart was a separate uart platform driver. It was declaring the same device names and numbers as 8250 driver. As a result, it was impossible to use 8250 driver on PXA SoCs. Upon closer examination pxa2xx-uart turned out to be a clone of 8250_core driver. Signed-off-by: Sergei Ianovich CC:

Re: [PATCH 4/4] pinctrl: tegra: add pinmux controller driver for Tegra124

2013-12-05 Thread Stephen Warren
On 12/05/2013 03:57 AM, Laxman Dewangan wrote: > From: Ashwini Ghuge > > This adds a driver for the Tegra124 pinmux, and required > parameterization data for Tegra124. > > The driver uses the common Tegra pincontrol driver utility > functions to implement the majority of the driver. > > This

Re: [PATCH 0/3] ARM Coresight: Enhance ETM tracing control

2013-12-05 Thread Greg Kroah-Hartman
On Thu, Dec 05, 2013 at 05:45:12PM -0500, Christopher Covington wrote: > On 12/05/2013 03:16 PM, Greg Kroah-Hartman wrote: > > On Thu, Dec 05, 2013 at 03:12:50PM -0500, Christopher Covington wrote: > [...] > > And adding new features to code that is "dead" and should probably be > > removed isn't

Re: [PATCH v2 1/4] introduce for_each_thread() to replace the buggy while_each_thread()

2013-12-05 Thread David Rientjes
On Thu, 5 Dec 2013, Oleg Nesterov wrote: > > Minor: should the definitions of thread_{head,node} be annotated with > > __rcu for users of CONFIG_SPARSE_RCU_POINTER? > > Perhaps. And perhaps task_struct->tasks. And perhaps we should add > rcu_read_lock_held() || lockdep_is_held(tasklist) ||

Re: [PATCH] staging: silicom: fix 'return is not a function, parentheses are not required' in bpctl_mod.c

2013-12-05 Thread Dan Carpenter
On Thu, Dec 05, 2013 at 03:09:15PM -0800, Joe Perches wrote: > On Fri, 2013-12-06 at 01:50 +0300, Dan Carpenter wrote: > > On Thu, Dec 05, 2013 at 10:23:53PM +0100, Will Tange wrote: > > > Fixes warnings regarding redundant parantheses thrown by the checkpatch > > > tool in bpctl_mod.c > [] > >

Re: [PATCH] mm, x86: Skip NUMA_NO_NODE while parsing SLIT

2013-12-05 Thread David Rientjes
On Thu, 5 Dec 2013, Yasuaki Ishimatsu wrote: > (2013/12/05 6:09), Toshi Kani wrote: > > When ACPI SLIT table has an I/O locality (i.e. a locality unique > > to an I/O device), numa_set_distance() emits the warning message > > below. > > > > NUMA: Warning: node ids are out of bound, from=-1

Re: [PATCH 2/4] ARM: tegra: add pinmux controller to tegra124.dtsi

2013-12-05 Thread Stephen Warren
On 12/05/2013 04:16 PM, Stephen Warren wrote: > On 12/05/2013 03:57 AM, Laxman Dewangan wrote: >> The tegra124 pinmux controller is identical to tegra114 with >> removing some of existing pins from T114 and adding new pins. > > I already sent this patch. Oh, I do notice one difference between

Re: [PATCH 3/4] ARM: tegra: select PINCTRL_TEGRA124 for Tegra124 SoC

2013-12-05 Thread Stephen Warren
On 12/05/2013 03:57 AM, Laxman Dewangan wrote: > The pincontrol driver for Tegra124 is build through config > PINCTRL_TEGRA124. Select this config option whenever Tegra124 > SoC is enabled. I already sent this patch too. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH 1/4] pinctrl: tegra: Add devicetree binding document for Tegra124

2013-12-05 Thread Stephen Warren
On 12/05/2013 03:57 AM, Laxman Dewangan wrote: > This device tree binding document describes the Tegra124 pincontrol > DT bindings. This document lists all valid properties, names, mux > options of Tegra124 pins. Is this a repost of what Ashwini sent a few weeks back, or V2? If V2, it'd be useful

Re: [OOPS, 3.13-rc2] null ptr in dio_complete()

2013-12-05 Thread Dave Chinner
On Fri, Dec 06, 2013 at 08:26:51AM +1100, Dave Chinner wrote: > On Thu, Dec 05, 2013 at 10:22:20PM +0800, Ming Lei wrote: > > On Wed, 4 Dec 2013 12:58:38 +1100 > > Dave Chinner wrote: > > > > > > > > And I just hit this from running xfs_repair which is doing > > > multithreaded direct IO

Re: [PATCH v2] net: handle error more gracefully in socketpair()

2013-12-05 Thread Yann Droneaud
Hi, Le jeudi 05 décembre 2013 à 16:23 -0500, David Miller a écrit : > From: Yann Droneaud > Date: Mon, 2 Dec 2013 11:12:26 +0100 > > > socketpair() error paths can be simplified to not call > > heavy-weight sys_close(). > > > > This patch makes socketpair() use of error paths which do not > >

Re: [PATCH 2/4] ARM: tegra: add pinmux controller to tegra124.dtsi

2013-12-05 Thread Stephen Warren
On 12/05/2013 03:57 AM, Laxman Dewangan wrote: > The tegra124 pinmux controller is identical to tegra114 with > removing some of existing pins from T114 and adding new pins. I already sent this patch. > diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi > +

Re: linux-next: Tree for Dec 3 (mm/Kconfig)

2013-12-05 Thread David Rientjes
On Thu, 5 Dec 2013, Sima Baymani wrote: > > CONFIG_HWPOISON_INJECT is unrelated, it already depends on CONFIG_PROC_FS. > > > > CONFIG_PROC_PAGE_MONITOR is obviously only useful for CONFIG_PROC_FS, so > > the correct fix would be to make CONFIG_MEM_SOFT_DIRTY depend on > > CONFIG_PROC_FS. > > > >

Re: [PATCH] mm: Add missing dependency in Kconfig

2013-12-05 Thread David Rientjes
On Thu, 5 Dec 2013, Sima Baymani wrote: > Eliminate the following (rand)config warning by adding missing PROC_FS > dependency: > warning: (HWPOISON_INJECT && MEM_SOFT_DIRTY) selects PROC_PAGE_MONITOR > which has unmet direct dependencies (PROC_FS && MMU) > > Suggested-by: David Rientjes >

[PATCH 1/2] Input: tsc2005: add DT support

2013-12-05 Thread Sebastian Reichel
This adds DT support to the tsc2005 touchscreen driver. Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/tsc2005.c | 95 ++--- 1 file changed, 78 insertions(+), 17 deletions(-) diff --git a/drivers/input/touchscreen/tsc2005.c

Re: [RFC part2 PATCH 2/9] ARM64 / ACPI: Prefill cpu possible/present maps and map logical cpu id to APIC id

2013-12-05 Thread Arnd Bergmann
On Wednesday 04 December 2013, Rob Herring wrote: > > index a0c2ca6..1428024 100644 > > --- a/arch/arm64/kernel/smp.c > > +++ b/arch/arm64/kernel/smp.c > > @@ -420,7 +420,9 @@ void __init smp_prepare_cpus(unsigned int max_cpus) > > if (err) > > continue; > >

[PATCH 2/2] Documentation: dt: Document TSC2005 DT binding

2013-12-05 Thread Sebastian Reichel
Add devicetree binding documentation for TSC2005 touchscreen. Signed-off-by: Sebastian Reichel --- .../bindings/input/touchscreen/tsc2005.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644

[PATCH 0/2] tsc2005 DT binding

2013-12-05 Thread Sebastian Reichel
Hi, This adds device tree support for the tsc2005 touchscreen controller, which is currently only used by the Nokia N900 board. The patch does not update the reset pin handling for platform data based probe to avoid merge conflicts (Tony will remove the Nokia N900 boardcode in 3.14). The

Re: [PATCH] staging: silicom: fix 'return is not a function, parentheses are not required' in bpctl_mod.c

2013-12-05 Thread Joe Perches
On Fri, 2013-12-06 at 01:50 +0300, Dan Carpenter wrote: > On Thu, Dec 05, 2013 at 10:23:53PM +0100, Will Tange wrote: > > Fixes warnings regarding redundant parantheses thrown by the checkpatch > > tool in bpctl_mod.c [] > if (ret < 0) > return BP_NOT_CAP; > if (ret ==

[PATCH 0/2] Update bcm_defconfig

2013-12-05 Thread Tim Kryger
This series includes two minor updates to the bcm_defconfig that removes an option that wasn't being used and eliminates a line that is now unnecessary due to a change in the defaults for that option. Tim Kryger (2): ARM: bcm_defconfig: CONFIG_OABI_COMPAT default off ARM: bcm_defconfig: Unset

[PATCH 2/2] ARM: bcm_defconfig: Unset CONFIG_CRYPTO_ANSI_CPRNG

2013-12-05 Thread Tim Kryger
Do not build the Pseudo Random Number Generation for Cryptographic modules since it is not currently being used for this platform. Signed-off-by: Tim Kryger Reviewed-by: Markus Mayer --- arch/arm/configs/bcm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v3 2/2] cpufreq: tegra: Re-model Tegra cpufreq driver

2013-12-05 Thread Stephen Warren
On 12/05/2013 12:44 AM, Bill Huang wrote: > Re-model Tegra cpufreq driver to support all Tegra series of SoCs. > > * Make tegra-cpufreq.c a generic Tegra cpufreq driver. > * Move Tegra20 specific codes into tegra20-cpufreq.c. > * Bind Tegra cpufreq dirver with a fake device so defer probe would

[PATCH 1/2] ARM: bcm_defconfig: CONFIG_OABI_COMPAT default off

2013-12-05 Thread Tim Kryger
Now that CONFIG_OABI_COMPAT is off by default, remove the explicit disabling of this feature. Signed-off-by: Tim Kryger Reviewed-by: Markus Mayer --- arch/arm/configs/bcm_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/bcm_defconfig

Re: [PATCH v8] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2013-12-05 Thread delicious quinoa
On Thu, Dec 5, 2013 at 4:53 PM, delicious quinoa wrote: > On Thu, Dec 5, 2013 at 10:54 AM, Jamie Iles wrote: >> Hi Alan, >> >> One minor comment below, otherwise looks great! >> >> Signed-off-by: Jamie Iles >> >> Thanks, >> >> Jamie >> >> On Tue, Dec 03, 2013 at 10:41:16AM -0600, Alan Tull

Re: [PATCH v8] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2013-12-05 Thread delicious quinoa
On Wed, Dec 4, 2013 at 5:56 AM, Mark Rutland wrote: > On Tue, Dec 03, 2013 at 04:41:16PM +, Alan Tull wrote: >> From: Jamie Iles >> >> The Synopsys DesignWare block is used in some ARM devices (picoxcell) >> and can be configured to provide multiple banks of GPIO pins. >> >> Signed-off-by:

Re: [PATCH v3 1/2] cpufreq: tegra: Call tegra_cpufreq_init() specifically in machine code

2013-12-05 Thread Stephen Warren
On 12/05/2013 12:44 AM, Bill Huang wrote: > Move the call from module_init to Tegra machine codes so it won't be > called in a multi-platform kernel running on non-Tegra SoCs. > diff --git a/include/linux/tegra-soc.h b/include/linux/tegra-soc.h It might be better to create for the interface to

[PATCH net-next] ether_addr_equal: Optimize implementation, remove unused compare_ether_addr

2013-12-05 Thread Joe Perches
Add a new check for CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS to reduce the number of or's used in the ether_addr_equal comparison to very slightly improve function performance. Simplify the ether_addr_equal_64bits implementation. Integrate and remove the zap_last_2bytes helper as it's now used only

Re: [PATCH v8] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2013-12-05 Thread delicious quinoa
On Thu, Dec 5, 2013 at 10:54 AM, Jamie Iles wrote: > Hi Alan, > > One minor comment below, otherwise looks great! > > Signed-off-by: Jamie Iles > > Thanks, > > Jamie > > On Tue, Dec 03, 2013 at 10:41:16AM -0600, Alan Tull wrote: >> diff --git a/drivers/gpio/gpio-dwapb.c

Re: [PATCH] staging: silicom: fix 'return is not a function, parentheses are not required' in bpctl_mod.c

2013-12-05 Thread Dan Carpenter
On Thu, Dec 05, 2013 at 10:23:53PM +0100, Will Tange wrote: > Fixes warnings regarding redundant parantheses thrown by the checkpatch tool > in bpctl_mod.c > Fair enough, but if you wanted to go clean the returns up further then you could. Remove all the "!= 0" bits. > @@ -3125,11 +3125,11 @@

Re: [PATCH v4 1/3] mfd: tps6586x: add version detection

2013-12-05 Thread Stefan Agner
Am 2013-12-05 18:40, schrieb Stephen Warren: > On 12/05/2013 10:43 AM, Stefan Agner wrote: >> Am 2013-12-05 18:06, schrieb Stephen Warren: >> @@ -493,13 +527,12 @@ static int tps6586x_i2c_probe(struct i2c_client *client, return -EIO; } -

Re: BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:20

2013-12-05 Thread Tejun Heo
On Thu, Dec 05, 2013 at 11:10:51AM +0800, Yuanhan Liu wrote: > Greetings, > > I got the below dmesg and the first bad commit is > > commit 4b93dc9b1c684d0587fe44d36bbfdf45bd3bea9d > Author: Tejun Heo > AuthorDate: Thu Nov 28 14:54:43 2013 -0500 > Commit: Greg Kroah-Hartman >

Re: [PATCH tip/core/locking 4/4] Documentation/memory-barriers.txt: Document ACCESS_ONCE()

2013-12-05 Thread Paul E. McKenney
On Thu, Dec 05, 2013 at 10:05:47AM -0800, Paul E. McKenney wrote: > On Thu, Dec 05, 2013 at 10:50:42AM +0100, Ingo Molnar wrote: > > > > * Paul E. McKenney wrote: > > > > > + (*) The compiler is within its rights to reload a variable, for example, > > > + in cases where high register

Re: [PATCH 0/3] ARM Coresight: Enhance ETM tracing control

2013-12-05 Thread Christopher Covington
On 12/05/2013 03:16 PM, Greg Kroah-Hartman wrote: > On Thu, Dec 05, 2013 at 03:12:50PM -0500, Christopher Covington wrote: [...] > And adding new features to code that is "dead" and should probably be > removed isn't a good idea, as I'm sure you can understand. I would consider feature additions

[PATCH] ARM: dts: Leave sdio1 as disabled on bcm28155-ap

2013-12-05 Thread Tim Kryger
The sdio1 interface pins are routed to an unpopulated daughter card connector on the bcm28155-ap board. Thus there is no need to mark this interface as enabled. Signed-off-by: Tim Kryger Reviewed-by: Matt Porter --- arch/arm/boot/dts/bcm28155-ap.dts | 5 - 1 file changed, 5 deletions(-)

Re: [PATCH v2 04/10] PCI: Destroy pci dev only once

2013-12-05 Thread Bjorn Helgaas
On Mon, Dec 2, 2013 at 7:49 AM, Rafael J. Wysocki wrote: > ... > From: Rafael J. Wysocki > Subject: PCI / hotplug / ACPI: Fix concurrency problems related to device > removal > > The following are concurrency problems related to the PCI device > removal code in pci-sysfs.c and in ACPIPHP

Re: [REPOST][PATCH 1/2] driver core: Add new device_driver flag to allow binding via sysfs only

2013-12-05 Thread Scott Wood
On Thu, 2013-12-05 at 17:45 +, Kim Phillips wrote: > On Tue, 03 Dec 2013 16:34:33 +0100 > Jan Kiszka wrote: > > > On 2013-12-03 13:34, Kim Phillips wrote: > > > VFIO supports pass-through of devices to user space - for sake > > > of illustration, say a PCI e1000 device: > > > > > > - the

Re: [RFC PATCH tip 0/5] tracing filters with BPF

2013-12-05 Thread Alexei Starovoitov
On Thu, Dec 5, 2013 at 5:46 AM, Steven Rostedt wrote: > > I know that it would be great to have the bpf filter run before > recording of the tracepoint, but as that becomes quite awkward for a > user interface, because it requires intimate knowledge of the kernel > source, this speed up on the

[net-next PATCH 1/6] vhost: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Since vhost_dev_init() forever return 0, some branches are never run, therefore need to be removed. Signed-off-by: Zhi Yong Wu Acked-by: Michael S. Tsirkin --- drivers/vhost/net.c |5 - drivers/vhost/scsi.c |5 - drivers/vhost/test.c |5 - 3 files

[net-next PATCH 3/6] macvtap: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 9093004..d271fb4 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -779,8 +779,6

[net-next PATCH 2/6] vhost: adjust vhost_dev_init() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu Acked-by: Michael S. Tsirkin --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost/vhost.h |2 +- 5 files changed, 6 insertions(+), 9

[net-next PATCH 6/6] macvtap: remove unused paramter in macvtap_do_read()

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 4914d85..4a34bcb 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -819,7

[net-next PATCH 4/6] macvtap: adjust macvtap_skb_to_vnet_hdr() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index d271fb4..f599c47 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -588,7

[net-next PATCH 0/6] some cleanups

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Since net-next is open now, it's time to post them out again. Zhi Yong Wu (6): vhost: remove the dead branch vhost: adjust vhost_dev_init() to be void macvtap: remove the dead branch macvtap: adjust macvtap_skb_to_vnet_hdr() to be void macvtap: update file current

[net-next PATCH 5/6] macvtap: update file current position

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index f599c47..4914d85 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -872,6 +872,8

Re: [PATCH] SFI: fix compilation warnings

2013-12-05 Thread Rafael J. Wysocki
On Thursday, December 05, 2013 11:36:37 PM Rafael J. Wysocki wrote: > On Thursday, December 05, 2013 07:26:37 PM Andy Shevchenko wrote: > > When build kernel with make W=1 we get the following compiler error. > > > > In file included from drivers/sfi/sfi_acpi.c:66:0: > > include/linux/sfi_acpi.h:

Re: [RFC part1 PATCH 0/7] Make ACPI core running on ARM64

2013-12-05 Thread Arnd Bergmann
On Tuesday 03 December 2013, Hanjun Guo wrote: > This is the first part of making ACPI core running on ARM. > > PCI is optional on ARM64 but ACPI is dependent on PCI now, so > in the first patch we try to make ACPI can be running without > PCI. > > _PDC is requred for ACPI processor_core.c, but

Re: [PATCH] SFI: fix compilation warnings

2013-12-05 Thread Rafael J. Wysocki
On Thursday, December 05, 2013 07:26:37 PM Andy Shevchenko wrote: > When build kernel with make W=1 we get the following compiler error. > > In file included from drivers/sfi/sfi_acpi.c:66:0: > include/linux/sfi_acpi.h: In function ‘acpi_sfi_table_parse’: > include/linux/sfi_acpi.h:72:2: error:

Re: [PATCH 0/5] PM: Enable option of re-use runtime PM callbacks at system suspend

2013-12-05 Thread Alan Stern
On Thu, 5 Dec 2013, Len Brown wrote: > This thread raises the question... > > Do we still need to have PM_RUNTIME apart from PM_SLEEP? > > What is the benefit of being able to build-in one one without the other? > If that benefit is not significant, perhaps the time has come to > replace them

[PATCH] kbuild: Fix silent builds with make-4

2013-12-05 Thread Emil Medve
make-4 changed the way/order it presents the command line options into MAKEFLAGS In make-3.8x, '-s' would always be first into a group of options with the '-'/hyphen removed $ make -p -s 2>/dev/null | grep ^MAKEFLAGS MAKEFLAGS = sp In make-4, '-s' seems to always be last into a group of options

Re: [PATCH] X86 platform: New IOSF-SB MBI driver for Intel SOCs

2013-12-05 Thread Rafael J. Wysocki
On Thursday, December 05, 2013 12:01:46 PM David E. Box wrote: > From: "David E. Box" > > Current Intel SOC cores use a MailBox Interface (MBI) to provide access to > unit > devices connected to the system fabric. This driver implements the API > required > for other kernel drivers to

[PATCH] clocksource: kona: Print warning rather than panic

2013-12-05 Thread Tim Kryger
Since there may be other clocksources available, this driver should not trigger a panic simply because it can not determine the frequency of an external clock. This change refactors the driver to allow a warning to be printed in this case instead. Signed-off-by: Tim Kryger Reviewed-by: Markus

Re: [PATCH 2/2] net/fddi: Replace local marco with PCI standard macro

2013-12-05 Thread Maciej W. Rozycki
On Thu, 5 Dec 2013, Yijing Wang wrote: > Replace local marco DFX_BUS_PCI with PCI standard marco > dev_is_pci(). Typos above: marco -> macro > Signed-off-by: Yijing Wang > --- > drivers/net/fddi/defxx.c | 20 +++- > 1 files changed, 7 insertions(+), 13 deletions(-) > >

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-05 Thread Arnd Bergmann
On Wednesday 04 December 2013, Hanjun Guo wrote: > On 2013年12月04日 00:41, Matthew Garrett wrote: > > Given the number of #ifdefs you're adding, wouldn't it make more sense > > to just add stub functions to include/linux/pci.h? > > Thanks for the suggestion :) > > I can add stub functions in

Re: [PATCH 0/4] Convert ACPI fan driver to platform driver

2013-12-05 Thread Rafael J. Wysocki
On Thursday, December 05, 2013 01:56:24 PM Zhang, Rui wrote: > > > -Original Message- > > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > > Sent: Thursday, December 05, 2013 7:10 AM > > To: Lu, Aaron > > Cc: Zhang, Rui; linux-a...@vger.kernel.org; linux- > > ker...@vger.kernel.org;

Re: [PATCH] selinux: selinux_setprocattr()->ptrace_parent() needs rcu_read_lock()

2013-12-05 Thread Paul Moore
On Thursday, December 05, 2013 05:59:53 PM Oleg Nesterov wrote: > selinux_setprocattr() does ptrace_parent(p) under task_lock(p), > but task_struct->alloc_lock doesn't pin ->parent or ->ptrace, > this looks confusing and triggers the "suspicious RCU usage" > warning because ptrace_parent() does

[RESEND PATCH] ARM: dts: bcm28155-ap: Fix Card Detection GPIO

2013-12-05 Thread Tim Kryger
The board schematic states that the "SD_CARD_DET_N gets pulled to GND when card is inserted" so the polarity has been updated to active low. Polarity is now specified with a GPIO define instead of a magic number. Signed-off-by: Tim Kryger Reviewed-by: Matt Porter ---

Re: [PATCH 0/4] Convert ACPI fan driver to platform driver

2013-12-05 Thread Rafael J. Wysocki
On Thursday, December 05, 2013 03:47:35 PM Aaron Lu wrote: > On Thu, Dec 05, 2013 at 12:07:31AM +0100, Rafael J. Wysocki wrote: > > On Tuesday, December 03, 2013 04:28:28 PM Aaron Lu wrote: > > > This patchset converts ACPI fan driver to platform driver. Patch 1-3 are > > > cleanups for existing

[PATCH v4] crypto: more robust crypto_memneq

2013-12-05 Thread Cesar Eduardo Barros
Disabling compiler optimizations can be fragile, since a new optimization could be added to -O0 or -Os that breaks the assumptions the code is making. Instead of disabling compiler optimizations, use a dummy inline assembly (based on RELOC_HIDE) to block the problematic kinds of optimization,

Re: [PATCH 0/5] PM: Enable option of re-use runtime PM callbacks at system suspend

2013-12-05 Thread Len Brown
This thread raises the question... Do we still need to have PM_RUNTIME apart from PM_SLEEP? What is the benefit of being able to build-in one one without the other? If that benefit is not significant, perhaps the time has come to replace them both with CONFIG_PM... cheers, -Len Brown, Intel

Re: [PATCH tip/core/locking 4/4] Documentation/memory-barriers.txt: Document ACCESS_ONCE()

2013-12-05 Thread Paul E. McKenney
On Thu, Dec 05, 2013 at 01:21:01PM -0700, Jonathan Corbet wrote: > On Wed, 4 Dec 2013 14:46:59 -0800 > "Paul E. McKenney" wrote: > > > From: "Paul E. McKenney" > > > > The situations in which ACCESS_ONCE() is required are not well documented, > > so this commit adds some verbiage to

Re: [PATCH v4 0/4] LP3943 MFD driver for a GPIO expander and a PWM generator

2013-12-05 Thread Mark Brown
On Wed, Dec 04, 2013 at 11:34:32AM +0100, Thierry Reding wrote: > On Wed, Sep 25, 2013 at 01:22:55PM +0900, Milo Kim wrote: > > mfd: add LP3943 MFD driver > > gpio: add LP3943 I2C GPIO expander driver > > pwm: add LP3943 PWM driver > > Documentation: add LP3943 DT bindings and document >

Re: smp_call_function_single with wait=0 considered harmful

2013-12-05 Thread Bjorn Helgaas
On Wed, Dec 4, 2013 at 9:46 AM, Christoph Hellwig wrote: > While doing my recent work on the generic smp function calls I noticed > that smp_call_function_single without the wait flag can't work, as > it allocates struct call_single_data on stack, and without the wait > flag will happily return

[GIT PULL] Block fixes for 3.13-rc

2013-12-05 Thread Jens Axboe
Hi Linus, A small collection of fixes for the current series. It contains: - A fix for a use-after-free of a request in blk-mq. From Ming Lei. - A fix for a blk-mq bug that could attempt to dereference a NULL rq if allocation failed. - Two xen-blkfront small fixes. - Cleanup of

Re: [PATCH 3.12 07/19] tcp: gso: fix truesize tracking

2013-12-05 Thread David Miller
From: Ben Hutchings Date: Thu, 28 Nov 2013 05:25:17 + > On Mon, 2013-11-18 at 10:37 -0800, Greg Kroah-Hartman wrote: >> 3.12-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >> From: Eric Dumazet >> >> [ Upstream commit

ATTN: Urgent Lucrative Proposal..

2013-12-05 Thread Mr.Leslie Holt
Hello, I am Mr.Leslie Holt of NatWest Bank UK. I have a lucrative business proposal for your review. I believe we could mutually benefit from this scenario. Please contact me on my private email address: leslieholt...@yahoo.com.hk Sincerely, Mr.Leslie Holt. -- To unsubscribe from this list:

Re: [OOPS, 3.13-rc2] null ptr in dio_complete()

2013-12-05 Thread Dave Chinner
On Thu, Dec 05, 2013 at 10:22:20PM +0800, Ming Lei wrote: > On Wed, 4 Dec 2013 12:58:38 +1100 > Dave Chinner wrote: > > > > > And I just hit this from running xfs_repair which is doing > > multithreaded direct IO directly on /dev/vdc: . > > So this is looking like another virtio+blk_mq

Re: [PATCH v2] net: handle error more gracefully in socketpair()

2013-12-05 Thread David Miller
From: Yann Droneaud Date: Mon, 2 Dec 2013 11:12:26 +0100 > socketpair() error paths can be simplified to not call > heavy-weight sys_close(). > > This patch makes socketpair() use of error paths which do not > rely on heavy-weight call to sys_lose(): it's better to try > to push the file

rcu: Avoid irq disable in rcu_cpu_kthread

2013-12-05 Thread Christoph Lameter
Once we have the per cpu patchset merged we could do the following [it even works without that patchset but the __this_cpu ops will not do preemption checks]. Would this work? Subject: rcu: Avoid irq disable in rcu_cpu_kthread The use of this_cpu ops avoids numerous address calculations and

[PATCH] staging: silicom: fix 'return is not a function, parentheses are not required' in bpctl_mod.c

2013-12-05 Thread Will Tange
Fixes warnings regarding redundant parantheses thrown by the checkpatch tool in bpctl_mod.c Signed-off-by: Will Tange --- drivers/staging/silicom/bpctl_mod.c | 122 ++-- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git

Re: [PATCH v12 10/18] memcg,list_lru: add per-memcg LRU list infrastructure

2013-12-05 Thread Dave Chinner
On Tue, Dec 03, 2013 at 04:29:14PM +0400, Vladimir Davydov wrote: > On 12/03/2013 03:18 PM, Dave Chinner wrote: > > On Mon, Dec 02, 2013 at 03:19:45PM +0400, Vladimir Davydov wrote: > >> FS-shrinkers, which shrink dcaches and icaches, keep dentries and inodes > >> in list_lru structures in order

[PATCH cgroup/for-3.13-fixes] cgroup: fix oops in cgroup init failure path

2013-12-05 Thread Tejun Heo
Hello, Vladimir. Thanks a lot for the report and fix; however, I really wanna make sure that only online css's become visible, so I wrote up a different fix. Can you please test this one? Thanks a lot! -- 8< -- ae7f164a0940 ("cgroup: move cgroup->subsys[] assignment to online_css()")

Re: [BUG] Re: [PATCH v10 1/3] aerdrv: Trace Event for AER

2013-12-05 Thread Borislav Petkov
On Thu, Dec 05, 2013 at 11:21:10AM -0700, Betty Dall wrote: > The definition of the GHES_SEV* matches up with the error severity > definition of the CPER records as defined in the UEFI spec section > N.2.1: > "Indicates the severity of the error condition. The severity of > the error record

quilt 0.60 does not include CCed email without name

2013-12-05 Thread Christoph Lameter
> > You say this in the commit, but the linux-parisc list isn't cc'd on the > > email ... > > Weird my testoutput before the patchset was sent out shows that it > was included then : Ok while the test output was done with quilt 0.50 the patch was actually send with quilt 0.60 from another system.

Re: [RFC PATCH v3 17/19] smp, tile: kill SMP single function call interrupt

2013-12-05 Thread Chris Metcalf
On 12/4/2013 11:13 AM, Jiang Liu wrote: > Commit 9a46ad6d6df3b54 "smp: make smp_call_function_many() use logic > similar to smp_call_function_single()" has unified the way to handle > single and multiple cross-CPU function calls. Now only one intterupt > is needed for architecture specific code to

Re: pull request: wireless 2013-12-05

2013-12-05 Thread David Miller
From: "John W. Linville" Date: Thu, 5 Dec 2013 11:51:42 -0500 > Please pull this batch of fixes intende for the 3.13 stream! Pulled, thanks John. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] ftrace: default to tilegx if ARCH=tile is specified

2013-12-05 Thread Steven Rostedt
On Thu, 5 Dec 2013 15:36:54 -0500 Tony Lu wrote: > This matches the existing behavior in arch/tile/Makefile for defconfig. > If you want to pull this in through the tile tree, you can add my: Acked-by: Steven Rostedt Or I can take it. Either way is fine with me. -- Steve > Reported-by:

Re: [PATCH v4 07/12] efi: passing kexec necessary efi data via setup_data

2013-12-05 Thread Borislav Petkov
On Thu, Dec 05, 2013 at 08:56:02AM -0700, Toshi Kani wrote: > The smbios in efi_setup_data is necessary for kexec to pass the physical > address of the SMBIOS table from the 1st kernel to the 2nd kernel. > > The kernel boot sequence proceeds in the following order. Step 2 > requires efi.smbios

Re: [PATCH] audit: process errors from filter user rules

2013-12-05 Thread Eric Paris
I know we talked about this patch, and it seemed like a good idea at the time, but honestly, these races are so rare, it isn't worth the code complexity. I tried to simplify the readability of your code and got something better, but still the loop is needless... Just log the messages on any

[PATCH] ftrace: default to tilegx if ARCH=tile is specified

2013-12-05 Thread Tony Lu
This matches the existing behavior in arch/tile/Makefile for defconfig. Reported-by: fengguang...@intel.com Signed-off-by: Tony Lu Signed-off-by: Chris Metcalf --- Chris Metcalf will push this change via the tile tree. scripts/recordmcount.pl | 3 ++- 1 file changed, 2 insertions(+), 1

[GIT PULL] arch/tile ftrace bug fix for v3.13

2013-12-05 Thread Chris Metcalf
Linus, Please pull the following change for 3.13 from: git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git stable This fixes a build failure with allyesconfig reported by Fengguang Wu and fixed by Tony Lu. Tony Lu (1): ftrace: default to tilegx if ARCH=tile is

Re: [PATCH 1/2] regulator: gpio: Document regulator-type property

2013-12-05 Thread Mark Brown
On Thu, Dec 05, 2013 at 09:08:59PM +0100, Laurent Pinchart wrote: > On Thursday 05 December 2013 19:12:01 Mark Brown wrote: > > +- regulator-type : Specifies what is being regulated, must be either > > + "voltage" or "current" > What about adding "The type defaults to

[PATCH] watchdog: touch_nmi_watchdog should only touch local cpu not every one

2013-12-05 Thread Ben Zhang
I ran into a scenario where while one cpu was stuck and should have panic'd because of the NMI watchdog, it didn't. The reason was another cpu was spewing stack dumps on to the console. Upon investigation, I noticed that when writing to the console and also when dumping the stack, the watchdog

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