[lkp-robot] [x86/vdso] ab1bcc4420: BUG:kernel_hang_in_boot_stage

2018-06-12 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-4.9): commit: ab1bcc442070315bd0ce963331d5bb93d5c5476e ("x86/vdso: Move out the CPU number store") url: https://github.com/0day-ci/linux/commits/Chang-S-Bae/x86-fsgsbase-64-Introduce-FS-GS-base-helper-functions/20180605-095329 in testcase:

[lkp-robot] [kernfs, sysfs, cgroup, intel_rdt] 0dd4eca846: kernel_BUG_at_fs/super.c

2018-06-12 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-6): commit: 0dd4eca846629b5dc7d11ca40ae2a1379334b9e4 ("kernfs, sysfs, cgroup, intel_rdt: Support fs_context") https://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git mount-context in testcase: trinity with following parameters:

Re: [PATCH] PM / core: Fix supplier device runtime PM usage counter imbalance

2018-06-12 Thread Marek Szyprowski
Hi Ulf, On 2018-06-12 21:43, Ulf Hansson wrote: > On 12 June 2018 at 14:44, Marek Szyprowski wrote: >> On 2018-06-12 13:00, Rafael J. Wysocki wrote: >>> From: Rafael J. Wysocki >>> >>> If a device link is added via device_link_add() by the driver of the >>> link's consumer device, the supplier's

Re: [PATCH v5 1/3] xen: Sync up with the canonical protocol definitions in Xen

2018-06-12 Thread Oleksandr Andrushchenko
On 06/13/2018 09:40 AM, Juergen Gross wrote: On 13/06/18 08:13, Oleksandr Andrushchenko wrote: On 06/13/2018 09:11 AM, Dmitry Torokhov wrote: On June 12, 2018 10:49:31 PM PDT, Oleksandr Andrushchenko wrote: On 06/13/2018 02:40 AM, Dmitry Torokhov wrote: On Tue, Jun 12, 2018 at 03:46:10PM +02

[PATCH 1/2] dt-bindings: iio: Add Spreadtrum SC27XX PMICs ADC controller documentation

2018-06-12 Thread Baolin Wang
This patch adds the binding documentation for Spreadtrum SC27XX series PMICs ADC controller device. Signed-off-by: Baolin Wang --- .../bindings/iio/adc/sprd,sc27xx-adc.txt | 36 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindin

Re: [PATCH v5 1/3] xen: Sync up with the canonical protocol definitions in Xen

2018-06-12 Thread Juergen Gross
On 13/06/18 08:13, Oleksandr Andrushchenko wrote: > On 06/13/2018 09:11 AM, Dmitry Torokhov wrote: >> On June 12, 2018 10:49:31 PM PDT, Oleksandr Andrushchenko >> wrote: >>> On 06/13/2018 02:40 AM, Dmitry Torokhov wrote: On Tue, Jun 12, 2018 at 03:46:10PM +0200, Juergen Gross wrote: > On

[PATCH 2/2] iio: adc: Add Spreadtrum SC27XX PMICs ADC support

2018-06-12 Thread Baolin Wang
From: Freeman Liu The Spreadtrum SC27XX PMICs ADC controller contains 32 channels, which is used to sample voltages with 12 bits conversion. Signed-off-by: Freeman Liu Signed-off-by: Baolin Wang --- drivers/iio/adc/Kconfig | 10 + drivers/iio/adc/Makefile |1 + drivers/iio/adc/

[PATCH 1/4] net: emaclite: Fix position of lp->mii_bus assignment

2018-06-12 Thread Radhey Shyam Pandey
To ensure MDIO bus is not double freed in remove() path assign lp->mii_bus after MDIO bus registration. Signed-off-by: Radhey Shyam Pandey Signed-off-by: Michal Simek --- drivers/net/ethernet/xilinx/xilinx_emaclite.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dr

[PATCH 4/4] net: emaclite: Remove xemaclite_mdio_setup return check

2018-06-12 Thread Radhey Shyam Pandey
Errors are already reported in xemaclite_mdio_setup so avoid reporting it again. Signed-off-by: Radhey Shyam Pandey Signed-off-by: Michal Simek --- drivers/net/ethernet/xilinx/xilinx_emaclite.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/xili

Re: [PATCH v2 18/24] serdev: ttydev: Serdev driver that creates an standard TTY port

2018-06-12 Thread Ricardo Ribalda Delgado
Hi Rob, On Wed, Jun 13, 2018 at 3:20 AM Rob Herring wrote: > > On Mon, Jun 11, 2018 at 5:52 AM, Ricardo Ribalda Delgado > wrote: > > Standard TTY port that can be loaded/unloaded via serdev sysfs. This > > serdev driver can only be used by serdev controllers that are compatible > > with ttyport.

Re: [PATCH] mm/madvise: allow MADV_DONTNEED to free memory that is MLOCK_ONFAULT

2018-06-12 Thread Vlastimil Babka
On 06/12/2018 04:11 PM, Jason Baron wrote: > > > On 06/12/2018 03:46 AM, Michal Hocko wrote: >> On Mon 11-06-18 12:23:58, Jason Baron wrote: >>> On 06/11/2018 11:03 AM, Michal Hocko wrote: So can we start discussing whether we want to allow MADV_DONTNEED on mlocked areas and what downsi

Re: [PATCH] PM / core: Fix supplier device runtime PM usage counter imbalance

2018-06-12 Thread Marek Szyprowski
Hi Rafael, On 2018-06-12 16:24, Rafael J. Wysocki wrote: > On Tuesday, June 12, 2018 2:44:23 PM CEST Marek Szyprowski wrote: >> On 2018-06-12 13:00, Rafael J. Wysocki wrote: >>> From: Rafael J. Wysocki >>> >>> If a device link is added via device_link_add() by the driver of the >>> link's consume

