Re: [PATCH 4.12 000/106] 4.12.6-stable review

2017-08-09 Thread Greg Kroah-Hartman
On Wed, Aug 09, 2017 at 01:34:09PM -0700, kernelci.org bot wrote: > stable-rc/linux-4.12.y boot: 211 boots: 17 failed, 194 passed > (v4.12.5-106-g38a3c1c9f248) > > Full Boot Summary: > https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.12.y/kernel/v4.12.5-106-g38a3c1c9f248/ > Full Build

[rcu:mmap_sem.2017.08.09a 6/16] mm/internal.h:59:26: error: 'struct vm_fault' has no member named 'sequence'

2017-08-09 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git mmap_sem.2017.08.09a head: 39782fbd9252a3ace9b49a55f4dd2a41a6ced31f commit: 1b801585f6b03276db9722dc725a50ca11439467 [6/16] mm: RCU free VMAs config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-

Re: Switching to MQ by default may generate some bug reports

2017-08-09 Thread Paolo Valente
> Il giorno 08 ago 2017, alle ore 19:33, Paolo Valente > ha scritto: > >> >> Il giorno 08 ago 2017, alle ore 10:06, Paolo Valente >> ha scritto: >> >>> >>> Il giorno 07 ago 2017, alle ore 20:42, Paolo Valente >>> ha scritto: >>> Il giorno 07 ago 2017, alle ore 19:32, Paolo Va

Re: [PATCH v3 3/3] arm64: dts: qcom: Specify dload address for msm8916 and msm8996

2017-08-09 Thread Stephen Boyd
On 08/09/2017 01:10 PM, Bjorn Andersson wrote: > On msm8916 and msm8996 boards a secure io-write is used to write the > magic for selecting "download mode", specify this address in the > DeviceTree. > > Note that qcom_scm.download_mode=1 must be specified on the kernel > command line for the kernel

Re: [PATCH -mm -v4 1/5] mm, swap: Add swap readahead hit statistics

2017-08-09 Thread Andrew Morton
On Mon, 7 Aug 2017 13:40:34 +0800 "Huang, Ying" wrote: > From: Huang Ying > > The statistics for total readahead pages and total readahead hits are > recorded and exported via the following sysfs interface. > > /sys/kernel/mm/swap/ra_hits > /sys/kernel/mm/swap/ra_total > > With them, the eff

Re: [PATCH] spmi: Convert to using %pOF instead of full_name

2017-08-09 Thread Rob Herring
+Stephen On Tue, Jul 18, 2017 at 4:43 PM, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring > --- > drivers/spmi/

Re: [Intel-wired-lan] [regression] wake on lan no longer works in 4.13-rc3. was Re: Linux 4.13: Reported regressions as of Sunday, 2017-08-06

2017-08-09 Thread Rafael J. Wysocki
On Wed, Aug 9, 2017 at 11:15 PM, Hisashi T Fujinaka wrote: > On Wed, 9 Aug 2017, Rafael J. Wysocki wrote: > >> [You seem to have a stale linux-pm address in your address book, >> I replaced it with the current one in the CC list.] >> >> On Wednesday, August 9, 2017 8:42:31 AM CEST Pavel Machek wro

Re: [PATCH] Do not disable driver and bus shutdown hook when class shutdown hook is set.

2017-08-09 Thread Jason Gunthorpe
On Wed, Aug 09, 2017 at 11:34:20PM +0200, Michal Suchanek wrote: > Disabling the driver hook by setting class hook is totally sound design > not prone to error as evidenced by the single implementation of the > class hook. It was done this was for consistency, if you look at the full code:

Re: kvm: WARNING in kvm_arch_vcpu_ioctl_run

2017-08-09 Thread Wanpeng Li
2017-08-10 1:07 GMT+08:00 Dmitry Vyukov : > Hello, > > syzkaller fuzzer has hit the following WARNING in kvm_arch_vcpu_ioctl_run. > This is easily reproducible and reproducer is attached at the bottom. > The report is on upstream commit > 26c5cebfdb6ca799186f1e56be7d6f2480c5012c. This requires sett

Re: [PATCH] fpga: Convert to using %pOF instead of full_name

2017-08-09 Thread Rob Herring
On Wed, Jul 19, 2017 at 9:32 AM, Alan Tull wrote: > On Tue, Jul 18, 2017 at 11:42 PM, Moritz Fischer wrote: >> On Tue, Jul 18, 2017 at 04:43:02PM -0500, Rob Herring wrote: >>> Now that we have a custom printf format specifier, convert users of >>> full_name to use %pOF instead. This is preparatio

Re: [Intel-wired-lan] [regression] wake on lan no longer works in 4.13-rc3. was Re: Linux 4.13: Reported regressions as of Sunday, 2017-08-06

2017-08-09 Thread Pavel Machek
Hi! > >[You seem to have a stale linux-pm address in your address book, > >I replaced it with the current one in the CC list.] Thanks, fixed. > >>ACPI S3, right. Machine still wakes up properly when I hit a key on > >>USB keyboard. > > > >OK, so my guess would be a driver issue. What driver is

Re: [PATCH] kmod: test_kmod: Correctly lock reg_dev_mutex

