Re: [PATCH 2/2] mm: warn about allocations which stall for too long

2016-09-29 Thread Tetsuo Handa
Michal Hocko wrote: > From: Michal Hocko > > Currently we do warn only about allocation failures but small > allocations are basically nofail and they might loop in the page > allocator for a long time. Especially when the reclaim cannot make > any progress - e.g. GFP_NOFS

[patch added to 3.12-stable] ARC: uaccess: get_user to zero out dest in cause of fault

2016-09-29 Thread Jiri Slaby
From: Vineet Gupta This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. === commit 05d9d0b96e53c52a113fd783c0c97c830c8dc7af upstream. Al reported potential issue with ARC get_user() as it wasn't clearing out

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Ondrej Zary
On Thursday 29 September 2016, Sinan Kaya wrote: > On 9/28/2016 3:23 PM, Ondrej Zary wrote: > > On Wednesday 28 September 2016 20:22:40 Sinan Kaya wrote: > >> On 9/28/2016 1:02 PM, Ondrej Zary wrote: > Thanks, It sounds like you have more than one machine with similar > > > problems.

Re: [PATCH 2/2] mm: warn about allocations which stall for too long

2016-09-29 Thread Michal Hocko
On Thu 29-09-16 18:02:44, Tetsuo Handa wrote: [...] > > @@ -3650,6 +3652,14 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int > > order, > > if (order > PAGE_ALLOC_COSTLY_ORDER && !(gfp_mask & __GFP_REPEAT)) > > goto nopage; > > > > + /* Make sure we know about

[PATCH 09/10] dm snapshot: Combine substrings for seven error messages

2016-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 29 Sep 2016 09:46:32 +0200 The script "checkpatch.pl" can point information out like the following. WARNING: quoted string split across lines Thus fix the affected source code places. Signed-off-by: Markus Elfring

Re: [PATCH 1/2] mm: consolidate warn_alloc_failed users

2016-09-29 Thread Vlastimil Babka
On 09/29/2016 10:44 AM, Michal Hocko wrote: From: Michal Hocko warn_alloc_failed is currently used from the page and vmalloc allocators. This is a good reuse of the code except that vmalloc would appreciate a slightly different warning message. This is already handled by the

Re: [PATCH 7/8] mm/swap: Add cache for swap slots allocation

2016-09-29 Thread Hillf Danton
On Wednesday, September 28, 2016 1:19 AM Tim Chen wrote [...] > + > +static int alloc_swap_slot_cache(int cpu) > +{ > + struct swap_slots_cache *cache; > + > + cache = _cpu(swp_slots, cpu); > + mutex_init(>alloc_lock); > + spin_lock_init(>free_lock); > + cache->nr = 0; > +

Re: Regression in mobility grouping?

2016-09-29 Thread Vlastimil Babka
On 09/29/2016 04:25 AM, Johannes Weiner wrote: On Wed, Sep 28, 2016 at 11:39:25AM -0400, Johannes Weiner wrote: On Wed, Sep 28, 2016 at 11:00:15AM +0200, Vlastimil Babka wrote: I guess testing revert of 9c0415e could give us some idea. Commit 3a1086f shouldn't result in pageblock marking

Re: [PATCH] MAINTAINERS: update entry for atmel_serial driver

2016-09-29 Thread Nicolas Ferre
Le 29/09/2016 à 08:31, Greg Kroah-Hartman a écrit : > On Wed, Sep 28, 2016 at 05:47:35PM +0200, Nicolas Ferre wrote: >> Change maintainer for the serial driver found on most of the >> Microchip / Atmel MPUs and take advantage of the move to rename >> and reorder the entry. >> I'm happy that

Re: [PATCH v2] drm: tilcdc: add a workaround for failed clk_set_rate()

2016-09-29 Thread Jyri Sarha
On 09/28/16 15:41, Bartosz Golaszewski wrote: > Some architectures don't use the common clock framework and don't > implement all the clk interfaces for every clock. This is the case > for da850-lcdk where clk_set_rate() only works for PLL0 and PLL1. > > Trying to set the clock rate for the LCDC

Re: ATA failure regression

2016-09-29 Thread t...@kernel.org
Hello, On Wed, Sep 28, 2016 at 05:45:08AM +, Shah, Nehal-bakulchandra wrote: > Can someone please help me to debug this issue? The only thing I can do from libata side is disbling msi on the affected platform, but the problem doesn't seem confined to ahci, so probably the right thing to do

[PATCH v3 10/11] clk: Add clk_hw_get_clk() helper API to be used by clk providers

2016-09-29 Thread Rajendra Nayak
Add a helper API that will allow clk providers to turn their clk_hw structures into struct clk pointer. Signed-off-by: Rajendra Nayak --- drivers/clk/clk.c| 6 ++ include/linux/clk-provider.h | 1 + 2 files changed, 7 insertions(+) diff --git

[RFC v3 11/11] clk: qcom: Add basic CPU clock driver for msm8996

2016-09-29 Thread Rajendra Nayak
This is a skeletal CPU clock driver, which adds support for the CPU SS primary as well as secondary/alternate PLLs, and the primary/secondary muxes. This still has support missing for 1. CBF PLL and mux 2. ACD 3. APM Signed-off-by: Rajendra Nayak ---

[PATCH v3 03/11] clk: qcom: handle alpha PLLs with 16bit alpha val registers

2016-09-29 Thread Rajendra Nayak
Some alpha PLLs have support for only a 16bit programable Alpha Value (as against the default 40bits). Add a flag to handle the 16bit alpha registers Signed-off-by: Rajendra Nayak --- drivers/clk/qcom/clk-alpha-pll.c | 24 +---

[PATCH 1/2] mm: consolidate warn_alloc_failed users

2016-09-29 Thread Michal Hocko
From: Michal Hocko warn_alloc_failed is currently used from the page and vmalloc allocators. This is a good reuse of the code except that vmalloc would appreciate a slightly different warning message. This is already handled by the fmt parameter except that "%s: page allocation

[PATCH 2/2] mm: warn about allocations which stall for too long

2016-09-29 Thread Michal Hocko
From: Michal Hocko Currently we do warn only about allocation failures but small allocations are basically nofail and they might loop in the page allocator for a long time. Especially when the reclaim cannot make any progress - e.g. GFP_NOFS cannot invoke the oom killer and

[PATCH 0/2] warn about allocations which stall for too long

2016-09-29 Thread Michal Hocko
Hi, it seems there was no fundamental opposition to my previous RFC [1] so I am sending this again now to be considered for inclusion. I have reworked the patch slightly and made it use the already existing warn_alloc_failed which was updated and renamed to be more generic. This is the patch 1.

Re: [LINUX PATCH] usb: gadget: Configure bulk maxburst through module parameter in gadget zero.

2016-09-29 Thread Krzysztof Opasiak
On 09/29/2016 10:46 AM, Manish Narani wrote: > This patch adds support to configure bulk maxburst through > module parameter. This parameter can be used to modify bulk > maxburst in case if one wants to measure peak Bulk/Isoc-IN/OUT > performance. > If you would like such option to

[PATCH 03/10] dm snapshot: Delete an unnecessary variable initialisation in snapshot_map()

2016-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 29 Sep 2016 08:00:29 +0200 The local variable "pe" will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

[PATCH 04/10] dm snapshot: Rename a jump label in pending_complete()

2016-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 29 Sep 2016 08:18:51 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/md/dm-snap.c | 9 - 1 file changed, 4

[PATCH 05/10] dm snapshot: Delete unnecessary variable initialisations in pending_complete()

2016-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 29 Sep 2016 08:25:47 +0200 Three local variables will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

Re: [PATCHv4 00/57] perf c2c: Add new tool to analyze cacheline contention on NUMA systems

2016-09-29 Thread Peter Zijlstra
On Thu, Sep 22, 2016 at 05:36:28PM +0200, Jiri Olsa wrote: > hi, > sending new version of c2c patches (v3) originally posted in here: > http://lwn.net/Articles/588866/ > > I took the old set and reworked it to fit into current upstream code. > It follows the same logic as original patch and

Re: [PATCH 5/8] pinctrl: aspeed: Enable capture of off-SCU pinmux state

2016-09-29 Thread Andrew Jeffery
On Thu, 2016-09-29 at 16:15 +0930, Joel Stanley wrote: > On Wed, Sep 28, 2016 at 12:20 AM, Andrew Jeffery wrote: > > > > The System Control Unit IP in the Aspeed SoCs is typically where the > > pinmux configuration is found. > > > > But not always. > > > > On the AST2400 and

Re: [PATCH] MAINTAINERS: update entry for atmel_serial driver

2016-09-29 Thread Greg Kroah-Hartman
On Thu, Sep 29, 2016 at 09:37:46AM +0200, Nicolas Ferre wrote: > Le 29/09/2016 à 08:31, Greg Kroah-Hartman a écrit : > > On Wed, Sep 28, 2016 at 05:47:35PM +0200, Nicolas Ferre wrote: > >> Change maintainer for the serial driver found on most of the > >> Microchip / Atmel MPUs and take advantage

Re: [PATCH] gpio: pca953x: add a comment explaining the need for a lockdep subclass

2016-09-29 Thread Wolfram Sang
On Thu, Sep 29, 2016 at 09:56:58AM +0200, Bartosz Golaszewski wrote: > 2016-09-29 8:06 GMT+02:00 Wolfram Sang : > > On Mon, Sep 26, 2016 at 12:00:30PM +0200, Wolfram Sang wrote: > >> On Mon, Sep 26, 2016 at 11:54:15AM +0200, Bartosz Golaszewski wrote: > >> > This is a follow-up

Re: [PATCH 4.7 00/69] 4.7.6-stable review

2016-09-29 Thread Greg Kroah-Hartman
On Thu, Sep 29, 2016 at 01:22:06AM -0700, Kevin Hilman wrote: > kernelci.org bot writes: > > > stable-rc boot: 105 boots: 1 failed, 100 passed with 4 offline > > (v4.7.5-70-g64e4c0f6d4b1) > > > > Full Boot Summary: > >

Re: [PATCH] mm/vmalloc: reduce the number of lazy_max_pages to reduce latency

2016-09-29 Thread Jisheng Zhang
On Thu, 29 Sep 2016 09:18:18 +0100 Chris Wilson wrote: > On Thu, Sep 29, 2016 at 03:34:11PM +0800, Jisheng Zhang wrote: > > On Marvell berlin arm64 platforms, I see the preemptoff tracer report > > a max 26543 us latency at __purge_vmap_area_lazy, this latency is an > > awfully bad for STB. And

Re: [PATCH v12 0/8] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-09-29 Thread wangxiongfeng (C)
for sbsa watchdog part, Tested-by: wangxiongfe...@huawei.com on D05 board. On 2016/9/13 18:38, fu@linaro.org wrote: > From: Fu Wei > > This patchset: > (1)Preparation for adding GTDT support in arm_arch_timer: > 1. Move some enums and marcos to header file;

[PATCH v3 08/11] clk: qcom: mmcc-8996: Add capability flags for some alpha PLLs

2016-09-29 Thread Rajendra Nayak
Flag alpha PLLs which support fsmmode, dynamic update and the ones with latched input interface. Signed-off-by: Rajendra Nayak --- drivers/clk/qcom/mmcc-msm8996.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/clk/qcom/mmcc-msm8996.c

[PATCH v3 01/11] clk: qcom: Add support for alpha pll hwfsm ops

2016-09-29 Thread Rajendra Nayak
Some PLLs can support an HW FSM mode (different from the Votable FSMs, though its the same bit used to enable Votable FSMs as well as HW FSMs) which enables the HW to do the bypass/reset/enable-output-ctrl sequence on its own. So all thats needed from SW is to set the FSM_ENA bit. PLL_ACTIVE_FLAG

[PATCH v3 02/11] clk: qcom: Add support to initialize alpha plls

2016-09-29 Thread Rajendra Nayak
Add a function to do initial configuration of the alpha plls Signed-off-by: Rajendra Nayak --- drivers/clk/qcom/clk-alpha-pll.c | 31 +++ drivers/clk/qcom/clk-alpha-pll.h | 20 2 files changed, 51 insertions(+) diff --git

[PATCH v3 00/11] clk: qcom: PLL updates

2016-09-29 Thread Rajendra Nayak
The series is adding a few things in clk-alpha-pll code which will be needed to model CPU PLLs and also needed by some MMCC PLLs on msm8996 Changes in v3: * Removed all the confusing additions to clk-pll code from v2 * Added patches showing users for the new additions to clk-alpha-pll in mmcc

Re: [PATCH] drm/mediatek: fix a typo

2016-09-29 Thread Matthias Brugger
On 29/09/16 06:01, CK Hu wrote: Acked-by: CK Hu On Thu, 2016-09-29 at 11:22 +0800, Bibby Hsieh wrote: Fix the typo: OD_RELAYMODE->OD_CFG Although it is quite clear what the patch does, could you write one sentence to explain what it does. Maybe explain even which

Re: [PATCH 2/2] Input: add motion-tracking ABS_* bits and docs

2016-09-29 Thread jic23
On 28.09.2016 18:39, Dmitry Torokhov wrote: On Tue, Sep 27, 2016 at 4:38 PM, Roderick Colenbrander wrote: From: Roderick Colenbrander This patch introduces new axes for acceleration and angular velocity. David Herrmann's work served as a

Re: [PATCH] [media] omap3isp: don't call of_node_put

2016-09-29 Thread Laurent Pinchart
Hi Nikolaus, On Thursday 08 Sep 2016 17:48:33 H. Nikolaus Schaller wrote: > of_node_put() has already been called inside of_graph_get_next_endpoint(). > > Otherwise we may get warnings like > > [ 10.118286] omap3isp 480bc000.isp: parsing endpoint > /ocp/isp@480bc000/ports/port@0/endpoint,

Re: [PATCH 4.7 00/69] 4.7.6-stable review

2016-09-29 Thread Greg Kroah-Hartman
On Wed, Sep 28, 2016 at 10:46:08AM -0600, Shuah Khan wrote: > On 09/28/2016 03:04 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.7.6 release. > > There are 69 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.7 00/69] 4.7.6-stable review

2016-09-29 Thread Greg Kroah-Hartman
On Wed, Sep 28, 2016 at 03:44:14PM -0700, Guenter Roeck wrote: > On Wed, Sep 28, 2016 at 11:04:42AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.7.6 release. > > There are 69 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 4.4 00/73] 4.4.23-stable review

2016-09-29 Thread Greg Kroah-Hartman
On Wed, Sep 28, 2016 at 11:44:46AM -0700, kernelci.org bot wrote: > stable-rc boot: 103 boots: 1 failed, 100 passed with 2 offline > (v4.4.22-74-g060fb6041a6c) > > Full Boot Summary: > https://kernelci.org/boot/all/job/stable-rc/kernel/v4.4.22-74-g060fb6041a6c/ > Full Build Summary: >

[PATCH 00/10] dm snapshot: Fine-tuning for several function implementations

2016-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 29 Sep 2016 10:35:43 +0200 Some update suggestions were taken into account from static source code analysis. Markus Elfring (10): Use kmalloc_array() in init_origin_hash() Delete two error messages for a failed memory allocation

[PATCH 02/10] dm snapshot: Delete two error messages for a failed memory allocation

2016-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 28 Sep 2016 22:33:09 +0200 Omit extra messages for a memory allocation failure in this function. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring

[PATCH 07/10] dm snapshot: Delete an unnecessary variable initialisation in merge_callback()

2016-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 29 Sep 2016 09:00:06 +0200 The local variable "b" will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

[PATCH 08/10] dm snapshot: Delete an unnecessary variable initialisation in remove_single_exception_chunk()

2016-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 29 Sep 2016 09:06:37 +0200 The local variable "b" will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

Re: [PATCH] hv: do not lose pending heartbeat vmbus packets

2016-09-29 Thread Vitaly Kuznetsov
Long Li writes: > From: Long Li > > The host keeps sending heartbeat packets independent of guest responding to > them. In some situations, there might be multiple heartbeat packets pending > in the ring buffer. Don't lose them, read them

[PATCH 2/2] powernv: Pass PSSCR value and mask to power9_idle_stop

2016-09-29 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" The power9_idle_stop method currently takes only the requested stop level as a parameter and picks up the rest of the PSSCR bits from a hand-coded macro. This is not a very flexible design, especially when the firmware has the capability to

[PATCH 1/2] powernv:idle: Add IDLE_STATE_ENTER_SEQ_NORET macro

2016-09-29 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" Currently all the low-power idle states are expected to wake up at reset vector 0x100. Which is why the macro IDLE_STATE_ENTER_SEQ that puts the CPU to an idle state and never returns. On ISA_300, when the ESL and EC bits in the PSSCR are zero,

Re: [PATCH v1] mlx4: remove unused fields

2016-09-29 Thread Tariq Toukan
On 28/09/2016 9:00 PM, David Decotigny wrote: From: David Decotigny This also can address following UBSAN warnings: [ 36.640343] [ 36.648772] UBSAN: Undefined behaviour in

Re: drm/mediatek: fixed the calc method of data rate per lane

2016-09-29 Thread CK Hu
Hi, Jitao: Sorry for late reply. Some comments inline. On Fri, 2016-08-26 at 14:10 +0800, Jitao Shi wrote: > Tune dsi frame rate by pixel clock, dsi add some extra signal (i.e. Tlpx, > Ths-prepare, Ths-zero, Ths-trail,Ths-exit) when enter and exit LP mode, this > signal will cause h-time larger

Re: [PATCH] gpio: pca953x: add a comment explaining the need for a lockdep subclass

2016-09-29 Thread Bartosz Golaszewski
2016-09-29 8:06 GMT+02:00 Wolfram Sang : > On Mon, Sep 26, 2016 at 12:00:30PM +0200, Wolfram Sang wrote: >> On Mon, Sep 26, 2016 at 11:54:15AM +0200, Bartosz Golaszewski wrote: >> > This is a follow-up to commit 559b46990e76 ("gpio: pca953x: fix an >> > incorrect lockdep

Re: [PATCH] mm: exclude isolated non-lru pages from NR_ISOLATED_ANON or NR_ISOLATED_FILE.

2016-09-29 Thread Michal Hocko
On Wed 28-09-16 17:31:03, ming.ling wrote: > Non-lru pages don't belong to any lru, so accounting them to > NR_ISOLATED_ANON or NR_ISOLATED_FILE doesn't make any sense. > It may misguide functions such as pgdat_reclaimable_pages and > too_many_isolated. OK, but it would be better to mention that

Re: [PATCH v3 7/7] i2c: bcm2835: Add support for dynamic clock

2016-09-29 Thread Martin Sperl
On 28.09.2016 23:24, Eric Anholt wrote: Noralf Trønnes writes: Support a dynamic clock by reading the frequency and setting the divisor in the transfer function instead of during probe. Is this fixing some particular case you could note in the commit message? As is, it

Re: [PATCH v2] treewide: fix a bunch of typos

2016-09-29 Thread Jiri Kosina
On Thu, 8 Sep 2016, Masahiro Yamada wrote: > BTW, is this patch acceptable for your tree? Huge cross-subsystems patches like this are usually pain to carry, as they are likely to produce conflicts left and right. The best course of action here probably is to send this to Linus after -rc1

Re: [RFC PATCH 00/11] pci: support for configurable PCI endpoint

2016-09-29 Thread Kishon Vijay Abraham I
Hi Arnd, On Monday 26 September 2016 11:38 AM, Kishon Vijay Abraham I wrote: > Hi Arnd, > > On Thursday 22 September 2016 07:04 PM, Arnd Bergmann wrote: >> On Thursday, September 15, 2016 2:03:05 PM CEST Kishon Vijay Abraham I wrote: >>> On Wednesday 14 September 2016 06:55 PM, Arnd Bergmann

[PATCH 01/10] dm snapshot: Use kmalloc_array() in init_origin_hash()

2016-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 28 Sep 2016 22:20:08 +0200 * Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus use the corresponding function "kmalloc_array". This issue was

[PATCH 06/10] dm snapshot: Delete an unnecessary variable initialisation in snapshot_ctr()

2016-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 29 Sep 2016 08:38:29 +0200 The local variable "r" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

[PATCH 10/10] dm snapshot: Delete five unwanted spaces behind "list_for_each_entry"

2016-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 29 Sep 2016 10:14:32 +0200 The script "checkpatch.pl" can point information out like the following. WARNING: space prohibited between function name and open parenthesis '(' Thus fix the affected source code places. Signed-off-by:

Re: [PATCH] drm/sti: mark symbols static where possible

2016-09-29 Thread Daniel Vetter
On Wed, Sep 28, 2016 at 09:27:13AM +0200, Vincent ABRIOU wrote: > Yes true, patch from Ville > https://lists.freedesktop.org/archives/dri-devel/2016-September/118631.html; > already fix patches sent by Baoyou. Yeah, I resolved those conflicts by simply taking the code from the sti tree. I'll send

Re: [Nbd] [PATCH][V3] nbd: add multi-connection support

2016-09-29 Thread Wouter Verhelst
Hi Josef, On Wed, Sep 28, 2016 at 04:01:32PM -0400, Josef Bacik wrote: > NBD can become contended on its single connection. We have to serialize all > writes and we can only process one read response at a time. Fix this by > allowing userspace to provide multiple connections to a single nbd

[PATCH v2] usb: ohci-at91: Use descriptor-based gpio APIs

2016-09-29 Thread Wenyou Yang
Use the descriptor-based interface to manipulate GPIOs, instead of the legacy integer-based interface. Signed-off-by: Wenyou Yang --- Changes in v2: - Retain the vbus_pin_active_low[] member and its manipulations. drivers/usb/host/ohci-at91.c | 121

Re: [PATCH] ramoops: add pdata NULL check to ramoops_probe

2016-09-29 Thread Geliang Tang
On Wed, Sep 28, 2016 at 12:45:13PM -0700, Kees Cook wrote: > On Wed, Sep 28, 2016 at 3:32 AM, Geliang Tang wrote: > > When the pdata is NULL, ramoops_probe() segfaults. So this patch adds > > a NULL check to it. > > While I don't mind the check, is this even possible? A

Re: [v3,4/5] powerpc/pm: support deep sleep feature on T104x

2016-09-29 Thread C.H. Zhao
From: Scott Wood Sent: Thursday, September 29, 2016 4:03 AM To: C.H. Zhao Cc: linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org; z.chen...@gmail.com; Jason Jin Subject: Re: [v3,4/5] powerpc/pm: support deep sleep feature on T104x   On Tue, 2016-09-27 at 11:05

[LINUX PATCH] usb: gadget: Configure data verification through module parameter in gadget zero

2016-09-29 Thread Manish Narani
This patch adds support to configure data verification through module parameter. This parameter can be used to disable data verification in case if one wants to measure peak Bulk/Isoc-IN/OUT performance Signed-off-by: Manish Narani ---

[PATCH 3.12 011/119] usb: define USB_SPEED_SUPER_PLUS speed for SuperSpeedPlus USB3.1 devices

2016-09-29 Thread Jiri Slaby
From: Mathias Nyman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8a1b2725a60d3267135c15e80984b4406054f650 upstream. Add a new USB_SPEED_SUPER_PLUS device speed, and make sure usb core can handle the new

[PATCH 3.12 017/119] USB: serial: ftdi_sio: add device ID for WICED USB UART dev board

2016-09-29 Thread Jiri Slaby
From: "Sheng-Hui J. Chu" 3.12-stable review patch. If anyone has any objections, please let me know. === commit ae34d12cc1e212ffcd92e069030e54dae69c832f upstream. BCM20706V2_EVAL is a WICED dev board designed with FT2232H USB 2.0 UART/FIFO IC. To support

[PATCH 3.12 009/119] PCI: Limit config space size for Netronome NFP4000

2016-09-29 Thread Jiri Slaby
From: Simon Horman 3.12-stable review patch. If anyone has any objections, please let me know. === commit c2e771b02792d222cbcd9617fe71482a64f52647 upstream. Like the NFP6000, the NFP4000 as an erratum where reading/writing to PCI config space addresses

[PATCH 3.12 060/119] timekeeping: Cap array access in timekeeping_debug

2016-09-29 Thread Jiri Slaby
From: John Stultz 3.12-stable review patch. If anyone has any objections, please let me know. === commit a4f8f6667f099036c88f231dcad4cf233652c824 upstream. It was reported that hibernation could fail on the 2nd attempt, where the system hangs at

[PATCH 3.12 057/119] drm: Reject page_flip for !DRIVER_MODESET

2016-09-29 Thread Jiri Slaby
From: Daniel Vetter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6f00975c619064a18c23fd3aced325ae165a73b9 upstream. Somehow this one slipped through, which means drivers without modeset support can be oopsed (since

[PATCH 3.12 010/119] usb: dwc3: gadget: increment request->actual once

2016-09-29 Thread Jiri Slaby
From: Felipe Balbi 3.12-stable review patch. If anyone has any objections, please let me know. === commit c7de573471832dff7d31f0c13b0f143d6f017799 upstream. When using SG lists, we would end up setting request->actual to: num_mapped_sgs *

[PATCH 3.12 008/119] PCI: Add Netronome NFP4000 PF device ID

2016-09-29 Thread Jiri Slaby
From: Simon Horman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 69874ec233871a62e1bc8c89e643993af93a8630 upstream. Add the device ID for the PF of the NFP4000. The device ID for the VF, 0x6003, is already

[PATCH 3.12 007/119] PCI: Limit config space size for Netronome NFP6000 family

2016-09-29 Thread Jiri Slaby
From: "Jason S. McMullan" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9f33a2ae59f24452c1076749deb615bccd435ca9 upstream. The NFP6000 has an erratum where reading/writing to PCI config space addresses above

[PATCH 3.12 058/119] drm/msm: fix use of copy_from_user() while holding spinlock

2016-09-29 Thread Jiri Slaby
From: Rob Clark 3.12-stable review patch. If anyone has any objections, please let me know. === commit 89f82cbb0d5c0ab768c8d02914188aa2211cd2e3 upstream. Use instead __copy_from_user_inatomic() and fallback to slow-path where we drop and re-aquire the lock in

[PATCH 3.12 059/119] xfs: fix superblock inprogress check

2016-09-29 Thread Jiri Slaby
From: Dave Chinner 3.12-stable review patch. If anyone has any objections, please let me know. === commit f3d7ebdeb2c297bd26272384e955033493ca291c upstream. >From inspection, the superblock sb_inprogress check is done in the verifier and triggered only for

[PATCH 3.12 045/119] timers: Use proper base migration in add_timer_on()

2016-09-29 Thread Jiri Slaby
From: Tejun Heo 3.12-stable review patch. If anyone has any objections, please let me know. === commit 22b886dd1018093920c4250dee2a9a3cb7cff7b8 upstream. Regardless of the previous CPU a timer was on, add_timer_on() currently simply sets timer->flags to the new

[PATCH 3.12 066/119] ALSA: timer: fix NULL pointer dereference on memory allocation failure

2016-09-29 Thread Jiri Slaby
From: Vegard Nossum 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8ddc05638ee42b18ba4fe99b5fb647fa3ad20456 upstream. I hit this with syzkaller: kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be

[PATCH 3.12 072/119] mISDN: Support DR6 indication in mISDNipac driver

2016-09-29 Thread Jiri Slaby
From: "Maciej S. Szmigiero" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1e1589ad8b5cb5b8a6781ba5850cf710ada0e919 upstream. According to figure 39 in PEB3086 data sheet, version 1.4 this indication replaces DR

[PATCH 3.12 070/119] Input: ili210x - fix permissions on "calibrate" attribute

2016-09-29 Thread Jiri Slaby
From: Dmitry Torokhov 3.12-stable review patch. If anyone has any objections, please let me know. === commit b27c0d0c3bf3073e8ae19875eb1d3755c5e8c072 upstream. "calibrate" attribute does not provide "show" methods and thus we should not mark it as

[PATCH 3.12 040/119] stb6100: fix buffer length check in stb6100_write_reg_range()

2016-09-29 Thread Jiri Slaby
From: Alexander Shiyan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7e6bd12fb77b0067df13fb3ba3fadbdff2945396 upstream. We are checking sizeof() the wrong variable! Signed-off-by: Alexander Shiyan

[PATCH 3.12 068/119] cpufreq: Fix GOV_LIMITS handling for the userspace governor

2016-09-29 Thread Jiri Slaby
From: Sai Gurrappadi 3.12-stable review patch. If anyone has any objections, please let me know. === commit e43e94c1eda76dabd686ddf6f7825f54d747b310 upstream. Currently, the userspace governor only updates frequency on GOV_LIMITS if policy->cur falls

[PATCH] Adding Support for Coresight Components on Zynq 7000.

2016-09-29 Thread Muhammad Abdul WAHAB
The Coresight components are present on the Zynq SoC but the corresponding device tree entries are missing. This patch adds device tree entries for coresight components while explaining how it was done in order to allow porting towards other boards easily. By adding the entries for Coresight

[PATCH 3.12 031/119] USB: fix typo in wMaxPacketSize validation

2016-09-29 Thread Jiri Slaby
From: Alan Stern 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6c73358c83ce870c0cf32413e5cadb3b9a39c606 upstream. The maximum value allowed for wMaxPacketSize of a high-speed interrupt endpoint is 1024 bytes, not

[PATCH 3.12 027/119] fs/seq_file: fix out-of-bounds read

2016-09-29 Thread Jiri Slaby
From: Vegard Nossum 3.12-stable review patch. If anyone has any objections, please let me know. === commit 088bf2ff5d12e2e32ee52a4024fec26e582f44d3 upstream. seq_read() is a nasty piece of work, not to mention buggy. It has (I think) an old bug which

[PATCH 3.12 026/119] gpio: Fix OF build problem on UM

2016-09-29 Thread Jiri Slaby
From: Linus Walleij 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 upstream. The UserMode (UM) Linux build was failing in gpiolib-of as it requires ioremap()/iounmap() to

[PATCH 3.12 028/119] Input: i8042 - break load dependency between atkbd/psmouse and i8042

2016-09-29 Thread Jiri Slaby
From: Dmitry Torokhov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4097461897df91041382ff6fcd2bfa7ee6b2448c upstream. As explained in 1407814240-4275-1-git-send-email-de...@microsoft.com we have a hard load

[PATCH 3.12 030/119] crypto: nx - off by one bug in nx_of_update_msc()

2016-09-29 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit e514cc0a492a3f39ef71b31590a7ef67537ee04b upstream. The props->ap[] array is defined like this: struct alg_props

Re: [PATCH 00/10] ARM: dts: berlin: fix dtc warnings

2016-09-29 Thread Jisheng Zhang
Hi Sebastian, On Wed, 28 Sep 2016 21:40:21 +0200 Sebastian Hesselbarth wrote: > On 06.09.2016 10:40, Jisheng Zhang wrote: > > This is a clean up series to fix berlin arm platforms dtc warnings. > > Firstly we remove skeleton.dtsi inclusion. Then add missing unit name > > of /soc node and /memory

[PATCH 1/2] f2fs: fix to commit bio cache after flushing node pages

2016-09-29 Thread Chao Yu
In sync_node_pages, we won't check and commit last merged pages in private bio cache of f2fs, as these pages were taged as writeback, someone who is waiting for writebacking of the page will be blocked until the cache was committed by someone else. We need to commit node type bio cache to avoid

[PATCH 3.12 021/119] s390/dasd: fix hanging device after clear subchannel

2016-09-29 Thread Jiri Slaby
From: Stefan Haberland 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9ba333dc55cbb9523553df973adb3024d223e905 upstream. When a device is in a status where CIO has killed all I/O by itself the interrupt for a clear

[PATCH 3.12 032/119] USB: serial: mos7720: fix non-atomic allocation in write path

2016-09-29 Thread Jiri Slaby
From: Alexey Khoroshilov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5a5a1d614287a647b36dff3f40c2b0ceabbc83ec upstream. There is an allocation with GFP_KERNEL flag in mos7720_write(), while it may be called from

[PATCH 3.12 034/119] staging: comedi: daqboard2000: bug fix board type matching code

2016-09-29 Thread Jiri Slaby
From: Ian Abbott 3.12-stable review patch. If anyone has any objections, please let me know. === commit 80e162ee9b31d77d851b10f8c5299132be1e120f upstream. `daqboard2000_find_boardinfo()` is supposed to check if the DaqBoard/2000 series model is supported, based

[PATCH 3.12 036/119] Revert "can: fix handling of unmodifiable configuration options fix"

2016-09-29 Thread Jiri Slaby
From: Greg Kroah-Hartman 3.12-stable review patch. If anyone has any objections, please let me know. === This reverts commit ded1c127d6dc1a1827f3ff657a4cb7edd646092e which was bce271f255dae8335dc4d2ee2c4531e09cc67f5a upstream. It was applied

[PATCH 2/2] f2fs: don't submit irrelevant page

2016-09-29 Thread Chao Yu
While we call ->writepages, there are two cases: a. we didn't writeout any dirty pages, since they are writebacked by other thread concurrently. b. we writeout dirty pages, and have already submitted bio to block layer. In these cases, we don't need to do additional bio flushing unnecessarily, it

[PATCH 3.12 029/119] Input: i8042 - set up shared ps2_cmd_mutex for AUX ports

2016-09-29 Thread Jiri Slaby
From: Dmitry Torokhov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 47af45d684b5f3ae000ad448db02ce4f13f73273 upstream. The commit 4097461897df ("Input: i8042 - break load dependency ...") correctly set up

Re: [PATCH v3 0/4] implement vcpu preempted check

2016-09-29 Thread Christian Borntraeger
On 09/29/2016 12:40 PM, Christian Borntraeger wrote: > On 09/29/2016 12:23 PM, Christian Borntraeger wrote: >> On 09/29/2016 12:10 PM, Peter Zijlstra wrote: >>> On Thu, Jul 21, 2016 at 07:45:10AM -0400, Pan Xinhui wrote: change from v2: no code change, fix typos, update some comments

Re: [PATCH 01/10] dm snapshot: Use kmalloc_array() in init_origin_hash()

2016-09-29 Thread Paul Bolle
Andy, Joe, On Thu, 2016-09-29 at 11:07 +0200, SF Markus Elfring wrote: > * Multiplications for the size determination of memory allocations >   indicated that array data structures should be processed. >   Thus use the corresponding function "kmalloc_array". > >   This issue was detected by

[PATCH] mfd: lpss: Fix Intel Kaby Lake PCH-H properties

2016-09-29 Thread Jarkko Nikula
There are a few issues on Intel Kaby Lake PCH-H properties added by commit a6a576b78e09 ("mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs"): - Input clock of I2C controller on Intel Kaby Lake PCH-H is 120 MHz not 133 MHz. This was probably copy-paste error from Intel Broxton I2C properties. -

Re: [PATCH] mos7840: fix chars_in_buffer() return value

2016-09-29 Thread Johan Hovold
On Sat, Sep 24, 2016 at 06:00:57PM +0300, Stas Sergeev wrote: > The TIOCOUTQ ioctl calls chars_in_buffer(), and some apps depend on > a correct behaviour of that. > mos7840 implements it wrongly: if you write just one char, TIOCOUTQ > will return 32. > This patch should fix it by accounting the

[PATCH v1] usb: ohci-at91: Set RemoteWakeupConnected bit explicitly.

2016-09-29 Thread Wenyou Yang
The reset value of RWC is 0, set RemoteWakeupConnected bit explicitly before calling ohci_run, it also fixes the issue that the mass storage stick connected wasn't suspended when the system suspend. Signed-off-by: Wenyou Yang --- drivers/usb/host/ohci-at91.c | 9

Re: [PATCH v3 0/4] implement vcpu preempted check

2016-09-29 Thread Peter Zijlstra
On Thu, Jul 21, 2016 at 07:45:10AM -0400, Pan Xinhui wrote: > change from v2: > no code change, fix typos, update some comments > > change from v1: > a simplier definition of default vcpu_is_preempted > skip mahcine type check on ppc, and add config. remove dedicated macro. >

[PATCH v2 1/1] virtio: update balloon size in balloon "probe"

2016-09-29 Thread Denis V. Lunev
From: Konstantin Neumoin The following commit 'fad7b7b27b6a (virtio_balloon: Use a workqueue instead of "vballoon" kthread)' has added a regression. Original code with kthread starts the thread inside probe and checks the necessity to update balloon inside the thread

Re: [PATCH v3 0/4] implement vcpu preempted check

2016-09-29 Thread Christian Borntraeger
On 09/29/2016 12:10 PM, Peter Zijlstra wrote: > On Thu, Jul 21, 2016 at 07:45:10AM -0400, Pan Xinhui wrote: >> change from v2: >> no code change, fix typos, update some comments >> >> change from v1: >> a simplier definition of default vcpu_is_preempted >> skip mahcine type check on

[PATCH 3.12 013/119] usb: xhci: Fix panic if disconnect

2016-09-29 Thread Jiri Slaby
From: Jim Lin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 88716a93766b8f095cdef37a8e8f2c93aa233b21 upstream. After a device is disconnected, xhci_stop_device() will be invoked in xhci_bus_suspend(). Also the

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