Re: [PATCH v1] ARM: dts: imx51-zii-rdu1: correct touchscreen axis inversion

2018-07-03 Thread Shawn Guo
On Thu, Jun 28, 2018 at 11:56:26PM +0100, Nick Dyer wrote: > The RMI4 touchscreen driver applied inversion and axis swap in the > wrong order, violating the DT binding for those properties. This was fixed in > 645a397, so correct the RDU1 DT to apply the inversion to the > correct axis. > >

Re: linux-next: Signed-off-by missing for commit in the omap tree

2018-07-03 Thread Tony Lindgren
* Stephen Rothwell [180702 22:23]: > Hi Tony, > > Commit > > 5322c19b117a ("ARM: OMAP1: ams-delta: Hog "keybrd_dataout" GPIO pin") > > is missing a Signed-off-by from its committer. Oops sorry about that, I'll set up a omap-for-v4.19/omap1-v2 branch to fix this today. Regards, Tony

[PATCH][RESEND] component: enhance handling of devres group for master

2018-07-03 Thread bgoswami
From: Banajit Goswami The devres group opened for a master is left open-ended (without devres_group_close) even after bind() is complete. Similarly, while releasing the devres resources for master, the most recently opened devres group is selected, and released without identifying the targeted

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

2018-07-03 Thread Faiz Abbas
Hi, On Monday 02 July 2018 04:20 PM, Tony Lindgren wrote: > * Robert Nelson [180618 14:00]: >> On Wed, Apr 11, 2018 at 6:48 AM, Faiz Abbas wrote: >>> am335x-evm, am335x-evmsk and am335x-beaglebone are currently relying on >>> pinmux set by the bootloader to set the correct value for mmc1. Fix

Re: [PATCH] bus: imx-weim: Remove VLA usage

2018-07-03 Thread Shawn Guo
On Fri, Jun 29, 2018 at 01:02:36PM -0700, Kees Cook wrote: > On Fri, Jun 29, 2018 at 12:45 PM, Rob Herring wrote: > > On Fri, Jun 29, 2018 at 12:52 PM Kees Cook wrote: > >> > >> In the quest to remove all stack VLA usage from the kernel[1], this > >> switches to using a maximum size and adds a

Re: [PATCH 4.17 000/220] 4.17.4-stable review

2018-07-03 Thread Greg Kroah-Hartman
On Mon, Jul 02, 2018 at 09:33:13AM -0700, Guenter Roeck wrote: > On Sun, Jul 01, 2018 at 06:20:24PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.17.4 release. > > There are 220 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 1/3] platform/chrome: Move cros-ec transport drivers to drivers/platform.

2018-07-03 Thread Lee Jones
On Mon, 02 Jul 2018, Enric Balletbo i Serra wrote: > There are some cros-ec transport drivers (I2C, SPI) living in MFD, while > others (LPC) living in drivers/platform. The transport drivers are more > platform specific. So, move the I2C and SPI transport drivers to the > platform/chrome

Showing /sys/fs/cgroup/memory/memory.stat very slow on some machines

2018-07-03 Thread Bruce Merry
Hi I've run into an odd performance issue in the kernel, and not being a kernel dev or knowing terribly much about cgroups, am looking for advice on diagnosing the problem further (I discovered this while trying to pin down high CPU load in cadvisor). On some machines in our production system,

[tip:x86/cache] x86/intel_rdt: Fix cleanup of plr structure on error

2018-07-03 Thread tip-bot for Reinette Chatre
Commit-ID: 546d3c74277398a3d76d059bd2db47186bb47fc8 Gitweb: https://git.kernel.org/tip/546d3c74277398a3d76d059bd2db47186bb47fc8 Author: Reinette Chatre AuthorDate: Sat, 30 Jun 2018 22:03:03 -0700 Committer: Thomas Gleixner CommitDate: Tue, 3 Jul 2018 08:38:39 +0200 x86/intel_rdt: Fix

[tip:x86/cache] x86/intel_rdt: Move pseudo_lock_region_clear()

2018-07-03 Thread tip-bot for Reinette Chatre
Commit-ID: ce730f1cc1255be152c879a2bc5f295d341d8036 Gitweb: https://git.kernel.org/tip/ce730f1cc1255be152c879a2bc5f295d341d8036 Author: Reinette Chatre AuthorDate: Sat, 30 Jun 2018 22:03:02 -0700 Committer: Thomas Gleixner CommitDate: Tue, 3 Jul 2018 08:38:39 +0200 x86/intel_rdt: Move

[PATCH] x86/mm/32: Initialize CR4 shadow before __flush_tlb_all()

2018-07-03 Thread Zhenzhong Duan
In x86_32, __flush_tlb_all() may have read cr4 shadow before the initialization of cr4 shadow in cpuinit(). Fix it by adding cr4_init_shadow() call ahead of __flush_tlb_all(). Signed-off-by: Zhenzhong Duan Cc: Srinivas Reddy Eeda --- arch/x86/kernel/smpboot.c |5 + 1 files changed, 5

Re: [RFC PATCH 4/5] arm: dts: zynq: rename board zed to zedboard

2018-07-03 Thread Luis Araneda
Hi Michal, On Thu, Jun 28, 2018 at 2:40 AM Michal Simek wrote: > > diff --git a/arch/arm/boot/dts/zynq-zed.dts > > b/arch/arm/boot/dts/zynq-zedboard.dts > > similarity index 93% > > rename from arch/arm/boot/dts/zynq-zed.dts > > rename to arch/arm/boot/dts/zynq-zedboard.dts > > index

