[PATCH 3.12 25/27] ARM: 7934/1: DT/kernel: fix arch_match_cpu_phys_id to avoid erroneous match

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Sudeep Holla commit e44ef891e9e68b6ce7d3fd3bac73b7d5433050ae upstream. The MPIDR contains specific bitfields(MPIDR.Aff{2..0}) which uniquely identify a CPU, in addition to some non-identifying

[PATCH 3.12 04/27] staging: comedi: addi_apci_1032: fix subdevice type/flags bug

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: H Hartley Sweeten commit 90daf69a7a3f1d1a41018c799968a0bb896d65e0 upstream. The SDF_CMD_READ should be one of the s->subdev_flags not part of the s->type. Signed-off-by: H Hartley Sweeten Re

Re: [PATCH] staging: usbip: convert usbip-host driver to usb_device_driver

2014-01-23 Thread Greg KH
On Thu, Jan 23, 2014 at 08:36:46PM +0200, Valentina Manea wrote: > This driver was previously an interface driver. Since USB/IP > exports a whole device, not just an interface, it would make > sense to be a device driver. > > This patch also modifies the way userspace sees and uses a > shared devi

Re: [PATCH 02/11] x86: sysfb: remove sysfb when probing real hw

2014-01-23 Thread David Herrmann
Hi On Thu, Jan 23, 2014 at 6:14 PM, Ingo Molnar wrote: > > * David Herrmann wrote: > >> >> +#ifdef CONFIG_X86_SYSFB >> >> +# include >> >> +#endif >> > >> > I guess a single space is sufficient? >> > >> > Better yet, I'd include sysfb.h unconditionally: >> >> Unconditionally won't work as only

Re: [PATCH 2/2] Add at24 based EEPROMs to the eeprom_dev hardware class

2014-01-23 Thread Curt Brune
On Thu Jan 23 19:15, Wolfram Sang wrote: > > > Well, it is not the Copyrights section, or you are saying the same > > people should go to MODULE_AUTHOR as in the Copyrights section, even > > if it is potentially several names? I thought this would be the name > > of the person who put the file tog

[PATCH 3.12 12/27] SELinux: Fix possible NULL pointer dereference in selinux_inode_permission()

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 3dc91d4338d698ce77832985f9cb183d8eeaf6be upstream. While running stress tests on adding and deleting ftrace instances I hit this bug: BUG: unable to handle kernel NULL

Re: AMD microcode loading broken on 32 bit

