Re: Closing on the CR2 leak bug

2014-03-04 Thread Steven Rostedt
On Tue, 04 Mar 2014 15:44:26 -0800 "H. Peter Anvin" wrote: > On 03/04/2014 03:41 PM, Steven Rostedt wrote: > > > > The only other issue is if perf traces from function context and traces > > the trace_do_page_fault() call. But other than that, sure, take Jiri's > > patch. > > > > Is there a kn

Re: mm: kernel BUG at mm/huge_memory.c:2785!

2014-03-04 Thread Sasha Levin
9](ftrace buffer empty) [ 2208.715759] Modules linked in: [ 2208.716206] CPU: 34 PID: 3736 Comm: trinity-c209 Tainted: GW 3.14.0-rc5-next-20140304-sasha-9-geaa4df0 #77 [ 2208.717637] task: 880ff90c8000 ti: 880ff90c6000 task.ti: 880ff90c6000 [ 2208.718742] RIP: 0010:[]

RCU stalls when running out of memory on 3.14-rc4 w/ NFS and kernel threads priorities changed

2014-03-04 Thread Florian Fainelli
Hi all, I am seeing the following RCU stalls messages appearing on an ARMv7 4xCPUs system running 3.14-rc4: [ 42.974327] INFO: rcu_sched detected stalls on CPUs/tasks: [ 42.979839] (detected by 0, t=2102 jiffies, g=4294967082, c=4294967081, q=516) [ 42.987169] INFO: Stall ended before stat

Re: [PATCH v5] can: xilinx CAN controller support.

2014-03-04 Thread Sören Brinkmann
Hi Kedar, On Tue, 2014-03-04 at 06:50PM +0530, Kedareswara rao Appana wrote: > This patch adds xilinx CAN controller support. > This driver supports both ZYNQ CANPS and Soft IP > AXI CAN controller. > [...] > diff --git a/Documentation/devicetree/bindings/net/can/xilinx_can.txt > b/Documentation

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

2014-03-04 Thread Catalin Marinas
On Tue, Mar 04, 2014 at 07:03:18PM +, Graeme Gregory wrote: > On Tue, Mar 04, 2014 at 10:23:16AM +, Catalin Marinas wrote: > > On Tue, Mar 04, 2014 at 02:15:45AM +, Graeme Gregory wrote: > > > +ACPI ARM64 > > > > That's a pretty broad statement for a single file. Is it core support, >

[PATCH] net: sched: dev_deactivate_many(): use msleep(1) instead of yield() to wait for outstanding qdisc_run calls

2014-03-04 Thread Marc Kleine-Budde
On PREEMPT_RT enabled systems the interrupt handler run as threads at prio 50 (by default). If a high priority userspace process tries to shut down a busy network interface it might spin in a yield loop waiting for the device to become idle. With the interrupt thread having a lower priority than th

[GIT PULL] EFI urgent fix

2014-03-04 Thread Matt Fleming
Please pull the following fix from Borislav that fixes a boot regression for SGI UV. The following changes since commit 09503379dc99535b1bbfa51aa1aeef340f5d82ec: x86/efi: Check status field to validate BGRT header (2014-02-14 10:07:15 +) are available in the git repository at: git://gi

Re: [PATCH 31/48] uv: Replace __get_cpu_var

2014-03-04 Thread Andrew Morton
On Tue, 4 Mar 2014 18:42:10 -0500 Steven Rostedt wrote: > > --- a/arch/x86/include/asm/uv/uv_hub.h~uv-replace-__get_cpu_var-fix > > +++ a/arch/x86/include/asm/uv/uv_hub.h > > @@ -618,7 +618,7 @@ struct uv_cpu_nmi_s { > > }; > > > > DECLARE_PER_CPU(struct uv_cpu_nmi_s, __uv_cpu_nmi); > > -#def

Re: linux-next: build failure after merge of the wireless-next tree

2014-03-04 Thread Greg KH
On Wed, Mar 05, 2014 at 10:21:09AM +1100, Stephen Rothwell wrote: > Hi John, > > On Wed, 5 Mar 2014 10:16:27 +1100 Stephen Rothwell > wrote: > > > > If I revert commit 161d78555435 "Revert "Staging: rtl8812ae: remove > > modules field of rate_control_ops"", it fails differently: > > > > In file

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

2014-03-04 Thread Catalin Marinas
On Tue, Mar 04, 2014 at 10:59:46AM +, Grant Likely wrote: > On Tue, Mar 4, 2014 at 6:23 PM, Catalin Marinas > wrote: > > On Tue, Mar 04, 2014 at 02:15:45AM +, Graeme Gregory wrote: > >> +ACPI ARM64 > > > > That's a pretty broad statement for a single file. Is it core support, > > architec

Re: [PATCH 31/48] uv: Replace __get_cpu_var

2014-03-04 Thread Steven Rostedt
On Tue, 4 Mar 2014 15:02:17 -0800 Andrew Morton wrote: > On Fri, 14 Feb 2014 14:19:12 -0600 Christoph Lameter wrote: > > > Use __this_cpu_read instead. > > > > ... > > > > --- linux.orig/arch/x86/include/asm/uv/uv_hub.h 2014-02-03 > > 14:16:53.987889372 -0600 > > +++ linux/arch/x86/includ

Re: Closing on the CR2 leak bug

