[PATCH 3/3] libnvdimm, pmem: clear poison on write

2016-03-08 Thread Dan Williams
If a write is directed at a known bad block perform the following: 1/ write the data 2/ send a clear poison command 3/ invalidate the poison out of the cache hierarchy Cc: Cc: Vishal Verma Cc: Ross Zwisler

Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-08 Thread Rafael J. Wysocki
On Tuesday, March 08, 2016 04:25:30 PM Chen, Yu C wrote: > > -Original Message- > > From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm- > > ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > > Sent: Tuesday, March 08, 2016 9:54 AM > > To: Chen, Yu C > > Cc: Rafael J. Wysocki; ACPI

Re: [PATCH] pci: add pci_clear_master() stub for !CONFIG_PCI

2016-03-08 Thread Bjorn Helgaas
Hi Michael, On Tue, Mar 08, 2016 at 04:34:41PM -0600, Michael Auchter wrote: > Add a stub for pci_clear_master() for when CONFIG_PCI is not set, > similar to what's done for pci_set_master(). Does this fix a problem? If so, what is it? Some driver that doesn't build when CONFIG_PCI is not set?

Re: [PATCH v3 3/7] QE: Add uqe_serial document to bindings

2016-03-08 Thread Scott Wood
On Tue, 2016-03-08 at 01:16 +, Qiang Zhao wrote: > On Tue, Mar 08, 2016 at 1:28AM, Scott Wood wrote: > > -Original Message- > > From: Scott Wood [mailto:o...@buserror.net] > > Sent: Tuesday, March 08, 2016 1:28 AM > > To: Qiang Zhao ; Rob Herring >

Re: [PATCH] mm: fix 'size' alignment in devm_memremap_pages()

2016-03-08 Thread Toshi Kani
On Tue, 2016-03-08 at 14:32 -0800, Dan Williams wrote: > We need to align the end address, not just the size. > > Cc: Toshi Kani > Signed-off-by: Dan Williams The change looks good. Reviewed-by: Toshi Kani Thanks, -Toshi >

[3.19.y-ckt stable] Linux 3.19.8-ckt16 stable review

2016-03-08 Thread Kamal Mostafa
This is the start of the review cycle for the Linux 3.19.8-ckt16 stable kernel. This version contains 196 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch:

Re: [PATCH] pmem: don't allocate unused major device number

2016-03-08 Thread Dan Williams
On Tue, Mar 8, 2016 at 2:21 PM, NeilBrown wrote: > > When alloc_disk(0) or alloc_disk-node(0, XX) is used, the ->major > number is completely ignored: all devices are allocated with a > major of BLOCK_EXT_MAJOR. > > So there is no point allocating pmem_major. > > Signed-off-by:

[PATCH 1/4] staging: lustre: move libcfs to lnet layer

2016-03-08 Thread James Simmons
The lustre file system has a layered architecture with libcfs as the lowest layer and LNet layered on top. Then on top of LNet we run the lustre client. This patch moves the libcfs module code out of lustre into the lnet tree. This fits into the long term goal of eventually merging libcfs into

[PATCH 3/4] staging: lustre: add help section of Kconfig config LNET

2016-03-08 Thread James Simmons
Include a help section for Kconfig LNET. Signed-off-by: James Simmons --- drivers/staging/lustre/lnet/Kconfig |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/staging/lustre/lnet/Kconfig b/drivers/staging/lustre/lnet/Kconfig index

[PATCH 4/4] staging: lustre: make lustre dependent on LNet

2016-03-08 Thread James Simmons
In the case of lustre routers you only need a functioning LNet stack. Especially since often the routers are very light weight and want to avoid any addition software that would create additional pressures on the system. Signed-off-by: James Simmons ---

Re: [PATCH v16 02/23] tracing: Add 'hist' event trigger command

2016-03-08 Thread Tom Zanussi
Yep, thanks for fixing these, Steve. Tom On Tue, 2016-03-08 at 17:26 -0500, Steven Rostedt wrote: > FYI, > > -- Steve > > From 65692275fc895f7e2144889cd1335ff037cdb291 Mon Sep 17 00:00:00 2001 > From: "Steven Rostedt (Red Hat)" > Date: Tue, 8 Mar 2016 17:17:15 -0500 >

RE: [PATCH] tty: amba-pl011: use sg_table instead of scatterlist

