[GIT PULL] MTD NAND fixes for v4.8-rc8

2016-09-23 Thread Richard Weinberger
Linus, This pull request contains fixes for bugs which got introduced in -rc1. You may wonder why I'm sending this pull request. Usually Brian takes NAND patches from Boris, but since Brian is very busy these days with other stuff and Boris is not yet member of the kernel.org web of trust I step

Re: [PATCH net-next 0/4] net: dsa: add port fast ageing

2016-09-23 Thread David Miller
From: Vivien Didelot Date: Thu, 22 Sep 2016 16:49:20 -0400 > Today the DSA drivers are in charge of flushing the MAC addresses > associated to a port when its STP state changes from Learning or > Forwarding, to Disabled or Blocking or Listening. > > This makes the drivers more complex and hides

Re: [PATCH] drm/tilcdc: fix wrong error handling

2016-09-23 Thread Sean Paul
On Fri, Sep 23, 2016 at 5:01 AM, Jyri Sarha wrote: > On 09/23/16 14:47, Sean Paul wrote: >> On Fri, Sep 23, 2016 at 3:52 AM, Daniel Schultz wrote: >>> When 'component_bind_all' fails it should not try to unbind components >>> in the error handling. This will produce a null pointer kernel panic wh

[PATCH] i2c: uniphier-f: fix misdetection of incomplete STOP condition

2016-09-23 Thread Masahiro Yamada
Currently, the status register FI2C_SR is checked immediately after a STOP condition is issued in case of the deferred STOP condition. It takes typically 5-10 usec until the corresponding bits in the register are set, so the error check for "stop condition was not completed" is very likely to be fa

Re: cifs mount regression in 4.8 and 4.4 stable

2016-09-23 Thread Seth Forshee
On Thu, Sep 22, 2016 at 10:27:56AM -0500, Seth Forshee wrote: > On Thu, Sep 22, 2016 at 04:17:09PM +0100, Sachin Prabhu wrote: > > On Thu, 2016-09-22 at 10:09 -0500, Seth Forshee wrote: > > > We've received reports from users of a cifs mount regression in our > > > 4.4-based kernel, e.g. [1]. It is

Re: [PATCH] drm/tilcdc: fix wrong error handling

2016-09-23 Thread Jyri Sarha
On 09/23/16 14:47, Sean Paul wrote: > On Fri, Sep 23, 2016 at 3:52 AM, Daniel Schultz wrote: >> When 'component_bind_all' fails it should not try to unbind components >> in the error handling. This will produce a null pointer kernel panic when >> no component exist. >> >> This patch changes the or

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-23 Thread Ian Kent
On Fri, 2016-09-23 at 12:26 +0800, Ian Kent wrote: > On Thu, 2016-09-22 at 20:37 -0500, Eric W. Biederman wrote: > > Ian Kent writes: > > > > > On Thu, 2016-09-22 at 10:43 -0500, Eric W. Biederman wrote: > > > > Ian Kent writes: > > > > > > > > > Eric, Mateusz, I appreciate your spending time o

Re: [PATCH 2/2] armv8: aarch32: Add SMP support for 32-bit Linux kernel

2016-09-23 Thread Arnd Bergmann
On Friday, September 23, 2016 10:19:06 AM CEST Alison Wang wrote: > The patch adds SMP support for running 32-bit Linux kernel for > Layerscape platforms. Spin-table method is used for SMP support. > > Signed-off-by: Alison Wang > Signed-off-by: Chenhui Zhao > --- > arch/arm/mach-imx/common.h

[PATCH] sched/fair: Do not decay new task load on first enqueue

2016-09-23 Thread Matt Fleming
Since commit 7dc603c9028e ("sched/fair: Fix PELT integrity for new tasks") ::last_update_time will be set to a non-zero value in post_init_entity_util_avg(), which leads to p->se.avg.load_avg being decayed on enqueue before the task has even had a chance to run. For a NICE_0 task the sequence of e

[PATCH V3] clocksource/timer-imx-gpt: Preventing resource leakage in error case.

2016-09-23 Thread Arvind Yadav
-Free previously allocated memory. -Unmap I/O memory from kernel address space. Signed-off-by: Arvind Yadav --- drivers/clocksource/timer-imx-gpt.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/clocksource/timer-imx-gpt.c b/drivers/clocksou

Re: [PATCH] softirq: let ksoftirqd do its job

2016-09-23 Thread Peter Zijlstra
On Fri, Sep 23, 2016 at 01:35:59PM +0200, Daniel Borkmann wrote: > On 09/02/2016 08:39 AM, David Miller wrote: > > > >I'm just kind of assuming this won't go through my tree, but I can take > >it if that's what everyone agrees to. > > Was this actually picked up somewhere in the mean time? I can

[PATCH v2] ASoC: tlv320aic31xx: add explicit support for tlv320dac31xx

2016-09-23 Thread Nikita Yushchenko
tlv320dac31xx is a subset of tlv320aic31xx: - it does not have MIC inputs and ADC, thus capture is not supported, - it has analog inputs AIN1/AIN2 that can be mixed into output. Although tlv320dac31xx does work with tlv320aic31xx driver, this setup does register non-existent widgets and non-existe

Re: [RFC PATCH 0/6] perf: Add AUX data sampling