2017-08-09 Thread Daniel Mentz
OK. While we're here: I think there's a spelling error in usage() in tools/testing/selftests/kmod/kmod.sh echo "-c Run test ID once" echo "-s Run test ID x test-count number of times" I believe that "-c" and "-s" are swapped. "c" probably stands for count and "s" for single.

[PATCH v3 2/4] thermal: add brcmstb AVS TMON driver

2017-08-09 Thread Markus Mayer
From: Brian Norris The AVS TMON core provides temperature readings, a pair of configurable high- and low-temperature threshold interrupts, and an emergency over-temperature chip reset. The driver utilizes the first two to provide temperature readings and high-temperature notifications to applicat

[PATCH v3 0/4] thermal: add brcmstb AVS TMON driver

2017-08-09 Thread Markus Mayer
From: Markus Mayer This series adds the brcmstb AVS TMON driver. The driver was originally written by Brian Norris. This series is also available at https://github.com/mmayer/linux/tree/brcmstb-thermal-4.13-v4. v1 of this series can be found at https://lkml.org/lkml/2017/6/5/921 v2 of this ser

[PATCH v3 1/4] Documentation: devicetree: add binding for Broadcom STB AVS TMON

2017-08-09 Thread Markus Mayer
From: Brian Norris Add binding for Broadcom STB thermal. Signed-off-by: Brian Norris Signed-off-by: Markus Mayer --- .../devicetree/bindings/thermal/brcm,avs-tmon.txt| 20 MAINTAINERS | 8 2 files changed, 28 insertio

[PATCH v3 4/4] arm64: defconfig: add CONFIG_BRCMSTB_THERMAL

2017-08-09 Thread Markus Mayer
From: Markus Mayer Turn on CONFIG_BRCMSTB_THERMAL as module. Signed-off-by: Markus Mayer --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 6c7d147..2449064 100644 --- a/arch/arm64/configs/defco

[PATCH v3 3/4] ARM: multi_v7_defconfig: add CONFIG_BRCMSTB_THERMAL

2017-08-09 Thread Markus Mayer
From: Markus Mayer Turn on CONFIG_BRCMSTB_THERMAL as module. Signed-off-by: Markus Mayer --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 4d19c1b..230f7fa 100644 --- a/ar

Re: [Intel-wired-lan] [regression] wake on lan no longer works in 4.13-rc3. was Re: Linux 4.13: Reported regressions as of Sunday, 2017-08-06

2017-08-09 Thread Rafael J. Wysocki
On Wed, Aug 9, 2017 at 11:56 PM, Pavel Machek wrote: > Hi! > >> >[You seem to have a stale linux-pm address in your address book, >> >I replaced it with the current one in the CC list.] > > Thanks, fixed. > >> >>ACPI S3, right. Machine still wakes up properly when I hit a key on >> >>USB keyboard.

Re: [PATCH] misc: Convert to using %pOF instead of full_name

2017-08-09 Thread Rob Herring
On Tue, Jul 18, 2017 at 4:43 PM, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring > Cc: Arnd Bergmann > Cc: Greg

Re: [PATCH] base: Convert to using %pOF instead of full_name

2017-08-09 Thread Rob Herring
On Tue, Jul 18, 2017 at 4:42 PM, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring > Cc: Greg Kroah-Hartman > ---

[PATCH v4 1/4] Documentation: devicetree: add binding for Broadcom STB AVS TMON

2017-08-09 Thread Markus Mayer
From: Brian Norris Add binding for Broadcom STB thermal. Signed-off-by: Brian Norris Signed-off-by: Markus Mayer --- .../devicetree/bindings/thermal/brcm,avs-tmon.txt| 20 MAINTAINERS | 8 2 files changed, 28 insertio

[PATCH v4 0/4] thermal: add brcmstb AVS TMON driver

2017-08-09 Thread Markus Mayer
From: Markus Mayer This series adds the brcmstb AVS TMON driver. The driver was originally written by Brian Norris. This series is also available at https://github.com/mmayer/linux/tree/brcmstb-thermal-4.13-v4. v1 of this series can be found at https://lkml.org/lkml/2017/6/5/921 v2 of this ser

[PATCH v4 2/4] thermal: add brcmstb AVS TMON driver

2017-08-09 Thread Markus Mayer
From: Brian Norris The AVS TMON core provides temperature readings, a pair of configurable high- and low-temperature threshold interrupts, and an emergency over-temperature chip reset. The driver utilizes the first two to provide temperature readings and high-temperature notifications to applicat

[PATCH v4 3/4] ARM: multi_v7_defconfig: add CONFIG_BRCMSTB_THERMAL

2017-08-09 Thread Markus Mayer
From: Markus Mayer Turn on CONFIG_BRCMSTB_THERMAL as module. Signed-off-by: Markus Mayer --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 4d19c1b..230f7fa 100644 --- a/ar

[PATCH v4 4/4] arm64: defconfig: add CONFIG_BRCMSTB_THERMAL

2017-08-09 Thread Markus Mayer
From: Markus Mayer Turn on CONFIG_BRCMSTB_THERMAL as module. Signed-off-by: Markus Mayer --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 6c7d147..2449064 100644 --- a/arch/arm64/configs/defco

Re: [PATCH] bus: Convert to using %pOF instead of full_name