Re: [PATCH v7 1/4] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-07-03 Thread Lee Jones
On Tue, 26 Jun 2018, Enric Balletbo Serra wrote: > Hi Matti, > > Missatge de Matti Vaittinen del > dia dt., 26 de juny 2018 a les 14:03: > > > > Hello Again Eric, > > > > On Tue, Jun 26, 2018 at 01:40:40PM +0200, Enric Balletbo Serra wrote: > > > Hi Matti, > > > Missatge de Matti Vaittinen del

Re: [PATCH 3/3] pinctrl: qcom: spmi-gpio: Fix pmic_gpio_config_get() to be compliant

2018-07-03 Thread Stephen Boyd
Quoting Douglas Anderson (2018-07-02 15:59:39) > If you do this on an sdm845 board: > grep "" /sys/kernel/debug/pinctrl/*spmi:pmic*/pinconf-groups > > ...it looks like nonsense. For every pin you see listed: > input bias disabled, input bias high impedance, input bias pull down, input >

Re: [RFC v3 PATCH 4/5] mm: mmap: zap pages with read mmap_sem for large mapping

2018-07-03 Thread Michal Hocko
On Mon 02-07-18 13:48:45, Andrew Morton wrote: > On Mon, 2 Jul 2018 16:05:02 +0200 Michal Hocko wrote: > > > On Fri 29-06-18 20:15:47, Andrew Morton wrote: > > [...] > > > Would one of your earlier designs have addressed all usecases? I > > > expect the dumb unmap-a-little-bit-at-a-time

Re: [RFC v3 PATCH 5/5] x86: check VM_DEAD flag in page fault

2018-07-03 Thread Michal Hocko
On Mon 02-07-18 11:10:23, Yang Shi wrote: > On 7/2/18 10:57 AM, Michal Hocko wrote: [...] > > Why would you even care about shared mappings? > > Just thought about we are dealing with VM_DEAD, which means the vma will be > tore down soon regardless it is shared or non-shared. > > MMF_UNSTABLE

[PATCH v3 6/6] KVM: X86: Expose PV_SEND_IPI CPUID feature bit to guest

2018-07-03 Thread Wanpeng Li
From: Wanpeng Li Expose PV_SEND_IPI feature bit to guest, the guest can check this feature bit before using paravirtualized send IPIs. Cc: Paolo Bonzini Cc: Radim Krčmář Cc: Vitaly Kuznetsov Signed-off-by: Wanpeng Li --- Documentation/virtual/kvm/cpuid.txt | 4 arch/x86/kvm/cpuid.c

[PATCH v3 4/6] KVM: X86: Implement PV IPIs send hypercall

2018-07-03 Thread Wanpeng Li
From: Wanpeng Li Using hypercall to send IPIs by one vmexit instead of one by one for xAPIC/x2APIC physical mode and one vmexit per-cluster for x2APIC cluster mode. Intel guest can enter x2apic cluster mode when interrupt remmaping is enabled in qemu, however, latest AMD EPYC still just

[PATCH v3 5/6] KVM: X86: Add NMI support to PV IPIs

2018-07-03 Thread Wanpeng Li
From: Wanpeng Li The NMI delivery mode of ICR is used to deliver an NMI to the processor, and the vector information is ignored. Cc: Paolo Bonzini Cc: Radim Krčmář Cc: Vitaly Kuznetsov Signed-off-by: Wanpeng Li --- arch/x86/kernel/kvm.c | 13 +++-- arch/x86/kvm/x86.c| 16

Re: [PATCH] IB/mlx4: Test port number before querying type.

