Re: [PATCH 2/2] mm: set PG_dma_pinned on get_user_pages*()

2018-06-18 Thread Dan Williams
On Mon, Jun 18, 2018 at 12:31 PM, Jason Gunthorpe wrote: > On Mon, Jun 18, 2018 at 12:21:46PM -0700, Dan Williams wrote: >> On Mon, Jun 18, 2018 at 11:14 AM, John Hubbard wrote: >> > On 06/18/2018 10:56 AM, Dan Williams wrote: >> >> On Mon, Jun 18, 2018 at 10:50 AM, John Hubbard >> >> wrote:

Re: [PATCH] firmware: Update Kconfig help text for Google firmware

2018-06-18 Thread Julius Werner
On Sat, Jun 16, 2018 at 3:05 PM Ben Hutchings wrote: > > The help text for GOOGLE_FIRMWARE states that it should only be > enabled when building a kernel for Google's own servers. However, it > is now also a dependency for various Chromebook firmware drivers. > > Update the help text to reflect

Re: [PATCH v3 00/14] ARM: pxa: switch to DMA slave maps

2018-06-18 Thread Boris Brezillon
On Mon, 18 Jun 2018 21:56:20 +0200 Robert Jarzmik wrote: > Boris Brezillon writes: > > > Hi Robert, > > > > On Sun, 17 Jun 2018 19:02:03 +0200 > > Robert Jarzmik wrote: > > > >> As I gathered almost all the required acks, this is an information only > >> post > >> before queuing to the PXA

Re: [PATCH v2 5/7] ASoC: qdsp6: Add depends on OF

2018-06-18 Thread Niklas Cassel
On Mon, Jun 18, 2018 at 08:48:32AM -0600, Rob Herring wrote: > On Mon, Jun 18, 2018 at 6:39 AM, Niklas Cassel > wrote: > > On Mon, Jun 18, 2018 at 12:06:42PM +0100, Mark Brown wrote: > >> On Thu, Jun 14, 2018 at 01:11:36PM +0200, Niklas Cassel wrote: > >> > of_platform_device_destroy is only

Re: [PATCH v11 04/10] drivers: qcom: rpmh: add RPMH helper functions

