[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 Documentation/devicetree/bindings/clock

[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 + drivers/clk/mes

[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] https://lkml.kernel.org/r/20180628090034.0637a

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

2018-07-03 Thread Yixun Lan
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 changed, 14 insertions(+) create mode 100644 include/dt-bindings/clock/emm

Re: [PATCH v7 0/4] mfd/regulator/clk/input: bd71837: ROHM BD71837 PMIC driver

2018-07-03 Thread Lee Jones
On Thu, 21 Jun 2018, Matti Vaittinen wrote: > On Tue, Jun 19, 2018 at 01:55:31PM +0300, Matti Vaittinen wrote: > > Patch series adding support for ROHM BD71837 PMIC. > > > What is the preferred way when I send updated patches: > > 1. always resend _all_ unapplied patches even if there is no chan

[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 ACPI_DT_

[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 +

[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 control

[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 'f

[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 th

[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 b/Documentation/ABI/testing/sysfs-class

[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 ch

[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 + driv

[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 a/Documentat

[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 --- a/arch/arm/boot/dts/aspeed-g5.d

[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

[tip:x86/hyperv] x86/hyper-v: Implement hv_do_fast_hypercall16

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

[PATCH v2 2/2] IIO: st_accel_i2c.c: Use probe_new() instead of probe()

2018-07-03 Thread Nikolaus Voss
struct i2c_device_id argument of probe() is not used, so use probe_new() instead. Signed-off-by: Nikolaus Voss --- drivers/iio/accel/st_accel_i2c.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/iio/accel/st_accel_i2c.c b/drivers/iio/accel/st_accel_i2c.c index 1

Re: [PATCH v3 4/6] bus: ti-sysc: Add support for software reset

2018-07-03 Thread Tony Lindgren
* Tony Lindgren [180611 07:06]: > * Faiz Abbas [180611 06:48]: > > Hi, > > > > On Monday 11 June 2018 11:59 AM, Tony Lindgren wrote: > > > * Faiz Abbas [180611 06:28]: > > >> Great. I thought I completely misunderstood you. But I don't see what > > >> adding another function will accomplish. A

Re: [PATCH 1/2] PCI: fix restoring resized BAR state on resume

2018-07-03 Thread Christian König
Am 02.07.2018 um 15:49 schrieb Bjorn Helgaas: On Mon, Jul 02, 2018 at 03:20:59PM +0200, Christian König wrote: Am 30.06.2018 um 02:57 schrieb Bjorn Helgaas: On Thu, Jun 14, 2018 at 02:21:45PM +0200, Christian König wrote: Resize BARs after resume to the expected size again. Signed-off-by: Chr

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; >> >

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 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 p

[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 [-Wunused-but-set-va

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

2018-07-03 Thread Shawn Guo
On Tue, Jul 03, 2018 at 07:20:14AM +0100, Lee Jones wrote: > 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% > > > save

[PATCH v2] mmc: dw_mmc: fix card threshold control configuration

2018-07-03 Thread Qing Xia
From: x00270170 Card write threshold control is supposed to be set since controller version 2.80a for data write in HS400 mode and data read in HS200/HS400/SDR104 mode. However the current code returns without configuring it in the case of data writing in HS400 mode. Meanwhile the patch fixes tha

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 N

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, m

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

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 addin

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

2018-07-03 Thread Richard Weinberger
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 Richard, > one of the UML maintainers. > > https://patchwork.kernel.org/patch/10399787/ > > I am

[PATCH v3 0/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. This patch series prepares and enables all but two Kconfigs to be compile

[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 that

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 wrot

[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 ‘irq_domain_add_linear

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 changed,

[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 ‘irq_domain_ad

[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 7da6e67c7ea1..ac657164

[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: Co

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 t

[PATCH v3 1/6] soc: qcom: smem: Add missing include of sizes.h

2018-07-03 Thread Niklas Cassel
Add missing include of sizes.h. drivers/soc/qcom/smem.c: In function ‘qcom_smem_get_ptable’: drivers/soc/qcom/smem.c:666:64: error: ‘SZ_4K’ undeclared ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; ^ Signe

Re: [PATCH] mm,oom: Bring OOM notifier callbacks to outside of OOM killer.

2018-07-03 Thread Michal Hocko
On Mon 02-07-18 14:37:14, Paul E. McKenney wrote: [...] > commit d2b8d16b97ac2859919713b2d98b8a3ad22943a2 > Author: Paul E. McKenney > Date: Mon Jul 2 14:30:37 2018 -0700 > > rcu: Remove OOM code > > There is reason to believe that RCU's OOM code isn't really helping > that muc

Re: [PATCH v9 0/6] optimize memblock_next_valid_pfn and early_pfn_valid on arm and arm64

2018-07-03 Thread Michal Hocko
On Tue 03-07-18 10:11:11, Jia He wrote: > On 7/2/2018 7:40 PM, Michal Hocko Wrote: [...] > > So this is 13ms saving when booting 96G machine. Is this really worth > > the additional code? Are there any other benefits? > Sorry, Michal > I missed one thing. > This 13ms optimization is merely the resu

Re: [PATCH v3 4/6] bus: ti-sysc: Add support for software reset

2018-07-03 Thread Faiz Abbas
Hi, On Tuesday 03 July 2018 12:37 PM, Tony Lindgren wrote: > * Tony Lindgren [180611 07:06]: >> * Faiz Abbas [180611 06:48]: >>> Hi, >>> >>> On Monday 11 June 2018 11:59 AM, Tony Lindgren wrote: * Faiz Abbas [180611 06:28]: > Great. I thought I completely misunderstood you. But I don't

Re: [PATCH] ubifs: tnc: use monotonic znode timestamp

2018-07-03 Thread Richard Weinberger
Am Montag, 2. Juli 2018, 16:24:15 CEST schrieb Richard Weinberger: > Arnd, > > Am Mittwoch, 20. Juni 2018, 10:29:11 CEST schrieb Arnd Bergmann: > > The tnc uses get_seconds() based timestamps to check the age of a znode, > > which has two problems: on 32-bit architectures this may overflow in > >

[PATCH 1/1] mmc: sunxi: Disable irq during pm_suspend

2018-07-03 Thread Stefan Mavrodiev
When mmc host controller enters suspend state, the clocks are disabled, but irqs are not. For some reason the irqchip emmits false interrupts, which causes system lock loop. Debug log is: ... sunxi-mmc 1c11000.mmc: setting clk to 5200, rounded 5120 sunxi-mmc 1c11000.mmc: enabling the

Re: [PATCH v3 4/6] bus: ti-sysc: Add support for software reset

2018-07-03 Thread Tony Lindgren
* Faiz Abbas [180703 07:31]: > Hi, > > On Tuesday 03 July 2018 12:37 PM, Tony Lindgren wrote: > > * Tony Lindgren [180611 07:06]: > >> * Faiz Abbas [180611 06:48]: > >>> Hi, > >>> > >>> On Monday 11 June 2018 11:59 AM, Tony Lindgren wrote: > * Faiz Abbas [180611 06:28]: > > Great. I t

[PATCH 0/6] Coccinelle: atomic_as_refcounter: Improvements for source code search specifications

2018-07-03 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 3 Jul 2018 09:15:26 +0200 This source code search pattern was programmed in the way that some implementation details could be improved further. I suggest to avoid unnecessary code repetition also in this script for the semantic patch language. Markus Elfring (6):

Re: [PATCH 4/6] perf/aux: Make perf_event accessible to setup_aux()

2018-07-03 Thread Hendrik Brueckner
On Mon, Jul 02, 2018 at 04:33:28PM -0600, Mathieu Poirier wrote: > It can be advantagous to have access to all the information conveyed by > a perf_event when setting up the AUX buffer, as it is the case when > dealing with PMU specific driver configuration communicated to the kernel > using an ioc

[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 w

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 changed

Re: [PATCH 2/6] arm64: dts: freescale: Add missing cooling device properties for CPUs

2018-07-03 Thread Shawn Guo
On Fri, May 25, 2018 at 1:40 PM Viresh Kumar wrote: > > 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 fal

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

2018-07-03 Thread 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 Richard, > > one of the UML maintainers. > > > > htt

Re: [PATCH] mfd: as3722: disable auto power on when AC OK

2018-07-03 Thread Lee Jones
On Mon, 25 Jun 2018, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > On ams AS3722, power on when AC OK is enabled by default. > Making this option as disable by default and enable only > when platform need this explicitly. > > Signed-off-by: Laxman Dewangan > Reviewed-by: Bibek Basu > Tes

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 493b0e9d945fa9dfe96be93ae41b4ca4

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 d

[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 | 5

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 Rich

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. You

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

2018-07-03 Thread Greg KH
On Tue, Jul 03, 2018 at 07:31:20AM +, Tamir Suliman wrote: > 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 bre

[PATCH 3/6] Coccinelle: atomic_as_refcounter: Use type “expression” for another metavariable

2018-07-03 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 2 Jul 2018 17:55:27 +0200 The metavariable “a” is enclosed by parentheses in three rules of a script for the semantic patch language. Replace its type by “expression” so that the corresponding source code search becomes more powerful. Signed-off-by: Markus Elfring

[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 instead

RE: [PATCH v1] ARM: dts: imx6sl-evk: keep sw4 always on

2018-07-03 Thread Anson Huang
Hi, Shawn Anson Huang Best Regards! > -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Tuesday, July 3, 2018 1:39 PM > To: Robin Gong > Cc: feste...@gmail.com; Anson Huang ; > mark.rutl...@arm.com; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; robh

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

2018-07-03 Thread Vlastimil Babka
On 07/03/2018 09:36 AM, Vlastimil Babka wrote: > 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(

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 >

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

2018-07-03 Thread Richard Weinberger
Am Dienstag, 3. Juli 2018, 09:35:33 CEST schrieb 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 wa

[tip:sched/core] sched/nohz: Skip remote tick on idle task entirely

2018-07-03 Thread tip-bot for Frederic Weisbecker
Commit-ID: d9c0ffcabd6aae7ff1e34e8078354c13bb9f1183 Gitweb: https://git.kernel.org/tip/d9c0ffcabd6aae7ff1e34e8078354c13bb9f1183 Author: Frederic Weisbecker AuthorDate: Thu, 28 Jun 2018 18:29:41 +0200 Committer: Ingo Molnar CommitDate: Tue, 3 Jul 2018 09:17:28 +0200 sched/nohz: Skip rem

[tip:sched/core] sched/rt: Fix call to cpufreq_update_util()

2018-07-03 Thread tip-bot for Vincent Guittot
Commit-ID: 296b2ffe7fa9ed756c41415c6b1512bc4ad687b1 Gitweb: https://git.kernel.org/tip/296b2ffe7fa9ed756c41415c6b1512bc4ad687b1 Author: Vincent Guittot AuthorDate: Tue, 26 Jun 2018 15:53:22 +0200 Committer: Ingo Molnar CommitDate: Tue, 3 Jul 2018 09:17:28 +0200 sched/rt: Fix call to cp

[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 ti

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 >> i

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, these

[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 e

[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 util

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 b

Re: 4.18rc3 TX2 boot failure with "ACPICA: AML parser: attempt to continue loading table after error"

2018-07-03 Thread Rafael J. Wysocki
On Tue, Jul 3, 2018 at 12:30 AM, Jeremy Linton wrote: > Hi, > > On 07/02/2018 04:52 PM, Rafael J. Wysocki wrote: >> >> On Mon, Jul 2, 2018 at 11:41 PM, Jeremy Linton >> wrote: >>> >>> Hi, >>> >>> I'm experiencing two problems with commit 5088814a6e931 which is "ACPICA: >>> AML parser: attempt to

[tip:x86/asm] x86/build/vdso: Simplify 'cmd_vdso2c'

2018-07-03 Thread tip-bot for Masahiro Yamada
Commit-ID: c5fcdbf15523f6bbbaeb822e3be6003e60f9d3b7 Gitweb: https://git.kernel.org/tip/c5fcdbf15523f6bbbaeb822e3be6003e60f9d3b7 Author: Masahiro Yamada AuthorDate: Tue, 3 Jul 2018 10:50:14 +0900 Committer: Ingo Molnar CommitDate: Tue, 3 Jul 2018 09:20:08 +0200 x86/build/vdso: Simplify

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

2018-07-03 Thread Greg KH
On Tue, Jul 03, 2018 at 05:04:11PM +1000, Andrew Jeffery wrote: > Signed-off-by: Andrew Jeffery Same problem here :(

[tip:x86/asm] x86/build/vdso: Remove unused vdso-syms.lds

2018-07-03 Thread tip-bot for Masahiro Yamada
Commit-ID: b5722a457b6e5eabd97a7f39c6c2b8e9a623ab15 Gitweb: https://git.kernel.org/tip/b5722a457b6e5eabd97a7f39c6c2b8e9a623ab15 Author: Masahiro Yamada AuthorDate: Tue, 3 Jul 2018 10:50:13 +0900 Committer: Ingo Molnar CommitDate: Tue, 3 Jul 2018 09:20:07 +0200 x86/build/vdso: Remove un

Re: [PATCH] HID: debug: check length before copy_to_user()

2018-07-03 Thread Benjamin Tissoires
On Tue, Jul 3, 2018 at 1:59 AM, Daniel Rosenberg wrote: > If our length is greater than the size of the buffer, we > overflow the buffer > > Signed-off-by: Daniel Rosenberg > Cc: sta...@vger.kernel.org > --- Looks good: Reviewed-by: Benjamin Tissoires Cheers, Benjamin > drivers/hid/hid-debug

Re: [PATCH 1/4] HID: multitouch: add MT_QUIRK_NOT_SEEN_MEANS_UP to MT_CLS_WIN_8 quirks

2018-07-03 Thread Benjamin Tissoires
On Sun, Jul 1, 2018 at 2:19 AM, Joey Pabalinas wrote: > The firmware found in the touch screen of the Surface Pro 3 is slightly > buggy and occasionally doesn't send lift off reports for contacts; add > MT_QUIRK_NOT_SEEN_MEANS_UP to .quirks to compensate for the missed > reports. > > Signed-off-by

Re: [PATCH v8 00/26] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM)

2018-07-03 Thread Rafael J. Wysocki
On Tue, Jul 3, 2018 at 7:44 AM, Ulf Hansson wrote: > Rafael, > > On 20 June 2018 at 19:22, Ulf Hansson wrote: >> Changes in v8: >> - Added some tags for reviews and acks. >> - Cleanup timer patch (patch6) according to comments from Rafael. >> - Rebased series on top of v4.18rc1 - it applied cl

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

2018-07-03 Thread Greg KH
On Tue, Jul 03, 2018 at 05:04:13PM +1000, Andrew Jeffery wrote: > Signed-off-by: Andrew Jeffery > --- > arch/arm/boot/dts/aspeed-g5.dtsi | 192 +++ > 1 file changed, 192 insertions(+) No changelog :(

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: [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 u

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

2018-07-03 Thread Ingo Molnar
* Richard Weinberger wrote: > Am Dienstag, 3. Juli 2018, 09:35:33 CEST schrieb 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, > >

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

2018-07-03 Thread Suzuki K Poulose
Hi Tony, On 07/03/2018 08:09 AM, Tony Lindgren wrote: * 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? No. Please ignore this for now. The bindings are still under discussion. Sorry for

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 ha

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

2018-07-03 Thread Jerome Brunet
On Tue, 2018-07-03 at 15:36 +0800, Yixun Lan wrote: > 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

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

2018-07-03 Thread Harald Freudenberger
On 29.06.2018 23:11, 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 > use of KVM guests. > > Signed-off-by: Tony Krowiak

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

2018-07-03 Thread Enric Balletbo Serra
Hi, Missatge de Lee Jones del dia dt., 3 de jul. 2018 a les 8:56: > > 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 +02

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

2018-07-03 Thread Justin Skists
> On 03 July 2018 at 08:31 Tamir Suliman wrote: > +++ b/drivers/staging/speakup/keyhelp.c > @@ -167,7 +167,7 @@ int spk_handle_help(struct vc_data *vc, u_char type, > u_char ch, u_short key) > synth_printf("%s\n", spk_msg_get(MSG_HELP_INFO)); > build_key_data(); /*

  1   2   3   4   5   6   7   8   9   >