Re: [PATCH 39/48] powerpc: Replace __get_cpu_var uses

2014-02-14 Thread Mike Galbraith
On Fri, 2014-02-14 at 23:26 -0500, Steven Rostedt wrote: > On Sat, 15 Feb 2014 14:50:08 +1100 > Benjamin Herrenschmidt wrote: > > > For some reason Im still getting these as attachments instead of inline > > in the email, which makes reviewing a major PITA. Christoph, I'm not > > sure what you

Re: [PATCH] [RFC] staging: rtl8821ae: fix invalid bit mask on MSR_AP check

2014-02-14 Thread Levente Kurusa
On 02/14/2014 11:00 PM, Dan Carpenter wrote: > [...] >> Hi, >> >> This might not be the real solution since it is also possible that >> the particular condition never really happens. I seek comments >> so that I can post the proper patch. >> > > I can't test it either but I think your fix is

RE: [char-misc-next 3/4] mei: add mei_hbuf_acquire wrapper

2014-02-14 Thread Winkler, Tomas
> > This patch fails to apply: > checking file drivers/misc/mei/amthif.c > checking file drivers/misc/mei/client.c > Hunk #4 FAILED at 681. > Hunk #5 succeeded at 815 (offset -2 lines). > Hunk #6 succeeded at 848 (offset -2 lines). > 1 out of 6 hunks FAILED >

[PATCH 1/3] staging: r8712u: delete unnecessary field initialization

2014-02-14 Thread Julia Lawall
From: Julia Lawall On success, the function netdev_alloc_skb initializes the dev field of its result to its first argument, so this doesn't have to be done in the calling context. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression

[PATCH 3/3] caif: delete unnecessary field initialization

2014-02-14 Thread Julia Lawall
From: Julia Lawall On success, the function netdev_alloc_skb initializes the dev field of its result to its first argument, so this doesn't have to be done in the calling context. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression

[PATCH 2/3] staging: r8188eu: delete unnecessary field initialization

2014-02-14 Thread Julia Lawall
From: Julia Lawall On success, the function netdev_alloc_skb initializes the dev field of its result to its first argument, so this doesn't have to be done in the calling context. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression

Re: [RFC PATCH] rcu: move SRCU grace period work to power efficient workqueue

2014-02-14 Thread Mike Galbraith
On Fri, 2014-02-14 at 15:24 -0800, Kevin Hilman wrote: > Tejun Heo writes: > > > Hello, > > > > On Wed, Feb 12, 2014 at 11:02:41AM -0800, Paul E. McKenney wrote: > >> +2.Use the /sys/devices/virtual/workqueue/*/cpumask sysfs files > >> + to force the WQ_SYSFS workqueues to run on the

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-14 Thread Paul E. McKenney
On Fri, Feb 14, 2014 at 10:35:44PM -0800, Paul E. McKenney wrote: > On Fri, Feb 14, 2014 at 06:48:02PM -0800, Linus Torvalds wrote: > > On Fri, Feb 14, 2014 at 6:44 PM, Linus Torvalds > > wrote: > > > > > > And conversely, the C11 people can walk away from us too. But if they > > > can't make us

Re: KSM on Android

2014-02-14 Thread Pradeep Sawlani
> Re-sending this in plain text format (Apologies) > > Hello, > > In pursuit of saving memory on Android, I started experimenting with > Kernel Same Page Merging(KSM). > Number of pages shared because of KSM is reported by > /sys/kernel/mm/pages_sharing. > Documentation/vm/ksm.txt explains this

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-14 Thread Paul E. McKenney
On Fri, Feb 14, 2014 at 06:48:02PM -0800, Linus Torvalds wrote: > On Fri, Feb 14, 2014 at 6:44 PM, Linus Torvalds > wrote: > > > > And conversely, the C11 people can walk away from us too. But if they > > can't make us happy (and by "make us happy", I really mean no stupid > > games on our part)

Re: [CRIU] [PATCH 1/3] prctl: reduce permissions to change boundaries of data, brk and stack

2014-02-14 Thread Cyrill Gorcunov
On Fri, Feb 14, 2014 at 12:18:46PM -0800, Eric W. Biederman wrote: > >> > > >> > Why can't you have the process of interest do: > >> > ptrace(PTRACE_ATTACHME); > >> > execve(executable, args, ...); > >> > > >> > /* Have the ptracer inject the recovery/fixup code */ > >> >

[PATCH v2] spi: core: Validate lenght of the transfers in message

2014-02-14 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" SPI transfer lenght should be a power-of-two multiple of eight bits. Signed-off-by: Ivan T. Ivanov --- drivers/spi/spi.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index d0b28bb..9bed365 100644 ---

Re: [PATCH] ACPI, APEI: Remove X86 redundant dependency for APEI Generic Hardware Error Source.