2018-06-18 Thread Lina Iyer
On Mon, Jun 18 2018 at 13:54 -0600, Doug Anderson wrote: Hi, On Mon, Jun 18, 2018 at 12:06 PM, Lina Iyer wrote: On Mon, Jun 18 2018 at 12:33 -0600, Doug Anderson wrote: Lina, On Mon, Jun 18, 2018 at 9:39 AM, Lina Iyer wrote: +/** * struct rsc_drv: the Direct Resource Voter (DRV) of the

Re: [PATCH v3 02/12] PM / devfreq: Fix handling of min/max_freq == 0

2018-06-18 Thread Brian Norris
Hi, On Thu, Jun 14, 2018 at 12:47:02PM -0700, Matthias Kaehlcke wrote: > Commit ab8f58ad72c4 ("PM / devfreq: Set min/max_freq when adding the > devfreq device") initializes df->min/max_freq with the min/max OPP when > the device is added. Later commit f1d981eaecf8 ("PM / devfreq: Use the >

love

2018-06-18 Thread Mr X

Re: [PATCH v2] cpufreq / CPPC: Add cpuinfo_cur_freq support for CPPC

2018-06-18 Thread Prakash, Prashanth
Hi George, On 6/15/2018 4:03 AM, George Cherian wrote: > Per Section 8.4.7.1.3 of ACPI 6.2, The platform provides performance > feedback via set of performance counters. To determine the actual > performance level delivered over time, OSPM may read a set of > performance counters from the

Re: [PATCH 00/32] VFS: Introduce filesystem context [ver #8]

2018-06-18 Thread David Howells
Eric W. Biederman wrote: > I have read through these patches and I noticed a significant issue. > > Today in mount_bdev we do something that looks like: > > mount_bdev(...) > { > s = sget(..., bdev); > if (s->s_root) { > /* Noop */ > } else { >

Re: [PATCH v2] mtd: rawnand: mxc: set spare area size register explicitly

2018-06-18 Thread Martin Kaiser
Hi Boris, Thus wrote Boris Brezillon (boris.brezil...@bootlin.com): > > Signed-off-by: Martin Kaiser > > Reviewed-by: Sascha Hauer > > Cc: sta...@vger.kernel.org > Hm, a Cc-stable tag without its associated Fixes tag, I don't like that. > Can you find which commit introduced this bug? the

[PATCH v4 2/3] bitfield: add u8 helpers

2018-06-18 Thread Johannes Berg
There's no reason why we shouldn't pack/unpack bits into/from u8 values/registers/etc., so add u8 helpers. Use the MAKE_OP() macro directly to avoid having nonsense le8_encode_bits() and similar functions. Signed-off-by: Johannes Berg --- include/linux/bitfield.h | 1 + 1 file changed, 1

[PATCH v3] mtd: rawnand: mxc: set spare area size register explicitly

2018-06-18 Thread Martin Kaiser
The v21 version of the NAND flash controller contains a Spare Area Size Register (SPAS) at offset 0x10. Its setting defaults to the maximum spare area size of 218 bytes. The size that is set in this register is used by the controller when it calculates the ECC bytes internally in hardware.

Re: [smb3] unreachable code and memory leaks

2018-06-18 Thread Gustavo A. R. Silva
Hey Steve, On 06/18/2018 12:18 PM, Steve French wrote: Gustavo, Thx for pointing this out. Let me know if this patch addresses what you found. Code is experimental mount option but extremely important to get right due to move away from SMB1/CIFS which had posix extensions. Yep. It seems

[PATCH] arm64: dts: hikey960: Remove deprecated MMC properties

2018-06-18 Thread Ryan Grachek
Signed-off-by: Ryan Grachek --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 1 - arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 2 files changed, 9 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts

Re: [PATCH 2/2] mm: set PG_dma_pinned on get_user_pages*()

2018-06-18 Thread Dan Williams
On Mon, Jun 18, 2018 at 11:14 AM, John Hubbard wrote: > On 06/18/2018 10:56 AM, Dan Williams wrote: >> On Mon, Jun 18, 2018 at 10:50 AM, John Hubbard wrote: >>> On 06/18/2018 01:12 AM, Christoph Hellwig wrote: On Sun, Jun 17, 2018 at 01:28:18PM -0700, John Hubbard wrote: > Yes. However,

Re: [PATCHv3 00/18] atomics: API cleanups

2018-06-18 Thread Mark Rutland
On Mon, Jun 18, 2018 at 05:38:06PM +0100, Will Deacon wrote: > On Mon, Jun 18, 2018 at 11:19:01AM +0100, Mark Rutland wrote: > > This series contains a few cleanups of the atomic API, fixing > > inconsistencies between atomic_* and atomic64_*, and minimizing > > repetition in arch code. This is

RE: [PATCH v6] tpm: separate cmd_ready/go_idle from runtime_pm

2018-06-18 Thread Winkler, Tomas
> > On Fri, Jun 08, 2018 at 12:20:40AM +0300, Tomas Winkler wrote: > > We cannot use go_idle cmd_ready commands via runtime_pm handles as > > with the introduction of localities this is no longer an optional > > feature, while runtime pm can be not enabled. > > Though cmd_ready/go_idle provides a

Re: [PATCH 03/11] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-06-18 Thread Boris Brezillon
Yogesh, On Wed, 30 May 2018 15:14:32 +0200 Frieder Schrempf wrote: > +static void fsl_qspi_select_mem(struct fsl_qspi *q, struct spi_device *spi) > +{ > + unsigned long rate = spi->max_speed_hz; > + int ret, i; > + u32 map_addr; > + > + if (q->selected == spi->chip_select) > +

Re: [PATCH 2/2] mm: set PG_dma_pinned on get_user_pages*()

2018-06-18 Thread Jason Gunthorpe
On Mon, Jun 18, 2018 at 12:21:46PM -0700, Dan Williams wrote: > On Mon, Jun 18, 2018 at 11:14 AM, John Hubbard wrote: > > On 06/18/2018 10:56 AM, Dan Williams wrote: > >> On Mon, Jun 18, 2018 at 10:50 AM, John Hubbard wrote: > >>> On 06/18/2018 01:12 AM, Christoph Hellwig wrote: > On Sun,

Re: [PATCH] tpm: Add module parameter for hwrng quality.

2018-06-18 Thread Jason Gunthorpe
On Mon, Jun 18, 2018 at 09:07:12PM +0300, Jarkko Sakkinen wrote: > On Fri, Jun 08, 2018 at 02:54:38PM +0800, Louis Collard wrote: > > It is now possible for drivers to easily specify a hwrng quality, however > > most do not currently do this, and in cases where they do, it may be > > desirable to

[PATCH v2] cpufreq: intel_pstate: Fix scaling max/min limits with Turbo 3.0

2018-06-18 Thread Srinivas Pandruvada
When scaling max/min settings are changed, internally they are converted to a ratio using the max turbo 1 core turbo frequency. This works fine when 1 core max is same irrespective of the core. But under Turbo 3.0, this will not be the case. For example: Core 0: max turbo pstate: 43 (4.3GHz) Core

Re: [PATCH v11 04/10] drivers: qcom: rpmh: add RPMH helper functions

2018-06-18 Thread Doug Anderson
Hi, On Mon, Jun 18, 2018 at 12:06 PM, Lina Iyer wrote: > On Mon, Jun 18 2018 at 12:33 -0600, Doug Anderson wrote: >> >> Lina, >> >> On Mon, Jun 18, 2018 at 9:39 AM, Lina Iyer wrote: +/** * struct rsc_drv: the Direct Resource Voter (DRV) of the * Resource State Coordinator

Re: [PATCH] x86/microcode/intel: Ensure new microcode processor flags match with cpu's pf

2018-06-18 Thread Borislav Petkov
On Mon, Jun 04, 2018 at 08:16:51AM +, Zhenzhong Duan wrote: > Intel spec says: 'The processor flags in the 48-byte header and the > processor flags field associated with the extended processor signature > structures may have multiple bits set.' > > Make sure processor flags of the new

Re: [PATCH v3 00/14] ARM: pxa: switch to DMA slave maps

2018-06-18 Thread Robert Jarzmik
Boris Brezillon writes: > Hi Robert, > > On Sun, 17 Jun 2018 19:02:03 +0200 > Robert Jarzmik wrote: > >> As I gathered almost all the required acks, this is an information only post >> before queuing to the PXA tree. > > We'll need an immutable branch/tag containing those changes, just in >

Re: [PATCH] tpm: Add module parameter for hwrng quality.

2018-06-18 Thread Jarkko Sakkinen
On Fri, Jun 08, 2018 at 02:54:38PM +0800, Louis Collard wrote: > It is now possible for drivers to easily specify a hwrng quality, however > most do not currently do this, and in cases where they do, it may be > desirable to override the driver-specified value with a user-specified > one. This

Re: [PATCH v6 8/8] x86/microcode/AMD: Don't scan past the CPU equivalence table data

2018-06-18 Thread Maciej S. Szmigiero
On 18.06.2018 18:44, Borislav Petkov wrote: > On Tue, Jun 12, 2018 at 11:08:31PM +0200, Maciej S. Szmigiero wrote: >> That was the solution before this patch series version (6) - there was >> a variable holding the CPU equivalence table size for the late loader, >> but you didn't like it:> Instead

Re: [PATCH v11 04/10] drivers: qcom: rpmh: add RPMH helper functions

2018-06-18 Thread Doug Anderson
Lina, On Mon, Jun 18, 2018 at 9:39 AM, Lina Iyer wrote: >> +/** >> * struct rsc_drv: the Direct Resource Voter (DRV) of the >> * Resource State Coordinator controller (RSC) >> * >> @@ -52,6 +78,7 @@ struct tcs_group { >> * @tcs:TCS groups >> * @tcs_in_use: s/w state of the TCS >> *

Re: [PATCH] infiniband: fix a subtle race condition

2018-06-18 Thread Cong Wang
On Fri, Jun 15, 2018 at 12:08 PM, Jason Gunthorpe wrote: > > The point is, I don't care about the imbalance report. OK, we are not on the same page. Sorry for wasting my time.

Re: [PATCH 1/2] sched/fair: Fix bandwidth timer clock drift condition

2018-06-18 Thread bsegall
Xunlei Pang writes: > The current condition to judge clock drift in expire_cfs_rq_runtime() > is wrong, the two runtime_expires are actually the same when clock > drift happens, so this condtion can never hit. The orginal design was > correctly done by commit a9cf55b28610 ("sched: Expire invalid

Re: [PATCH] x86/CPU/AMD: Fix LLC ID bit-shift calculation

2018-06-18 Thread Suthikulpanit, Suravee
Boris, On 6/18/2018 1:23 PM, Borislav Petkov wrote: On Mon, Jun 18, 2018 at 01:14:11PM -0500, Suthikulpanit, Suravee wrote: This enumeration is only for the family17h model 00-1Fh of hardware revision. The patch is intended for the future revision of hardware. I realized that but the same

Re: [PATCH 4.4 16/37] i2c: rcar: rework hw init

2018-06-18 Thread Ben Hutchings
On Tue, 2018-06-05 at 19:01 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Wolfram Sang > > commit 2c78cdc1c06308a59d6ed4145cdba73fdeff8c0d upstream. > > We don't need to init HW before every

Re: [PATCH v11 04/10] drivers: qcom: rpmh: add RPMH helper functions

2018-06-18 Thread Lina Iyer
On Mon, Jun 18 2018 at 12:33 -0600, Doug Anderson wrote: Lina, On Mon, Jun 18, 2018 at 9:39 AM, Lina Iyer wrote: +/** * struct rsc_drv: the Direct Resource Voter (DRV) of the * Resource State Coordinator controller (RSC) * @@ -52,6 +78,7 @@ struct tcs_group { * @tcs:TCS groups *

Re: [PATCH] perf/x86: read the FREEZE_WHILE_SMM bit during boot

2018-06-18 Thread David Arcari
On 06/12/2018 12:56 PM, Peter Zijlstra wrote: > >> Ultimately, my solution was to restore the previous behavior by reading and >> storing the firmware setting of the bit rather than to always clear it. > > Ah, urgh.. what a mess. So the OS setting the bit to a known and > consistent value is

Re: [RFC PATCH] x86/arch_prctl: Add ARCH_SET_XCR0 to mask XCR0 per-thread

2018-06-18 Thread Keno Fischer
> So we're talking about a workaround for broken software. The question > is how wide spread is it? For rr to work, it tries to replicate the process state *exactly*. That means: 1. The same instructions executed in the same order 2. The exact same register state at those instructions 3. The

Re: [PATCH] tpm: Allow tpm_tis drivers to set hwrng quality.

2018-06-18 Thread Jarkko Sakkinen
On Fri, Jun 08, 2018 at 03:11:46PM +0800, Louis Collard wrote: > Adds plumbing required for drivers based on tpm_tis to set hwrng quality. > > Signed-off-by: Louis Collard NAK because this not connected to the current GIT tree (should probably make a patch set?). /Jarkko

[PATCH] arm64: dts: hikey960: Clean up MMC properties and move to proper file

2018-06-18 Thread Ryan Grachek
Certain properties should be moved to the board file to reflect the specific properties of the board, and not the SoC. Move these properties to proper location and organize properties in both files. Signed-off-by: Ryan Grachek --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 27

Re: [PATCH 2/2] mm: set PG_dma_pinned on get_user_pages*()

2018-06-18 Thread John Hubbard
On 06/18/2018 10:56 AM, Dan Williams wrote: > On Mon, Jun 18, 2018 at 10:50 AM, John Hubbard wrote: >> On 06/18/2018 01:12 AM, Christoph Hellwig wrote: >>> On Sun, Jun 17, 2018 at 01:28:18PM -0700, John Hubbard wrote: Yes. However, my thinking was: get_user_pages() can become a way to

Re: [PATCH] x86/CPU/AMD: Fix LLC ID bit-shift calculation

2018-06-18 Thread Suthikulpanit, Suravee
Boris, On 6/18/2018 12:20 PM, Borislav Petkov wrote: On Wed, Jun 13, 2018 at 01:43:10PM -0500, Suravee Suthikulpanit wrote: The current logic incorrectly calculates the LLC ID from the APIC ID. Unless specified otherwise, the LLC ID should be calculated from the count order of the number of

Re: [RFC PATCH] x86/arch_prctl: Add ARCH_SET_XCR0 to mask XCR0 per-thread

2018-06-18 Thread Keno Fischer
> So, to be useful, this interface needs to be called before an > application can run XGETBV or XSAVE for the first time and caches a > "bad" value. I think that means that it might not be feasible to use > outside of cases where you ptrace() something and inject things before > it has a chance

Re: [Letux-kernel] BUG: drivers/pinctrl/core: races in pinctrl_groups and deferred probing

2018-06-18 Thread Tony Lindgren
* H. Nikolaus Schaller [180618 16:46]: > > I can also demonstrate that the duplication has gone: OK good to hear. > And I was no longer able to reproduce the strcmp(NULL) issue. So it is either > better hidden > or gone. It should not be possible with checks preventing registering a group

Re: [PATCH 4.14 000/189] 4.14.51-stable review

2018-06-18 Thread Guenter Roeck
On Mon, Jun 18, 2018 at 10:11:36AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.51 release. > There are 189 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH v6 8/8] x86/microcode/AMD: Don't scan past the CPU equivalence table data

2018-06-18 Thread Borislav Petkov
On Mon, Jun 18, 2018 at 08:11:53PM +0200, Maciej S. Szmigiero wrote: > The equivalence table size can be computed in the late loader - there is > no problem there. > > However, this computed size needs to be passed somehow to functions > scanning the equivalence table. Ok, then let's make a

Re: [PATCH 4.14 102/189] scsi: vmw-pvscsi: return DID_BUS_BUSY for adapter-initated aborts

2018-06-18 Thread Jim Gill
Fine by me. On 6/18/18, 1:13 AM, "Greg Kroah-Hartman" wrote: >4.14-stable review patch. If anyone has any objections, please let me know. > >-- > >From: Jim Gill > >[ Upstream commit f4b024271ae3e9786e5d6f1c05b01b57a74e1d6d ] > >The vmw_pvscsi driver returns DID_ABORT for

[PATCH v2] drivers: qcom: rpmh-rsc: Check cmd_db_ready() to help children

2018-06-18 Thread Douglas Anderson
Children of RPMh will need access to cmd_db. Rather than having each child have code to check if cmd_db is ready let's add the check to RPMh. With this we'll be able to remove this boilerplate code from clk-rpmh.c and qcom-rpmh-regulator.c. Neither of these files has landed upstream yet but

[PATCH] staging: board: drop refcount in success case

2018-06-18 Thread Nicholas Mc Guire
mbers") --- Problem located with an experimental coccinelle script Patch was compile-tested with: x86_64_defconfig + STAGING=y, STAGING_BOARD=y Patch is against 4.18-rc1 (localversion-next is next-20180618) drivers/staging/board/board.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drive

Re: [PATCH] x86/CPU/AMD: Fix LLC ID bit-shift calculation

2018-06-18 Thread Borislav Petkov
On Mon, Jun 18, 2018 at 01:46:11PM -0500, Suthikulpanit, Suravee wrote: > Your understanding is correct. I was not sure about what you were referring > to earlier. Basically, the number of threads sharing cache is used to > calculate the amount of right-shifting of APIC ID, which results in

Re: [PATCH 2/2] sched/fair: Advance global expiration when period timer is restarted

2018-06-18 Thread bsegall
Xunlei Pang writes: > I noticed the group frequently got throttled even it consumed > low cpu usage, this caused some jitters on the response time > to some of our business containers enabling cpu quota. > > It's very easy to reproduce: > mkdir /sys/fs/cgroup/cpu/test > cd

Re: [PATCH 1/2] arm64: dts: exynos: Remove leading 0x from unit addresses in Exynos5433

2018-06-18 Thread Krzysztof Kozlowski
On 18 June 2018 at 19:57, Joe Perches wrote: > On Mon, 2018-06-18 at 19:42 +0200, Krzysztof Kozlowski wrote: >> Remove leading 0x from recently introduced unit addresses to fix DTC >> warnings: >> >> Warning (unit_address_format): /soc/sysmmu@0x1504: unit name should >> not have leading

Re: [PATCH 03/11] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-06-18 Thread Boris Brezillon
Hi Yogesh, On Mon, 18 Jun 2018 13:32:27 + Yogesh Narayan Gaur wrote: > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Friday, June 15, 2018 7:26 PM > To: Yogesh Narayan Gaur ; Fabio Estevam > ; David Wolfe ; > dw...@infradead.org > Cc:

Re: [PATCH 2/2] mm: set PG_dma_pinned on get_user_pages*()

2018-06-18 Thread John Hubbard
On 06/18/2018 01:12 AM, Christoph Hellwig wrote: > On Sun, Jun 17, 2018 at 01:28:18PM -0700, John Hubbard wrote: >> Yes. However, my thinking was: get_user_pages() can become a way to indicate >> that >> these pages are going to be treated specially. In particular, the caller >> does not really

Re: [PATCH 2/2] mm: set PG_dma_pinned on get_user_pages*()

2018-06-18 Thread Dan Williams
On Mon, Jun 18, 2018 at 10:50 AM, John Hubbard wrote: > On 06/18/2018 01:12 AM, Christoph Hellwig wrote: >> On Sun, Jun 17, 2018 at 01:28:18PM -0700, John Hubbard wrote: >>> Yes. However, my thinking was: get_user_pages() can become a way to >>> indicate that >>> these pages are going to be

Re: [PATCH 1/2] arm64: dts: exynos: Remove leading 0x from unit addresses in Exynos5433

2018-06-18 Thread Joe Perches
On Mon, 2018-06-18 at 19:42 +0200, Krzysztof Kozlowski wrote: > Remove leading 0x from recently introduced unit addresses to fix DTC > warnings: > > Warning (unit_address_format): /soc/sysmmu@0x1504: unit name should > not have leading "0x" [] > diff --git

Re: [PATCH v6] tpm: separate cmd_ready/go_idle from runtime_pm

2018-06-18 Thread Jarkko Sakkinen
On Fri, Jun 08, 2018 at 12:20:40AM +0300, Tomas Winkler wrote: > We cannot use go_idle cmd_ready commands via runtime_pm handles > as with the introduction of localities this is no longer an optional > feature, while runtime pm can be not enabled. > Though cmd_ready/go_idle provides a power

Re: [PATCH] libahci: Fix possible Spectre-v1 pmp indexing in ahci_led_store()

2018-06-18 Thread Tejun Heo
On Fri, Jun 08, 2018 at 06:26:33PM +0800, John Garry wrote: > Currently smatch warns of possible Spectre-V1 issue in ahci_led_store(): > drivers/ata/libahci.c:1150 ahci_led_store() warn: potential spectre issue > 'pp->em_priv' (local cap) > > Userspace controls @pmp from following callchain: >

Re: [PATCH] x86/CPU/AMD: Fix LLC ID bit-shift calculation

2018-06-18 Thread Borislav Petkov
On Mon, Jun 18, 2018 at 01:14:11PM -0500, Suthikulpanit, Suravee wrote: > This enumeration is only for the family17h model 00-1Fh of hardware > revision. The patch is intended for the future revision of hardware. I realized that but the same holds true for the future revision - there you need to

Re: [Letux-kernel] BUG: drivers/pinctrl/core: races in pinctrl_groups and deferred probing

2018-06-18 Thread H. Nikolaus Schaller
Hi Tony, > Am 18.06.2018 um 20:17 schrieb Tony Lindgren : > > * H. Nikolaus Schaller [180618 16:46]: > >> >> I can also demonstrate that the duplication has gone: > > OK good to hear. > >> And I was no longer able to reproduce the strcmp(NULL) issue. So it is >> either better hidden >> or

Re: [PATCH 4.16 000/279] 4.16.17-stable review

2018-06-18 Thread Guenter Roeck
On Mon, Jun 18, 2018 at 10:09:45AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.16.17 release. > There are 279 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 2/2] arm64: dts: exynos: Remove unneeded DSI and DECON address/size cells in Exynos5433

2018-06-18 Thread Krzysztof Kozlowski
On Mon, Jun 18, 2018 at 07:42:16PM +0200, Krzysztof Kozlowski wrote: > The decon, decon_tv and dsi nodes have only one child port so > address/size mappings are not necessary. This fixes DTC warnings like: > > Warning (graph_child_address): /soc/decon@1380/ports: > graph node has

Re: [PATCH] MIPS: implement smp_cond_load_acquire() for Loongson-3

2018-06-18 Thread Paul Burton
Hi Huacai, On Fri, Jun 15, 2018 at 02:07:38PM +0800, Huacai Chen wrote: > After commit 7f56b58a92aaf2c ("locking/mcs: Use smp_cond_load_acquire() > in MCS spin loop") Loongson-3 fails to boot. This is because Loongson-3 > has SFB (Store Fill Buffer) and READ_ONCE() may get an old value in a >

[PATCH 2/3] pinctrl: msm: Mux out gpio function with gpio_request()

2018-06-18 Thread Stephen Boyd
We rely on devices to use pinmuxing configurations in DT to select the GPIO function (function 0) if they're going to use the gpio in GPIO mode. Let's simplify things for driver authors by implementing gpio_request_enable() for this pinctrl driver to mux out the GPIO function when the gpio is use

Re: [PATCH v2 5/7] ASoC: qdsp6: Add depends on OF

2018-06-18 Thread Rob Herring
On Mon, Jun 18, 2018 at 2:08 PM, Niklas Cassel wrote: > On Mon, Jun 18, 2018 at 08:48:32AM -0600, Rob Herring wrote: >> On Mon, Jun 18, 2018 at 6:39 AM, Niklas Cassel >> wrote: >> > On Mon, Jun 18, 2018 at 12:06:42PM +0100, Mark Brown wrote: >> >> On Thu, Jun 14, 2018 at 01:11:36PM +0200,

[PATCH 3/3] pinctrl: msm: Configure interrupts as input and gpio mode

2018-06-18 Thread Stephen Boyd
When requesting a gpio as an interrupt, we should make sure to mux the pin as the GPIO function and configure it to be an input so that various functions or output signals don't affect the interrupt state of the pin. So far, we've relied on pinmux configurations in DT to handle this, but let's

[PATCH 0/3] pinctrl: msm interrupt and muxing fixes

2018-06-18 Thread Stephen Boyd
Here's a collection of pinctrl fixes for the qcom driver that make things a little smoother for DT writers while also fixing a problem seen with level triggered interrupts. The first patch fixes an issue where we always see one extra level triggered interrupt when the interrupt triggers. The

[PATCH 1/3] pinctrl: msm: Really mask level interrupts to prevent latching

2018-06-18 Thread Stephen Boyd
The interrupt controller hardware in this pin controller has two status enable bits. The first "normal" status enable bit enables or disables the summary interrupt line being raised when a gpio interrupt triggers and the "raw" status enable bit allows or prevents the hardware from latching an

[PATCH 2/2] arm64: dts: sdm845: Add rpmh-clk node

2018-06-18 Thread Douglas Anderson
This adds the rpmh-clk node to sdm845 based on the examples in the bindings. Signed-off-by: Douglas Anderson --- NOTE: to apply this patch cleanly, apply it atop: arm64: dts: qcom: sdm845: Add I2C, SPI, and UART9 nodes https://patchwork.kernel.org/patch/10462691/

[PATCH 1/2] arm64: dts: sdm845: Add rpmh-rsc node

2018-06-18 Thread Douglas Anderson
This adds the rpmh-rsc node to sdm845 based on the examples in the bindings. Signed-off-by: Douglas Anderson --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi

love

2018-06-18 Thread Mr X

Re: [PATCH] ARM: dts: am33xx: Add pinmux data for mmc1 in am335x-evm, evmsk and beaglebone

2018-06-18 Thread Robert Nelson
On Wed, Apr 11, 2018 at 6:48 AM, Faiz Abbas wrote: > am335x-evm, am335x-evmsk and am335x-beaglebone are currently relying on > pinmux set by the bootloader to set the correct value for mmc1. Fix > this by adding pinmux data for the same in kernel. > > Signed-off-by: Faiz Abbas > --- >

[PATCH] MAINTAINERS: Update e-mail address for Ilia Lin

2018-06-18 Thread ilia . lin
From: Ilia Lin Change to the @kernel.org address Signed-off-by: Ilia Lin --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 035973b23b8b..15a836eebe9a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11799,7 +11799,7 @@ F:

Re: [PATCH 1/2] arm64: dts: sdm845: Add rpmh-rsc node

2018-06-18 Thread Lina Iyer
On Mon, Jun 18 2018 at 14:56 -0600, Douglas Anderson wrote: This adds the rpmh-rsc node to sdm845 based on the examples in the bindings. Signed-off-by: Douglas Anderson --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git

Re: [intel-sgx-kernel-dev] [PATCH v11 09/13] x86, sgx: basic routines for enclave page cache

2018-06-18 Thread Andy Lutomirski
On Mon, Jun 18, 2018 at 8:11 AM Jethro Beekman wrote: > > On 2018-06-08 10:09, Jarkko Sakkinen wrote: > > +/* > > + * Writing the LE hash MSRs is extraordinarily expensive, e.g. > > + * 3-4x slower than normal MSRs, so we use a per-cpu cache to > > + * track the last known value of the MSRs to

Re: [PATCH v2 6/7] mm, proc: add KReclaimable to /proc/meminfo

2018-06-18 Thread Andrew Morton
On Mon, 18 Jun 2018 11:18:07 +0200 Vlastimil Babka wrote: > The vmstat NR_KERNEL_MISC_RECLAIMABLE counter is for kernel non-slab > allocations that can be reclaimed via shrinker. In /proc/meminfo, we can show > the sum of all reclaimable kernel allocations (including slab) as > "KReclaimable".

[PATCH 4.14 049/189] usb: typec: ucsi: fix tracepoint related build error

2018-06-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tobias Regnery [ Upstream commit 2f860691c2d2e3af1404ffeb2d22dd5c3dbca811 ] There is the following build error with CONFIG_TYPEC_UCSI=m, CONFIG_FTRACE=y and CONFIG_TRACING=n: ERROR:

[PATCH 4.14 028/189] blkcg: dont hold blkcg lock when deactivating policy

2018-06-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jiang Biao [ Upstream commit 946b81da114b8ba5c74bb01e57c0c6eca2bdc801 ] As described in the comment of blkcg_activate_policy(), *Update of each blkg is protected by both queue and blkcg locks

[PATCH 4.14 029/189] tipc: fix infinite loop when dumping link monitor summary

2018-06-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tung Nguyen [ Upstream commit 36a50a989ee8267588de520b8704b85f045a3220 ] When configuring the number of used bearers to MAX_BEARER and issuing command "tipc link monitor summary", the command

[PATCH 4.14 020/189] eCryptfs: dont pass up plaintext names when using filename encryption

2018-06-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks [ Upstream commit e86281e700cca8a773f9a572fa406adf2784ba5c ] Both ecryptfs_filldir() and ecryptfs_readlink_lower() use ecryptfs_decode_and_decrypt_filename() to translate lower

[PATCH 4.14 026/189] ASoC: topology: Check widget kcontrols before deref.

2018-06-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Liam Girdwood [ Upstream commit 05bdcf12905533b8628627b6634608cd3b57c607 ] Validate the topology input before we dereference the pointer. Signed-off-by: Liam Girdwood Signed-off-by: Mark

[PATCH 4.14 060/189] arm64: ptrace: remove addr_limit manipulation

2018-06-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Mark Rutland [ Upstream commit 59275a0c037ed6fabd6354730f1e3104264ab719 ] We transiently switch to KERNEL_DS in compat_ptrace_gethbpregs() and compat_ptrace_sethbpregs(), but in either case

[PATCH 4.14 012/189] MIPS: dts: Boston: Fix PCI bus dtc warnings:

2018-06-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Matt Redfearn [ Upstream commit 2c2bf522ed8cbfaac666f7dc65cfd38de2b89f0f ] dtc recently (v1.4.4-8-g756ffc4f52f6) added PCI bus checks. Fix the warnings now emitted:

[PATCH 4.14 016/189] dt-bindings: serial: sh-sci: Add support for r8a77965 (H)SCIF

2018-06-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jacopo Mondi [ Upstream commit 7de5b7e5f6a67c285b86d1478e8e150929c93482 ] Add documentation for r8a77965 compatible string to Renesas sci-serial device tree bindings documentation.

[PATCH 4.14 019/189] ASoC: rt5514: Add the missing register in the readable table

2018-06-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "oder_ch...@realtek.com" [ Upstream commit 5ef5ac8de125fe6b4b23293bee026ca7ea1529b9 ] The patch adds the missing register in the readable table. Signed-off-by: Oder Chiou Signed-off-by:

[PATCH 4.14 002/189] Input: synaptics-rmi4 - fix an unchecked out of memory error path

2018-06-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 839c42273617787318da7baf6151d553108f5e17 ] When extending the rmi_spi buffers, we must check that no out of memory error occurs, otherwise we may access

Re: [Letux-kernel] BUG: drivers/pinctrl/core: races in pinctrl_groups and deferred probing

2018-06-18 Thread Tony Lindgren
* Andy Shevchenko [180618 08:25]: > On Sat, Jun 16, 2018 at 2:08 PM H. Nikolaus Schaller > wrote: > > But it looks as if we still have duplicate assignments by deferred probing, > > i.e. some cleanup is > > missing (or is this intended behaviour?). > > > But I think the fundamental problem is

[PATCH 4.14 015/189] dt-bindings: pinctrl: sunxi: Fix reference to driver

2018-06-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Matheus Castello [ Upstream commit b614e905a0bc8fc5d4fa72665ac26ae00c874a4e ] Bindings describe hardware, not drivers. Use reference to hardware Allwinner A1X Pin Controller instead driver.

Re: Charge counter on droid 4

2018-06-18 Thread Tony Lindgren
* Pavel Machek [180618 07:43]: > > So... there are mA, mAh values. Those come from hardware, and I > believe we should keep them. > > But there are also mW, mWh values, which are synthetic. Userland can > compute them from mV, mA values... and it is confusing that kernel > provides them. (My

[PATCH 4.16 176/279] IB/mlx4: Fix integer overflow when calculating optimal MTT size

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein [ Upstream commit b03bcde962606d2ee59a4e9dd470db9ad53c5418 ] When the kernel was compiled using the UBSAN option, we saw the following stack trace: [ 1184.827917] UBSAN:

[PATCH 4.16 174/279] IB/{hfi1, rdmavt}: Fix memory leak in hfi1_alloc_devdata() upon failure

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Sanchez [ Upstream commit e9777ad4399c26c70318c4945f94efac2ed95391 ] When allocating device data, if there's an allocation failure, the already allocated memory won't be freed such

[PATCH 4.16 175/279] IB/hfi1: Fix memory leak in exception path in get_irq_affinity()

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Sanchez [ Upstream commit 59482a14918b282ca2a98f38c69da5ebeb1107d2 ] When IRQ affinity is set and the interrupt type is unknown, a cpu mask allocated within the function is never

[PATCH 4.16 178/279] spi: bcm2835aux: ensure interrupts are enabled for shared handler

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Rob Herring [ Upstream commit bc519d9574618e47a0c788000fb78da95e18d953 ] The BCM2835 AUX SPI has a shared interrupt line (with AUX UART). Downstream fixes this with an AUX irqchip to demux

[PATCH 4.16 168/279] nvme/multipath: Fix multipath disabled naming collisions

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Keith Busch [ Upstream commit a785dbccd95c37606c720580714f5a7a8b3255f1 ] When CONFIG_NVME_MULTIPATH is set, but we're not using nvme to multipath, namespaces with multiple paths were not

[PATCH 4.16 169/279] ARM: OMAP1: ams-delta: fix deferred_fiq handler

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Janusz Krzysztofik [ Upstream commit baf64250b4a513bf4ac226fd938692dc1836f4f6 ] The deferred_fiq handler used to limit hardware operations to IRQ unmask only, relying on gpio-omap assigned

[PATCH 4.16 136/279] RDMA/hns: Submit bad wr

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: oulijun [ Upstream commit 137ae3208416278aabef3b71e0ea1052940ca362 ] When generated bad work reqeust, it needs to report to user. This patch mainly fixes it. Signed-off-by: Lijun Ou

Re: [PATCH] printk/nmi: Prevent deadlock when serializing NMI backtraces

2018-06-18 Thread Petr Mladek
On Mon 2018-06-18 15:37:38, Sergey Senozhatsky wrote: > On (06/08/18 12:48), Petr Mladek wrote: > [..] > > diff --git a/include/linux/printk.h b/include/linux/printk.h > > index 6d7e800affd8..872fbdf8df26 100644 > > --- a/include/linux/printk.h > > +++ b/include/linux/printk.h > > @@ -148,9

[PATCH 4.16 141/279] ARM: davinci: board-omapl138-hawk: fix GPIO numbers for MMC/SD lookup

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Sekhar Nori [ Upstream commit d45622c0eaa5992a1a2248cbe93e1ff7a2da7be4 ] commit c4dc56be7e26 ("ARM: davinci: fix the GPIO lookup for omapl138-hawk") fixed the GPIO chip name for look-up of

[PATCH 4.16 064/279] parisc: time: Convert read_persistent_clock() to read_persistent_clock64()

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Baolin Wang [ Upstream commit f76cdd00ef0e39d880139b074e3b247594dff95a ] The read_persistent_clock() uses a timespec, which is not year 2038 safe on 32bit systems. On parisc architecture, we

Re: [PATCH] x86/efi: Free allocated memory if remap fails

2018-06-18 Thread Ard Biesheuvel
Hello Sai, On 16 June 2018 at 03:09, Sai Praneeth Prakhya wrote: > From: Sai Praneeth > > efi_memmap_alloc(), as the name suggests, allocates memory for a new efi > memory map. It's referenced from couple of places, namely, > efi_arch_mem_reserve() and efi_free_boot_services(). These callers, >

[PATCH 4.16 103/279] rpmsg: added MODULE_ALIAS for rpmsg_char

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ramon Fried [ Upstream commit 93dd4e73c0d9cc32f835d76a54257020b0bfc75a ] Added "rpmsg:rpmsg_chrdev" MODULE_ALIAS to autoload rpmg_chrdev module automatically. Signed-off-by: Ramon Fried

Re: [PATCH v5 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-18 Thread Boris Brezillon
On Sun, 17 Jun 2018 22:45:59 +0200 Stefan Agner wrote: > Changes definitly calm down, most noteably probably the changes > around checking whether a page is empty if the stack reports ECC > errors.. I verified the code using raw nandwrites with OOB to > simulate an empty page which has some bits

[PATCH 4.16 055/279] netfilter: nf_tables: fix out-of-bounds in nft_chain_commit_update

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Taehee Yoo [ Upstream commit d71efb599ad42ef1e564c652d8084252bdc85edf ] When chain name is changed, nft_chain_commit_update is called. In the nft_chain_commit_update, trans->ctx.chain->name

[PATCH 4.16 106/279] arm64: fix possible spectre-v1 in ptrace_hbp_get_event()

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Mark Rutland [ Upstream commit 19791a7ca674fb3009bb068260e852a2f05b605c ] It's possible for userspace to control idx. Sanitize idx when using it as an array index. Found by smatch.

  1   2   3   4   5   6   7   8   9   10   >