2016-03-08 Thread Chanho Min
> > @@ -344,17 +344,23 @@ static int pl011_sgbuf_init(struct dma_chan *chan, > struct pl011_sgbuf *sg, > > enum dma_data_direction dir) > > { > > dma_addr_t dma_addr; > > + int ret; > > > > sg->buf = dma_alloc_coherent(chan->device->dev, > > PL011_DMA_BUFFER_SIZE, _addr,

[PATCH 3.19.y-ckt 053/196] [media] saa7134-alsa: Only frees registered sound cards

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mauro Carvalho Chehab commit ac75fe5d8fe4a0bf063be18fb29684405279e79e upstream. That prevents this bug: [

[PATCH] cisco: enic: Update logging macros and uses

2016-03-08 Thread Joe Perches
Don't hide varibles used by the logging macros. Miscellanea: o Use the more common ##__VA_ARGS__ extension o Add missing newlines to formats o Realign arguments Signed-off-by: Joe Perches --- drivers/net/ethernet/cisco/enic/enic.h | 22 --

Re: [PATCH] mmc: sdhci-of-at91: fix wakeup issue when using runtime pm

2016-03-08 Thread Ulf Hansson
+Ludovic On 8 March 2016 at 22:54, Ulf Hansson wrote: > On 4 March 2016 at 14:48, Ludovic Desroches > wrote: >> Hi Ulf, >> >> On Fri, Mar 04, 2016 at 10:09:37AM +0100, Ulf Hansson wrote: >>> On 17 February 2016 at 11:35, Ludovic Desroches >>

Re: [PART1 RFC v2 07/10] svm: Add VMEXIT handlers for AVIC

2016-03-08 Thread Radim Krčmář
2016-03-07 16:58+0100, Paolo Bonzini: >> +case AVIC_INCMP_IPI_ERR_INV_TARGET: >> +pr_err("%s: Invalid IPI target (icr=%#08x:%08x, idx=%u)\n", >> + __func__, icrh, icrl, index); >> +BUG(); >> +break; >> +case

[PATCH] cciss: update MAINTAINERS

2016-03-08 Thread Don Brace
Reviewed-by: Kevin Barnett Reviewed-by: Gerry Morong Signed-off-by: Don Brace --- MAINTAINERS |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 4/3] rtmutex: Avoid barrier in rt_mutex_handle_deadlock

2016-03-08 Thread Davidlohr Bueso
The very nature of rt_mutex_handle_deadlock() implies that this patch is merely a formality, as in practice the saved barrier is of little use. That said, we can relax setting the task state and be done with it; blocking unconditionally... this is a deadlock! Signed-off-by: Davidlohr Bueso

Re: [PATCH v3 1/3] SROP Mitigation: Architecture independent code for signal cookies

2016-03-08 Thread Scotty Bauer
On 03/08/2016 02:57 PM, Andy Lutomirski wrote: > On Tue, Mar 8, 2016 at 1:49 PM, Scotty Bauer wrote: >> >> >> On 03/08/2016 01:58 PM, Andy Lutomirski wrote: >>> On Tue, Mar 8, 2016 at 12:47 PM, Scott Bauer wrote: This patch adds a per-process

Re: [PATCH] cciss: update MAINTAINERS

2016-03-08 Thread Jens Axboe
On 03/08/2016 03:05 PM, Don Brace wrote: Reviewed-by: Kevin Barnett Reviewed-by: Gerry Morong Signed-off-by: Don Brace --- MAINTAINERS |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [RESEND RFC 2/3] nvmem: Add 'nvmem-blob' driver

2016-03-08 Thread Maxime Ripard
Hi, On Mon, Mar 07, 2016 at 08:07:41PM -0800, Andrey Smirnov wrote: > >> > > >> > Patch itself looks simple. Before we review it further could you provide > >> > more details on the exact usecase or some background of this. > >> > >> The discussion on this topic originated on mailing list of

[PATCH 2/4] staging: lustre: fixup kernel Kconfig option LNET_MAX_PAYLOAD

2016-03-08 Thread James Simmons
A few errors exist for the Kconfig option LNET_MAX_PAYLOAD. First mistake is the default size is 1MB not 2MB as it is shown to the person configuring the kernel. Second the LNET_MAX_PAYLOAD option is more closely related to LNET than the LUSTRE_FS option. Signed-off-by: James Simmons

[PATCH 0/4] Support lustre routers with stand alone LNet stack

2016-03-08 Thread James Simmons
Often lustre file systems will employ LNet routers in their set ups. Those routers tend to be very light weight so we want to avoid installing additional software that will burden the system. Installing the entire lustre client can be pretty heavy so we want to give the ability to only enable the

Re: [PATCH v10 1/3] cpufreq: Add mechanism for registering utilization update callbacks

2016-03-08 Thread Rafael J. Wysocki
On Tue, Mar 8, 2016 at 11:06 PM, Michael Turquette wrote: > Quoting Rafael J. Wysocki (2016-03-08 12:40:18) >> On Tue, Mar 8, 2016 at 8:24 PM, Michael Turquette >> wrote: >> > Quoting Rafael J. Wysocki (2016-02-23 18:01:06) >> >> On Tuesday,

Re: [RFC 0/7] eliminate snprintf with overlapping src and dst

2016-03-08 Thread Kees Cook
On Tue, Mar 8, 2016 at 12:40 PM, Rasmus Villemoes wrote: > Doing snprintf(buf, len, "%s...", buf, ...) for appending to a buffer > currently works, but it is somewhat fragile, and any other overlap > between source and destination buffers would be a definite bug. This >

Re: [RFC 0/7] eliminate snprintf with overlapping src and dst

2016-03-08 Thread Kees Cook
On Tue, Mar 8, 2016 at 12:40 PM, Rasmus Villemoes wrote: > Doing snprintf(buf, len, "%s...", buf, ...) for appending to a buffer > currently works, but it is somewhat fragile, and any other overlap > between source and destination buffers would be a definite bug. This >

Re: [PATCH v3] HID: i2c-hid: Fix suspend/resume when already runtime suspended

2016-03-08 Thread Benson Leung
On Tue, Mar 8, 2016 at 3:03 PM, Dmitry Torokhov wrote: > On ACPI-based systems ACPI power domain code runtime resumes device before > calling suspend method, which ensures that i2c-hid suspend code starts with > device not in low-power state and with interrupts enabled.

[PATCH v15 6/6] arm64, mm, numa: Add NUMA balancing support for arm64.

2016-03-08 Thread David Daney
From: Ganapatrao Kulkarni Enable NUMA balancing for arm64 platforms. Add pte, pmd protnone helpers for use by automatic NUMA balancing. Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni

Re: [PATCH] clk: sunxi: Remove use of VLAIS

2016-03-08 Thread Maxime Ripard
On Fri, Mar 04, 2016 at 09:18:41AM -0800, Stephen Boyd wrote: > On 03/04, Maxime Ripard wrote: > > On Thu, Mar 03, 2016 at 11:16:04AM -0800, Stephen Boyd wrote: > > > From: Stephen Boyd > > > Subject: [PATCH] clk: sunxi: Remove use of VLAIS > > > > VLAIS? > > Hmm I guess

Export clocks_calc_mult_shift() function

2016-03-08 Thread Murali Karicheri
Hi, I found a patch posted sometime back to export the clocksource function clocks_calc_mult_shift() so that it can be called by drivers that are dynamically loadable. I have not seen any comment against this. Wondering why this is not merged. We require this function exported for use in our

[PATCH] mm: fix 'size' alignment in devm_memremap_pages()

2016-03-08 Thread Dan Williams
We need to align the end address, not just the size. Cc: Toshi Kani Signed-off-by: Dan Williams --- Hi Andrew, one more fixup to devm_memremap_pages(). I was discussing patch "mm: fix mixed zone detection in devm_memremap_pages" with Toshi and

Re: Export clocks_calc_mult_shift() function

2016-03-08 Thread John Stultz
On Wed, Mar 9, 2016 at 5:25 AM, Murali Karicheri wrote: > Hi, > > I found a patch posted sometime back to export the clocksource > function clocks_calc_mult_shift() so that it can be called by > drivers that are dynamically loadable. I have not seen any > comment against

mounting mqueue type fs in a user namespace

2016-03-08 Thread Thomas Tanaka
Hi, When a process created with CLONE_NEWNS|CLONE_NEWIPC|CLONE_NEWUSER trying to mount a mqueue type fs, the inode->i_uid of the mounted mqueue fs is 0, instead of the new user uid e.g 1, is this an expected behavior ? Thanks in advance -- Regards, Thomas

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

2016-03-08 Thread Linus Torvalds
On Tue, Mar 8, 2016 at 4:04 PM, Toshi Kani wrote: > > Yes, I prefer the devm semantics. insert_resource() and remove_resource() > are not exported interfaces. So, with devm_add_action(), we still need to > introduce built-in exported wrappers for insert/remove_resource(),

Re: [1/3] TDM: Add maxim ds26522 document to bindings

2016-03-08 Thread Scott Wood
On Fri, Jan 08, 2016 at 10:46:53AM +0800, Zhao Qiang wrote: > Add maxim ds26522 document to > Documentation/devicetree/bindings/tdm/maxim,ds26522.txt > > Signed-off-by: Zhao Qiang > Acked-by: Rob Herring > --- >

Re: [PATCH v4 2/6] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper

2016-03-08 Thread Benson Leung
Thanks Tomeu! Small nit below, other wise looks good to me. On Tue, Mar 8, 2016 at 2:35 AM, Tomeu Vizoso wrote: > So that callers of cros_ec_cmd_xfer don't have to repeat boilerplate > code when checking for errors from the EC side. > > Signed-off-by: Tomeu Vizoso

Re: [PATCH] scripts/dtc: Update to upstream version 53bf130b1cdd

2016-03-08 Thread Geert Uytterhoeven
Hi Rob, On Tue, Mar 8, 2016 at 9:00 AM, Rob Herring wrote: > On Mon, Mar 7, 2016 at 5:27 AM, Geert Uytterhoeven > wrote: >> On Fri, Mar 4, 2016 at 4:13 PM, Rob Herring wrote: >>> Sync to upstream dtc commit 53bf130b1cdd ("libfdt:

[tip:x86/microcode] x86/microcode/intel: Get rid of DWSIZE

2016-03-08 Thread tip-bot for Borislav Petkov
Commit-ID: c0414622177ae4739a49ca7dad4306a681e2878b Gitweb: http://git.kernel.org/tip/c0414622177ae4739a49ca7dad4306a681e2878b Author: Borislav Petkov AuthorDate: Mon, 7 Mar 2016 11:10:01 +0100 Committer: Thomas Gleixner CommitDate: Tue, 8 Mar 2016

[tip:x86/microcode] x86/microcode/intel: Improve microcode sanity-checking error messages

2016-03-08 Thread tip-bot for Borislav Petkov
Commit-ID: 5b46b5e003724547f0c83041cada15f9f496590d Gitweb: http://git.kernel.org/tip/5b46b5e003724547f0c83041cada15f9f496590d Author: Borislav Petkov AuthorDate: Mon, 7 Mar 2016 11:10:03 +0100 Committer: Thomas Gleixner CommitDate: Tue, 8 Mar 2016

[tip:x86/microcode] x86/microcode/intel: Merge two consecutive if-statements

2016-03-08 Thread tip-bot for Borislav Petkov
Commit-ID: 7d0161569a3b66aaa01520002c3e5fd7126d071f Gitweb: http://git.kernel.org/tip/7d0161569a3b66aaa01520002c3e5fd7126d071f Author: Borislav Petkov AuthorDate: Mon, 7 Mar 2016 11:10:02 +0100 Committer: Thomas Gleixner CommitDate: Tue, 8 Mar 2016

[tip:x86/microcode] x86/microcode/intel: Drop orig_sum from ext signature checksum

2016-03-08 Thread tip-bot for Borislav Petkov
Commit-ID: 4ace2e7a48ab426eaa9745ace4c50c6a7adb3992 Gitweb: http://git.kernel.org/tip/4ace2e7a48ab426eaa9745ace4c50c6a7adb3992 Author: Borislav Petkov AuthorDate: Mon, 7 Mar 2016 11:10:04 +0100 Committer: Thomas Gleixner CommitDate: Tue, 8 Mar 2016

Re: [PATCH v2 0/9] cleanup around kvm_sync_page, and a few micro-optimizations

2016-03-08 Thread Paolo Bonzini
On 08/03/2016 09:00, Takuya Yoshikawa wrote: > >KVM: MMU: introduce kvm_mmu_flush_or_zap > >KVM: MMU: move TLB flush out of __kvm_sync_page > >KVM: MMU: use kvm_sync_page in kvm_sync_pages > >KVM: MMU: cleanup __kvm_sync_page and its callers > >KVM: MMU: invert return value of

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

2016-03-08 Thread Boris Brezillon
On Tue, 8 Mar 2016 08:51:31 +0100 Maxime Ripard wrote: > On Tue, Mar 08, 2016 at 08:25:47AM +0530, Vinod Koul wrote: > > On Mon, Mar 07, 2016 at 09:30:24PM +0100, Maxime Ripard wrote: > > > On Mon, Mar 07, 2016 at 04:08:57PM +0100, Boris Brezillon wrote: > > > >

Re: [RFC][PATCH] s390, postinit-readonly: implement post-init RO

2016-03-08 Thread Christian Borntraeger
On 03/08/2016 01:41 AM, Kees Cook wrote: >> --- a/arch/s390/kernel/vmlinux.lds.S >> +++ b/arch/s390/kernel/vmlinux.lds.S >> @@ -52,6 +52,12 @@ SECTIONS >> >> RW_DATA_SECTION(0x100, PAGE_SIZE, THREAD_SIZE) >> >> + . = ALIGN(PAGE_SIZE) missing ";" ? With that and your fixes, this

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

2016-03-08 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > 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

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

2016-03-08 Thread Priit Laes
On Tue, 2016-03-08 at 09:46 +0100, Boris Brezillon wrote: > On Tue, 8 Mar 2016 08:51:31 +0100 > Maxime Ripard wrote: > > > On Tue, Mar 08, 2016 at 08:25:47AM +0530, Vinod Koul wrote: > > > On Mon, Mar 07, 2016 at 09:30:24PM +0100, Maxime Ripard wrote: > > > > On

Re: [PATCH 2/2] regmap: cache: Fall back to register by register read for cache defaults

2016-03-08 Thread Mark Brown
On Mon, Mar 07, 2016 at 01:55:54PM +0100, Clemens Gruber wrote: > Do you think this one can still go into Linus' tree before the 4.5 > release? No, it is even less likely that this will be merged now than before - to repeat, this is a change that affects many drivers rather than a specific one

Re: [PATCH 3/6] x86/mbm: Intel Memory B/W Monitoring enumeration and init

2016-03-08 Thread Thomas Gleixner
On Thu, 3 Mar 2016, Thomas Gleixner wrote: > On Thu, 3 Mar 2016, Vikas Shivappa wrote: > > > > > > > On Wed, 2 Mar 2016, Thomas Gleixner wrote: > > > > > On Wed, 2 Mar 2016, Vikas Shivappa wrote: > > > > + if (cqm_enabled && mbm_enabled) > > > > +

Re: [RFC][PATCH 07/12] perf: Simplify/fix perf_event_enable() event scheduling

2016-03-08 Thread Peter Zijlstra
On Tue, Mar 08, 2016 at 10:04:17AM +, James Morse wrote: > [0] > https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/syscalls/perf_event_open/perf_event_open02.c I so hate LTP, you can't compile the test cases in isolate and running 'make' doesn't work. > [2] >

Re: slab-out-of-bounds in rpc/nfs

2016-03-08 Thread Benjamin Coddington
Adding linux-...@vger.kernel.org .. On Mon, 7 Mar 2016, Alexei Starovoitov wrote: > 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

Re: [RFC][PATCH 07/12] perf: Simplify/fix perf_event_enable() event scheduling

2016-03-08 Thread James Morse
On 08/03/16 10:26, Peter Zijlstra wrote: > In any case, please try -rc6, which includes: Bother, I should have thought to test with the later rcs, I foolishly stopped with rc5. > a096309bc467 perf: Fix scaling vs. perf_install_in_context() > bd2afa49d194 perf: Fix scaling vs.

Re: [PATCH v5 3/6] rockchip: power-domain: add support for sub-power domains

2016-03-08 Thread Caesar Wang
在 2016年03月03日 16:03, Elaine Zhang 写道: This patch adds support for making one power domain a sub-domain of other domain. This is useful for modeling power dependences, which needs to have more than one power domain enabled to be operational. Signed-off-by: Elaine Zhang

Re: [PATCH v5 6/6] rockchip: power-domain: Modify power domain driver for rk3399

2016-03-08 Thread Caesar Wang
在 2016年03月03日 16:09, Elaine Zhang 写道: This driver is modified to support RK3399 SoC. Signed-off-by: Elaine Zhang Reviewed-by: Caesar Wang --- drivers/soc/rockchip/pm_domains.c | 55 +++ 1 file

Re: [PATCH v5 5/6] dt/bindings: rockchip: modify document of Rockchip power domains

2016-03-08 Thread Caesar Wang
在 2016年03月03日 16:09, Elaine Zhang 写道: Add binding documentation for the power domains found on Rockchip RK3399 SoCs. RK3399 pd on/off not need to enable clk which in this pd. So remove the clocks in the rk3399 pd example. Signed-off-by: Elaine Zhang ---

Re: [PATCH v4 5/7] mm, kasan: Stackdepot implementation. Enable stackdepot for SLAB

2016-03-08 Thread Alexander Potapenko
On Mon, Feb 29, 2016 at 5:29 PM, Andrey Ryabinin wrote: > > > On 02/26/2016 07:48 PM, Alexander Potapenko wrote: >> Stack depot will allow KASAN store allocation/deallocation stack traces >> for memory chunks. The stack traces are stored in a hash table and >> referenced

[PATCH v3 8/9] KVM: arm/arm64: vgic: Rely on the GIC driver to parse the firmware tables

2016-03-08 Thread Julien Grall
Currenlty, the firmware tables are parsed 2 times: once in the GIC drivers, the other time when initializing the vGIC. It means code duplication and make more tedious to add the support for another firmware table (like ACPI). Use the recently introduced helper gic_get_kvm_info() to get

[PATCH v3 1/9] clocksource: arm_arch_timer: Gather KVM specific information in a structure

2016-03-08 Thread Julien Grall
Introduce a structure which are filled up by the arch timer driver and used by the virtual timer in KVM. The first member of this structure will be the timecounter. More members will be added later. A stub for the new helper isn't introduced because KVM requires the arch timer for both ARM64 and

[PATCH v3 9/9] clocksource: arm_arch_timer: Remove arch_timer_get_timecounter

2016-03-08 Thread Julien Grall
The only call of arch_timer_get_timecounter (in KVM) has been removed. Signed-off-by: Julien Grall --- Cc: Daniel Lezcano Cc: Thomas Gleixner Changes in v3: - Patch added ---

[PATCH v3 4/9] irqchip/gic-v2: Parse and export virtual GIC information

2016-03-08 Thread Julien Grall
For now, the firmware tables are parsed 2 times: once in the GIC drivers, the other timer when initializing the vGIC. It means code duplication and make more tedious to add the support for another firmware table (like ACPI). Introduce a new structure and set of helpers to get/set the virtual GIC

[PATCH 1/4] block: move bvec iterator into include/linux/bvec_iter.h

2016-03-08 Thread Ming Lei
bvec iterator helpers should be used to implement iterate_bvec():lib/iov_iter.c too, and this patch moves them into the new header, so that we can keep bvec iterator header out of CONFIG_BLOCK. Then we can avoid to reinvent the wheel in iterate_bvec(). Signed-off-by: Ming Lei

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

2016-03-08 Thread Ingo Molnar
* Toshi Kani 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 a device-managed version of

[patch] drm/vc4: Return -EFAULT on copy_from_user() failure

2016-03-08 Thread Dan Carpenter
The copy_from_user() function returns the number of bytes not copied but we want to return a negative error code. Fixes: 463873d57014 ('drm/vc4: Add an API for creating GPU shaders in GEM BOs.') Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/vc4/vc4_bo.c

[PATCH 0/5] gpio: of: Add error handling and support for multiple gpio in gpio-hog

2016-03-08 Thread Laxman Dewangan
This series enhance the error print by adding error number in print message, handle the error if gpio_hogd() fails and returns error to caller, and add the support of multiple GPIOs to be passed from property "gpios" under gpio hogd node. Laxman Dewangan (5): gpio: of: Scan available child node

[PATCH 2/5] gpio: gpiolib: Print error number if gpio hog failed

2016-03-08 Thread Laxman Dewangan
Print the error number of GPIO hog failed during its configurations. This helps in identifying the failure without instrumenting the code. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpiolib.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH 3/5] gpio: of: Return error if gpio hog configuration failed

2016-03-08 Thread Laxman Dewangan
If GPIO hog configuration failed while adding OF based gpiochip() then return the error instead of ignoring it. This helps of properly handling the gpio driver dependency. When adding the gpio hog nodes for NVIDIA's Tegra210 platforms, the gpio_hogd() fails with EPROBE_DEFER because pinctrl is

Re: Overlapping ioremap() calls, set_memory_*() semantics

2016-03-08 Thread Ingo Molnar
* Toshi Kani wrote: > > So where is the problem? The memtype implementation and hence most > > ioremap() users are supposed to be safe. set_memory_*() APIs are supposed > > to be safe as well, as they too go via the memtype API. > > Let me try to summarize... > > The

[PATCH 5/5] gpio: DT: Rephrase property "gpios" of hog node to support multiple gpios

2016-03-08 Thread Laxman Dewangan
The property "gpios" of GPIO hog node support the multiple GPIO entries. Rephrase the details of this property for this new support. Signed-off-by: Laxman Dewangan --- Documentation/devicetree/bindings/gpio/gpio.txt | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH 4/5] gpio: of: Add support to have multiple gpios in gpio-hog

2016-03-08 Thread Laxman Dewangan
The child node for gpio hogs under gpio controller's node provide the mechanism to automatic GPIO request and configuration as part of the gpio-controller's driver probe function. Currently, property "gpio" takes one gpios for such configuration. Add support to have multiple GPIOs in this

[PATCH 1/5] gpio: of: Scan available child node for gpio-hog

2016-03-08 Thread Laxman Dewangan
Look for child node which are available when iterating for gpio hog node for request/set GPIO initial configuration during OF gpio chip registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpiolib-of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v5 3/4] ARM: dts: rockchip: add syscon-reboot-mode DT node

