[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

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)) > >

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: [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 

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:

[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

[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

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 */ > > >

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,

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:

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 >

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

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

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: [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 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

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

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

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

[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

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

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: [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 */ >

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

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

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 >

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 > +++

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

[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

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

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

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

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] 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

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

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

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 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

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()

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

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: 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));

[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

[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 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

[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

[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

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

[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: [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 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 +-

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

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: [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 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

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

[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

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

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: [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: 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 e5

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

[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

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:

[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

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; >

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"

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

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

2016-10-13 Thread Nicolas Boichat
On Thu, Oct 13, 2016 at 11:06 AM, Olof Johansson wrote: > 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,

Re: igb driver can cause cache invalidation of non-owned memory?

2016-10-13 Thread Alexander Duyck
On Thu, Oct 13, 2016 at 4:00 AM, Nikita Yushchenko wrote: It would make more sense to update the DMA API for __dma_page_cpu_to_dev on ARM so that you don't invalidate the cache if the direction is DMA_FROM_DEVICE. >>> >>> No, in generic case it's unsafe. >>> >>> If CPU issued a

Re: [PATCH 07/10] drm/i915/gen9: Make skl_pipe_wm_get_hw_state() reusable

2016-10-13 Thread Paulo Zanoni
Em Sex, 2016-10-07 às 20:11 -0400, Lyude escreveu: > There's not much of a reason this should have the locations to read > out > the hardware state hardcoded, so allow the caller to specify the > location and add this function to intel_drv.h. As well, we're going > to > need this function to be

[PATCH v3] irqchip/jcore: fix lost per-cpu interrupts

2016-10-13 Thread Rich Felker
The J-Core AIC does not have separate interrupt numbers reserved for cpu-local vs global interrupts. Instead, the driver requesting the irq is expected to know whether its device uses per-cpu interrupts or not. Previously it was assumed that handle_simple_irq could work for both cases, but it

Re: [PATCH v3 2/2] Input: synaptics-rmi4 - add support for F34 device reflash

2016-10-13 Thread Nick Dyer
On Thu, Oct 13, 2016 at 03:52:45PM +0200, Benjamin Tissoires wrote: > > > You could basically export rmi_fn_reset() which would call > > > rmi_free_function_list(), rmi_scan_pdt (if initial reset), > > > rmi_probe_interrupts() and rmi_init_functions, and this would allow you > > > to have all this

[PATCH v2 0/2] Introduce arch specific nmi enable, disable handlers

2016-10-13 Thread Babu Moger
During our testing we noticed that nmi watchdogs in sparc could not be disabled or enabled dynamically using sysctl/proc interface. Sparc uses its own arch specific nmi watchdogs. There is a sysctl and proc interface(proc/sys/kernel/nmi_watchdog) to enable/disable nmi watchdogs. However, that

Re: [x86] 811565123a: BUG: kernel hang in early-boot stage, last printk: Probing EDD (edd=off to disable)... ok

2016-10-13 Thread Andi Kleen
Andi Kleen writes: Any comments on this? I still cannot reproduce the failure unfortunately. > Could you do two tests for me: > > - Enable CONFIG_MICROCODE_INTEL and see if it boots then > > - Add CONFIG_DEBUG_INFO to the config. > Add -s to the qemu command line and boot again. Then when it

Re: [PATCH 0/2] Introduce update_arch_nmi_watchdog for arch specific handlers

2016-10-13 Thread Babu Moger
On 10/7/2016 10:51 AM, Don Zickus wrote: On Thu, Oct 06, 2016 at 03:16:41PM -0700, Babu Moger wrote: During our testing we noticed that nmi watchdogs in sparc could not be disabled or enabled dynamically using sysctl/proc interface. Sparc uses its own arch specific nmi watchdogs. There is a

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

2016-10-13 Thread Vineeth Remanan Pillai
On 10/13/2016 01:26 PM, Al Viro wrote: On Thu, Oct 13, 2016 at 01:09:04PM -0700, Christoph Hellwig wrote: 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

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 01:41:11PM -0700, Vineeth Remanan Pillai wrote: > Yes, the use case is out-of-tree and the code snippet above depicts the use Case closed then. If it doesn't affect any in-tree code please don't bother spamming linux lists with your self-inflicted wounds.

Re: [PATCH] scsi: hpsa: remove unneeded void pointer cast

2016-10-13 Thread Don Brace
On 10/13/2016 11:10 AM, Javier Martinez Canillas wrote: It's not necessary to cast the result of kmalloc, since void pointers are promoted to any other type. This also fixes following coccinelle warning: casting value returned by memory allocation function to (BIG_IOCTL_Command_struct *) is

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 01:09:04PM -0700, Christoph Hellwig wrote: > 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

Re: slab corruption with current -git

2016-10-13 Thread Florian Westphal
Linus Torvalds wrote: > 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 =

Re: [PATCH 08/10] drm/i915/gen9: Add skl_wm_level_equals()

2016-10-13 Thread Paulo Zanoni
Em Sex, 2016-10-07 às 20:11 -0400, Lyude escreveu: > Helper we're going to be using for implementing verification of the > wm > levels in skl_verify_wm_level(). > > Signed-off-by: Lyude Reviewed-by: Paulo Zanoni > Cc: Maarten Lankhorst > Cc: Ville Syrjälä > Cc: Paulo Zanoni > --- >  

[PATCH] Staging:ks7010:ks7010_sdio: fixed some coding style issue

2016-10-13 Thread Nadim Almas
fixed trailing */ Block comments and 80 character line limit coding style issue Signed-off-by: Nadim Almas --- drivers/staging/ks7010/ks7010_sdio.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.c

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

2016-10-13 Thread Jens Axboe
On 10/13/2016 02:19 PM, Dan Williams wrote: 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

Re: [RFC PATCH 2/2] f2fs: fix allocation failure

2016-10-13 Thread Jaegeuk Kim
Hi Chao, On Thu, Oct 13, 2016 at 12:14:27AM +0800, Chao Yu wrote: > From: Chao Yu > > tests/generic/251 of fstest reports a f2fs bug in below message: > > [ cut here ] > invalid opcode: [#1] PREEMPT SMP > CPU: 1 PID: 109 Comm: kworker/u8:2 Tainted: GW O

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

2016-10-13 Thread Rafael J. Wysocki
Hi, On Thu, Oct 13, 2016 at 6:32 PM, Lorenzo Pieralisi wrote: > 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

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

2016-10-13 Thread Dan Williams
On Thu, Oct 13, 2016 at 1:24 PM, Jens Axboe wrote: > On 10/13/2016 02:19 PM, Dan Williams wrote: >> >> 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: > >

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

2016-10-13 Thread Rafael J. Wysocki
On Thu, Oct 13, 2016 at 10:16 PM, Sinan Kaya wrote: > On 10/13/2016 4:02 PM, Bjorn Helgaas wrote: >> 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

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

2016-10-13 Thread Sathya Prakash Veerichetty
By removing the code below, we put all the commands for all the types of devices (SAS/SATA) as simple-Q (requeue as the device require) and I am not sure whether it is the intention of this change. -Original Message- From: Adam Manzanares [mailto:adam.manzana...@hgst.com] Sent: Thursday,

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

2016-10-13 Thread Jens Axboe
On 10/13/2016 02:59 PM, Dan Williams wrote: On Thu, Oct 13, 2016 at 1:24 PM, Jens Axboe wrote: On 10/13/2016 02:19 PM, Dan Williams wrote: 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

Re: mmiotracer hangs the system

2016-10-13 Thread Karol Herbst
sorry for the delay fixing that bug. I got occupied with other things and didn't really got to the issue again, it is on my todo list as the next item though and I hope I will be able to get a fix ready this weekend. I think I might know where the issue is, but didn't confirm it yet. Again, sorry

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

2016-10-13 Thread Rafael J. Wysocki
On Thu, Oct 13, 2016 at 9:37 PM, Prakash, Prashanth wrote: > 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 *

[PATCH 01/10] perf, tools: Factor out scale conversion code

2016-10-13 Thread Andi Kleen
From: Andi Kleen Move the scale factor parsing code to an own function to reuse it in an upcoming patch. Signed-off-by: Andi Kleen --- tools/perf/util/pmu.c | 64 +++ 1 file changed, 34 insertions(+), 30 deletions(-) diff --git

[PATCH 09/10] perf, tools: Support DividedBy header in JSON event list

2016-10-13 Thread Andi Kleen
From: Andi Kleen Add support for parsing the DividedBy header in the JSON event lists and storing them in the alias structure. Used in the next patch. Signed-off-by: Andi Kleen --- tools/perf/pmu-events/jevents.c| 18 ++ tools/perf/pmu-events/jevents.h| 2 +-

[patch] perf_event_open.2: sample_max_stack support

2016-10-13 Thread Vince Weaver
Linux 4.8 added a new sample_max_stack parameter, as well as /proc/sys/kernel/perf_event_max_stack which limits it and a new EOVERFLOW error return. Signed-off-by: Vince Weaver diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index 3c894cc..edfdb72 100644 ---

[PATCH 10/10] perf, tools, stat: Output generic dividedby metric

2016-10-13 Thread Andi Kleen
From: Andi Kleen Add generic infrastructure to perf stat to output ratios for "DividedBy" entries in the event lists. Many events are more useful as ratios than in raw form, typically some count in relation to total ticks. Transfer the dividedby information from the alias to the evsel. We mark

[PATCH 07/10] perf, tools: Collapse identically named events in perf stat

2016-10-13 Thread Andi Kleen
From: Andi Kleen The uncore PMU has a lot of duplicated PMUs for different subsystems. When expanding an uncore alias we usually end up with a large number of identically named aliases, which makes perf stat output difficult to read. Automatically sum them up in perf stat, unless --no-merge is

[PATCH 06/10] perf, tools: Add debug support for outputing alias string

2016-10-13 Thread Andi Kleen
From: Andi Kleen For debugging and testing it is useful to see the converted alias string. Add support to perf stat/record and perf list to print the alias conversion. The text string is saved in the alias structure. For perf stat/record it is folded into the normal -v. For perf list -v was

Re: [PATCH 09/10] drm/i915/gen9: Actually verify WM levels in verify_wm_state()

2016-10-13 Thread Paulo Zanoni
Em Sex, 2016-10-07 às 20:11 -0400, Lyude escreveu: > Thanks to Paulo Zanoni for indirectly pointing this out. > > Looks like we never actually added any code for checking whether or > not > we actually wrote watermark levels properly. Let's fix that. Thanks for doing this! Reviewed-by: Paulo

[PATCH 05/10] perf, tools: Support event aliases for non cpu// pmus

2016-10-13 Thread Andi Kleen
From: Andi Kleen The code for handling pmu aliases without specifying the PMU hardcoded only supported the cpu PMU. This patch extends it to work for all PMUs. We always duplicate the event for all PMUs that have an matching alias. This allows to automatically expand an alias for all instances

<    8   9   10   11   12   13   14   15   >