2014-02-14 Thread Borislav Petkov
On Sat, Feb 15, 2014 at 01:57:48AM +0100, Rafael J. Wysocki wrote: > On Monday, February 10, 2014 05:23:36 PM Tomasz Nowicki wrote: > > ACPI_APEI is already dependent on X86, hence, there is no need to > > define such dependency for ACPI_APEI_GHES again. > > > > Signed-off-by: Tomasz Nowicki >

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-14 Thread Al Viro
On Thu, Feb 13, 2014 at 09:58:47AM -0800, Linus Torvalds wrote: > On Thu, Feb 13, 2014 at 9:40 AM, Oleg Nesterov wrote: > > > > And we should be careful with SIGQUEUE_PREALLOC, at least > > collect_signal() should not do list_del_init()... Plus we need to > > handle the SEND_SIG_FORCED-like case.

[PATCH] workqueue: Remove unused __cancel_delayed_work

2014-02-14 Thread Tan Xiaojun
We use safer cancel_delayed_work() instead of __cancel_delayed_work, and no one will use __cancel_delayed_work. So remove it. Signed-off-by: Tan Xiaojun --- include/linux/workqueue.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/include/linux/workqueue.h

Linux kernel 3.13.3 is added into www.xrefs.info

2014-02-14 Thread John Smith
hi, Linux kernel 3.13.3 is added into http://www.xrefs.info. For the people don't know, http://www.xrefs.info covers many open source projects source coe cross reference search based on OpenGrok. Check it, and hope it helps. Feel free to leave a comment. Thx. xrefs.info admin -- To unsubscribe

[PATCH] sched/deadline: Fix bad accounting of nr_running

2014-02-14 Thread Steven Rostedt
My test suite was locking up hard when enabling mmiotracer. This was due to the mmiotracer placing all but one CPU offline. I found this out when I was able to reproduce the bug with just my stress-cpu-hotplug test. This bug baffled me because it would not always trigger, and would only trigger on

Re: [PATCH 39/48] powerpc: Replace __get_cpu_var uses

2014-02-14 Thread Steven Rostedt
On Sat, 15 Feb 2014 14:50:08 +1100 Benjamin Herrenschmidt wrote: > For some reason Im still getting these as attachments instead of inline > in the email, which makes reviewing a major PITA. Christoph, I'm not > sure what you are doing wrong here but you should consider fixing it :-) Get a

Re: [RFC 0/6] mailbox: add common framework and port drivers

2014-02-14 Thread Jassi Brar
On 15 February 2014 09:41, Greg Kroah-Hartman wrote: > On Sat, Feb 15, 2014 at 09:27:48AM +0530, Jassi Brar wrote: >> On 15 February 2014 09:10, Greg Kroah-Hartman >> wrote: >> > On Sat, Feb 15, 2014 at 09:02:07AM +0530, Jassi Brar wrote: >> >> Hi, >> >> >> >> On 8 February 2014 06:20, Courtney

Re: [PATCH v1 0/2] exynos_mct driver: fix irq allocation and cleanup

2014-02-14 Thread Tarek Dakhran
On Thu, Feb 13, 2014 at 10:31 PM, Tarek Dakhran wrote: > Hi Tomasz, > > On Thursday, February 13, 2014, Tomasz Figa wrote: >> >> Hi Tarek, >> >> On 13.02.2014 04:08, Tarek Dakhran wrote: >>> >>> exynos4_local_timer_setup called on the secondary cpu before >>> irqs are enabled. request_irq can

[PATCH] backing_dev: Fix hung task on sync

2014-02-14 Thread Derek Basehore
bdi_wakeup_thread_delayed used the mod_delayed_work function to schedule work to writeback dirty inodes. The problem with this is that it can delay work that is scheduled for immediate execution, such as the work from sync_inodes_sb. This can happen since mod_delayed_work can now steal work from a

Re: [RFC 0/6] mailbox: add common framework and port drivers

2014-02-14 Thread Greg Kroah-Hartman
On Sat, Feb 15, 2014 at 09:27:48AM +0530, Jassi Brar wrote: > On 15 February 2014 09:10, Greg Kroah-Hartman > wrote: > > On Sat, Feb 15, 2014 at 09:02:07AM +0530, Jassi Brar wrote: > >> Hi, > >> > >> On 8 February 2014 06:20, Courtney Cavin > >> wrote: > >> > There is currently no common

[PATCH v2] cgroup: fix top cgroup refcnt leak

2014-02-14 Thread Li Zefan
If we mount the same cgroupfs in serveral mount points, and then umount all of them, kill_sb() will be called only once. Therefore it's wrong to increment top_cgroup's refcnt when we find an existing cgroup_root. Try: # mount -t cgroup -o cpuacct xxx /cgroup # mount -t cgroup -o

Re: [PATCH 4/4] hugetlb: add hugepages_node= command-line option

2014-02-14 Thread Luiz Capitulino
On Fri, 14 Feb 2014 15:14:22 -0800 (PST) David Rientjes wrote: > On Thu, 13 Feb 2014, Luiz Capitulino wrote: > > > From: Luiz capitulino > > > > The HugeTLB command-line option hugepages= allows a user to specify how > > many huge pages should be allocated at boot. This option is needed

Re: Loseing my patience with libata and sata_nv