2016-03-08 Thread Andy Yan
Rockchip platform use a SYSCON mapped register store the reboot mode magic value for bootloader to use when system reboot. So add syscon-reboot-mode driver DT node for rk3xxx,rk3036, rk3288 platform Reviewed-by: Matthias Brugger Signed-off-by: Andy Yan

RE: [PATCH v5 03/15] scsi: ufs: implement scsi host timeout handler

2016-03-08 Thread Dolev Raviv
>> On 03/03/2016 05:10 PM, yga...@codeaurora.org wrote: On 03/01/2016 09:25 PM, yga...@codeaurora.org wrote: >> On 02/28/2016 09:32 PM, Yaniv Gardi wrote: >>> A race condition exists between request requeueing and scsi >>> layer error handling: >>> When UFS driver

[PATCH v7 12/17] scsi: ufs: tune UniPro parameters to optimize hibern8 exit time

2016-03-08 Thread Yaniv Gardi
Optimal values of local UniPro parameters like PA_Hibern8Time & PA_TActivate can help reduce the hibern8 exit latency. If both host and device supports UniPro ver1.6 or later, these parameters will be automatically tuned during link startup itself. But if either host or device doesn't support

[PATCH v7 08/17] scsi: ufs: make error handling bit faster

2016-03-08 Thread Yaniv Gardi
UFS driver's error handler forcefully tries to clear all the pending requests. For each pending request in the queue, it waits 1 sec for it to get cleared. If we have multiple requests in the queue then it's possible that we might end up waiting for those many seconds before resetting the host.

