Re: [PATCH v2] net: ethernet: Add missing MFD_SYSCON dependency on HAS_IOMEM

2016-03-07 Thread David Miller
From: Krzysztof Kozlowski Date: Fri, 04 Mar 2016 10:04:52 +0900 > The MFD_SYSCON depends on HAS_IOMEM so when selecting it avoid unmet > direct dependencies. > > Signed-off-by: Krzysztof Kozlowski Applied.

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

2016-03-07 Thread Marcelo Ricardo Leitner
On Tue, Jan 26, 2016 at 02:28:48PM +0100, Dmitry Vyukov wrote: > On Mon, Jan 25, 2016 at 6:52 PM, Marcelo Ricardo Leitner > wrote: > > Great. Dmitry, please give this a run. Local tests looked good but who > > knows what syzkaller may find. > > Now running with this patch. Hi Dmitry, do you reme

Re: [PATCH RT 14/13] tracing: Fix probe_wakeup_latency_hist_start() prototype

2016-03-07 Thread Steven Rostedt
On Fri, 04 Mar 2016 05:04:06 +0100 Mike Galbraith wrote: > Drop 'success' arg from probe_wakeup_latency_hist_start(). > > Fixes: cf1dd658 sched: Introduce the trace_sched_waking tracepoint > Signed-off-by: Mike Galbraith Thanks, I applied this to 3.18-rt, 3.14-rt, 3.12-rt, 3.10-rt, 3.4-rt, and

[PATCHv2 06/11] EDAC, altera: Add IRQ flags to private data struct

2016-03-07 Thread tthayer
From: Thor Thayer In preparation for the Arria10 peripheral ECCs, irq_flags was added to the private data structure because Arria10 uses shared IRQs while Cyclone5/Arria5 have exclusive IRQs. Signed-off-by: Thor Thayer --- v2: Split large patch into smaller patches. Add irq_flags to the pri

[PATCHv2 04/11] EDAC, altera: Add register offset for ECC Error Inject

2016-03-07 Thread tthayer
From: Thor Thayer In preparation for the Arria10 peripheral ECCs, a register offset from the ECC base was added to the private data structure to index to the error injection register. Signed-off-by: Thor Thayer --- v2: Split large patch into smaller patches. Add an ECC error inject offset t