2014-02-14 Thread Gene Heskett
On Friday 14 February 2014, Larry Finger wrote: >On 02/14/2014 12:42 PM, Randy Dunlap wrote: >> On 02/14/2014 08:31 AM, Gene Heskett wrote: >>> Which is required for my $290 ASUS M2n-SLI Deluxe motherboard to boot. >>> >>> Not finding the option in any kernel tree that exists on my system, >>>

[PATCH] Staging: comedi: kcomedilib: replace deprecated simple_strtoul() with kstrtouint()

2014-02-14 Thread Chase Southwood
Since simple_strtoul() has been deprecated, replace it with kstrtouint(). Also, since return code checking for this new function is enforced, add a check to ensure that the conversion has succeeded. Signed-off-by: Chase Southwood --- drivers/staging/comedi/kcomedilib/kcomedilib_main.c | 3 ++-

Re: [RFC 0/6] mailbox: add common framework and port drivers

2014-02-14 Thread Jassi Brar
On 15 February 2014 09:10, Greg Kroah-Hartman wrote: > On Sat, Feb 15, 2014 at 09:02:07AM +0530, Jassi Brar wrote: >> Hi, >> >> On 8 February 2014 06:20, Courtney Cavin >> wrote: >> > There is currently no common framework for mailbox drivers, so this is my >> > attempt to come up with

Re: [PATCH 39/48] powerpc: Replace __get_cpu_var uses

2014-02-14 Thread Benjamin Herrenschmidt
For some reason Im still getting these as attachments instead of inline in the email, which makes reviewing a major PITA. Christoph, I'm not sure what you are doing wrong here but you should consider fixing it :-) Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe

Re: [RFC 0/6] mailbox: add common framework and port drivers

2014-02-14 Thread Jassi Brar
Hi, On 8 February 2014 06:20, Courtney Cavin wrote: > There is currently no common framework for mailbox drivers, so this is my > attempt to come up with something suitable. There seems to be a need for > making this generic, so I have attempted to do just that. Most of this is > modeled

Re: [RFC 0/6] mailbox: add common framework and port drivers

2014-02-14 Thread Greg Kroah-Hartman
On Sat, Feb 15, 2014 at 09:02:07AM +0530, Jassi Brar wrote: > Hi, > > On 8 February 2014 06:20, Courtney Cavin > wrote: > > There is currently no common framework for mailbox drivers, so this is my > > attempt to come up with something suitable. There seems to be a need for > > making this

Re: [PATCH cgroup/for-3.14-fixes] cgroup: update cgroup_enable_task_cg_lists() to grab siglock

2014-02-14 Thread Li Zefan
On 2014/2/14 2:29, Tejun Heo wrote: > Currently, there's nothing preventing cgroup_enable_task_cg_lists() > from missing set PF_EXITING and race against cgroup_exit(). Depending > on the timing, cgroup_exit() may finish with the task still linked on > css_set leading to list corruption. Fix it

[PATCH] Fix dump failure caused by DMA through an IOMMU

2014-02-14 Thread Bill Sumner
Renamed from "Crashdump Accepting Active IOMMU" to better communicate the purpose of this patch. This patch implements a fix for: A kdump problem about DMA that has been discussed for a long time. That is, when a kernel panics and boots into the kdump kernel, DMA started by the panicked kernel

[PATCH 0/1] Fix Crashdump failure caused by leftover DMA through a hardware IOMMU

2014-02-14 Thread Bill Sumner
Renamed from previous email thread: Crashdump Accepting Active IOMMU This patch implements a fix for: A kdump problem about DMA that has been discussed for a long time. That is, when a kernel panics and boots into the kdump kernel, DMA started by the panicked kernel is not stopped before the

[RFC v2 3/4] xen-netback: use a random MAC address

2014-02-14 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" The purpose of using a static MAC address of FE:FF:FF:FF:FF:FF was to prevent our backend interfaces from being used by the bridge and nominating our interface as a root bridge. This was possible given that the bridge code will use the lowest MAC address for a port once

[RFC v2 2/4] net: enables interface option to skip IP

2014-02-14 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" Some interfaces do not need to have any IPv4 or IPv6 addresses, so enable an option to specify this. One example where this is observed are virtualization backend interfaces which just use the net_device constructs to help with their respective frontends. This should

[RFC v2 1/4] bridge: enable interfaces to opt out from becoming the root bridge

2014-02-14 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" It doesn't make sense for some interfaces to become a root bridge at any point in time. One example is virtual backend interfaces which rely on other entities on the bridge for actual physical connectivity. They only provide virtual access. Device drivers that know

[RFC v2 0/4] net: bridge / ip optimizations for virtual net backends

2014-02-14 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" This v2 series changes the approach from my original virtualization multicast patch series [0] by abandoning completely the multicast issues and instead generalizing an approach for virtualization backends. There are two things in common with virtualization backends:

[RFC v2 4/4] xen-netback: skip IPv4 and IPv6 interfaces