2018-07-03 Thread Leon Romanovsky
On Mon, Jul 02, 2018 at 02:02:34PM -0700, Tarick Bedeir wrote: > rdma_ah_find_type() can reach into ib_device->port_immutable with a > potentially out-of-bounds port number, so check that the port number is > valid first. > > Fixes: 44c58487d51a ("IB/core: Define 'ib' and 'roce' rdma_ah_attr

[PATCH v3 0/6] KVM: X86: Implement PV IPIs support

2018-07-03 Thread Wanpeng Li
Using hypercall to send IPIs by one vmexit instead of one by one for xAPIC/x2APIC physical mode and one vmexit per-cluster for x2APIC cluster mode. Intel guest can enter x2apic cluster mode when interrupt remmaping is enabled in qemu, however, latest AMD EPYC still just supports xapic mode

Re: [PATCH 2/3] arm/arm64: configs: Remove the MFD_ prefix for MFD_CROS_EC_I2C/SPI symbols.

2018-07-03 Thread Lee Jones
On Mon, 02 Jul 2018, Benson Leung wrote: > On Mon, Jul 02, 2018 at 01:05:40PM +0200, Krzysztof Kozlowski wrote: > > On 2 July 2018 at 12:22, Enric Balletbo i Serra > > wrote: > > > The cros-ec I2C and SPI transport drivers have been moved from MFD > > > subsystem to platform/chrome, at the same

Re: [PATCH 4.9 000/101] 4.9.111-stable review

2018-07-03 Thread Greg Kroah-Hartman
On Mon, Jul 02, 2018 at 09:47:59AM -0700, Linus Torvalds wrote: > On Mon, Jul 2, 2018 at 3:24 AM Greg KH wrote: > > > > On Mon, Jul 02, 2018 at 11:57:36AM +0200, Geert Uytterhoeven wrote: > > > > > > > Pseudo-Shortlog of commits: > > > > > > Given you do publish a git tree with these changes, is

[PATCH] autofs - fix slab out of bounds read in getname_kernel()

2018-07-03 Thread Ian Kent
Initial patch contributed by Tomas Bortoli. The autofs subsystem does not check that the "path" parameter is present for all cases where it is required when it is passed in via the "param" struct. In particular it isn't checked for the AUTOFS_DEV_IOCTL_OPENMOUNT_CMD ioctl command. To solve it,

Re: [RFC PATCH 1/5] arm: dts: zynq: Set correct manufacturer for ZedBoard and MicroZed boards

2018-07-03 Thread Luis Araneda
Hi Michal, On Thu, Jun 28, 2018 at 2:37 AM Michal Simek wrote: > > On 28.6.2018 07:42, Luis Araneda wrote: > Unfortunately we don't know who is parsing this string. It means please > keep that origin compatible string there. > > I have no problem with this. > compatible = "avnet,zynq-zed",

[PATCH] md/r5cache: remove redundant pointer bio

2018-07-03 Thread Colin King
From: Colin Ian King Pointer bio is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: variable 'bio' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King --- drivers/md/raid5-cache.c | 2 -- 1 file changed, 2

Re: [PATCH] ARM: imx: enable bus auto clock gating function for i.mx6sll

2018-07-03 Thread Lee Jones
On Sun, 01 Jul 2018, Shawn Guo wrote: > On Fri, Jun 22, 2018 at 01:32:48PM +0800, Anson Huang wrote: > > i.MX6SLL has HW bus auto clock gating function, enable > > it by default to save VDD_SOC_IN power, about 5% ~ 20% > > saved depends on different use cases. > > > > Signed-off-by: Anson Huang

Re: Build regressions/improvements in v4.18-rc3

2018-07-03 Thread Helge Deller
On 03.07.2018 03:09, Michael Ellerman wrote: > Helge Deller writes: > >> On 02.07.2018 16:09, Geert Uytterhoeven wrote: >>> On Mon, Jul 2, 2018 at 4:01 PM Geert Uytterhoeven >>> wrote: JFYI, when comparing v4.18-rc3[1] to v4.18-rc2[3], the summaries are: >>> ... >> >> Both of the

Re: [PATCH] bus: ti-sysc: Use 2-factor allocator arguments

2018-07-03 Thread Tony Lindgren
* Kees Cook [180702 16:17]: > On Mon, Jul 2, 2018 at 4:27 AM, Tony Lindgren wrote: > > * Kees Cook [180627 21:59]: > >> On Mon, Jun 18, 2018 at 10:45 AM, Kees Cook wrote: > >> > This adjusts the allocator calls to use 2-factor argument call style, as > >> > done treewide already for improved

[PATCH v3 2/6] KVM: X86: Implement PV IPIs in linux guest

2018-07-03 Thread Wanpeng Li
From: Wanpeng Li Implement paravirtual apic hooks to enable PV IPIs. apic->send_IPI_mask apic->send_IPI_mask_allbutself apic->send_IPI_allbutself apic->send_IPI_all The PV IPIs supports maximal 128 vCPUs VM, it is big enough for cloud environment currently, supporting more vCPUs needs to

[PATCH v3 3/6] KVM: X86: Fallback to original apic hooks when bad happens

2018-07-03 Thread Wanpeng Li
From: Wanpeng Li Fallback to original apic hooks when apic id is sparse and larger than 128 or kvm fails to add the pending IRQ to lapic. Cc: Paolo Bonzini Cc: Radim Krčmář Cc: Vitaly Kuznetsov Signed-off-by: Wanpeng Li --- arch/x86/kernel/kvm.c | 26 +++--- 1 file

[PATCH v3 1/6] KVM: X86: Add kvm hypervisor init time platform setup callback

2018-07-03 Thread Wanpeng Li
From: Wanpeng Li Add kvm hypervisor init time platform setup callback which will be used to replace native apic hooks by pararvirtual hooks. Cc: Paolo Bonzini Cc: Radim Krčmář Cc: Vitaly Kuznetsov Signed-off-by: Wanpeng Li --- arch/x86/kernel/kvm.c | 10 ++ 1 file changed, 10

Re: [PATCH 1/1] ARM: dts: imx6ull: add operating points

2018-07-03 Thread Shawn Guo
On Mon, Jul 02, 2018 at 10:22:05AM +0530, Viresh Kumar wrote: > On 29-06-18, 16:52, Sébastien Szymanski wrote: > > i.MX6ULL has different operating ranges than i.MX6UL so add the > > operating points for the i.MX6ULL and removed them form board device > > s/removed/remove/ > s/form/from/ I fixed

Re: [PATCH] staging: mt7621-pinctrl: Style fixes to pinctrl-rt2880

2018-07-03 Thread Greg Kroah-Hartman
On Tue, Jul 03, 2018 at 01:20:47AM -0400, Peter Vernia wrote: > Replaces instances of "unsigned" with "unsigned int"; fixes comma and tab > spacing. > > Signed-off-by: Peter Vernia > --- > drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 35 > + > 1 file changed, 18

Re: [PATCH v3 6/8] serial: Add Tegra Combined UART driver

2018-07-03 Thread Mikko Perttunen
On 02.07.2018 16:47, Thierry Reding wrote: On Mon, Jul 02, 2018 at 04:30:07PM +0300, Mikko Perttunen wrote: On 02.07.2018 16:18, Thierry Reding wrote: On Mon, Jul 02, 2018 at 02:40:31PM +0300, Mikko Perttunen wrote: The Tegra Combined UART (TCU) is a mailbox-based mechanism that allows

Re: [PATCH upstream] KASAN: slab-out-of-bounds Read in getname_kernel

2018-07-03 Thread Ian Kent
On Tue, 2018-07-03 at 07:48 +0200, Dmitry Vyukov wrote: > On Tue, Jul 3, 2018 at 3:34 AM, Ian Kent wrote: > > On Mon, 2018-07-02 at 14:15 +0200, Dmitry Vyukov wrote: > > > On Mon, Jul 2, 2018 at 1:55 PM, tomas wrote: > > > > Yes, thanks. Please use my full name, Tomas Bortoli. > > > > > > > >

Re: [PATCH V2] ARM: dts: imx6: correct anatop regulators range

2018-07-03 Thread Shawn Guo
On Mon, Jul 02, 2018 at 10:04:36AM +0800, Anson Huang wrote: > According to i.MX6 datasheet, the LDO_1P1's typical > programming operating range is 1.0V to 1.2V, and > the LDO_2P5's typical programming operating range > is 2.25V to 2.75V, correct LDO_1P1 and LDO_2P5's > regulator range settings

Re: [PATCH 08/15] arm: dts: dra74x: Add missing cooling device properties for CPUs

2018-07-03 Thread Tony Lindgren
* Viresh Kumar [180525 03:35]: > The cooling device properties, like "#cooling-cells" and > "dynamic-power-coefficient", should either be present for all the CPUs > of a cluster or none. If these are present only for a subset of CPUs of > a cluster then things will start falling apart as soon as

Re: [PATCH 09/15] arm: dts: omap: Add missing cooling device properties for CPUs

2018-07-03 Thread Tony Lindgren
* Viresh Kumar [180525 03:35]: > The cooling device properties, like "#cooling-cells" and > "dynamic-power-coefficient", should either be present for all the CPUs > of a cluster or none. If these are present only for a subset of CPUs of > a cluster then things will start falling apart as soon as

[tip:x86/cache] x86/intel_rdt: Support restoration of subset of permissions

2018-07-03 Thread tip-bot for Reinette Chatre
Commit-ID: 392487def48e4b596526a4a8c2c2ec4cfe73bf13 Gitweb: https://git.kernel.org/tip/392487def48e4b596526a4a8c2c2ec4cfe73bf13 Author: Reinette Chatre AuthorDate: Sat, 30 Jun 2018 22:17:32 -0700 Committer: Thomas Gleixner CommitDate: Tue, 3 Jul 2018 08:38:40 +0200 x86/intel_rdt:

[tip:x86/cache] x86/intel_rdt: Make CPU information accessible for pseudo-locked regions

2018-07-03 Thread tip-bot for Reinette Chatre
Commit-ID: 33dc3e410a0d99f394905143b26d34f1fd64c962 Gitweb: https://git.kernel.org/tip/33dc3e410a0d99f394905143b26d34f1fd64c962 Author: Reinette Chatre AuthorDate: Sat, 30 Jun 2018 22:17:33 -0700 Committer: Thomas Gleixner CommitDate: Tue, 3 Jul 2018 08:38:40 +0200 x86/intel_rdt: Make

Re: [PATCH v7 1/4] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-07-03 Thread Lee Jones
On Tue, 26 Jun 2018, Enric Balletbo Serra wrote: > Hi Matti, > Missatge de Matti Vaittinen del > dia dt., 26 de juny 2018 a les 13:25: > > > > Hello Eric, > > > > Thanks for the comments! I'll be addressing these in patch series v8 > > - except the regmap wrapper one which will be taken care of

Re: [RFC PATCH 2/5] dt-bindings: xilinx: Add missing zynq boards

2018-07-03 Thread Luis Araneda
Hi Michal, On Thu, Jun 28, 2018 at 2:44 AM Michal Simek wrote: > > -- Xilinx internal board cc108 > > +- Xilinx CC108 board > > No reason to remove internal word from here. Ok. Thanks, Luis Araneda.

[PATCH 0/3] clk: meson: add a sub EMMC clock controller support

2018-07-03 Thread Yixun Lan
This driver will add a EMMC clock controller driver support. The original idea about adding a clock controller is during the discussion in the NAND driver mainline effort[1]. I've tested this in the S400 board (AXG platform) by using NAND driver. [1]

[PATCH 1/3] clk: meson: add DT documentation for emmc clock controller

2018-07-03 Thread Yixun Lan
Document the EMMC sub clock controller driver, the potential consumer of this driver is EMMC or NAND. Signed-off-by: Yixun Lan --- .../bindings/clock/amlogic,emmc-clkc.txt | 45 +++ 1 file changed, 45 insertions(+) create mode 100644

[PATCH 3/3] clk: meson: add sub EMMC clock controller driver

2018-07-03 Thread Yixun Lan
This patch will add a EMMC clock controller driver support, It provide a mux and divider clock. This clock driver can be protentially used by either EMMC and NAND driver. Signed-off-by: Yixun Lan --- drivers/clk/meson/Kconfig | 9 +++ drivers/clk/meson/Makefile| 1 +

[PATCH v2 1/2] IIO: st_accel_i2c.c: Simplify access to driver data

2018-07-03 Thread Nikolaus Voss
Use device_get_match_data API to simplify access to driver data. Let acpi_device_id table entries point to the same driver data as of_device_id table entries and uniquify access to driver data by using device_get_match_data API. Signed-off-by: Nikolaus Voss --- drivers/iio/accel/st_accel_i2c.c

Re: [v3 01/10] dt-bindings: mediatek: mmsys: Add support for mfd

2018-07-03 Thread Lee Jones
On Mon, 25 Jun 2018, Matthias Brugger wrote: > > > On 30/04/18 12:30, Lee Jones wrote: > > On Fri, 27 Apr 2018, matthias@kernel.org wrote: > > > >> From: Matthias Brugger > >> > >> Add binding description for the mmsys mfd for some Mediatek > >> devices. mmsys has some registers to

[tip:x86/hyperv] x86/hyper-v: Use cheaper HVCALL_SEND_IPI hypercall when possible

2018-07-03 Thread tip-bot for Vitaly Kuznetsov
Commit-ID: 4bd06060762bc7e4834ecf9daeb78834f7a29582 Gitweb: https://git.kernel.org/tip/4bd06060762bc7e4834ecf9daeb78834f7a29582 Author: Vitaly Kuznetsov AuthorDate: Fri, 22 Jun 2018 19:06:24 +0200 Committer: Thomas Gleixner CommitDate: Tue, 3 Jul 2018 09:00:34 +0200 x86/hyper-v: Use

[RFC PATCH 3/4] misc: Add bmc-misc-ctrl

2018-07-03 Thread Andrew Jeffery
bmc-misc-ctrl is used to expose miscellaneous Baseboard Management Controller (BMC) hardware features described in the devicetree to userspace. Signed-off-by: Andrew Jeffery --- MAINTAINERS | 1 + drivers/misc/Kconfig | 8 + drivers/misc/Makefile| 1 +

[RFC PATCH 1/4] dts: misc: Add bindings documentation for bmc-misc-ctrl

2018-07-03 Thread Andrew Jeffery
Signed-off-by: Andrew Jeffery --- .../bindings/misc/bmc-misc-ctrl.txt | 252 ++ MAINTAINERS | 6 + 2 files changed, 258 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/bmc-misc-ctrl.txt diff --git

[RFC PATCH 4/4] dts: aspeed-g5: Add bmc-misc-ctrl nodes to devicetree

2018-07-03 Thread Andrew Jeffery
Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-g5.dtsi | 192 +++ 1 file changed, 192 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 17f2714d18a7..57d477e17c0c 100644 ---

[tip:x86/hyperv] x86/hyper-v: Use 'fast' hypercall for HVCALL_SEND_IPI

2018-07-03 Thread tip-bot for Vitaly Kuznetsov
Commit-ID: d8e6b232cfdd5d141c03e40a14c1c781480ea05e Gitweb: https://git.kernel.org/tip/d8e6b232cfdd5d141c03e40a14c1c781480ea05e Author: Vitaly Kuznetsov AuthorDate: Fri, 22 Jun 2018 19:06:23 +0200 Committer: Thomas Gleixner CommitDate: Tue, 3 Jul 2018 09:00:33 +0200 x86/hyper-v: Use

[tip:x86/hyperv] x86/hyper-v: Trace PV IPI send

2018-07-03 Thread tip-bot for Vitaly Kuznetsov
Commit-ID: 58ec5e9c9044bd7e1c0bcc6ad822b2e909f49732 Gitweb: https://git.kernel.org/tip/58ec5e9c9044bd7e1c0bcc6ad822b2e909f49732 Author: Vitaly Kuznetsov AuthorDate: Fri, 22 Jun 2018 19:06:25 +0200 Committer: Thomas Gleixner CommitDate: Tue, 3 Jul 2018 09:00:34 +0200 x86/hyper-v: Trace

Re: [PATCH 0/5] ARM: dts: dra7/am7xx: USB fixes and enhancements

2018-07-03 Thread Tony Lindgren
* Roger Quadros [180702 09:00]: > Hi Tony, > > On 29/05/18 12:00, Roger Quadros wrote: > > Hi Tony, > > > > These are some fixes and enhancements for USB ports on dra7 and am57xx-idk > > EVMs. > > If OK, please queue these for v4.18. Thanks. > > > > Gentle reminder. > Could you please pick

[RFC PATCH 2/4] Documentation: ABI: Add sysfs-class-bmc documentation to testing

2018-07-03 Thread Andrew Jeffery
Signed-off-by: Andrew Jeffery --- Documentation/ABI/testing/sysfs-class-bmc | 62 +++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-class-bmc diff --git a/Documentation/ABI/testing/sysfs-class-bmc

[PATCH v2 0/2] IIO: st_sensors_i2c: improve device enumeration

2018-07-03 Thread Nikolaus Voss
When trying to instantiate a st_accel_i2c device from an ACPI based system, I ran into some problems: For my device, there is no ACPI match table entry, so rather than creating /allocating a new ACPI HID for the device, I wanted to use an existing DT table compatible entry via creating an

[PATCH] eeprom: idt_89hpesx: remove redundant variable csrval_len

2018-07-03 Thread Colin King
From: Colin Ian King Variable csrval_len is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: variable 'csrval_len' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King --- drivers/misc/eeprom/idt_89hpesx.c | 4

[RFC PATCH 0/4] sysfs interface to miscellaneous BMC controls and fields

2018-07-03 Thread Andrew Jeffery
*Dons firefighting gear* Hello, This series introduces a bmc-misc-ctrl driver for exposing hardware interfaces provided by the BMC (Baseboard Management Controller) for scratch register communication between the host and the BMC, and other miscellaneous switches controlling BMC hardware features

Re: [PATCH 16/20] dts: arm: omap: Update coresight bindings for hardware ports

2018-07-03 Thread Tony Lindgren
* Suzuki K Poulose [180605 14:48]: > Switch to the new coresight bindings for hardware ports So is this patch safe for me to pick separately for v4.19? Regards, Tony

Re: [PATCH] memcg, oom: move out_of_memory back to the charge path

2018-07-03 Thread Greg Thelen
Michal Hocko wrote: > On Fri 29-06-18 11:59:04, Greg Thelen wrote: >> Michal Hocko wrote: >> >> > On Thu 28-06-18 16:19:07, Greg Thelen wrote: >> >> Michal Hocko wrote: >> > [...] >> >> > + if (mem_cgroup_out_of_memory(memcg, mask, order)) >> >> > + return OOM_SUCCESS; >>

[PATCH] misc: genwqe: remove several redundant variables

2018-07-03 Thread Colin King
From: Colin Ian King The variables val16, type, pci_dev and type are set but are never used hence they are redundant and can be removed. Cleans up clang warnings: warning: variable 'type' set but not used [-Wunused-but-set-variable] warning: variable 'val16' set but not used

Re: [PATCH 15/15] arm: dts: imx: Add missing OPP properties for CPUs

2018-07-03 Thread Shawn Guo
On Mon, May 28, 2018 at 04:37:39PM +0530, Viresh Kumar wrote: > Hi Lucas, > > On 25-05-18, 13:46, Lucas Stach wrote: > > This is a lot of duplicate information for what is effectively a shared > > cluster wide thing. This does absolutely not _feel_ right. > > I cannot agree more :) > > > What