2017-08-09 Thread Rob Herring
On Tue, Jul 18, 2017 at 4:42 PM, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring > Cc: Maxime Ripard > Cc: Chen-

Re: [PATCH] PCI: Convert to using %pOF instead of full_name

2017-08-09 Thread Rob Herring
On Wed, Aug 2, 2017 at 5:39 PM, Bjorn Helgaas wrote: > On Tue, Jul 18, 2017 at 04:43:21PM -0500, Rob Herring wrote: >> Now that we have a custom printf format specifier, convert users of >> full_name to use %pOF instead. This is preparation to remove storing >> of the full path string for each nod

[PATCH] selftests: timers: freq-step: fix compile error

2017-08-09 Thread Shuah Khan
Fix compile error due to ksft_exit_skip() update to take var_args. freq-step.c: In function ‘init_test’: freq-step.c:234:3: error: too few arguments to function ‘ksft_exit_skip’ ksft_exit_skip(); ^~ In file included from freq-step.c:26:0: ../kselftest.h:167:19: note: declared her

Re: [PATCH v2] ARM: Convert to using %pOF instead of full_name

2017-08-09 Thread Rob Herring
On Fri, Jul 21, 2017 at 2:28 PM, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring > Acked-by: Krzysztof Kozlowski

Re: [PATCH 1/2] ARM: dts: am571x-idk: Fix GPIO polarity for MMC1 card detect

2017-08-09 Thread Tony Lindgren
* Kishon Vijay Abraham I [170807 22:22]: > The GPIO polarity for MMC1 card detect is set to '0' which means > active-high. However the polarity should be active-low. Fix it > here. Can these wait for v4.14 merge window or do these fix known issues? Regards, Tony

Re: [PATCH] misc: atmel_tclib: fix error return code in tc_probe()

2017-08-09 Thread Alexandre Belloni
On 09/08/2017 at 11:42:50 -0500, Gustavo A. R. Silva wrote: > platform_get_irq() returns an error code, but the atmel_tclib driver > ignores it and always returns -EINVAL. This is not correct and, > prevents -EPROBE_DEFER from being propagated properly. > Which will never happen because the kerne

[rcu:mmap_sem.2017.08.09a 6/16] mm/mmap.c:162:1: error: type defaults to 'int' in declaration of 'DEFINE_SRCU'

2017-08-09 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git mmap_sem.2017.08.09a head: 39782fbd9252a3ace9b49a55f4dd2a41a6ced31f commit: 1b801585f6b03276db9722dc725a50ca11439467 [6/16] mm: RCU free VMAs config: parisc-allnoconfig (attached as .config) compiler: hppa-linux-gnu-gc

Re: [PATCH] soc: Convert to using %pOF instead of full_name

2017-08-09 Thread Rob Herring
On Tue, Jul 18, 2017 at 4:43 PM, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring > Cc: Scott Wood > Cc: Qiang Zh

Re: [RFC PATCH 5/7] dt-bindings: ti-omap-hsmmc: Document new compatible for sdhci omap

2017-08-09 Thread Tony Lindgren
* Kishon Vijay Abraham I [170807 09:03]: > Document the new compatible string "ti,dra7-sdhci" to be used for > MMC controllers in DRA7 and DRA72 SoCs. I wonder if this should really be documented for sdhci instead of ti-omap-hsmmc.txt? I agree it's better to use sdhci compatible and keep the hsm

Re: [PATCH] pwm: Convert to using %pOF instead of full_name

2017-08-09 Thread Rob Herring
On Tue, Jul 25, 2017 at 6:38 AM, Thierry Reding wrote: > On Tue, Jul 18, 2017 at 04:43:25PM -0500, Rob Herring wrote: >> Now that we have a custom printf format specifier, convert users of >> full_name to use %pOF instead. This is preparation to remove storing >> of the full path string for each n

Re: [PATCH] spmi: Convert to using %pOF instead of full_name

2017-08-09 Thread Stephen Boyd
On 08/09/2017 02:50 PM, Rob Herring wrote: > +Stephen > > On Tue, Jul 18, 2017 at 4:43 PM, Rob Herring wrote: >> Now that we have a custom printf format specifier, convert users of >> full_name to use %pOF instead. This is preparation to remove storing >> of the full path string for each node. >>

Re: [PATCH] nvmem: Convert to using %pOF instead of full_name

2017-08-09 Thread Rob Herring
On Tue, Jul 18, 2017 at 4:43 PM, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring > Cc: Srinivas Kandagatla > ---

Re: [PATCH] mtd: Convert to using %pOF instead of full_name

2017-08-09 Thread Rob Herring
On Wed, Jul 19, 2017 at 2:44 PM, Boris Brezillon wrote: > On Tue, 18 Jul 2017 16:43:17 -0500 > Rob Herring wrote: > >> Now that we have a custom printf format specifier, convert users of >> full_name to use %pOF instead. This is preparation to remove storing >> of the full path string for each no

[PATCH 2/4] drivers/hwmon/pmbus: Access word data for STATUS_WORD

2017-08-09 Thread Eddie James
From: "Edward A. James" Pmbus always reads byte data from the status register, even if configured to use STATUS_WORD. Use a function pointer to read the correct amount of data from the registers. Also switch to try STATUS_WORD first before STATUS_BYTE on init. Signed-off-by: Edward A. James ---