2014-02-14 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" The xen-netback driver is used only to provide a backend interface for the frontend. The link is the only thing we use, and that is used internally for letting us know when the xen-netfront is ready, when it switches to XenbusStateConnected. Note that only when the

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-14 Thread Linus Torvalds
On Fri, Feb 14, 2014 at 6:44 PM, Linus Torvalds wrote: > > And conversely, the C11 people can walk away from us too. But if they > can't make us happy (and by "make us happy", I really mean no stupid > games on our part) I personally think they'll have a stronger > standard, and a real use case,

Re: [PATCH v16 0/10] Add 32 bit VDSO time function support

2014-02-14 Thread Greg KH
On Fri, Feb 14, 2014 at 02:40:12PM -0800, Andy Lutomirski wrote: > On Fri, Feb 14, 2014 at 12:52 AM, Stefani Seibold wrote: > > This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() > > and vdso_time() to the 32 bit VDSO. > > Is there any chance you can shove this in a git tree

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-14 Thread Linus Torvalds
On Fri, Feb 14, 2014 at 6:08 PM, Paul E. McKenney wrote: > > One way of looking at the discussion between Torvald and myself would be > as a seller (Torvald) and a buyer (me) haggling over the fine print in > a proposed contract (the standard). Whether that makes you feel better > or worse about

Re: [PATCH] oprofile: check whether oprofile perf enabled in op_overflow_handler()

2014-02-14 Thread Weng Meiling
Hi Will, I test kernel with this patch, the problem has be fixed. When the event's sample_period is small, the cpu will not stall except printing warning "oprofile: ignoring spurious overflow ignoring spurious overflow". This is normal for unregistered event. So would you please send a

[PATCH V3 1/4] Documentation: mailbox: APM X-Gene SoC QMTM

2014-02-14 Thread Ravi Patel
This patch adds documentation for APM X-Gene SoC Queue Manager/Traffic Manager. Signed-off-by: Ravi Patel Signed-off-by: Keyur Chudgar --- Documentation/mailbox/apm-xgene-qmtm.txt | 149 ++ 1 file changed, 149 insertions(+) create mode 100644

[PATCH V3 3/4] mailbox: xgene: base driver for APM X-Gene SoC QMTM

2014-02-14 Thread Ravi Patel
This patch adds APM X-Gene SoC Queue Manager/Traffic Manager base driver. QMTM is requried by Ethernet, PktDMA (XOR Engine) and Security subsystems. Signed-off-by: Ravi Patel Signed-off-by: Keyur Chudgar --- MAINTAINERS |9 + drivers/mailbox/Kconfig

[PATCH V3 0/4] mailbox: xgene: Add support for APM X-Gene SoC Queue Manager/Traffic Manager

2014-02-14 Thread Ravi Patel
This patch adds support for APM X-Gene SoC Queue Manager/Traffic Manager. QMTM is required by APM X-Gene SoC Ethernet, PktDMA (XOR Engine) and Security Engine subsystems. All subsystems communicate with QMTM using messages which include information about the work to be performed and the

[PATCH V3 2/4] Documentation: devicetree: bindings for APM X-Gene SoC QMTM

2014-02-14 Thread Ravi Patel
This patch adds devicetree bindings documentation for APM X-Gene SoC Queue Manager/Traffic Manager. Signed-off-by: Ravi Patel Signed-off-by: Keyur Chudgar --- .../devicetree/bindings/mailbox/apm-xgene-qmtm.txt | 53 1 file changed, 53 insertions(+) create mode 100644

[PATCH V3 4/4] arm64: boot: dts: entries for APM X-Gene SoC QMTM

2014-02-14 Thread Ravi Patel
This patch adds APM X-Gene SoC Queue Manager/Traffic Manager DTS entries. Signed-off-by: Ravi Patel Signed-off-by: Keyur Chudgar --- arch/arm64/boot/dts/apm-storm.dtsi | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi

Re: [PATCH v2 cgroup/for-3.15] cgroup: make cgroup_enable_task_cg_lists() to grab siglock

2014-02-14 Thread Li Zefan
On 2014/2/15 4:47, Tejun Heo wrote: > Currently, there's nothing explicitly preventing > cgroup_enable_task_cg_lists() from missing set PF_EXITING and race > against cgroup_exit(), and, depending on the timing, cgroup_exit() > seemingly may finish with the task still linked on css_set leading to >

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-14 Thread Paul E. McKenney
On Fri, Feb 14, 2014 at 12:02:23PM -0800, Linus Torvalds wrote: > On Fri, Feb 14, 2014 at 11:50 AM, Linus Torvalds > wrote: > > > > Why are we still discussing this idiocy? It's irrelevant. If the > > standard really allows random store speculation, the standard doesn't > > matter, and sane

Re: [PATCH] nfsd: check passed socket's net matches NFSd superblock's one

2014-02-14 Thread Weng Meiling
Hi Bruce, The upstream has merged your git tree for-3.14, but there is no this patch? Do you forget this patch? Thanks! Weng Meiling On 2014/1/4 6:22, J. Bruce Fields wrote: > On Mon, Dec 30, 2013 at 05:23:59PM +0300, Stanislav Kinsbursky wrote: >> There could be a case, when NFSd file system

Re: task_ctx_sched_out WARN_ON triggered.