[PATCH v7 13/17] scsi: ufs: fix leakage during link off state

2016-03-08 Thread Yaniv Gardi
Currently when we try to put the link in off/disabled state during suspend, it seems link is not being kept in low power mode. This patch fixes the issue by putting the link in hibern8 first (so device also puts the link in low power mode) and then stop the host controller. Reviewed-by: Hannes

[PATCH v7 01/17] scsi: ufs-qcom: add number of lanes per direction

2016-03-08 Thread Yaniv Gardi
Different platform may have different number of lanes for the UFS link. Add parameter to device tree specifying how many lanes should be configured for the UFS link. Reviewed-by: Hannes Reinecke Acked-by: Rob Herring Signed-off-by: Gilad Broner

Re: [PATCH 6/8] dmi: Move memdev_dmi_entry definition to dmi.h

2016-03-08 Thread Jean Delvare
Hi Matt, On Mon, 7 Mar 2016 17:05:44 -0800, Matt Roper wrote: > A couple of the EDAC drivers have a nice memdev_dmi_entry structure for > decoding DMI memory device entries. Move the structure definition to > dmi.h so that it can be shared between those drivers and also other > parts of the

[PATCH v7 07/17] scsi: ufs: disable vccq if it's not needed by UFS device

2016-03-08 Thread Yaniv Gardi
Some UFS devices don't require VCCQ rail for device operations hence this change adds support to recognize such devices and remove vote for the unused VCCQ rail. Reviewed-by: Hannes Reinecke Signed-off-by: Subhash Jadavani Signed-off-by: Yaniv Gardi