2014-03-04 Thread H. Peter Anvin
On 03/04/2014 03:41 PM, Steven Rostedt wrote: > > The only other issue is if perf traces from function context and traces > the trace_do_page_fault() call. But other than that, sure, take Jiri's > patch. > Is there a known codepath on which that can happen? -hpa -- To unsubscribe from

[GIT PULL] EFI mixed mode support

2014-03-04 Thread Matt Fleming
Peter, I've got the mixed mode support in two branches. 'mixed-mode' is a clean topic branch against -rc3, which will generate conflicts when you merge it with the EFI 'next' branch. I performed the merge myself in 'mixed-mode-merged' so you can take a look there to see how I resolved the conflic

Re: Closing on the CR2 leak bug

2014-03-04 Thread Steven Rostedt
On Tue, 04 Mar 2014 14:34:00 -0800 "H. Peter Anvin" wrote: > So we need to get something into x86/urgent for the CR2 bug. > > It seems like a no-brainer to do the hoisting patch, for which I prefer > the version proposed by Jiri Olsa which reads %cr2 and then passes it to > __do_page_fault() in

RE: [PATCH v2] usb: gadget: return the right length in ffs_epfile_io()

2014-03-04 Thread Liu, Chuansheng
Hi Balbi, > -Original Message- > From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Wednesday, March 05, 2014 3:56 AM > To: Michal Nazarewicz > Cc: Robert Baldyga; Felipe Balbi; Sergei Shtylyov; Liu, Chuansheng; > gre...@linuxfoundation.org; linux-...@vger.kernel.org; > linux-kernel@vger.ker

Re: linux-next: build failure after merge of the mfd-lj tree

2014-03-04 Thread Stephen Rothwell
Hi Lee, On Tue, 4 Mar 2014 16:06:55 +0800 Lee Jones wrote: > > > > After merging the mfd-lj tree, today's linux-next build (x86_64 > > > allmodconfig) failed like this: > > > > > > drivers/mfd/tps65218: struct i2c_device_id is 32 bytes. The last of 1 is: > > > 0x74 0x70 0x73 0x36 0x35 0x32 0x31

Re: [PATCH 5/5] arm64: add early_ioremap support

2014-03-04 Thread Rob Herring
On Tue, Mar 4, 2014 at 2:08 PM, Mark Salter wrote: > Add support for early IO or memory mappings which are needed > before the normal ioremap() is usable. This also adds fixmap > support for permanent fixed mappings such as that used by the > earlyprintk device register region. One minor comment:

Re: [tip:irq/core] powerpc: eeh: Fixup the brown paperbag fallout of the "cleanup"

2014-03-04 Thread Thomas Gleixner
On Wed, 5 Mar 2014, Benjamin Herrenschmidt wrote: > On Tue, 2014-03-04 at 15:15 -0800, tip-bot for Thomas Gleixner wrote: > > Commit-ID: 57310c3c99eb6fab2ecbd63aa3f7c323341ca77e > > Gitweb: > > http://git.kernel.org/tip/57310c3c99eb6fab2ecbd63aa3f7c323341ca77e > > Author: Thomas Gleixner

Re: [PATCH 1/1] mm: use macros from compiler.h instead of __attribute__((...))

2014-03-04 Thread Stephen Rothwell
Hi Andrew, On Tue, 4 Mar 2014 13:26:04 -0800 Andrew Morton wrote: > > On Sun, 2 Mar 2014 19:09:58 +0530 Gideon Israel Dsouza > wrote: > > > To increase compiler portability there is which > > provides convenience macros for various gcc constructs. Eg: __weak > > for __attribute__((weak)).

Re: [PATCH 05/48] percpu: Add preemption checks to __this_cpu ops

2014-03-04 Thread Steven Rostedt
On Tue, 4 Mar 2014 14:27:27 -0800 Andrew Morton wrote: > On Fri, 14 Feb 2014 14:18:46 -0600 Christoph Lameter wrote: > > > [Patch depends on another patch in this series that introduces raw_cpu_ops] > > > > We define a check function in order to avoid trouble with the > > include files. Then t

[PATCH 5/7 v2] staging: cxt1e1: fix checkpatch errors with open brace '{'