2014-01-23 Thread Boris Ostrovsky
On 01/23/2014 01:54 PM, Gene Heskett wrote: On Thursday 23 January 2014, Boris Ostrovsky wrote: On 01/21/2014 01:25 PM, Borislav Petkov wrote: On Tue, Jan 21, 2014 at 12:55:53PM -0500, Boris Ostrovsky wrote: cat $(AMD_UCODE_PATH)/* > ucode_initrd/kernel/x86/microcode/AuthenticAMD.bi

[PATCH 3.12 08/27] fork: Allow CLONE_PARENT after setns(CLONE_NEWPID)

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit 1f7f4dde5c945f41a7abc2285be43d918029ecc5 upstream. Serge Hallyn writes: > Hi Oleg, > > commit 40a0d32d1eaffe6aac7324ca92604b6b3977eb0e : > "fork: unify and tighten

[PATCH 3.12 09/27] i2c: Re-instate body of i2c_parent_is_i2c_adapter()

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Warren commit 2fac2b891f287691c27ee8d2eeecf39571b27fea upstream. The body of i2c_parent_is_i2c_adapter() is currently guarded by I2C_MUX. It should be CONFIG_I2C_MUX instead. Among po

[PATCH 3.12 06/27] vfs: In d_path dont call d_dname on a mount point

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit f48cfddc6729ef133933062320039808bafa6f45 upstream. Aditya Kali (adityak...@google.com) wrote: > Commit bf056bfa80596a5d14b26b17276a56a0dcb080e5: > "proc: Fix the nam

[PATCH 3.12 05/27] staging: comedi: adl_pci9111: fix incorrect irq passed to request_irq()

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: H Hartley Sweeten commit 48108fe3daa0d142f9b97178fdb23704ea3a407b upstream. The dev->irq passed to request_irq() will always be 0 when the auto_attach function is called. The pcidev->irq shoul

[PATCH 3.12 15/27] crash_dump: fix compilation error (on MIPS at least)

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Qais Yousef commit 5a610fcc7390ee60308deaf09426ada87a1eeec2 upstream. In file included from kernel/crash_dump.c:2:0: include/linux/crash_dump.h:22:27: error: unknown type name `pgprot_t'

Re: x86: Inconsistent xAPIC synchronization in arch_irq_work_raise?

2014-01-23 Thread Peter Zijlstra
On Thu, Jan 23, 2014 at 07:51:40PM +0100, Jan Kiszka wrote: > Next we have x86's arch_irq_work_raise which does wait-write-wait, > either by chance or in order to work around a missing atomicity of > wait+write somewhere else. Preemption is off, interrupts remain on. Note that arch_irq_work_raise(

[PATCH 3.12 27/27] ARM: 7938/1: OMAP4/highbank: Flush L2 cache before disabling

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Taras Kondratiuk commit b25f3e1c358434bf850220e04f28eebfc45eb634 upstream. Kexec disables outer cache before jumping to reboot code, but it doesn't flush it explicitly. Flush is done implicitl

Re: [PATCH-v2 1/3] percpu_ida: Make percpu_ida_alloc + callers accept task state bitmask

2014-01-23 Thread Peter Zijlstra
On Thu, Jan 23, 2014 at 10:40:04AM -0800, Nicholas A. Bellinger wrote: > On Wed, 2014-01-22 at 11:53 -0800, Nicholas A. Bellinger wrote: > > Hi Peter, > > > > Does this satisfy your questions..? > > > > Do you have any more concerns about TASK_RUNNING + prepare_to_wait() > > usage in percpu_ida_a

Re: [PATCH 0/10] framebuffer patches

2014-01-23 Thread Linus Torvalds
Hmm. Is there some reason why these are not going through Tomi? And cc'd to linux-fbdev for that matter? It's not that I can't apply patches sent directly to me, but quite frankly, unless there is a *reason* to not go through the subsystem maintainer I don't really want to. Afaik Tomi has been act

[PATCH 3.12 07/27] vfs: Fix a regression in mounting proc

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit 41301ae78a99ead04ea42672a1ab72c6f44cc81d upstream. Gao feng reported that commit e51db73532955dc5eaba4235e62b74b460709d5b userns: Better restrictions on when proc a

[PATCH 3.12 03/27] GFS2: Increase i_writecount during gfs2_setattr_chown

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Bob Peterson commit 62e96cf81988101fe9e086b2877307b6adda5197 upstream. This patch calls get_write_access in function gfs2_setattr_chown, which merely increases inode->i_writecount for the dura

[PATCH 3.12 02/27] perf/x86/amd/ibs: Fix waking up from S3 for AMD family 10h

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Robert Richter commit bee09ed91cacdbffdbcd3b05de8409c77ec9fcd6 upstream. On AMD family 10h we see following error messages while waking up from S3 for all non-boot CPUs leading to a failed IBS

Re: [PATCH v5 22/22] XIP: Add support for unwritten extents

2014-01-23 Thread Ross Zwisler
On Thu, 23 Jan 2014, Matthew Wilcox wrote: > On Wed, Jan 22, 2014 at 03:51:56PM -0700, Ross Zwisler wrote: > > > + if (hole) { > > > addr = NULL; > > > - hole = true; > > > size = bh->b_size; > > > +

[PATCH 3.12 24/27] serial: amba-pl011: use port lock to guard control register access

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Jon Medhurst commit fe43390702a1b5741fdf217063b05c7612b38303 upstream. When the pl011 is being used for a console, pl011_console_write forces the control register (CR) to enable the UART for t

[PATCH 3.12 23/27] mm: Make {,set}page_address() static inline if WANT_PAGE_VIRTUAL

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit f92f455f67fef27929e6043499414605b0c94872 upstream. {,set}page_address() are macros if WANT_PAGE_VIRTUAL. If !WANT_PAGE_VIRTUAL, they're plain C functions. If someon

Re: [PATCH 3/3] ARM: allow kernel to be loaded in middle of phymem

2014-01-23 Thread Nicolas Pitre
On Wed, 22 Jan 2014, Wang Nan wrote: > This patch allows the kernel to be loaded at the middle of kernel awared > physical memory. Before this patch, users must use mem= or device tree to > cheat > kernel about the start address of physical memory. > > This feature is useful in some special case

[PATCH 3.12 22/27] md/raid5: Fix possible confusion when multiple write errors occur.

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 1cc03eb93245e63b0b7a7832165efdc52e25b4e6 upstream. commit 5d8c71f9e5fbdd95650be00294d238e27a363b5c md: raid5 crash during degradation Fixed a crash in an overly simplisti

[PATCH 3.12 20/27] md/raid10: fix bug when raid10 recovery fails to recover a block.

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit e8b849158508565e0cd6bc80061124afc5879160 upstream. commit e875ecea266a543e643b19e44cf472f1412708f9 md/raid10 record bad blocks as needed during recovery. added code to th

[PATCH 3.12 16/27] mm: fix crash when using XFS on loopback

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 03e5ac2fc3bf6f4140db0371e8bb4243b24e3e02 upstream. Commit 8456a648cf44 ("slab: use struct page for slab management") causes a crash in the LVM2 testsuite on PA-RISC (the

[PATCH 3.12 21/27] md/raid10: fix two bugs in handling of known-bad-blocks.

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit b50c259e25d9260b9108dc0c2964c26e5ecbe1c1 upstream. If we discover a bad block when reading we split the request and potentially read some of it from a different device. The c

[PATCH 3.12 01/27] Revert "ACPI: Add BayTrail SoC GPIO and LPSS ACPI IDs"

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit 2b844ba79f4a114bd228ad6fee040ffd99a0963d upstream. This reverts commit f6308b36c411 (ACPI: Add BayTrail SoC GPIO and LPSS ACPI IDs), because it causes the Alan Cox'

[PATCH 3.12 19/27] md: fix problem when adding device to read-only array with bitmap.

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 8313b8e57f55b15e5b7f7fc5d1630bbf686a9a97 upstream. If an array is started degraded, and then the missing device is found it can be re-added and a minimal bitmap-based recovery

Re: [PATCH] mm/zswap: add writethrough option

2014-01-23 Thread Dan Streetman
On Wed, Jan 22, 2014 at 7:18 PM, Minchan Kim wrote: > Hello all, > > On Wed, Jan 22, 2014 at 12:33:58PM -0800, Andrew Morton wrote: >> On Wed, 22 Jan 2014 09:19:58 -0500 Dan Streetman wrote: >> >> > >>> > Acutally, I really don't know how much benefit we have that in-memory >> > >>> > swap overco

[PATCH 3.12 14/27] ftrace/x86: Load ftrace_ops in parameter not the variable holding it

2014-01-23 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 1739f09e33d8f66bf48ddbc3eca615574da6c4f6 upstream. Function tracing callbacks expect to have the ftrace_ops that registered it passed to them, not the address of the vari

Re: x86: Inconsistent xAPIC synchronization in arch_irq_work_raise?

2014-01-23 Thread Andi Kleen
> So now I'm looking for consistent locking rules (which type of lock, who > is responsible when issuing IPIs?) and a good (ie. also efficient) way > to apply them. It has to be lockless, the machine checks run as NMIs. The whole point of the self nmi is to get back to a lockable state. -Andi --

[PATCH V4 1/5] power: reset: Add generic SYSCON register mapped reset

2014-01-23 Thread Feng Kan
Add a generic SYSCON register mapped reset mechanism. Signed-off-by: Feng Kan --- drivers/power/reset/Kconfig |7 +++ drivers/power/reset/Makefile|1 + drivers/power/reset/syscon-reboot.c | 100 +++ 3 files changed, 108 insertions(+), 0 de

Re: [PATCH 4/10] atyfb: set FBINFO_READS_FAST

2014-01-23 Thread Linus Torvalds
Hmm. You're doing this for Matrix and now the aty driver. Maybe the problem is at the fbcon level? Depending on FBINFO_READS_FAST to decide whether you should scroll or rewrite sounds a bit silly: even if a device doesn't have fast reads, maybe it has a fast accelerated BLIT operation and scrolls

Re: [patch 9/9] mm: keep page cache radix tree nodes in check

2014-01-23 Thread Johannes Weiner
On Thu, Jan 23, 2014 at 02:20:14PM +0900, Minchan Kim wrote: > On Wed, Jan 22, 2014 at 01:42:17PM -0500, Johannes Weiner wrote: > > On Mon, Jan 13, 2014 at 04:39:47PM +0900, Minchan Kim wrote: > > > On Fri, Jan 10, 2014 at 01:10:43PM -0500, Johannes Weiner wrote: > > > > @@ -123,9 +129,39 @@ static

Re: [PATCH Resend 4/8] ASoC: simple-card: Add snd_card's name parsing from DT node support

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 01:02:46PM +0800, Xiubo Li wrote: > + /* parsing the card name from DT */ > + snd_soc_of_parse_card_name(&priv->snd_card, "simple-audio-card,name"); > + This is OK but new properties need documenting in the binding. signature.asc Description: Digital signature