2016-09-23 Thread Peter Zijlstra
On Fri, Sep 23, 2016 at 02:27:20PM +0300, Alexander Shishkin wrote: > Hi Peter, > > This is an RFC, I'm not sending the tooling bits in this series, > although they can be found here [1]. > > This series introduces AUX data sampling for perf events, which in > case of our instruction/branch traci

Re: GPU-DRM-TTM: Fine-tuning for several function implementations

2016-09-23 Thread SF Markus Elfring
> Calling the label "unlock" instead of "out" is arguable a little better, Thanks that you can follow a renaming for this direction in principle. > but nothing I would call a major improvement either. This was not my intention for such an use case. I am proposing some small software updates ac

Re: [PATCH] drm/tilcdc: fix wrong error handling

2016-09-23 Thread Sean Paul
On Fri, Sep 23, 2016 at 3:52 AM, Daniel Schultz wrote: > When 'component_bind_all' fails it should not try to unbind components > in the error handling. This will produce a null pointer kernel panic when > no component exist. > > This patch changes the order of the error handling. Now, it will onl

[PATCH v4] devicetree: bindings: uart: Add new compatible string for ZynqMP

2016-09-23 Thread Nava kishore Manne
From: Nava kishore Manne This patch Adds the new compatible string for ZynqMP. Signed-off-by: Nava kishore Manne --- Changes for v4: -Modified the ChangeLog comment. Changes for v3: -Added changeLog comment. Changes for v2: -None Documentation/d

Re: [PATCH] softirq: let ksoftirqd do its job