2014-03-04 Thread Daeseok Youn
clean up checkpatch.pl error in linux.c: ERROR: that open brace { should be on the previous line Signed-off-by: Daeseok Youn --- drivers/staging/cxt1e1/linux.c | 67 --- 1 files changed, 21 insertions(+), 46 deletions(-) diff --git a/drivers/staging/cxt1e

Re: linux-next: build failure after merge of the wireless-next tree

2014-03-04 Thread Stephen Rothwell
Hi John, On Wed, 5 Mar 2014 10:16:27 +1100 Stephen Rothwell wrote: > > If I revert commit 161d78555435 "Revert "Staging: rtl8812ae: remove > modules field of rate_control_ops"", it fails differently: > > In file included from drivers/staging/wlan-ng/p80211netdev.c:91:0: > drivers/staging/wlan-n

Re: [tip:irq/core] powerpc: eeh: Fixup the brown paperbag fallout of the "cleanup"

2014-03-04 Thread Benjamin Herrenschmidt
On Tue, 2014-03-04 at 15:15 -0800, tip-bot for Thomas Gleixner wrote: > Commit-ID: 57310c3c99eb6fab2ecbd63aa3f7c323341ca77e > Gitweb: http://git.kernel.org/tip/57310c3c99eb6fab2ecbd63aa3f7c323341ca77e > Author: Thomas Gleixner > AuthorDate: Wed, 5 Mar 2014 00:06:11 +0100 > Committer: Tho

[PATCH 4/7 v2] staging: cxt1e1: fix checkpatch error 'assignment in if condition'

2014-03-04 Thread Daeseok Youn
checkpatch.pl error in linux.c: ERROR: do not use assignment in if condition Signed-off-by: Daeseok Youn --- drivers/staging/cxt1e1/linux.c | 31 +++ 1 files changed, 19 insertions(+), 12 deletions(-) diff --git a/drivers/staging/cxt1e1/linux.c b/drivers/staging/

Re: linux-next: build failure after merge of the wireless-next tree

2014-03-04 Thread Stephen Rothwell
Hi John, On Wed, 26 Feb 2014 07:47:38 +1100 Stephen Rothwell wrote: > > On Tue, 25 Feb 2014 14:07:16 -0500 "John W. Linville" > wrote: > > > > On Tue, Feb 25, 2014 at 01:35:37PM +1100, Stephen Rothwell wrote: > > > > > > After merging the wireless-next tree, today's linux-next build (x86_64 >

Re: The sheer number of sparse warnings in the kernel

2014-03-04 Thread Valdis . Kletnieks
On Wed, 26 Feb 2014 15:31:47 -0800, "H. Peter Anvin" said: > Yes... it looks like the 0.4.5-rc1 that shipped in Fedora is indeed out > of date. With 0.5.0 I "only" see 8,207 messages, which means that at > least the linux/err.h issue is gone. Unfortunately, that's not true, at least with the Fed

Re: [PATCH] irq-gic: remove file name from heading comment

2014-03-04 Thread Sergei Shtylyov
Hello. On 01/15/2014 02:49 AM, Sergei Shtylyov wrote: File names in the heading comments fell out of favor long ago, and this one weren't even changed when the driver was moved from arch/arm/common/, so remove it at last... Signed-off-by: Sergei Shtylyov --- The patch is against the 'ir

Re: [PATCH] efi: Quirk out SGI UV

2014-03-04 Thread Russ Anderson
On Tue, Mar 04, 2014 at 05:02:17PM +0100, Borislav Petkov wrote: > From: Borislav Petkov > > Getting this thing to work with the new mapping scheme would need more > work. Thanks Boris. Allows SGI UV to boot (without the extra bootline). Acked-by: Russ Anderson > Signed-off-by: Borislav Pet

Re: perf_fuzzer compiled for x32 causes reboot

2014-03-04 Thread Borislav Petkov
On Sat, Mar 01, 2014 at 08:50:17AM -0800, H. Peter Anvin wrote: > The bottom line is that if we want hard numbers we probably have to > measure. > > Hoisting the cr2 read is a no-brainer, might even help performance... Btw, I just got word that on AMD, a read from CR2 is 4 cycles on family 0x15 an

Re: [PATCH 31/48] uv: Replace __get_cpu_var

2014-03-04 Thread Andrew Morton
On Fri, 14 Feb 2014 14:19:12 -0600 Christoph Lameter wrote: > Use __this_cpu_read instead. > > ... > > --- linux.orig/arch/x86/include/asm/uv/uv_hub.h 2014-02-03 > 14:16:53.987889372 -0600 > +++ linux/arch/x86/include/asm/uv/uv_hub.h2014-02-03 14:16:53.987889372 > -0600 > @@ -618,7 +

Re: [RFC][PATCH] audit: Simplify by assuming the callers socket buffer is large enough

2014-03-04 Thread Andrew Morton
On Tue, 04 Mar 2014 14:41:16 -0800 ebied...@xmission.com (Eric W. Biederman) wrote: > David Miller writes: > > > From: Andrew Morton > > Date: Tue, 4 Mar 2014 13:30:04 -0800 > > > >> On Fri, 28 Feb 2014 20:50:19 -0800 ebied...@xmission.com (Eric W. > >> Biederman) wrote: > >> > >>> > >>> Mo

Re: [PATCH] mlx4: Use GFP_NOFS calls during the ipoib TX path when creating the QP

2014-03-04 Thread Jiri Kosina
On Thu, 27 Feb 2014, Jiri Kosina wrote: > On Thu, 27 Feb 2014, Or Gerlitz wrote: > > > ipoib is coded over the verbs API (include/rdma/ib_verbs.h) --- so tracking > > the path from ipoib through the verbs api into mlx4 should be similar > > exercise > > as doing so for mlx5, but let's 1st treat

Re: [PATCH][RESEND 3] hwrng: add randomness to system from rng sources

2014-03-04 Thread Matt Mackall
On Tue, 2014-03-04 at 11:59 -0800, Kees Cook wrote: > On Tue, Mar 4, 2014 at 11:53 AM, Jason Cooper wrote: > > On Tue, Mar 04, 2014 at 11:01:49AM -0800, Kees Cook wrote: > >> On Tue, Mar 4, 2014 at 7:38 AM, Jason Cooper wrote: > >> > Kees, Ted, > >> > > >> > On Mon, Mar 03, 2014 at 03:51:48PM -08

Re: [PATCH] mm: add pte_present() check on existing hugetlb_entry callbacks

2014-03-04 Thread Sasha Levin
On 03/04/2014 04:32 PM, Naoya Horiguchi wrote: > # sorry if duplicate message > > On Mon, Mar 03, 2014 at 04:38:41PM -0500, Sasha Levin wrote: >> On 03/03/2014 03:06 PM, Sasha Levin wrote: >>> On 03/03/2014 12:02 AM, Naoya Horiguchi wrote: Hi Sasha, >> I can confirm that with this pa

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-04 Thread Khalid Aziz
On 03/04/2014 03:23 PM, One Thousand Gnomes wrote: Obvious bug | Usage model is a thread mmaps this file during initialization. It then | writes a 1 to the mmap'd file after it grabs the lock in its critical | section where it wants immunity from pre-emption. You need to write it first or you c

Re: [PATCH v4 5/6] timerfd: Add support for deferrable timers

2014-03-04 Thread Andy Lutomirski
On Tue, Mar 4, 2014 at 2:11 PM, Thomas Gleixner wrote: > On Tue, 4 Mar 2014, Andy Lutomirski wrote: > >> On Tue, Mar 4, 2014 at 12:58 PM, Thomas Gleixner wrote: >> > On Tue, 25 Feb 2014, Andy Lutomirski wrote: >> >> On the other hand, if you added a fancier version of timerfd_settime >> >> that c

Re: [PATCH v3 1/1] xhci: Prevent runtime pm from autosuspending during initialization

2014-03-04 Thread Sarah Sharp
On Tue, Mar 04, 2014 at 09:04:58AM -0800, Greg KH wrote: > On Tue, Mar 04, 2014 at 01:50:55PM +0200, Mathias Nyman wrote: > > On 03/03/2014 08:37 PM, Greg KH wrote: > > >On Mon, Mar 03, 2014 at 07:30:17PM +0200, Mathias Nyman wrote: > > >>xHCI driver has its own pci probe function that will call >

[PATCH 3/3] random: If we have arch_get_random_seed*(), try it before blocking

2014-03-04 Thread H. Peter Anvin
From: "H. Peter Anvin" If we have arch_get_random_seed*(), try to use it for emergency refill of the entropy pool before giving up and blocking on /dev/random. It may or may not work in the moment, but if it does work, it will give the user better service than blocking will. Signed-off-by: H. P

Re: [RFC][PATCH] audit: Simplify by assuming the callers socket buffer is large enough

2014-03-04 Thread Eric W. Biederman
David Miller writes: > From: Andrew Morton > Date: Tue, 4 Mar 2014 13:30:04 -0800 > >> On Fri, 28 Feb 2014 20:50:19 -0800 ebied...@xmission.com (Eric W. Biederman) >> wrote: >> >>> >>> Modify audit_send_reply to directly use a non-blocking send and >>> to return an error on failure (if anyone

[PATCH 0/3] RDSEED support for the Linux kernel

2014-03-04 Thread H. Peter Anvin
From: "H. Peter Anvin" Upcoming Intel silicon adds a new RDSEED instruction. Whereas RDRAND returns output from a PRNG, the RDSEED instruction returns fully conditioned entropy that is suitable for use as seeds to a PRNG. This patchset adds support for RDSEED in the Linux kernel in three places

[PATCH 1/3] x86, random: Enable the RDSEED instruction

2014-03-04 Thread H. Peter Anvin
From: "H. Peter Anvin" Upcoming Intel silicon adds a new RDSEED instruction. Whereas RDRAND returns output from a PRNG, the RDSEED instruction returns fully conditioned entropy that is suitable for use as seeds to a PRNG. The RDSEED instruction takes the same time to execute as RDRAND, but RDSE

[PATCH 2/3] random: Use arch_get_random_seed*() at init time and once a second

2014-03-04 Thread H. Peter Anvin
From: "H. Peter Anvin" Use arch_get_random_seed*() in two places in the Linux random driver (drivers/char/random.c): 1. During entropy pool initialization, use RDSEED in favor of RDRAND, with a fallback to the latter. Entropy exhaustion is unlikely to happen there on physical hardware as

[PATCH net-next v6 2/10] xen-netback: Minor refactoring of netback code

2014-03-04 Thread Zoltan Kiss
This patch contains a few bits of refactoring before introducing the grant mapping changes: - introducing xenvif_tx_pending_slots_available(), as this is used several times, and will be used more often - rename the thread to vifX.Y-guest-rx, to signify it does RX work from the guest point of vi

[PATCH net-next v6 4/10] xen-netback: Introduce TX grant mapping

2014-03-04 Thread Zoltan Kiss
This patch introduces grant mapping on netback TX path. It replaces grant copy operations, ditching grant copy coalescing along the way. Another solution for copy coalescing is introduced in patch #7, older guests and Windows can broke before that patch applies. There is a callback (xenvif_zerocopy

Re: [PATCH] x86, apic, Fix missing replacement for VECTOR_UNDEFINED

2014-03-04 Thread David Rientjes
On Tue, 4 Mar 2014, Prarit Bhargava wrote: > linux.git commit 9345005f4eed805308193658d12e4e7e9c261e74 added > a definition for VECTOR_UNDEFINED = -1. There is a missing replacement in > the io_apic.c file. Found during debugging of another issue. > > Cc: Rui Wang > Cc: Michel Lespinasse > Cc

[PATCH net-next v6 8/10] xen-netback: Add stat counters for frag_list skbs

2014-03-04 Thread Zoltan Kiss
These counters help determine how often the guest sends a packet with more than MAX_SKB_FRAGS frags. NOTE: if bisect brought you here, you should apply the series up until #9, otherwise malicious guests can block other guests by not releasing their sent packets. Signed-off-by: Zoltan Kiss --- d

[PATCH net-next v6 6/10] xen-netback: Add stat counters for zerocopy

2014-03-04 Thread Zoltan Kiss
These counters help determine how often the buffers had to be copied. Also they help find out if packets are leaked, as if "sent != success + fail", there are probably packets never freed up properly. NOTE: if bisect brought you here, you should apply the series up until #9, otherwise Windows gues

Closing on the CR2 leak bug

2014-03-04 Thread H. Peter Anvin
So we need to get something into x86/urgent for the CR2 bug. It seems like a no-brainer to do the hoisting patch, for which I prefer the version proposed by Jiri Olsa which reads %cr2 and then passes it to __do_page_fault() in a GPR: http://lkml.kernel.org/r/20140228160526.gd1...@krava.brq.redhat

[PATCH net-next v6 3/10] xen-netback: Handle foreign mapped pages on the guest RX path

2014-03-04 Thread Zoltan Kiss
RX path need to know if the SKB fragments are stored on pages from another domain. Logically this patch should be after introducing the grant mapping itself, as it makes sense only after that. But to keep bisectability, I moved it here. It shouldn't change any functionality here. xenvif_zerocopy_ca

[PATCH net-next v6 7/10] xen-netback: Handle guests with too many frags

2014-03-04 Thread Zoltan Kiss
Xen network protocol had implicit dependency on MAX_SKB_FRAGS. Netback has to handle guests sending up to XEN_NETBK_LEGACY_SLOTS_MAX slots. To achieve that: - create a new skb - map the leftover slots to its frags (no linear buffer here!) - chain it to the previous through skb_shinfo(skb)->frag_lis

[PATCH net-next v6 1/10] xen-netback: Use skb->cb for pending_idx

2014-03-04 Thread Zoltan Kiss
Storing the pending_idx at the first byte of the linear buffer never looked good, skb->cb is a more proper place for this. It also prevents the header to be directly grant copied there, and we don't have the pending_idx after we copied the header here, so it's time to change it. Signed-off-by: Zol

[PATCH net-next v6 9/9] xen-netback: Aggregate TX unmap operations

2014-03-04 Thread Zoltan Kiss
Unmapping causes TLB flushing, therefore we should make it in the largest possible batches. However we shouldn't starve the guest for too long. So if the guest has space for at least two big packets and we don't have at least a quarter ring to unmap, delay it for at most 1 milisec. Signed-off-by:

[PATCH net-next v6 9/10] xen-netback: Timeout packets in RX path

2014-03-04 Thread Zoltan Kiss
A malicious or buggy guest can leave its queue filled indefinitely, in which case qdisc start to queue packets for that VIF. If those packets came from an another guest, it can block its slots and prevent shutdown. To avoid that, we make sure the queue is drained in every 10 seconds. The QDisc queu

[PATCH net-next v6 5/10] xen-netback: Remove old TX grant copy definitons and fix indentations

2014-03-04 Thread Zoltan Kiss
These became obsolete with grant mapping. I've left intentionally the indentations in this way, to improve readability of previous patches. NOTE: if bisect brought you here, you should apply the series up until #9, otherwise Windows guests can't work properly and malicious guests can block other g

[PATCH net-next v6 0/10] xen-netback: TX grant mapping with SKBTX_DEV_ZEROCOPY instead of copy

2014-03-04 Thread Zoltan Kiss
A long known problem of the upstream netback implementation that on the TX path (from guest to Dom0) it copies the whole packet from guest memory into Dom0. That simply became a bottleneck with 10Gb NICs, and generally it's a huge perfomance penalty. The classic kernel version of netback used grant

Re: [PATCH 00/48] percpu: Consistent per cpu operations V4

2014-03-04 Thread Andrew Morton
On Fri, 14 Feb 2014 14:18:41 -0600 Christoph Lameter wrote: > Can we please get this merged? The first patch alone would at least define > the functions required to enable the merging of the rest in any order and > through any tree. This series is structured as [patch 1]: make changes whcih tri

Re: [PATCH 05/48] percpu: Add preemption checks to __this_cpu ops

2014-03-04 Thread Andrew Morton
On Fri, 14 Feb 2014 14:18:46 -0600 Christoph Lameter wrote: > [Patch depends on another patch in this series that introduces raw_cpu_ops] > > We define a check function in order to avoid trouble with the > include files. Then the higher level __this_cpu macros are > modified to invoke the preemp

Re: [PATCH v2 3/3] ARM: tegra: dalmore: add thermal zones for nct1008

2014-03-04 Thread Guenter Roeck
On Tue, Mar 04, 2014 at 03:06:48PM -0700, Stephen Warren wrote: > On 03/04/2014 04:31 AM, Wei Ni wrote: > > Add dt node to describe the thermal zone for the nct1008. > > > > Change-Id: I0256836e52d73ec282574e4fd91df52958936e35 > > ??? > I think this is for one of those open-source sites out

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-04 Thread One Thousand Gnomes
Obvious bug | Usage model is a thread mmaps this file during initialization. It then | writes a 1 to the mmap'd file after it grabs the lock in its critical | section where it wants immunity from pre-emption. You need to write it first or you can be pre-empted taking the lock before asking for im

[PATCH v5 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-04 Thread Alexei Starovoitov
Extended BPF extends old BPF in the following ways: - from 2 to 10 registers Original BPF has two registers (A and X) and hidden frame pointer. Extended BPF has ten registers and read-only frame pointer. - from 32-bit registers to 64-bit registers semantics of old 32-bit ALU operations are pr

[PATCH v5 net-next 2/3] [RFC] seccomp: convert seccomp to use extended BPF

2014-03-04 Thread Alexei Starovoitov
use sk_convert_filter() to convert seccomp BPF into extended BPF 05-sim-long_jumps.c of libseccomp was used as micro-benchmark: seccomp_rule_add_exact(ctx,... seccomp_rule_add_exact(ctx,... rc = seccomp_load(ctx); for (i = 0; i < 1000; i++) syscall(199, 100); --x86_64-- old BPF:

[PATCH v5 net-next 3/3] doc: filter: add Extended BPF documentation

2014-03-04 Thread Alexei Starovoitov
Signed-off-by: Alexei Starovoitov --- Documentation/networking/filter.txt | 181 +++ 1 file changed, 181 insertions(+) diff --git a/Documentation/networking/filter.txt b/Documentation/networking/filter.txt index a06b48d2f5cc..c3f687bf8e82 100644 --- a/Documentat

Re: [PATCH RFC 3/6] tty: Rename xilinx_uart -> cadence_uart

2014-03-04 Thread Arnd Bergmann
On Tuesday 04 March 2014, One Thousand Gnomes wrote: > On Tue, 4 Mar 2014 09:17:26 -0800 > Soren Brinkmann wrote: > The following aspects of the change set are IMHO acceptable > > - Cleaning up all the code formatting > - Update the driver comments and header to explain the Cadence/Xilinx > t

[PATCH v5 net-next 0/3] filter: add Extended BPF interpreter and converter

2014-03-04 Thread Alexei Starovoitov
Hi All, V1 patches: http://thread.gmane.org/gmane.linux.kernel/1605783 V2 patches: http://thread.gmane.org/gmane.linux.kernel/1642325 V3 patches: http://thread.gmane.org/gmane.linux.kernel/1656538 V4 summary: - addressed Daniel comments - RFC for seccomp with extended BPF - added extended BPF des

Re: [PATCH 1/2] sched: Remove unused mc_capable() and smt_capable()

2014-03-04 Thread Thomas Gleixner
On Tue, 4 Mar 2014, Bjorn Helgaas wrote: > Remove mc_capable() and smt_capable(). Neither is used. > > Both were added by 5c45bf279d37 ("sched: mc/smt power savings sched > policy"). Uses of both were removed by 8e7fbcbc22c1 ("sched: Remove stale > power aware scheduling remnants and dysfunct

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

2014-03-04 Thread Peter Sewell
On 3 March 2014 20:44, Torvald Riegel wrote: > On Sun, 2014-03-02 at 04:05 -0600, Peter Sewell wrote: >> On 1 March 2014 08:03, Paul E. McKenney wrote: >> > On Sat, Mar 01, 2014 at 04:06:34AM -0600, Peter Sewell wrote: >> >> Hi Paul, >> >> >> >> On 28 February 2014 18:50, Paul E. McKenney >> >>

Re: [PATCH v4 5/6] timerfd: Add support for deferrable timers

2014-03-04 Thread Thomas Gleixner
On Tue, 4 Mar 2014, Andy Lutomirski wrote: > On Tue, Mar 4, 2014 at 12:58 PM, Thomas Gleixner wrote: > > On Tue, 25 Feb 2014, Andy Lutomirski wrote: > >> On the other hand, if you added a fancier version of timerfd_settime > >> that could explicitly set the slack value (or, equivalently, the > >>

[PATCHv2 4/9] mfd: twl-core: Add twl_i2c_read/write_u16

2014-03-04 Thread Sebastian Reichel
Add a simple twl_i2c_read/write_u16 wrapper over the twl_i2c_read/write, which is similar to the twl_i2c_read/write_u8 wrapper. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron --- include/linux/i2c/twl.h | 12 1 file changed, 12 insertions(+) diff

[PATCHv2 0/9] Convert twl4030-madc to IIO API and add DT support

2014-03-04 Thread Sebastian Reichel
Hi, This is PATCHv2 for converting twl4030-madc to the IIO API and adding DT support. The plan is to remove the private twl4030-madc API once all users have been removed or converted to the IIO API. The patchset compiles and has been tested on my Nokia N900. Changes since PATCHv1 [0]: * Fix warn

[PATCHv2 6/9] Documentation: DT: Document twl4030-madc binding

2014-03-04 Thread Sebastian Reichel
Add devicetree binding documentation for twl4030-madc analog digital converter. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/iio/adc/twl4030-madc.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/twl4

[PATCH] gpio: davinci: fix gpio selection for OF

2014-03-04 Thread Alexander Holler
The driver missed an of_xlate function to translate gpio numbers as found in the DT to the correct chip and number. While there I've set #gpio_cells to a fixed value of 2. I've used gpio-pxa.c as template for those changes and tested my changes successfully on a da850 board using entries for gpio

Re: [PATCH v2 3/3] ARM: tegra: dalmore: add thermal zones for nct1008

2014-03-04 Thread Stephen Warren
On 03/04/2014 04:31 AM, Wei Ni wrote: > Add dt node to describe the thermal zone for the nct1008. > > Change-Id: I0256836e52d73ec282574e4fd91df52958936e35 ??? > diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts > b/arch/arm/boot/dts/tegra114-dalmore.dts > + thermal-zones { > +

[PATCHv2 9/9] iio: inkern: add iio_read_channel_average_raw

2014-03-04 Thread Sebastian Reichel
Add iio_read_channel_average_raw to support reading averaged raw values in consumer drivers. Signed-off-by: Sebastian Reichel --- drivers/iio/inkern.c | 18 ++ include/linux/iio/consumer.h | 13 + 2 files changed, 31 insertions(+) diff --git a/drivers/iio/ink

[PATCHv2 7/9] mfd: twl4030-madc: Move driver to drivers/iio/adc

2014-03-04 Thread Sebastian Reichel
This is a driver for an A/D converter, which belongs into drivers/iio/adc. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron --- drivers/iio/adc/Kconfig | 10 ++ drivers/iio/adc/Makefile| 1 + drivers/{mfd => iio/adc}/twl40

[PATCHv2 8/9] iio: documentation: Add ABI documentation for *_mean_raw

2014-03-04 Thread Sebastian Reichel
Add ABI documentation for in_*_mean_raw files, which are already supported and used in the kernel for some time. Signed-off-by: Sebastian Reichel --- Documentation/ABI/testing/sysfs-bus-iio | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Doc

[PATCHv2 3/9] mfd: twl4030-madc: Cleanup driver

2014-03-04 Thread Sebastian Reichel
Some style fixes in twl4030-madc driver. Reported-by: Jonathan Cameron Signed-off-by: Sebastian Reichel Acked-by: Lee Jones --- drivers/mfd/twl4030-madc.c | 125 +++ include/linux/i2c/twl4030-madc.h | 2 +- 2 files changed, 61 insertions(+), 66 delet

[PATCHv2 5/9] mfd: twl4030-madc: Use twl_i2c_read/write_u16 for 16 bit registers

2014-03-04 Thread Sebastian Reichel
Simplify reading and writing of 16 bit TWL registers in the driver by using twl_i2c_read_u16 and twl_i2c_write_u16. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron --- drivers/mfd/twl4030-madc.c | 39 --- 1 file changed, 8 ins

[PATCHv2 1/9] mfd: twl4030-madc: Use managed resources

2014-03-04 Thread Sebastian Reichel
Update twl4030-madc driver to use managed resources. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones --- drivers/mfd/twl4030-madc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/mfd/twl4030-madc.c b/drivers/mfd/twl4030-madc.c index 4c583e4..545

[PATCHv2 2/9] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-03-04 Thread Sebastian Reichel
This converts twl4030-madc module to use the Industrial IO ADC framework and adds device tree support. Signed-off-by: Sebastian Reichel --- drivers/mfd/twl4030-madc.c | 126 + 1 file changed, 116 insertions(+), 10 deletions(-) diff --git a/drivers/mfd

RE: [PATCH] mm, oom: normalize the adj to ensure oom_badness return a positive number

2014-03-04 Thread David Rientjes
On Tue, 4 Mar 2014, He, Bo wrote: > Sorry, the title is confusing. Change it to: mm, oom: normalize the adj to > ensure oom_badness returns a positive number There's something seriously wrong with your email client, it's not replying correctly to threads so this appears as a completely new thre

Re: [PATCHv1 1/2] rx51_battery: convert to iio consumer

2014-03-04 Thread Sebastian Reichel
Hi, On Tue, Mar 04, 2014 at 10:20:32PM +0100, Belisko Marek wrote: > On Sat, Mar 1, 2014 at 12:22 AM, Sebastian Reichel wrote: > > On Fri, Feb 28, 2014 at 11:32:22PM +0100, Belisko Marek wrote: > >> Seems I found issue. I have missing property ti,system-uses-second-madc-irq > >> as original twl40

Re: + mm-fs-prepare-for-non-page-entries-in-page-cache-radix-trees.patch added to -mm tree

2014-03-04 Thread Johannes Weiner
On Tue, Feb 04, 2014 at 03:14:49PM -0800, a...@linux-foundation.org wrote: > @@ -307,14 +331,15 @@ void truncate_inode_pages_range(struct a > index = start; > for ( ; ; ) { > cond_resched(); > - if (!pagevec_lookup(&pvec, mapping, index, > -

Re: [PATCH v4 5/6] timerfd: Add support for deferrable timers

2014-03-04 Thread Andy Lutomirski
On Tue, Mar 4, 2014 at 12:58 PM, Thomas Gleixner wrote: > On Tue, 25 Feb 2014, Andy Lutomirski wrote: >> On the other hand, if you added a fancier version of timerfd_settime >> that could explicitly set the slack value (or, equivalently, the >> earliest and latest allowable times), that could be q

Re: [blk-lib] 6a0608544e5: fileio -77.4% max latency, -5.7% throughput

2014-03-04 Thread Kent Overstreet
On Tue, Mar 04, 2014 at 09:21:30PM +0800, Fengguang Wu wrote: > Hi Kent, > > FYI, we noticed the below changes on > > git://evilpiepirate.org/~kent/linux-bcache.git for-jens > commit 6a0608544e5672bd9a044c285119547eae41abe5 ("blk-lib.c: > generic_make_request() handles large bios now") > > test

Re: [RFC][PATCH] audit: Simplify by assuming the callers socket buffer is large enough

2014-03-04 Thread David Miller
From: Andrew Morton Date: Tue, 4 Mar 2014 13:30:04 -0800 > On Fri, 28 Feb 2014 20:50:19 -0800 ebied...@xmission.com (Eric W. Biederman) > wrote: > >> >> Modify audit_send_reply to directly use a non-blocking send and >> to return an error on failure (if anyone cares). >> >> Modify audit_list_

Re: [PATCH 2/2] sparc64: Remove unused sparc64_multi_core

2014-03-04 Thread David Miller
From: Bjorn Helgaas Date: Tue, 04 Mar 2014 14:07:44 -0700 > Remove sparc64_multi_core because it's not used any more. > > It was added by a2f9f6bbb30e ("Fix {mc,smt}_capable()"), and the last uses > were removed by e637d96bf462 ("sched: Remove unused mc_capable() and > smt_capable()"). > > Sign

Re: [PATCH 1/2] sched: Remove unused mc_capable() and smt_capable()

2014-03-04 Thread David Miller
From: Bjorn Helgaas Date: Tue, 04 Mar 2014 14:07:37 -0700 > Remove mc_capable() and smt_capable(). Neither is used. > > Both were added by 5c45bf279d37 ("sched: mc/smt power savings sched > policy"). Uses of both were removed by 8e7fbcbc22c1 ("sched: Remove stale > power aware scheduling remna

[PATCH 3.13 000/172] 3.13.6-stable review

2014-03-04 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.13.6 release. There are 172 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Mar 6 20:02:29 UTC 2014. Anything receiv

[PATCH 3.13 009/172] ext4: fix xfstest generic/299 block validity failures

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Eric Whitney commit 15cc17678547676c82a5da9ccf357447333fc342 upstream. Commit a115f749c1 (ext4: remove wait for unwritten extent conversion from ext4_truncate) exposed a bug in ext4_ext_handle

[PATCH 3.13 004/172] drm/nouveau: set irq_enabled manually

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Ilia Mirkin commit 7d3428cd4b2ad51af86fdbdf8284ca38fa95e601 upstream. Since commit 0fa9061ae8c ("drm/nouveau/mc: handle irq-related setup ourselves"), drm_device->irq_enabled remained unset. T

[PATCH 3.13 010/172] ext4: fix error paths in swap_inode_boot_loader()

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Zheng Liu commit 30d29b119ef01776e0a301444ab24defe8d8bef3 upstream. In swap_inode_boot_loader() we forgot to release ->i_mutex and resume unlocked dio for inode and inode_bl if there is an err

[PATCH 3.13 005/172] drm/nouveau/fb: use correct ram oclass for nv1a hardware

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Emil Velikov commit 95ca5b550ac255bf3cee108c123407785c47e3cc upstream. commit 8613e7314ac254fdd67ed46192f021d76141e4c9 Author: Ben Skeggs Date: Mon Oct 21 08:50:25 2013 +1000 drm/nouve

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-04 Thread Khalid Aziz
On 03/04/2014 02:12 PM, H. Peter Anvin wrote: Shades of the Android wakelocks, no? This seems to effectively give userspace an option to turn preemptive multitasking into cooperative multitasking, which of course is unacceptable for a privileged process (the same reason why unprivileged process

[PATCH 3.13 001/172] drm/radeon/ni: fix typo in dpm sq ramping setup

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 21ed4947fdfe19b60a27b84162622e56439c7937 upstream. inverted logic. Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/radeon/ni_dpm.c |

[PATCH 3.13 013/172] ext4: fix online resize with a non-standard blocks per group setting

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 3d2660d0c9c2f296837078c189b68a47f6b2e3b5 upstream. The set_flexbg_block_bitmap() function assumed that the number of blocks in a blockgroup was sb->blocksize * 8, which is

[PATCH 3.13 011/172] ext4: dont try to modify s_flags if the the file system is read-only

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 23301410972330c0ae9a8afc379ba2005e249cc6 upstream. If an ext4 file system is created by some tool other than mke2fs (perhaps by someone who has a pathalogical fear of the

[PATCH 3.13 014/172] ext4: dont leave i_crtime.tv_sec uninitialized

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 19ea80603715d473600cd993b9987bc97d042e02 upstream. If the i_crtime field is not present in the inode, don't leave the field uninitialized. Fixes: ef7f38359 ("ext4: Add na

[PATCH 3.13 002/172] drm/radeon: fix display tiling setup on SI

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 6d8ea7de3f5035610f3bfacbe35e7b71ad1e4663 upstream. Apply the same logic as CI to SI for setting up the display tiling parameters. The num banks may vary per tiling index j

[PATCH 3.13 012/172] ext4: fix online resize with very large inode tables

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit b93c95353413041a8cebad915a8109619f66bcc6 upstream. If a file system has a large number of inodes per block group, all of the metadata blocks in a flex_bg may be larger tha

[PATCH 3.13 020/172] ARM: OMAP2+: gpmc: fix: DT NAND child nodes not probed when MTD_NAND is built as module

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Pekon Gupta commit 6b187b21c92b6e2c7e8ef0b450181c37a3f31681 upstream. Fixes: commit bc6b1e7b86f5d8e4a6fc1c0189e64bba4077efe0 ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

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