2014-02-14 Thread Dave Jones
On Wed, Jan 29, 2014 at 04:32:04PM +0100, Peter Zijlstra wrote: > On Wed, Jan 29, 2014 at 03:07:44PM +0100, Peter Zijlstra wrote: > > Let me see if I can make a 'nice' function to dump state though, it > > might come in handy more often. > > Compile tested only... This took a while, but I

[PATCH 1/3] ARM: at91: Add at91sam9rl DT SoC support

2014-02-14 Thread Alexandre Belloni
This adds preliminary DT support for the at91sam9rl. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rl.dtsi | 626 ++ arch/arm/mach-at91/at91sam9rl.c | 16 + 2 files changed, 642 insertions(+) create mode 100644

[PATCH 2/3] ARM: at91/defconfig: Add the sam9rl to the list of DT-enabled SOCs

2014-02-14 Thread Alexandre Belloni
at91sam9rl now has a device tree, add it to the at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/configs/at91_dt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig index

[PATCH 3/3] ARM: at91: dt: sam9rl: Device Tree for the at91sam9rlek

2014-02-14 Thread Alexandre Belloni
Add a device tree for the at91sam9rl-ek. For now it supports: - MMC - dbgu - usart1 - watchdog - nand - leds - buttons Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/at91sam9rlek.dts | 151 + 2 files

[PATCH 0/3] Device tree support for the at91sam9rlek

2014-02-14 Thread Alexandre Belloni
This series adds DT support for the at91sam9rl SoC, then the at91sam9rl-ek evaluation board. While the at91sam9rl dtsi should be almost complete (still missing LCD and touchscreen bits). The at91sam9rlek DT now support the following tested features: - MMC - dbgu - usart1 - watchdog - nand -

[patch 1/2] genirq: Provide synchronize_hardirq()

2014-02-14 Thread Thomas Gleixner
synchronize_irq() waits for hard irq and threaded handlers to complete before returning. For some special cases we only need to make sure that the hard interrupt part of the irq line is not in progress when we disabled the - possibly shared - interrupt at the device level. A proper use case for

[patch 0/2] genirq: Add functions to avoid driver hackery

2014-02-14 Thread Thomas Gleixner
Russell tricked me to look into the homebrewn kthread hackery of drivers/mmc. I'm still trying to recover from that. But it spurred an interesting discussion how to improve things and the outcome was the following series of patches: 1) Provide means to synchronize only hard irq context 2)

[patch 2/2] genirq: Provide irq_wake_thread()

2014-02-14 Thread Thomas Gleixner
In course of the sdhci/sdio discussion with Russell about killing the sdio kthread hackery we discovered the need to be able to wake an interrupt thread from software. The rationale for this is, that sdio hardware can lack proper interrupt support for certain features. So the driver needs to poll

Re: [PATCH 1/2] ACPI, PCI, ISA: Call ISA-specific code only for architectures which support ISA.

2014-02-14 Thread Rafael J. Wysocki
On Monday, February 10, 2014 02:00:10 PM Tomasz Nowicki wrote: > This commit enables ISA-specific code if and only if CONFIG_{E}ISA is set > in the kernel configuration so that we do not have to maintain > acpi_isa_irq_to_gsi() function for architectures which do not support ISA. > >

[PATCH] perf, nmi: fix unknown NMI warning

2014-02-14 Thread Andi Kleen
From: Markus Metzger [From Markus, just sending for him because he had problems with his mail] When using BTS on Core i7-4*, I get the below kernel warning. $ perf record -c 1 -e branches:u ls Message from syslogd@labpc1501 at Nov 11 15:49:25 ... kernel:[ 438.317893] Uhhuh. NMI received for

Re: [PATCH] ACPI, APEI: Remove X86 redundant dependency for APEI Generic Hardware Error Source.

2014-02-14 Thread Rafael J. Wysocki
On Monday, February 10, 2014 05:23:36 PM Tomasz Nowicki wrote: > ACPI_APEI is already dependent on X86, hence, there is no need to > define such dependency for ACPI_APEI_GHES again. > > Signed-off-by: Tomasz Nowicki Tony, Boris, if you're fine with this, I'll take it for 3.15. > --- >

[PATCH] ACPI / dock: Make 'docked' sysfs attribute work as documented

2014-02-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After recent ACPI core changes acpi_bus_get_device() will always succeed for dock station ACPI device objects, so show_docked() should not use that function's return value as an indicator of whether or not the dock device is present. Make it use acpi_device_enumerated()

Re: [PATCH 2/9] slab: makes clear_obj_pfmemalloc() just return store masked value

2014-02-14 Thread Christoph Lameter
On Fri, 14 Feb 2014, David Rientjes wrote: > Yeah, you don't need it, but don't you think it makes the code more > readable? Otherwise this is going to be just doing > > return (unsigned long)objp & ~SLAB_OBJ_PFMEMALLOC; > > and you gotta figure out the function type to understand it's

Re: [PATCH v2 10/11] powerpc/perf: add kconfig option for hypervisor provided counters