2016-09-23 Thread Daniel Borkmann
On 09/02/2016 08:39 AM, David Miller wrote: From: Eric Dumazet Date: Wed, 31 Aug 2016 10:42:29 -0700 From: Eric Dumazet A while back, Paolo and Hannes sent an RFC patch adding threaded-able napi poll loop support : (https://patchwork.ozlabs.org/patch/620657/) The problem seems to be that so

[PATCH] omapfb: use complete() instead complete_all()

2016-09-23 Thread Daniel Wagner
From: Daniel Wagner There is only one waiter for the completion, therefore there is no need to use complete_all(). Let's make that clear by using complete() instead of complete_all(). While we are at it, we also change the init_completion() to reinit_completion() which slightly lighter. The usa

Re: GPU-DRM-TILCDC: Less function calls in tilcdc_convert_slave_node() after error detection

2016-09-23 Thread Rob Clark
On Fri, Sep 23, 2016 at 7:19 AM, SF Markus Elfring wrote: >> iirc, there are Coccinelle rules that find code with unnecessary null >> checks and removes them. > > This kind of software change is not needed here. > > I find that a corresponding return value check happens one function call > too lat

[RFC PATCH 3/6] perf: Add a helper for looking up pmus by type

2016-09-23 Thread Alexander Shishkin
This patch adds a helper for looking up a registered pmu by its type. Signed-off-by: Alexander Shishkin --- kernel/events/core.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/kernel/events/core.c b/kernel/events/core.c index 2e8a0e389b..b64a5c611f 100644 -

[RFC PATCH 5/6] perf: Disable PMU around address filter adjustment

2016-09-23 Thread Alexander Shishkin
If the PMU is used for AUX data sampling, the hardware event that triggers it may come in during a critical section of address filters adjustment (if it's delivered as NMI) and in turn call the address filter sync code, causing a spinlock recursion. To prevent this, disable the PMU around these cr

[RFC PATCH 6/6] perf: Disable IRQs in address filter sync path

2016-09-23 Thread Alexander Shishkin
If PMU callbacks are executed in hardirq context, the address filter sync code needs to disable interrupts when taking its spinlock to be consistent with the rest of its users. This may happen if the PMU is used in AUX sampling. Signed-off-by: Alexander Shishkin --- kernel/events/core.c | 5 +++-

[RFC PATCH 1/6] perf: Move mlock accounting to ring buffer allocation

2016-09-23 Thread Alexander Shishkin
In order to be able to allocate perf ring buffers in non-mmap path, we need to make sure we can still account the memory to the user and that they don't exceed their mlock limit. This patch moves ring buffer memory accounting down the rb_alloc() path so that its callers won't have to worry about i

[RFC PATCH 4/6] perf: Add infrastructure for using AUX data in perf samples

2016-09-23 Thread Alexander Shishkin
AUX data can be used to annotate perf events such as performance counters or tracepoints/breakpoints by including it in sample records when PERF_SAMPLE_AUX flag is set. Such samples would be instrumental in debugging and profiling by providing, for example, a history of instruction flow leading up

[RFC PATCH 2/6] perf: Add api to (de-)allocate AUX buffers for kernel counters

2016-09-23 Thread Alexander Shishkin
Several use cases for AUX data, namely event sampling (including a piece of AUX data in some perf event sample, so that the user can get, for example, instruction traces leading up to a certain event like a breakpoint or a hardware event), process core dumps (providing user with a history of a proc

[RFC PATCH 0/6] perf: Add AUX data sampling

2016-09-23 Thread Alexander Shishkin
Hi Peter, This is an RFC, I'm not sending the tooling bits in this series, although they can be found here [1]. This series introduces AUX data sampling for perf events, which in case of our instruction/branch tracing PMUs like Intel PT, BTS, CS ETM means execution flow history leading up to a pe

[PATCH v3] gpio: Added zynq specific check for special pins on bank zero

2016-09-23 Thread Nava kishore Manne
From: Nava kishore Manne This patch adds zynq specific check for bank 0 pins 7 and 8 are special and cannot be used as inputs Signed-off-by: Nava kishore Manne Reported-by: Jonas Karlsson Acked-by: Sören Brinkmann Acked-by: Michal Simek --- Changes for v3: -Fixed some minor c

Re: [PATCH][V2] cxgb4: fix signed wrap around when decrementing index idx

2016-09-23 Thread David Miller
From: Colin King Date: Thu, 22 Sep 2016 18:48:58 +0100 > From: Colin Ian King > > Change predecrement compare to post decrement compare to avoid an > unsigned integer wrap-around comparison when decrementing idx in > the while loop. > > For example, when idx is zero, the current situation will

Re: strace lockup when tracing exec in go

2016-09-23 Thread Michal Hocko
On Fri 23-09-16 11:50:32, Oleg Nesterov wrote: > Sorry for delay, I was offline. I'll try to return to this problem next > week, currently I can't even read this thread but at first glance the > proposed patch(es) do not look right... > > On 09/21, Michal Hocko wrote: > > > > The further investiga

Re: GPU-DRM-TILCDC: Less function calls in tilcdc_convert_slave_node() after error detection

2016-09-23 Thread SF Markus Elfring
> iirc, there are Coccinelle rules that find code with unnecessary null > checks and removes them. This kind of software change is not needed here. I find that a corresponding return value check happens one function call too late. > Although you probably made this complex enough that cocinelle

Re: strace lockup when tracing exec in go

2016-09-23 Thread Michal Hocko
On Fri 23-09-16 12:21:41, Oleg Nesterov wrote: > On 09/22, Michal Hocko wrote: > > > > --- a/kernel/signal.c > > +++ b/kernel/signal.c > > @@ -91,6 +91,10 @@ static int sig_ignored(struct task_struct *t, int sig, > > bool force) > > if (!sig_task_ignored(t, sig, force)) > > return

[PATCH] KVM: VMX: Better name x2apic msr bitmaps

2016-09-23 Thread Wanpeng Li
Renames x2apic_apicv_inactive msr_bitmaps to x2apic and original x2apic bitmaps to x2apic_apicv. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- arch/x86/kvm/vmx.c | 72 +++--- 1 file changed, 36 insertions(+), 36 deletions(-)

Re: GPU-DRM-TTM: Fine-tuning for several function implementations

2016-09-23 Thread Christian König
Am 23.09.2016 um 13:07 schrieb SF Markus Elfring: It's just the names like "out" or "restart" perfectly explain why the labels exists. I have got an other impression. So they fulfill this requirement from the coding style as far as I can see. Short identifiers might look more convenient in

Help Desk

2016-09-23 Thread McCarley, Brian
Dear User Your password will expire in 2 days. Kindly click on Helpdesk so that you can get your password Updated within the next 24 hours. Thank you Help Desk

Re: GPU-DRM-TTM: Fine-tuning for several function implementations

2016-09-23 Thread SF Markus Elfring
> It's just the names like "out" or "restart" perfectly explain why the labels > exists. I have got an other impression. > So they fulfill this requirement from the coding style as far as I can see. Short identifiers might look more convenient in some cases because they are quicker to type.

Re: [PATCH v2 1/1] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-23 Thread Gerald Schaefer
On Fri, 23 Sep 2016 14:40:33 +0800 Rui Teng wrote: > On 9/22/16 5:51 PM, Michal Hocko wrote: > > On Wed 21-09-16 14:35:34, Gerald Schaefer wrote: > >> dissolve_free_huge_pages() will either run into the VM_BUG_ON() or a > >> list corruption and addressing exception when trying to set a memory > >

Re: [PATCH 2/2] powernv:idle:Implement lite variant of power_enter_stop

2016-09-23 Thread Michael Ellerman
"Gautham R. Shenoy" writes: > From: "Gautham R. Shenoy" > > This patch adds a function named power_enter_stop_lite() that can > execute a stop instruction when ESL and EC bits are set to zero in the > PSSCR. The function handles the wake-up from idle at the instruction > immediately after the s

[PATCH] mlxsw: spectrum: remove redundant check if err is zero

2016-09-23 Thread Colin King
From: Colin Ian King There is an earlier check and return if err is non-zero, so the check to see if it is zero is redundant in every iteration of the loop and hence the check can be removed. Signed-off-by: Colin Ian King --- drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 +- 1 file change

RE: [PATCH V6 3/5] PCI: thunder-pem: Allow to probe PEM-specific register range for ACPI case

2016-09-23 Thread Gabriele Paoloni
Hi Lorenzo > -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Lorenzo Pieralisi > Sent: 23 September 2016 11:12 > To: Bjorn Helgaas > Cc: Gabriele Paoloni; Ard Biesheuvel; Tomasz Nowicki; David Daney; Will > Deacon; C

Re: [PATCH] drm/i2c: tda998x: don't register the connector

2016-09-23 Thread Daniel Vetter
On Fri, Sep 23, 2016 at 11:34 AM, Liviu Dudau wrote: > rmmod-ing the hdlcd module generates a WARN() splat as the vsync is still > enabled, but we never got the call to turn off the CRTC. Brian is still > tracking through the fbdev emulation to figure out the cause for that. fbdev emulation doesn

Re: GPU-DRM-TILCDC: Less function calls in tilcdc_convert_slave_node() after error detection

2016-09-23 Thread Rob Clark
On Thu, Sep 22, 2016 at 2:38 PM, SF Markus Elfring wrote: >>> The of_node_put() function was called in some cases >>> by the tilcdc_convert_slave_node() function during error handling >>> even if the passed variable contained a null pointer. >>> >>> * Adjust jump targets according to the Linux cod

Re: [PATCH 0/4] reintroduce compaction feedback for OOM decisions

2016-09-23 Thread Vlastimil Babka
On 09/23/2016 10:26 AM, Michal Hocko wrote: >> include/linux/compaction.h | 5 +++-- >> mm/compaction.c| 44 +++- >> mm/internal.h | 1 + >> mm/vmscan.c| 6 -- >> 4 files changed, 31 insertions(+), 25 deletions

Re: GPU-DRM-TILCDC: Less function calls in tilcdc_convert_slave_node() after error detection

2016-09-23 Thread SF Markus Elfring
>> A special view on software simplicity can also lead to questionable >> intermediate >> function implementation, can't it? > > I don't really follow. But in any case I do not see anything > questionable in the current tilcdc_convert_slave_node() implementation. I identified update candidates t

Re: [PATCH V6 3/5] PCI: thunder-pem: Allow to probe PEM-specific register range for ACPI case

2016-09-23 Thread Tomasz Nowicki
Hi Bjorn, On 21.09.2016 21:18, Bjorn Helgaas wrote: On Wed, Sep 21, 2016 at 11:58:22AM -0700, Duc Dang wrote: On Wed, Sep 21, 2016 at 11:04 AM, Bjorn Helgaas wrote: On Wed, Sep 21, 2016 at 03:05:49PM +0100, Lorenzo Pieralisi wrote: The existing x86 practice is to use PNP0C02 devices for th

[PATCH] drm/tilcdc: fix wrong error handling

2016-09-23 Thread Daniel Schultz
When 'component_bind_all' fails it should not try to unbind components in the error handling. This will produce a null pointer kernel panic when no component exist. This patch changes the order of the error handling. Now, it will only unbind components if the are bound. Otherwise, the module will

Re: [PATCH v2] gpio: Added zynq specific check for special pins on bank zero

2016-09-23 Thread Michal Simek
On 23.9.2016 12:05, Nava kishore Manne wrote: > From: Nava kishore Manne > > This patch adds zynq specific check for bank 0 pins 7 and 8 > are special and cannot be used as inputs > > Signed-off-by: Nava kishore Manne > Acked-by: Michal Simek > --- > Changes for v2: > -Removed

Re: [PATCH 2/4] mm, compaction: more reliably increase direct compaction priority

2016-09-23 Thread Vlastimil Babka
On 09/23/2016 10:23 AM, Michal Hocko wrote: > On Fri 23-09-16 08:55:33, Vlastimil Babka wrote: > [...] >> >From 1623d5bd441160569ffad3808aeeec852048e558 Mon Sep 17 00:00:00 2001 >> From: Vlastimil Babka >> Date: Thu, 22 Sep 2016 17:02:37 +0200 >> Subject: [PATCH] mm, page_alloc: pull no_progress_l

Re: GPU-DRM-TTM: Fine-tuning for several function implementations

2016-09-23 Thread Christian König
Am 23.09.2016 um 12:20 schrieb SF Markus Elfring: Additional to that I don't really see the point in renaming some of the jump labels, I am suggesting changes for another collateral software evolution. if you call it "restart" or "lock_restart" doesn't make much difference. Do other identif

Re: GPU-DRM-TILCDC: Less function calls in tilcdc_convert_slave_node() after error detection

2016-09-23 Thread Jyri Sarha
On 09/23/16 10:36, SF Markus Elfring wrote: >> I think the "if (node)" in the of_node_put() is there on purpose, > > Yes, of course. > > Does such an implementation detail correspond to a general software design > pattern? > Yes it does. For instance standard malloc()/free() implementation [1]

Re: [PATCH] tps65910 erratum SWCZ010

2016-09-23 Thread Mark Brown
On Fri, Sep 23, 2016 at 10:51:59AM +0200, Jan Remmet wrote: > SWCZ010 contains two erratas, one already fixed > commit be1c770028b8 ("mfd: tps65910: Work around silicon erratum SWCZ010") > and this one. Please don't send cover letters for single patches, if there is anything that needs saying put

Re: [PATCH v3] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-23 Thread Gerald Schaefer
On Thu, 22 Sep 2016 11:12:06 -0700 Dave Hansen wrote: > On 09/22/2016 09:29 AM, Gerald Schaefer wrote: > > static void dissolve_free_huge_page(struct page *page) > > { > > + struct page *head = compound_head(page); > > + struct hstate *h = page_hstate(head); > > + int nid = page_to_nid(he

[PATCH v2] gpio: Added zynq specific check for special pins on bank zero

2016-09-23 Thread Nava kishore Manne
From: Nava kishore Manne This patch adds zynq specific check for bank 0 pins 7 and 8 are special and cannot be used as inputs Signed-off-by: Nava kishore Manne Acked-by: Michal Simek --- Changes for v2: -Removed un-used quirks for zynqmp. drivers/gpio/gpio-zynq.c | 15 +++

Re: modules still have .debug_* (was Re: [PATCH 0/3] ARC unwinder switch to .eh_frame)

2016-09-23 Thread Alexey Brodkin
Hi Daniel, On Thu, 2016-09-22 at 15:37 -0700, Daniel Mentz wrote: > On Thu, Sep 22, 2016 at 1:59 PM, Vineet Gupta > wrote: > > > > Hi Daniel, > > > > On 09/19/2016 06:21 PM, Daniel Mentz wrote: > > > > > > I confirmed that the .eh_frame section is present and that the > > > .debug_frame sectio

Re: strace lockup when tracing exec in go

2016-09-23 Thread Oleg Nesterov
On 09/22, Michal Hocko wrote: > > --- a/kernel/signal.c > +++ b/kernel/signal.c > @@ -91,6 +91,10 @@ static int sig_ignored(struct task_struct *t, int sig, > bool force) > if (!sig_task_ignored(t, sig, force)) > return 0; > > + /* Do not ignore signals sent from child to

[GIT PULL] MMC fix for v.4.8 rc8

2016-09-23 Thread Ulf Hansson
Hi Linus, Here's is yet another mmc fix, intended for v4.8 rc8. It's based on v4.8-rc7. Details are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 3be7988674ab33565700a37b210f502563d932e6: Linux 4.8-rc7 (2016-09-18 17:27:41

Re: [PATCH] drm_aux-dev: fix error handling in drm_dp_aux_dev_init()

2016-09-23 Thread Alexey Khoroshilov
Dear Daniel, Sorry for long response. > Applied to drm-misc, thanks for the patch. Out of curiosity, how > exactly did you spot this bug? We use static analysis tools that check various rules on correct usage of kernel core API. An example of error trace for the rm_dp_aux_dev case you can see he

[PATCH] greybus: audio: ensure module is set to avoid crash on dev_err message

2016-09-23 Thread Colin King
From: Colin Ian King Currently, if info is null, the dev_err message is dereferencing an uninitialized module pointer. Instead, initialize module before the dev_err call to fix this issue. Found using static analysis with cppcheck: [drivers/staging/greybus/audio_topology.c:175]: (error) Unini

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-23 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 23 September 2016 10:52 > To: zhichang.yuan > Cc: Gabriele Paoloni; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; lorenzo.pieral...@arm.com; miny...@acm.org; > linux-...@vger.kernel.org;

Re: [PATCH net-next v2 0/3] add support for RGMII on GMAC0 through TRGMII hardware module

2016-09-23 Thread Sergei Shtylyov
Hello. On 9/23/2016 3:13 AM, David Miller wrote: Despite my comments? Sigh... Sorry, I thought he had addressed your feedback in v2. IIRC, I had only commented to v2, not v1. I'll wait longer next time. Thank you. :-) MBR, Sergei

Re: [PATCH] cfq: fix starvation of asynchronous writes

2016-09-23 Thread Paolo Valente
> Il giorno 23 set 2016, alle ore 02:59, Glauber Costa > ha scritto: > > While debugging timeouts happening in my application workload (ScyllaDB), I > have > observed calls to open() taking a long time, ranging everywhere from 2 > seconds - > the first ones that are enough to time out my appl

Re: GPU-DRM-TTM: Fine-tuning for several function implementations

2016-09-23 Thread SF Markus Elfring
> Additional to that I don't really see the point in renaming some of the jump > labels, I am suggesting changes for another collateral software evolution. > if you call it "restart" or "lock_restart" doesn't make much difference. Do other identifiers fit better to a specification from the doc

Re: [PATCH net-next v2 1/3] net: ethernet: mediatek: add extension of phy-mode for TRGMII

2016-09-23 Thread Sergei Shtylyov
Hello. On 9/23/2016 6:32 AM, Sean Wang wrote: From: Sean Wang adds PHY-mode "trgmii" as an extension for the operation mode of the PHY interface for PHY_INTERFACE_MODE_TRGMII. .. deleted What? Why? switch (of_get_phy_mode(np)) { + case PHY_INTERFACE_MODE_TRGMII: +

Re: [RFC PATCH 3/4] futex: Throughput-optimized (TO) futexes

2016-09-23 Thread Thomas Gleixner
On Thu, 22 Sep 2016, Waiman Long wrote: > On 09/22/2016 09:32 AM, Thomas Gleixner wrote: > > > + WARN_ON(!pi_state->owner); > > > + if (pi_state->owner) > > > + wake_up_process(pi_state->owner); > > And what handles or sanity checks the state-

Re: [Xen-devel] [PATCH v3 2/3] xen/pciback: avoid multiple entries in slot list

2016-09-23 Thread David Vrabel
On 22/09/16 22:02, Boris Ostrovsky wrote: > On 09/22/2016 04:45 AM, Juergen Gross wrote: >> The Xen pciback driver has a list of all pci devices it is ready to >> seize. There is no check whether a to be added entry already exists. >> While this might be no problem in the common case it might confu

[PATCH 4.7 141/184] powerpc/32: Fix again csum_partial_copy_generic()

2016-09-23 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy commit 8540571e01f973d321b0821f4f32ed6e9ae8263c upstream. Commit 7aef4136566b0 ("powerpc32: rewrite csum_partial_copy_generic() based on copy_tofrom_user()") introduced a bug w

Re: [PATCH V6 3/5] PCI: thunder-pem: Allow to probe PEM-specific register range for ACPI case

2016-09-23 Thread Lorenzo Pieralisi
[+ Zhang Rui] On Thu, Sep 22, 2016 at 05:10:42PM -0500, Bjorn Helgaas wrote: > On Thu, Sep 22, 2016 at 01:31:01PM -0500, Bjorn Helgaas wrote: > > On Thu, Sep 22, 2016 at 01:44:46PM +0100, Lorenzo Pieralisi wrote: > > > On Thu, Sep 22, 2016 at 11:10:13AM +, Gabriele Paoloni wrote: > > > > Hi Lo

RE: ATA failure regression

2016-09-23 Thread Bharat Kumar Gogada
> Hi All, > > Resending this wider audience > > Currently I am working on AMD future platform. I am hitting the same bug of > ATA Failure Regression reported in past. > (https://patchwork.kernel.org/patch/6875661/) or > http://lkml.iu.edu/hypermail/linux/kernel/1507.3/01961.html > > I am newbie

Re: [PATCH v3] mmc: sdhci-msm: Add pm_runtime and system PM support

2016-09-23 Thread Ulf Hansson
[...] Is there anything else needed in msm sdhci driver so that the auto tuning is taken care of? >>> >>> >>> I am not familiar with any other than sdhci-esdhc-imx which supports >>> the SDHCI_TUNING_MODE_3. I may be wrong though. >>> >>> In the sdhci-esdhc-imx case, enabling of auto tun

Re: [PATCH] misc/genwqe: ensure zero initialization

2016-09-23 Thread Sebastian Ott
On Thu, 22 Sep 2016, Frank Haverkamp wrote: > > On 12.09.2016, at 20:09, Sebastian Ott wrote: > > Genwqe uses dma_alloc_coherent and depends on zero initialized memory. On > > one occasion it ueses an explicit memset on others it uses un-initialized > > memory. > > > > This bug was covered becaus

Re: [PATCH 1/2] EDAC, altera: Correct EDAC IRQ error message.

2016-09-23 Thread Borislav Petkov
On Thu, Sep 22, 2016 at 05:13:38PM -0500, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Correct the error message sent out in the case of a single > bit error IRQ allocation. > > Signed-off-by: Thor Thayer > --- > drivers/edac/altera_edac.c |2 +- > 1 file changed, 1 inserti

Re: crash by cdc_acm driver in kernels 4.8-rc1/5

2016-09-23 Thread Wim Osterholt
On Thu, Sep 22, 2016 at 04:40:50PM +0200, Oliver Neukum wrote: > > dmesg -c > echo 9 > /proc/sysrq-trigger > modprobe cdc_acm > echo "module cdc_acm +mpf" > /sys/kernel/debug/dynamic_debug/control > > [plug your device in] > > and provide the full output of dmesg after that. That is not possibl

Re: Cherryview wake up events

2016-09-23 Thread Johannes Stezenbach
On Fri, Sep 23, 2016 at 11:19:04AM +0300, Mika Westerberg wrote: > On Wed, Sep 21, 2016 at 11:16:35AM +0200, Johannes Stezenbach wrote: > > There is an ADBG ("TI_DCOVE") in PMI2._STA, so Dollar Cove > > sounds like a good guess. > > David (CC'd) is working on getting the Dollar Cove PMIC driver >

RE: ATA failure regression

2016-09-23 Thread Shah, Nehal-bakulchandra
Hi All, Resending this wider audience Currently I am working on AMD future platform. I am hitting the same bug of ATA Failure Regression reported in past. (https://patchwork.kernel.org/patch/6875661/) or http://lkml.iu.edu/hypermail/linux/kernel/1507.3/01961.html I am newbie to this and beca

Re: [PATCH v2] fs/select: add vmalloc fallback for select(2)

2016-09-23 Thread Vlastimil Babka
On 09/23/2016 11:42 AM, David Laight wrote: > From: Vlastimil Babka >> Sent: 22 September 2016 18:55 > ... >> So in the case of select() it seems like the memory we need 6 bits per file >> descriptor, multiplied by the highest possible file descriptor (nfds) as >> passed >> to the syscall. Accordi

RE: [PATCH v6 1/9] rpmb: add Replay Protected Memory Block (RPMB) subsystem

2016-09-23 Thread Avri Altman
> > Signed-off-by: Tomas Winkler > Signed-off-by: Alexander Usyskin Tested-by: Avri Altman - mmc - full functionality. One issue found that was fixed on V6: patch V6 2/9. - ufs - read & read counter only. Testing is still wip. > +static int rpmb_request_verify(struct rpmb_dev *rdev, struc

Re: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-23 Thread Arnd Bergmann
On Friday, September 23, 2016 12:27:17 AM CEST zhichang.yuan wrote: > For this patch sketch, I have a question. > Do we call pci_address_to_pio in arch_of_address_to_pio to get the > corresponding logical IO port > for LPC?? No, of course not, that would be silly: The argument to pci_address_to

Re: strace lockup when tracing exec in go

2016-09-23 Thread Oleg Nesterov
Sorry for delay, I was offline. I'll try to return to this problem next week, currently I can't even read this thread but at first glance the proposed patch(es) do not look right... On 09/21, Michal Hocko wrote: > > The further investigation shown that the tracer (strace) is stuck > waiting for cr

Re: [RFC PATCH v1 09/28] x86/efi: Access EFI data as encrypted when SEV is active

2016-09-23 Thread Borislav Petkov
On Fri, Sep 23, 2016 at 09:33:00PM +1200, Kai Huang wrote: > How is this even possible? The spec clearly says under SEV only in long mode > or PAE mode guest can control whether memory is encrypted via c-bit, and in > other modes guest will be always in encrypted mode. I was suggesting the hypervi

[PATCHv3 5/5] staging:android:ion: Remove empty release function

2016-09-23 Thread Yannis Damigos
This patch removes the empty function rmem_ion_device_release Signed-off-by: Yannis Damigos --- drivers/staging/android/ion/ion_of.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/android/ion/ion_of.c b/drivers/staging/android/ion/ion_of.c index 49f052c..91c0642 10064

[PATCH v3] arm: dts: zynq: Add MicroZed board support

2016-09-23 Thread Jagan Teki
From: Jagan Teki Added basic dts support for MicroZed board. - UART - SDHCI - Ethernet Cc: Soren Brinkmann Cc: Michal Simek Signed-off-by: Jagan Teki --- Changes for v3: - Add Xilinx copyright Changes for v2: - Add SDHCI - Add Ethernet arch/arm/boot/dts/Makefile

RE: [PATCH v2] fs/select: add vmalloc fallback for select(2)

2016-09-23 Thread David Laight
From: Vlastimil Babka > Sent: 22 September 2016 18:55 ... > So in the case of select() it seems like the memory we need 6 bits per file > descriptor, multiplied by the highest possible file descriptor (nfds) as > passed > to the syscall. According to the man page of select: > > EINVAL nfd

Re: [PATCH 00/14] GPU-DRM-TTM: Fine-tuning for several function implementations

2016-09-23 Thread Christian König
First of all please stop sending your patches as a reply to an earlier and completely unrelated series. Second please prefix all TTM related patches with "drm/ttm:". Additional to that I don't really see the point in renaming some of the jump labels, if you call it "restart" or "lock_restart"

Re: [PATCH] mfd/gpio: move HTC GPIO driver to GPIO subsystem

2016-09-23 Thread Linus Walleij
On Tue, Sep 20, 2016 at 12:33 AM, Russell King - ARM Linux wrote: > On Fri, Sep 16, 2016 at 01:52:50PM +0200, Linus Walleij wrote: >> Russell/ARM SoC: heads-up and ACK request. > > Fine with one exception: > >> diff --git a/arch/arm/mach-sa1100/h3xxx.c b/arch/arm/mach-sa1100/h3xxx.c >> index b1d4f

[PATCH v2 1/2] i2c: octeon: thunderx: Check bus state before starting a transaction

2016-09-23 Thread Jan Glauber
Add an additional status check before starting a transaction. If the check fails wait for some time to tolerate multi-master mode. After the timeout expires trigger the recovery. Signed-off-by: Jan Glauber --- drivers/i2c/busses/i2c-octeon-core.c | 29 + 1 file change

Re: [PATCH] KVM: VMX: refactor global page-sized bitmaps

2016-09-23 Thread Wanpeng Li
2016-09-23 17:35 GMT+08:00 Paolo Bonzini : > > > On 23/09/2016 01:18, Radim Krčmář wrote: >> We've had 10 page-sized bitmaps that were being allocated and freed one >> by one when we could just use a cycle and MSR bitmaps had a lot of >> useless code lying around. >> >> This patch >> * enumerates

Re: [PATCH 00/24] ste_dma40: Fine-tuning for several function implementations

2016-09-23 Thread Linus Walleij
On Sat, Sep 17, 2016 at 5:05 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 17 Sep 2016 16:56:56 +0200 > > Several update suggestions were taken into account > from static source code analysis. All look very nice! Reviewed-by: Linus Walleij Vinod, please apply them all! Yo

[PATCH v2 2/2] i2c: octeon: thunderx: Limit register access retries

2016-09-23 Thread Jan Glauber
Do not infinitely retry register readq and writeq operations in order to not lock up the CPU in case the TWSI gets stuck. Return -ETIMEDOUT in case of a failed data read. For all other cases just return so subsequent operations will fail and trigger the recovery. Signed-off-by: Jan Glauber ---

[PATCH v2 0/2] i2c: octeon: thunderx: Recovery fixes and improvements

2016-09-23 Thread Jan Glauber
Hi Wolfram, here are the remaining two patches with iopoll.h usage and a timed wait before entering the recovery on a failed bus check. thanks, Jan - Jan Glauber (2): i2c: octeon: thunderx: Check bus state before starting a transaction i2c: octeon: thunderx: Limit regist

Re: [PATCH] KVM: VMX: refactor global page-sized bitmaps

2016-09-23 Thread Paolo Bonzini
On 23/09/2016 01:18, Radim Krčmář wrote: > We've had 10 page-sized bitmaps that were being allocated and freed one > by one when we could just use a cycle and MSR bitmaps had a lot of > useless code lying around. > > This patch > * enumerates vmx bitmaps and uses an array to store them > * rep

Re: [PATCH] signals: Avoid unnecessary taking of sighand->siglock

2016-09-23 Thread Oleg Nesterov
On 09/22, Waiman Long wrote: > > This patch is currently only active for 64-bit architectures. Why? > --- a/kernel/signal.c > +++ b/kernel/signal.c > @@ -2485,6 +2485,16 @@ void __set_current_blocked(const sigset_t *newset) > { > struct task_struct *tsk = current; > > + /* > + *

Re: [PATCH] drm/i2c: tda998x: don't register the connector

2016-09-23 Thread Liviu Dudau
On Fri, Sep 23, 2016 at 09:05:50AM +0200, Daniel Vetter wrote: > On Thu, Sep 22, 2016 at 4:14 PM, Brian Starkey wrote: > > On Thu, Sep 22, 2016 at 04:22:40AM -0700, Sean Paul wrote: > >> > >> On Thu, Sep 22, 2016 at 3:51 AM, Russell King - ARM Linux > >> wrote: > >>> > >>> On Thu, Sep 22, 2016 at

Re: [RFC PATCH v1 09/28] x86/efi: Access EFI data as encrypted when SEV is active

2016-09-23 Thread Kai Huang
On 23/09/16 06:37, Borislav Petkov wrote: On Thu, Sep 22, 2016 at 08:23:36PM +0200, Paolo Bonzini wrote: Unless this is part of some spec, it's easier if things are the same in SME and SEV. Yeah, I was pondering over how sprinkling sev_active checks might not be so clean. I'm wondering if we

Re: [PATCH] arm/arm64: KVM: Add support for ARMv8 AArch32 execution state

2016-09-23 Thread Marc Zyngier
On 23/09/16 10:25, Christoffer Dall wrote: > On Fri, Sep 23, 2016 at 03:13:25PM +0800, Alison Wang wrote: >> The ARMv8 architecture supports two execution state, AArch64 and >> AArch32. To support KVM in AArch32 execution state for ARMv8, Cortex-A53 >> and Cortex-A72 need to be added for target-spe

Re: [PATCH tty-next 0/6] Minor devpts cleanups, fixes and enhancments

2016-09-23 Thread Greg Kroah-Hartman
On Thu, Sep 22, 2016 at 01:33:59PM -0500, Eric W. Biederman wrote: > > ebied...@xmission.com (Eric W. Biederman) writes: > > > Greg please apply the following patches to tty-next. If tty-next is not > > the proper tree please let me know and I will take these patches through > > my user namespac

Re: [PATCH v14 2/4] CMDQ: Mediatek CMDQ driver

2016-09-23 Thread Horng-Shyang Liao
Hi Jassi, Please see my inline reply. On Thu, 2016-09-22 at 13:47 +0530, Jassi Brar wrote: > On Mon, Sep 5, 2016 at 7:14 AM, HS Liao wrote: [...] > > +struct cmdq_base *cmdq_register_device(struct device *dev) > > +{ > > + struct cmdq_base *cmdq_base; > > + struct resource res; > > +

Re: [PATCH v14 4/4] CMDQ: save more energy in idle

2016-09-23 Thread Horng-Shyang Liao
On Thu, 2016-09-22 at 13:22 +0530, Jassi Brar wrote: > On Mon, Sep 5, 2016 at 7:14 AM, HS Liao wrote: > > Use clk_disable_unprepare instead of clk_disable to save more energy > > when CMDQ is idle. > > > > Signed-off-by: HS Liao > > --- > > drivers/mailbox/mtk-cmdq.c | 54 > > ++

Re: [RFC][PATCH] dm: Remove dm_bufio_cond_resched()

2016-09-23 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Fri, 23 Sep 2016, Peter Zijlstra wrote: > > On Fri, Sep 23, 2016 at 10:00:37AM +0200, Thomas Gleixner wrote: > > > On Fri, 23 Sep 2016, Peter Zijlstra wrote: > > > > It is, might_sleep() implies might_resched(). In fact, that's all what > > > > PREEMPT_VOLUNTARY is,

Re: [PATCH] huge tmpfs: fix Committed_AS leak

2016-09-23 Thread Kirill A. Shutemov
On Thu, Sep 22, 2016 at 10:37:03AM -0700, Hugh Dickins wrote: > Under swapping load on huge tmpfs, /proc/meminfo's Committed_AS grows > bigger and bigger: just a cosmetic issue for most users, but disabling > for those who run without overcommit (/proc/sys/vm/overcommit_memory 2). > > shmem_unchar

Re: [PATCH] arm/arm64: KVM: Add support for ARMv8 AArch32 execution state

2016-09-23 Thread Christoffer Dall
On Fri, Sep 23, 2016 at 03:13:25PM +0800, Alison Wang wrote: > The ARMv8 architecture supports two execution state, AArch64 and > AArch32. To support KVM in AArch32 execution state for ARMv8, Cortex-A53 > and Cortex-A72 need to be added for target-specific checks. > > Signed-off-by: Alison Wang >

Re: [PATCH 2/2 v4] drm/bridge: adv7511: Enable the audio data and clock pads on adv7533

2016-09-23 Thread Archit Taneja
On 09/17/2016 04:47 AM, John Stultz wrote: From: Srinivas Kandagatla This patch enables the Audio Data and Clock pads to the adv7533 bridge. Without this patch audio can not be played. Cc: David Airlie Cc: Archit Taneja Cc: Laurent Pinchart Cc: Wolfram Sang Cc: Srinivas Kandagatla Cc: "

<    2   3   4   5   6   7   8   >