[PATCH 4/4] drivers/hwmon/pmbus: Add debugfs for status registers

2017-08-09 Thread Eddie James
From: "Edward A. James" Export all the available status registers through debugfs, if the client driver wants them. Signed-off-by: Edward A. James --- drivers/hwmon/pmbus/pmbus.c | 24 +- drivers/hwmon/pmbus/pmbus.h | 11 +++ drivers/hwmon/pmbus/pmbus_core.c | 175 +

[PATCH 3/4] drivers/hwmon/pmbus: Add generic alarm bit for iin and pin

2017-08-09 Thread Eddie James
From: "Edward A. James" Add PB_STATUS_INPUT as the generic alarm bit for iin and pin. We also need to redo the status register checking before setting up the boolean attribute, since it won't necessarily check STATUS_WORD if the device doesn't support it, which we need for this bit. Signed-off-b

[PATCH 1/4] drivers/hwmon/pmbus: Switch status registers to 16 bit

2017-08-09 Thread Eddie James
From: "Edward A. James" Switch the storage of status registers to 16 bit values. This allows us to store all the bits of STATUS_WORD. Signed-off-by: Edward A. James --- drivers/hwmon/pmbus/pmbus_core.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/h

[PATCH 0/4] drivers/hwmon/pmbus: Core extensions for STATUS_WORD support and debugfs

2017-08-09 Thread Eddie James
From: "Edward A. James" This series adds some functionality to the pmbus core. The first two patches provide support for the STATUS_WORD register. This allows more default alarm attributes to be used, as the upper byte of the status register is available. The third patch then uses the STATUS_INP

Re: [PATCH] memory: Convert to using %pOF instead of full_name

2017-08-09 Thread Rob Herring
On Wed, Jul 19, 2017 at 12:47 AM, Alexandre Belloni wrote: > On 18/07/2017 at 16:43:14 -0500, Rob Herring wrote: >> Now that we have a custom printf format specifier, convert users of >> full_name to use %pOF instead. This is preparation to remove storing >> of the full path string for each node.

Re: [V4 1/2] phy: ralink-usb: add driver for Mediatek/Ralink

2017-08-09 Thread James Hogan
On 9 August 2017 10:35:39 BST, Harvey Hunt wrote: >From: John Crispin > >Add a driver to setup the USB phy on Mediatek/Ralink SoCs. >The driver is trivial and only sets up power and host mode. > >Signed-off-by: John Crispin >Signed-off-by: Harvey Hunt >Cc: linux-kernel@vger.kernel.org >Cc: linu

[PATCH v2 3/4] PM / s2idle: Rename ->enter_freeze to ->enter_s2idle

2017-08-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Rename the ->enter_freeze cpuidle driver callback to ->enter_s2idle to make it clear that it is used for entering suspend-to-idle and rename the related functions, variables and so on accordingly. Signed-off-by: Rafael J. Wysocki --- arch/arm/mach-tegra/cpuidle-tegra114

[PATCH v2 0/4] PM: Replace "freeze" with "s2idle" in item names related to suspend-to-idle

2017-08-09 Thread Rafael J. Wysocki
On Saturday, August 5, 2017 2:55:34 PM CEST Rafael J. Wysocki wrote: > Hi Everyone, > > The term "suspend-to-idle" (and its short form "s2idle") was invented after > introducing support for the system state it refers to. At that time, the > feature was called "freeze", kind of for the lack of a b

[PATCH v2 4/4] PM / s2idle: Rename platform operations structure

2017-08-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Rename struct platform_freeze_ops to platform_s2idle_ops to make it clear that the callbacks in it are used during suspend-to-idle suspend/resume transitions and rename the related functions, variables and so on accordingly. Signed-off-by: Rafael J. Wysocki --- drivers/

[PATCH v2 2/4] PM / s2idle: Rename freeze_state enum and related items

2017-08-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Rename the freeze_state enum representing the suspend-to-idle state machine states to s2idle_states and rename the related variables and functions accordingly. Signed-off-by: Rafael J. Wysocki --- drivers/base/power/wakeup.c |2 - include/linux/suspend.h | 20

[PATCH v2 1/4] PM / s2idle: Rename PM_SUSPEND_FREEZE to PM_SUSPEND_TO_IDLE

2017-08-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki To make it clear that the symbol in question refers to suspend-to-idle, rename it from PM_SUSPEND_FREEZE to PM_SUSPEND_TO_IDLE. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/sleep.c |2 - drivers/regulator/of_regulator.c |2 - include/linux/suspe

Re: [rcu:mmap_sem.2017.08.09a 6/16] mm/mmap.c:162:1: error: type defaults to 'int' in declaration of 'DEFINE_SRCU'

2017-08-09 Thread Paul E. McKenney
On Thu, Aug 10, 2017 at 06:09:22AM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > mmap_sem.2017.08.09a > head: 39782fbd9252a3ace9b49a55f4dd2a41a6ced31f > commit: 1b801585f6b03276db9722dc725a50ca11439467 [6/16] mm: RCU free VMAs >

[PATCH 1/2] iommu/tegra: Add support for struct iommu_device