[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 --- v2: Split into 2 separate functions selected w

[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 patches. Addition of Arria10 L2 cache dependency check and p

[PATCHv2 01/11] EDAC: Altera L2 Kconfig change from select to depends upon.

2016-03-07 Thread tthayer
From: Thor Thayer Force L2 cache dependency instead of forcing selection of L2 cache. Signed-off-by: Thor Thayer --- v2 No change --- drivers/edac/Kconfig |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index 37755e6..6ca7

[PATCHv2 05/11] EDAC, altera: Add register offset for ECC Error Clear

2016-03-07 Thread tthayer
From: Thor Thayer In preparation for the Arria10 peripheral ECCs, a register offset from the ECC base was added to the private data structure to index to the error clear register. Since the Arria10 L2 cache ECC registers are not contiguous, a status base address was added. Signed-off-by: Thor Th

[PATCHv2 03/11] EDAC, altera: Add register offset for ECC Enable

2016-03-07 Thread tthayer
From: Thor Thayer In preparation for the Arria10 peripheral ECCs, a register offset from the ECC base was added to the private data structure to index into the ECC enable register. Signed-off-by: Thor Thayer --- v2: Split large patch into smaller patches. Add an ECC control offset to suppor

[PATCHv2 08/11] Documentation: dt: socfpga: Add Altera Arria10 L2 cache binding

2016-03-07 Thread tthayer
From: Thor Thayer Add the device tree binding string needed to support the Altera L2 cache on the Arria10 chip. Signed-off-by: Thor Thayer Acked-by: Rob Herring --- v2 Correct spelling of Arria10 in patch title. --- .../bindings/arm/altera/socfpga-eccmgr.txt |3 ++- 1 file changed

[PATCHv2 07/11] EDAC, altera: Add status offset & masks

2016-03-07 Thread tthayer
From: Thor Thayer In preparation for the Arria10 peripheral ECCs, the IRQ status needs to be determined because the IRQs are shared. The IRQ status register is read to determine if the IRQ was for this ECC peripheral. Cyclone5 and Arria5 have dedicated IRQs so the confirmation mechanism is not re

[PATCHv2 11/11] ARM: dts: Add Altera Arria10 L2 Cache EDAC devicetree entry

2016-03-07 Thread tthayer
From: Thor Thayer Add the device tree entries needed to support the Altera L2 cache EDAC on the Arria10 chip. Signed-off-by: Thor Thayer --- v2 Match register value (l2-ecc@ffd06010) --- arch/arm/boot/dts/socfpga_arria10.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git

[PATCHv2 02/11] EDAC, altera: Move Device structs and defines to header file

2016-03-07 Thread tthayer
From: Thor Thayer Move the device structs and defines to altera_edac.h in preparation for adding the Arria10 L2 cache ECC. Signed-off-by: Thor Thayer --- v2: Split original patch into smaller patches. Move private data and defines into header file. --- drivers/edac/altera_edac.c | 43 ---

[PATCHv2 0/11] Series adding Altera Arria10 L2 Cache EDAC

2016-03-07 Thread tthayer
This version splits the larger patch in V1 into smaller, patches. [PATCHv2 01/11] EDAC: Altera L2 Kconfig change from select to [PATCHv2 02/11] EDAC, altera: Move Device structs and defines to [PATCHv2 03/11] EDAC, altera: Add register offset for ECC Enable [PATCHv2 04/11] EDAC, altera: Add re

Re: [PATCH v14 2/6] Documentation, dt, numa: dt bindings for NUMA.

2016-03-07 Thread Robert Richter
On 03.03.16 15:55:35, David Daney wrote: > From: Ganapatrao Kulkarni > > Add DT bindings for numa mapping of memory, CPUs and IOs. > > Reviewed-by: Robert Richter > Signed-off-by: Ganapatrao Kulkarni > Signed-off-by: David Daney > --- > Documentation/devicetree/bindings/numa.txt | 272 > +++

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 patch

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 u

[PATCH] pwms: pwm-ti*: Remove support for local clock gating

2016-03-07 Thread Franklin S Cooper Jr
The PWMSS local clock gating registers have no real purpose on OMAP ARM devices. These registers were left over registers from DSP IP where the PRCM doesn't exist. There is a silicon bug where gating and ungating clocks don't function properly. TRMs will be update to indicate that these registers s

[PATCH] arch/microblaze: export isa_io_base to modules

2016-03-07 Thread Nicolai Stange
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] undefined! ERROR: "isa_io_base" [sound/pci/snd-via82xx.ko] undefined! ERROR: "is

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

2016-03-07 Thread Russell King - ARM Linux
On Mon, Mar 07, 2016 at 07:56:18PM +0100, Heiko Stübner wrote: > Hi Doug, > > Am Montag, 7. März 2016, 10:49:53 schrieb Doug Anderson: > > On Mon, Mar 7, 2016 at 9:57 AM, Heiko Stübner wrote: > > > Am Montag, 7. März 2016, 09:36:07 schrieb Doug Anderson: > > >> Hi, > > >> > > >> On Mon, Mar 7, 2

Re: [PATCH RESEND] Documentation: devicetree: Clean up gpio-keys example

2016-03-07 Thread Andreas Färber
Hi, Am 07.03.2016 um 19:34 schrieb Javier Martinez Canillas: > On Mon, Mar 7, 2016 at 3:24 PM, Andreas Färber wrote: >> Drop #address-cells and #size-cells, which are not required by the >> gpio-keys binding documentation, as button sub-nodes are not devices. >> >> Reported-by: Julien Chauveau >

Re: [PATCH] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

2016-03-07 Thread Duc Dang
On Mon, Feb 22, 2016 at 8:03 AM, Bjorn Helgaas wrote: > > On Sat, Feb 20, 2016 at 1:47 PM, Duc Dang wrote: > > On Tue, Feb 9, 2016 at 5:56 PM, Duc Dang wrote: > >> This patch makes pci-xgene-msi driver ACPI-aware and provides > >> MSI capability for X-Gene v1 PCIe controllers in ACPI boot mode.

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

2016-03-07 Thread David Miller
From: Andy Lutomirski Date: Mon, 7 Mar 2016 10:53:23 -0800 > x86 has an upcoming feature called protection keys. A page of virtual > memory has a protection key, which is a number from 0 through 16. The > master copy is in the PTE, i.e. page table entry, which is a > software-managed data struc

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

2016-03-07 Thread David Miller
From: Andy Lutomirski Date: Mon, 7 Mar 2016 10:49:57 -0800 > What data structure or structures changes when this stxa instruction happens? An internal table, maintained by the CPU and/or hypervisor, and if in physical addresses then in a region which is only accessible by the hypervisor. The ta

Re: [PATCH V2 2/2] mailbox: Introduce TI message manager driver

2016-03-07 Thread Nishanth Menon
On 03/07/2016 12:31 PM, Jassi Brar wrote: > On Fri, Mar 4, 2016 at 8:05 PM, Nishanth Menon wrote: >> Hi Jassi, >> >> Thanks for reviewing the patch. >> On 03/03/2016 11:18 PM, Jassi Brar wrote: >> >> [...] >> drivers/mailbox/Kconfig | 11 + drivers/mailbox/Makefile| 2 +

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 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 swappable pages are a > problem), so kernel does not have to do it

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2016-03-07 Thread Steven Rostedt
On Mon, 7 Mar 2016 10:04:21 -0800 Andy Lutomirski wrote: > > Exactly. The compiler may get away with this in userspace (maybe), but > > for the kernel, it is definitely a show stopper. Especially if it knows > > that an asm() may be called. > > It's broken for user code that fiddles with AC,

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 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 ELF auxiliary vector entry via ARCH_DLINFO. >> >> So now all that's left is supp

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