[PATCH v7 06/17] scsi: ufs: separate device and host quirks

2016-03-08 Thread Yaniv Gardi
Currently we use the host quirks mechanism in order to handle both device and host controller quirks. In order to support various of UFS devices we should separate handling the device quirks from the host controller's. Reviewed-by: Gilad Broner Reviewed-by: Hannes

Re: [PATCH 1/2] hp-wmi: fix unregister order in hp_wmi_rfkill_setup() once again

2016-03-08 Thread Darren Hart
On Sun, Mar 06, 2016 at 11:38:36PM +0100, Maciej S. Szmigiero wrote: > rfkill registration order in hp_wmi_rfkill_setup() is: > 1) WiFi, > 2) BT, > 3) WWAN, > 5) GPS. > > Unregistration when cleaning up on error return should happen > in reverse order. > > This means that: > If BT rfkill fails

[PATCH v7 05/17] scsi: ufs: add support to read device and string descriptors

2016-03-08 Thread Yaniv Gardi
This change adds support to read device descriptor and string descriptor from a UFS device Reviewed-by: Gilad Broner Reviewed-by: Hannes Reinecke Signed-off-by: Raviv Shvili Signed-off-by: Yaniv Gardi ---

Re: [PATCH 3/5] usb: gadget: gmidi: remove bus powered requirement on bmAttributes