2017-08-09 Thread Joerg Roedel
From: Joerg Roedel Add a struct iommu_device to each tegra-smmu and register it with the iommu-core. Also link devices added to the driver to their respective hardware iommus. Signed-off-by: Joerg Roedel --- drivers/iommu/tegra-smmu.c | 25 + 1 file changed, 25 insertio

[PATCH 2/2] iommu/tegra-gart: Add support for struct iommu_device

2017-08-09 Thread Joerg Roedel
From: Joerg Roedel Add a struct iommu_device to each tegra-gart and register it with the iommu-core. Also link devices added to the driver to their respective hardware iommus. Signed-off-by: Joerg Roedel --- drivers/iommu/tegra-gart.c | 26 ++ 1 file changed, 26 inserti

[PATCH 0/2] iommu/tegra*: Add support for struct iommu_device

2017-08-09 Thread Joerg Roedel
Hi, here are two patches to add support for 'struct iommu_device' to the tegra iommu-drivers. This will make the iommu-core code aware of the hardware iommus that a driver manages. It will also add the iommus to sysfs and link them to the devices managed by them. The patches apply on-top of Robi

[PATCH] xen-blkfront: use a right index when checking requests

2017-08-09 Thread Munehisa Kamata
Since commit d05d7f40791c ("Merge branch 'for-4.8/core' of git://git.kernel.dk/linux-block") and 3fc9d690936f ("Merge branch 'for-4.8/drivers' of git://git.kernel.dk/linux-block"), blkfront_resume() has been using an index for iterating ring_info to check request when iterating blk_shadow in an inn

Re: [PATCH] kmod: test_kmod: Correctly lock reg_dev_mutex

2017-08-09 Thread Luis R. Rodriguez
On Wed, Aug 09, 2017 at 02:56:52PM -0700, Daniel Mentz wrote: > OK. While we're here: I think there's a spelling error in usage() in > tools/testing/selftests/kmod/kmod.sh > > echo "-c Run test ID once" > echo "-s Run test ID x test-count number of times" > > I believe that "-c"

[PATCH] staging: wlan-ng: Fix sparse warning: cast to restricted __le16.

2017-08-09 Thread AbdAllah-MEZITI
The same structure is used in both side, so we dont need to cast. This will fix the following sparse warnings: drivers/staging/wlan-ng/prism2sta.c:1139:13: warning: cast to restricted __le16 drivers/staging/wlan-ng/prism2sta.c:1150:24: warning: cast to restricted __le16 drivers/staging/wlan-ng/pris

Re: new ELF marking

2017-08-09 Thread Carlos O'Donell
On 08/09/2017 05:24 PM, H.J. Lu wrote: > On Wed, Aug 9, 2017 at 1:32 PM, Kostya Serebryany wrote: I believe this would only be an output bit, but I'm not sure how it would be wired into binutils. Kostya, do you know any details about how AddressSanitizer might be able to create

Re: [PATCH] misc: Convert to using %pOF instead of full_name

2017-08-09 Thread Greg Kroah-Hartman
On Wed, Aug 09, 2017 at 04:59:53PM -0500, Rob Herring wrote: > On Tue, Jul 18, 2017 at 4:43 PM, Rob Herring wrote: > > Now that we have a custom printf format specifier, convert users of > > full_name to use %pOF instead. This is preparation to remove storing > > of the full path string for each n

Re: [PATCH v3] printk: Add boottime and real timestamps

2017-08-09 Thread Prarit Bhargava
On 08/09/2017 02:24 PM, Luis R. Rodriguez wrote: > On Mon, Aug 07, 2017 at 02:17:33PM -0400, Prarit Bhargava wrote: >> >> >> On 08/07/2017 01:14 PM, Luis R. Rodriguez wrote: >> >>> >>> Note printk_late_init() is a late_initcall(). This means if the >>> printk_time_setting was disabled it will tak

Re: [PATCH v3 05/11] net: stmmac: dwmac-rk: Add internal phy support

2017-08-09 Thread Florian Fainelli
On August 9, 2017 1:45:41 AM PDT, Corentin Labbe wrote: >On Thu, Aug 03, 2017 at 07:06:33PM +0800, Chen-Yu Tsai wrote: >> On Thu, Aug 3, 2017 at 1:38 AM, Florian Fainelli > wrote: >> > On 08/01/2017 11:21 PM, David Wu wrote: >> >> To make internal phy work, need to configure the phy_clock, >> >>

[PATCH 3/3] ACPI / scan: Enable GPEs before scanning the namespace

2017-08-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki On some systems the platform firmware expects GPEs to be enabled before the enumeration of devices and if that expectation is not met, the systems in question may not boot in some situations. For this reason, change the initialization ordering of the ACPI subsystem to mak

[PATCH 1/3] ACPICA: Dispatch active GPEs at init time

2017-08-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki In some cases GPEs are already active when they are enabled by acpi_ev_initialize_gpe_block() and whatever happens next may depend on the result of handling the events signaled by them, so the events should not be discarded (which is what happens currently) and they should

[PATCH 2/3] ACPICA: Make it possible to enable runtime GPEs earlier