Re: [PATCH linux-next v5 07/13] dt-bindings: mfd: Add a document for PECI client mfd

2018-06-12 Thread Lee Jones
All s/mfd/MFD/ > This commit adds a dt-bindings document for PECI client multi-function > device. Multi-Function Device > Signed-off-by: Jae Hyun Yoo > Cc: Andrew Jeffery > Cc: James Feist > Cc: Jason M Biils > Cc: Joel Stanley > Cc: Vernon Mauery > --- > .../devicetree/bindings/mfd/peci-

RE: [PATCH] mtd: spi-nor: honour max_data_size for spi-nor writes

2018-06-12 Thread Yogesh Narayan Gaur
Hi Boris, -Original Message- From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] Sent: Monday, June 11, 2018 3:19 PM To: Yogesh Narayan Gaur Cc: linux-...@lists.infradead.org; boris.brezil...@free-electrons.com; frieder.schre...@exceet.de; computersforpe...@gmail.com; David Wolf

[PATCH] mtd: devices: m25p80: Make sure WRITE_EN is issued before each write

2018-06-12 Thread Yogesh Gaur
Some SPI controllers can't write nor->page_size bytes in a single step because their TX FIFO is too small, but when that happens we should make sure a WRITE_EN command before each write access and READ_SR command after each write access is issued. The core is already taking care of that, so all we

Re: [PATCH v4 2/6] dt-bindings: add binding for atmel-usart in SPI mode

2018-06-12 Thread Lee Jones
On Fri, 25 May 2018, Radu Pirea wrote: > This patch moves the bindings for serial from serial/atmel-usart.txt to > mfd/atmel-usart.txt and adds bindings for USART in SPI mode. > > Signed-off-by: Radu Pirea > --- > .../bindings/{serial => mfd}/atmel-usart.txt | 25 +-- > 1 file

[PATCH] mtd: spi-nor: Support controllers with limited TX FIFO size

2018-06-12 Thread Yogesh Gaur
Some SPI controllers can't write nor->page_size bytes in a single step because their TX FIFO is too small. Allow nor->write() to return a size that is smaller than the requested write size to gracefully handle this case. Signed-off-by: Yogesh Gaur --- drivers/mtd/spi-nor/spi-nor.c | 7 ---

Re: [PATCHv4 2/3] kbuild: Introduce build-salt linker section and config option

2018-06-12 Thread Masahiro Yamada
Hi. 2018-06-12 9:32 GMT+09:00 Laura Abbott : > > The build id generated from --build-id can be generated in several different > ways, with the default being the sha1 on the output of the linked file. For > distributions, it can be useful to make sure this ID is unique, even if the > actual file c

Re: [PATCH 6/6] mmc: host: sdhci-sprd: added Spreadtrum's host controller R11

2018-06-12 Thread Chunyan Zhang
Hi Ulf, On 11 June 2018 at 15:15, Ulf Hansson wrote: > On 8 June 2018 at 10:18, Chunyan Zhang wrote: >> From: Chunyan Zhang >> >> This patch adds the initial support of Secure Digital Host Controller >> Interface compliant controller - R11 found in some latest Spreadtrum >> chipsets. >> >> R11

[PATCH] hid: intel_ish-hid: ipc: register more pm callbacks to support hibernation

2018-06-12 Thread Even Xu
Current ISH driver only registers suspend/resume PM callbacks which don't support hibernation (suspend to disk). Basically after hiberation, the ISH can't resume properly and user may not see sensor events (for example: screen rotation may not work). User will not see a crash or panic or anything

Re: [PATCH] mfd: cros_ec: remove unused __remove function

2018-06-12 Thread Lee Jones
On Tue, 12 Jun 2018, Gwendal Grignou wrote: > On Sun, Jun 10, 2018 at 11:08 PM Lee Jones wrote: > > > > On Fri, 08 Jun 2018, Benson Leung wrote: > > > > > > > > On Fri, Jun 08, 2018 at 04:48:06PM +0200, Arnd Bergmann wrote: > > > > This function is no longer called, so we get a harmless > > > > w

[PATCH v1] mm: zero remaining unavailable struct pages (Re: kernel panic in reading /proc/kpageflags when enabling RAM-simulated PMEM)

2018-06-12 Thread Naoya Horiguchi
Hi everyone, I wrote a patch for this issue. There was a discussion about prechecking approach, but I finally found out it's hard to make change on memblock after numa_init, so I take another apporach (see patch description). I'm glad if you check that it works for you. Thanks, Naoya Horiguchi

[PATCH] mfd: kempld-core: constify variables that point to const structure

2018-06-12 Thread Julia Lawall
Add const to the declaration of various local variables of type kempld_platform_data for which the referenced value is always only dereferenced or passed to a const parameter, to record the fact that kempld_platform_data_generic is declared as const. The semantic match that finds this issue is as

[lkp-robot] [watchdog/softlockup] 4808e7a5dc: BUG:KASAN:null-ptr-deref_in_h

2018-06-12 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-5): commit: 4808e7a5dc055fd8776e6b59e02775730ea716f6 ("watchdog/softlockup: Replace "watchdog/%u" threads with cpu_stop_work") url: https://github.com/0day-ci/linux/commits/Peter-Zijlstra/kthread-smpboot-More-fixes/20180613-003329 in testca

Re: REGRESSION?: debugfs: inode: debugfs_create_dir uses mode permission from parent

2018-06-12 Thread Greg Kroah-Hartman
On Tue, Jun 12, 2018 at 03:40:41PM -0700, John Stultz wrote: > Hey all, > I noticed recently that linus/master (plus patches) stopped booting > to UI on HiKey960, and I bisected the issue down to: > 92170b62f1c1 ("debugfs: inode: debugfs_create_dir uses mode permission > from parent") > > On the