2016-03-07 Thread David Miller
From: Dave Hansen Date: Mon, 7 Mar 2016 09:35:57 -0800 > On 03/02/2016 12:39 PM, Khalid Aziz wrote: >> +long enable_sparc_adi(unsigned long addr, unsigned long len) >> +{ >> +unsigned long end, pagemask; >> +int error; >> +struct vm_area_struct *vma, *vma2; >> +struct mm_struct *m

Re: linux-next: manual merge of the watchdog tree with the arm-soc tree

2016-03-07 Thread Olof Johansson
On Mon, Mar 7, 2016 at 4:19 AM, Sudeep Holla wrote: > Hi Olof, > > On 07/03/16 05:41, Olof Johansson wrote: >> >> Hi Wim, >> >> It's much easier for us if all DTS changes go in through the arm-soc >> trees, to avoid these kind of conflicts. Is this on a branch where you >> can easily drop it and w

[PATCH v2 1/2] cxl: Add mechanism for delivering AFU driver specific events

2016-03-07 Thread Ian Munsie
From: Ian Munsie This adds an afu_driver_ops structure with event_pending and deliver_event callbacks. An AFU driver such as cxlflash can fill these out and associate it with a context to enable passing custom AFU specific events to userspace. The cxl driver will call event_pending() during poll

Re: linux-next: manual merge of the watchdog tree with the arm-soc tree

2016-03-07 Thread Olof Johansson
On Mon, Mar 7, 2016 at 10:54 AM, Wim Van Sebroeck wrote: > Hi All, > >> It's much easier for us if all DTS changes go in through the arm-soc >> trees, to avoid these kind of conflicts. Is this on a branch where you >> can easily drop it and we pick it up instead, or is it on a now-stable >> branch

[PATCH v2 2/2] cxl: add set/get private data to context struct

2016-03-07 Thread Ian Munsie
From: Michael Neuling This provides AFU drivers a means to associate private data with a cxl context. This is particularly intended for make the new callbacks for driver specific events easier for AFU drivers to use, as they can easily get back to any private data structures they may use. Signed

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 have

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

2016-03-07 Thread Heiko Stübner
Hi Doug, Am Montag, 7. März 2016, 10:49:53 schrieb Doug Anderson: > On Mon, Mar 7, 2016 at 9:57 AM, Heiko Stübner wrote: > > Am Montag, 7. März 2016, 09:36:07 schrieb Doug Anderson: > >> Hi, > >> > >> On Mon, Mar 7, 2016 at 12:37 AM, Mark yao wrote: > >> > On 2016年03月05日 20:39, Russell King -

Re: linux-next: manual merge of the watchdog tree with the arm-soc tree

2016-03-07 Thread Wim Van Sebroeck
Hi All, > It's much easier for us if all DTS changes go in through the arm-soc > trees, to avoid these kind of conflicts. Is this on a branch where you > can easily drop it and we pick it up instead, or is it on a now-stable > branch? > > > -Olof I can always redo the tree once you picked it up

Re: [PATCH] MAINTAINERS: Add devicetree bindings to Input Drivers section

2016-03-07 Thread Heiko Stübner
Am Montag, 7. März 2016, 19:18:13 schrieb Andreas Färber: > To avoid changes to input bindings not reaching linux-input reviewers > add an appropriate file pattern to the MAINTAINERS entry. > > Reported-by: Heiko Stübner > Signed-off-by: Andreas Färber not sure if it is needed, but looks good t

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

2016-03-07 Thread Andy Lutomirski
On Mon, Mar 7, 2016 at 10:39 AM, Khalid Aziz wrote: > 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. >> >>

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

2016-03-07 Thread Andy Lutomirski
On Mon, Mar 7, 2016 at 10:22 AM, Khalid Aziz wrote: > On 03/07/2016 11:08 AM, Andy Lutomirski wrote: >> >> On Mon, Mar 7, 2016 at 10:04 AM, Khalid Aziz >> wrote: >>> >>> On 03/07/2016 09:56 AM, David Miller wrote: From: Khalid Aziz Date: Mon, 7 Mar 2016 08:07:53 -0700 >>

Re: [PATCH v8 0/10] watchdog: Add support for keepalives triggered by infrastructure

2016-03-07 Thread Wim Van Sebroeck
Hi Guenter, > Hi Wim, > > On Sun, Mar 06, 2016 at 11:49:56AM +0100, Wim Van Sebroeck wrote: > > Hi Guenter, > > > > > The watchdog infrastructure is currently purely passive, meaning > > > it only passes information from user space to drivers and vice versa. > > > > [ ... ] > > > > Patches 1 t

Re: [PATCH 2/3] net: macb: Fix more coding style issues

2016-03-07 Thread David Miller
From: Moritz Fischer Date: Mon, 7 Mar 2016 08:17:38 -0800 > @@ -945,6 +943,7 @@ static int macb_rx_frame(struct macb *bp, unsigned int > first_frag, > static int macb_rx(struct macb *bp, int budget) > { > int received = 0; > + int dropped; > unsigned int tail; > int firs

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

2016-03-07 Thread Doug Anderson
Hi, On Mon, Mar 7, 2016 at 9:57 AM, Heiko Stübner wrote: > Am Montag, 7. März 2016, 09:36:07 schrieb Doug Anderson: >> Hi, >> >> On Mon, Mar 7, 2016 at 12:37 AM, Mark yao wrote: >> > On 2016年03月05日 20:39, Russell King - ARM Linux wrote: >> >> On Sat, Mar 05, 2016 at 12:11:16PM +, John Keepin

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

2016-03-07 Thread Jiri Olsa
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 stat -x, --metric-only -a -I 1000 > > > 1.001381652,frontend cycles i

Re: [PATCH v1 2/3] mailbox: rockchip: Add Rockchip mailbox driver

2016-03-07 Thread Heiko Stübner
Hi Jassi, Am Dienstag, 27. Oktober 2015, 15:31:45 schrieb Caesar Wang: > This driver is found on RK3368 SoCs. > > The Mailbox module is a simple APB peripheral that allows both > the Cortex-A53 MCU system to communicate by writing operation to > generate interrupt. > The registers are accessible

Re: [PATCH v2 07/10] x86/entry: Vastly simplify SYSENTER TF handling

2016-03-07 Thread Andy Lutomirski
On Mon, Mar 7, 2016 at 10:41 AM, Brian Gerst wrote: > On Mon, Mar 7, 2016 at 1:03 PM, Andy Lutomirski wrote: >> On Mon, Mar 7, 2016 at 9:17 AM, Brian Gerst wrote: >>> On Sun, Mar 6, 2016 at 12:52 AM, Andy Lutomirski wrote: Due to a blatant design error, SYSENTER doesn't clear TF. As a res

Re: Suspicious error for CMA stress test

2016-03-07 Thread Laura Abbott
On 03/07/2016 12:16 AM, Leizhen (ThunderTown) wrote: On 2016/3/7 12:34, Joonsoo Kim wrote: On Fri, Mar 04, 2016 at 03:35:26PM +0800, Hanjun Guo wrote: On 2016/3/4 14:38, Joonsoo Kim wrote: On Fri, Mar 04, 2016 at 02:05:09PM +0800, Hanjun Guo wrote: On 2016/3/4 12:32, Joonsoo Kim wrote: On

Re: [PATCH 01/11] rxrpc: Add a common object cache

2016-03-07 Thread David Miller
From: David Howells Date: Mon, 07 Mar 2016 14:38:06 + > Add a common object cache implementation for RxRPC. This will be used to > cache objects of various types (calls, connections, local and remote > endpoint records). Each object that would be cached must contain an > obj_node struct for

Re: [PATCH v2 07/10] x86/entry: Vastly simplify SYSENTER TF handling

2016-03-07 Thread Brian Gerst
On Mon, Mar 7, 2016 at 1:03 PM, Andy Lutomirski wrote: > On Mon, Mar 7, 2016 at 9:17 AM, Brian Gerst wrote: >> On Sun, Mar 6, 2016 at 12:52 AM, Andy Lutomirski wrote: >>> Due to a blatant design error, SYSENTER doesn't clear TF. As a result, >>> if a user does SYSENTER with TF set, we will sing

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()"). adding a delay of 10 ms

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 th

Re: [PATCH v2 2/3] libnvdimm, pmem: adjust for section collisions with 'System RAM'

2016-03-07 Thread Dan Williams
[ adding Haozhong and Xiao for the alignment concerns below ] On Mon, Mar 7, 2016 at 10:58 AM, Toshi Kani wrote: > On Mon, 2016-03-07 at 09:18 -0800, Dan Williams wrote: >> On Mon, Mar 7, 2016 at 9:56 AM, Toshi Kani wrote: >> > On Fri, 2016-03-04 at 18:23 -0800, Dan Williams wrote: >> > > On Fri

Re: [PATCH RESEND] Documentation: devicetree: Clean up gpio-keys example

2016-03-07 Thread Javier Martinez Canillas
Hello Andreas, On Mon, Mar 7, 2016 at 3:24 PM, Andreas Färber wrote: > Drop #address-cells and #size-cells, which are not required by the > gpio-keys binding documentation, as button sub-nodes are not devices. > > Reported-by: Julien Chauveau > Signed-off-by: Andreas Färber Looks good to me.

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 fil

Re: [PATCH V2 2/2] mailbox: Introduce TI message manager driver

2016-03-07 Thread Jassi Brar
On Fri, Mar 4, 2016 at 8:05 PM, Nishanth Menon wrote: > Hi Jassi, > > Thanks for reviewing the patch. > On 03/03/2016 11:18 PM, Jassi Brar wrote: > > [...] > >>> >>> drivers/mailbox/Kconfig | 11 + >>> drivers/mailbox/Makefile| 2 + >>> drivers/mailbox/ti-msgmgr.c | 657 > >> Do you wan

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2016-03-07 Thread Linus Torvalds
On Mon, Mar 7, 2016 at 10:07 AM, Alan Stern wrote: > > Of course, there are other ways to save a single flag value (such as > setz). It's up to the compiler developers to decide what they think is > best. Using 'setcc' to save eflags somewhere is definitely the right thing to do. Using pushf/po

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 incl

Re: [PATCH v3 4/8] Documentation: devicetree: Clean up gpio-keys example

2016-03-07 Thread Andreas Färber
Am 07.03.2016 um 19:05 schrieb Heiko Stübner: > Am Sonntag, 6. März 2016, 20:53:53 schrieb Andreas Färber: >> Drop #address-cells and #size-cells, which are not required by the >> gpio-keys binding documentation, as button sub-nodes are not devices. >> >> Reported-by: Julien Chauveau >> Signed-off

Re: [PATCH net-next 2/9] bpf: introduce percpu_freelist

2016-03-07 Thread Alexei Starovoitov
On 3/7/16 2:33 AM, Daniel Borkmann wrote: On 03/07/2016 02:58 AM, Alexei Starovoitov wrote: Introduce simple percpu_freelist to keep single list of elements spread across per-cpu singly linked lists. /* push element into the list */ void pcpu_freelist_push(struct pcpu_freelist *, struct pcpu_fr

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

2016-03-07 Thread Jiri Olsa
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: > > > > lkml.kernel.org/r/1445458568-16956-1-git-send-email-a...@firstfloor.org > > > > applied to his tree. > > OK,

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

2016-03-07 Thread Khalid Aziz
On 03/07/2016 11:09 AM, Rob Gardner wrote: On 03/07/2016 10:04 AM, Khalid Aziz wrote: 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 ELF auxiliary vector entry via ARCH_DLINFO. So now all that's l

[PATCH RESEND] Documentation: devicetree: Clean up gpio-keys example

2016-03-07 Thread Andreas Färber
Drop #address-cells and #size-cells, which are not required by the gpio-keys binding documentation, as button sub-nodes are not devices. Reported-by: Julien Chauveau Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/input/gpio-keys.txt | 2 -- 1 file changed, 2 deletions(-) d

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

2016-03-07 Thread Christoph Lameter
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 percpu_counter *fbc, >

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

2016-03-07 Thread Khalid Aziz
On 03/07/2016 11:08 AM, Andy Lutomirski wrote: On Mon, Mar 7, 2016 at 10:04 AM, Khalid Aziz wrote: 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 ELF auxiliary vector entry via ARCH_DLINFO. So

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

2016-03-07 Thread Andi Kleen
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 stat -x, --metric-only -a -I 1000 > > 1.001381652,frontend cycles idle,insn per cycle,stalled cycles per > > insn,branch-misses of all branche

Re: Linux 4.4.4 [regression]

2016-03-07 Thread Jörg-Volker Peetz
Deucher, Alexander wrote on 03/07/16 19:07: >> -Original Message- >> From: Jörg-Volker Peetz [mailto:jvpe...@web.de] >> Sent: Monday, March 07, 2016 12:40 PM >> To: Deucher, Alexander; 'Linus Torvalds'; Dave Airlie; DRI mailing list >> Cc: Greg KH; Linux Kernel Mailing List; stable; l...@lw

Re: [PATCH v2 2/3] libnvdimm, pmem: adjust for section collisions with 'System RAM'

2016-03-07 Thread Dan Williams
On Mon, Mar 7, 2016 at 10:58 AM, Toshi Kani wrote: > On Mon, 2016-03-07 at 09:18 -0800, Dan Williams wrote: >> On Mon, Mar 7, 2016 at 9:56 AM, Toshi Kani wrote: >> > On Fri, 2016-03-04 at 18:23 -0800, Dan Williams wrote: >> > > On Fri, Mar 4, 2016 at 6:48 PM, Toshi Kani >> > > wrote: >> [..] >>

[PATCH] MAINTAINERS: Add devicetree bindings to Input Drivers section

2016-03-07 Thread Andreas Färber
To avoid changes to input bindings not reaching linux-input reviewers add an appropriate file pattern to the MAINTAINERS entry. Reported-by: Heiko Stübner Signed-off-by: Andreas Färber --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8e9d47e10f

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

2016-03-07 Thread Khalid Aziz
On 03/07/2016 10:35 AM, Dave Hansen wrote: On 03/02/2016 12:39 PM, Khalid Aziz wrote: +long enable_sparc_adi(unsigned long addr, unsigned long len) +{ + unsigned long end, pagemask; + int error; + struct vm_area_struct *vma, *vma2; + struct mm_struct *mm; + + if (!A

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

2016-03-07 Thread Dan Williams
[ adding Linus for the implications of exporting insert_resource() ] On Fri, Mar 4, 2016 at 8:14 AM, Toshi Kani wrote: > insert_resource() and remove_resouce() are called by producers > of resources, such as FW modules and bus drivers. These modules > may be implemented as loadable modules. > >

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

2016-03-07 Thread Rob Gardner
On 03/07/2016 10:04 AM, Khalid Aziz wrote: 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 ELF auxiliary vector entry via ARCH_DLINFO. So now all that's left is supposedly the TAG stuff, please expl

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

2016-03-07 Thread Dave Hansen
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 the hardware has some kind of lookup tables f

Re: [PATCH v4 48/52] mtd: nand: vf610: switch to mtd_ooblayout_ops

2016-03-07 Thread Stefan Agner
On 2016-03-07 01:47, Boris Brezillon wrote: > Implementing the mtd_ooblayout_ops interface is the new way of exposing > ECC/OOB layout to MTD users. Hi Boris, Tested this revision, works out of the box now! Thanks! Tested-by: Stefan Agner Acked-by: Stefan Agner -- Stefan > > Signed-off-by:

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

2016-03-07 Thread Andy Lutomirski
On Mon, Mar 7, 2016 at 10:04 AM, Khalid Aziz wrote: > 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 ELF auxiliary vector entry via ARCH_DLINFO. >> >> So now all that's left is su

Re: [PATCH v3 5/7] perf report: Use hierarchy hpp list on stdio

2016-03-07 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 07, 2016 at 03:06:04PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Mar 07, 2016 at 11:35:06PM +0900, Namhyung Kim escreveu: > > Now hpp formats are linked using perf_hpp_list_node when hierarchy is > > enabled. Use this info to print entries with multiple sort keys in a > > sin

RE: Linux 4.4.4 [regression]

2016-03-07 Thread Deucher, Alexander
> -Original Message- > From: Jörg-Volker Peetz [mailto:jvpe...@web.de] > Sent: Monday, March 07, 2016 12:40 PM > To: Deucher, Alexander; 'Linus Torvalds'; Dave Airlie; DRI mailing list > Cc: Greg KH; Linux Kernel Mailing List; stable; l...@lwn.net; Andrew Morton; > Jiri Slaby > Subject: Re:

Re: [PATCH v3 5/7] perf report: Use hierarchy hpp list on stdio

2016-03-07 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 07, 2016 at 11:35:06PM +0900, Namhyung Kim escreveu: > Now hpp formats are linked using perf_hpp_list_node when hierarchy is > enabled. Use this info to print entries with multiple sort keys in a > single hierarchy properly. > > For example, the below example shows using 4 sort keys w

RE: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2016-03-07 Thread Alan Stern
On Mon, 7 Mar 2016, David Laight wrote: > From: Sedat Dilek > ... > > Did someone look at the next/follow-ups in this thread? > > For example: D6629 "x86: Emit LAHF/SAHF instead of PUSHF/POPF" [2]? > > LAHF and SAHF come with the following note: > > This instruction executes as described above i

Re: [PATCH v3 4/8] Documentation: devicetree: Clean up gpio-keys example

2016-03-07 Thread Heiko Stübner
Am Sonntag, 6. März 2016, 20:53:53 schrieb Andreas Färber: > Drop #address-cells and #size-cells, which are not required by the > gpio-keys binding documentation, as button sub-nodes are not devices. > > Reported-by: Julien Chauveau > Signed-off-by: Andreas Färber > --- changes to input-device

Re: [PATCH v2 2/3] libnvdimm, pmem: adjust for section collisions with 'System RAM'

2016-03-07 Thread Toshi Kani
On Mon, 2016-03-07 at 09:18 -0800, Dan Williams wrote: > On Mon, Mar 7, 2016 at 9:56 AM, Toshi Kani wrote: > > On Fri, 2016-03-04 at 18:23 -0800, Dan Williams wrote: > > > On Fri, Mar 4, 2016 at 6:48 PM, Toshi Kani > > > wrote: > [..] > > > As far as I can see > > > all we do is ask firmware impl

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

2016-03-07 Thread Khalid Aziz
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 ELF auxiliary vector entry via ARCH_DLINFO. So now all that's left is supposedly the TAG stuff, please explain that to me so I can direct you to the co

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2016-03-07 Thread Andy Lutomirski
On Mon, Mar 7, 2016 at 9:30 AM, Steven Rostedt wrote: > On Mon, 7 Mar 2016 18:24:12 +0100 (CET) > Jiri Kosina wrote: > >> > So, if Clang is producing wrong X86 code here, is it possible to turn >> > interrupts on/off manually? But, hmm that affects other places as well >> > in the Linux sources,

Re: [PATCH v2 07/10] x86/entry: Vastly simplify SYSENTER TF handling

2016-03-07 Thread Andy Lutomirski
On Mon, Mar 7, 2016 at 9:17 AM, Brian Gerst wrote: > On Sun, Mar 6, 2016 at 12:52 AM, Andy Lutomirski wrote: >> Due to a blatant design error, SYSENTER doesn't clear TF. As a result, >> if a user does SYSENTER with TF set, we will single-step through the >> kernel until something clears TF. The

Re: [PATCH v7 2/3] pci, pci-thunder-pem: Add PCIe host driver for ThunderX processors.

2016-03-07 Thread David Daney
On 03/05/2016 07:54 AM, Yury Norov wrote: [...] +static u32 thunder_pem_bridge_w1c_bits(int where) +{ + u32 w1c_bits = 0; + + switch (where & ~3) { + case 0x04: /* Command/Status */ + case 0x1c: /* Base and I/O Limit/Secondary Status */ + w1c_bits = 0xff0

Re: [4.4-rt PATCH] trace: use rcuidle version for preemptoff_hist trace point

2016-03-07 Thread Sebastian Andrzej Siewior
* Yang Shi | 2016-02-23 13:23:23 [-0800]: >I recall the rcuidle version is used by 4.1-rt, but not sure why it is dropped >in 4.4-rt. It looks such fix is still needed. I don't recall while I removed it. It was durring v4.1 -> v4.4 port. In v4.1 we had the idle version only in time_hardirqs_on()

Re: [PATCH v3 3/7] perf tools: Support multiple sort keys in a hierarchy level

2016-03-07 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 07, 2016 at 11:35:04PM +0900, Namhyung Kim escreveu: > This implements having multiple sort keys in a single hierarchy level. > Originally only single sort key is supported for each level, but now > using the group syntax with '{ }', it can set more than one sort key in > one level. No

Re: [PATCH 1/3] frv: remove stray pci_{alloc,free}_consistent declaration

2016-03-07 Thread Bjorn Helgaas
[+cc David M, David H] On Sun, Mar 06, 2016 at 04:17:53PM +0100, Christoph Hellwig wrote: > Signed-off-by: Christoph Hellwig Applied with acks from David M & David H to pci/misc for v4.6, thanks! > --- > arch/frv/include/asm/pci.h | 6 -- > 1 file changed, 6 deletions(-) > > diff --git a/

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

2016-03-07 Thread Heiko Stübner
Am Montag, 7. März 2016, 09:36:07 schrieb Doug Anderson: > Hi, > > On Mon, Mar 7, 2016 at 12:37 AM, Mark yao wrote: > > On 2016年03月05日 20:39, Russell King - ARM Linux wrote: > >> On Sat, Mar 05, 2016 at 12:11:16PM +, John Keeping wrote: > >>> On Fri, Mar 04, 2016 at 03:22:01PM -0800, Douglas

Re: Tool for sampling /proc/net/softnet_stat statistics

2016-03-07 Thread Willem de Bruijn
On Mon, Mar 7, 2016 at 10:36 AM, Jesper Dangaard Brouer wrote: > Hi Google, > > While playing with RPS, I needed to read stats from > /proc/net/softnet_stat and the tools I could find [1] and [2] was not > very good. > > I lack of better, I coded up my own tool softnet_stat.pl here: > > https://

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

2016-03-07 Thread Andy Lutomirski
On Mon, Mar 7, 2016 at 9: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

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

2016-03-07 Thread Khalid Aziz
On 03/07/2016 09:45 AM, David Miller wrote: From: Khalid Aziz Date: Mon, 7 Mar 2016 08:07:53 -0700 I can remove CONFIG_SPARC_ADI. It does mean this code will be built into 32-bit kernels as well but it will be inactive code. The code should be built only into obj-$(CONFIG_SPARC64) just like

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

2016-03-07 Thread Dave Hansen
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 > set on the virtual address being acces

[PATCH v2] powerpc: optimise csum_partial() call when len is constant

2016-03-07 Thread Christophe Leroy
csum_partial is often called for small fixed length packets for which it is suboptimal to use the generic csum_partial() function. For instance, in my configuration, I got: * One place calling it with constant len 4 * Seven places calling it with constant len 8 * Three places calling it with const

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

2016-03-07 Thread Waiman Long
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 CPUs in the system is large, hence a high cost for calling percpu_counter_sum(

[PATCH] Input: Do not add SYN_REPORT in between a single packet data

2016-03-07 Thread Aniroop Mathur
As mentioned in documentation, SYN_REPORT should be used to separate two packets and should not be inserted in between a single packet as otherwise with multiple SYN_REPORT in a single packet, input reader would not be able to know when the packet ended really. Documentation snippet: * SYN_REPORT:

Re: Linux 4.4.4 [regression]

2016-03-07 Thread Jörg-Volker Peetz
Deucher, Alexander wrote on 03/07/16 17:44: >> -Original Message- >> From: linus...@gmail.com [mailto:linus...@gmail.com] On Behalf Of Linus >> Torvalds >> Sent: Monday, March 07, 2016 11:21 AM >> To: Jörg-Volker Peetz; Dave Airlie; DRI mailing list >> Cc: Greg KH; Linux Kernel Mailing List

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

2016-03-07 Thread Chris Metcalf
On 03/07/2016 04:48 AM, Peter Zijlstra wrote: On Tue, Mar 01, 2016 at 11:01:42AM -0500, Chris Metcalf wrote: +++ b/kernel/sched/idle.c @@ -52,15 +52,25 @@ static int __init cpu_idle_nopoll_setup(char *__unused) __setup("hlt", cpu_idle_nopoll_setup); #endif +static DEFINE_PER_CPU(bool, cpu_id

Re: [PATCH v8 0/10] watchdog: Add support for keepalives triggered by infrastructure

2016-03-07 Thread Guenter Roeck
Hi Wim, On Sun, Mar 06, 2016 at 11:49:56AM +0100, Wim Van Sebroeck wrote: > Hi Guenter, > > > The watchdog infrastructure is currently purely passive, meaning > > it only passes information from user space to drivers and vice versa. > > [ ... ] > > Patches 1 till 7 of this series has been added

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

2016-03-07 Thread Doug Anderson
Hi, On Mon, Mar 7, 2016 at 12:37 AM, Mark yao wrote: > On 2016年03月05日 20:39, Russell King - ARM Linux wrote: >> >> On Sat, Mar 05, 2016 at 12:11:16PM +, John Keeping wrote: >>> >>> On Fri, Mar 04, 2016 at 03:22:01PM -0800, Douglas Anderson wrote: The drm_encoder_cleanup() was missin

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

2016-03-07 Thread Dave Hansen
On 03/02/2016 12:39 PM, Khalid Aziz wrote: > +long enable_sparc_adi(unsigned long addr, unsigned long len) > +{ > + unsigned long end, pagemask; > + int error; > + struct vm_area_struct *vma, *vma2; > + struct mm_struct *mm; > + > + if (!ADI_CAPABLE()) > + return -EI

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