2017-08-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Runtime GPEs have corresponding _Lxx/_Exx methods and are enabled automatically during the initialization of the ACPI subsystem through acpi_update_all_gpes() with the assumption that acpi_setup_gpe_for_wake() will be called in advance for all of the GPEs pointed to by _PR

[PATCH 0/3] ACPI: Initialize GPEs before the initial namespace scan

2017-08-09 Thread Rafael J. Wysocki
Hi, This is exceptional for at least two reasons. First, we need it now to work around boot problems on multiple platforms already seen in the field (which are shipping products). Second, the ACPICA changes in this series are kind of Linux-specific, because they are related to how Linux carries

Re: [PATCH v4 05/12] Documentation: net: phy: Add phy-is-internal binding

2017-08-09 Thread Florian Fainelli
On August 9, 2017 5:10:30 AM PDT, David Wu wrote: >Add the documentation for internal phy. A boolean property >indicates that a internal phy will be used. > >Signed-off-by: David Wu >--- > Documentation/devicetree/bindings/net/phy.txt | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/Docu

Re: [PATCH v4 10/12] ARM: dts: rk3228-evb: Enable the internal phy for gmac

2017-08-09 Thread Florian Fainelli
On August 9, 2017 5:13:19 AM PDT, David Wu wrote: >This patch enables the internal phy for rk3228 evb board >by default. >To use the external 1000M phy on evb board, need to make >some switch of evb board to be on. > >Signed-off-by: David Wu LGTM Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH v4 0/5] Apple SPI properties

2017-08-09 Thread Rafael J. Wysocki
On Tuesday, August 1, 2017 3:08:58 PM CEST Rafael J. Wysocki wrote: > On Tue, Aug 1, 2017 at 2:10 PM, Lukas Wunner wrote: > > Retrieve device properties on Macs with an Apple-specific _DSM and > > use them in lieu of _CRS data upon SPI slave initialization > > in preparation of supporting the SPI

[PATCH v7 2/5] genirq: Add handle_fasteoi_{level,edge}_irq flow handlers.

2017-08-09 Thread David Daney
Follow-on patch for gpio-thunderx uses a irqdomain hierarchy which requires slightly different flow handlers, add them to chip.c which contains most of the other flow handlers. Signed-off-by: David Daney --- include/linux/irq.h | 2 ++ kernel/irq/chip.c | 102

[PATCH v7 5/5] MAINTAINERS: Add entry for THUNDERX GPIO Driver.

2017-08-09 Thread David Daney
Signed-off-by: David Daney --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3c41902..5c39d80 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12993,6 +12993,11 @@ M: Yehezkel Bernat S: Maintained F: drivers/thunderbolt/ +THUND

[PATCH v7 4/5] gpio: Add gpio driver support for ThunderX and OCTEON-TX

2017-08-09 Thread David Daney
Cavium ThunderX and OCTEON-TX are arm64 based SoCs. Add driver for the on-chip GPIO pins. Signed-off-by: David Daney --- drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile| 1 + drivers/gpio/gpio-thunderx.c | 639 +++ 3 files changed, 6

Re: [PATCH 2/2] lib: add test for bitmap_parselist()

2017-08-09 Thread Yury Norov
git tree, please drop us a note to > > help improve the system] > > > > url: > > https://github.com/0day-ci/linux/commits/Yury-Norov/lib-make-bitmap_parselist-thread-safe-and-much-faster/20170809-105307 > > config: i386-randconfig-x000-201732 (attached as .confi

[PATCH v7 0/5] genirq/gpio: Add driver for ThunderX and OCTEON-TX SoCs

2017-08-09 Thread David Daney
The ThunderX/OCTEON-TX GPIO hardware looks like a PCIe device, with the interrupt signal from each GPIO line being routed to a dedicated MSI-X. This interrupt routing requires that we add some custom processing to the beginning of the MSI-X irqdomain hierarchy. Changes from v6: - Trivial rebase

[PATCH v7 3/5] irqdomain: Add irq_domain_{push,pop}_irq() functions.

2017-08-09 Thread David Daney
For an already existing irqdomain hierarchy, as might be obtained via a call to pci_enable_msix_range(), a PCI driver wishing to add an additional irqdomain to the hierarchy needs to be able to insert the irqdomain to that already initialized hierarchy. Calling irq_domain_create_hierarchy() allows

[PATCH] gpio: brcmstb: check return value of gpiochip_irqchip_add()

2017-08-09 Thread Masahiro Yamada
Because gpiochip_irqchip_add() may fail, its return value should be checked. Signed-off-by: Masahiro Yamada --- drivers/gpio/gpio-brcmstb.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpio/gpio-brcmstb.c b/drivers/gpio/gpio-brcmstb.c index e6489143721a..

Re: [PATCH] ACPI / dock: constify attribute_group structure

2017-08-09 Thread Rafael J. Wysocki
On Wednesday, August 2, 2017 2:28:46 AM CEST Amitoj Kaur Chawla wrote: > Functions working with attribute_groups provided by > work with const attribute_group. These attribute_group structures do not > change at runtime so mark them as const. > > File size before: > text data bss de

Re: [PATCH 3/4] drivers/hwmon/pmbus: Add generic alarm bit for iin and pin