Re: [GIT PULL] KVM changes for 4.18 merge window

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 9:49 PM Greg Kroah-Hartman wrote: > > The revert is fine, I'll work on the kvm debugfs file stuff for 4.19. Yeah, I did two fairly brute-force fixes for two different issues (the only common thread was kvm - testing the first fix was what then got me to the debugfs revert

Re: [GIT PULL] KVM changes for 4.18 merge window

2018-06-12 Thread Greg Kroah-Hartman
On Tue, Jun 12, 2018 at 08:52:08PM -0700, Linus Torvalds wrote: > On Tue, Jun 12, 2018 at 8:26 PM Linus Torvalds > wrote: > > > > Ok, so commit 95cde3c59966 ("debugfs: inode: debugfs_create_dir uses > > mode permission from parent") breaks lkvm, and I think qemu-kvm too. > > > > The commit looks l

Re: [GIT PULL] KVM changes for 4.18 merge window

2018-06-12 Thread Greg Kroah-Hartman
On Tue, Jun 12, 2018 at 08:26:46PM -0700, Linus Torvalds wrote: > On Tue, Jun 12, 2018 at 8:00 PM Linus Torvalds > wrote: > > > > Yeah, the biusection seems to actually be diving into Greg's device pulls. > > > > Odd. I'm not seeing why that would break kvm, but maybe there's > > something in the

Re: [PATCH 01/10] ARM: OMAP1: ams-delta: drop GPIO lookup table for serio device