Re: [PATCH 0/3] clk: meson: add a sub EMMC clock controller support

2018-07-03 Thread Boris Brezillon
On Tue, 3 Jul 2018 14:57:13 + Yixun Lan wrote: > This driver will add a EMMC clock controller driver support. > The original idea about adding a clock controller is during the > discussion in the NAND driver mainline effort[1]. > > I've tested this in the S400 board (AXG platform) by using

Re: [PATCH] memcg, oom: move out_of_memory back to the charge path

2018-07-03 Thread Michal Hocko
On Tue 03-07-18 00:08:05, Greg Thelen wrote: > Michal Hocko wrote: > > > On Fri 29-06-18 11:59:04, Greg Thelen wrote: > >> Michal Hocko wrote: > >> > >> > On Thu 28-06-18 16:19:07, Greg Thelen wrote: > >> >> Michal Hocko wrote: > >> > [...] > >> >> > + if (mem_cgroup_out_of_memory(memcg,

Re: [RFC PATCH 5/5] arm: dts: zynq: remove "zynq" prefix from compatible property

2018-07-03 Thread Luis Araneda
Hi Michal, On Thu, Jun 28, 2018 at 2:42 AM Michal Simek wrote: > zynq name here is correct which is saying that hardblock is going to be > described. Without it it is suggesting that hardblock is not used and it > is for example on zybo with microblaze. In my opinion, the zynq name is just

Re: [PATCH 1/8] ARM: dts: am335x-sl50: update backlight nodes

2018-07-03 Thread Tony Lindgren
* Enric Balletbo i Serra [180606 08:56]: > This patch updates the backlight nodes to improve the support and describe > better how hardware is done. The changes done were: Thanks applying all eight patches into omap-for-v4.19/dt. Regards, Tony

[PATCH] sgi-xp: remove redundant pointers ch and rp

2018-07-03 Thread Colin King
From: Colin Ian King The pointers ch and rp are set but are never used hence they are redundant and can be removed. Cleans up clang warnings: warning: variable 'ch' set but not used [-Wunused-but-set-variable] warning: variable 'rp' set but not used [-Wunused-but-set-variable] Signed-off-by:

Re: [PATCH] ARM: dts: am33xx: Fix syntax of alias names

2018-07-03 Thread Tony Lindgren
* Felix Brack [180611 08:12]: > DT specifications do not allow the underscore character in alias names. > Replace all underscores in alias names by dashes. Applying into omap-for-v4.19/dt thanks. Tony

[lkp-robot] [rcu] 50b7ae6af5: BUG:spinlock_recursion_on_CPU

2018-07-03 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-7): commit: 50b7ae6af5671168cc6cf2de959b02584e4c3f87 ("rcu: Diagnostics for grace-period hangs") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master in testcase: trinity with following parameters: runtime: 300s

[PATCH v3 6/6] soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs

2018-07-03 Thread Niklas Cassel
Since commit cab673583d96 ("soc: Unconditionally include qcom Makefile"), we unconditionally include the soc/qcom/Makefile. This opens up the possibility to compile test the code even when building for other architectures. Allow COMPILE_TEST for all qcom SoC Kconfigs, except for two Kconfigs

Re: [PATCH v3 0/8] gnss: add new GNSS subsystem

2018-07-03 Thread Johan Hovold
On Mon, Jul 02, 2018 at 09:32:26PM +0200, Pavel Machek wrote: > On Fri 2018-06-29 14:09:14, Johan Hovold wrote: > > On Fri, Jun 29, 2018 at 02:05:54PM +0200, Pavel Machek wrote: > > > On Fri 2018-06-29 13:46:46, Johan Hovold wrote: > > > > On Fri, Jun 29, 2018 at 11:46:07AM +0200, Pavel Machek

[PATCH v3 2/6] soc: qcom: llcc-slice: Add missing include of sizes.h

2018-07-03 Thread Niklas Cassel
Add missing include of sizes.h. drivers/soc/qcom/llcc-slice.c: In function ‘llcc_update_act_ctrl’: drivers/soc/qcom/llcc-slice.c:41:44: error: ‘SZ_4K’ undeclared #define LLCC_TRP_ACT_CTRLn(n) (n * SZ_4K) ^ Signed-off-by: Niklas Cassel ---

[PATCH v3 4/6] soc: qcom: smsm: Add select IRQ_DOMAIN

2018-07-03 Thread Niklas Cassel
Since we are using irq_domain_add_linear(), add a select on IRQ_DOMAIN. This is needed in order to be able to remove the depends on ARCH_QCOM. drivers/soc/qcom/smsm.c: In function ‘smsm_inbound_entry’: drivers/soc/qcom/smsm.c:411:18: error: implicit declaration of function

Re: [PATCH 2/3] clk: meson: add sub EMMC clock dt-bindings IDs

2018-07-03 Thread Boris Brezillon
On Tue, 3 Jul 2018 14:57:15 + Yixun Lan wrote: > Add two clock bindings IDs which provided by the EMMC clock controller, > These two clocks will be used by EMMC or NAND driver. > > Signed-off-by: Yixun Lan > --- > include/dt-bindings/clock/emmc-clkc.h | 14 ++ > 1 file

[PATCH v3 3/6] soc: qcom: smp2p: Add select IRQ_DOMAIN

2018-07-03 Thread Niklas Cassel
Since we are using irq_domain_add_linear(), add a select on IRQ_DOMAIN. This is needed in order to be able to remove the depends on ARCH_QCOM. drivers/soc/qcom/smp2p.c: In function ‘qcom_smp2p_inbound_entry’: drivers/soc/qcom/smp2p.c:317:18: error: implicit declaration of function

[PATCH v3 5/6] soc: qcom: Remove bogus depends on OF from QCOM_SMD_RPM

2018-07-03 Thread Niklas Cassel
QCOM_SMD_RPM builds perfectly fine without CONFIG_OF set. Remove the bogus depends of OF. Signed-off-by: Niklas Cassel --- drivers/soc/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index

Re: [PATCH v2 4/8] x86: add support for 64-bit place relative relocations

2018-07-03 Thread kbuild test robot
/Ard-Biesheuvel/add-support-for-relative-references-in-jump-tables/20180703-031712 config: um-x86_64_defconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=um SUBARCH=x86_64 All errors (new ones

[PATCH] misc: ti-st: remove redundant variable 'type'

2018-07-03 Thread Colin King
From: Colin Ian King Variable type is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: variable 'type' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King --- drivers/misc/ti-st/st_kim.c | 3 +-- 1 file

[PATCH 3/3] drivers/speakup: Fix style and coding warnings

2018-07-03 Thread Tamir Suliman
Fixed the following style/coding issues: *updated ---help to the prefered new help texts which reduces the code/file size and fixes the warning messages *Used else if instead of elese as else is not generally useful after a break or return, not sure if this is the acceptable but it resolved the

Re: [REGRESSION] "Locked" and "Pss" in /proc/*/smaps are the same

2018-07-03 Thread Vlastimil Babka
+CC On 07/01/2018 08:31 PM, Thomas Lindroth wrote: > While looking around in /proc on my v4.14.52 system I noticed that > all processes got a lot of "Locked" memory in /proc/*/smaps. A lot > more memory than a regular user can usually lock with mlock(). > > commit

Re: [PATCH 2/3] clk: meson: add sub EMMC clock dt-bindings IDs

2018-07-03 Thread Yixun Lan
Hi Broris thanks for your quick response, and see my comments below On 07/03/18 15:21, Boris Brezillon wrote: > On Tue, 3 Jul 2018 14:57:15 + > Yixun Lan wrote: > >> Add two clock bindings IDs which provided by the EMMC clock controller, >> These two clocks will be used by EMMC or NAND

[PATCH] misc: vmci: remove redundant variable is_local

2018-07-03 Thread Colin King
From: Colin Ian King Variable is_local is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: variable 'is_local' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King --- drivers/misc/vmw_vmci/vmci_queue_pair.c |

Re: [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups

2018-07-03 Thread Masahiro Yamada
2018-07-03 16:35 GMT+09:00 Ingo Molnar : > > * Richard Weinberger wrote: > >> Masahiro, >> >> Am Dienstag, 3. Juli 2018, 03:50:12 CEST schrieb Masahiro Yamada: >> > >> > At first, I sent the first patch to UML ML, >> > but they did not pick it up. >> > Instead, I was able to get Acked-by from

Re: [PATCH V2 19/19] irqchip: add C-SKY irqchip drivers

2018-07-03 Thread Guo Ren
On Mon, Jul 02, 2018 at 09:27:13PM -0600, Rob Herring wrote: > Commit message needed. Ok > Do you mean "legacy"? Yes, it's from arch/csky/Kconfig.debug, and I'll correct it in next version patch. > It would be better to make this run-time so you can support multiple > platforms in one build.

[PATCH] mtd: cfi_cmdset_0002: remove redundant variable timeo

2018-07-03 Thread Colin King
From: Colin Ian King Variable is_local is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: variable 'timeo' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King --- drivers/mtd/chips/cfi_cmdset_0002.c | 2 -- 1

[PATCH 4/6] Coccinelle: atomic_as_refcounter: Replace disjunction by a constraint in two SmPL rules

2018-07-03 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 2 Jul 2018 18:45:15 +0200 Three function names were specified for a search of function calls by the means of a disjunction in two rules of a script for the semantic patch language. Use a regular expression as a constraint for this source code search pattern

Re: [PATCH v6 21/21] s390: doc: detailed specifications for AP virtualization

2018-07-03 Thread Harald Freudenberger
On 02.07.2018 18:28, Halil Pasic wrote: > > > On 06/29/2018 11:11 PM, Tony Krowiak wrote: >> This patch provides documentation describing the AP architecture and >> design concepts behind the virtualization of AP devices. It also >> includes an example of how to configure AP devices for exclusive

[tip:sched/core] sched/fair: Advance global expiration when period timer is restarted

2018-07-03 Thread tip-bot for Xunlei Pang
Commit-ID: f1d1be8aee6c461652aea8f58bedebaa73d7f4d3 Gitweb: https://git.kernel.org/tip/f1d1be8aee6c461652aea8f58bedebaa73d7f4d3 Author: Xunlei Pang AuthorDate: Wed, 20 Jun 2018 18:18:34 +0800 Committer: Ingo Molnar CommitDate: Tue, 3 Jul 2018 09:17:29 +0200 sched/fair: Advance global

[tip:sched/core] sched/fair: Fix bandwidth timer clock drift condition

2018-07-03 Thread tip-bot for Xunlei Pang
Commit-ID: 512ac999d2755d2b7109e996a76b6fb8b888631d Gitweb: https://git.kernel.org/tip/512ac999d2755d2b7109e996a76b6fb8b888631d Author: Xunlei Pang AuthorDate: Wed, 20 Jun 2018 18:18:33 +0800 Committer: Ingo Molnar CommitDate: Tue, 3 Jul 2018 09:17:29 +0200 sched/fair: Fix bandwidth

Re: [RFC PATCH 1/4] dts: misc: Add bindings documentation for bmc-misc-ctrl

2018-07-03 Thread Greg KH
On Tue, Jul 03, 2018 at 05:04:10PM +1000, Andrew Jeffery wrote: > Signed-off-by: Andrew Jeffery > --- I can't take patches without any changelog text at all :(

Re: [PATCH v5 09/10] Uprobes/sdt: Document about reference counter

2018-07-03 Thread Ravi Bangoria
Hi Srikar, On 07/02/2018 08:24 PM, Srikar Dronamraju wrote: > * Ravi Bangoria [2018-06-28 10:52:08]: > >> Reference counter gate the invocation of probe. If present, >> by default reference count is 0. Kernel needs to increment >> it before tracing the probe and decrement it when done. This >>

Re: [PATCH v2 8/8] jump_table: move entries into ro_after_init region

2018-07-03 Thread Jessica Yu
+++ Ard Biesheuvel [02/07/18 20:11 +0200]: The __jump_table sections emitted into the core kernel and into each module consist of statically initialized references into other parts of the code, and with the exception of entries that point into init code, which are defused at post-init time,

[tip:sched/core] sched/util_est: Fix util_est_dequeue() for throttled cfs_rq

2018-07-03 Thread tip-bot for Vincent Guittot
Commit-ID: 3482d98bbc730758b63a5d1cf41d05ea17481412 Gitweb: https://git.kernel.org/tip/3482d98bbc730758b63a5d1cf41d05ea17481412 Author: Vincent Guittot AuthorDate: Thu, 14 Jun 2018 12:33:00 +0200 Committer: Ingo Molnar CommitDate: Tue, 3 Jul 2018 09:17:30 +0200 sched/util_est: Fix

Re: [PATCHv3 2/4] drivers/base: utilize device tree info to shutdown devices

2018-07-03 Thread Lukas Wunner
On Tue, Jul 03, 2018 at 02:50:40PM +0800, Pingfan Liu wrote: > commit 52cdbdd49853 ("driver core: correct device's shutdown order") > places an assumption of supplier<-consumer order on the process of probe. > But it turns out to break down the parent <- child order in some scene. > E.g in pci, a

Re: [GIT PULL] x86 fixes

2018-07-03 Thread Ingo Molnar
* Linus Torvalds wrote: > On Mon, Jul 2, 2018 at 11:48 AM Andy Lutomirski wrote: > > > > BTR is way more leet than AND! > > I stand corrected. Ok, on that basis I won't try to convert it to AND ;-) Seriously though, there's two other 32-bit prefix cleanup/micro-speedup changes I'll queue

Re: [RFC PATCH 3/4] misc: Add bmc-misc-ctrl

2018-07-03 Thread Greg KH
On Tue, Jul 03, 2018 at 05:04:12PM +1000, Andrew Jeffery wrote: > bmc-misc-ctrl is used to expose miscellaneous Baseboard > Management Controller (BMC) hardware features described in the devicetree > to userspace. > > Signed-off-by: Andrew Jeffery > --- > MAINTAINERS | 1 + >

[tip:x86/urgent] x86/mm/32: Initialize the CR4 shadow before __flush_tlb_all()

2018-07-03 Thread tip-bot for Zhenzhong Duan
Commit-ID: 4fb5f58e8d191f7c81637ad81284e4848afb4244 Gitweb: https://git.kernel.org/tip/4fb5f58e8d191f7c81637ad81284e4848afb4244 Author: Zhenzhong Duan AuthorDate: Mon, 2 Jul 2018 23:49:54 -0700 Committer: Ingo Molnar CommitDate: Tue, 3 Jul 2018 09:26:10 +0200 x86/mm/32: Initialize the

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-07-03 Thread Geert Uytterhoeven
Hi Kees, On Mon, Jul 2, 2018 at 8:44 PM Kees Cook wrote: > On Sat, Jun 30, 2018 at 1:43 PM, Christoph von Recklinghausen > wrote: > > The last issue I'm chasing is build failures on ARCH=m68k. The error is > > atomic_read and friends needed by the jump label code not being found. > > The config

Re: [RFC v3 PATCH 4/5] mm: mmap: zap pages with read mmap_sem for large mapping

2018-07-03 Thread Kirill A. Shutemov
On Mon, Jul 02, 2018 at 10:19:32AM -0700, Yang Shi wrote: > > > On 7/2/18 5:33 AM, Kirill A. Shutemov wrote: > > On Sat, Jun 30, 2018 at 06:39:44AM +0800, Yang Shi wrote: > > > When running some mmap/munmap scalability tests with large memory (i.e. > > > > 300GB), the below hung task issue may

  1   2   3   4   5   6   7   8   9   10   >