2017-08-09 Thread Guenter Roeck
On Wed, Aug 09, 2017 at 05:19:16PM -0500, Eddie James wrote: > From: "Edward A. James" > > Add PB_STATUS_INPUT as the generic alarm bit for iin and pin. We also > need to redo the status register checking before setting up the boolean > attribute, since it won't necessarily check STATUS_WORD if t

[PATCH v7 1/5] genirq: Export more irq_chip_*_parent() functions.

2017-08-09 Thread David Daney
Many of the family of functions including irq_chip_mask_parent(), irq_chip_unmask_parent() are exported, but not all. Add EXPORT_SYMBOL_GPL to irq_chip_enable_parent, irq_chip_disable_parent and irq_chip_set_affinity_parent, so they likewise are usable from modules. Signed-off-by: David Daney --

Re: [PATCH] cpufreq: dt: Add rk3328 compatible to use generic cpufreq driver

2017-08-09 Thread Rafael J. Wysocki
On Friday, August 4, 2017 7:10:41 AM CEST Viresh Kumar wrote: > On 04-08-17, 09:52, Finley Xiao wrote: > > This patch adds the rk3328 compatible string for supporting > > the generic cpufreq driver on RK3328. > > > > Signed-off-by: Finley Xiao > > --- > > drivers/cpufreq/cpufreq-dt-platdev.c | 1

[PATCH v2] drm/rockchip: Skip suspend/resume if no display is attached

2017-08-09 Thread Matthias Kaehlcke
rockchip_drm_sys_suspend/resume() obains a struct drm_device pointer from drvdata, the pointer is then dereferenced to obtain private data. drvdata is set when a display is bound, on systems without a (successfully probed) display drvdata is NULL and the PM functions try to dereference a NULL point

Re: [PATCH v2] drm/rockchip: Skip suspend/resume if no display is attached

2017-08-09 Thread Matthias Kaehlcke
El Wed, Aug 09, 2017 at 04:03:02PM -0700 Matthias Kaehlcke ha dit: > rockchip_drm_sys_suspend/resume() obains a struct drm_device pointer > from drvdata, the pointer is then dereferenced to obtain private data. > drvdata is set when a display is bound, on systems without a > (successfully probed)

[PATCH] drm/rockchip: Skip suspend/resume if no display is attached

2017-08-09 Thread Matthias Kaehlcke
rockchip_drm_sys_suspend/resume() obains a struct drm_device pointer from drvdata, the pointer is then dereferenced to obtain private data. drvdata is set when a display is bound, on systems without a (successfully probed) display drvdata is NULL and the PM functions try to dereference a NULL point

Re: [PATCH v2] serial: 8250_of: Add basic PM runtime support

2017-08-09 Thread David Lechner
On 08/07/2017 03:46 PM, Franklin S Cooper Jr wrote: Add basic PM Runtime support. Signed-off-by: Franklin S Cooper Jr --- Version 2 changes: Fix build error. Build tested using allmodconfig drivers/tty/serial/8250/8250_of.c | 35 --- 1 file changed, 24 inser

Re: [PATCH -mm -v4 1/5] mm, swap: Add swap readahead hit statistics

2017-08-09 Thread Huang, Ying
Andrew Morton writes: > On Mon, 7 Aug 2017 13:40:34 +0800 "Huang, Ying" wrote: > >> From: Huang Ying >> >> The statistics for total readahead pages and total readahead hits are >> recorded and exported via the following sysfs interface. >> >> /sys/kernel/mm/swap/ra_hits >> /sys/kernel/mm/swa

linux-next: Signed-off-by missing for commit in the v4l-dvb tree

2017-08-09 Thread Stephen Rothwell
Hi Mauro, Commit 383c36471c00 ("media: cx231xx: only unregister successfully registered i2c adapters") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell

Re: [PATCH v6 1/2] dt-bindings: bus: Add documentation for the Technologic Systems NBUS

2017-08-09 Thread Rob Herring
On Thu, Aug 03, 2017 at 03:28:18PM -0400, Sebastien Bourdelin wrote: > Add binding documentation for the Technologic Systems NBUS that is used > to interface with peripherals in the FPGA of the TS-4600 SoM. > > Signed-off-by: Sebastien Bourdelin > Acked-by: Linus Walleij > --- > Changes v5 -> v6

Re: [PATCH v2 2/2] ACPI / Sleep: Check low power idle constraints for debug only

2017-08-09 Thread Rafael J. Wysocki
On Wednesday, August 9, 2017 12:41:15 AM CEST Srinivas Pandruvada wrote: > For SoC to achieve its lowest power platform idle state a set of hardware > preconditions must be met. These preconditions or constraints can be > obtained by issuing a device specific method (_DSM) with function "1". > Refe

Re: [PATCH v3 1/4] dt-bindings: crypto: add ARTPEC crypto

2017-08-09 Thread Rob Herring
On Fri, Aug 04, 2017 at 09:18:45AM +0200, Lars Persson wrote: > Document the device tree bindings for the ARTPEC crypto accelerator on > ARTPEC-6 and ARTPEC-7 SoCs. > > Signed-off-by: Lars Persson > --- > .../devicetree/bindings/crypto/artpec6-crypto.txt| 16 > > 1 file

Re: [PATCH 2/3] iio: trigger: stm32-timer: add support for STM32H7