2016-03-08 Thread Krzysztof Opasiak
On 03/08/2016 08:43 AM, Felipe Balbi wrote: (...) This is necessary because this driver is actually wrong in which is asking for the host to power itself. This is not specified on USB-MIDI specification, neither makes any sense since this configuration is device specific.

[tip:perf/core] perf jit: Move clockid validation

2016-03-08 Thread tip-bot for Adrian Hunter
Commit-ID: 4a018cc47932ef1e68a0600ce3ac100df70fab2a Gitweb: http://git.kernel.org/tip/4a018cc47932ef1e68a0600ce3ac100df70fab2a Author: Adrian Hunter AuthorDate: Mon, 7 Mar 2016 16:44:41 -0300 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016

[tip:perf/core] perf session: Simplify tool stubs

2016-03-08 Thread tip-bot for Adrian Hunter
Commit-ID: 5fb0ac16c5091f48eecf1a77e461f6957a463d61 Gitweb: http://git.kernel.org/tip/5fb0ac16c5091f48eecf1a77e461f6957a463d61 Author: Adrian Hunter AuthorDate: Mon, 7 Mar 2016 16:44:39 -0300 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016

[PATCH V5 4/4] net-next: mediatek: add an entry to MAINTAINERS

2016-03-08 Thread John Crispin
Add myself and Felix as the Maintainers for the MediaTek ethernet driver. Signed-off-by: Felix Fietkau Signed-off-by: John Crispin --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[tip:perf/core] perf tools: Explicitly declare inc_group_count as a void function

