Re: [PATCH v4 1/4] block: Add iocontext priority to request

2016-10-13 Thread Dan Williams
On Thu, Oct 13, 2016 at 1:09 PM, Jens Axboe wrote: > On 10/13/2016 02:06 PM, Dan Williams wrote: >> >> On Thu, Oct 13, 2016 at 12:53 PM, Adam Manzanares >> wrote: >>> >>> Patch adds an association between iocontext ioprio and the ioprio of a >>> request. This value is set in blk_rq_set_prio which

Re: [PATCH] [media] rc: Fix uninitialized variable in debug print

2016-10-13 Thread Sean Young
On Thu, Oct 13, 2016 at 12:35:02PM +0200, Geert Uytterhoeven wrote: > drivers/media/i2c/ir-kbd-i2c.c: In function ‘get_key_haup_common’: > drivers/media/i2c/ir-kbd-i2c.c:120: warning: ‘toggle’ is used > uninitialized in this function > > To fix this, use the intermediate "toggle" variable

Re: [PATCH 1/9] perf/jit: improve error messages from JVMTI

2016-10-13 Thread Nilay Vaish
On 13 October 2016 at 05:59, Stephane Eranian wrote: > diff --git a/tools/perf/jvmti/libjvmti.c b/tools/perf/jvmti/libjvmti.c > index ac12e4b91a92..2d9bc04b79a8 100644 > --- a/tools/perf/jvmti/libjvmti.c > +++ b/tools/perf/jvmti/libjvmti.c > @@ -12,6 +12,17 @@ > static int has_line_numbers; > vo

[GIT PULL] Please pull NFS client changes for Linux 4.9

2016-10-13 Thread Anna Schumaker
Hi Linus, The following changes since commit 3be7988674ab33565700a37b210f502563d932e6: Linux 4.8-rc7 (2016-09-18 17:27:41 -0700) are available in the git repository at: git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.9-1 for you to fetch changes up to 3f807e5ae5597bd65a6

Re: [PATCH v2 06/10] drm/i915/gen9: Add ddb changes to atomic debug output

2016-10-13 Thread Paulo Zanoni
Em Sex, 2016-10-07 às 20:11 -0400, Lyude escreveu: > Finally, add some debugging output for ddb changes in the atomic > debug > output. This makes it a lot easier to spot bugs from incorrect ddb > allocations. > > Signed-off-by: Lyude > Reviewed-by: Maarten Lankhorst > Cc: Ville Syrjälä > Cc: P

[PATCH 3/3] clocksource: Add clockevent support to NPS400 driver

2016-10-13 Thread Noam Camus
From: Noam Camus Till now we used clockevent from generic ARC driver. This was enough as long as we worked with simple multicore SoC. When we are working with multithread SoC each HW thread can be scheduled to receive timer interrupt using timer mask register (TSI1). This patch will provide a wa