2014-02-14 Thread Cody P Schafer
On Fri, Feb 14, 2014 at 04:32:13PM -0600, Scott Wood wrote: > On Fri, 2014-02-14 at 14:02 -0800, Cody P Schafer wrote: > > Signed-off-by: Cody P Schafer > > --- > > arch/powerpc/perf/Makefile | 2 ++ > > arch/powerpc/platforms/Kconfig.cputype | 6 ++ > > 2 files changed, 8

Re: Loseing my patience with libata and sata_nv

2014-02-14 Thread Larry Finger
On 02/14/2014 12:42 PM, Randy Dunlap wrote: On 02/14/2014 08:31 AM, Gene Heskett wrote: Which is required for my $290 ASUS M2n-SLI Deluxe motherboard to boot. Not finding the option in any kernel tree that exists on my system, except it appears its been replaced or something. This once in a

Re: [PATCH V5 0/7] cpufreq: suspend early/resume late: dpm_{suspend|resume}()

2014-02-14 Thread Stephen Warren
On 02/14/2014 03:23 PM, Rafael J. Wysocki wrote: > On Friday, February 14, 2014 12:42:53 PM Stephen Warren wrote: >> On 02/12/2014 11:50 PM, Viresh Kumar wrote: >>> This patchset creates/calls cpufreq suspend/resume callbacks from >>> dpm_{suspend|resume}() >>> for handling suspend/resume of

[PATCH] lkdtm: include cacheflush.h

2014-02-14 Thread Kees Cook
Some architectures need cacheflush.h explicitly included (mips) for use of flush_icache_range(): config: make ARCH=mips allmodconfig All error/warnings: >> ERROR: "flush_icache_range" undefined! Reported-by: Fengguang Wu Signed-off-by: Kees Cook --- drivers/misc/lkdtm.c |1 +

Re: [PATCH v9] PM / Hibernate: use name_to_dev_t to parse resume

2014-02-14 Thread Pavel Machek
Hi! > Use the name_to_dev_t call to parse the device name echo'd to > to /sys/power/resume. This imitates the method used in hibernate.c > in software_resume, and allows the resume partition to be specified > using other equivalent device formats as well. By allowing > /sys/debug/resume to

Re: [patch] Documentation/SubmittingPatches: Reported-by tags and permission

2014-02-14 Thread Randy Dunlap
On 02/14/2014 01:30 AM, Dan Carpenter wrote: > The reported-by text says you have to ask for permission, but that's > only if the bug was reported in private. These days the standard is to > always give reported-by credit or it's considered a bit rude. > > Signed-off-by: Dan Carpenter

[PATCH dmaengine-fixes 1/1] dmaengine: read completed cookie before used cookie

2014-02-14 Thread Siva Yerramreddy
When running dmatest with my yet-to-be submitted driver for the Intel MIC DMA engine, dmatest detected "dma0chan3-copy5: result #8096161:completion busy status with src_off=0x0 dst_off=0x0 len=0x40 (0)". This is caused by reading the used cookie before the completed cookie in dma_cookie_status(),

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

2014-02-14 Thread Bharath Ravi
Hi Steven, What are your thoughts on this patch? -- Bharath Ravi | rbhar...@google.com On Thu, Jan 23, 2014 at 11:46 AM, Bharath Ravi wrote: > Hi Steven, > > This patch allows instances to have their own independent trace > options (as opposed to the current globally shared trace options) > >

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

2014-02-14 Thread Bharath Ravi
Hi Steven, Does this version of the patch look reasonable? -- Bharath Ravi | rbhar...@google.com On Thu, Jan 23, 2014 at 11:37 AM, Bharath Ravi wrote: > > It is often memory efficient to start instances off with a smaller ring > buffer size than the current default. This is particularly true

Re: [RFC PATCH] rcu: move SRCU grace period work to power efficient workqueue

