Re: [PATCH 4/5] thermal: rockchip: optimize the conversion table

2016-11-22 Thread Brian Norris
On Tue, Nov 22, 2016 at 08:34:47PM +0800, Caesar Wang wrote: > In order to support the valid temperature can conver to analog value. > The rockchip thermal has not supported the all valid temperature. > > For example: > In some cases, we need adjust the trip point. > $cd /sys/class/thermal/thermal

Re: drivers/bluetooth/dtl1_cs.c:559: bad if statement ?

2016-11-22 Thread Marcel Holtmann
Hi David, > drivers/bluetooth/dtl1_cs.c:559:32: warning: logical ‘or’ of collectively > exhaustive tests is always true [-Wlogical-op] > > Source code is > >if ((p_dev->resource[1]->end) || (p_dev->resource[1]->end < 8)) >return -ENODEV; > > Maybe better code > >if ((p_dev->re

Re: [PATCH] Staging: media: davinci_vpfe: - Fix for memory leak if

2016-11-22 Thread Laurent Pinchart
Hi Shailendra, Thank you for the patch. I think the subject line is incomplete. On Friday 11 Nov 2016 14:21:41 Shailendra Verma wrote: > From: "Shailendra Verma" > > Fix to avoid possible memory leak if the decoder initialization > got failed.Free the allocated memory for file handle object >

Re: [PATCH 3/5] thermal: rockchip: fixes invalid temperature case

2016-11-22 Thread Brian Norris
On Tue, Nov 22, 2016 at 12:57:37PM -0800, Brian Norris wrote: > On Tue, Nov 22, 2016 at 08:34:46PM +0800, Caesar Wang wrote: > > The temp_to_code function will return 0 when we set the trip points value > > or valid temperature. > > I'm not quite sure what you mean by "when we set the trip points

Re: [PATCH] btusb: fix zero BD address problem during stress test

2016-11-22 Thread Marcel Holtmann
Hi Amitkumar, >> From: Amitkumar Karwar [mailto:akar...@marvell.com] >> Sent: Tuesday, October 18, 2016 6:27 PM >> To: linux-blueto...@vger.kernel.org >> Cc: mar...@holtmann.org; linux-kernel@vger.kernel.org; Cathy Luo; >> Nishant Sarmukadam; Ganapathi Bhat; Amitkumar Karwar >> Subject: [PATCH] bt

[PATCH v2 2/2] mmc: sdhci-pci: Use ACPI to get max frequency for Intel byt sdio controller sub-vended by NI

2016-11-22 Thread Zach Brown
On NI 9037 boards the max SDIO frequency is limited by trace lengths and other layout choices. The max SDIO frequency is stored in an ACPI table. The driver reads the ACPI entry MXFQ during sdio_probe_slot and sets the f_max field of the host. Signed-off-by: Nathan Sullivan Reviewed-by: Jaeden A

Re: [PATCH] Staging:media:davinci_vpfe: used devm_kzalloc in place of kzalloc

2016-11-22 Thread Laurent Pinchart
Hi Julia, On Wednesday 02 Nov 2016 07:24:29 Julia Lawall wrote: > On Wed, 2 Nov 2016, Nadim Almas wrote: > > Switch to resource-managed function devm_kzalloc instead > > of kzolloc and remove unneeded kzfree > > > > Also, remove kzfree in probe function and remove > > function,vpfe_remove as it

Re: [PATCH] NFSv4.x: hide array-bounds warning

2016-11-22 Thread Anna Schumaker
Thanks, Arnd! I'll send it for 4.9 Anna On 11/22/2016 03:50 PM, Arnd Bergmann wrote: > A correct bugfix introduced a harmless warning that shows up with gcc-7: > > fs/nfs/callback.c: In function 'nfs_callback_up': > fs/nfs/callback.c:214:14: error: array subscript is outside array bounds > [-W

Re: [PATCH 00/11] hisi_sas: some fixes, improvements, and new features

2016-11-22 Thread Martin K. Petersen
> "John" == John Garry writes: John, John> Are you happy with this patchset now that I've got an external John> review? Zhangfei Geo asked a question about patch 1/11 that has yet to be answered. Patch 5/11 is still unreviewed. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] drm: check for NULL parameter in exported drm_get_format_name() function.

2016-11-22 Thread Rob Clark
On Tue, Nov 22, 2016 at 1:47 PM, Liviu Dudau wrote: > On Tue, Nov 22, 2016 at 01:15:08PM -0500, Sean Paul wrote: >> On Tue, Nov 22, 2016 at 1:06 PM, Ville Syrjälä >> wrote: >> > On Tue, Nov 22, 2016 at 12:35:53PM -0500, Rob Clark wrote: >> >> On Tue, Nov 22, 2016 at 12:31 PM, Ville Syrjälä >> >>

Re: 4.8.8 kernel trigger OOM killer repeatedly when I have lots of RAM that should be free

2016-11-22 Thread Simon Kirby
On Tue, Nov 22, 2016 at 05:14:02PM +0100, Vlastimil Babka wrote: > On 11/22/2016 05:06 PM, Marc MERLIN wrote: > > On Mon, Nov 21, 2016 at 01:56:39PM -0800, Marc MERLIN wrote: > >> On Mon, Nov 21, 2016 at 10:50:20PM +0100, Vlastimil Babka wrote: > 4.9rc5 however seems to be doing better, and i

Re: [PATCH v3 05/11] pwm: imx: Move PWMv2 software reset code to a separate function

2016-11-22 Thread Stefan Agner
On 2016-11-01 00:10, Lukasz Majewski wrote: > The software reset code has been extracted from imx_pwm_config_v2 function > and moved to new one - imx_pwm_sw_reset(). > > This change reduces the overall size of imx_pwm_config_v2() and prepares > it for atomic PWM operation. > > Suggested-by: Stefa

Re: [PATCH v3 06/11] pwm: imx: Move PWMv2 wait for fifo slot code to a separate function

2016-11-22 Thread Stefan Agner
On 2016-11-01 00:10, Lukasz Majewski wrote: > The code, which waits for fifo slot, has been extracted from > imx_pwm_config_v2 function and moved to new one - imx_pwm_wait_fifo_slot(). > > This change reduces the overall size of imx_pwm_config_v2() and prepares > it for atomic PWM operation. > >

Re: [PATCH v3 07/11] pwm: imx: Provide atomic PWM support for i.MX PWMv2

2016-11-22 Thread Stefan Agner
On 2016-11-01 00:10, Lukasz Majewski wrote: > This commit provides apply() callback implementation for i.MX's PWMv2. > > Suggested-by: Stefan Agner > Suggested-by: Boris Brezillon > Signed-off-by: Lukasz Majewski > Reviewed-by: Boris Brezillon > --- > Changes for v3: > - Remove ipg clock enabl

[PATCH v3] sparc64: Multi-page size support

2016-11-22 Thread Nitin Gupta
Add support for using multiple hugepage sizes simultaneously on mainline. Currently, support for 256M has been added which can be used along with 8M pages. Page tables are set like this (e.g. for 256M page): VA + (8M * x) -> PA + (8M * x) (sz bit = 256M) where x in [0, 31] and TSB is set simi

Re: [PATCH] scsi: pmcraid: Add missing resource releases

2016-11-22 Thread Martin K. Petersen
> "Quentin" == Quentin Lambert writes: Quentin> Most error branches following the call to pmcraid_get_free_cmd Quentin> contain a call to pmcraid_return_cmd. This patch add these Quentin> calls where they are missing. Quentin> Moreover, most error branches following the call to Quentin> clas

Re: [net] 34fad54c25: kernel BUG at include/linux/skbuff.h:1935!

2016-11-22 Thread Linus Torvalds
David, Eric, what's the situation on this issue? The bisection looks a bit odd, but the commit in question does end up changing the key_control->thoff value for the failure case, so maybe that in turn ends up screwing up a later skb_pull. I'm not seeing anything that might fix this in the last n

[PATCH] nvmem: fix nvmem_cell_read() return type doc

2016-11-22 Thread Brian Norris
nvmem_cell_read() returns void *, not char *. This is a cleanup that got left out of commit a6c50912508d ("nvmem: Declare nvmem_cell_read() consistently"). Signed-off-by: Brian Norris --- drivers/nvmem/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/nvmem/c

Re: [PATCH] block,blkcg: use __GFP_NOWARN for best-effort allocations in blkcg

2016-11-22 Thread Linus Torvalds
On Tue, Nov 22, 2016 at 8:48 AM, Tejun Heo wrote: > > Hello, > > On Tue, Nov 22, 2016 at 04:47:49PM +0100, Vlastimil Babka wrote: > > Thanks. Makes me wonder whether we should e.g. add __GFP_NOWARN to > > GFP_NOWAIT globally at some point. > > Yeah, that makes sense. The caller is explicitly sayi

Re: [PATCH v3 11/11] pwm: imx: Add polarity inversion support to i.MX's PWMv2

2016-11-22 Thread Stefan Agner
On 2016-11-01 00:10, Lukasz Majewski wrote: > With this patch the polarity settings for i.MX's PWMv2 is now supported > on top of atomic PWM setting Nit: Try to use imperative, e.g. "Update the driver to support" (see also Documentation/SubmittingPatches). I prefer to have the documentation a

Re: [PATCH v1 1/3] kvm: svm: Add support for additional SVM NPF error codes

2016-11-22 Thread Tom Lendacky
On 11/21/2016 9:12 AM, Paolo Bonzini wrote: > > > On 14/11/2016 23:15, Brijesh Singh wrote: >> From: Tom Lendacky >> >> AMD hardware adds two additional bits to aid in nested page fault handling. >> >> Bit 32 - NPF occurred while translating the guest's final physical address >> Bit 33 - NPF occ

[PATCH] Documentation: update path in lib/Kconfig.debug

2016-11-22 Thread Alexandre Belloni
The path to a few documentation files have changed since the switch to Sphinx. Point to the proper files. Signed-off-by: Alexandre Belloni --- lib/Kconfig.debug | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index b01e547d4d04

Re: Enabling peer to peer device transactions for PCIe devices

2016-11-22 Thread Sagalovitch, Serguei
> I don't think we should be using numa distance to reverse engineer a > certain allocation behavior.  The latency data should be truthful, but > you're right we'll need a mechanism to keep general purpose > allocations out of that range by default.  Just to clarify: Do you propose/thinking to uti

Re: [PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes

2016-11-22 Thread David Lechner
On 11/15/2016 05:00 AM, Bartosz Golaszewski wrote: Add the nodes for the MSTPRI configuration and DDR2/mDDR memory controller drivers to da850.dtsi. Signed-off-by: Bartosz Golaszewski --- v1 -> v2: - moved the priority controller node above the cfgchip node - renamed added nodes to better refle

Re: linux-next: build warning after merge of the scsi tree

2016-11-22 Thread Martin K. Petersen
> "Stephen" == Stephen Rothwell writes: Stephen, Stephen> drivers/scsi/hpsa.c: In function 'hpsa_slave_alloc': Stephen> drivers/scsi/hpsa.c:2033:5: warning: 'sd' may be used Stephen> uninitialized in this function [-Wmaybe-uninitialized] Stephen> if (!sd) Stephen> ^ Stephen> Introduc

Re: [net] 34fad54c25: kernel BUG at include/linux/skbuff.h:1935!

2016-11-22 Thread Eric Dumazet
On Tue, Nov 22, 2016 at 2:04 PM, Linus Torvalds wrote: > David, Eric, > > what's the situation on this issue? The bisection looks a bit odd, > but the commit in question does end up changing the key_control->thoff > value for the failure case, so maybe that in turn ends up screwing up > a later s

Re: [PATCH v1 1/3] kvm: svm: Add support for additional SVM NPF error codes

2016-11-22 Thread Paolo Bonzini
On 22/11/2016 23:15, Tom Lendacky wrote: > > 2) what bit is set if the processor is reading the PDPTEs of a 32-bit > > PAE guest? > > I believe that bit 33 will be set. The PDPE's are considered guest > tables and are read during a guest table walk (see APM vol2 section > 15.25.10). Note that t

List pre vas

2016-11-22 Thread Paní KLeung
Ahoj. Dobre rano, a jak to delate? Jen rychly jedno, je tu oficialni prilezitosti bych chtel diskutovat s vami soukrome. Ocenil bych vasi rychlou reakci tady na mem osobnim soukromeho e-mailu nize pro dalsi komunikaci. S pratelskym pozdravem, Paní Ko May Leung email: kmyleun...@gmail.

Re: [net] 34fad54c25: kernel BUG at include/linux/skbuff.h:1935!

2016-11-22 Thread Andre Noll
On Tue, Nov 22, 14:04, Linus Torvalds wrote > what's the situation on this issue? The bisection looks a bit odd, > but the commit in question does end up changing the key_control->thoff > value for the failure case, so maybe that in turn ends up screwing up > a later skb_pull. > > I'm not seeing

Re: [PATCH v2 1/2] timekeeping: Introduce a fast boot clock derived from fast monotonic clock

2016-11-22 Thread Thomas Gleixner
On Mon, 21 Nov 2016, Joel Fernandes wrote: > @@ -56,6 +56,12 @@ static struct timekeeper shadow_timekeeper; > struct tk_fast { > seqcount_t seq; > struct tk_read_base base[2]; > + > + /* > + * first dimension is based on lower seq bit, > + * second dimens

Re: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2016-11-22 Thread Rafael J. Wysocki
On Tue, Nov 22, 2016 at 7:26 PM, Kevin Hilman wrote: > Jon Hunter writes: > >> On 16/11/16 12:53, Rafael J. Wysocki wrote: >>> On Wed, Nov 16, 2016 at 11:48 AM, Jon Hunter wrote: Hi Kevin, Ulf, On 03/11/16 14:20, Jon Hunter wrote: > > On 11/10/16 10:15, Jon Hunter wrote: >

Re: [PATCH 1/3] thermal: handle get_temp() errors properly

2016-11-22 Thread Brian Norris
On Tue, Nov 22, 2016 at 03:00:47AM -0800, Eduardo Valentin wrote: > On Tue, Nov 22, 2016 at 03:52:25PM +0800, Zhang Rui wrote: > > On Fri, 2016-11-18 at 21:30 -0800, Brian Norris wrote: > > > On Fri, Nov 18, 2016 at 07:41:59PM -0800, Eduardo Valentin wrote: > > > > I would prefer we consider the pa

Re: [PATCH] x86: fix kaslr and memmap collision

2016-11-22 Thread Kees Cook
On Tue, Nov 22, 2016 at 11:01 AM, Dan Williams wrote: > On Tue, Nov 22, 2016 at 10:54 AM, Kees Cook wrote: >> On Tue, Nov 22, 2016 at 9:26 AM, Dan Williams >> wrote: >>> [ replying for Dave since he's offline today and tomorrow ] >>> >>> On Tue, Nov 22, 2016 at 12:47 AM, Ingo Molnar wrote: >>>

Re: [PATCH] Add support for disabling Intel PT trace in ftrace

2016-11-22 Thread Steven Rostedt
On Fri, 18 Nov 2016 08:55:24 -0800 Andi Kleen wrote: > From: Andi Kleen > > ftrace has powerfull trigger functions. Intel PT on modern Intel CPUs > can trace execution flow. > > For debugging I found it useful to disable the PT trace from ftrace triggers, > for example when specific kernel fun

Re: [PATCH V9 1/6] tracing: add a possibility of exporting function trace to other places instead of ring buffer only

2016-11-22 Thread Steven Rostedt
On Mon, 21 Nov 2016 15:57:18 +0800 Chunyan Zhang wrote: > Currently Function traces can be only exported to ring buffer, this > patch added trace_export concept which can process traces and export > them to a registered destination as an addition to the current only > one output of Ftrace - i.e.

[tip:smp/hotplug] x86/mce/therm_throt: Convert to hotplug state machine

2016-11-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: d6526e73dbbbc4c382c1b16942413eab77ed5e1a Gitweb: http://git.kernel.org/tip/d6526e73dbbbc4c382c1b16942413eab77ed5e1a Author: Sebastian Andrzej Siewior AuthorDate: Thu, 17 Nov 2016 19:35:22 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:38 +0100 x86/mce/th

[patch added to 3.12-stable] tty: limit terminal size to 4M chars

2016-11-22 Thread Jiri Slaby
From: Dmitry Vyukov This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. === commit 32b2921e6a7461fe63b71217067a6cf4bddb132f upstream. Size of kmalloc() in vc_do_resize() is controlled by user. Too large kmalloc() size triggers WARNING

[tip:smp/hotplug] x86/cpuid: Convert to hotplug state machine

2016-11-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 8c07b494ab2859bc7efb27c40d6faff255f2d2ae Gitweb: http://git.kernel.org/tip/8c07b494ab2859bc7efb27c40d6faff255f2d2ae Author: Sebastian Andrzej Siewior AuthorDate: Thu, 17 Nov 2016 19:35:23 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:39 +0100 x86/cpuid:

[tip:smp/hotplug] x86/msr: Convert to hotplug state machine

2016-11-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 8fba38c937cd585bcf562fda8db3decb25509506 Gitweb: http://git.kernel.org/tip/8fba38c937cd585bcf562fda8db3decb25509506 Author: Sebastian Andrzej Siewior AuthorDate: Thu, 17 Nov 2016 19:35:24 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:39 +0100 x86/msr: C

Re: [fuse-devel] fuse: max_background and congestion_threshold settings

2016-11-22 Thread Nikolaus Rath
On Nov 16 2016, Maxim Patlasov wrote: > On 11/16/2016 12:19 PM, Nikolaus Rath wrote: > >> On Nov 16 2016, Maxim Patlasov wrote: >>> On 11/16/2016 11:19 AM, Nikolaus Rath wrote: >>> Hi Maxim, On Nov 15 2016, Maxim Patlasov wrote: > On 11/15/2016 08:18 AM, Nikolaus Rath wrote: >

[tip:smp/hotplug] arm/bL_switcher: Convert to hotplug state machine

2016-11-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: a3c9b14f6f151ee4c2a119fab14f9a60d1684d60 Gitweb: http://git.kernel.org/tip/a3c9b14f6f151ee4c2a119fab14f9a60d1684d60 Author: Sebastian Andrzej Siewior AuthorDate: Thu, 17 Nov 2016 19:35:35 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:41 +0100 arm/bL_swi

[tip:smp/hotplug] ARM/hw_breakpoint: Convert to hotplug state machine

2016-11-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 9b377e217f0bd07f972d89ed0963df92818beffd Gitweb: http://git.kernel.org/tip/9b377e217f0bd07f972d89ed0963df92818beffd Author: Sebastian Andrzej Siewior AuthorDate: Thu, 17 Nov 2016 19:35:36 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:41 +0100 ARM/hw_bre

Re: [PATCH] mtd: mtdswap: fix spelling mistake "erassure" -> "erasure"

2016-11-22 Thread Brian Norris
On Tue, Nov 22, 2016 at 01:32:27PM -0800, Joe Perches wrote: > On Tue, 2016-11-22 at 11:37 -0800, Brian Norris wrote: > > Thanks, these all look good but: > > > > (a) you didn't provide a Signed-off-by and > > (b) your patch is full of non-breaking spaces (0xA0), instead of proper > > ASCII spa

[tip:smp/hotplug] powerpc/sysfs: Convert to hotplug state machine

2016-11-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 977ab257a2b327f161728ab08bc618d770cc92ad Gitweb: http://git.kernel.org/tip/977ab257a2b327f161728ab08bc618d770cc92ad Author: Sebastian Andrzej Siewior AuthorDate: Thu, 17 Nov 2016 19:35:37 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:42 +0100 powerpc/sy

[tip:smp/hotplug] x86/oprofile/nmi: Convert to hotplug state machine

2016-11-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 89666c50472263fba97b7edbfd2a642d1d9d6f74 Gitweb: http://git.kernel.org/tip/89666c50472263fba97b7edbfd2a642d1d9d6f74 Author: Sebastian Andrzej Siewior AuthorDate: Thu, 17 Nov 2016 19:35:40 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:43 +0100 x86/oprofi

[tip:smp/hotplug] x86/oprofile/nmi: Remove superfluous smp_function_call_single()

2016-11-22 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 08ed487c819d285c3f6ceafd156094102acdfec2 Gitweb: http://git.kernel.org/tip/08ed487c819d285c3f6ceafd156094102acdfec2 Author: Anna-Maria Gleixner AuthorDate: Thu, 17 Nov 2016 19:35:39 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:42 +0100 x86/oprofile/nmi

[tip:smp/hotplug] sparc/sysfs: Convert to hotplug state machine

2016-11-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: e5355cd6e78c096b66c26de8c9e5680ddba71c1f Gitweb: http://git.kernel.org/tip/e5355cd6e78c096b66c26de8c9e5680ddba71c1f Author: Sebastian Andrzej Siewior AuthorDate: Thu, 17 Nov 2016 19:35:38 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:42 +0100 sparc/sysf

[tip:smp/hotplug] x86/pci/amd-bus: Convert to hotplug state machine

2016-11-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: c8b877a5e58a132c5efb05f0c404585b9789fe5c Gitweb: http://git.kernel.org/tip/c8b877a5e58a132c5efb05f0c404585b9789fe5c Author: Sebastian Andrzej Siewior AuthorDate: Thu, 17 Nov 2016 19:35:41 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:43 +0100 x86/pci/am

Re: [PATCH] mfd: cros_ec: Use proper protocol transfer function

2016-11-22 Thread Brian Norris
+ Benson On Wed, Aug 10, 2016 at 01:45:12PM -0700, Brian Norris wrote: > From: Shawn Nematbakhsh > > pkt_xfer should be used for protocol v3, and cmd_xfer otherwise. We had > one instance of these functions correct, but not the second, fall-back > case. We use the fall-back only when the first c

Re: [PATCH] Doc: update kselftest.txt with details on how to run tests after install

2016-11-22 Thread Shuah Khan
On 11/08/2016 07:13 AM, Daniel Vetter wrote: > On Mon, Nov 07, 2016 at 01:24:14PM -0700, Shuah Khan wrote: >> Update kselftest.txt with details on how to run tests after install. >> >> Signed-off-by: Shuah Khan >> --- >> Documentation/kselftest.txt | 11 +++ >> 1 file changed, 11 insertio

[PATCH] kasan: turn off -fsanitize-address-use-after-scope for now

2016-11-22 Thread Arnd Bergmann
In the upcoming gcc-7 release, the -fsanitize=kernel-address option implies -fsanitize-address-use-after-scope, which relies on the definition of two global functions, causing many link errors if they are not defined, e.g: arch/x86/built-in.o: In function `x86_pmu_handle_irq': (.text+0x88e6): unde

Re: linux-next: manual merge of the userns tree with Linus' tree

2016-11-22 Thread Stephen Rothwell
Hi Eric, On Tue, 22 Nov 2016 11:44:25 -0600 ebied...@xmission.com (Eric W. Biederman) wrote: > > > I just used the version of the userns tree from next-20161117 for today. > > Please merge v4.9-rc2 and fix up the conflicts (or just rebase onto > > v4.9-rc2). > > Will do. Thank you. Thanks.

Re: [PATCH] mfd: cros_ec: Use proper protocol transfer function

2016-11-22 Thread Benson Leung
Hey Brian, On Tue, Nov 22, 2016 at 2:19 PM, Brian Norris wrote: > I believe this was supposed to go through Olof. Olof, are you out there? > > Or Benson? I see this: > > http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1273587.html > [PATCH] platform/chrome : Add myself as Maintainer >

[PATCH v2 0/2] mmc: sdhci-pci: Use ACPI to set max frequency of sdio host controller

2016-11-22 Thread Zach Brown
On some boards, max SDIO frequency is limited by trace lengths and other layout choices. We would like a way to specify this limitation so the driver can behave accordingly. This patch set assumes that the limitation has been reported in an ACPI table which the driver can check to get the max freq

Re: JBD2: Spotted dirty metadata buffer....

2016-11-22 Thread Andreas Dilger
On Nov 22, 2016, at 6:56 AM, Wolfgang Walter wrote: > > Am Montag, 21. November 2016, 17:49:36 schrieben Sie: >> On Nov 21, 2016, at 8:28 AM, Wolfgang Walter wrote: >>> Hello, >>> >>> I'm testing EXT4 with an external journal (data=journal). When writing I >>> rather often get> >>> JBD2: Sp

Re: [PATCH][RFC] ACPI throttling: Save/restore tstate for each CPUs across suspend/resume

2016-11-22 Thread Rafael J. Wysocki
On Mon, Nov 14, 2016 at 6:44 PM, Chen Yu wrote: > This is a trial version and any comments are appreciated. > > Previously a bug was reported that on certain Broadwell > platforms, after resuming from S3, the CPU is running at > an anomalously low speed, due to BIOS has enabled the > throttling ac

Re: [PATCH V4 02/15] blk-throttle: add .high interface

2016-11-22 Thread Shaohua Li
On Tue, Nov 22, 2016 at 03:02:53PM -0500, Tejun Heo wrote: > Hello, Shaohua. > > Sorry about the delay. > > On Mon, Nov 14, 2016 at 02:22:09PM -0800, Shaohua Li wrote: > > @@ -1376,11 +1414,37 @@ static ssize_t tg_set_max(struct kernfs_open_file > > *of, > > goto out_finish;

Re: [PATCH V4 03/15] blk-throttle: configure bps/iops limit for cgroup in high limit

2016-11-22 Thread Shaohua Li
On Tue, Nov 22, 2016 at 03:16:43PM -0500, Tejun Heo wrote: > On Mon, Nov 14, 2016 at 02:22:10PM -0800, Shaohua Li wrote: > > each queue will have a state machine. Initially queue is in LIMIT_HIGH > > state, which means all cgroups will be throttled according to their high > > limit. After all cgrou

[PATCH v2 1/2] mmc: sdhci-pci: Add PCI ID for Intel byt sdio host controller sub-vended by NI

2016-11-22 Thread Zach Brown
Add PCI ID for Intel byt sdio host controller sub-vended by NI. The controller has different behavior because of the board layout NI puts it on. Signed-off-by: Zach Brown --- drivers/mmc/host/sdhci-pci-core.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/

Re: [PATCH V9 11/11] ARM64/PCI: Support for ACPI based PCI host controller

2016-11-22 Thread Bjorn Helgaas
Hi Tomasz, On Fri, Jun 10, 2016 at 09:55:19PM +0200, Tomasz Nowicki wrote: > Implement pci_acpi_scan_root and other arch-specific call so that ARM64 > can start using ACPI to setup and enumerate PCI buses. > > Prior to buses enumeration the pci_acpi_scan_root() implementation looks > for configur

[tip:smp/hotplug] PCI/xgene-msi: Convert to hotplug state machine

2016-11-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 9c248f8896e6bf0c77abb98bfea8d69b5a7cd11d Gitweb: http://git.kernel.org/tip/9c248f8896e6bf0c77abb98bfea8d69b5a7cd11d Author: Sebastian Andrzej Siewior AuthorDate: Thu, 17 Nov 2016 19:35:28 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:40 +0100 PCI/xgene-

[tip:smp/hotplug] net/iucv: Convert to hotplug state machine

2016-11-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 38b482929e8f96dfe459d2ef757d0a5c3a74cea3 Gitweb: http://git.kernel.org/tip/38b482929e8f96dfe459d2ef757d0a5c3a74cea3 Author: Sebastian Andrzej Siewior AuthorDate: Thu, 17 Nov 2016 19:35:33 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:40 +0100 net/iucv:

[tip:smp/hotplug] watchdog/octeon: Convert to hotplug state machine

2016-11-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 948b9c60cb3e044ed4a56fd170ef0d0617ab840f Gitweb: http://git.kernel.org/tip/948b9c60cb3e044ed4a56fd170ef0d0617ab840f Author: Sebastian Andrzej Siewior AuthorDate: Thu, 17 Nov 2016 19:35:32 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:40 +0100 watchdog/o

[tip:smp/hotplug] sched/nohz: Convert to hotplug state machine

2016-11-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 31eff2434db542763a00074a8368d7bd78d14ea1 Gitweb: http://git.kernel.org/tip/31eff2434db542763a00074a8368d7bd78d14ea1 Author: Sebastian Andrzej Siewior AuthorDate: Thu, 17 Nov 2016 19:35:34 +0100 Committer: Thomas Gleixner CommitDate: Tue, 22 Nov 2016 23:34:41 +0100 sched/nohz

Re: [PATCH V4 07/15] blk-throttle: make throtl_slice tunable

2016-11-22 Thread Shaohua Li
On Tue, Nov 22, 2016 at 04:27:15PM -0500, Tejun Heo wrote: > Hello, > > On Mon, Nov 14, 2016 at 02:22:14PM -0800, Shaohua Li wrote: > > throtl_slice is important for blk-throttling. A lot of stuffes depend on > > it, for example, throughput measurement. It has 100ms default value, > > which is not

Re: [PATCH] KVM: x86: restore IP after all far jump failures

2016-11-22 Thread Nadav Amit
> On Nov 22, 2016, at 12:56 PM, Radim Krčmář wrote: > > 2016-11-22 11:43-0800, Nadav Amit: >> I admit my wrongdoings, but I still think the fix should have been to >> remove the entire recovery logic and just return X86EMUL_UNHANDLEABLE if >> something goes wrong (exception). This will kill the

Re: [net] 34fad54c25: kernel BUG at include/linux/skbuff.h:1935!

2016-11-22 Thread Linus Torvalds
On Tue, Nov 22, 2016 at 2:28 PM, Eric Dumazet wrote: > > This is fixed by : > https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=c9b8af1330198ae241cd545e1f040019010d44d9 Thanks guys. This was one of the less esoteric-looking regressions, so I'm happy to hear it's solved.

Re: [PATCH] powernv: Clear SPRN_PSSCR when a POWER9 CPU comes online

2016-11-22 Thread Michael Ellerman
"Gautham R. Shenoy" writes: > From: "Gautham R. Shenoy" > > Ensure that PSSCR is set to a safe value corresponding to no > state-loss each time a POWER9 CPU comes online. Is this a bug fix? I can't tell from the change log. cheers

Re: [PATCH] powernv: Clear SPRN_PSSCR when a POWER9 CPU comes online

2016-11-22 Thread Michael Neuling
On Wed, 2016-11-23 at 10:30 +1100, Michael Ellerman wrote: > "Gautham R. Shenoy" writes: > > > From: "Gautham R. Shenoy" > > > > Ensure that PSSCR is set to a safe value corresponding to no > > state-loss each time a POWER9 CPU comes online. > > Is this a bug fix? I can't tell from the change

Re: [PATCH V4 05/15] blk-throttle: add downgrade logic

2016-11-22 Thread Shaohua Li
On Tue, Nov 22, 2016 at 04:42:00PM -0500, Tejun Heo wrote: > Hello, > > On Tue, Nov 22, 2016 at 04:21:21PM -0500, Tejun Heo wrote: > > 1. A cgroup and its high and max limits don't have much to do with > >other cgroups and their limits. I don't get how the choice between > >high and max l

Re: [fuse-devel] fuse: max_background and congestion_threshold settings

2016-11-22 Thread Nikolaus Rath
Hi Maxim, On Nov 22 2016, Maxim Patlasov wrote: Could someone explain to me the meaning of the max_background and congestion_threshold settings of the fuse module? At first I assumed that max_background specifies the maximum number of pending requests

Re: linux-next: manual merge of the clk tree with the arm-soc tree

2016-11-22 Thread Stephen Rothwell
Hi Geert, On Tue, 22 Nov 2016 10:36:46 +0100 Geert Uytterhoeven wrote: > > Most of these are of the "add both sides" type. > The only exception is the one in arch/arm/mach-shmobile/setup-rcar-gen2.c, > where you just want to keep the call to of_clk_init(NULL); > > There's a resolution in > http

Re: [PATCH 4/6] efi: Get the secure boot status

2016-11-22 Thread David Howells
Lukas Wunner wrote: > On Tue, Nov 22, 2016 at 02:47:27PM +, David Howells wrote: > > Lukas Wunner wrote: > > > The "out_efi_err" portion differs from the previous version of this > > > patch. Setting a __u8 to a negative value, is this really what you > > > want? > > > > Eh? efi_get_secur

RE: [PATCH] MIPS: VDSO: Always select -msoft-float

2016-11-22 Thread Maciej W. Rozycki
On Fri, 4 Nov 2016, Matthew Fortune wrote: > > > I don't think that generated assembly is going to help, though, since > > > the compiler fails to compile the code in the first place because, as > > > it says, it doesn't like '-march=r3000' without '-mfp32'. > > > > Indeed I got that confused, e

[RFC PATCH] ARM: dts: Add support for Turris Omnia

2016-11-22 Thread Tomas Hlavacek
Turris Omnia board by CZ.NIC: * Marvell Armada 385 SoC * 1 or 2 GB DDR3 * eMMC * 8 MB SPI flash (U-Boot and rescue Linux image) * 88E1514 PHY * 88E6176 Ethernet switch (not supported) Supported board revision: CZ11NIC13 (production board). Signed-off-by: Tomas Hlavacek --- Changes s

jfs: mangled lockdep splat

2016-11-22 Thread Christian Kujau
For some time now, I always[0] receive a lockdep warning when there's some disk I/O on the system. But recently the warning looks kinda mangled, I suspect the recent printk change (4bcc595ccd80, "printk: reinstate KERN_CONT for printing continuation lines") to be the reason for that. In previous

Locking API testsuite output mangled

2016-11-22 Thread Christian Kujau
The "Locking API testsuite" output during bootup (with CONFIG_DEBUG_LOCKING_API_SELFTESTS=y) on this PowerPC system looks mangled, possibly related to the recent printk changes (4bcc595ccd80, "printk: reinstate KERN_CONT for printing continuation lines"). Before (e.g. with v4.6) it looked like

[PATCH 0/6] efi: Pass secure boot mode to kernel [ver #2]

2016-11-22 Thread David Howells
Here's a set of patches that can determine the secure boot state of the UEFI BIOS and pass that along to the main kernel image. This involves generalising ARM's efi_get_secureboot() function and making it mixed-mode safe. The patches can be found here also: http://git.kernel.org/cgit/l

[PATCH 6/6] efi: Add EFI_SECURE_BOOT bit [ver #2]

2016-11-22 Thread David Howells
From: Josh Boyer UEFI machines can be booted in Secure Boot mode. Add a EFI_SECURE_BOOT bit that can be passed to efi_enabled() to find out whether secure boot is enabled. This will be used by the SysRq+x handler, registered by the x86 arch, to find out whether secure boot mode is enabled so th

[PATCH 1/6] x86/efi: Allow invocation of arbitrary runtime services [ver #2]

2016-11-22 Thread David Howells
Provide the ability to perform mixed-mode runtime service calls for x86 in the same way that commit 0a637ee61247bd4bed9b2a07568ef7a1cfc76187 ("x86/efi: Allow invocation of arbitrary boot services") provides the ability to invoke arbitrary boot services. Suggested-by: Lukas Wunner Signed-off-by: D

Re: [PATCH v2 1/2] timekeeping: Introduce a fast boot clock derived from fast monotonic clock

2016-11-22 Thread Joel Fernandes
Hi Thomas, On Tue, Nov 22, 2016 at 2:29 PM, Thomas Gleixner wrote: > > On Mon, 21 Nov 2016, Joel Fernandes wrote: > > @@ -56,6 +56,12 @@ static struct timekeeper shadow_timekeeper; > > struct tk_fast { > > seqcount_t seq; > > struct tk_read_base base[2]; > > + > > +

Re: [PATCH v2 1/2] timekeeping: Introduce a fast boot clock derived from fast monotonic clock

2016-11-22 Thread Joel Fernandes
On Tue, Nov 22, 2016 at 4:23 PM, Joel Fernandes wrote: > Hi Thomas, > > On Tue, Nov 22, 2016 at 2:29 PM, Thomas Gleixner wrote: >> >> On Mon, 21 Nov 2016, Joel Fernandes wrote: >> > @@ -56,6 +56,12 @@ static struct timekeeper shadow_timekeeper; >> > struct tk_fast { >> > seqcount_t

[PATCH 3/6] efi: Add SHIM and image security database GUID definitions [ver #2]

2016-11-22 Thread David Howells
Add the definitions for shim and image security database, both of which are used widely in various Linux distros. Signed-off-by: Josh Boyer Signed-off-by: David Howells Reviewed-by: Ard Biesheuvel --- include/linux/efi.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/

[PATCH 4/6] efi: Get the secure boot status [ver #2]

2016-11-22 Thread David Howells
Get the firmware's secure-boot status in the kernel boot wrapper and stash it somewhere that the main kernel image can find. The efi_get_secureboot() function is extracted from the arm stub and (a) generalised so that it can be called from x86 and (b) made to use efi_call_runtime() so that it can

[PATCH 5/6] efi: Disable secure boot if shim is in insecure mode [ver #2]

2016-11-22 Thread David Howells
From: Josh Boyer A user can manually tell the shim boot loader to disable validation of images it loads. When a user does this, it creates a UEFI variable called MokSBState that does not have the runtime attribute set. Given that the user explicitly disabled validation, we can honor that and no

[PATCH 2/6] arm/efi: Allow invocation of arbitrary runtime services [ver #2]

2016-11-22 Thread David Howells
Provide the ability to perform mixed-mode runtime service calls for arm in the same way that commit 0a637ee61247bd4bed9b2a07568ef7a1cfc76187 ("x86/efi: Allow invocation of arbitrary boot services") provides the ability to invoke arbitrary boot services. Suggested-by: Lukas Wunner Signed-off-by: D

Re: [PATCH] powernv: Clear SPRN_PSSCR when a POWER9 CPU comes online

2016-11-22 Thread Michael Neuling
On Tue, 2016-11-22 at 23:36 +0530, Gautham R. Shenoy wrote: > From: "Gautham R. Shenoy" > > Ensure that PSSCR is set to a safe value corresponding to no > state-loss each time a POWER9 CPU comes online. > > Signed-off-by: Gautham R. Shenoy Tested here on my configuration... FWIW Acked-By: Mic

Re: [RFC PATCH] ARM: dts: Add support for Turris Omnia

2016-11-22 Thread Andrew Lunn
> +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts > @@ -0,0 +1,279 @@ > +/* > + * Device Tree file for the Turris Omnia > + * Schematic available at https://www.turris.cz/doc/_media/rtrom01-schema.pdf Hi Tomas Cool that there is a link to the schematics. But please could you put it lower down

Re: [PATCH 1/2] kbuild: provide include/asm/asm-prototypes.h for ARM

2016-11-22 Thread Russell King - ARM Linux
On Tue, Nov 22, 2016 at 11:34:48AM -0500, Nicolas Pitre wrote: > On Tue, 22 Nov 2016, Arnd Bergmann wrote: > > This adds an asm/asm-prototypes.h header for ARM to fix the broken symbol > > versioning for symbols exported from assembler files. > > > > I couldn't find the correct prototypes for the

[PATCH] ARM: dts: imx7d: fix LCDIF clock assignment

2016-11-22 Thread Stefan Agner
The eLCDIF IP of the i.MX 7 SoC knows multiple clocks and lists them separately: Clock Clock Root Description apb_clkMAIN_AXI_CLK_ROOT AXI clock pix_clkLCDIF_PIXEL_CLK_ROOTPixel clock ipg_clk_s MAIN_AXI_CLK_ROOT Peripheral access clock All of them are sw

Re: [PATCH] infiniband: hw: hfi1: constify mmu_notifier_ops structure

2016-11-22 Thread ira.weiny
On Sat, Nov 19, 2016 at 03:17:48PM +0530, Bhumika Goyal wrote: > Declare the structure mmu_notifier_ops as const as it is only stored in > the ops field of a mmu_notifier structure. The ops field is of type > const struct mmu_notifier_ops *, so mmu_notifier_ops structures having > this property can

[PATCH] sched/dl: change pull_rt_task() to pull_dl_task() in comment

2016-11-22 Thread T.Zhou
The pull_dl_task() is called above the comment, so change pull_rt_task() to pull_dl_task() in comment. Signed-off-by: T.Zhou --- kernel/sched/deadline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index f276a81..d93b300 10

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

2016-11-22 Thread Wim Osterholt
On Tue, Nov 22, 2016 at 06:50:28PM +0100, Bjørn Mork wrote: > > iCountryCodeRelDate4 04052004 > > wCountryCode 0x4803 > > No excuse for crashing of course, but that's one of the sickets > descriptor sets I've seen today. Who got the bright idea to put the > communi

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

2016-11-22 Thread Wim Osterholt
On Tue, Nov 22, 2016 at 07:08:30PM +0100, Bjørn Mork wrote: > > On kernel 4.8.8 this crashes hard and produces over a serial link: > > Huh? That device shouldn't ever enter that code path AFAICS. > Unless you wouldn't happen to add a dynamic entry for this device, No idea of what you mean h

[RFC][PATCH 0/4] Enhanced file stat system call [ver #3]

2016-11-22 Thread David Howells
Implement a new system call to provide enhanced file stats. The patches can be found here: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=xstat === DESCRIPTION === The first patch provides this new system call: long ret = statx(int d

[PATCH 3/4] statx: NFS: Return enhanced file attributes [ver #3]

2016-11-22 Thread David Howells
Return enhanced file atrributes from the NFS filesystem. This includes the following: (1) STATX_ATTR_AUTOMOUNT is set on referral or submount directories that are automounted upon. NFS shows one directory with a different FSID, but the local VFS has two: the mountpoint directory (fabr

[PATCH 1/4] statx: Add a system call to make enhanced file info available [ver #3]

2016-11-22 Thread David Howells
Add a system call to make extended file information available, including file creation and some attribute flags where available through the underlying filesystem. OVERVIEW The idea was initially proposed as a set of xattrs that could be retrieved with getxattr(), but the genera

Re: [RESEND][PATCH v4] cgroup: Use CAP_SYS_RESOURCE to allow a process to migrate other tasks between cgroups

2016-11-22 Thread John Stultz
On Tue, Nov 8, 2016 at 4:12 PM, Andy Lutomirski wrote: > On Tue, Nov 8, 2016 at 4:03 PM, Alexei Starovoitov > wrote: >> On Tue, Nov 08, 2016 at 03:51:40PM -0800, Andy Lutomirski wrote: >>> >>> I hate to say it, but I think I may see a problem. Current >>> developments are afoot to make cgroups d

[PATCH 2/4] statx: Ext4: Return enhanced file attributes [ver #3]

2016-11-22 Thread David Howells
Return enhanced file attributes from the Ext4 filesystem. This includes the following: (1) The inode creation time (i_crtime) as stx_btime, setting STATX_BTIME. (2) Certain FS_xxx_FL flags are mapped to stx_attribute flags. This requires that all ext4 inodes have a getattr call, not just some

[PATCH 4/4] statx: AFS: Return enhanced file attributes [ver #3]

2016-11-22 Thread David Howells
Return enhanced file attributes from the AFS filesystem. This includes the following: (1) STATX_ATTR_AUTOMOUNT will be set on automount directories by virtue of S_AUTOMOUNT being set on the inode. These are referrals to other volumes or other cells. STATX_ATIME, STATX_CTIME and STATX

<    3   4   5   6   7   8   9   10   >