Re: [PATCH V3 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section

2016-10-13 Thread Baicar, Tyler
Hello Punit, On 10/13/2016 4:54 AM, Punit Agrawal wrote: Hi Tyler, One last comment... Tyler Baicar writes: UEFI spec allows for non-standard section in Common Platform Error Record. This is defined in section N.2.3 of UEFI version 2.5. Currently if the CPER section's type (UUID) does not

Re: Another gcc corruption bug (was Re: [PATCH] [RFC] x86: avoid -mtune=atom for objtool warnings)

2016-10-13 Thread Josh Poimboeuf
On Thu, Oct 13, 2016 at 07:57:41PM +0200, Denys Vlasenko wrote: > On 10/13/2016 02:46 PM, Josh Poimboeuf wrote: > > On Tue, Oct 11, 2016 at 10:38:42PM +0200, Arnd Bergmann wrote: > > > : > > >0: 55 push %rbp > > >1: 48 89 e5mov

Re: [PATCH V3 10/10] arm64: KVM: add guest SEA support

2016-10-13 Thread Baicar, Tyler
Hello Punit, On 10/13/2016 7:14 AM, Punit Agrawal wrote: Hi Tyler, I know I've had my last comment already ;), but I thought I'd rather raise the question than stay confused... Tyler Baicar writes: Currently external aborts are unsupported by the guest abort handling. Add handling for SEAs

Re: [PATCH v4 1/4] block: Add iocontext priority to request

2016-10-13 Thread Dan Williams
On Thu, Oct 13, 2016 at 12:53 PM, Adam Manzanares wrote: > Patch adds an association between iocontext ioprio and the ioprio of a > request. This value is set in blk_rq_set_prio which takes the request and > the ioc as arguments. If the ioc is valid in blk_rq_set_prio then the > iopriority of the

Re: [Intel-gfx] [PATCH v2 05/10] drm/i915/gen9: Get rid of redundant watermark values

2016-10-13 Thread Paulo Zanoni
Em Qui, 2016-10-13 às 17:04 -0300, Paulo Zanoni escreveu: > Em Qui, 2016-10-13 às 15:39 +0200, Maarten Lankhorst escreveu: > > > > Op 08-10-16 om 02:11 schreef Lyude: > > > > > > > > > Now that we've make skl_wm_levels make a little more sense, we > > > can > > > remove all of the redundant wm i

[PATCH v2] Staging:ks7010:eap_packet: fixed 80 character line limit coding style issue

2016-10-13 Thread Nadim Almas
Fixed coding style issue Signed-off-by: Nadim Almas --- Changes in v2: -Comment is taken from below line. drivers/staging/ks7010/eap_packet.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/eap_packet.h b/drivers/staging/ks7010/eap_pac

Re: [PATCH V4] mm: Add sysfs interface to dump each node's zonelist information

2016-10-13 Thread Anshuman Khandual
On 09/20/2016 06:24 AM, David Rientjes wrote: > On Sat, 17 Sep 2016, Anshuman Khandual wrote: > >>> > > I'm questioning if this information can be inferred from information >>> > > already in /proc/zoneinfo and sysfs. We know the no-fallback zonelist >>> > > is >>> > > going to include the loc

Re: [PATCH v4 1/4] block: Add iocontext priority to request

2016-10-13 Thread Jens Axboe
On 10/13/2016 02:06 PM, Dan Williams wrote: On Thu, Oct 13, 2016 at 12:53 PM, Adam Manzanares wrote: Patch adds an association between iocontext ioprio and the ioprio of a request. This value is set in blk_rq_set_prio which takes the request and the ioc as arguments. If the ioc is valid in blk_

Re: [PATCH] namei: revert old behaviour for filename_lookup with LOOKUP_PARENT flag

2016-10-13 Thread Christoph Hellwig
On Thu, Oct 13, 2016 at 07:58:51PM +, Vineeth Remanan Pillai wrote: > filename_lookup used to return success for non-existing file when called > with LOOKUP_PARENT flag. This behaviour was changed with > commit 8bcb77fabd7c ("namei: split off filename_lookupat() > with LOOKUP_PARENT") > > The

Re: [PATCH] namei: revert old behaviour for filename_lookup with LOOKUP_PARENT flag

2016-10-13 Thread Al Viro
On Thu, Oct 13, 2016 at 07:58:51PM +, Vineeth Remanan Pillai wrote: > filename_lookup used to return success for non-existing file when called > with LOOKUP_PARENT flag. This behaviour was changed with > commit 8bcb77fabd7c ("namei: split off filename_lookupat() > with LOOKUP_PARENT") > > The

Re: [Intel-gfx] [PATCH v2 05/10] drm/i915/gen9: Get rid of redundant watermark values

2016-10-13 Thread Paulo Zanoni
Em Qui, 2016-10-13 às 15:39 +0200, Maarten Lankhorst escreveu: > Op 08-10-16 om 02:11 schreef Lyude: > > > > Now that we've make skl_wm_levels make a little more sense, we can > > remove all of the redundant wm information. Up until now we'd been > > storing two copies of all of the skl watermarks

[PATCH v4 4/4] ata: ATA Command Priority Disabled By Default

2016-10-13 Thread Adam Manzanares
Add a sysfs entry to turn on priority information being passed to a ATA device. By default this feature is turned off. This patch depends on ata: Enabling ATA Command Priorities Signed-off-by: Adam Manzanares --- drivers/ata/libahci.c | 1 + drivers/ata/libata-core.c | 2 +- drivers/ata/l

Re: [PATCH V2 1/3] Revert "ACPI,PCI,IRQ: reduce static IRQ array size to 16"

2016-10-13 Thread Bjorn Helgaas
On Thu, Oct 13, 2016 at 03:36:11PM -0400, Sinan Kaya wrote: > On 10/13/2016 2:15 PM, Bjorn Helgaas wrote: > > It seems like the problem is that we removed acpi_penalize_sci_irq(), > > which told us the polarity and trigger mode. We tried to get that > > information via irq_get_trigger_type(), but

[PATCH v4 3/4] ata: Enabling ATA Command Priorities

2016-10-13 Thread Adam Manzanares
This patch checks to see if an ATA device supports NCQ command priorities. If so and the user has specified an iocontext that indicates IO_PRIO_CLASS_RT then we build a tf with a high priority command. Signed-off-by: Adam Manzanares --- drivers/ata/libata-core.c | 35

Re: [RFC] arm64: Enforce observed order for spinlock and data

2016-10-13 Thread bdegraaf
On 2016-10-13 07:02, Will Deacon wrote: Brent, On Wed, Oct 12, 2016 at 04:01:06PM -0400, bdegr...@codeaurora.org wrote: Everything from this point down needs clarification. All arm64 lockref accesses that occur without taking the spinlock must behave like true atomics, ensuring successive o

[PATCH 3/3] s390: move thread_info into task_struct

2016-10-13 Thread Heiko Carstens
This is the s390 variant of commit 15f4eae70d36 ("x86: Move thread_info into task_struct"). Signed-off-by: Heiko Carstens --- arch/s390/Kconfig | 1 + arch/s390/include/asm/lowcore.h | 2 +- arch/s390/include/asm/thread_info.h | 11 arch/s390/kernel/asm-offsets.c

[PATCH v4 1/4] block: Add iocontext priority to request

2016-10-13 Thread Adam Manzanares
Patch adds an association between iocontext ioprio and the ioprio of a request. This value is set in blk_rq_set_prio which takes the request and the ioc as arguments. If the ioc is valid in blk_rq_set_prio then the iopriority of the request is set as the iopriority of the ioc. In init_request_from_

[PATCH] namei: revert old behaviour for filename_lookup with LOOKUP_PARENT flag

2016-10-13 Thread Vineeth Remanan Pillai
filename_lookup used to return success for non-existing file when called with LOOKUP_PARENT flag. This behaviour was changed with commit 8bcb77fabd7c ("namei: split off filename_lookupat() with LOOKUP_PARENT") The above patch split parent lookup functionality to a different function filename_paren

[PATCH v4 2/4] fusion: remove iopriority handling

2016-10-13 Thread Adam Manzanares
The request priority is now by default coming from the ioc. It was not clear what this code was trying to do based upon the iopriority class or data. The driver should check that a device supports priorities and use them according to the specificiations of ioprio. Signed-off-by: Adam Manzanares -

[PATCH v4 0/4] Enabling ATA Command Priorities

2016-10-13 Thread Adam Manzanares
This patch builds ATA commands with high priority if the iocontext of a process is set to real time. The goal of the patch is to improve tail latencies of workloads that use higher queue depths. This required setting the iocontext ioprio on the request when the request is initialized. This patch

Re: slab corruption with current -git

2016-10-13 Thread Linus Torvalds
On Wed, Oct 12, 2016 at 11:27 PM, Markus Trippelsdorf wrote: > > Yeah. > > 105 entry->orig_ops = reg; > 106 entry->ops = *reg; > 107 entry->next = NULL; So ipt_register_table() does: ret = nf_register_net_hooks(net, ops, hweight32(table->valid_hooks)); a

Re: [PATCH v8 2/2] clocksource: add J-Core timer/clocksource driver

2016-10-13 Thread Rich Felker
On Thu, Oct 13, 2016 at 03:25:42PM -0400, Rich Felker wrote: > On Wed, Oct 12, 2016 at 11:31:26PM +0200, Daniel Lezcano wrote: > > > > --> System Type > > > > > > > > That is what you are looking for, a SUPERH config option selecting all > > > > the > > > > common options and then a JCORE config

Re: [PATCH V2 1/3] Revert "ACPI,PCI,IRQ: reduce static IRQ array size to 16"

2016-10-13 Thread Sinan Kaya
On 10/13/2016 2:15 PM, Bjorn Helgaas wrote: > It seems like the problem is that we removed acpi_penalize_sci_irq(), > which told us the polarity and trigger mode. We tried to get that > information via irq_get_trigger_type(), but that didn't work in this > case because we use the acpi_irq_get_pena

Re: [PATCH v2] cpufreq: CPPC: Correct desired_perf calculation

2016-10-13 Thread Prakash, Prashanth
On 10/13/2016 11:33 AM, Hoan Tran wrote: > The desired_perf is an abstract performance number. Its value should > be in the range of [lowest perf, highest perf] of CPPC. > The correct calculation is > desired_perf = freq * cppc_highest_perf / cppc_dmi_max_khz > > And cppc_cpufreq_set_target() ret

Re: [PATCH 2/9] perf/jit: enable jitdump support without dwarf

2016-10-13 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 13, 2016 at 04:03:11PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Oct 13, 2016 at 03:51:35PM -0300, Arnaldo Carvalho de Melo escreveu: > > So we need: > > > > [acme@jouet linux]$ git diff > > diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config > > index 8cfc31

Re: [PATCH v2] drm/bridge: analogix: protect power when get_modes or detect

2016-10-13 Thread Sean Paul
On Wed, Oct 12, 2016 at 9:50 PM, Mark Yao wrote: > The drm callback ->detect and ->get_modes seems is not power safe, > they may be called when device is power off, do register access on > detect or get_modes will cause system die. > > Here is the path call ->detect before analogix_dp power on > [

Re: [PATCH V3 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2016-10-13 Thread Baicar, Tyler
Hello Suzuki, On 10/13/2016 2:50 AM, Suzuki K Poulose wrote: On 12/10/16 23:10, Baicar, Tyler wrote: Hello Suzuki, Thank you for the feedback! Responses below. On 10/11/2016 11:28 AM, Suzuki K Poulose wrote: On 07/10/16 22:31, Tyler Baicar wrote: Currently when a RAS error is reported it is

Re: [Xen-devel] [RFC KERNEL PATCH 0/2] Add Dom0 NVDIMM support for Xen

2016-10-13 Thread Andrew Cooper
On 13/10/16 19:59, Dan Williams wrote: > On Thu, Oct 13, 2016 at 9:01 AM, Andrew Cooper > wrote: >> On 13/10/16 16:40, Dan Williams wrote: >>> On Thu, Oct 13, 2016 at 2:08 AM, Jan Beulich wrote: >>> [..] > I think we can do the similar for Xen, like to lay another pseudo > device on /dev/

Re: [PATCH] Staging:ks7010:eap_packet: fixed 80 character line limit coding style issue

2016-10-13 Thread Greg KH
Note, the mailing lists reject html email, please fix up your client. On Fri, Oct 14, 2016 at 12:34:30AM +0530, Nadim Almas wrote: > But i have seen in some place where comments are below the line > like in > here from "drivers/staging/ks7010/eap_packet.h" >  line number 100 > > >  struct wpa_ea

Re: [PATCH v8 2/2] clocksource: add J-Core timer/clocksource driver

2016-10-13 Thread Rich Felker
On Wed, Oct 12, 2016 at 11:31:26PM +0200, Daniel Lezcano wrote: > > > --> System Type > > > > > > That is what you are looking for, a SUPERH config option selecting all the > > > common options and then a JCORE config option adding the different missing > > > bits, namely the CLKSRC_JCORE_PIT. > >

Re: [PATCH 2/9] perf/jit: enable jitdump support without dwarf

2016-10-13 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 13, 2016 at 03:16:43PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Oct 13, 2016 at 03:59:36AM -0700, Stephane Eranian escreveu: > > From: Maciej Debski > > > > This patch modifies the build dependencies on the jitdump > > support in perf. As it stands jitdump was wrongfully ma

Re: [PATCH v6 15/17] dax: add struct iomap based DAX PMD support

2016-10-13 Thread Ross Zwisler
On Thu, Oct 13, 2016 at 05:42:24PM +0200, Jan Kara wrote: > On Wed 12-10-16 16:50:20, Ross Zwisler wrote: > > DAX PMDs have been disabled since Jan Kara introduced DAX radix tree based > > locking. This patch allows DAX PMDs to participate in the DAX radix tree > > based locking scheme so that the

Re: [PATCH] pmem: report error on clear poison failure

2016-10-13 Thread Dan Williams
On Thu, Oct 13, 2016 at 11:16 AM, Kani, Toshimitsu wrote: > On Thu, 2016-10-13 at 10:22 -0700, Dan Williams wrote: >> On Thu, Oct 13, 2016 at 9:08 AM, Kani, Toshimitsu > > wrote: >> > >> > On Thu, 2016-10-13 at 09:01 -0700, Dan Williams wrote: >> > > >> > > On Thu, Oct 13, 2016 at 8:54 AM, Toshi K

[PATCH v7 15/17] dax: add struct iomap based DAX PMD support

2016-10-13 Thread Ross Zwisler
DAX PMDs have been disabled since Jan Kara introduced DAX radix tree based locking. This patch allows DAX PMDs to participate in the DAX radix tree based locking scheme so that they can be re-enabled using the new struct iomap based fault handlers. There are currently three types of DAX 4k entrie

Re: [PATCH v4 3/3] net: phy: leds: add support for led triggers on phy link state change

2016-10-13 Thread Zach Brown
On Thu, Oct 13, 2016 at 10:46:34AM -0400, David Miller wrote: > From: Zach Brown > Date: Tue, 11 Oct 2016 15:26:20 -0500 > > > From: Josh Cartwright > > > > Create an option CONFIG_LED_TRIGGER_PHY (default n), which will > > create a set of led triggers for each instantiated PHY device. There

Re: [PATCH 2/9] perf/jit: enable jitdump support without dwarf

2016-10-13 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 13, 2016 at 03:51:35PM -0300, Arnaldo Carvalho de Melo escreveu: > So we need: > > [acme@jouet linux]$ git diff > diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config > index 8cfc310d4358..cffdd9cf3ebf 100644 > --- a/tools/perf/Makefile.config > +++ b/tools/perf/Makefil

Re: [PATCH] pmem: report error on clear poison failure

2016-10-13 Thread Ross Zwisler
On Thu, Oct 13, 2016 at 06:16:29PM +, Kani, Toshimitsu wrote: > On Thu, 2016-10-13 at 10:22 -0700, Dan Williams wrote: > > On Thu, Oct 13, 2016 at 9:08 AM, Kani, Toshimitsu > > wrote: > > > > > > On Thu, 2016-10-13 at 09:01 -0700, Dan Williams wrote: > > > > > > > > On Thu, Oct 13, 2016 at 8

Re: [PATCH] Staging:ks7010:eap_packet: fixed 80 character line limit coding style issue

2016-10-13 Thread Joe Perches
On Thu, 2016-10-13 at 09:05 -0700, Nadim Almas wrote: > Fixed coding style issue > > Signed-off-by: Nadim Almas > --- > drivers/staging/ks7010/eap_packet.h | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/ks7010/eap_packet.h > b/drivers/staging/ks7

Re: [Xen-devel] [RFC KERNEL PATCH 0/2] Add Dom0 NVDIMM support for Xen

2016-10-13 Thread Dan Williams
On Thu, Oct 13, 2016 at 9:01 AM, Andrew Cooper wrote: > On 13/10/16 16:40, Dan Williams wrote: >> On Thu, Oct 13, 2016 at 2:08 AM, Jan Beulich wrote: >> [..] I think we can do the similar for Xen, like to lay another pseudo device on /dev/pmem and do the reservation, like 2. in my previ

Re: [POC/RFC PATCH] overlayfs: fix data inconsistency at copy up

2016-10-13 Thread Amir Goldstein
On Wed, Oct 12, 2016 at 4:33 PM, Miklos Szeredi wrote: > This is a proof of concept patch to fix the following. > > /ovl is in overlay mount and /ovl/foo exists on the lower layer only. > > rofd = open("/ovl/foo", O_RDONLY); > rwfd = open("/ovl/foo", O_WRONLY); /* this causes copy up */ > write

Re: [PATCH 2/2] power/reset: at91-poweroff: timely shitdown LPDDR memories

2016-10-13 Thread Jean-Jacques Hiblot
2016-10-13 15:47 GMT+02:00 Alexandre Belloni : > On 13/10/2016 at 14:27:15 +0200, Jean-Jacques Hiblot wrote : >> 2016-10-13 13:03 GMT+02:00 Alexandre Belloni >> : >> > On 12/10/2016 at 14:48:27 +0200, Jean-Jacques Hiblot wrote : >> >> > +static void at91_lpddr_poweroff(void) >> >> > +{ >> >> > +

Re: [PATCH 2/9] perf/jit: enable jitdump support without dwarf

2016-10-13 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 13, 2016 at 03:37:42PM -0300, Arnaldo Carvalho de Melo escreveu: > I'm trying to figure this out... So, building with: make -C tools/perf LDFLAGS=-static O=/tmp/build/perf install-bin I get: [acme@jouet linux]$ grep libelf /tmp/build/perf/FEATURE-DUMP feature-libelf=0 feature-libel

[PATCH] ext4: Add missing KERN_CONT to a few more debugging uses

2016-10-13 Thread Joe Perches
Recent commits require line continuing printks to always use pr_cont or KERN_CONT. Add these markings to a few more printks. Miscellaneaous: o Integrate the ea_idebug and ea_bdebug macros to use a single call to printk(KERN_DEBUG instead of 3 separate printks o Use the more common varargs macr

Re: [PATCH] pmem: report error on clear poison failure

2016-10-13 Thread Kani, Toshimitsu
On Thu, 2016-10-13 at 09:01 -0700, Dan Williams wrote: > On Thu, Oct 13, 2016 at 8:54 AM, Toshi Kani > wrote: > > > > ACPI Clear Uncorrectable Error DSM function may fail or may be > > unsupported on a platform.  pmem_clear_poison() returns without > > clearing badblocks in such cases, which lead

Re: [v4.8-rc1 Regression] sched/fair: Apply more PELT fixes

2016-10-13 Thread Dietmar Eggemann
On 13/10/16 17:48, Vincent Guittot wrote: > On 13 October 2016 at 17:52, Joseph Salisbury > wrote: >> On 10/13/2016 06:58 AM, Vincent Guittot wrote: >>> Hi, >>> >>> On 12 October 2016 at 18:21, Joseph Salisbury >>> wrote: On 10/12/2016 08:20 AM, Vincent Guittot wrote: > On 8 October 2016

Re: [PATCH] pmem: report error on clear poison failure

2016-10-13 Thread Kani, Toshimitsu
On Thu, 2016-10-13 at 10:22 -0700, Dan Williams wrote: > On Thu, Oct 13, 2016 at 9:08 AM, Kani, Toshimitsu > wrote: > > > > On Thu, 2016-10-13 at 09:01 -0700, Dan Williams wrote: > > > > > > On Thu, Oct 13, 2016 at 8:54 AM, Toshi Kani > > > wrote: > > > > > > > > > > > > ACPI Clear Uncorrecta

Re: [PATCH V2 1/3] Revert "ACPI,PCI,IRQ: reduce static IRQ array size to 16"

2016-10-13 Thread Bjorn Helgaas
On Wed, Oct 12, 2016 at 06:46:11PM -0400, Sinan Kaya wrote: > Hi Bjorn, > > On 10/12/2016 6:13 PM, Bjorn Helgaas wrote: > > Hi Sinan, > > > > I have to apologize because I haven't followed all the discussion and > > now I'm trying to figure it out from the patches and changelogs. But > > I guess

Re: [PATCH V2 3/3] Revert "ACPI,PCI,IRQ: remove SCI penalize function"

2016-10-13 Thread Bjorn Helgaas
On Tue, Oct 04, 2016 at 05:15:19PM -0400, Sinan Kaya wrote: > The SCI function was removed in two steps (first refactor and then remove). > This patch does the revert in one step. > > The commit 103544d86976 ("ACPI,PCI,IRQ: reduce resource requirements") > refactored the original code so that SCI

Re: [PATCH v4 3/3] net: phy: leds: add support for led triggers on phy link state change

2016-10-13 Thread Andrew Lunn
> Do you have suggestions on how to better handle the choice of the array size > and the speeds? phydev->supported lists the speeds this phy supports. Andrew

Re: Rewording language in mbind(2) to "threads" not "processes"

2016-10-13 Thread Christoph Lameter
On Thu, 13 Oct 2016, Michael Kerrisk (man-pages) wrote: > @@ -100,7 +100,10 @@ If, however, the shared memory region was created with > the > .B SHM_HUGETLB > flag, > the huge pages will be allocated according to the policy specified > -only if the page allocation is caused by the process that

Re: [PATCH v2] perf: xgene: Remove bogus IS_ERR() check

2016-10-13 Thread Al Viro
On Thu, Oct 13, 2016 at 11:09:16AM -0700, Tai Nguyen wrote: > In acpi_get_pmu_hw_inf we pass the address of a local variable to IS_ERR(), > which doesn't make sense, as the pointer must be a real, valid pointer. > This doesn't cause a functional problem, as IS_ERR() will evaluate as > false, but th

Re: [PATCH 2/9] perf/jit: enable jitdump support without dwarf

2016-10-13 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 13, 2016 at 03:59:36AM -0700, Stephane Eranian escreveu: > From: Maciej Debski > > This patch modifies the build dependencies on the jitdump > support in perf. As it stands jitdump was wrongfully made dependent > 100% on using DWARF. However, the dwarf dependency, only exist if > gene

Re: btrfs bio linked list corruption.

2016-10-13 Thread Dave Jones
On Wed, Oct 12, 2016 at 10:42:46AM -0400, Chris Mason wrote: > On 10/12/2016 10:40 AM, Dave Jones wrote: > > On Wed, Oct 12, 2016 at 09:47:17AM -0400, Dave Jones wrote: > > > On Tue, Oct 11, 2016 at 11:54:09AM -0400, Chris Mason wrote: > > > > > > > > > > > > On 10/11/2016 10:45 AM, Da

Re: [PATCH] ufs: changing maintainer

2016-10-13 Thread Subhash Jadavani
On 2016-10-13 10:23, Joao Pinto wrote: Signed-off-by: Joao Pinto --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 5ac91d8a..d9855b5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12084,7 +12084,8 @@ F: Documentation/scsi/

Re: [PATCH] Don't touch single threaded PTEs which are on the right node

2016-10-13 Thread Mel Gorman
On Thu, Oct 13, 2016 at 11:04:02AM -0700, Andi Kleen wrote: > > > do { > > > oldpte = *pte; > > > @@ -94,6 +100,13 @@ static unsigned long change_pte_range(struct > > > vm_area_struct *vma, pmd_t *pmd, > > > /* Avoid TLB flush if possible */ > > >

[PATCH v2] perf: xgene: Remove bogus IS_ERR() check

2016-10-13 Thread Tai Nguyen
In acpi_get_pmu_hw_inf we pass the address of a local variable to IS_ERR(), which doesn't make sense, as the pointer must be a real, valid pointer. This doesn't cause a functional problem, as IS_ERR() will evaluate as false, but the check is bogus and causes static checkers to complain. Remove the

[PATCH] Don't touch single threaded PTEs which are on the right node

2016-10-13 Thread Andi Kleen
From: Andi Kleen We had some problems with pages getting unmapped in single threaded affinitized processes. It was tracked down to NUMA scanning. In this case it doesn't make any sense to unmap pages if the process is single threaded and the page is already on the node the process is running on.

Re: [RESEND PATCH 06/11] cpufreq: intel_pstate: Add Knights Mill CPUID

2016-10-13 Thread Srinivas Pandruvada
On Thu, 2016-10-13 at 17:31 +0200, Piotr Luc wrote: > Add Knights Mill (KNM) to the list of CPUIDs supported by > intel_pstate. > > Signed-off-by: Piotr Luc > Reviewed-by: Dave Hansen > Cc: Srinivas Pandruvada > Cc: Len Brown > Cc: "Rafael J. Wysocki" > Cc: Viresh Kumar > Cc: linux...@vger.k

Re: [Intel-gfx] drm/i915: WARN_ON_ONCE(!crtc_clock || cdclk < crtc_clock)

2016-10-13 Thread Paul Bolle
[Adding Matt] On Wed, 2016-10-12 at 14:08 +0300, Joonas Lahtinen wrote: > Bisecting the offending commit between v4.8 and v4.8.1 would be a good > start. 0) Why use a personal notebook when one can just post any half baked idea to lkml? 1) I stumbled on https://bugzilla.redhat.com/show_bug.cgi?i

Re: [PATCH 1/3] mfd: cros_ec: Add EC console read structures definitions

2016-10-13 Thread Olof Johansson
On Wed, Oct 12, 2016 at 8:24 PM, Nicolas Boichat wrote: > On Wed, Aug 31, 2016 at 4:45 AM, Lee Jones wrote: >> On Tue, 23 Aug 2016, Nicolas Boichat wrote: >> >>> ec_params_console_read_v1 is used to capture EC logs from kernel, >>> and ec_params_get_cmd_versions_v1 is used to probe whether EC >>>

Re: [PATCH] Don't touch single threaded PTEs which are on the right node

2016-10-13 Thread Andi Kleen
> > do { > > oldpte = *pte; > > @@ -94,6 +100,13 @@ static unsigned long change_pte_range(struct > > vm_area_struct *vma, pmd_t *pmd, > > /* Avoid TLB flush if possible */ > > if (pte_protnone(oldpte)) > >

[PATCH 2/2] staging: ks7010: Fixes warning :do not add new typedefs

2016-10-13 Thread Sabitha George
Fixes checkpatch.pl warning: do not add new typedefs in ks_wlan_net.c Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks_wlan_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c inde

Re: Another gcc corruption bug (was Re: [PATCH] [RFC] x86: avoid -mtune=atom for objtool warnings)

2016-10-13 Thread Denys Vlasenko
On 10/13/2016 02:46 PM, Josh Poimboeuf wrote: On Tue, Oct 11, 2016 at 10:38:42PM +0200, Arnd Bergmann wrote: On Tuesday, October 11, 2016 10:51:46 AM CEST Josh Poimboeuf wrote: Notice how it just falls off the end of the function. We had a similar bug before: https://lkml.kernel.org/r/20160

[PATCH] perf, tools: Improve documentation of event parameters for perf record

2016-10-13 Thread Andi Kleen
From: Andi Kleen - Some editing (params -> parameters) - Point to the now more complete list of parameters in the perf list manpage. Signed-off-by: Andi Kleen --- tools/perf/Documentation/perf-record.txt | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/perf/Do

Re: [PATCH] iwlwifi: pcie: fix SPLC structure parsing

2016-10-13 Thread Luca Coelho
On Thu, 2016-10-13 at 14:55 +0200, Paul Bolle wrote: > On Thu, 2016-10-13 at 15:44 +0300, Luca Coelho wrote: > >  Even though there is apparently something wrong with this part of the > > ACPI table on you laptop, since it doesn't match our specifications. > >  In any case, it's mostly harmless. >

[PATCH 1/3] z3fold: make counters atomic

2016-10-13 Thread Vitaly Wool
This patch converts pages_nr per-pool counter to atomic64_t. It also introduces a new counter, unbuddied_nr, which is also atomic64_t, to track the number of unbuddied (shrinkable) pages, as a step to prepare for z3fold shrinker implementation. Signed-off-by: Vitaly Wool --- mm/z3fold.c | 33 +++

[PATCH v2] cpufreq: CPPC: Correct desired_perf calculation

2016-10-13 Thread Hoan Tran
The desired_perf is an abstract performance number. Its value should be in the range of [lowest perf, highest perf] of CPPC. The correct calculation is desired_perf = freq * cppc_highest_perf / cppc_dmi_max_khz And cppc_cpufreq_set_target() returns if desired_perf is exactly the same with the ol

[PATCH] ufs: changing maintainer

2016-10-13 Thread Joao Pinto
Signed-off-by: Joao Pinto --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 5ac91d8a..d9855b5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12084,7 +12084,8 @@ F: Documentation/scsi/ufs.txt F: drivers/scsi/ufs/ UNI

Re: [RFC PATCH 00/11] Introduce writeback connectors

2016-10-13 Thread Eric Anholt
Brian Starkey writes: > Hi Eric, > > On Tue, Oct 11, 2016 at 12:01:14PM -0700, Eric Anholt wrote: >>Brian Starkey writes: >> >>> Hi, >>> >>> This RFC series introduces a new connector type: >>> DRM_MODE_CONNECTOR_WRITEBACK >>> It is a follow-on from a previous discussion: [1] >>> >>> Writeback

Re: [PATCH] pmem: report error on clear poison failure

2016-10-13 Thread Dan Williams
On Thu, Oct 13, 2016 at 9:08 AM, Kani, Toshimitsu wrote: > On Thu, 2016-10-13 at 09:01 -0700, Dan Williams wrote: >> On Thu, Oct 13, 2016 at 8:54 AM, Toshi Kani >> wrote: >> > >> > ACPI Clear Uncorrectable Error DSM function may fail or may be >> > unsupported on a platform. pmem_clear_poison()

[PATCH 11/18] [media] RedRat3: Delete the variable "dev" in redrat3_init_rc_dev()

2016-10-13 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 13 Oct 2016 14:40:11 +0200 Use the data structure member "dev" directly without assigning it to an intermediate variable. Thus delete the extra variable definition at the beginning. Signed-off-by: Markus Elfring --- drivers/media/rc/redrat3.c | 5 ++--- 1 file c

[PATCH] pci: changing maintainer

2016-10-13 Thread Joao Pinto
Signed-off-by: Joao Pinto --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 01bff8e..5ac91d8a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9052,7 +9052,7 @@ S:Maintained F: drivers/pci/host/*designware* PCI DRIVE

[GIT PULL 00/27] perf/urgent fixes and JSON events files

2016-10-13 Thread Arnaldo Carvalho de Melo
7; of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2016-10-07 00:36:49 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-20161013 for you to fetch cha

Re: [PATCH] [v3] mount: dont execute propagate_umount() many times for same mounts

2016-10-13 Thread Eric W. Biederman
Andrei Vagin writes: > The reason of this optimization is that umount() can hold namespace_sem > for a long time, this semaphore is global, so it affects all users. > Recently Eric W. Biederman added a per mount namespace limit on the > number of mounts. The default number of mounts allowed per m

[PATCH 00/18] [media] RedRat3: Fine-tuning for several function implementations

2016-10-13 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 13 Oct 2016 18:06:18 +0200 Several update suggestions were taken into account from static source code analysis. Markus Elfring (18): Use kcalloc() in two functions Move two assignments in redrat3_transmit_ir() Return directly after a failed kcalloc() in redr

Re: [PATCH] f2fs: fix wrong sum_page pointer in f2fs_gc

2016-10-13 Thread Jaegeuk Kim
On Thu, Oct 13, 2016 at 06:33:19PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > On 2016/10/13 7:23, Jaegeuk Kim wrote: > > This patch fixes using a wrong pointer for sum_page in f2fs_gc. > > > > Signed-off-by: Jaegeuk Kim > > --- > > fs/f2fs/gc.c | 10 +- > > 1 file changed, 5 insertions(+),

[PATCH] vt: clear selection before resizing

2016-10-13 Thread Scot Doyle
When resizing a vt its selection may exceed the new size, resulting in an invalid memory access [1]. Clear the selection before resizing. [1] http://lkml.kernel.org/r/CACT4Y+acDTwy4umEvf5ROBGiRJNrxHN4Cn5szCXE5Jw-d1B=x...@mail.gmail.com Reported-and-tested-by: Dmitry Vyukov Signed-off-by: Scot D

[GIT PULL 00/27] perf/urgent fixes and JSON events files

2016-10-13 Thread Arnaldo Carvalho de Melo
/scm/linux/kernel/git/acme/linux into perf/urgent (2016-10-07 00:36:49 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-20161013 for you to fetch changes up to 6887dc6236a0bbd88f10b63026f42cb2bbbfaec3: per

Re: [PATCH 0/2] (Was: BUG_ON in rcu_sync_func triggered)

2016-10-13 Thread Oleg Nesterov
On 09/26, Oleg Nesterov wrote: > > Hello, > > The patches do not depend on each other. Yes, > 1/2 is the trivial fix, imo -stable material. The bug is very old it seems, > but today this race (leading to unbalanced unlock) manifests itself via > mysterious BUG_ON's in rcu/sync.c. Yes. Al, could

Re: [PATCH] Coccinelle: misc: Improve the script for more accurate results

2016-10-13 Thread Vaishali Thakkar
On Thursday 13 October 2016 09:45 PM, Julia Lawall wrote: > > > On Thu, 13 Oct 2016, Vaishali Thakkar wrote: > >> Currently because of the left associativity of the operators, >> pattern IRQF_ONESHOT | flags does not match with the pattern >> when we have more than one flag after the disjuncti

[PATCH 1/2] staging: ks7010: Replace __attribute__(aligned(x)) with __aligned(x)

2016-10-13 Thread Sabitha George
Fixes checkpatch.pl warning: __aligned(size) is preferred over __attribute__((aligned(size)) in ks7010_sdio.h Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks7010_sdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.h b/drivers

Re: Re: [PATCH] staging:vt6656:baseband.h: fix function definition argument without identifier name issue

2016-10-13 Thread Greg KH
On Thu, Oct 13, 2016 at 09:37:23AM -0700, Joe Perches wrote: > On Thu, 2016-10-13 at 16:57 +0200, Greg KH wrote: > > On Thu, Oct 13, 2016 at 05:23:45PM +0300, Mikhail Golubev wrote: > > > On Thu, Oct 13, 2016 at 02:06:02PM +0200, Greg KH wrote: > > > > On Thu, Oct 13, 2016 at 02:50:18PM +0300, Mikh

Re: [PATCH V2 2/2] fs/super.c: don't fool lockdep in freeze_super() and thaw_super() paths

2016-10-13 Thread Oleg Nesterov
Dave, I am sorry for delay. On 10/10, Dave Chinner wrote: > > So, it's time to waste more time explaining why lockdep is telling > us about something that *isn't a bug*. > [... snip ...] OK, thanks. I am not surprised although I have to admit I wasn't sure. > Basically, what we are seeing here i

[PATCH] MAINTAINERS: remove defunct iss storage mailing list

2016-10-13 Thread Javier Martinez Canillas
It appears that the mailing list email address doesn't exist anymore: : host smtp.hp.com[15.73.96.116] said: 550 5.1.1 : Recipient address rejected: User unknown in virtual alias table (in reply to RCPT TO command) Signed-off-by: Javier Martinez Canillas --- MAINTAINERS | 2 -- 1 file

[PATCH 17/18] [media] RedRat3: Adjust two checks for null pointers in redrat3_dev_probe()

2016-10-13 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 13 Oct 2016 17:40:34 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" pointed information out like the following. Comparison to NULL could be written !… Thus fix the affected source code pl

Re: Re: [PATCH] staging:vt6656:baseband.h: fix function definition argument without identifier name issue

2016-10-13 Thread Joe Perches
On Thu, 2016-10-13 at 18:49 +0200, Greg KH wrote: > On Thu, Oct 13, 2016 at 09:37:23AM -0700, Joe Perches wrote: > > On Thu, 2016-10-13 at 16:57 +0200, Greg KH wrote: > > > On Thu, Oct 13, 2016 at 05:23:45PM +0300, Mikhail Golubev wrote: > > > > On Thu, Oct 13, 2016 at 02:06:02PM +0200, Greg KH wro

Re: [v4.8-rc1 Regression] sched/fair: Apply more PELT fixes

2016-10-13 Thread Vincent Guittot
On 13 October 2016 at 17:52, Joseph Salisbury wrote: > On 10/13/2016 06:58 AM, Vincent Guittot wrote: >> Hi, >> >> On 12 October 2016 at 18:21, Joseph Salisbury >> wrote: >>> On 10/12/2016 08:20 AM, Vincent Guittot wrote: On 8 October 2016 at 13:49, Mike Galbraith wrote: > On Sat, 2016-

[PATCH 18/18] [media] RedRat3: Combine substrings for six messages

2016-10-13 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 13 Oct 2016 17:50:11 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines Thus fix the affected source code places. Signed-off-by: Markus Elfring --- drivers/media/rc/redrat3.c | 19 +++-

[PATCHv4 0/3] z3fold: add shrinker

2016-10-13 Thread Vitaly Wool
This patch set implements shrinker for z3fold. The actual shrinker implementation will follow some code optimizations and preparations that I thought would be reasonable to have as separate patches.

[PATCH 3/3] z3fold: add shrinker

2016-10-13 Thread Vitaly Wool
This patch implements shrinker for z3fold. This shrinker implementation does not free up any pages directly but it allows for a denser placement of compressed objects which results in less actual pages consumed and higher compression ratio therefore. This patch has been checked with the latest Lin

Re: [PATCH v3 02/16] scsi: don't use fc_bsg_job::request and fc_bsg_job::reply directly

2016-10-13 Thread Steffen Maier
Hm, still behaves for me like I reported for v2: http://marc.info/?l=linux-scsi&m=147637177902937&w=2 On 10/13/2016 05:00 PM, Johannes Thumshirn wrote: Don't use fc_bsg_job::request and fc_bsg_job::reply directly, but use helper variables bsg_request and bsg_reply. This will be helpfull when tr

Re: [PATCH v5 01/14] drivers: iommu: add FWNODE_IOMMU fwnode type

2016-10-13 Thread Lorenzo Pieralisi
Hi Rafael, On Fri, Sep 30, 2016 at 05:48:01PM +0200, Rafael J. Wysocki wrote: > On Fri, Sep 30, 2016 at 11:07 AM, Lorenzo Pieralisi > wrote: > > On Thu, Sep 29, 2016 at 10:59:40PM +0200, Rafael J. Wysocki wrote: > >> On Thursday, September 29, 2016 03:15:20 PM Lorenzo Pieralisi wrote: > >> > Hi R

[PATCH 2/3] z3fold: remove redundant locking

2016-10-13 Thread Vitaly Wool
The per-pool z3fold spinlock should generally be taken only when a non-atomic pool variable is modified. There's no need to take it to map/unmap an object. Signed-off-by: Vitaly Wool --- mm/z3fold.c | 17 + 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/mm/z3fold.

[PATCH 13/18] [media] RedRat3: Return directly after a failed rc_allocate_device() in redrat3_init_rc_dev()

2016-10-13 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 13 Oct 2016 14:54:46 +0200 Return directly after a call of the function "rc_allocate_device" failed at the beginning. Signed-off-by: Markus Elfring --- drivers/media/rc/redrat3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/r

<    1   2   3   4   5   6   7   8   >