Re: [PATCH] pid: change task_struct::pid to read-only

2014-01-23 Thread Richard Guy Briggs
On 13/12/22, Oleg Nesterov wrote: > On 12/20, Peter Zijlstra wrote: > > > > On Fri, Dec 20, 2013 at 08:01:57PM +0100, Oleg Nesterov wrote: > > > The only problem is that > > > > > > #define ASSIGN_CONST(l, r) (*(typeof(r) *)&(l) = (r)) > > > > > > obviously can't work in this case ;) We need

[PATCH V4 4/5] arm64: Select reboot driver for X-Gene platform

2014-01-23 Thread Feng Kan
Select reboot driver for X-Gene platform. Signed-off-by: Feng Kan --- arch/arm64/Kconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index dd4327f..f43820f 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -123,6 +12

Re: [PATCH Resend 3/8] ASoC: simple-card: simplify the daifmt code

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 01:02:45PM +0800, Xiubo Li wrote: > In the asoc_simple_card_parse_of() will parse the device node's CPU/CODEC > DAI commone fmts, and then in asoc_simple_card_sub_parse_of() will parse > the CPU/CODEC DAI's sub-node fmts, so we can combine the info->daifmt and > info->set.fm

[PATCH V4 3/5] arm64: dts: Add X-Gene reboot driver dts node

