[GIT PULL] USB patches for 5.4-rc1

2019-09-18 Thread Greg KH
The following changes since commit 089cf7f6ecb266b6a4164919a2e69bd2f938374a: Linux 5.3-rc7 (2019-09-02 09:57:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.4-rc1 for you to fetch changes up to fb9617edf6c0e1b86a6595c

[GIT PULL] TTY/Serial patches for 5.4-rc1

2019-09-18 Thread Greg KH
The following changes since commit d45331b00ddb179e291766617259261c112db872: Linux 5.3-rc4 (2019-08-11 13:26:41 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.4-rc1 for you to fetch changes up to 1dce2df3ee06e4f10fd9b89

Re: [PATCH/RFC] zswap: do not map same object twice

2019-09-18 Thread Dan Streetman
On Sun, Sep 15, 2019 at 5:46 PM Vitaly Wool wrote: > > zswap_writeback_entry() maps a handle to read swpentry first, and > then in the most common case it would map the same handle again. > This is ok when zbud is the backend since its mapping callback is > plain and simple, but it slows things do

[GIT PULL] Driver core patches for 5.4-rc1

2019-09-18 Thread Greg KH
The following changes since commit d45331b00ddb179e291766617259261c112db872: Linux 5.3-rc4 (2019-08-11 13:26:41 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-5.4-rc1 for you to fetch changes up to ca7ce5

[GIT PULL] Staging/IIO driver patches for 5.4-rc1

2019-09-18 Thread Greg KH
The following changes since commit d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1: Linux 5.3-rc5 (2019-08-18 14:31:08 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-5.4-rc1 for you to fetch changes up to 3fb73eddba106a

[PATCH] mfd: ipaq-micro: Use devm_platform_ioremap_resource() in micro_probe()

2019-09-18 Thread Markus Elfring
From: Markus Elfring Date: Wed, 18 Sep 2019 13:40:30 +0200 Simplify this function implementation by using a known wrapper function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/mfd/ipaq-micro.c | 6 +- 1 file changed, 1 insertion(+),

[GIT PULL] Char/Misc driver patches for 5.4-rc1

2019-09-18 Thread Greg KH
The following changes since commit 089cf7f6ecb266b6a4164919a2e69bd2f938374a: Linux 5.3-rc7 (2019-09-02 09:57:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-5.4-rc1 for you to fetch changes up to 16a0f687ca

Re: [PATCH v2 1/1] platform/x86/intel_cht_int33fe: Split code to USB TypeB and TypeC variants

2019-09-18 Thread Yauhen Kharuzhy
On Wed, Sep 18, 2019 at 02:38:35PM +0300, Heikki Krogerus wrote: > On Tue, Sep 17, 2019 at 10:45:07PM +0300, Yauhen Kharuzhy wrote: > > Existing intel_cht_int33fe ACPI pseudo-device driver assumes that > > hardware has TypeC connector and register related devices described as > > I2C connections in

Re: [RFC PATCH 2/2] dt-bindings: pwm: Convert Samsung PWM bindings to json-schema

2019-09-18 Thread Krzysztof Kozlowski
On Fri, 13 Sep 2019 at 16:36, Rob Herring wrote: > > On Mon, Sep 09, 2019 at 08:34:36PM +0200, Krzysztof Kozlowski wrote: > > Convert Samsung PWM (S3C, S5P and Exynos SoCs) bindings to DT schema > > format using json-schema. > > > > Signed-off-by: Krzysztof Kozlowski > > --- > > .../devicetree/b

Re: [PATCH 4.19 00/50] 4.19.74-stable review

2019-09-18 Thread kernelci.org bot
stable-rc/linux-4.19.y boot: 133 boots: 0 failed, 124 passed with 9 offline (v4.19.73-51-gddb7a3337506) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.19.y/kernel/v4.19.73-51-gddb7a3337506/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.19

Re: [PATCH 5.2 00/85] 5.2.16-stable review

2019-09-18 Thread kernelci.org bot
stable-rc/linux-5.2.y boot: 145 boots: 1 failed, 135 passed with 8 offline, 1 conflict (v5.2.15-86-g2f63f02ef506) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.2.y/kernel/v5.2.15-86-g2f63f02ef506/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/li

[PATCH] media: dt-bindings: Fix building error for dt_binding_check

2019-09-18 Thread Pragnesh Patel
$id doesn't match the actual filename, so update the $id Signed-off-by: Pragnesh Patel --- Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yam

Re: [PATCH] kvm: x86: Use DEFINE_DEBUGFS_ATTRIBUTE for debugfs files

2019-09-18 Thread Greg KH
On Wed, Sep 18, 2019 at 08:19:44AM +0800, wang.y...@zte.com.cn wrote: > Hi Paolo, > > > On 22/07/19 09:33, Yi Wang wrote: > > > We got these coccinelle warning: > > > ./arch/x86/kvm/debugfs.c:23:0-23: WARNING: vcpu_timer_advance_ns_fops > > > should be defined with DEFINE_DEBUGFS_ATTRIBUTE > > > .

hippi: dead code issue on skb->data DMA limitations check

2019-09-18 Thread Colin Ian King
Hi there, Static analysis with Coverity has detected an issue in rr_init1() in drivers/net/hippi/rrunner.c as follows: CID 13516 (#1 of 1): Operands don't affect result (CONSTANT_EXPRESSION_RESULT) result_independent_of_operands: ((unsigned long)skb->data & 4095) > 18446744073709486295UL /*

Re: KASAN: slab-out-of-bounds Write in ga_probe

2019-09-18 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash: Reported-and-tested-by: syzbot+403741a091bf41d4a...@syzkaller.appspotmail.com Tested on: commit: f0df5c1b usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasa

Re: [alsa-devel] [RFC PATCH 8/9] soundwire: intel: remove platform devices and provide new interface

2019-09-18 Thread Greg KH
On Tue, Sep 17, 2019 at 09:29:52AM -0500, Pierre-Louis Bossart wrote: > On 9/17/19 12:55 AM, Greg KH wrote: > > On Mon, Sep 16, 2019 at 04:23:41PM -0500, Pierre-Louis Bossart wrote: > > > +/** > > > + * sdw_intel_probe() - SoundWire Intel probe routine > > > + * @parent_handle: ACPI parent handle >

Re: [PATCH] dt-bindings: net: remove un-implemented property

2019-09-18 Thread Rob Herring
On Wed, Sep 18, 2019 at 3:15 AM Alexandru Ardelean wrote: > > The `adi,disable-energy-detect` property was implemented in an initial > version of the `adin` driver series, but after a review it was discarded in > favor of implementing the ETHTOOL_PHY_EDPD phy-tunable option. > > With the ETHTOOL_P

Re: [PATCH v1 2/2] spi: cadence-qspi: Add QSPI support for Intel LGM SoC

2019-09-18 Thread Mark Brown
On Wed, Sep 18, 2019 at 01:59:06PM +0800, Ramuthevar, Vadivel MuruganX wrote: > On 17/9/2019 11:36 PM, Mark Brown wrote: > > On Tue, Sep 17, 2019 at 10:11:28AM +0800, Ramuthevar, Vadivel MuruganX > > wrote: > > > *    spi-cadence.c* in *drivers/spi/*, which supports very old legacy > > > cadence-

Re: [PATCH] serial: sprd: Add polling IO support

2019-09-18 Thread Baolin Wang
Hi Lanqing, On Wed, 18 Sep 2019 at 16:16, Lanqing Liu wrote: > > In order to access the UART without the interrupts, the kernel uses > the basic polling methods for IO with the device. With these methods > implemented, it is now possible to enable kgdb during early boot over serial. > > Signed-of

[PATCH] misc/pvpanic: Use devm_platform_ioremap_resource() in pvpanic_mmio_probe()

2019-09-18 Thread Markus Elfring
From: Markus Elfring Date: Wed, 18 Sep 2019 14:00:13 +0200 Simplify this function implementation by using a known wrapper function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/misc/pvpanic.c | 8 +--- 1 file changed, 1 insertion(+),

[PATCH] misc/pvpanic: Use devm_platform_ioremap_resource() in pvpanic_mmio_probe()

2019-09-18 Thread Markus Elfring
From: Markus Elfring Date: Wed, 18 Sep 2019 14:00:13 +0200 Simplify this function implementation by using a known wrapper function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/misc/pvpanic.c | 8 +--- 1 file changed, 1 insertion(+),

[PATCH net] iwlwifi: add dependency of THERMAL with IWLMVM

2019-09-18 Thread Mao Wenan
If CONFIG_IWLMVM=y, CONFIG_THERMAL=n, below error can be found: drivers/net/wireless/intel/iwlwifi/mvm/fw.o: In function `iwl_mvm_up': fw.c:(.text+0x2c26): undefined reference to `iwl_mvm_send_temp_report_ths_cmd' make: *** [vmlinux] Error 1 After commit 242d9c8b9a93 ("iwlwifi: mvm: use FW thermal

Re: [PATCH v2 2/3] dt-bindings: phy-qcom-qmp: Add sm8150 UFS phy compatible string

2019-09-18 Thread Rob Herring
On Fri, 6 Sep 2019 10:40:16 +0530, Vinod Koul wrote: > Document "qcom,sdm845-qmp-ufs-phy" compatible string for QMP UFS PHY > found on SM8150. > > Signed-off-by: Vinod Koul > Reviewed-by: Bjorn Andersson > Reviewed-by: Stephen Boyd > --- > Documentation/devicetree/bindings/phy/qcom-qmp-phy.tx

Re: [PATCH v2 1/3] dt-bindings: ufs: Add sm8150 compatible string

2019-09-18 Thread Rob Herring
On Fri, 6 Sep 2019 10:40:15 +0530, Vinod Koul wrote: > Document "qcom,sm8150-ufshc" compatible string for UFS HC found on > SM8150. > > Signed-off-by: Vinod Koul > Reviewed-by: Bjorn Andersson > Reviewed-by: Stephen Boyd > --- > Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt | 1 + >

Re: [PATCH v2 7/7] counter: stm32-timer-cnt: Update count_read and count_write callbacks

2019-09-18 Thread Fabrice Gasnier
On 9/18/19 9:52 AM, William Breathitt Gray wrote: > The count_read and count_write callbacks pass unsigned long now. > > Cc: Fabrice Gasnier > Signed-off-by: William Breathitt Gray Hi William, I tested your series for STM32 timer and LPtimer drivers. Maybe you can squash as suggested by Benjam

[PATCH] counter: stm32-timer-cnt: fix a kernel-doc warning

2019-09-18 Thread Fabrice Gasnier
Fix the following warning when documentation is built: drivers/counter/stm32-timer-cnt.c:37: warning: cannot understand function prototype: 'enum stm32_count_function' Signed-off-by: Fabrice Gasnier --- drivers/counter/stm32-timer-cnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] counter: stm32-lptimer-cnt: fix a kernel-doc warning

2019-09-18 Thread Fabrice Gasnier
Fix the following warnings when documentation is built: drivers/counter/stm32-lptimer-cnt.c:354: warning: cannot understand function prototype: 'enum stm32_lptim_cnt_function' Signed-off-by: Fabrice Gasnier --- drivers/counter/stm32-lptimer-cnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: [PATCH] dt-bindings: memory-controllers: Convert Samsung Exynos SROM bindings to json-schema

2019-09-18 Thread Krzysztof Kozlowski
On Fri, 13 Sep 2019 at 16:36, Rob Herring wrote: > > On Sat, Sep 07, 2019 at 04:44:42PM +0200, Krzysztof Kozlowski wrote: > > Convert Samsung Exynos SROM controller bindings to DT schema format > > using json-schema. > > > > Signed-off-by: Krzysztof Kozlowski > > --- > > .../memory-controllers/e

[PATCH 1/3] arm64: dts: meson: add reset controller for Meson-A1 SoC

2019-09-18 Thread Xingyu Chen
Add the reset controller device of Meson-A1 SoC family Signed-off-by: Xingyu Chen Signed-off-by: Jianxin Pan --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.

Re: [PATCH] [RESEND] vmscan.c: add a sysctl entry for controlling memory reclaim IO congestion_wait length

2019-09-18 Thread Michal Hocko
Please do not post a new version with a minor compile fixes until there is a general agreement on the approach. Willy had comments which really need to be resolved first. And I do agree with him. Having an explicit tunable seems just wrong. Also does this [...] > Reported-by: kbuild test robot r

[PATCH 2/3] dt-bindings: reset: add bindings for the Meson-A1 SoC Reset Controller

2019-09-18 Thread Xingyu Chen
Add DT bindings for the Meson-A1 SoC Reset Controller include file, and also slightly update documentation. Signed-off-by: Xingyu Chen Signed-off-by: Jianxin Pan --- .../bindings/reset/amlogic,meson-reset.txt | 4 +- include/dt-bindings/reset/amlogic,meson-a1-reset.h | 59 +

[PATCH 0/3] reset: meson: add Meson-A1 SoC support

2019-09-18 Thread Xingyu Chen
This patchset adds support for Meson-A1 SoC Reset Controller. A new struct meson_reset_param is introduced to describe the register differences between Meson-A1 and previous SoCs This patchset is based on A1 DTBv4[1]. [1] https://lore.kernel.org/linux-amlogic/1568276370-54181-1-git-send-email-jia

[PATCH 3/3] reset: add support for the Meson-A1 SoC Reset Controller

2019-09-18 Thread Xingyu Chen
The number of RESET registers and offset of RESET_LEVEL register for Meson-A1 are different from previous SoCs, In order to describe these differences, we introduce the struct meson_reset_param. Signed-off-by: Xingyu Chen Signed-off-by: Jianxin Pan --- drivers/reset/reset-meson.c | 35 +

[PATCH] mmc: cavium-octeon: Use devm_platform_ioremap_resource() in octeon_mmc_probe()

2019-09-18 Thread Markus Elfring
From: Markus Elfring Date: Wed, 18 Sep 2019 14:20:34 +0200 Simplify this function implementation by using a known wrapper function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/mmc/host/cavium-octeon.c | 15 ++- 1 file changed

Re: [PATCH 0/2] pseries/hotplug: Change the default behaviour of cede_offline

2019-09-18 Thread Gautham R Shenoy
Hello Nathan, Michael, On Tue, Sep 17, 2019 at 12:36:35PM -0500, Nathan Lynch wrote: > Gautham R Shenoy writes: > > On Thu, Sep 12, 2019 at 10:39:45AM -0500, Nathan Lynch wrote: > >> "Gautham R. Shenoy" writes: > >> > The patchset also defines a new sysfs attribute > >> > "/sys/device/system/cpu

[v7 0/2] mtd: rawnand: Add Cadence NAND controller driver

2019-09-18 Thread Piotr Sroka
Driver for Cadence HPNFC NAND flash controller. HW DMA interface Page write and page read operations are executed in Command DMA mode. Commands are defined by DMA descriptors. In CDMA mode controller own DMA engine is used (Master DMA mode). Other operations defined by nand_op_instr are executed i

[PATCH 1/1] f2fs: update multi-dev metadata in resize_fs

2019-09-18 Thread sunqiuyang
From: Qiuyang Sun Multi-device metadata should be updated in resize_fs as well. Also, we check that the new FS size still reaches the last device. Signed-off-by: Qiuyang Sun --- fs/f2fs/gc.c | 32 ++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/

[v7 1/2] mtd: rawnand: Add new Cadence NAND driver to MTD subsystem

2019-09-18 Thread Piotr Sroka
Add new Cadence NAND driver to MTD subsystem Signed-off-by: Piotr Sroka Reported-by: kbuild test robot --- Changes for v7: - replace readls with ioread32_rep and writesl with iowrite32_rep to avoid compilation errors on parisc architecture Changes for v6: - add support for bank addressing modif

[v7 2/2] dt-bindings: mtd: Add Cadence NAND controller driver

2019-09-18 Thread Piotr Sroka
Document the bindings used by Cadence NAND controller driver Signed-off-by: Piotr Sroka Reviewed-by: Rob Herring --- Changes for v7: - none Changes for v6: - add documentation for address-cells and size-cells - remove not needed space - put myself as maintainer of the Cadence nand driver binding

Re: [PATCH] [RFC] vmscan.c: add a sysctl entry for controlling memory reclaim IO congestion_wait length

2019-09-18 Thread Michal Hocko
On Tue 17-09-19 05:06:46, Matthew Wilcox wrote: > On Tue, Sep 17, 2019 at 07:58:24PM +0800, Lin Feng wrote: [...] > > +mm_reclaim_congestion_wait_jiffies > > +== > > + > > +This control is used to define how long kernel will wait/sleep while > > +system memory is under pressure and memroy r

Re: [PATCH v7 1/7] nfc: pn533: i2c: "pn532" as dt compatible string

2019-09-18 Thread Simon Horman
On Tue, Sep 10, 2019 at 11:31:21AM +0200, Lars Poeschel wrote: > It is favourable to have one unified compatible string for devices that > have multiple interfaces. So this adds simply "pn532" as the devicetree > binding compatible string and makes a note that the old ones are > deprecated. Do you

Re: [PATCH v2 08/11] dt-bindings: arm: samsung: Convert Exynos System Registers bindings to json-schema

2019-09-18 Thread Rob Herring
On Sat, Sep 07, 2019 at 11:20:04AM +0200, Krzysztof Kozlowski wrote: > Convert Samsung Exynos System Registers (SYSREG) bindings to DT schema > format using json-schema. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Example somehow fails: > Documentation/devicetree/bindings/arm/samsung/pmu

Re: [PATCH 2/3] dt-bindings: reset: add bindings for the Meson-A1 SoC Reset Controller

2019-09-18 Thread Neil Armstrong
Hi, On 18/09/2019 14:12, Xingyu Chen wrote: > Add DT bindings for the Meson-A1 SoC Reset Controller include file, > and also slightly update documentation. > > Signed-off-by: Xingyu Chen > Signed-off-by: Jianxin Pan > --- > .../bindings/reset/amlogic,meson-reset.txt | 4 +- The reset

[PATCH] ARM: dts: vesnin: Add power_green led

2019-09-18 Thread Alexander Filippov
Adds a new power_green led to show the host state. Signed-off-by: Alexander Filippov --- arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts b/arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts index a27c88d230

Re: [PATCH 3/3] reset: add support for the Meson-A1 SoC Reset Controller

2019-09-18 Thread Neil Armstrong
On 18/09/2019 14:12, Xingyu Chen wrote: > The number of RESET registers and offset of RESET_LEVEL register for > Meson-A1 are different from previous SoCs, In order to describe these > differences, we introduce the struct meson_reset_param. > > Signed-off-by: Xingyu Chen > Signed-off-by: Jianxin

Usecases for the per-task latency-nice attribute

2019-09-18 Thread Parth Shah
Hello everyone, As per the discussion in LPC2019, new per-task property like latency-nice can be useful in certain scenarios. The scheduler can take proper decision by knowing latency requirement of a task from the end-user itself. There has already been an effort from Subhra for introducing Task

RE: [PATCH 1/5] regulator: da9062: fix suspend_enable/disable preparation

2019-09-18 Thread Adam Thomson
On 17 September 2019 13:43, Marco Felsch wrote: > Currently the suspend reg_field maps to the pmic voltage selection bits > and is used during suspend_enabe/disable() and during get_mode(). This > seems to be wrong for both use cases. Hi Marco, I'd be very surprised if what was in place was wron

Re: [PATCH v2 07/11] dt-bindings: arm: samsung: Convert Exynos PMU bindings to json-schema

2019-09-18 Thread Rob Herring
On Sat, Sep 07, 2019 at 11:20:03AM +0200, Krzysztof Kozlowski wrote: > Convert Samsung Exynos Power Management Unit (PMU) bindings to DT schema > format using json-schema. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. Fix clock-names to match all elements against sch

[PATCH v3 2/2] ALSA: hda: Allow HDA to be runtime suspended when dGPU is not bound to a driver

2019-09-18 Thread Kai-Heng Feng
Nvidia proprietary driver doesn't support runtime power management, so when a user only wants to use the integrated GPU, it's a common practice to let dGPU not to bind any driver, and let its upstream port to be runtime suspended. At the end of runtime suspension the port uses platform power manage

[PATCH] mtd: st_spi_fsm: Use devm_platform_ioremap_resource() in stfsm_probe()

2019-09-18 Thread Markus Elfring
From: Markus Elfring Date: Wed, 18 Sep 2019 14:37:34 +0200 Simplify this function implementation by using a known wrapper function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/mtd/devices/st_spi_fsm.c | 8 +--- 1 file changed, 1 inse

Re: [PATCH 0/2] pseries/hotplug: Change the default behaviour of cede_offline

2019-09-18 Thread Gautham R Shenoy
On Wed, Sep 18, 2019 at 03:14:15PM +1000, Michael Ellerman wrote: > "Gautham R. Shenoy" writes: > > From: "Gautham R. Shenoy" > > > > Currently on Pseries Linux Guests, the offlined CPU can be put to one > > of the following two states: > >- Long term processor cede (also called extended cede

Re: [PATCH v2 1/1] platform/x86/intel_cht_int33fe: Split code to USB TypeB and TypeC variants

2019-09-18 Thread Hans de Goede
Hi, On 18-09-2019 13:52, Yauhen Kharuzhy wrote: On Wed, Sep 18, 2019 at 02:38:35PM +0300, Heikki Krogerus wrote: On Tue, Sep 17, 2019 at 10:45:07PM +0300, Yauhen Kharuzhy wrote: Existing intel_cht_int33fe ACPI pseudo-device driver assumes that hardware has TypeC connector and register related

Re: [PATCH v2 04/11] dt-bindings: arm: samsung: Document missing S5Pv210 boards bindings

2019-09-18 Thread Rob Herring
On Sat, 7 Sep 2019 11:20:00 +0200, Krzysztof Kozlowski wrote: > Add missing documentation of Samsung S5Pv210 SoC based boards bindings. > > Signed-off-by: Krzysztof Kozlowski > --- > .../bindings/arm/samsung/samsung-boards.yaml | 10 ++ > 1 file changed, 10 insertions(+) > A

Re: [PATCH v2 03/11] dt-bindings: arm: samsung: Convert Samsung board/soc bindings to json-schema

2019-09-18 Thread Rob Herring
On Sat, 7 Sep 2019 11:19:59 +0200, Krzysztof Kozlowski wrote: > Convert Samsung S5P and Exynos SoC bindings to DT schema format using > json-schema. This is purely conversion of already documented bindings > so it does not cover all of DTS in the Linux kernel (few S5P/Exynos and > all S3C are mis

Re: [PATCH v2 01/11] dt-bindings: power: syscon-reboot: Convert bindings to json-schema

2019-09-18 Thread Rob Herring
On Sat, 7 Sep 2019 11:19:57 +0200, Krzysztof Kozlowski wrote: > Convert the Syscon reboot bindings to DT schema format using > json-schema. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. Remove unneeded maxItems from uint32 fields, > 2. Simplify if-else-then. > --- >

Re: [PATCH v2 02/11] dt-bindings: power: syscon-poweroff: Convert bindings to json-schema

2019-09-18 Thread Rob Herring
On Sat, 7 Sep 2019 11:19:58 +0200, Krzysztof Kozlowski wrote: > Convert the Syscon poweroff bindings to DT schema format using > json-schema. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. Remove unneeded maxItems from uint32 fields, > 2. Simplify if-else-then. > ---

Re: [PATCH v2 05/11] dt-bindings: arm: samsung: Document missing Exynos7 boards bindings

2019-09-18 Thread Rob Herring
On Sat, 7 Sep 2019 11:20:01 +0200, Krzysztof Kozlowski wrote: > Add missing documentation of ARMv8 Samsung Exynos7 SoC based boards > bindings. > > Signed-off-by: Krzysztof Kozlowski > --- > .../devicetree/bindings/arm/samsung/samsung-boards.yaml | 6 ++ > 1 file changed, 6 insertions(+

Re: [PATCH v2 06/11] dt-bindings: arm: samsung: Convert Exynos Chipid bindings to json-schema

2019-09-18 Thread Rob Herring
On Sat, 7 Sep 2019 11:20:02 +0200, Krzysztof Kozlowski wrote: > Convert Samsung Exynos Chipid bindings to DT schema format using > json-schema. > > Signed-off-by: Krzysztof Kozlowski > --- > .../bindings/arm/samsung/exynos-chipid.txt| 12 - > .../bindings/arm/samsung/exynos-chipid.y

Re: [PATCH v6] virtio-fs: add virtiofs filesystem

2019-09-18 Thread Michael S. Tsirkin
On Thu, Sep 12, 2019 at 04:19:31PM +0200, Miklos Szeredi wrote: > From: Stefan Hajnoczi > > Michael, > > Here's a v6 of the virtiofs code (fuse.git#virtiofs-v6). I think we've > addressed all your comments. > > Would you mind giving it another look, and if you're satisfied acking this > patch?

Re: [PATCH v2 09/11] dt-bindings: rtc: s3c: Convert S3C/Exynos RTC bindings to json-schema

2019-09-18 Thread Rob Herring
On Sat, 7 Sep 2019 11:20:05 +0200, Krzysztof Kozlowski wrote: > Convert Samsung S3C/Exynos Real Time Clock bindings to DT schema format > using json-schema. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. Use deprecated property instead of custom select, > 2. Rework c

Re: [PATCH v2 10/11] dt-bindings: iio: adc: exynos: Convert Exynos ADC bindings to json-schema

2019-09-18 Thread Rob Herring
On Sat, 7 Sep 2019 11:20:06 +0200, Krzysztof Kozlowski wrote: > Convert Samsung Exynos Analog to Digital Converter bindings to DT schema > format using json-schema. > > This is a direct conversion of existing bindings so it also copies the > existing error in the bindings regarding the requiremen

Re: [PATCH v2 11/11] dt-bindings: iio: adc: exynos: Remove old requirement of two register address ranges

2019-09-18 Thread Rob Herring
On Sat, 7 Sep 2019 11:20:07 +0200, Krzysztof Kozlowski wrote: > Commit fafb37cfae6d ("iio: exyno-adc: use syscon for PMU > register access") changed the Exynos ADC driver so the PMU syscon > phandle is required instead of second register address space. The > bindings were not updated so fix them

Re: [PATCH 4.19 00/50] 4.19.74-stable review

2019-09-18 Thread Guenter Roeck
On 9/17/19 11:18 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.74 release. There are 50 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 know. Responses should be made

[PATCH 3/7] drm/ttm: Convert vm callbacks to helpers

2019-09-18 Thread VMware
From: Thomas Hellstrom With the vmwgfx dirty tracking, the default TTM fault handler is not completely sufficient (vmwgfx need to modify the vma->vm_flags member, and also needs to restrict the number of prefaults). We also want to replicate the new ttm_bo_vm_reserve() functionality So start tu

[PATCH v3] bonding: force enable lacp port after link state recovery for 802.3ad

2019-09-18 Thread zhangsha.zhang
From: Sha Zhang After the commit 334031219a84 ("bonding/802.3ad: fix slave link initialization transition states") merged, the slave's link status will be changed to BOND_LINK_FAIL from BOND_LINK_DOWN in the following scenario: - Driver reports loss of carrier and bonding driver receives NETDEV

Re: [PATCH v2 1/1] platform/x86/intel_cht_int33fe: Split code to USB TypeB and TypeC variants

2019-09-18 Thread Andy Shevchenko
On Tue, Sep 17, 2019 at 10:45 PM Yauhen Kharuzhy wrote: > > Existing intel_cht_int33fe ACPI pseudo-device driver assumes that > hardware has TypeC connector and register related devices described as > I2C connections in the _CRS resource. > > There is at least one hardware (Lenovo Yoga Book YB1-91

Re: [PATCH v2 08/11] dt-bindings: arm: samsung: Convert Exynos System Registers bindings to json-schema

2019-09-18 Thread Krzysztof Kozlowski
On Wed, 18 Sep 2019 at 14:36, Rob Herring wrote: > > On Sat, Sep 07, 2019 at 11:20:04AM +0200, Krzysztof Kozlowski wrote: > > Convert Samsung Exynos System Registers (SYSREG) bindings to DT schema > > format using json-schema. > > > > Signed-off-by: Krzysztof Kozlowski > > > > --- > > > > Example

Re: [PATCH v6 01/12] tools lib traceevent: Convert remaining %p[fF] users to %p[sS]

2019-09-18 Thread Sakari Ailus
Hi Steven, On Mon, Sep 16, 2019 at 10:37:55AM -0400, Steven Rostedt wrote: > > If you think that's an issue, I'll opt for another extension than %pfw, > > which I chose originally since it's memorable --- fw for fwnode (names, > > paths, and probably more in the future). > > > > I'm fine with th

Re: [PATCH net] iwlwifi: add dependency of THERMAL with IWLMVM

2019-09-18 Thread Kalle Valo
Mao Wenan writes: > If CONFIG_IWLMVM=y, CONFIG_THERMAL=n, below error can be found: > drivers/net/wireless/intel/iwlwifi/mvm/fw.o: In function `iwl_mvm_up': > fw.c:(.text+0x2c26): undefined reference to `iwl_mvm_send_temp_report_ths_cmd' > make: *** [vmlinux] Error 1 > > After commit 242d9c8b9a93

Re: [PATCH v6 11/12] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-09-18 Thread Sakari Ailus
Hi Joe, On Tue, Sep 10, 2019 at 03:21:26AM -0700, Joe Perches wrote: > > @@ -5988,14 +5988,17 @@ sub process { > > for (my $count = $linenr; $count <= $lc; $count++) { > > my $specifier; > > my $extension; > > +

[PATCH] mm: vmalloc: remove unnecessary highmem_mask from parameter of gfpflags_allow_blocking()

2019-09-18 Thread Liu Xiang
gfpflags_allow_blocking() does not care about __GFP_HIGHMEM, so highmem_mask can be removed. Signed-off-by: Liu Xiang --- mm/vmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 7ba11e1..143c636 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc

[PATCH] kvm: Ensure writes to the coalesced MMIO ring are within bounds

2019-09-18 Thread Will Deacon
When records are written to the coalesced MMIO ring in response to a vCPU MMIO exit, the 'ring->last' field is used to index the ring buffer page. Although we hold the 'kvm->ring_lock' at this point, the ring structure is mapped directly into the host userspace and can therefore be modified to poin

Re: [PATCH net] iwlwifi: add dependency of THERMAL with IWLMVM

2019-09-18 Thread Luciano Coelho
On Wed, 2019-09-18 at 16:08 +0300, Kalle Valo wrote: > Mao Wenan writes: > > > If CONFIG_IWLMVM=y, CONFIG_THERMAL=n, below error can be found: > > drivers/net/wireless/intel/iwlwifi/mvm/fw.o: In function `iwl_mvm_up': > > fw.c:(.text+0x2c26): undefined reference to > > `iwl_mvm_send_temp_report_

Re: [PATCH v2 07/11] dt-bindings: arm: samsung: Convert Exynos PMU bindings to json-schema

2019-09-18 Thread Krzysztof Kozlowski
On Wed, Sep 18, 2019 at 07:43:06AM -0500, Rob Herring wrote: > On Sat, Sep 07, 2019 at 11:20:03AM +0200, Krzysztof Kozlowski wrote: > > Convert Samsung Exynos Power Management Unit (PMU) bindings to DT schema > > format using json-schema. > > > > Signed-off-by: Krzysztof Kozlowski > > > > --- >

[PATCH v4 2/3] arm64: mm: implement arch_faults_on_old_pte() on arm64

2019-09-18 Thread Jia He
On arm64 without hardware Access Flag, copying fromuser will fail because the pte is old and cannot be marked young. So we always end up with zeroed page after fork() + CoW for pfn mappings. we don't always have a hardware-managed access flag on arm64. Hence implement arch_faults_on_old_pte on arm

[PATCH v4 3/3] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-18 Thread Jia He
When we tested pmdk unit test [1] vmmalloc_fork TEST1 in arm64 guest, there will be a double page fault in __copy_from_user_inatomic of cow_user_page. Below call trace is from arm64 do_page_fault for debugging purpose [ 110.016195] Call trace: [ 110.016826] do_page_fault+0x5a4/0x690 [ 110.0178

[PATCH v4 0/3] fix double page fault on arm64

2019-09-18 Thread Jia He
When we tested pmdk unit test vmmalloc_fork TEST1 in arm64 guest, there will be a double page fault in __copy_from_user_inatomic of cow_user_page. As told by Catalin: "On arm64 without hardware Access Flag, copying from user will fail because the pte is old and cannot be marked young. So we always

Re: [PATCH 4.14 00/45] 4.14.145-stable review

2019-09-18 Thread kernelci.org bot
stable-rc/linux-4.14.y boot: 131 boots: 0 failed, 121 passed with 10 offline (v4.14.144-46-g187d767985cf) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.144-46-g187d767985cf/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4

[PATCH v4 1/3] arm64: cpufeature: introduce helper cpu_has_hw_af()

2019-09-18 Thread Jia He
We unconditionally set the HW_AFDBM capability and only enable it on CPUs which really have the feature. But sometimes we need to know whether this cpu has the capability of HW AF. So decouple AF from DBM by new helper cpu_has_hw_af(). Signed-off-by: Jia He Suggested-by: Suzuki Poulose --- arch

Re: [PATCH] media: dt-bindings: Fix building error for dt_binding_check

2019-09-18 Thread Maxime Ripard
On Wed, Sep 18, 2019 at 05:31:00PM +0530, Pragnesh Patel wrote: > $id doesn't match the actual filename, so update the $id > > Signed-off-by: Pragnesh Patel Acked-by: Maxime Ripard Thanks! Maxime

Re: [PATCH 0/2] nvme: Add kernel API for admin command

2019-09-18 Thread Christoph Hellwig
On Tue, Sep 17, 2019 at 10:39:09AM -0600, Keith Busch wrote: > On Mon, Sep 16, 2019 at 12:13:24PM +, Baldyga, Robert wrote: > > Ok, fair enough. We want to keep things hidden behind certain layers, > > and that's definitely a good thing. But there is a problem with these > > layers - they do no

Re: [PATCH v2 1/3] dt-bindings: dmaengine: dma-common: Change dma-channel-mask to uint32-array

2019-09-18 Thread Rob Herring
On Tue, Sep 10, 2019 at 02:45:57PM +0300, Peter Ujfalusi wrote: > Make the dma-channel-mask to be usable for controllers with more than 32 > channels. > > Signed-off-by: Peter Ujfalusi > --- > Documentation/devicetree/bindings/dma/dma-common.yaml | 10 +- > 1 file changed, 9 insertions(+

Re: [PATCH v2 2/3] dt-bindings: dma: ti-edma: Document dma-channel-mask for EDMA

2019-09-18 Thread Rob Herring
On Tue, Sep 10, 2019 at 02:45:58PM +0300, Peter Ujfalusi wrote: > Similarly to paRAM slots, channels can be used by other cores. > > The common dma-channel-mask property can be used for specifying the > available channels. > > Signed-off-by: Peter Ujfalusi > --- > Documentation/devicetree/bindi

[PATCH] ethernet: Use devm_platform_ioremap_resource() in three functions

2019-09-18 Thread Markus Elfring
From: Markus Elfring Date: Wed, 18 Sep 2019 15:15:06 +0200 Simplify these function implementations by using a known wrapper function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/net/ethernet/cortina/gemini.c | 6 +- driv

Re: [PATCH] kvm: Ensure writes to the coalesced MMIO ring are within bounds

2019-09-18 Thread Greg Kroah-Hartman
On Wed, Sep 18, 2019 at 02:15:45PM +0100, Will Deacon wrote: > When records are written to the coalesced MMIO ring in response to a > vCPU MMIO exit, the 'ring->last' field is used to index the ring buffer > page. Although we hold the 'kvm->ring_lock' at this point, the ring > structure is mapped d

Re: [PATCH V6 2/2] mailbox: introduce ARM SMC based mailbox

2019-09-18 Thread Jassi Brar
On Wed, Sep 18, 2019 at 5:00 AM Andre Przywara wrote: > > > > > > > > > + }; > > > > +}; > > > > > > If this is the data structure that this mailbox controller uses, I would > > > expect > > > this to be documented somewhere, or even exported. > > > > Export this structure in include/linux/mailb

[PATCH] printk: Fix unnecessary returning broken pipe error from devkmsg_read

2019-09-18 Thread zhe.he
From: He Zhe When users read the buffer from start, there is no need to return -EPIPE since the possible overflows will not affect the output. Signed-off-by: He Zhe --- kernel/printk/printk.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/printk/printk.c b/kernel

Re: [PATCH v2 1/3] dt-bindings: soc: al-pos: Amazon's Annapurna Labs POS

2019-09-18 Thread Rob Herring
On Tue, Sep 10, 2019 at 10:05:08PM +0300, Talel Shenhar wrote: > Document Amazon's Annapurna Labs POS SoC binding. > > Signed-off-by: Talel Shenhar > --- > .../devicetree/bindings/soc/amazon/amazon,al-pos.txt | 18 > ++ > 1 file changed, 18 insertions(+) > create mode 100644

[PATCH v7 03/13] software node: Make argument to to_software_node const

2019-09-18 Thread Sakari Ailus
to_software_node() does not need to modify the fwnode_handle it operates on; therefore make it const. This allows passing a const fwnode_handle to to_software_node(). Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko Reviewed-by: Heikki Krogerus --- drivers/base/swnode.c| 4 ++-- in

[PATCH v7 06/13] device property: Add fwnode_get_name for returning the name of a node

2019-09-18 Thread Sakari Ailus
The fwnode framework did not have means to obtain the name of a node. Add that now, in form of the fwnode_get_name() function and a corresponding get_name fwnode op. OF and ACPI support is included. Signed-off-by: Sakari Ailus Acked-by: Rob Herring (for OF) Reviewed-by: Andy Shevchenko --- dri

[PATCH v7 01/13] tools lib traceevent: Convert remaining %p[fF] users to %p[sS]

2019-09-18 Thread Sakari Ailus
There are no in-kernel %p[fF] users left. Convert the traceevent tool, too, to align with the kernel. Signed-off-by: Sakari Ailus Cc: Steven Rostedt Cc: Arnaldo Carvalho de Melo Cc: Tzvetomir Stoyanov Cc: linux-trace-de...@vger.kernel.org Cc: Jiri Olsa Cc: Namhyung Kim --- .../Documentation

[PATCH v7 09/13] lib/vsprintf: Add a note on re-using %pf or %pF

2019-09-18 Thread Sakari Ailus
Add a note warning of re-use of obsolete %pf or %pF extensions. Signed-off-by: Sakari Ailus Cc: Steven Rostedt --- lib/vsprintf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/vsprintf.c b/lib/vsprintf.c index b00b57f9f911f..df59818537b52 100644 --- a/lib/vsprintf.c +++ b/lib/vsprin

[PATCH v7 08/13] lib/vsprintf: Remove support for %pF and %pf in favour of %pS and %ps

2019-09-18 Thread Sakari Ailus
%pS and %ps are now the preferred conversion specifiers to print function names. The functionality is equivalent; remove the old, deprecated %pF and %pf support. Depends-on: commit 2d44d165e939 ("scsi: lpfc: Convert existing %pf users to %ps") Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevch

[PATCH v7 13/13] lib/test_printf: Add tests for %pfw printk modifier

2019-09-18 Thread Sakari Ailus
Add a test for the %pfw printk modifier using software nodes. Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko --- lib/test_printf.c | 32 1 file changed, 32 insertions(+) diff --git a/lib/test_printf.c b/lib/test_printf.c index 944eb50f38625..bb6a7d334

[PATCH v7 11/13] lib/vsprintf: OF nodes are first and foremost, struct device_nodes

2019-09-18 Thread Sakari Ailus
Factor out static kobject_string() function that simply calls device_node_string(), and thus remove references to kobjects (as these are struct device_node). Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko Reviewed-by: Petr Mladek --- lib/vsprintf.c | 16 1 file chang

[PATCH v7 12/13] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-09-18 Thread Sakari Ailus
Add support for %pfw conversion specifier (with "f" and "P" modifiers) to support printing full path of the node, including its name ("f") and only the node's name ("P") in the printk family of functions. The two flags have equivalent functionality to existing %pOF with the same two modifiers ("f"

[PATCH v7 10/13] lib/vsprintf: Make use of fwnode API to obtain node names and separators

2019-09-18 Thread Sakari Ailus
Instead of implementing our own means of discovering parent nodes, node names or counting how many parents a node has, use the newly added functions in the fwnode API to obtain that information. Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko Reviewed-by: Petr Mladek --- lib/vsprintf.

Re: [PATCH V6 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-18 Thread Jassi Brar
On Wed, Sep 18, 2019 at 3:53 AM Peng Fan wrote: > > > > > > > + > > > > + "#mbox-cells": > > > > +const: 1 > > > > > > Why is this "1"? What is this number used for? It used to be the channel > > > ID, > > but since you are describing a single channel controller only, this should > > be 0

[PATCH v7 05/13] device property: Add functions for accessing node's parents

2019-09-18 Thread Sakari Ailus
Add two convenience functions for accessing node's parents: fwnode_count_parents() returns the number of parent nodes a given node has. fwnode_get_nth_parent() returns node's parent at a given distance from the node itself. Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko --- drivers/b

[PATCH v7 04/13] device property: Move fwnode_get_parent() up

2019-09-18 Thread Sakari Ailus
Move fwnode_get_parent() above fwnode_get_next_parent(), making the order the same as in the header file. Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko --- drivers/base/property.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers

<    1   2   3   4   5   6   7   8   9   >