2017-08-09 Thread Jonathan Cameron
On Thu, 3 Aug 2017 11:14:13 +0200 Fabrice Gasnier wrote: > Add support for STM32H7 timer triggers: > - Add new valids_table > - Introduce compatible, with configuration data > - Extend up to 15 timers, available on STM32H7 > > Signed-off-by: Fabrice Gasnier Applied to the togreg branch of iio.g

Re: [PATCH 3/3] iio: trigger: stm32-timer: add output compare triggers

2017-08-09 Thread Jonathan Cameron
On Thu, 3 Aug 2017 11:14:14 +0200 Fabrice Gasnier wrote: > Add output compare trigger sources available on some instances. > > Signed-off-by: Fabrice Gasnier Applied to the togreg branch of iio.git and pushed out as testing. Thanks, Jonathan > --- > drivers/iio/trigger/stm32-timer-trigger.c

Re: [PATCH 1/3] dt-bindings: iio: timer: stm32: add support for STM32H7

2017-08-09 Thread Jonathan Cameron
On Thu, 3 Aug 2017 11:14:12 +0200 Fabrice Gasnier wrote: > STM32H7 has slightly different triggers than previous versions. > Introduce st,stm32h7-timer-trigger compatible to handle this new variant. > > Signed-off-by: Fabrice Gasnier Applied to the togreg branch of iio.git and pushed out as tes

Re: [PATCH 1/7] iio: srf08: add device tree binding for srf02 and srf10

2017-08-09 Thread Jonathan Cameron
On Thu, 3 Aug 2017 01:23:35 +0200 Andreas Klinger wrote: > add trivial device tree binding "devantech,srf02" and "devantech,srf10" > > Signed-off-by: Andreas Klinger Please remember to cc the device tree maintainers and list of bindings. For trivial ones, sometimes it makes more sense for them

Re: unregister_netdevice: waiting for eth0 to become free. Usage count = 1

2017-08-09 Thread Cong Wang
(Cc'ing Wei whose commit was blamed) On Mon, Aug 7, 2017 at 2:15 PM, John Stultz wrote: > On Mon, Aug 7, 2017 at 2:05 PM, John Stultz wrote: >> So, with recent testing with my HiKey board, I've been noticing some >> quirky behavior with my USB eth adapter. >> >> Basically, pluging the usb eth ad

Re: [v6 1/2] raid6/altivec: Add vpermxor implementation for raid6 Q syndrome

2017-08-09 Thread Matt Brown
On Wed, Aug 9, 2017 at 11:26 PM, Michael Ellerman wrote: > Matt Brown writes: > >> This patch uses the vpermxor instruction to optimise the raid6 Q syndrome. >> This instruction was made available with POWER8, ISA version 2.07. >> It allows for both vperm and vxor instructions to be done in a sin

Re: [RFC 3/5] dt-bindings: i3c: Document core bindings

2017-08-09 Thread Rob Herring
On Mon, Jul 31, 2017 at 06:24:48PM +0200, Boris Brezillon wrote: > A new I3C subsystem has been added and a generic description has been > created to represent the I3C bus and the devices connected on it. > > Document this generic representation. > > Signed-off-by: Boris Brezillon > --- > Docum

Re: unregister_netdevice: waiting for eth0 to become free. Usage count = 1

2017-08-09 Thread John Stultz
On Wed, Aug 9, 2017 at 4:34 PM, Cong Wang wrote: > (Cc'ing Wei whose commit was blamed) > > On Mon, Aug 7, 2017 at 2:15 PM, John Stultz wrote: >> On Mon, Aug 7, 2017 at 2:05 PM, John Stultz wrote: >>> So, with recent testing with my HiKey board, I've been noticing some >>> quirky behavior with m

Re: [PATCH] remoteproc/keystone: Add support for Keystone 66AK2G SOCs

2017-08-09 Thread Rob Herring
On Mon, Jul 31, 2017 at 03:05:02PM -0500, Suman Anna wrote: > Add support to the keystone remoteproc driver for managing the > DSP present in the Keystone 2 66AK2G SoC. The 66AK2G SoC has > a Power Management Micro Controller (PMMC) that manages the > individual device's power, clock and reset func

[PATCH 0/3] kmod: pending fixes for v4.13-final

2017-08-09 Thread Luis R. Rodriguez
only if we've already throttled after 50 kmod threads have been hit. These fixes are also available on my linux git tree branch 20170809-kmod-for-v4.13-final [0] which also has contains other fixes I had previously sent to you and Shuah for inclusion for v4.13-final. Note that although it may

[PATCH 2/3] kmod: fix wait on recursive loop

2017-08-09 Thread Luis R. Rodriguez
Recursive loops with module loading were previously handled in kmod by restricting the number of modprobe calls to 50 and if that limit was breached request_module() would return an error and a user would see the following on their kernel dmesg: request_module: runaway loop modprobe binfmt-464c St

[PATCH 3/3] test_kmod: fix description for -s -and -c parameters

2017-08-09 Thread Luis R. Rodriguez
The descriptions were reversed, correct this. Reported-by: Daniel Mentz Fixes: 64b671204afd71 ("test_sysctl: add generic script to expand on tests") Signed-off-by: Luis R. Rodriguez --- tools/testing/selftests/kmod/kmod.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/

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