2014-01-23 Thread Feng Kan
Add X-Gene platform reboot driver dts node. Signed-off-by: Feng Kan --- arch/arm64/boot/dts/apm-storm.dtsi | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index d37d736..4ef9d26 100644

[PATCH V4 2/5] power: reset: Remove X-Gene reboot driver

2014-01-23 Thread Feng Kan
Remove X-Gene reboot driver. Signed-off-by: Feng Kan --- drivers/power/reset/Kconfig|7 --- drivers/power/reset/Makefile |1 - drivers/power/reset/xgene-reboot.c | 103 3 files changed, 0 insertions(+), 111 deletions(-) delete mode 100

[PATCH V4 0/5] Add X-Gene platform reboot mechanism

2014-01-23 Thread Feng Kan
Enable reboot driver for the X-Gene platform. Add generic syscon reboot driver. V4 Change: - Remove old X-Gene reboot driver - Add generic syscon reboot driver - Add DTS and Kconfig for X-Gene reboot using syscon method V3 Change: - Remove the reboot driver's use o

[PATCH] xen-blkback: fix memory leak when persistent grants are used

2014-01-23 Thread Matt Wilson
From: Matt Rushton Currently shrink_free_pagepool() is called before the pages used for persistent grants are released via free_persistent_gnts(). This results in a memory leak when a VBD that uses persistent grants is torn down. Cc: Konrad Rzeszutek Wilk Cc: "Roger Pau Monné" Cc: Ian Campbell

Re: [PATCH 0/10] framebuffer patches

2014-01-23 Thread Mikulas Patocka
On Thu, 23 Jan 2014, Linus Torvalds wrote: > Hmm. Is there some reason why these are not going through Tomi? And > cc'd to linux-fbdev for that matter? > > It's not that I can't apply patches sent directly to me, but quite > frankly, unless there is a *reason* to not go through the subsystem >

[PATCH v2 1/2] Create eeprom_dev hardware class for EEPROM devices

2014-01-23 Thread Curt Brune
Create a new hardware class under /sys/class/eeprom_dev EEPROM drivers can register their devices with the eeprom_dev class during instantiation. The registered devices show up as: /sys/class/eeprom_dev/eeprom0 /sys/class/eeprom_dev/eeprom1 ... /sys/class/eeprom_dev/eeprom[N] Each membe

Re: [PATCH 0/10] framebuffer patches