2014-02-14 Thread Kevin Hilman
Tejun Heo writes: > Hello, > > On Wed, Feb 12, 2014 at 11:02:41AM -0800, Paul E. McKenney wrote: >> +2. Use the /sys/devices/virtual/workqueue/*/cpumask sysfs files >> +to force the WQ_SYSFS workqueues to run on the specified set >> +of CPUs. The set of WQ_SYSFS workqueues can be

Re: [PATCH 3/9] slab: move up code to get kmem_cache_node in free_block()

2014-02-14 Thread David Rientjes
On Fri, 14 Feb 2014, Joonsoo Kim wrote: > node isn't changed, so we don't need to retreive this structure > everytime we move the object. Maybe compiler do this optimization, > but making it explicitly is better. > Would it be possible to make it const struct kmem_cache_node *n then? -- To

Re: [PATCH 2/9] slab: makes clear_obj_pfmemalloc() just return store masked value

2014-02-14 Thread David Rientjes
On Fri, 14 Feb 2014, Christoph Lameter wrote: > > @@ -215,9 +215,9 @@ static inline void set_obj_pfmemalloc(void **objp) > > return; > > } > > > > -static inline void clear_obj_pfmemalloc(void **objp) > > +static inline void *clear_obj_pfmemalloc(void *objp) > > { > > - *objp = (void

Re: [PATCH] MAINTAINERS: Add Broadcom GPIO maintainer

2014-02-14 Thread Christian Daudt
On Wed, Feb 12, 2014 at 3:42 PM, Markus Mayer wrote: > List myself as maintainer for Broadcom's Kona GPIO driver. > > Signed-off-by: Markus Mayer > --- > > Does that look like a reasonable way to make this change? I added the > entry alphabetically in the BROADCOM section. > > MAINTAINERS |

Re: [PATCH 1/9] slab: add unlikely macro to help compiler

2014-02-14 Thread David Rientjes
On Fri, 14 Feb 2014, Joonsoo Kim wrote: > slab_should_failslab() is called on every allocation, so to optimize it > is reasonable. We normally don't allocate from kmem_cache. It is just > used when new kmem_cache is created, so it's very rare case. Therefore, > add unlikely macro to help compiler

Re: [PATCH 4/4] hugetlb: add hugepages_node= command-line option

2014-02-14 Thread David Rientjes
On Thu, 13 Feb 2014, Luiz Capitulino wrote: > From: Luiz capitulino > > The HugeTLB command-line option hugepages= allows a user to specify how > many huge pages should be allocated at boot. This option is needed because > it improves reliability when allocating 1G huge pages, which are better

[PATCHv2 2/5] wl1251: move power GPIO handling into the driver

2014-02-14 Thread Sebastian Reichel
Move the power GPIO handling from the board code into the driver. This is a dependency for device tree support. Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek Acked-by: Tony Lindgren --- arch/arm/mach-omap2/board-omap3pandora.c | 2 ++

[PATCHv2 3/5] wl1251: spi: add vio regulator support

2014-02-14 Thread Sebastian Reichel
This patch adds support for requesting the regulator powering the vio pin. Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek --- drivers/net/wireless/ti/wl1251/spi.c| 19 +-- drivers/net/wireless/ti/wl1251/wl1251.h | 2 ++ 2 files changed, 19 insertions(+), 2

[PATCHv2 5/5] Documentation: dt: wireless: Add wl1251

2014-02-14 Thread Sebastian Reichel
Add device tree binding documentation for Texas Instrument's wl1251 wireless lan chip. For now only the SPI binding is documented. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/net/wireless/ti,wl1251.txt | 39 ++ 1 file changed, 39 insertions(+) create mode

[PATCHv2 4/5] wl1251: spi: add device tree support

2014-02-14 Thread Sebastian Reichel
Add device tree support for the spi variant of wl1251. Signed-off-by: Sebastian Reichel --- drivers/net/wireless/ti/wl1251/spi.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ti/wl1251/spi.c

[RESEND] [PATCHv2 0/5] wl1251 device tree support

2014-02-14 Thread Sebastian Reichel
Hi John, The following patchset adds device tree support to the spi variant of the wl1251 driver, which is used in the Nokia N900. Tony requested, that you take the whole series even if that may introduce merge conflicts: > Sebastian, please resend the whole series to John and feel free to add

[PATCHv2 1/5] wl1251: split wl251 platform data to a separate structure

2014-02-14 Thread Sebastian Reichel
From: Luciano Coelho Move the wl1251 part of the wl12xx platform data structure into a new structure specifically for wl1251. Change the platform data built-in block and board files accordingly. Signed-off-by: Luciano Coelho Acked-by: Tony Lindgren Reviewed-by: Felipe Balbi Reviewed-by:

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-02-14 Thread Christopher Heiny
On 02/13/2014 01:54 PM, Dmitry Torokhov wrote: On Thu, Feb 13, 2014 at 11:23:44AM -0800, Christopher Heiny wrote: >On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: > >Do not write configuration data in probe(), we have config() for that. > >Then we should call config() in rmi_function_probe()

[PATCH v9] PM / Hibernate: use name_to_dev_t to parse resume

2014-02-14 Thread Sebastian Capella
Use the name_to_dev_t call to parse the device name echo'd to to /sys/power/resume. This imitates the method used in hibernate.c in software_resume, and allows the resume partition to be specified using other equivalent device formats as well. By allowing /sys/debug/resume to accept the same

[PATCH v9 0/1] hibernation related patches

2014-02-14 Thread Sebastian Capella
Patchset related to hibernation resume: - enhancement to make the use of an existing resume file more general Patch is based on the 3.13 tag. This was tested on a Beaglebone black with partial hibernation support, also compiled for x86_64. [PATCH v9 1/1] PM / Hibernate: use name_to_dev_t

[WARNING - 3.14-rc2] i915: pipe_off wait timed out

2014-02-14 Thread Steven Rostedt
I get the following splat in my tests running 3.14-rc2: [3.955123] WARNING: CPU: 0 PID: 1 at /work/autotest/nobackup/linux-test.git/drivers/gpu/drm/i915/intel_display.c:857 intel_wait_for_pipe_off+0x17a/0x2d0() [3.955124] pipe_off wait timed out [3.955127] CPU: 0 PID: 1 Comm:

Re: [PATCH v16 0/10] Add 32 bit VDSO time function support

2014-02-14 Thread Andy Lutomirski
On Fri, Feb 14, 2014 at 12:52 AM, Stefani Seibold wrote: > This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() > and vdso_time() to the 32 bit VDSO. Is there any chance you can shove this in a git tree somewhere for the next version (in addition to sending patches)? I don't

[PATCH v9] PM / Hibernate: use name_to_dev_t to parse resume

2014-02-14 Thread Sebastian Capella
Use the name_to_dev_t call to parse the device name echo'd to to /sys/power/resume. This imitates the method used in hibernate.c in software_resume, and allows the resume partition to be specified using other equivalent device formats as well. By allowing /sys/debug/resume to accept the same

Re: [PATCH v16 0/10] Add 32 bit VDSO time function support

2014-02-14 Thread H. Peter Anvin
I still get build errors. i386 allyesconfig, i386 allmodconfig as well as a more basic i386 configuration: arch/x86/vdso/vdso32-int80.so.dbg: undefined symbols found make[4]: *** [arch/x86/vdso/vdso32-int80.so.dbg] Error 1 x86-64 allyesconfig and x86-64 allmodconfig:

Re: [PATCH v2 0/3] Quirk Intel PCH root ports for ACS-like features

2014-02-14 Thread Alex Williamson
On Fri, 2014-02-14 at 14:43 -0700, Bjorn Helgaas wrote: > [+cc Don] > > On Mon, Feb 03, 2014 at 02:27:27PM -0700, Alex Williamson wrote: > > v2: > > - Remove bus #0 bug in filtering matching > > - Add 2/3 introducing PCI_DEV_FLAGS_ACS_ENABLED_QUIRK, this gives > >is better tracking and

Re: [RFC PATCH v4 01/10] driver core: export driver_probe_device()

2014-02-14 Thread Greg KH
On Sat, Feb 08, 2014 at 06:29:31PM +0100, Antonios Motakis wrote: > From: Kim Phillips > > Needed by drivers, such as the vfio platform driver [1], seeking to > bypass bind_store()'s driver_match_device(), and bind to any device > via a private sysfs bind file. > > [1]

[PATCH v9 0/1] hibernation related patches

2014-02-14 Thread Sebastian Capella
Patchset related to hibernation resume: - enhancement to make the use of an existing resume file more general Patch is based on the 3.13 tag. This was tested on a Beaglebone black with partial hibernation support, also compiled for x86_64. [PATCH v9 1/1] PM / Hibernate: use name_to_dev_t

RE: [PATCH v2 0/3] Quirk Intel PCH root ports for ACS-like features

2014-02-14 Thread Dugger, Donald D
In re: Feature vs. bug fix At the risk of trying to arguing about the meaning of `is' I would argue that this is more a bug fix than a feature. We're not adding a new capability, we are trying to work around deficient HW (no argument that we should have implemented ACS on all platforms).

Re: Loseing my patience with libata and sata_nv

2014-02-14 Thread Randy Dunlap
On 02/14/2014 11:21 AM, Gene Heskett wrote: > On Friday 14 February 2014, Randy Dunlap wrote: >> On 02/14/2014 08:31 AM, Gene Heskett wrote: >>> Which is required for my $290 ASUS M2n-SLI Deluxe motherboard to boot. >>> >>> Not finding the option in any kernel tree that exists on my system, >>>

[ANNOUNCE] Git v1.9.0

2014-02-14 Thread Junio C Hamano
The latest feature release Git v1.9.0 is now available at the usual places. The release tarballs are found at: http://code.google.com/p/git-core/downloads/list and their SHA-1 checksums are: e60667fc16e5a5f1cde46616b0458cc802707743 git-1.9.0.tar.gz 65eb3f411f4699695c7081a7c716cabb9ce23d75

Re: [PATCH V5 0/7] cpufreq: suspend early/resume late: dpm_{suspend|resume}()

2014-02-14 Thread Rafael J. Wysocki
On Friday, February 14, 2014 12:42:53 PM Stephen Warren wrote: > On 02/12/2014 11:50 PM, Viresh Kumar wrote: > > This patchset creates/calls cpufreq suspend/resume callbacks from > > dpm_{suspend|resume}() > > for handling suspend/resume of cpufreq governors and core. > > Are these patches for

Re: [PATCH] Revert "ACPI / video: Add HP EliteBook Revolve 810 to the blacklist"

2014-02-14 Thread Rafael J. Wysocki
On Friday, February 14, 2014 05:26:01 PM Mika Westerberg wrote: > On Fri, Feb 14, 2014 at 03:46:20PM +0100, Takashi Iwai wrote: > > The acpi_osi blacklist is just a workaround, and if we have better > > solutions, it should be removed. That's why I'm asking it. > > > > So, after removing

[PATCH v2 03/11] sysfs: create bin_attributes under the requested group

2014-02-14 Thread Cody P Schafer
bin_attributes created/updated in create_files() (such as those listed via (struct device).attribute_groups) were not placed under the specified group, and instead appeared in the base kobj directory. Fix this by making bin_attributes use creating code similar to normal attributes. A quick grep

  1   2   3   4   5   6   7   8   9   10   >