2016-03-08 Thread tip-bot for Colin Ian King
Commit-ID: 07ef7574458369cb0345facc748e964af68a75f4 Gitweb: http://git.kernel.org/tip/07ef7574458369cb0345facc748e964af68a75f4 Author: Colin Ian King AuthorDate: Mon, 7 Mar 2016 16:44:37 -0300 Committer: Ingo Molnar CommitDate: Tue, 8 Mar

[tip:perf/core] perf jit: Let jit_process() return errors

2016-03-08 Thread tip-bot for Adrian Hunter
Commit-ID: 570735b33d122bcb259ef67c6aa63e5609af5752 Gitweb: http://git.kernel.org/tip/570735b33d122bcb259ef67c6aa63e5609af5752 Author: Adrian Hunter AuthorDate: Mon, 7 Mar 2016 16:44:40 -0300 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016

[tip:perf/core] perf inject: Hit all DSOs for AUX data in JIT and other cases

2016-03-08 Thread tip-bot for Adrian Hunter
Commit-ID: 640dad47988ec4b734d71934be103bb6e931279f Gitweb: http://git.kernel.org/tip/640dad47988ec4b734d71934be103bb6e931279f Author: Adrian Hunter AuthorDate: Mon, 7 Mar 2016 16:44:38 -0300 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016

Re: slab-out-of-bounds in rpc/nfs