2014-01-23 Thread Linus Torvalds
On Thu, Jan 23, 2014 at 11:26 AM, Mikulas Patocka wrote: > > I posted the patches a year ago to the linux-fbdev mailing list > (http://marc.info/?l=linux-fbdev&r=6&b=201208&w=2) and to Florian Tobias > Schandinat who was FB maintainer at that time. I didn't get an answer and > they were ignored.

Re: [PATCH-v2 1/3] percpu_ida: Make percpu_ida_alloc + callers accept task state bitmask

2014-01-23 Thread Nicholas A. Bellinger
On Thu, 2014-01-23 at 20:12 +0100, Peter Zijlstra wrote: > On Thu, Jan 23, 2014 at 10:40:04AM -0800, Nicholas A. Bellinger wrote: > > On Wed, 2014-01-22 at 11:53 -0800, Nicholas A. Bellinger wrote: > > > Hi Peter, > > > > > > Does this satisfy your questions..? > > > > > > Do you have any more co

Re: [PATCH 5/8] ASoC: core: set_tdm_slot() will return -ENOTSUPP if no operation provided

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 01:02:47PM +0800, Xiubo Li wrote: > Make it easier for generic code to work with set_tdm_slot() by distinguishing > between the operation not being supported and an error as is done. Applied, thanks. signature.asc Description: Digital signature

Re: AMD microcode loading broken on 32 bit

2014-01-23 Thread Borislav Petkov
On Thu, Jan 23, 2014 at 01:08:46PM -0500, Boris Ostrovsky wrote: > So I tried this on a "good" system and I am pretty sure this is > broken. I don't have any microcode in initrd and I am still dying in > load_microcode_amd(). 32-bit still or 64-bit? > I didn't dig any further but if you can't rep

[PATCH V4 5/5] Documentation: power: reset: Add documentation for generic SYSCON reboot driver

2014-01-23 Thread Feng Kan
Add documentation for generic SYSCON reboot driver. Signed-off-by: Feng Kan --- .../bindings/power/reset/syscon-reboot.txt | 16 1 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/power/reset/syscon-reboot.txt diff

[PATCH v2 2/2] Add at24 based EEPROMs to the eeprom_dev hardware class

2014-01-23 Thread Curt Brune
During device instantiation have the at24 driver add the new device to the eeprom_dev hardware class. The functionality is enabled by CONFIG_EEPROM_CLASS. Signed-off-by: Curt Brune --- drivers/misc/eeprom/at24.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers

Re: [PATCH 4/10] atyfb: set FBINFO_READS_FAST

2014-01-23 Thread Mikulas Patocka
On Thu, 23 Jan 2014, Linus Torvalds wrote: > Hmm. You're doing this for Matrix and now the aty driver. > > Maybe the problem is at the fbcon level? Depending on > FBINFO_READS_FAST to decide whether you should scroll or rewrite > sounds a bit silly: even if a device doesn't have fast reads, may

Re: [PATCH v4 0/3] Send audit/procinfo/cgroup data in socket-level control message

2014-01-23 Thread Kay Sievers
On Thu, Jan 16, 2014 at 10:29 AM, Jan Kaluža wrote: > On 01/16/2014 12:23 AM, Tejun Heo wrote: >> On Wed, Jan 15, 2014 at 06:21:43PM -0500, Eric Paris wrote: >>> >>> Reliably being able to audit what process requested an action is >>> extremely useful. And I like the audit patch, as it is a coupl

Re: [PATCH-v2 1/3] percpu_ida: Make percpu_ida_alloc + callers accept task state bitmask

2014-01-23 Thread Kent Overstreet
On Thu, Jan 23, 2014 at 05:22:54PM +0100, Peter Zijlstra wrote: > On Thu, Jan 23, 2014 at 05:28:29AM -0800, Kent Overstreet wrote: > > pool->lock is also going to be fairly badly contended in the worst case, > > and that can get real bad real fast... now that I think about it we > > probably want t

Re: [PATCH 3/3] ARM: allow kernel to be loaded in middle of phymem

2014-01-23 Thread Russell King - ARM Linux
On Thu, Jan 23, 2014 at 02:15:07PM -0500, Nicolas Pitre wrote: > On Wed, 22 Jan 2014, Wang Nan wrote: > > > This patch allows the kernel to be loaded at the middle of kernel awared > > physical memory. Before this patch, users must use mem= or device tree to > > cheat > > kernel about the start a

Re: kvm virtio ethernet ring on guest side over high throughput (packet per second)

2014-01-23 Thread Alejandro Comisario
Jason, Stefan ... thank you so much. At a glance, disabling Nagle algorithm made the hundred thousands "20ms" delays to dissapear suddenly, tomorrow we are gonna made a "whole day" test again, and test client connectivity against "NginX and Memcached" to see if, because of the traffic we have (hund

Re: 3.13 hangs when I tried to start a KVM at a 32 bit stable Gentoo

2014-01-23 Thread Dave Hansen
On 01/23/2014 10:55 AM, Dave Hansen wrote: > On 01/21/2014 08:38 AM, Toralf Förster wrote: >> Jan 21 17:18:57 n22 kernel: INFO: rcu_sched self-detected stall on CPU { 2} >> (t=60001 jiffies g=18494 c=18493 q=183951) >> Jan 21 17:18:57 n22 kernel: sending NMI to all CPUs: >> Jan 21 17:18:57 n22 ke

[PATCH 5/7] pid: rewrite task helper function is_global_init() avoiding task->pid

2014-01-23 Thread Richard Guy Briggs
Use the access function task_pid_nr() to get pid. (informed by ebiederman's ea5a4d01) Cc: "Eric W. Biederman" Signed-off-by: Richard Guy Briggs --- include/linux/sched.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index

[PATCH 1/7] pid: change task_struct::pid to read-only

2014-01-23 Thread Richard Guy Briggs
task->pid is only ever assigned once (well ok, twice). For system health and secure logging confidence, make it const to make it much more intentional when it is being changed. Signed-off-by: Richard Guy Briggs --- arch/x86/kernel/process.c |2 +- fs/exec.c |4 +++- incl

[PATCH 6/7] pid: mark struct task const in helper functions

2014-01-23 Thread Richard Guy Briggs
It doesn't make any sense to recallers to pass in a non-const struct task so update the function signatures to only require a const struct task. (informed by ebiederman's c76b2526) Cc: "Eric W. Biederman" Signed-off-by: Richard Guy Briggs --- include/linux/sched.h | 36 ++-

[PATCH 4/7] pid: modify task_tgid_nr to work without task->tgid.

2014-01-23 Thread Richard Guy Briggs
task->tgid is an error prone construct and results in duplicate maintenance. Start it's demise by modifying task_tgid_nr to not use it. Cc: "Eric W. Biederman" Signed-off-by: Richard Guy Briggs --- include/linux/sched.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/i

Re: [PATCH-v2 1/3] percpu_ida: Make percpu_ida_alloc + callers accept task state bitmask

2014-01-23 Thread Kent Overstreet
On Thu, Jan 23, 2014 at 08:12:29PM +0100, Peter Zijlstra wrote: > On Thu, Jan 23, 2014 at 10:40:04AM -0800, Nicholas A. Bellinger wrote: > > On Wed, 2014-01-22 at 11:53 -0800, Nicholas A. Bellinger wrote: > > > Hi Peter, > > > > > > Does this satisfy your questions..? > > > > > > Do you have any

[PATCH 3/7] pid: use the CONST_CAST macro instead to write to const task_struct::pid

2014-01-23 Thread Richard Guy Briggs
The CONST_CAST macro is a cleaner and more reliable way to write to the const task_struct::pid. Cc: Oleg Nesterov Cc: Peter Zijlstra Signed-off-by: Richard Guy Briggs --- fs/exec.c |4 +--- kernel/fork.c |5 + 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/fs/ex

[PATCH 7/7] pid: get pid_t ppid of task in init_pid_ns

2014-01-23 Thread Richard Guy Briggs
Added the functions task_ppid_nr_ns() and task_ppid_nr() to abstract the lookup of the PPID (real_parent's pid_t) of a process, including rcu locking, in the arbitrary and init_pid_ns. This provides an alternative to sys_getppid(), which is relative to the child process' pid namespace. (informed b

Re: AMD microcode loading broken on 32 bit

2014-01-23 Thread Gene Heskett
On Thursday 23 January 2014, Boris Ostrovsky wrote: >Right. But the (suspected) regression is from this Monday's merge >of early microcode loading code. > >-boris Ahh, I missed that in the OP then. I'll get me coat. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap,

Re: [PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 07:47:56PM +0100, Tomasz Figa wrote: > On 23.01.2014 19:40, Mark Brown wrote: > >We'd need to leave it user selectable rather than enabling it for ARM, > >the whole reason this got noticed is that people are trying to build > >kernels that support a wider range of devices f

Re: [PATCH] staging: usbip: convert usbip-host driver to usb_device_driver

2014-01-23 Thread Valentina Manea
On Thu, Jan 23, 2014 at 9:09 PM, Greg KH wrote: > On Thu, Jan 23, 2014 at 08:36:46PM +0200, Valentina Manea wrote: >> This driver was previously an interface driver. Since USB/IP >> exports a whole device, not just an interface, it would make >> sense to be a device driver. >> >> This patch also m

[PATCH 0/7][RFC] pid: changes to support audit

2014-01-23 Thread Richard Guy Briggs
These are a number of patches inspired by ebiederman's container work that were included by me 2013-08-20 as the patchset: RFC: steps to make audit pid namespace-safe They have been seperated out for the pid maintainer since there are no direct dependencies from the audit pid namespace pat

Re: [PATCH 0/10] framebuffer patches

2014-01-23 Thread Mikulas Patocka
On Thu, 23 Jan 2014, Linus Torvalds wrote: > On Thu, Jan 23, 2014 at 11:26 AM, Mikulas Patocka wrote: > > > > I posted the patches a year ago to the linux-fbdev mailing list > > (http://marc.info/?l=linux-fbdev&r=6&b=201208&w=2) and to Florian Tobias > > Schandinat who was FB maintainer at that

Re: [PATCH-v2 1/3] percpu_ida: Make percpu_ida_alloc + callers accept task state bitmask

2014-01-23 Thread Nicholas A. Bellinger
On Thu, 2014-01-23 at 11:31 -0800, Nicholas A. Bellinger wrote: > On Thu, 2014-01-23 at 20:12 +0100, Peter Zijlstra wrote: > > On Thu, Jan 23, 2014 at 10:40:04AM -0800, Nicholas A. Bellinger wrote: > > > On Wed, 2014-01-22 at 11:53 -0800, Nicholas A. Bellinger wrote: > > > > Hi Peter, > > > > > >

[PATCH 1/2] perf tools: Fix traceevent plugin path definitions

2014-01-23 Thread Arnaldo Carvalho de Melo
From: Josh Boyer The plugindir_SQ definition contains $(prefix) which is not needed as the $(libdir) definition already contains prefix in it. This leads to the path including an extra prefix in it, e.g. /usr/usr/lib64. The -DPLUGIN_DIR defintion includes DESTDIR. This is incorrect, as it sets

[GIT PULL 0/2] perf/urgent fixes

2014-01-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, Regards, - Arnaldo The following changes since commit bb236de5d9509c1c6ea5ce0680f02e731ee2: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2014-01-2

[PATCH 2/2] perf symbols: Load map before using map->map_ip()

2014-01-23 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu In map_groups__find_symbol() map->map_ip is used without ensuring the map is loaded. Then the address passed to map->map_ip isn't mapped at the first time. E.g. below code always fails to get a symbol at the first call; addr = /* Somewhere in the kernel text */

[PATCH 2/7] compiler: CONST_CAST makes writing const vars easier and obvious

2014-01-23 Thread Richard Guy Briggs
There are vars that would benefit from making it more difficult or obvious to overwrite by setting them to const. This macro makes it easier to do so avoiding typos while making it easier to find such instances. Oleg Nesterov deserves full credit for this patch. Cc: Oleg Nesterov Cc: Peter Zijl

Re: [PATCH Resend 7/8] ASoC: add snd_soc_of_parse_audio_simple_widgets for DeviceTree

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 01:02:49PM +0800, Xiubo Li wrote: > +static struct snd_soc_dapm_widget simple_widgets[] = { > + SND_SOC_DAPM_MIC("Mic", NULL), > + SND_SOC_DAPM_LINE("Line", NULL), > + SND_SOC_DAPM_HP("Hp", NULL), > + SND_SOC_DAPM_SPK("Spk", NULL), > +}; Does this mean we'r

Re: [PATCH 8/8] ASoC: simple-card: add off-codec widgets supports.

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 01:02:50PM +0800, Xiubo Li wrote: > + /* off-codec widgets */ > + if (of_property_read_bool(node, "simple-audio-card,widgets")) { > + ret = snd_soc_of_parse_audio_simple_widgets(&priv->snd_card, > + "simple-audio-card,

Re: AMD microcode loading broken on 32 bit

2014-01-23 Thread Boris Ostrovsky
On 01/23/2014 02:29 PM, Borislav Petkov wrote: On Thu, Jan 23, 2014 at 01:08:46PM -0500, Boris Ostrovsky wrote: So I tried this on a "good" system and I am pretty sure this is broken. I don't have any microcode in initrd and I am still dying in load_microcode_amd(). 32-bit still or 64-bit? 32

Re: [PATCH] staging: usbip: convert usbip-host driver to usb_device_driver

2014-01-23 Thread Greg KH
On Thu, Jan 23, 2014 at 09:37:28PM +0200, Valentina Manea wrote: > On Thu, Jan 23, 2014 at 9:09 PM, Greg KH wrote: > > On Thu, Jan 23, 2014 at 08:36:46PM +0200, Valentina Manea wrote: > >> This driver was previously an interface driver. Since USB/IP > >> exports a whole device, not just an interfa

[PATCH v2] tracing: Allow changing default ring buffer size for ftrace instances.

2014-01-23 Thread Bharath Ravi
It is often memory efficient to start instances off with a smaller ring buffer size than the current default. This is particularly true on systems with many cores, or when multiple ftrace instances are created, where the current (higher) default value results in allocation failures. The global tra

Re: [PATCH 4/10] atyfb: set FBINFO_READS_FAST

2014-01-23 Thread Linus Torvalds
On Thu, Jan 23, 2014 at 11:31 AM, Mikulas Patocka wrote: > > Both mach64 and matrox have a hardware bitter that is faster than > rewriting the console - that's why FBINFO_READS_FAST improves performance > for them. My point is that I'd expect *anything* that has a hardware blitter to be faster th

Re: [PATCH] tracing: Allow instances to have independent trace flags/trace options.

2014-01-23 Thread Bharath Ravi
Hi Steven, This patch allows instances to have their own independent trace options (as opposed to the current globally shared trace options) Does this look like a reasonable change? Bharath Ravi | rbhar...@google.com On Fri, Nov 22, 2013 at 10:51 AM, Bharath Ravi wrote: > Currently, the trace

[PATCH] Adding basic support for the INet-97F_Rev_02 board

2014-01-23 Thread David Lanzendörfer
This patch adds basic support for the INet-97F_Rev_02 board found in various low cost consumer tablet devices (http://linux-sunxi.org/INet-97F_Rev_02) Signed-off-by: David Lanzendörfer --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/sun4i-a10-inet97fv2.dts | 106 ++

Re: [PATCH 6/8] ASoC: simple-card: add tdm slot supports

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 01:02:48PM +0800, Xiubo Li wrote: > For some CPU/CODEC DAI devices the tdm slot maybe needed. This patch > adds the tdm slot supporting for simple-card driver. This needs binding documentation. signature.asc Description: Digital signature

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-23 Thread Dave Chinner
On Thu, Jan 23, 2014 at 07:55:50AM -0500, Theodore Ts'o wrote: > On Thu, Jan 23, 2014 at 07:35:58PM +1100, Dave Chinner wrote: > > > > > > I expect it would be relatively simple to get large blocksizes working > > > on powerpc with 64k PAGE_SIZE. So before diving in and doing huge > > > amounts o

[PATCH 1/4] mtd: block2mtd: char mtd major check

2014-01-23 Thread Fabian Frederick
Deny use of a char mtd device to map as a block device. Signed-off-by: Fabian Frederick --- drivers/mtd/devices/block2mtd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/devices/block2mtd.c b/drivers/mtd/devices/block2mtd.c index d9fd87a..0efee5b 100644 --- a/

Re: 3.13 hangs when I tried to start a KVM at a 32 bit stable Gentoo

2014-01-23 Thread Toralf Förster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 01/23/2014 08:33 PM, Dave Hansen wrote: > On 01/23/2014 10:55 AM, Dave Hansen wrote: >> On 01/21/2014 08:38 AM, Toralf Förster wrote: >>> Jan 21 17:18:57 n22 kernel: INFO: rcu_sched self-detected stall on CPU { 2} >>> (t=60001 jiffies g=18494 c=

[PATCH 2/4] mtd: block2mtd: Add mutex_destroy

2014-01-23 Thread Fabian Frederick
mutex_destroy added on each device in block2mtd_exit and add_device failure Signed-off-by: Fabian Frederick --- drivers/mtd/devices/block2mtd.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/devices/block2mtd.c b/drivers/mtd/devices/block2mtd.c inde

Re: [PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-23 Thread Alan Cox
On Thu, 23 Jan 2014 19:36:33 + Mark Brown wrote: > On Thu, Jan 23, 2014 at 07:47:56PM +0100, Tomasz Figa wrote: > > On 23.01.2014 19:40, Mark Brown wrote: > > > >We'd need to leave it user selectable rather than enabling it for ARM, > > >the whole reason this got noticed is that people are t

Re: x86: Inconsistent xAPIC synchronization in arch_irq_work_raise?

2014-01-23 Thread Jan Kiszka
On 2014-01-23 20:22, Andi Kleen wrote: >> So now I'm looking for consistent locking rules (which type of lock, who >> is responsible when issuing IPIs?) and a good (ie. also efficient) way >> to apply them. > > It has to be lockless, the machine checks run as NMIs. > The whole point of the self nm

Re: [PATCH] regulator: ab3100: cast fix

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 03:20:01PM +0100, Linus Walleij wrote: > The AB3100 regulator driver emits a warning when compiled on 64bit > systems like this: Applied, thanks. signature.asc Description: Digital signature

[PATCH 3/4] mtd: block2mtd: check device size

2014-01-23 Thread Fabian Frederick
fixme applied : check device size is a multiple of erasesize. Signed-off-by: Fabian Frederick --- drivers/mtd/devices/block2mtd.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/devices/block2mtd.c b/drivers/mtd/devices/block2mtd.c index 8071596..f0fd4fc 1006

[PATCH 4/4] mtd: block2mtd: mutex_init moved

2014-01-23 Thread Fabian Frederick
mutex_init declared when mtd structure is available Signed-off-by: Fabian Frederick --- drivers/mtd/devices/block2mtd.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/devices/block2mtd.c b/drivers/mtd/devices/block2mtd.c index f0fd4fc..5b9b145 100644 ---

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-23 Thread James Bottomley
On Thu, 2014-01-23 at 16:44 +, Mel Gorman wrote: > On Thu, Jan 23, 2014 at 07:47:53AM -0800, James Bottomley wrote: > > On Thu, 2014-01-23 at 19:27 +1100, Dave Chinner wrote: > > > On Wed, Jan 22, 2014 at 10:13:59AM -0800, James Bottomley wrote: > > > > On Wed, 2014-01-22 at 18:02 +, Chris

Re: your mail

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 02:36:05PM +0530, Prabhakar Lad wrote: > Hi Mark, Please use a subject line for your e-mails, otherwise they look a lot like spam. > So currently I am booting it traditional way (NON DT way) and > regulator_dev_lookup() > fails (return NULL) and for this check it fails.

[PATCH v2] staging: usbip: convert usbip-host driver to usb_device_driver

2014-01-23 Thread Valentina Manea
This driver was previously an interface driver. Since USB/IP exports a whole device, not just an interface, it would make sense to be a device driver. This patch also modifies the way userspace sees and uses a shared device: * the usbip_status file is no longer created for interface 0, but for th

Re: [PATCH 0/2] Enable clock controllers on MSM

2014-01-23 Thread Kumar Gala
On Jan 23, 2014, at 11:25 AM, Kevin Hilman wrote: > Stephen Boyd writes: > >> These patches add the clock controller nodes, enable the clock drivers >> on MSM based platforms, and hook it up enough to get the serial console >> working. This is based on the merge of Mike's clk-next branch with

Re: [PATCH 3/3] ARM: allow kernel to be loaded in middle of phymem

2014-01-23 Thread Nicolas Pitre
On Thu, 23 Jan 2014, Russell King - ARM Linux wrote: > On Thu, Jan 23, 2014 at 02:15:07PM -0500, Nicolas Pitre wrote: > > On Wed, 22 Jan 2014, Wang Nan wrote: > > > > > This patch allows the kernel to be loaded at the middle of kernel awared > > > physical memory. Before this patch, users must us

Re: [PATCH 4/10] atyfb: set FBINFO_READS_FAST

2014-01-23 Thread Mikulas Patocka
On Thu, 23 Jan 2014, Linus Torvalds wrote: > On Thu, Jan 23, 2014 at 11:31 AM, Mikulas Patocka wrote: > > > > Both mach64 and matrox have a hardware bitter that is faster than > > rewriting the console - that's why FBINFO_READS_FAST improves performance > > for them. > > My point is that I'd e

Re: [PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 07:51:44PM +, Alan Cox wrote: > That strikes me as rather more risky. We can propogate it through the > drivers as we are sure it is safe to do so on that platform and encourage > driver authors to migrate. Better than a "big bang" and the inevitable > fallout. I don't

[PATCH v5 16/16] ARM: Remove uprobes dependency on kprobes

2014-01-23 Thread David Long
From: "David A. Long" Now that arm uprobes support has been made separate from the arm kprobes code the Kconfig can be changed to reflect that. Signed-off-by: David A. Long --- arch/arm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index fec5a6b

<    1   2   3   4   5   6   7   >