[PATCH 08/15] perf stat: Document --detailed option

2016-03-07 Thread Arnaldo Carvalho de Melo
From: Borislav Petkov I'm surprised this remained undocumented since at least 2011. And it is actually a very useful switch, as Steve and I came to realize recently. Add the text from 2cba3ffb9a9d ("perf stat: Add -d -d and -d -d -d options to show more CPU events") which

Re: [RFC PATCH 1/2] percpu_counter: Allow falling back to global counter on large system

2016-03-07 Thread Waiman Long
On 03/07/2016 01:24 PM, Christoph Lameter wrote: On Fri, 4 Mar 2016, Waiman Long wrote: This patch provides a mechanism to selectively degenerate per-cpu counters to global counters at per-cpu counter initialization time. The following new API is added: percpu_counter_set_limit(struct

[PATCH 05/15] perf jit: Move clockid validation

2016-03-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Move clockid validation into jit_process() so it can later be made conditional. Signed-off-by: Adrian Hunter Cc: Jiri Olsa Cc: Stephane Eranian Link:

Re: [PATCH net] sctp: fix copying more bytes than expected in sctp_add_bind_addr

2016-03-07 Thread Marcelo Ricardo Leitner
On Mon, Mar 07, 2016 at 08:56:08PM +0100, Dmitry Vyukov wrote: > I kept the patch applied. Then Dave, please consider applying this patch. Thanks. > On Mon, Mar 7, 2016 at 8:51 PM, Marcelo Ricardo Leitner > wrote: > > On Mon, Mar 07, 2016 at 08:45:20PM +0100, Dmitry

Re: [PATCH 3/3] pci: move pci_dma_* helpers to common code

2016-03-07 Thread Bjorn Helgaas
[+cc Arnd] On Sun, Mar 06, 2016 at 04:17:55PM +0100, Christoph Hellwig wrote: > For a long time all architectures implement the pci_dma_* functions > using the generic DMA API, and they all use the same header to do > so. This patch moves this header, pci-dma-compat.h, to include/linux > and

Re: [PATCH net-next 3/9] bpf: pre-allocate hash map elements

2016-03-07 Thread Alexei Starovoitov
On 3/7/16 3:08 AM, Daniel Borkmann wrote: On 03/07/2016 02:58 AM, Alexei Starovoitov wrote: [...] --- include/linux/bpf.h | 1 + include/uapi/linux/bpf.h | 3 + kernel/bpf/hashtab.c | 264 ++- kernel/bpf/syscall.c | 2 +- 4

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread Khalid Aziz
On 03/07/2016 11:12 AM, Dave Hansen wrote: On 03/07/2016 09:53 AM, Andy Lutomirski wrote: Also, what am I missing? Tying these tags to the physical page seems like a poor design to me. This seems really awkward to use. Yeah, can you describe the structures that store these things? Surely

Re: [RFT PATCH 2/2] Revert "usb: dwc2: Fix probe problem on bcm2835"

2016-03-07 Thread Stefan Wahren
Hi Doug, > Douglas Anderson hat am 4. März 2016 um 19:23 > geschrieben: > > > This reverts commit 192cb07f7928 ("usb: dwc2: Fix probe problem on > bcm2835") now that we've found the root cause. See the change > titled ("usb: dwc2: Add a 10 ms delay to dwc2_core_reset()").

Re: [PATCH v5 10/26] mtd: nand: omap: Update DT binding documentation

2016-03-07 Thread Brian Norris
On Mon, Mar 07, 2016 at 11:46:24AM +0200, Roger Quadros wrote: > On 05/03/16 04:04, Brian Norris wrote: > > Is it normal to mix types of addressing in a single 'reg' property? Is > > your code working for anything besides CS==0? > > Yes we're using non zero CS on different omap platforms. > I

RE: [lustre-devel] [PATCH 00/10] Last batch of fixes for LNet

2016-03-07 Thread Simmons, James A.
>On Fri, Mar 04, 2016 at 09:09:40PM -0500, James Simmons wrote: >> This batch merges the remaining LNet patches from the OpenSFS >> branch for the upstream client. Once merged the LNet code >> will be up to date with the latest production code. Only style >> issues are remaining. Still future

Re: [PATCH] udp6: fix UDP/IPv6 encap resubmit path

2016-03-07 Thread Josh Hunt
On 03/04/2016 04:47 PM, Bill Sommerfeld wrote: IPv4 interprets a negative return value from a protocol handler as a request to redispatch to a new protocol. In contrast, IPv6 interprets a negative value as an error, and interprets a positive value as a request for redispatch. UDP for IPv6 was

[PATCHv2 10/11] ARM: socfpga: Enable Arria10 L2 cache ECC on startup

2016-03-07 Thread tthayer
From: Thor Thayer Enable ECC for Arria10 L2 cache on machine startup. The ECC has to be enabled before data is stored in memory otherwise the ECC will fail on reads. Use DT_MACHINE to select Arria10 L2 cache function. Signed-off-by: Thor Thayer

[PATCHv2 09/11] EDAC, altera: Addition of Arria10 L2 Cache ECC

2016-03-07 Thread tthayer
From: Thor Thayer Addition of the Arria10 L2 Cache ECC handling. Addition of private data structure for Arria10 L2 cache ECC and the initialization function for it. Signed-off-by: Thor Thayer --- v2: Split large patch into smaller

Re: [PATCH net] sctp: fix copying more bytes than expected in sctp_add_bind_addr

2016-03-07 Thread Dmitry Vyukov
I kept the patch applied. On Mon, Mar 7, 2016 at 8:51 PM, Marcelo Ricardo Leitner wrote: > On Mon, Mar 07, 2016 at 08:45:20PM +0100, Dmitry Vyukov wrote: >> Yes, it is. I never saw this bug again. Forgot to update this thread. Sorry. > > Cool, thanks. The patch isn't

Re: [PATCH 0/4] serial: omap: robustify for high speed transfers

2016-03-07 Thread Peter Hurley
On 02/24/2016 07:37 AM, Sekhar Nori wrote: > On Wednesday 24 February 2016 08:50 AM, Peter Hurley wrote: >> Just to follow-up on what Sebastian wrote. >> >> As he pointed out, these spurious interrupts are not timeout interrupts. >> Since IIR_UART[0] == 1, no uart interrupt is pending. >> >> As he

Re: [PATCH RESEND] qib:Fix concurrent access in the function, qib_init_iba6120_funcs

2016-03-07 Thread Leon Romanovsky
On Mon, Mar 07, 2016 at 04:34:04PM +, Marciniszyn, Mike wrote: > > This fixes concurrent access in the function, qib_init_iba6120_funcs by > > locking > > around the calls to when setting up f_sendctrl and f_set_armlauch function > > pointers to the functions, sendctrl_6120_mod

[PATCH net] sctp: fix copying more bytes than expected in sctp_add_bind_addr

2016-03-07 Thread Marcelo Ricardo Leitner
Dmitry reported that sctp_add_bind_addr may read more bytes than expected in case the parameter is a IPv4 addr supplied by the user through calls such as sctp_bindx_add(), because it always copies sizeof(union sctp_addr) while the buffer may be just a struct sockaddr_in, which is smaller. This

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread Khalid Aziz
On 03/07/2016 12:09 PM, David Miller wrote: From: Khalid Aziz Date: Mon, 7 Mar 2016 11:04:38 -0700 On 03/07/2016 09:56 AM, David Miller wrote: From: Khalid Aziz Date: Mon, 7 Mar 2016 08:07:53 -0700 PR_GET_SPARC_ADICAPS Put this into a new

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread Khalid Aziz
On 03/07/2016 12:16 PM, David Miller wrote: From: Khalid Aziz Date: Mon, 7 Mar 2016 11:24:54 -0700 Tags can be cleared by user by setting tag to 0. Tags are automatically cleared by the hardware when the mapping for a virtual address is removed from TSB (which is why

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread David Miller
From: Khalid Aziz Date: Mon, 7 Mar 2016 14:27:09 -0700 > I agree with your point of view. PSTATE.mcde and TTE.mcd are set in > response to request from userspace. If userspace asked for them to be > set, they already know but it was the database guys that asked for >

Re: [RFC PATCH 0/2] percpu_counter: Enable switching to global counter

2016-03-07 Thread Dave Chinner
On Mon, Mar 07, 2016 at 12:39:55PM -0500, Waiman Long wrote: > On 03/05/2016 01:34 AM, Dave Chinner wrote: > >On Fri, Mar 04, 2016 at 09:51:37PM -0500, Waiman Long wrote: > >>This patchset allows the degeneration of per-cpu counters back > >>to global counters when: > >> > >> 1) The number of

Re: [PATCH v5 1/5] Shared library support

2016-03-07 Thread Emese Revfy
On Mon, 7 Mar 2016 13:05:16 -0800 Kees Cook wrote: > On Sun, Mar 6, 2016 at 3:03 PM, Emese Revfy wrote: > > Infrastructure for building independent shared library targets. > > This effectively also reverts commit 62e2210798ed38928ab24841e8b4878a > >

Re: [PATCH net] sctp: fix copying more bytes than expected in sctp_add_bind_addr

2016-03-07 Thread David Miller
From: Marcelo Ricardo Leitner Date: Mon, 7 Mar 2016 17:00:08 -0300 > On Mon, Mar 07, 2016 at 08:56:08PM +0100, Dmitry Vyukov wrote: >> I kept the patch applied. > > Then Dave, please consider applying this patch. Please submit the patch properly, as a fresh mailing

Re: [PATCH 2/3] perf/x86/pebs: add workaround for broken OVFL status on HSW

2016-03-07 Thread Peter Zijlstra
On Mon, Mar 07, 2016 at 07:27:31PM +0100, Jiri Olsa wrote: > On Mon, Mar 07, 2016 at 01:18:40PM +0100, Peter Zijlstra wrote: > > On Mon, Mar 07, 2016 at 11:24:13AM +0100, Peter Zijlstra wrote: > > > > > I suspect Andi is having something along: > > > > > >

Re: drivers/video/fbdev/aty/atyfb_base.c:3461:2: error: implicit declaration of function 'ioremap_uc'

2016-03-07 Thread Luis R. Rodriguez
I'll send a fix. I have it written. Luis On Sun, Mar 06, 2016 at 08:14:07PM +0800, kbuild test robot wrote: > Hi Luis, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head:

[Patch v4 6/6] ARM: dts: DRA7: Add dt nodes for PWMSS

2016-03-07 Thread Franklin S Cooper Jr
From: Vignesh R Add PWMSS device tree nodes for DRA7 SoC family and add documentation for dt bindings. Signed-off-by: Vignesh R [fcoo...@ti.com: Use updated bindings for PWMSS and ePWM] Signed-off-by: Franklin S Cooper Jr --- Version 4

[Patch v4 1/6] pwms: pwm-ti*: Get the clock from the PWMSS (parent)

2016-03-07 Thread Franklin S Cooper Jr
The eCAP and ePWM doesn't have their own separate clocks. They simply utilize the clock provided directly by the PWMSS. Therefore, they simply need to grab a reference to their parent's clock. Signed-off-by: Franklin S Cooper Jr --- drivers/pwm/pwm-tiecap.c | 2 +-

[Patch v4 5/6] ARM: dts: DRA7: Add TBCLK for PWMSS

2016-03-07 Thread Franklin S Cooper Jr
From: Vignesh R tbclk is used by ehrpwm to generate PWM waveform on DRA7 SoC. Add Linux clock to control ehrpwm tbclk. The TRM says, tbclk is derived from SYSCLKOUT. SYSCLKOUT is nothing but ehrpwm functional clock derived from the gateable interface and functional clock of

[ANNOUNCE] 3.2.77-rt112

2016-03-07 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.77-rt112 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v3.2-rt Head SHA1: 5f0ad001127d6f44a362d494c6b515a74cf27cfc Or to build 3.2.77-rt112

[ANNOUNCE] 3.4.110-rt140

2016-03-07 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.110-rt140 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v3.4-rt Head SHA1: 644c33135750aabfc5af32719fe700aa3ed015c8 Or to build 3.4.110-rt140

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread David Miller
From: Khalid Aziz Date: Mon, 7 Mar 2016 13:41:39 -0700 > Shared data may not always be backed by a file. My understanding is > one of the use cases is for in-memory databases. This shared space > could also be used to hand off transactions in flight to other > processes.

Re: [PATCH] mtd: bcm63xxpart: give width specifier an 'int', not 'size_t'

2016-03-07 Thread Brian Norris
On Fri, Feb 12, 2016 at 12:26:04PM -0800, Brian Norris wrote: > Fixes this warning: > > >> drivers/mtd/bcm63xxpart.c:175:4: note: in expansion of macro 'pr_err' >pr_err("invalid rootfs address: %*ph\n", >^ > >> include/linux/kern_levels.h:4:18: warning: field width specifier '*'

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread David Miller
From: Khalid Aziz Date: Mon, 7 Mar 2016 14:33:56 -0700 > On 03/07/2016 12:16 PM, David Miller wrote: >> From: Khalid Aziz >> Date: Mon, 7 Mar 2016 11:24:54 -0700 >> >>> Tags can be cleared by user by setting tag to 0. Tags are >>> automatically

Re: sigaltstack breaks swapcontext()

2016-03-07 Thread One Thousand Gnomes
> Anyway, maybe Linus or the x86 maintainers have some idea of how AC is > used. If there are people who use it for a whole program and if libc > can survive the experience, then they might expect even signal > handlers to run with AC set. But if they're sane and protect just > critical pieces

Re: [PATCH v4 4/7] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi compatible string

2016-03-07 Thread Brian Norris
On Tue, Jan 26, 2016 at 03:23:58PM +0800, Yuan Yao wrote: > new compatible string: "fsl,ls2080a-qspi". ^^ This line doesn't match the subject or the content of the patch. > Signed-off-by: Yuan Yao > Acked-by: Rob Herring > --- > Changed in v4: > No changes. >

Re: [PATCH v4 1/7] mtd: spi-nor: fsl-quadspi: add big-endian support

2016-03-07 Thread Brian Norris
On Tue, Jan 26, 2016 at 03:23:55PM +0800, Yuan Yao wrote: > Add R/W functions for big- or little-endian registers: > The qSPI controller's endian is independent of the CPU core's endian. > So far, the qSPI have two versions for big-endian and little-endian. > > Signed-off-by: Yuan Yao

[PATCH] ia64: define ioremap_uc()

2016-03-07 Thread Luis R. Rodriguez
All architectures now need ioremap_uc(), ia64 seems defines this already through its ioremap_nocache() and it already ensures it *only* uses UC. Reported-by: 0 day bot Signed-off-by: Luis R. Rodriguez --- Note, this is actually needed since v4.3 to complete an allyesconfig

[Patch v4 2/6] ARM: dts: am437x/am33xx: Remove eCAP and ePWM hwmod properties

2016-03-07 Thread Franklin S Cooper Jr
ECAP and ePWM do not have OCP integration registers, have L3/L4 ports, etc. Therefore, they shouldn't be using hwmod at all. Remove their hwmod properties. For ePWM add the tbclk to the node rather than depending on hwmod to do so. Signed-off-by: Franklin S Cooper Jr ---

[Patch v4 3/6] ARM: AM335x/AM437x: hwmod: Remove eQEP, ePWM and eCAP hwmod entries

2016-03-07 Thread Franklin S Cooper Jr
Devices that utilize the OCP registers and/or PRCM registers and register bit fields should be modelled using hwmod. Since eQEP, ePWM and eCAP don't fall under this category, remove their hwmod entries. Instead these clocks simply use the clock that is pass through by its parent PWMSS. Therefore,

[Patch v4 0/6] ARM: am335x/am437x/dra7: Add PWM support for DRA7

2016-03-07 Thread Franklin S Cooper Jr
This patch series adds support for PWM for DRA7. The IP is same as that present in AM33XX and AM437XX. However, before doing so remove unnecessary hwmod entries for eCAP, ePWM and eQEP. This series was tested on AM335x GP, AM437x GP and X15 + LCD screen for PWM based backlight. This series was

Re: Oops in 3.10.99 -- NULL pointer dereference in radeon_fence_ref

2016-03-07 Thread Greg Kroah-Hartman
On Sun, Mar 06, 2016 at 07:50:14PM -0700, Erik Andersen wrote: > The following patch to radeon_sa_bo_new that > went into 3.10.99 > > commit 8d5e1e5af0c667545c202e8f4051f77aa3bf31b7 > Author: Nicolai Hähnle > Date: Fri Feb 5 14:35:53 2016 -0500 > drm/radeon:

[ANNOUNCE] 4.1.15-rt18

2016-03-07 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.1.15-rt18 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.1-rt Head SHA1: 609a831b25ff68704219f035ae514e2a57647d29 Or to build 4.1.15-rt18

[ANNOUNCE] 3.18.27-rt27

2016-03-07 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.18.27-rt27 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v3.18-rt Head SHA1: a69d68687e04e6f5e9b79a5ac8dacc9d86f195c7 Or to build 3.18.27-rt27

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread Andy Lutomirski
On Mon, Mar 7, 2016 at 12:58 PM, David Miller wrote: > From: Khalid Aziz > Date: Mon, 7 Mar 2016 13:41:39 -0700 > >> Shared data may not always be backed by a file. My understanding is >> one of the use cases is for in-memory databases. This shared

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread Khalid Aziz
On 03/07/2016 10:46 AM, Dave Hansen wrote: On 03/07/2016 08:06 AM, Khalid Aziz wrote: Top 4-bits of sparc64 virtual address are used for version tag only when a process has its PSTATE.mcde bit set and it is accessing a memory region that has ADI enabled on it (TTE.mcd set) and a version tag was

Re: [PATCH v5 5/5] Add sancov plugin

2016-03-07 Thread Kees Cook
On Sun, Mar 6, 2016 at 3:07 PM, Emese Revfy wrote: > The sancov gcc plugin inserts a __sanitizer_cov_trace_pc() call > at the start of basic blocks. > > This plugin is a helper plugin for the kcov feature. It supports > all gcc versions with plugin support (from gcc-4.5 on). >

Re: perf, tools: Refactor and support interval and CSV metrics

2016-03-07 Thread Andi Kleen
On Mon, Mar 07, 2016 at 07:48:39PM +0100, Jiri Olsa wrote: > On Mon, Mar 07, 2016 at 07:22:27PM +0100, Andi Kleen wrote: > > On Mon, Mar 07, 2016 at 11:08:42AM +0100, Jiri Olsa wrote: > > > On Thu, Mar 03, 2016 at 03:57:31PM -0800, Andi Kleen wrote: > > > > > > SNIP > > > > > > > > > > > % perf

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread Khalid Aziz
On 03/07/2016 01:58 PM, David Miller wrote: From: Khalid Aziz Date: Mon, 7 Mar 2016 13:41:39 -0700 Shared data may not always be backed by a file. My understanding is one of the use cases is for in-memory databases. This shared space could also be used to hand off

Re: sigaltstack breaks swapcontext()

2016-03-07 Thread Stas Sergeev
08.03.2016 00:10, Andy Lutomirski пишет: On Mon, Mar 7, 2016 at 12:02 PM, Stas Sergeev wrote: 09.01.2016 04:48, Andy Lutomirski пишет: On Fri, Jan 8, 2016 at 5:43 PM, Stas Sergeev wrote: 09.01.2016 02:24, Andy Lutomirski пишет: It's not sigaltstack that I'm

Re: sigaltstack breaks swapcontext()

2016-03-07 Thread Andy Lutomirski
On Mon, Mar 7, 2016 at 1:20 PM, Stas Sergeev wrote: > 08.03.2016 00:10, Andy Lutomirski пишет: >> >> On Mon, Mar 7, 2016 at 12:02 PM, Stas Sergeev wrote: >>> >>> 09.01.2016 04:48, Andy Lutomirski пишет: On Fri, Jan 8, 2016 at 5:43 PM, Stas Sergeev

Re: [PATCH] ntb: perf test: fix address space confusion

2016-03-07 Thread Jon Mason
On Tue, Jan 26, 2016 at 1:20 PM, Jiang, Dave wrote: > On Tue, 2016-01-26 at 10:31 +0100, Arnd Bergmann wrote: >> The ntb driver assigns between pointers an __iomem tokens, and >> also casts them to 64-bit integers, which results in compiler >> warnings on 32-bit systems: >>

Re: [PATCH v2 2/2] iio:adc:at91-sama5d2: add support for signed conversion

2016-03-07 Thread Lars-Peter Clausen
On 03/07/2016 03:29 PM, Ludovic Desroches wrote: > The at91-sama5d2 ADC controller can achieve unsigned and signed > conversions. For each channel, a signed and an unsigned variant are > created. > Sign mode is a global configuration, it is not tied to a specific > channel. For this reason, the

Re: bluetooth: use-after-free in vhci_send_frame

2016-03-07 Thread Marcel Holtmann
Hi Jiri, >>> I've got the following use-after-free reports while running syzkaller >>> fuzzer. Unfortunately no reproducer. But this happened when system was >>> busy reacting on sysrq t, so probably some unexpected delay happended. >>> >>> On commit 92e963f50fc74041b5e9e744c330dca48e04f08d. >>>

Re: bluetooth: use-after-free in vhci_send_frame

2016-03-07 Thread Dmitry Vyukov
On Mon, Mar 7, 2016 at 9:10 PM, Marcel Holtmann wrote: > Hi Jiri, > I've got the following use-after-free reports while running syzkaller fuzzer. Unfortunately no reproducer. But this happened when system was busy reacting on sysrq t, so probably some

[GIT PULL rcu/next] RCU commits for 4.6

2016-03-07 Thread Paul E. McKenney
Hello, Ingo, Note that this series conflicts with some commits in Thomas Gleixner's hotplug series and in Daniel Wagner's swait series, both of which are in -tip. I have suggested conflict-resolution commits for Daniel's commits (25f0d48a4299 "Merge commit

Re: [PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users

2016-03-07 Thread Maxime Ripard
On Mon, Mar 07, 2016 at 04:08:57PM +0100, Boris Brezillon wrote: > Hi Vinod, > > On Mon, 7 Mar 2016 20:24:29 +0530 > Vinod Koul wrote: > > > On Mon, Mar 07, 2016 at 10:59:31AM +0100, Boris Brezillon wrote: > > > +/* Dedicated DMA parameter register layout */ > > > +#define

[Patch v4 4/6] ARM: OMAP2+: DRA7: Add hwmod entries for PWMSS

2016-03-07 Thread Franklin S Cooper Jr
From: Vignesh R Add hwmod entries for the PWMSS on DRA7. Set l4_root_clk_div as the main_clk of PWMSS. It is fixed-factored clock equal to L4PER2_L3_GICLK/2(l3_iclk_div/2). Signed-off-by: Vignesh R [fcoo...@ti.com: Do not add eQEP, ePWM and eCAP hwmod

Re: [PATCH v10 09/12] arch/x86: enable task isolation functionality

2016-03-07 Thread Chris Metcalf
On 03/03/2016 06:46 PM, Andy Lutomirski wrote: On Thu, Mar 3, 2016 at 11:52 AM, Chris Metcalf wrote: On 03/02/2016 07:36 PM, Andy Lutomirski wrote: On Mar 2, 2016 12:10 PM, "Chris Metcalf" wrote: In prepare_exit_to_usermode(), call

Re: [PATCH v10 09/12] arch/x86: enable task isolation functionality

2016-03-07 Thread Andy Lutomirski
On Mon, Mar 7, 2016 at 12:51 PM, Chris Metcalf wrote: > On 03/03/2016 06:46 PM, Andy Lutomirski wrote: >> >> On Thu, Mar 3, 2016 at 11:52 AM, Chris Metcalf >> wrote: >>> >>> On 03/02/2016 07:36 PM, Andy Lutomirski wrote: On Mar 2, 2016

Re: Oops in 3.10.99 -- NULL pointer dereference in radeon_fence_ref

2016-03-07 Thread Christian König
Am 07.03.2016 um 21:46 schrieb Greg Kroah-Hartman: On Sun, Mar 06, 2016 at 07:50:14PM -0700, Erik Andersen wrote: The following patch to radeon_sa_bo_new that went into 3.10.99 commit 8d5e1e5af0c667545c202e8f4051f77aa3bf31b7 Author: Nicolai Hähnle Date:

Re: sigaltstack breaks swapcontext()

2016-03-07 Thread Andy Lutomirski
On Mon, Mar 7, 2016 at 12:02 PM, Stas Sergeev wrote: > 09.01.2016 04:48, Andy Lutomirski пишет: >> >> On Fri, Jan 8, 2016 at 5:43 PM, Stas Sergeev wrote: >>> >>> 09.01.2016 02:24, Andy Lutomirski пишет: It's not sigaltstack that I'm thinking about. It's

RE: [PATCH RESEND] qib:Fix concurrent access in the function, qib_init_iba6120_funcs

2016-03-07 Thread Marciniszyn, Mike
> From: nick [mailto:xerofo...@gmail.com] > Sent: Monday, March 7, 2016 2:21 PM > To: Marciniszyn, Mike > Cc: dledf...@redhat.com; Hefty, Sean ; > hal.rosenst...@gmail.com; linux-r...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re:

Re: [PATCH v5 5/5] Add sancov plugin

2016-03-07 Thread Emese Revfy
On Mon, 7 Mar 2016 13:07:32 -0800 Kees Cook wrote: > > diff --git a/tools/gcc/sancov_plugin.c b/tools/gcc/sancov_plugin.c > > new file mode 100644 > > index 000..5a9179b > > --- /dev/null > > +++ b/tools/gcc/sancov_plugin.c > > @@ -0,0 +1,133 @@ > > +/* > > + *

Re: [PATCH v2 1/2] iio: core: introduce IIO_CHAN_INFO_SIGNED

2016-03-07 Thread Lars-Peter Clausen
On 03/07/2016 03:29 PM, Ludovic Desroches wrote: > The same channel can be used to perform a signed or an unsigned > conversion. Add a new infomask element to be able to select the type of > conversion wanted: a raw one or a signed raw one. If this is the difference between offset binary and

Re: [PATCH RESEND] xhci:Remove unused marco definitions from the file xhci-hub.c

2016-03-07 Thread Greg KH
On Mon, Mar 07, 2016 at 02:20:03PM -0500, Nicholas Krause wrote: > This removes the unneeded marco definitions for the marcos > of XHCI_PORT_RW1S, XHCI_PORT_RW1C, XHCI_PORT_RWand > XHCI_PORT_RZ due to no uses of these marcos in the file > xhci-hub.c or any other related kernel source code

Re: [PATCH] udp6: fix UDP/IPv6 encap resubmit path

2016-03-07 Thread David Miller
From: Bill Sommerfeld Date: Fri, 4 Mar 2016 14:47:21 -0800 > IPv4 interprets a negative return value from a protocol handler as a > request to redispatch to a new protocol. In contrast, IPv6 interprets a > negative value as an error, and interprets a positive value as a

Re: [PATCH] arch/microblaze: export isa_io_base to modules

2016-03-07 Thread Bjorn Helgaas
On Mon, Mar 07, 2016 at 08:29:24PM +0100, Nicolai Stange wrote: > As discovered by the kbuild test robot, an allmodconfig build on > microblaze bails out with > > ERROR: "isa_io_base" [sound/pci/vx222/snd-vx222.ko] undefined! > ERROR: "isa_io_base" [sound/pci/trident/snd-trident.ko]

Re: [PATCH net-next] hv_netvsc: Move subchannel waiting to rndis_filter_device_remove()

2016-03-07 Thread David Miller
From: Haiyang Zhang Date: Fri, 4 Mar 2016 15:07:43 -0800 > During hot add, vmbus_device_register() is called from vmbus_onoffer(), on > the same workqueue as the subchannel offer message work-queue, so > subchannel offer won't be processed until the

Re: [PATCH 2/4] nmi_backtrace: generate one-line reports for idle cpus

2016-03-07 Thread Peter Zijlstra
On Mon, Mar 07, 2016 at 12:38:16PM -0500, Chris Metcalf wrote: > On 03/07/2016 04:48 AM, Peter Zijlstra wrote: > I'm a little skeptical that a single percpu write is going to add much > measurable overhead to this path. So that write is almost guaranteed to be a cacheline miss, those things hurt

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread Khalid Aziz
On 03/07/2016 12:54 PM, Andy Lutomirski wrote: On Mon, Mar 7, 2016 at 11:44 AM, Khalid Aziz wrote: Consider this scenario: 1. Process A creates a shm and attaches to it. 2. Process A fills shm with data it wants to share with only known processes. It enables ADI and

[ANNOUNCE] 3.14.61-rt64

2016-03-07 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.14.61-rt64 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v3.14-rt Head SHA1: 26566adce1dda105c97b5ce9ecbee66b2e7bc8a9 Or to build 3.14.61-rt64

[ANNOUNCE] 3.10.97-rt107

2016-03-07 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.10.97-rt107 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v3.10-rt Head SHA1: c443dcfea9e25bfbf12b6648d7b8fb77d9546be2 Or to build 3.10.97-rt107

[ANNOUNCE] 3.12.54-rt74

2016-03-07 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.12.54-rt74 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v3.12-rt Head SHA1: 0efaf4ef1aa98dc06ff6deaf1d4dbcfd6e8cb5c0 Or to build 3.12.54-rt74

Re: [PATCH v5 1/5] Shared library support

2016-03-07 Thread Kees Cook
On Sun, Mar 6, 2016 at 3:03 PM, Emese Revfy wrote: > Infrastructure for building independent shared library targets. > This effectively also reverts commit 62e2210798ed38928ab24841e8b4878a > (Masahiro Yamada, kbuild: drop shared library support from Makefile.host). Should

Re: [PATCH] rtc: ds1685: actually spin forever in poweroff error path

2016-03-07 Thread Joshua Kinard
On 03/07/2016 10:03, Josh Poimboeuf wrote: > objtool reports the following warnings: > > drivers/rtc/rtc-ds1685.o: warning: objtool: ds1685_rtc_work_queue()+0x0: > duplicate frame pointer save > drivers/rtc/rtc-ds1685.o: warning: objtool: ds1685_rtc_work_queue()+0x3: > duplicate frame

Re: [RFT PATCH 2/2] Revert "usb: dwc2: Fix probe problem on bcm2835"

2016-03-07 Thread Doug Anderson
Stefan, On Mon, Mar 7, 2016 at 10:40 AM, Stefan Wahren wrote: > Hi Doug, > >> Douglas Anderson hat am 4. März 2016 um 19:23 >> geschrieben: >> >> >> This reverts commit 192cb07f7928 ("usb: dwc2: Fix probe problem on >> bcm2835") now that we've

Re: [PATCH] mtd: nand: check status before reporting timeout

2016-03-07 Thread Brian Norris
On Fri, Mar 04, 2016 at 05:19:23PM -0800, Brian Norris wrote: > In commit b70af9bef49b ("mtd: nand: increase ready wait timeout and > report timeouts"), we increased the likelihood of scheduling during > nand_wait(). This makes us more likely to hit the time_before(...) > condition, since a lot of

[PATCH v2 3/5] drm/rockchip: vop: Fix vop crtc cleanup

2016-03-07 Thread Douglas Anderson
This fixes a few problems in the vop crtc cleanup (handling error paths and cleanup upon exit): * The vop_create_crtc() error path had an unsafe version of the iterator used for iterating over all planes (though it was destroying planes in the iterator so should have used the safe version)

[PATCH v2 2/5] drm/imx: dw_hdmi: Call drm_encoder_cleanup() in error path

2016-03-07 Thread Douglas Anderson
The drm_encoder_cleanup() was missing both from the error path of dw_hdmi_imx_bind(). This caused a crash when slub_debug was enabled and we ended up deferring probe of HDMI at boot. This call isn't needed from unbind() because if dw_hdmi_bind() returns no error then it takes over the job of

[PATCH 4.2.y-ckt 186/273] ext4: fix crashes in dioread_nolock mode

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jan Kara commit 74dae4278546b897eb81784fdfcce872ddd8b2b8 upstream. Competing overwrite DIO in dioread_nolock mode will

[PATCH 4.2.y-ckt 195/273] drm/radeon/pm: adjust display configuration after powerstate

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alex Deucher commit 39d4275058baf53e89203407bf3841ff2c74fa32 upstream. set_power_state defaults to no

[PATCH 4.2.y-ckt 196/273] ARM: OMAP2+: Fix onenand initialization to avoid filesystem corruption

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Ivaylo Dimitrov commit 3f315c5b850fa7aff73f50de8e316b98f611a32b upstream. Commit e7b11dc7b77b ("ARM:

[PATCH 4.2.y-ckt 156/273] powerpc/eeh: Fix stale cached primary bus

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Gavin Shan commit 05ba75f848647135f063199dc0e9f40fee769724 upstream. When PE is created, its primary bus is

[PATCH 4.2.y-ckt 235/273] tg3: Fix for tg3 transmit queue 0 timed out when too many gso_segs

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Siva Reddy Kallam [ Upstream commit b7d987295c74500b733a0ba07f9a9bcc4074fa83 ] tg3_tso_bug() can hit a

[PATCH 4.2.y-ckt 187/273] nfit: fix multi-interface dimm handling, acpi6.1 compatibility

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Dan Williams commit 6697b2cf69d4363266ca47eaebc49ef13dabc1c9 upstream. ACPI 6.1 clarified that multi-interface

[PATCH 4.2.y-ckt 141/273] drm/amdgpu: fix s4 resume

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Flora Cui commit ca19852884c8937eed89560f924f5a34cfcc22af upstream. No need to re-init asic if it's already been

[PATCH 4.2.y-ckt 133/273] ALSA: timer: Fix race at concurrent reads

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 4dff5c7b7093b19c19d3a100f8a3ad87cb7cd9e7 upstream. snd_timer_user_read() has a potential race among

[PATCH 4.2.y-ckt 146/273] s390/dasd: prevent incorrect length error under z/VM after PAV changes

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Stefan Haberland commit 020bf042e5b397479c1174081b935d0ff15d1a64 upstream. The channel checks the specified

[PATCH 4.2.y-ckt 139/273] ahci: Intel DNV device IDs SATA

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alexandra Yates commit 342decff2b846b46fa61eb5ee40986fab79a9a32 upstream. Adding Intel codename DNV

Re: [PATCH 1/1] dma-mapping: to avoid exception when cpu_addr is NULL

2016-03-07 Thread Andrew Morton
On Mon, 7 Mar 2016 18:43:47 +0800 "Leizhen (ThunderTown)" wrote: > Suppose: > CONFIG_SPARSEMEM is opened. > CONFIG_DMA_API_DEBUG or CONFIG_CMA is opened. > > Then virt_to_page or phys_to_page will be called. Finally, in __pfn_to_page, > __sec =

[PATCH 4.2.y-ckt 194/273] drm/amdgpu/pm: adjust display configuration after powerstate

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alex Deucher commit 8e7cedc6f7fe762ffe6e348502be34b11fa79298 upstream. set_power_state defaults to no

[PATCH 4.2.y-ckt 188/273] hwmon: (gpio-fan) Remove un-necessary speed_index lookup for thermal hook

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Nishanth Menon commit 000e0949148382c4962489593a2f05504c2a6771 upstream. Thermal hook gpio_fan_get_cur_state is only

Re: Oops in 3.10.99 -- NULL pointer dereference in radeon_fence_ref

2016-03-07 Thread Greg Kroah-Hartman
On Mon, Mar 07, 2016 at 10:06:47PM +0100, Christian König wrote: > Am 07.03.2016 um 21:46 schrieb Greg Kroah-Hartman: > >On Sun, Mar 06, 2016 at 07:50:14PM -0700, Erik Andersen wrote: > >>The following patch to radeon_sa_bo_new that > >>went into 3.10.99 > >> > >> commit

slab-out-of-bounds in rpc/nfs

2016-03-07 Thread Alexei Starovoitov
seeing on ton of these errors on net-next with kasan on. Likely old bug though. [ 373.705691] BUG: KASAN: slab-out-of-bounds in memcpy+0x28/0x40 at addr 8811ada62cb0 [ 373.707137] Write of size 28 by task bash/7059 [ 373.708177]

[GIT] Networking

2016-03-07 Thread David Miller
1) Fix ordering of WEXT netlink messages so we don't see a newlink after a dellink, from Johannes Berg. 2) Out of bounds access in minstrel_ht_set_best_prob_rage, from Konstantin Khlebnikov. 3) Paging buffer memory leak in iwlwifi, from Matti Gottlieb. 4) Wrong units used to set initial

[PATCH v2 1/5] drm/rockchip: dw_hdmi: Call drm_encoder_cleanup() in error path

2016-03-07 Thread Douglas Anderson
The drm_encoder_cleanup() was missing both from the error path of dw_hdmi_rockchip_bind(). This caused a crash when slub_debug was enabled and we ended up deferring probe of HDMI at boot. This call isn't needed from unbind() because if dw_hdmi_bind() returns no error then it takes over the job

[PATCH v2 5/5] drm/imx: dw_hdmi: Don't call platform_set_drvdata()

2016-03-07 Thread Douglas Anderson
The IMX dw_hdmi driver just called platform_set_drvdata() to get your hopes up that maybe, somehow, you'd be able to retrieve the 'struct imx_hdmi' from a pointer to the 'struct device'. You can't. When we call dw_hdmi_bind() the main driver calls dev_set_drvdata(), which clobbers our setting.

Re: [PATCH v2-UPDATE 3/4] resource: Add device-managed insert/remove_resource()

2016-03-07 Thread Toshi Kani
On Mon, 2016-03-07 at 10:14 -0800, Dan Williams wrote:  : > > +/** > > + * devm_insert_resource() - insert an I/O or memory resource > > + * @dev: device for which to produce the resource > > + * @root: root of the resource tree > > + * @new: descriptor of the new resource > > + * > > + * This is

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-07 Thread David Rientjes
On Thu, 3 Mar 2016, Jan Stancek wrote: > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > this value is propagated to userspace. EOPNOTSUPP is part of uapi > and is widely supported by libc libraries. > > Cc: Andrew Morton > Cc: Naoya Horiguchi

[PATCH 1/2] pci: add pci_unmap_iospace function for PCI_IOBASE

2016-03-07 Thread Sinan Kaya
The PCI_IOBASE needs to be released after hotplug removal so that it can be re-added back by the pci_remap_iospace function during insertion. Adding unmap function to follow IO remap function. Signed-off-by: Sinan Kaya --- drivers/pci/pci.c | 25

<    3   4   5   6   7   8   9   10   11   12   >