2016-03-08 Thread Dmitry Vyukov
On Tue, Mar 8, 2016 at 11:27 AM, Benjamin Coddington wrote: > Adding linux-...@vger.kernel.org .. > > On Mon, 7 Mar 2016, Alexei Starovoitov wrote: > >> seeing on ton of these errors on net-next with kasan on. >> Likely old bug though. >> >> [ 373.705691] BUG: KASAN:

[PATCH v4 0/6] EC-based USB Power Delivery support for Chrome machines

2016-03-08 Thread Tomeu Vizoso
Hi, this series contains a driver that exposes a power_supply to userspace representing a port that support USB PD charging. Allows userspace to display to the user if the machine is charging and on which port, and if another device is being charged by a port. Thanks, Tomeu Changes in v4: -

[PATCH v4 6/6] platform/chrome: Register USB PD charger device

2016-03-08 Thread Tomeu Vizoso
Check if a EC has andy PD ports and register a USB PD charger device if so. Signed-off-by: Tomeu Vizoso --- Changes in v4: None Changes in v3: - Only register the PD charger device if there are any PD ports in this EC. - Dropped patch using EC_CMD_GET_FEATURES to

[PATCH v4 1/6] mfd: cros_ec: Add MKBP event support

2016-03-08 Thread Tomeu Vizoso
From: Vic Yang Newer revisions of the ChromeOS EC add more events besides the keyboard ones. So handle interrupts in the MFD driver and let consumers register for notifications for the events they might care. To keep backward compatibility, if the EC doesn't support MKBP

Re: [PATCH] mm, oom: protect !costly allocations some more (was: Re: [PATCH 0/3] OOM detection rework v4)

2016-03-08 Thread Hugh Dickins
On Mon, 7 Mar 2016, Michal Hocko wrote: > On Mon 29-02-16 22:02:13, Michal Hocko wrote: > > Andrew, > > could you queue this one as well, please? This is more a band aid than a > > real solution which I will be working on as soon as I am able to > > reproduce the issue but the patch should help to

Re: [PATCH] dmaengine: pl330: Fix some race conditions in residue calculation

2016-03-08 Thread Jon Medhurst (Tixy)
On Tue, 2016-03-08 at 09:42 +0530, Vinod Koul wrote: > On Wed, Feb 24, 2016 at 01:14:34PM +, Jon Medhurst (Tixy) wrote: > > The residue calculation in pl330_tx_status doesn't handle transitional > > states that occur at the time one descriptor (A) is completed and the > > next (B) is started.

Re: [PATCH 4.4 34/74] arm64: vmemmap: use virtual projection of linear region

2016-03-08 Thread Ard Biesheuvel
On 8 March 2016 at 07:02, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > Please hold off on this one. We are seeing some breakage on 64k pages systems > -- > > From: Ard Biesheuvel

Re: [PATCH v5 0/5] Process Dell Instant Launch hotkey on Vostro V131 and Inspiron M5110

2016-03-08 Thread Darren Hart
On Mon, Mar 07, 2016 at 09:27:45AM +0100, Pali Rohár wrote: > On Friday 04 March 2016 14:09:05 Michał Kępień wrote: > > This patch series makes use of the API exported by dell-smbios, so it > > should be applied to either testing or dell-smbios. > > > > Pali, I added your Reviewed-by/Acked-by

[PATCH v3 0/9] arm64: Add support of KVM with ACPI

2016-03-08 Thread Julien Grall
Hello, This patch series allows an ARM64 ACPI based platform to use KVM. Currently the KVM code has to parse the firmware table to get the necessary information to setup the virtual timer and virtual GIC. However the parsing of those tables are already done in the GIC and arch timer drivers.

[PATCH v3 2/9] clocksource: arm_arch_timer: Extend arch_timer_kvm_info to get the virtual IRQ

2016-03-08 Thread Julien Grall
Currently, the firmware table is parsed by the virtual timer code in order to retrieve the virtual timer interrupt. However, this is already done by the arch timer driver. To avoid code duplication, extend arch_timer_kvm_info to get the virtual IRQ. Note that the KVM code will be modified in a

block & iov_iter: use bvec iterator to implement iterate_bvec()

2016-03-08 Thread Ming Lei
Hi Guys, The 1st two patches move bvec iterator helpers out from bio.h, then they can be used even if CONFIG_BLOCK is disabled, so not necessary to use iov iter own approach to do the job. One motivation is that in the future we may support multipage bvecs, as interests[1] have been shown in

Re: [PATCH v4 5/7] mm, kasan: Stackdepot implementation. Enable stackdepot for SLAB

2016-03-08 Thread Alexander Potapenko
On Tue, Mar 1, 2016 at 12:57 PM, Andrey Ryabinin wrote: > > > On 02/29/2016 08:12 PM, Dmitry Vyukov wrote: > diff --git a/lib/Makefile b/lib/Makefile index a7c26a4..10a4ae3 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -167,6 +167,13 @@

Re: [PATCH 3.10 00/24] 3.10.100-stable review

2016-03-08 Thread Guenter Roeck
On Mon, Mar 07, 2016 at 03:45:02PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.10.100 release. > There are 24 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

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