2018-06-12 Thread Tony Lindgren
* Janusz Krzysztofik [180613 01:18]: > On Wednesday, June 13, 2018 12:23:56 AM CEST Dmitry Torokhov wrote: > > Hi Janusz, > > > > On Sat, Jun 09, 2018 at 04:02:15PM +0200, Janusz Krzysztofik wrote: > > > GPIO lookup table for ams-delta-serio device was introduced by commit > > > 0486738928bf ("AR

Re: [PATCH 4.9 00/31] 4.9.108-stable review

2018-06-12 Thread Greg Kroah-Hartman
On Tue, Jun 12, 2018 at 02:58:16PM -0600, Shuah Khan wrote: > On 06/12/2018 10:46 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.108 release. > > There are 31 patches in this series, all will be posted as a response > > to this one. If anyone has any iss

Re: [PATCH 3.18 00/21] 3.18.113-stable review

2018-06-12 Thread Greg Kroah-Hartman
On Tue, Jun 12, 2018 at 03:08:12PM -0700, kernelci.org bot wrote: > stable-rc/linux-3.18.y boot: 52 boots: 28 failed, 18 passed with 1 offline, 5 > conflicts (v3.18.112-22-gb0582263e3c9) > > Full Boot Summary: > https://kernelci.org/boot/all/job/stable-rc/branch/linux-3.18.y/kernel/v3.18.112-22-

Re: [PATCH v2] IB/umem: ib_ucontext already have tgid, remove pid from ib_umem structure

2018-06-12 Thread Jason Gunthorpe
On Tue, May 08, 2018 at 04:50:16PM +0800, Lidong Chen wrote: > The userspace may invoke ibv_reg_mr and ibv_dereg_mr by different threads. > If when ibv_dereg_mr invoke and the thread which invoked ibv_reg_mr has > exited, get_pid_task will return NULL, ib_umem_release does not decrease > mm->pinned

Re: OOPSes in mem_cgroup_protected

2018-06-12 Thread Roman Gushchin
On Tue, Jun 12, 2018 at 09:08:27PM -0700, John Stultz wrote: > On Tue, Jun 12, 2018 at 6:02 PM, John Stultz wrote: > > Hey Tejun, > > With the current linus/master, I'm able to fairly regularly trip > > OOPSes (two examples below) in mem_cgroup_protected(), which seems to > > be new. I haven't

ACPI support in common clock framework

2018-06-12 Thread Srinath Mannam
Hi Michael, Stephen, We are adding ACPI support in our Linux based platform. At present our clock hierarchy using common clock framework through DTS. Now we required ACPI support in common clock framework to upgrade our platform. For example, clk_get API called in many drivers to get clock device

Re: REGRESSION: "wlcore: sdio: allow pm to handle sdio power" breaks wifi on HiKey960

2018-06-12 Thread Tony Lindgren
* John Stultz [180612 22:15]: > Hey Folks, > I noticed with linus/master wifi wasn't coming up on HiKey960. I > bisected it down and it seems to be due to: > > 60f36637bbbd ("wlcore: sdio: allow pm to handle sdio power") and > 728a9dc61f13 ("wlcore: sdio: Fix flakey SDIO runtime PM handling")

Re: OOPSes in mem_cgroup_protected

2018-06-12 Thread John Stultz
On Tue, Jun 12, 2018 at 6:02 PM, John Stultz wrote: > Hey Tejun, > With the current linus/master, I'm able to fairly regularly trip > OOPSes (two examples below) in mem_cgroup_protected(), which seems to > be new. I haven't managed to trigger this sort of thing with v4.17. > > I've not had much

[PATCH 2/2] fs/exofs: only use true/false for asignment of bool type variable

2018-06-12 Thread Chengguang Xu
Signed-off-by: Chengguang Xu --- fs/exofs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/exofs/super.c b/fs/exofs/super.c index f3e17a9..75b5db0 100644 --- a/fs/exofs/super.c +++ b/fs/exofs/super.c @@ -118,7 +118,7 @@ static int parse_options(char *options, struct

[PATCH 1/2] fs/exofs: fix potential memory leak in mount option parsing

2018-06-12 Thread Chengguang Xu
There are some cases can cause memory leak when parsing option 'osdname'. Signed-off-by: Chengguang Xu --- fs/exofs/super.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/exofs/super.c b/fs/exofs/super.c index 719a315..f3e17a9 100644 --- a/fs/exofs/super.c +++ b/fs/ex

Re: [GIT PULL] KVM changes for 4.18 merge window

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 8:26 PM Linus Torvalds wrote: > > Ok, so commit 95cde3c59966 ("debugfs: inode: debugfs_create_dir uses > mode permission from parent") breaks lkvm, and I think qemu-kvm too. > > The commit looks like the RightThing(tm) to do, but we do not break > existing work-flows, no ma

Re: [PATCH 1/2] gpio: davinci: Move fetching IRQ to beginning of probe

2018-06-12 Thread Keerthy
On Tuesday 12 June 2018 08:05 PM, J, KEERTHY wrote: > > > On 6/12/2018 6:39 PM, Linus Walleij wrote: >> On Wed, Jun 6, 2018 at 11:18 AM, Keerthy wrote: >> >>> Currently IRQ resource fetching is done at the very end of probe. >>> In case the of IRQ resource not being ready, we defer probe >>>

[PATCH v4 1/2] gpio: davinci: Shuffle IRQ resource fetching from DT to beginning of probe

2018-06-12 Thread Keerthy
This is needed in case of PROBE_DEFER if IRQ resource is not yet ready. Signed-off-by: Keerthy --- Tested for GPIO Interrupts on da850-lcdk board. Changes in v3: Changed type of bank_irq to int from unsigned drivers/gpio/gpio-davinci.c | 29 +++-- 1 file chang

[PATCH v4 2/2] gpio: davinci: Do not assume continuous IRQ numbering

2018-06-12 Thread Keerthy
Currently the driver assumes that the interrupts are continuous and does platform_get_irq only once and assumes the rest are continuous, instead call platform_get_irq for all the interrupts and store them in an array for later use. Signed-off-by: Keerthy --- Tested for GPIO Interrupts on da850-lc

Re: REGRESSION: "wlcore: sdio: allow pm to handle sdio power" breaks wifi on HiKey960

2018-06-12 Thread John Stultz
On Tue, Jun 12, 2018 at 3:12 PM, John Stultz wrote: > Hey Folks, > I noticed with linus/master wifi wasn't coming up on HiKey960. I > bisected it down and it seems to be due to: > > 60f36637bbbd ("wlcore: sdio: allow pm to handle sdio power") and > 728a9dc61f13 ("wlcore: sdio: Fix flakey SDIO r

Re: [PATCH v3 6/7] soc: qcom: Add RPMh Power domain driver

2018-06-12 Thread Rajendra Nayak
On 06/13/2018 01:12 AM, Matthias Kaehlcke wrote: > Hi, > > On Tue, Jun 12, 2018 at 10:10:51AM +0530, Rajendra Nayak wrote: >> The RPMh Power domain driver aggregates the corner votes from various >> consumers for the ARC resources and communicates it to RPMh. >> >> We also add data for all powe

Re: [GIT PULL] KVM changes for 4.18 merge window

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 8:00 PM Linus Torvalds wrote: > > Yeah, the biusection seems to actually be diving into Greg's device pulls. > > Odd. I'm not seeing why that would break kvm, but maybe there's > something in the device core layer that really messed it up. > > I'll continue to bisect to see

Re: [PATCH v3 6/7] soc: qcom: Add RPMh Power domain driver

2018-06-12 Thread Rajendra Nayak
On 06/13/2018 12:36 AM, Rob Herring wrote: > On Tue, Jun 12, 2018 at 10:10:51AM +0530, Rajendra Nayak wrote: >> The RPMh Power domain driver aggregates the corner votes from various >> consumers for the ARC resources and communicates it to RPMh. >> >> We also add data for all power domains on sd

Re: [GIT PULL] KVM changes for 4.18 merge window

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 7:51 PM Wanpeng Li wrote: > > > > Bisecting. But that's unrelated to the recent kvm build breakage. > > Yeah, it happens before the KVM GIT PULL on Linus's tree, you will see > the warning above unless you lauch the guest w/ root user, maybe other > subsystems' modification

Re: [GIT PULL] KVM changes for 4.18 merge window

2018-06-12 Thread Wanpeng Li
On Wed, 13 Jun 2018 at 10:42, Linus Torvalds wrote: > > On Tue, Jun 12, 2018 at 7:18 PM Linus Torvalds > wrote: > > > > The attached patch _may_ be the right thing to do. It's not pretty. > > .. and when I decided to actually do some minimal kvm testing with > that patch, I notice that we've appa

Re: Possible regression caused by commit a192aa923b66a

2018-06-12 Thread Kai Heng Feng
Hi Rafael, On Jun 12, 2018, at 5:17 PM, Rafael J. Wysocki wrote: On Monday, June 11, 2018 11:52:34 PM CEST Rafael J. Wysocki wrote: --703623056e64c488 Content-Type: text/plain; charset="UTF-8" On Mon, Jun 11, 2018 at 10:09 AM, Rafael J. Wysocki wrote: On Mon, Jun 11, 2018 at

Re: [GIT PULL] KVM changes for 4.18 merge window

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 7:18 PM Linus Torvalds wrote: > > The attached patch _may_ be the right thing to do. It's not pretty. .. and when I decided to actually do some minimal kvm testing with that patch, I notice that we've apparently broken kvm entirely during this merge window, and I just get

linux-next: Tree for Jun 13

2018-06-12 Thread Stephen Rothwell
Hi all, Note: please do *not* add any v4.19 material to your linux-next included branches until after v4.18-rc1 has been released. Changes since 20180612: The drivers-x86 tree lost its build failure. Non-merge commits (relative to Linus' tree): 928 1119 files changed, 21702 inser

Re: [GIT PULL] KVM changes for 4.18 merge window

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 7:03 AM Paolo Bonzini wrote: > > * x86: many bugfixes, implement more Hyper-V super powers, Uhhuh, I didn't notice this initially, because my basic sanity tests are with everything enabled, but this breaks the build: ERROR: "ms_hyperv" [arch/x86/kvm/kvm-intel.ko] undefi

Re: [PATCHv4 1/3] scripts: Preprocess module-common.lds

2018-06-12 Thread Masahiro Yamada
2018-06-12 9:32 GMT+09:00 Laura Abbott : > > In preparation for some upcoming work, allow module-common.lds > to be run through the preprocessor. > > Signed-off-by: Laura Abbott > --- > scripts/.gitignore | 1 + > scripts/Makefile

Re: [PATCH v2 10/11] dt-bindings: misc: add bindings for cros_ec_throttler

2018-06-12 Thread Matthias Kaehlcke
On Tue, Jun 12, 2018 at 01:40:22PM -0700, Brian Norris wrote: > Hi Rob, > > On Tue, Jun 12, 2018 at 01:10:11PM -0600, Rob Herring wrote: > > On Thu, Jun 07, 2018 at 11:12:13AM -0700, Matthias Kaehlcke wrote: > > > The cros_ec_throttler monitors events from the Chrome OS Embedded > > > Controller t

Re: [PATCH 1/2] ndings: mediatek: Add bindings for mediatek MT6765 Platform

2018-06-12 Thread Mars Cheng
On Tue, 2018-06-12 at 18:51 -0600, Rob Herring wrote: > On Tue, Jun 12, 2018 at 4:40 PM, Mars Cheng wrote: > > This adds dt-binding documentation for Mediatek MT6765. Only > > include very basic items, gic, uart timer and cpu. > > Check your subject... Hi Rob oops, my bad... will correct this i

Re: [PATCH 2/2] arm64: dts: mediatek: add mt6765 support

2018-06-12 Thread Mars Cheng
Hi Rob > > --- /dev/null > > +++ b/arch/arm64/boot/dts/mediatek/mt6765-evb.dts > > @@ -0,0 +1,39 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * Copyright (c) 2018 MediaTek Inc. > > + * Author: Mars.C > > + * > > + * This program is free software; you can redistribute it and/or modify

Re: [PATCH v2 09/11] misc: throttler: Add core support for non-thermal throttling

2018-06-12 Thread Matthias Kaehlcke
On Tue, Jun 12, 2018 at 01:00:14PM -0700, Brian Norris wrote: > Hi, > > On Tue, Jun 12, 2018 at 10:11:40AM -0700, Matthias Kaehlcke wrote: > > On Mon, Jun 11, 2018 at 06:49:13PM -0700, Brian Norris wrote: > > > On Thu, Jun 07, 2018 at 11:12:12AM -0700, Matthias Kaehlcke wrote: > > > > The purpose

Re: [GIT PULL] overflow updates (part 2) for v4.18-rc1

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 4:36 PM Kees Cook wrote: > > - Treewide conversions of allocators to use either 2-factor argument > variant when available, or array_size() and array3_size() as needed (Kees) Ok, some of this smells just a tad too much of automation, but I've done the pull and it's going

Re: [GIT PULL] Please pull NFS client changes for 4.18

2018-06-12 Thread NeilBrown
On Tue, Jun 12 2018, Paul E. McKenney wrote: > On Tue, Jun 12, 2018 at 06:11:50PM -0700, Linus Torvalds wrote: >> On Tue, Jun 12, 2018 at 6:02 PM Paul E. McKenney >> wrote: >> > >> > We did review this one, and Neil did make requested changes to the comment >> > header and documentation. >> >> O

Re: [GIT PULL] Please pull NFS client changes for 4.18

2018-06-12 Thread Paul E. McKenney
On Tue, Jun 12, 2018 at 06:11:50PM -0700, Linus Torvalds wrote: > On Tue, Jun 12, 2018 at 6:02 PM Paul E. McKenney > wrote: > > > > We did review this one, and Neil did make requested changes to the comment > > header and documentation. > > Oh, I checked the commit for "acked-by" from you and did

Re: [PATCH -mm -V3 03/21] mm, THP, swap: Support PMD swap mapping in swap_duplicate()

2018-06-12 Thread Huang, Ying
Daniel Jordan writes: > On Tue, Jun 12, 2018 at 09:23:19AM +0800, Huang, Ying wrote: >> Daniel Jordan writes: >> >> +#else >> >> +static inline int __swap_duplicate_cluster(swp_entry_t *entry, >> > >> > This doesn't need inline. >> >> Why not? This is just a one line stub. > > Forgot to respon

[PATCH v3] dcdbas: Add support for WSMT ACPI table

2018-06-12 Thread Stuart Hayes
If the WSMT ACPI table is present and indicates that a fixed communication buffer should be used, use the firmware-specified buffer instead of allocating a buffer in memory for communications between the dcdbas driver and firmare. Signed-off-by: Stuart Hayes --- v2 Bumped driver version to 5.6.

Re: [PATCH v2 18/24] serdev: ttydev: Serdev driver that creates an standard TTY port

2018-06-12 Thread Rob Herring
On Mon, Jun 11, 2018 at 5:52 AM, Ricardo Ribalda Delgado wrote: > Standard TTY port that can be loaded/unloaded via serdev sysfs. This > serdev driver can only be used by serdev controllers that are compatible > with ttyport. I'm hesitant to expose a tty device on top of serdev to userspace that

Re: [PATCH v3 2/2] gpio: davinci: Do not assume continuous IRQ numbering

2018-06-12 Thread J, KEERTHY
On 6/13/2018 6:36 AM, J, KEERTHY wrote: On 6/13/2018 1:36 AM, Grygorii Strashko wrote: On 06/12/2018 02:59 AM, Keerthy wrote: Currently the driver assumes that the interrupts are continuous and does platform_get_irq only once and assumes the rest are continuous, instead call platform_get

Re: [PATCH 01/10] ARM: OMAP1: ams-delta: drop GPIO lookup table for serio device

2018-06-12 Thread Janusz Krzysztofik
On Wednesday, June 13, 2018 12:23:56 AM CEST Dmitry Torokhov wrote: > Hi Janusz, > > On Sat, Jun 09, 2018 at 04:02:15PM +0200, Janusz Krzysztofik wrote: > > GPIO lookup table for ams-delta-serio device was introduced by commit > > 0486738928bf ("ARM: OMAP1: ams-delta: add GPIO lookup tables"). > >

[PATCH 0/2] Re-use DEFINE_SHOW_ATTRIBUTE() macro

2018-06-12 Thread Peng Donglin
...instead of open coding file operations followed by custom ->open() callbacks per each attribute. Peng Donglin (2): ARM: dump: Convert to use DEFINE_SHOW_ATTRIBUTE macro ARM64: dump: Convert to use DEFINE_SHOW_ATTRIBUTE macro arch/arm/mm/ptdump_debugfs.c | 13 + arch/arm64/mm

[PATCH 2/2] ARM64: dump: Convert to use DEFINE_SHOW_ATTRIBUTE macro

2018-06-12 Thread Peng Donglin
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Peng Donglin --- arch/arm64/mm/ptdump_debugfs.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/arch/arm64/mm/ptdump_debugfs.c b/arch/arm64/mm/ptdump_debugfs.c index 02b18f8..24d786f 100644 ---

[PATCH 1/2] ARM: dump: Convert to use DEFINE_SHOW_ATTRIBUTE macro

2018-06-12 Thread Peng Donglin
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Peng Donglin --- arch/arm/mm/ptdump_debugfs.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/arch/arm/mm/ptdump_debugfs.c b/arch/arm/mm/ptdump_debugfs.c index be8d87b..79002fe 100644 --- a/arc

Re: [GIT PULL] Please pull NFS client changes for 4.18

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 6:02 PM Paul E. McKenney wrote: > > We did review this one, and Neil did make requested changes to the comment > header and documentation. Oh, I checked the commit for "acked-by" from you and didn't see any, so I was assuming this was just Neil and Trond on their own..

Re: [PATCH 09/10] Input: ams_delta_serio: use IRQ resource

2018-06-12 Thread Janusz Krzysztofik
On Wednesday, June 13, 2018 12:21:04 AM CEST Dmitry Torokhov wrote: > On Sat, Jun 09, 2018 at 04:02:23PM +0200, Janusz Krzysztofik wrote: > > ... > > @@ -141,14 +141,11 @@ static int ams_delta_serio_init(struct > > platform_device *pdev)> > > * at FIQ level, switch back from edge to simple in

Re: [PATCH v3 2/2] gpio: davinci: Do not assume continuous IRQ numbering

2018-06-12 Thread J, KEERTHY
On 6/13/2018 1:36 AM, Grygorii Strashko wrote: On 06/12/2018 02:59 AM, Keerthy wrote: Currently the driver assumes that the interrupts are continuous and does platform_get_irq only once and assumes the rest are continuous, instead call platform_get_irq for all the interrupts and store them

Re: [GIT PULL] Please pull NFS client changes for 4.18

2018-06-12 Thread Paul E. McKenney
On Tue, Jun 12, 2018 at 11:08:31AM -0700, Linus Torvalds wrote: > Final note (for now) on this: I've merged the nfs code, but I really > am obviously not happy with these crazy random ad-hoc > cursor-not-cursor list games. We did review this one, and Neil did make requested changes to the comment

OOPSes in mem_cgroup_protected

2018-06-12 Thread John Stultz
Hey Tejun, With the current linus/master, I'm able to fairly regularly trip OOPSes (two examples below) in mem_cgroup_protected(), which seems to be new. I haven't managed to trigger this sort of thing with v4.17. I've not had much time to dig in or bisect it - I only know that enabling most of

Re: [PATCH 04/10] Input: ams_delta_serio: Replace power GPIO with regulator

2018-06-12 Thread Janusz Krzysztofik
On Wednesday, June 13, 2018 12:17:24 AM CEST Dmitry Torokhov wrote: > On Sat, Jun 09, 2018 at 04:02:18PM +0200, Janusz Krzysztofik wrote: > > ... > > + priv->vcc = devm_regulator_get(&pdev->dev, "vcc"); > > + if (IS_ERR(priv->vcc)) { > > + err = PTR_ERR(priv->vcc); > > + dev

Re: [PATCH 2/2] arm64: dts: mediatek: add mt6765 support

2018-06-12 Thread Rob Herring
On Tue, Jun 12, 2018 at 4:40 PM, Mars Cheng wrote: > This adds basic chip support for MT6765 SoC. > > Signed-off-by: Mars Cheng > --- > arch/arm64/boot/dts/mediatek/Makefile |1 + > arch/arm64/boot/dts/mediatek/mt6765-evb.dts | 39 +++ > arch/arm64/boot/dts/mediatek/mt6765.dtsi

Re: [PATCH v6 29/29] MAINTAINERS: add entry for FPGA DFL drivers

2018-06-12 Thread Alan Tull
On Tue, Jun 12, 2018 at 5:10 AM, Wu Hao wrote: > Add entry for FPGA Device Feature List (DFL) drivers. > > Signed-off-by: Wu Hao Acked-by: Alan Tull > --- > MAINTAINERS | 8 > 1 file changed, 8 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 448957c..98fc5ea 100644 >

Re: [PATCH] pinctrl: qcom: spmi-gpio: Add pm8998 and pm8005 to binding

2018-06-12 Thread Rob Herring
On Tue, Jun 12, 2018 at 5:06 PM, Stephen Boyd wrote: > Update the binding for two more PMICs supported by the same driver. > While we're here, remove the duplicate pmi8994 lines because that > support got merged twice. > > Cc: Rajendra Nayak > Cc: Vivek Gautam > Cc: > Signed-off-by: Stephen Boy

Re: [PATCH 1/2] ndings: mediatek: Add bindings for mediatek MT6765 Platform

2018-06-12 Thread Rob Herring
On Tue, Jun 12, 2018 at 4:40 PM, Mars Cheng wrote: > This adds dt-binding documentation for Mediatek MT6765. Only > include very basic items, gic, uart timer and cpu. Check your subject... > > Signed-off-by: Mars Cheng > --- > Documentation/devicetree/bindings/arm/mediatek.txt |4 > .

Re: [PATCH] selftests: sysctl: return Kselftest Skip code for skipped tests

2018-06-12 Thread Kees Cook
On Tue, Jun 12, 2018 at 5:19 PM, Shuah Khan (Samsung OSG) wrote: > When sysctl test is skipped because of unmet dependencies and/or > unsupported configuration, it exits with error which is treated as > a fail by the Kselftest framework. This leads to false negative result > even when the test cou

[PATCH] selftests: sysctl: return Kselftest Skip code for skipped tests

2018-06-12 Thread Shuah Khan (Samsung OSG)
When sysctl test is skipped because of unmet dependencies and/or unsupported configuration, it exits with error which is treated as a fail by the Kselftest framework. This leads to false negative result even when the test could not be run. Change it to return kselftest skip code when a test gets s

Re: [PATCH] drivers/of: Add devm_of_iomap()

2018-06-12 Thread Benjamin Herrenschmidt
On Wed, 2018-06-13 at 02:16 +0300, Andy Shevchenko wrote: > On Wed, Jun 13, 2018 at 1:58 AM, Benjamin Herrenschmidt > wrote: > > On Tue, 2018-06-12 at 19:53 +0300, Andy Shevchenko wrote: > > > > > > > > It feels like a wrong approach. > > > > > Can OF graph help here? Would it be better approach?

Re: [PATCH] hid: intel_ish-hid: ipc: register more pm callbacks to support hibernation

2018-06-12 Thread Srinivas Pandruvada
On Wed, 2018-06-13 at 00:05 +, Xu, Even wrote: > Ok, sure, I will update patch comments and resubmit. Can you also add in the sign-off area Cc: sta...@vger.kernel.org Thanks, Srinivas > Thanks Srinivas! > > Best Regards, > Even Xu > > > > -Original Message- > From: Srinivas Pand

Re: uapi headers userspace build results

2018-06-12 Thread Randy Dunlap
On 06/12/2018 01:39 PM, Jayant Chowdhary wrote: > Hi Randy, > > On 06/11/2018 10:49 PM, Randy Dunlap wrote: >> Hi, >> >> Here is what I have so far. It begins with a makefile and some >> template files that are added to. There's a good bit of Perl also. >> >> I put all of these files in tools/ua

Re: [PATCH 2/2] IB/mad: Use IDR for agent IDs

2018-06-12 Thread Matthew Wilcox
On Tue, Jun 12, 2018 at 02:33:22PM -0600, Jason Gunthorpe wrote: > > @@ -377,13 +378,24 @@ struct ib_mad_agent *ib_register_mad_agent(struct > > ib_device *device, > > goto error4; > > } > > > > - spin_lock_irq(&port_priv->reg_lock); > > - mad_agent_priv->agent.hi_tid = atomi

RE: [PATCH] hid: intel_ish-hid: ipc: register more pm callbacks to support hibernation

2018-06-12 Thread Xu, Even
Ok, sure, I will update patch comments and resubmit. Thanks Srinivas! Best Regards, Even Xu -Original Message- From: Srinivas Pandruvada [mailto:srinivas.pandruv...@linux.intel.com] Sent: Tuesday, June 12, 2018 11:31 PM To: Jiri Kosina ; Xu, Even Cc: benjamin.tissoi...@redhat.com; lin

RE: [PATCH] hid: intel_ish-hid: ipc: register more pm callbacks to support hibernation

2018-06-12 Thread Xu, Even
Hi, Jiri Kosina, If without this patch, the platform with ISH, its hibernation resume will take more than 10s because of ISH resume failure, it will also cause ISH not functional. With this patch, everything will go will. Best Regards, Even Xu -Original Message- From: Jiri Kosina [mai

Re: [PATCH] selftests: pstore: return Kselftest Skip code for skipped tests

2018-06-12 Thread Kees Cook
On Tue, Jun 12, 2018 at 4:22 PM, Shuah Khan (Samsung OSG) wrote: > When pstore_post_reboot test gets skipped because of unmet dependencies > and/or unsupported configuration, it returns 0 which is treated as a pass > by the Kselftest framework. This leads to false positive result even when > the t

Re: [PATCH v6 12/29] fpga: add FPGA DFL PCIe device driver

2018-06-12 Thread Wu Hao
On Tue, Jun 12, 2018 at 08:27:27AM -0700, Randy Dunlap wrote: > Hi, > > On 06/12/2018 03:10 AM, Wu Hao wrote: > > From: Zhang Yi > > > > diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig > > index 4052532..5faab48 100644 > > --- a/drivers/fpga/Kconfig > > +++ b/drivers/fpga/Kconfig > > @@

Re: [PATCH v6 00/29] FPGA Device Feature List (DFL) Device Drivers

2018-06-12 Thread Wu Hao
On Tue, Jun 12, 2018 at 12:33:42PM -0500, Alan Tull wrote: > On Tue, Jun 12, 2018 at 5:10 AM, Wu Hao wrote: > > Hi All, > > > > Here is v6 patch-series adding drivers for FPGA DFL devices. > > I pushed this patchset to a branch on my linux-fpga kernel.org git > repo for the robots to test. Hi Al

[PATCH] selftests: static_keys: return Kselftest Skip code for skipped tests

2018-06-12 Thread Shuah Khan (Samsung OSG)
When static_keys test is skipped because of unmet dependencies and/or unsupported configuration, it exits with error which is treated as a fail by the Kselftest framework. This leads to false negative result even when the test could not be run. Change it to return kselftest skip code when a test g

[GIT PULL] overflow updates (part 2) for v4.18-rc1

2018-06-12 Thread Kees Cook
Hi Linus, Please pull the rest of the overflow changes for v4.18-rc1. This includes the explicit overflow fixes from Silvio, further struct_size() conversions from Matthew, a bug fix from Dan, but the bulk are the treewide conversions to use either the 2-factor argument allocators (e.g. kmalloc(a

Re: [PATCH V2 2/4] mmc: sdhci-msm: Add msm version specific ops and data structures

2018-06-12 Thread Stephen Boyd
Quoting Vijay Viswanath (2018-05-29 02:52:39) > diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c > index 4050c99..2a66aa0 100644 > --- a/drivers/mmc/host/sdhci-msm.c > +++ b/drivers/mmc/host/sdhci-msm.c > @@ -226,6 +226,24 @@ struct sdhci_msm_offset { > .core_ddr_con

Re: [PATCH] ipc: Limit sysctl value to IPCMNI

2018-06-12 Thread Andrew Morton
On Tue, 12 Jun 2018 08:36:32 +0200 Takashi Iwai wrote: > > Well the present behaviour is to convert higher values downwards, yes? > > > > int ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int limit) > > { > > kuid_t euid; > > kgid_t egid; > > int id, err; > > > > if

Re: [PATCH V3] i8042: Increment wakeup_count for the respective port.

2018-06-12 Thread Dmitry Torokhov
On Tue, Jun 05, 2018 at 12:01:24PM -0700, Ravi Chandra Sadineni wrote: > Call pm_wakeup_event on every irq. This should help us in identifying if > keyboard was a potential wake reason for the last resume. > > Signed-off-by: Ravi Chandra Sadineni Applied, thank you. > --- > V3: Remove the unnec

Re: [PATCH] Input: cros_ec_keyb: Remove check before calling pm_wakeup_event.

2018-06-12 Thread Dmitry Torokhov
On Tue, Jun 05, 2018 at 03:44:57PM -0700, Ravi Chandra Sadineni wrote: > Remove the unnecessary check before calling pm_wakeup_event. If the > device is not wake enabled, this call is no-op anyway. > > Signed-off-by: Ravi Chandra Sadineni Applied, thank you. > --- > drivers/input/keyboard/cros

Re: [PATCH v3 09/12] Input: cros_ec_keyb - Make license text and module license match.

2018-06-12 Thread Dmitry Torokhov
On Wed, Jun 06, 2018 at 05:08:57PM +0200, Enric Balletbo i Serra wrote: > The license text is specifying "GPLv2" but the MODULE_LICENSE is set to > GPL which means GNU Public License v2 or later. When MODULE_LICENSE and > boiler plate does not match, go for boiler plate license. > > Signed-off-by:

Re: [PATCH v3 10/12] Input: cros_ec_keyb - Switch to SPDX identifier.

2018-06-12 Thread Dmitry Torokhov
On Wed, Jun 06, 2018 at 05:08:58PM +0200, Enric Balletbo i Serra wrote: > Adopt the SPDX license identifier headers to ease license compliance > management. > > Signed-off-by: Enric Balletbo i Serra Applied, thank you. > --- > > Changes in v3: None > Changes in v2: None > > drivers/input/key

Re: [PATCH V2 4/4] mmc: host: Register changes for sdcc V5

2018-06-12 Thread Stephen Boyd
Quoting Vijay Viswanath (2018-05-29 02:52:41) > @@ -137,6 +125,12 @@ > /* Timeout value to avoid infinite waiting for pwr_irq */ > #define MSM_PWR_IRQ_TIMEOUT_MS 5000 > > +#define MSM_HOST_READL(msm_host, host, offset) \ > + msm_host->var_ops->msm_readl_relaxed(host, offset) > + > +#defin

[PATCH] selftests: sparc64: delete RUN_TESTS and EMIT_TESTS overrides

2018-06-12 Thread Shuah Khan (Samsung OSG)
Delete RUN_TESTS and EMIT_TESTS overrides and use common defines in lib.mk. Common defines work just fine and there is no need to define custom overrides. Signed-off-by: Shuah Khan (Samsung OSG) --- tools/testing/selftests/sparc64/Makefile | 8 1 file changed, 8 deletions(-) diff --git

[PATCH] selftests: sparc64: Fix to do nothing on non-sparc64

2018-06-12 Thread Shuah Khan (Samsung OSG)
sparc64 test fails with the following errors on non-sparc64 systems. Fix the Makefile to do nothing on non-sparc64 systems to suppress the errors: make run_tests adi-test.c: Assembler messages: adi-test.c:302: Error: no such instruction: `rd %tick,%r13' adi-test.c:304: Error: no such instruction:

  1   2   3   4   5   6   7   >