Re: [PATCH 7/8] usb: dwc3: qcom: Start USB in 'host mode' on the SDM845

2019-06-05 Thread Bjorn Andersson
On Tue 04 Jun 03:44 PDT 2019, Lee Jones wrote: > When booting with Device Tree, the current default boot configuration > table option, the request to boot via 'host mode' comes from the > "dr_mode" property. This has been the default on the MTP, but this is changing as this is causing issues when

RE: [PATCH v3 1/3] dt-bindings: arm: nxp: Add device tree binding for ls1046a-frwy board

2019-06-05 Thread Aisheng Dong
Hi Pramod, > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Wednesday, June 5, 2019 2:35 PM > Subject: Re: [PATCH v3 1/3] dt-bindings: arm: nxp: Add device tree binding for > ls1046a-frwy board > > On Mon, May 27, 2019 at 12:32:09PM +, Pramod Kumar wrote: > > Add "fsl,ls1046a-frwy" bind

Re: [PATCH 8/8] usb: dwc3: qcom: Improve error handling

2019-06-05 Thread Bjorn Andersson
On Tue 04 Jun 03:44 PDT 2019, Lee Jones wrote: > dwc3_qcom_clk_init() is called with of_count_phandle_with_args() as an > argument. If of_count_phandle_with_args() returns an error, the number > of clocks will be a negative value and will lead to undefined behaviour. > > Ensure we check for an e

Re: [PATCH] mm: Remove VM_BUG_ON in __alloc_pages_node

2019-06-05 Thread Michal Hocko
On Wed 05-06-19 11:32:29, Bharath Vedartham wrote: > In __alloc_pages_node, there is a VM_BUG_ON on the condition (nid < 0 || > nid >= MAX_NUMNODES). Remove this VM_BUG_ON and add a VM_WARN_ON, if the > condition fails and fail the allocation if an invalid NUMA node id is > passed to __alloc_pages_

Re: rcar_gen3_phy_usb2: unbalanced disables for USB20_VBUS0

2019-06-05 Thread Geert Uytterhoeven
Hi Shimoda-san, On Wed, Jun 5, 2019 at 6:06 AM Yoshihiro Shimoda wrote: > > From: Geert Uytterhoeven, Sent: Wednesday, June 5, 2019 3:06 AM > > Using a tree based on renesas-drivers-2019-06-04-v5.2-rc3, I started seeing > > the following warning during a second system suspend (s2idle): > > > So

Re: [PATCH 6/8] usb: dwc3: qcom: Add support for booting with ACPI

2019-06-05 Thread Lee Jones
On Tue, 04 Jun 2019, Bjorn Andersson wrote: > On Tue 04 Jun 03:44 PDT 2019, Lee Jones wrote: > > diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c > [..] > > @@ -373,7 +416,7 @@ static int dwc3_qcom_clk_init(struct dwc3_qcom *qcom, > > int count) > > > > qcom->num_clo

Re: [PATCH 2/2] pinctrl: mediatek: Update cur_mask in mask/mask ops

2019-06-05 Thread Chuanjia Liu
On Tue, 2019-06-04 at 08:57 +0800, Nicolas Boichat wrote: > On Mon, Jun 3, 2019 at 4:01 PM Chuanjia Liu wrote: > > > > On Fri, 2019-05-31 at 10:17 -0700, Evan Green wrote: > > > On Fri, May 31, 2019 at 1:06 AM Chuanjia Liu > > > wrote: > > > > > > > > On Thu, 2019-05-30 at 10:12 -0700, Evan Gree

Re: [PATCH 2/8] i2c: i2c-qcom-geni: Signify successful driver probe

2019-06-05 Thread Lee Jones
On Tue, 04 Jun 2019, Bjorn Andersson wrote: > On Tue 04 Jun 03:44 PDT 2019, Lee Jones wrote: > > > The Qualcomm Geni I2C driver currently probes silently which can be > > confusing when debugging potential issues. Add a low level (INFO) > > print when each I2C controller is successfully initiall

Re: [PATCH v2] arm64: dts: ls1028a: fix watchdog device node

2019-06-05 Thread Shawn Guo
On Tue, May 28, 2019 at 08:45:06PM +0800, Chuanhua Han wrote: > ls1028a platform uses sp805 watchdog, and use 1/16 platform clock as > timer clock, this patch fix device tree node. > > Signed-off-by: Chuanhua Han Applied, thanks.

Re: [PATCH] USB: move usb debugfs directory creation to the usb common core

2019-06-05 Thread kbuild test robot
/commits/Greg-Kroah-Hartman/USB-move-usb-debugfs-directory-creation-to-the-usb-common-core/20190605-114326 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing config: sh-allmodconfig (attached as .config) compiler: sh4-linux-gcc (GCC) 7.4.0 reproduce: wget https

Re: [PATCH v3 0/6] sched: Add new tracepoints required for EAS testing

2019-06-05 Thread Peter Zijlstra
On Tue, Jun 04, 2019 at 11:17:48PM -0700, Christoph Hellwig wrote: > > The following patches add the bare minimum tracepoints required to perform > > EAS > > testing in Lisa[1]. > > What is EAS? Whhy is "Lisa" not part of the patch submission? > submission. > > > It is done in this way because

Re: [PATCH 2/8] i2c: i2c-qcom-geni: Signify successful driver probe

2019-06-05 Thread Ard Biesheuvel
On Wed, 5 Jun 2019 at 09:16, Lee Jones wrote: > > On Tue, 04 Jun 2019, Bjorn Andersson wrote: > > > On Tue 04 Jun 03:44 PDT 2019, Lee Jones wrote: > > > > > The Qualcomm Geni I2C driver currently probes silently which can be > > > confusing when debugging potential issues. Add a low level (INFO)

[PATCH v3 0/2] HWMON compatibility layer for power supplies

2019-06-05 Thread Andrey Smirnov
Everyone: This small series contains the code I wrote to expose various power supply sensors via HWMON layer in order to be able to access all of the sensors in the system with libsensors. Changes since [v2]: - Added missing static specified to devm_power_supply_add_hwmon_sysfs() - Collec

[PATCH v3 2/2] power: supply: ucs1002: Add HWMON interface

2019-06-05 Thread Andrey Smirnov
Expose current sensors found on UCS1002 via HWMON. Signed-off-by: Andrey Smirnov Reviewed-by: Guenter Roeck Cc: Chris Healy Cc: Cory Tusar Cc: Lucas Stach Cc: Fabio Estevam Cc: Guenter Roeck Cc: Sebastian Reichel Cc: linux-kernel@vger.kernel.org Cc: linux...@vger.kernel.org --- drivers/po

[PATCH v3 1/2] power: supply: Add HWMON compatibility layer

2019-06-05 Thread Andrey Smirnov
Add code implementing HWMON adapter/compatibility layer to allow expositing various sensors present on power supply devices via HWMON subsystem. This is done in order to allow userspace to use single ABI/library(libsensors) to access/manipulate all of the sensors of the system. Signed-off-by: Andr

Re: [PATCH] USB: move usb debugfs directory creation to the usb common core

2019-06-05 Thread Felipe Balbi
Hi, Greg Kroah-Hartman writes: >> Greg Kroah-Hartman writes: >> > diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c >> > index 7fcb9f782931..f3d6b1ab80cb 100644 >> > --- a/drivers/usb/core/usb.c >> > +++ b/drivers/usb/core/usb.c >> > @@ -1185,19 +1185,17 @@ static struct notifier_blo

Re: [PATCH 4/8] pinctrl: qcom: sdm845: Provide ACPI support

2019-06-05 Thread Lee Jones
On Tue, 04 Jun 2019, Bjorn Andersson wrote: > On Tue 04 Jun 03:44 PDT 2019, Lee Jones wrote: > > > This patch provides basic support for booting with ACPI instead > > of the currently supported Device Tree. When doing so there are a > > couple of differences which we need to taken into considera

Re: [PATCH 0/3] Enhance virtio rpmsg bus driver buffer allocation

2019-06-05 Thread Arnaud Pouliquen
Hi Bjorn, On 6/5/19 6:34 AM, Bjorn Andersson wrote: > On Thu 31 Jan 07:41 PST 2019, Xiang Xiao wrote: > >> Hi, >> This series enhance the buffer allocation by: >> 1.Support the different buffer number in rx/tx direction >> 2.Get the individual rx/tx buffer size from config space >> >> Here is the

Re: [PATCH v5 3/3] arm64: dts: meson: Add minimal support for Odroid-N2

2019-06-05 Thread Neil Armstrong
On 03/06/2019 14:00, Anand Moon wrote: > Hi Niel, > > On Mon, 3 Jun 2019 at 14:41, Neil Armstrong wrote: >> >> This patch adds basic support for : >> - Amlogic G12B, which is very similar to G12A >> - The HardKernel Odroid-N2 based on the S922X SoC >> >> The Amlogic G12B SoC is very similar with

Re: [PATCH 0/2] Allow assembly code to use BIT(), GENMASK(), etc. and clean-up arm64 header

2019-06-05 Thread Catalin Marinas
On Mon, May 27, 2019 at 05:34:10PM +0900, Masahiro Yamada wrote: > Some in-kernel headers use _BITUL() instead of BIT(). > > arch/arm64/include/asm/sysreg.h > arch/s390/include/asm/*.h > > I think the reason is because BIT() is currently not available > in assembly. It hard-codes 1UL, which is

Re: [PATCH 1/4] arm64: dts: meson: g12a: add SDIO controller

2019-06-05 Thread Neil Armstrong
On 04/06/2019 01:31, Kevin Hilman wrote: > Neil Armstrong writes: > >> From: Jerome Brunet >> >> The Amlogic G12A SDIO Controller has a bug preventing direct DDR access, >> add the port A (SDIO) pinctrl and controller nodes and mark this specific >> controller with the amlogic,dram-access-quirk

Re: [PATCH 2/4] arm64: dts: meson-g12a-x96-max: add 32k clock to bluetooth node

2019-06-05 Thread Neil Armstrong
On 03/06/2019 11:47, Neil Armstrong wrote: > The 32k low power clock is necessary for the bluetooth part of the > combo module to initialize correctly, simply add the same clock we > use for the sdio pwrseq. > > Fixes: c5c9c7cff269 ("arm64: dts: meson-g12a-x96-max: Enable BT Module") > Signed-off-

Re: [PATCH 1/4] arm64: dts: meson-g12a-sei510: add 32k clock to bluetooth node

2019-06-05 Thread Neil Armstrong
On 03/06/2019 11:47, Neil Armstrong wrote: > The 32k low power clock is necessary for the bluetooth part of the > combo module to initialize correctly, simply add the same clock we > use for the sdio pwrseq. > > Fixes: d1c023af1988 ("arm64: dts: meson-g12a-sei510: Add ADC Key and BT > support") >

Re: [PATCH] thermal/drivers/of: Add a get_temp_id callback function

2019-06-05 Thread Andrey Smirnov
On Tue, May 28, 2019 at 8:05 PM Eduardo Valentin wrote: > > On Thu, May 23, 2019 at 07:48:56PM -0700, Andrey Smirnov wrote: > > On Mon, Apr 29, 2019 at 9:51 AM Daniel Lezcano > > wrote: > > > > > > On 24/04/2019 01:08, Daniel Lezcano wrote: > > > > On 23/04/2019 17:44, Eduardo Valentin wrote: > >

Re: [PATCH v4 0/7] mm: reparent slab memory on cgroup removal

2019-06-05 Thread Greg Thelen
Roman Gushchin wrote: > # Why do we need this? > > We've noticed that the number of dying cgroups is steadily growing on most > of our hosts in production. The following investigation revealed an issue > in userspace memory reclaim code [1], accounting of kernel stacks [2], > and also the mainrea

Re: [PATCH v8 07/19] locking/rwsem: Implement lock handoff to prevent lock starvation

2019-06-05 Thread Yuyang Du
Hi Waiman, On Wed, 5 Jun 2019 at 00:00, Waiman Long wrote: > With my patchset applied, the reader-writer ordering is still supposed > to be preserved. Of course, there can be exceptions depending on the > exact timing, but we can't rely on that to prevent deadlock. This is exactly what I want to

Re: [PATCH] USB: move usb debugfs directory creation to the usb common core

2019-06-05 Thread Chunfeng Yun
On Tue, 2019-06-04 at 13:59 +0200, Greg Kroah-Hartman wrote: > On Tue, Jun 04, 2019 at 11:32:58AM +0200, Greg Kroah-Hartman wrote: > > The USB gadget subsystem wants to use the USB debugfs root directory, so > > move it to the common "core" USB code so that it is properly initialized > > and remove

Re: [PATCH v2 2/3] mmc: core: API for temporarily disabling auto-retuning due to errors

2019-06-05 Thread Arend Van Spriel
On 6/3/2019 8:37 PM, Douglas Anderson wrote: Normally when the MMC core sees an "-EILSEQ" error returned by a host controller then it will trigger a retuning of the card. This is generally a good idea. However, if a command is expected to sometimes cause transfer errors then these transfer erro

Re: [PATCH v2 2/2] mmc: sdhci-milbeaut: add Milbeaut SD controller driver

2019-06-05 Thread orito.takao
Hi > On 3/06/19 4:48 PM, Ulf Hansson wrote: > > + Adrian > > > > On Thu, 30 May 2019 at 11:20, Takao Orito wrote: > >> > >> SD Host controller on Milbeaut consists of two controller parts. > >> One is core controller F_SDH30, this is similar to sdhci-fujitsu > >> controller. > >> Another is bri

[RFC PATCH v2 1/4] dt-bindings: gpio: davinci: Add k3 am654 compatible

2019-06-05 Thread Keerthy
The patch adds k3 am654 compatible, specific properties and an example. Signed-off-by: Keerthy --- .../devicetree/bindings/gpio/gpio-davinci.txt | 18 ++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/gpio-davinci.txt b/Documentation/devic

[RFC PATCH v2 2/4] arm64: dts: ti: am6-wakeup: Add gpio node

2019-06-05 Thread Keerthy
Add gpio0 node under wakeup domain. This has 56 gpios and all are capable of generating banked interrupts. Signed-off-by: Keerthy --- arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi b/arch

Re: [PATCH 2/8] i2c: i2c-qcom-geni: Signify successful driver probe

2019-06-05 Thread Johan Hovold
On Wed, Jun 05, 2019 at 08:16:25AM +0100, Lee Jones wrote: > On Tue, 04 Jun 2019, Bjorn Andersson wrote: > > > On Tue 04 Jun 03:44 PDT 2019, Lee Jones wrote: > > > > > The Qualcomm Geni I2C driver currently probes silently which can be > > > confusing when debugging potential issues. Add a low l

[RFC PATCH v2 4/4] arm64: dts: ti: am654-base-board: Add gpio_keys node

2019-06-05 Thread Keerthy
There are 2 push buttons: SW5 and SW6 that are basically connected to WKUP_GPIO0_24 and WKUP_GPIO0_27 respectively. Add the respective nodes and the pinctrl data to set the mode to GPIO and Input. Signed-off-by: Keerthy --- .../arm64/boot/dts/ti/k3-am654-base-board.dts | 27 +++

[RFC PATCH v2 0/4] arm64: dts: ti: am6: Add gpio nodes

2019-06-05 Thread Keerthy
K3 AM6 platform has 2 instances of gpio banks on main domain and 1 instance on wakeup domin. All are capable of generating banked interrupts. This series also adds 2 goio_keys nodes connected to SW6 SW5 switches and tested for gpio_keys interrupts. The series depends on: https://patchwork.kernel.

[RFC PATCH v2 3/4] arm64: dts: ti: am6-main: Add gpio nodes

2019-06-05 Thread Keerthy
Add gpio0/1 nodes under main domain. They have 96 and 90 gpios respectively and all are capable of generating banked interrupts. Signed-off-by: Keerthy --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/t

Re: question: should_compact_retry limit

2019-06-05 Thread Vlastimil Babka
On 6/5/19 1:30 AM, Mike Kravetz wrote: > While looking at some really long hugetlb page allocation times, I noticed > instances where should_compact_retry() was returning true more often that > I expected. In one allocation attempt, it returned true 765668 times in a > row. To me, this was unexpe

Re: [PATCH 2/3] irqchip: al-fic: Introduce Amazon's Annapurna Labs Fabric Interrupt Controller Driver

2019-06-05 Thread Greg KH
On Wed, Jun 05, 2019 at 09:54:12AM +0300, Talel Shenhar wrote: > --- /dev/null > +++ b/include/linux/irqchip/al-fic.h > @@ -0,0 +1,21 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +/** > + * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. > + */ > + > +#ifndef _AL_FIC_H_ >

Re: [PATCH 3/3] irqchip: al-fic: Introducing support for MSI-X

2019-06-05 Thread Greg KH
On Wed, Jun 05, 2019 at 09:54:13AM +0300, Talel Shenhar wrote: > The FIC supports either a (single) wired output, or generation of an MSI-X > interrupt per input (for cases where it is embedded in a PCIe device, > hence, allowing the PCIe drivers to call this API). > This patch introduces the suppo

[PATCH v2 0/3] gpio: davinci: Add support for TI K3 AM6 platform

2019-06-05 Thread Keerthy
K3 AM6 platform has 2 instances of gpio banks on main domain and 1 instance on wakeup domin. All are capable of generating banked interrupts. Changes in v2: * Introduced a separate compatible for am654. Documentation patch link: https://patchwork.kernel.org/patch/10976445/ Keerthy (3): gpi

[PATCH v2 1/3] gpio: davinci: Fix the compiler warning with ARM64 config enabled

2019-06-05 Thread Keerthy
Fix the compiler warning with ARM64 config enabled as the current mask assumes 32 bit by default. Signed-off-by: Keerthy --- drivers/gpio/gpio-davinci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c index 3bbf5

[PATCH v2 3/3] gpio: Davinci: Add K3 dependencies

2019-06-05 Thread Keerthy
Add K3 dependencies to enable the driver on K3 platforms. Signed-off-by: Keerthy --- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 62f3fe06cd2f..28dba62e2219 100644 --- a/drivers/gpio/Kconfig +++ b/drive

[PATCH v2 2/3] gpio: davinci: Add new compatible for K3 AM654 SoCs

2019-06-05 Thread Keerthy
Add new compatible for K3 AM654 SoCs. Signed-off-by: Keerthy --- drivers/gpio/gpio-davinci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c index 0977590eb996..fc494a84a29d 100644 --- a/drivers/gpio/gpio-davinci.c +++ b/drivers/gpio/

Re: [PATCH 3/3] rpmsg: virtio_rpmsg_bus: get buffer size from config space

2019-06-05 Thread Arnaud Pouliquen
On 6/5/19 4:40 AM, xiang xiao wrote: > On Tue, Jun 4, 2019 at 10:25 PM Arnaud Pouliquen > wrote: >> >> Hello Xiang, >> >> On 5/9/19 3:00 PM, xiang xiao wrote: >>> On Thu, May 9, 2019 at 8:36 PM Arnaud Pouliquen >>> wrote: Hello Xiang, Similar mechanism has been proposed by

Re: [PATCH] usb: dwc3: gadget: Correct the logic for finding last SG entry

2019-06-05 Thread Felipe Balbi
Hi, Anurag Kumar Vulisha writes: > As a process of preparing TRBs usb_gadget_map_request_by_dev() is > called from dwc3_prepare_trbs() for mapping the request. This will > call dma_map_sg() if req->num_sgs are greater than 0. dma_map_sg() > will map the sg entries in sglist and return the number

Re: [PATCH 2/8] i2c: i2c-qcom-geni: Signify successful driver probe

2019-06-05 Thread Lee Jones
On Wed, 05 Jun 2019, Johan Hovold wrote: > On Wed, Jun 05, 2019 at 08:16:25AM +0100, Lee Jones wrote: > > On Tue, 04 Jun 2019, Bjorn Andersson wrote: > > > > > On Tue 04 Jun 03:44 PDT 2019, Lee Jones wrote: > > > > > > > The Qualcomm Geni I2C driver currently probes silently which can be > > > >

Re: [PATCH v3 4/6] i2c: core: Move ACPI IRQ handling to probe time

2019-06-05 Thread Charles Keepax
On Tue, Jun 04, 2019 at 08:04:04PM +0300, Andy Shevchenko wrote: > On Tue, May 28, 2019 at 03:28:58PM +0100, Charles Keepax wrote: > > Bring the ACPI path in sync with the device tree path and handle all the > > IRQ fetching at probe time. This leaves the only IRQ handling at device > > registratio

Re: [PATCH 2/8] i2c: i2c-qcom-geni: Signify successful driver probe

2019-06-05 Thread Lee Jones
On Wed, 05 Jun 2019, Ard Biesheuvel wrote: > On Wed, 5 Jun 2019 at 09:16, Lee Jones wrote: > > > > On Tue, 04 Jun 2019, Bjorn Andersson wrote: > > > > > On Tue 04 Jun 03:44 PDT 2019, Lee Jones wrote: > > > > > > > The Qualcomm Geni I2C driver currently probes silently which can be > > > > confusi

Re: [PATCH 2/3] i2c: slave-mqueue: add a slave backend to receive and queue messages

2019-06-05 Thread Andy Shevchenko
On Wed, Jun 5, 2019 at 6:30 AM Eduardo Valentin wrote: > > Hey Andry, > > Long time no seeing :-) True! > > > +#define MQ_MSGBUF_SIZE CONFIG_I2C_SLAVE_MQUEUE_MESSAGE_SIZE > > > +#define MQ_QUEUE_SIZE CONFIG_I2C_SLAVE_MQUEUE_QUEUE_SIZE > > > > > +#define MQ_QUEUE_NEXT(x)

Re: [PATCH v3 2/6] i2c: acpi: Use available IRQ helper functions

2019-06-05 Thread Charles Keepax
On Tue, Jun 04, 2019 at 08:00:52PM +0300, Andy Shevchenko wrote: > On Tue, May 28, 2019 at 03:28:56PM +0100, Charles Keepax wrote: > > Use the available IRQ helper functions, most of the functions have > > additional helpful side affects like configuring the trigger type of the > > IRQ. > > > > Y

Re: [PATCH] pci: ibmphp: add check of return value from pci_hp_register()

2019-06-05 Thread Andy Shevchenko
On Sun, Jun 2, 2019 at 5:30 PM Emanuel Bennici wrote: > > Check the return value of pci_hp_register() in Function > ebda_rsrc_controller() > Maybe this is correct, maybe not. You are changing behaviour of the function. How did you test this? > Signed-off-by: Emanuel Bennici > --- > drivers/pci

[RFC v3 2/2] clocksource: timer-davinci: add support for clocksource

2019-06-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Extend the davinci-timer driver to also register a clock source. Signed-off-by: Bartosz Golaszewski --- drivers/clocksource/timer-davinci.c | 85 + 1 file changed, 85 insertions(+) diff --git a/drivers/clocksource/timer-davinci.c b/driver

[RFC v3 1/2] clocksource: davinci-timer: add support for clockevents

2019-06-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Currently the clocksource and clockevent support for davinci platforms lives in mach-davinci. It hard-codes many things, uses global variables, implements functionalities unused by any platform and has code fragments scattered across many (often unrelated) files. Implem

[RFC v3 0/2] clocksource: davinci-timer: new driver

2019-06-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This is another version of the new davinci clocksource driver. After much discussion this contains many changes to simplify and improve the driver. v1 -> v2: - changed the format of the copyright notice - removed all mentiones of the periodic timer setting - added cachi

Re: [PATCH 2/8] i2c: i2c-qcom-geni: Signify successful driver probe

2019-06-05 Thread Johan Hovold
On Wed, Jun 05, 2019 at 09:20:47AM +0100, Lee Jones wrote: > On Wed, 05 Jun 2019, Johan Hovold wrote: > > No, we don't add noise like this to the logs just because it may be > > useful while debugging. Even one-liners add up. > > One line per device is should not cause an issue. > > Problems occ

Re: [PATCH 7/8] usb: dwc3: qcom: Start USB in 'host mode' on the SDM845

2019-06-05 Thread Lee Jones
On Wed, 05 Jun 2019, Bjorn Andersson wrote: > On Tue 04 Jun 03:44 PDT 2019, Lee Jones wrote: > > > When booting with Device Tree, the current default boot configuration > > table option, the request to boot via 'host mode' comes from the > > "dr_mode" property. > > This has been the default on t

Re: [PATCH 0/3] Enhance virtio rpmsg bus driver buffer allocation

2019-06-05 Thread xiang xiao
On Wed, Jun 5, 2019 at 3:33 PM Arnaud Pouliquen wrote: > > Hi Bjorn, > > On 6/5/19 6:34 AM, Bjorn Andersson wrote: > > On Thu 31 Jan 07:41 PST 2019, Xiang Xiao wrote: > > > >> Hi, > >> This series enhance the buffer allocation by: > >> 1.Support the different buffer number in rx/tx direction > >>

Re: [PATCH] USB: move usb debugfs directory creation to the usb common core

2019-06-05 Thread Chunfeng Yun
On Wed, 2019-06-05 at 10:28 +0300, Felipe Balbi wrote: > Hi, > > Greg Kroah-Hartman writes: > >> Greg Kroah-Hartman writes: > >> > diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c > >> > index 7fcb9f782931..f3d6b1ab80cb 100644 > >> > --- a/drivers/usb/core/usb.c > >> > +++ b/drivers/

Re: [PATCH 3/3] rpmsg: virtio_rpmsg_bus: get buffer size from config space

2019-06-05 Thread xiang xiao
On Wed, Jun 5, 2019 at 4:02 PM Arnaud Pouliquen wrote: > > > > On 6/5/19 4:40 AM, xiang xiao wrote: > > On Tue, Jun 4, 2019 at 10:25 PM Arnaud Pouliquen > > wrote: > >> > >> Hello Xiang, > >> > >> On 5/9/19 3:00 PM, xiang xiao wrote: > >>> On Thu, May 9, 2019 at 8:36 PM Arnaud Pouliquen > >>> w

Re: [PATCH 0/5] Exynos EHCI/OHCI: resolve conflict with the generic USB device bindings

2019-06-05 Thread Marek Szyprowski
Hi Måns, On 2019-05-22 12:54, Måns Rullgård wrote: > Marek Szyprowski writes: >> On 2019-05-21 15:30, Måns Rullgård wrote: >>> Marek Szyprowski writes: Commit 69bec7259853 ("USB: core: let USB device know device node") added support for attaching devicetree node for USB devices. Those

[PATCH 7/7] n_tty: Provide an informational line on VSTATUS receipt

2019-06-05 Thread Arseny Maslennikov
If the three termios local flags isig, icanon, iexten are enabled and the local flag nokerninfo is disabled for a tty governed by the n_tty line discipline, then on receiving the keyboard status character n_tty will generate a status message and write it out to the tty before sending SIGINFO to the

[PATCH 2/7] tty: termios: Reserve space for VSTATUS in .c_cc

2019-06-05 Thread Arseny Maslennikov
There was no architecture we had to increase NCCS on, so the size of struct termios did not change. Signed-off-by: Arseny Maslennikov --- arch/alpha/include/asm/termios.h | 4 ++-- arch/alpha/include/uapi/asm/termbits.h | 1 + arch/ia64/include/asm/termios.h | 4 ++-- arch/ia6

[PATCH 1/7] signal.h: Define SIGINFO on all architectures

2019-06-05 Thread Arseny Maslennikov
This complementary patch defines SIGINFO as a synonym for SIGPWR on every architecture supported by the kernel. The particular signal number chosen does not really matter and is only required for the related tty functionality to work properly, so if it does not suite expectations, any suggestions a

[PATCH 0/7] TTY Keyboard Status Request

2019-06-05 Thread Arseny Maslennikov
This patch series introduces TTY keyboard status request, a feature of the n_tty line discipline that reserves a character in struct termios (^T by default) and reacts to it by printing a short informational line to the terminal and sending a Unix signal to the tty's foreground process group. The p

[PATCH 5/7] tty: Add NOKERNINFO lflag to termios

2019-06-05 Thread Arseny Maslennikov
Signed-off-by: Arseny Maslennikov --- arch/alpha/include/uapi/asm/termbits.h | 1 + arch/ia64/include/uapi/asm/termbits.h| 1 + arch/mips/include/uapi/asm/termbits.h| 1 + arch/parisc/include/uapi/asm/termbits.h | 1 + arch/powerpc/include/uapi/asm/termbits.h | 1 + arch/sparc/include/

[PATCH 3/7] n_tty: Send SIGINFO to fg pgrp on status request character

2019-06-05 Thread Arseny Maslennikov
No kerninfo line is printed yet. No existing implementation of this on any Unix-like system echoes the status character; no existing implementation discards or flushes pending input on VSTATUS receipt. There are existing popular TUI applications (e. g. mutt) that only turn off icanon and not iext

[PATCH 4/7] linux/signal.h: Ignore SIGINFO by default in new tasks

2019-06-05 Thread Arseny Maslennikov
This matches the behaviour of other Unix-like systems that have SIGINFO and causes less harm to processes that do not install handlers for this signal, making the keyboard status character non-fatal for them. This is implemented with the assumption that SIGINFO is defined to be equivalent to SIGPW

[PATCH 6/7] n_tty: ->ops->write: Cut core logic out to a separate function

2019-06-05 Thread Arseny Maslennikov
To simplify internal re-use of the line discipline's write method, we isolate the work it does to its own function. Since in-kernel callers might not refer to the tty through a file, the struct file* argument might make no sense, so we also stop tty_io_nonblock() from dereferencing file too early,

Re: [PATCH] pci: hotplug: ibmphp: Fix 'line over 80 characters' Warning

2019-06-05 Thread Andy Shevchenko
On Sun, Jun 2, 2019 at 7:25 PM Emanuel Bennici wrote: > > Fix checkpatch.pl 'line over 80 characters' Warning in ibmphp_ebda.c and > ibmphp_hpc.c I'm not sure it's needed. And actually some of the changes are the regressions in order of readability ratio. > + debug(

[REGRESSION v5.2-rc] SUNRPC: Declare RPC timers as TIMER_DEFERRABLE (431235818bc3)

2019-06-05 Thread Jon Hunter
Hi Trond, I have been noticing intermittent failures with a system suspend test on some of our machines that have a NFS mounted root file-system. Bisecting this issue points to your commit 431235818bc3 ("SUNRPC: Declare RPC timers as TIMER_DEFERRABLE") and reverting this on top of v5.2-rc3 does ap

Re: [PATCH v2] pci: hotplug: ibmphp: Remove superfluous debug message

2019-06-05 Thread Andy Shevchenko
On Sun, Jun 2, 2019 at 7:35 PM Emanuel Bennici wrote: > > The 'Exit' Debug message is superfluous ftrace can be used instead. > When reviewer gives you a comment in one entry, your job is to check your entire series and address the same comment in other places. There are many such unneeded debug

[PATCH] dt-bindings: i2c: omap: Add new compatible for J721E SoCs

2019-06-05 Thread Vignesh Raghavendra
From: Peter Ujfalusi J721E SoCs have same I2C IP as OMAP SoCs. Add new compatible to handle J721E SoCs. Signed-off-by: Peter Ujfalusi Signed-off-by: Vignesh Raghavendra --- Initial support for J721E Platform is proposed here: https://lore.kernel.org/patchwork/cover/1077382/ Documentation/de

Re: [PATCH v6 09/10] usb: roles: add USB Type-B GPIO connector driver

2019-06-05 Thread Andy Shevchenko
On Wed, May 29, 2019 at 10:44 AM Chunfeng Yun wrote: > > Due to the requirement of usb-connector.txt binding, the old way > using extcon to support USB Dual-Role switch is now deprecated > when use Type-B connector. > This patch introduces a driver of Type-B connector which typically > uses an inp

Re: [PATCH 2/8] i2c: i2c-qcom-geni: Signify successful driver probe

2019-06-05 Thread Lee Jones
On Wed, 05 Jun 2019, Johan Hovold wrote: > On Wed, Jun 05, 2019 at 09:20:47AM +0100, Lee Jones wrote: > > On Wed, 05 Jun 2019, Johan Hovold wrote: > > > > No, we don't add noise like this to the logs just because it may be > > > useful while debugging. Even one-liners add up. > > > > One line pe

Re: [PATCH] USB: move usb debugfs directory creation to the usb common core

2019-06-05 Thread Greg Kroah-Hartman
On Wed, Jun 05, 2019 at 03:50:31PM +0800, Chunfeng Yun wrote: > On Tue, 2019-06-04 at 13:59 +0200, Greg Kroah-Hartman wrote: > > On Tue, Jun 04, 2019 at 11:32:58AM +0200, Greg Kroah-Hartman wrote: > > > The USB gadget subsystem wants to use the USB debugfs root directory, so > > > move it to the co

Re: [PATCH net] tcp: avoid creating multiple req socks with the same tuples

2019-06-05 Thread Zhiqiang Liu
在 2019/6/4 23:24, Eric Dumazet 写道: > On Tue, Jun 4, 2019 at 7:47 AM Mao Wenan wrote: >> >> There is one issue about bonding mode BOND_MODE_BROADCAST, and >> two slaves with diffierent affinity, so packets will be handled >> by different cpu. These are two pre-conditions in this case. >> Signed

Re: [PATCH 2/8] i2c: i2c-qcom-geni: Signify successful driver probe

2019-06-05 Thread Johan Hovold
On Wed, Jun 05, 2019 at 09:49:21AM +0100, Lee Jones wrote: > On Wed, 05 Jun 2019, Johan Hovold wrote: > > > On Wed, Jun 05, 2019 at 09:20:47AM +0100, Lee Jones wrote: > > > On Wed, 05 Jun 2019, Johan Hovold wrote: > > > > There are plenty of options for debugging already ranging from adding a >

Re: [PATCH] signal: remove the wrong signal_pending() check in restore_user_sigmask()

2019-06-05 Thread Oleg Nesterov
On 06/04, Linus Torvalds wrote: > > On Tue, Jun 4, 2019 at 6:41 AM Oleg Nesterov wrote: > > > > This is the minimal fix for stable, I'll send cleanups later. > > Ugh. I htink this is correct, but I wish we had a better and more > intuitive interface. Yes, > In particular, since restore_user_sigm

[0-Day CI notification] the service will be paused during Jun 6 to Jun 11 for lab construction

2019-06-05 Thread Philip Li
Hi all, this is Philip who maintains the 0-Day CI test service. Thanks for anyone who subscribing to the service. We will have a major lab construction during next few days, thus need to pause the service until Jun 11. Sorry for any inconvenience caused by this, we will try our best to have it onli

Re: [PATCH] usb: dwc2: Force 8bit UTMI width for Samsung Exynos SoCs

2019-06-05 Thread Krzysztof Kozlowski
On Mon, 6 May 2019 at 15:00, Marek Szyprowski wrote: > > Samsung Exynos SoCs require to force UTMI width to 8bit, otherwise the > host side of the shared USB2 PHY doesn't work. > > Reported-by: Krzysztof Kozlowski > Fixes: 707d80f0a3c5 ("usb: dwc2: gadget: Replace phyif with phy_utmi_width") > Si

Re: [PATCH v3 07/11] mm/memory_hotplug: Create memory block devices after arch_add_memory()

2019-06-05 Thread David Hildenbrand
>> /* >> * For now, we have a linear search to go find the appropriate >> * memory_block corresponding to a particular phys_index. If >> @@ -658,6 +670,11 @@ static int init_memory_block(struct memory_block >> **memory, int block_id, >> unsigned long start_pfn; >> int ret = 0; >> >> +

Re: [PATCH] pci: hotplug: ibmphp: Fix 'line over 80 characters' Warning

2019-06-05 Thread Joe Perches
On Wed, 2019-06-05 at 11:41 +0300, Andy Shevchenko wrote: > On Sun, Jun 2, 2019 at 7:25 PM Emanuel Bennici > wrote: [] > > + debug("%s - call process_changeinstatus for" > > + "slot[%d]\n", __func__, i); > > Do not split string lit

Re: [PATCH v3 09/11] mm/memory_hotplug: Remove memory block devices before arch_remove_memory()

2019-06-05 Thread David Hildenbrand
On 05.06.19 00:07, Wei Yang wrote: > On Mon, May 27, 2019 at 01:11:50PM +0200, David Hildenbrand wrote: >> Let's factor out removing of memory block devices, which is only >> necessary for memory added via add_memory() and friends that created >> memory block devices. Remove the devices before call

Re: [PATCH 0/2] Allow assembly code to use BIT(), GENMASK(), etc. and clean-up arm64 header

2019-06-05 Thread Masahiro Yamada
On Wed, Jun 5, 2019 at 4:36 PM Catalin Marinas wrote: > > On Mon, May 27, 2019 at 05:34:10PM +0900, Masahiro Yamada wrote: > > Some in-kernel headers use _BITUL() instead of BIT(). > > > > arch/arm64/include/asm/sysreg.h > > arch/s390/include/asm/*.h > > > > I think the reason is because BIT() i

[PATCH v2] phy: meson-g12a-usb3-pcie: disable locking for cr_regmap

2019-06-05 Thread Neil Armstrong
Locking is not needed for the phy_g12a_usb3_pcie_cr_bus_read/write() and currently it causes the following BUG because of the usage of the regmap_read_poll_timeout() running in spinlock_irq, configured by regmap fast_io. Simply disable locking in the cr_regmap config since it's only used from the

RE: [PATCH] signal: remove the wrong signal_pending() check in restore_user_sigmask()

2019-06-05 Thread David Laight
From: Linus Torvalds > Sent: 04 June 2019 22:27 > Ugh. I htink this is correct, but I wish we had a better and more > intuitive interface. > > In particular, since restore_user_sigmask() basically wants to check > for "signal_pending()" anyway (to decide if the mask should be > restored by signal

Re: [PATCH v15 0/3] Add support for the Purism Librem5 devkit

2019-06-05 Thread Shawn Guo
On Tue, May 28, 2019 at 05:57:44AM -0700, Angus Ainslie (Purism) wrote: > The Librem5 devkit is based on the imx8mq from NXP. This is a default > devicetree to boot the board to a command prompt. > > Changes since v14: > > Add regulator-always-on for the SNVS regulators. > Added pgc nodes. > Fixe

Re: [PATCH] signal: remove the wrong signal_pending() check in restore_user_sigmask()

2019-06-05 Thread Oleg Nesterov
On 06/04, Eric W. Biederman wrote: > > >> - restore_user_sigmask(ksig.sigmask, &sigsaved); > >> - if (signal_pending(current) && !ret) > >> + > >> + interrupted = signal_pending(current); > >> + restore_user_sigmask(ksig.sigmask, &sigsaved, interrupted); > >> + if (int

Re: [PATCH v2] arm64: dts: fsl: imx8mq: add the snvs power key node

2019-06-05 Thread Shawn Guo
On Tue, May 28, 2019 at 09:11:01AM -0700, Angus Ainslie (Purism) wrote: > Add a node for the snvs power key, "disabled" by default. > > Signed-off-by: Angus Ainslie (Purism) Applied, thanks.

[PATCH] usb: hub: report failure to enumerate uevent to userspace

2019-06-05 Thread Eugeniu Rosca
From: Spyridon Papageorgiou When a USB device fails to enumerate, only a kernel message is printed. With this patch, a uevent is also generated to notify userspace. Services can monitor for the event through udev and handle failures accordingly. The "port_enumerate_fail_notify()" function name f

Re: [PATCH V3 1/5] perf cpumap: Retrieve die id information

2019-06-05 Thread Jiri Olsa
On Tue, Jun 04, 2019 at 03:50:40PM -0700, kan.li...@linux.intel.com wrote: > From: Kan Liang > > There is no function to retrieve die id information of a given CPU. > > Add cpu_map__get_die_id() to retrieve die id information. > > Signed-off-by: Kan Liang > --- > > No changes since V2. Revie

[PATCHv3 1/2] mm/gup: fix omission of check on FOLL_LONGTERM in get_user_pages_fast()

2019-06-05 Thread Pingfan Liu
As for FOLL_LONGTERM, it is checked in the slow path __gup_longterm_unlocked(). But it is not checked in the fast path, which means a possible leak of CMA page to longterm pinned requirement through this crack. Place a check in the fast path. Signed-off-by: Pingfan Liu Cc: Ira Weiny Cc: Andrew

[PATCHv3 2/2] mm/gup: rename nr as nr_pinned in get_user_pages_fast()

2019-06-05 Thread Pingfan Liu
To better reflect the held state of pages and make code self-explaining, rename nr as nr_pinned. Signed-off-by: Pingfan Liu Cc: Ira Weiny Cc: Andrew Morton Cc: Mike Rapoport Cc: Dan Williams Cc: Matthew Wilcox Cc: John Hubbard Cc: "Aneesh Kumar K.V" Cc: Keith Busch Cc: Christoph Hellwig

Re: [PATCH 3/4] clk: bcm2835: register Raspberry Pi's firmware clk device

2019-06-05 Thread Nicolas Saenz Julienne
On Tue, 2019-06-04 at 17:00 -0700, Eric Anholt wrote: > Nicolas Saenz Julienne writes: > > > Registers clk-raspberrypi as a platform device as part of the driver's > > probe sequence. > > Similar to how we have VCHI register platform devices for the services > VCHI provides, shouldn't we have th

Re: [PATCH 4/4] cpufreq: add driver for Raspbery Pi

2019-06-05 Thread Nicolas Saenz Julienne
Hi Eric, On Tue, 2019-06-04 at 17:18 -0700, Eric Anholt wrote: > Nicolas Saenz Julienne writes: > > > Raspberry Pi's firmware offers and interface though which update it's > > performance requirements. It allows us to request for specific runtime > > frequencies, which the firmware might or migh

[PATCH v4 2/5] drivers: devfreq: events: change matching code during probe

2019-06-05 Thread Lukasz Luba
The patch changes the way how the 'ops' gets populated for different device versions. The matching function now uses 'of_device_id' in order to identify the device type. Signed-off-by: Lukasz Luba Signed-off-by: Chanwoo Choi --- drivers/devfreq/event/exynos-ppmu.c | 38 +++--

[PATCH v4 3/5] drivers: devfreq: events: extend events by type of counted data

2019-06-05 Thread Lukasz Luba
This patch adds posibility to choose what type of data should be counted by the PPMU counter. Now the type comes from DT where the event has been defined. When there is no 'event-data-type' the default value is used, which is 'read+write data in bytes'. It is needed when you want to know not only r

OK

2019-06-05 Thread Ahmed Ahmed
Greetings, I humbly solicit for your partnership to transfer €15 million Euros into your personal or company’s account .Contact me for more detailed explanation. Kindly send me the followings Full Names Address Occupation Direct Mobile Telephone Lines Nationality Ahmed Zama +22675844869

[PATCH v4 5/5] DT: arm: exynos4412: add event data type which is monitored

2019-06-05 Thread Lukasz Luba
The patch adds new field in the PPMU event which shows explicitly what kind of data the event is monitoring. It is possible to change it using defined values in exynos_ppmu.h file. Acked-by: Chanwoo Choi Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos4412-ppmu-common.dtsi | 10 +

[PATCH v4 4/5] Documentation: devicetree: add PPMU events description

2019-06-05 Thread Lukasz Luba
Extend the documenation by events description with new 'event-data-type' field. Add example how the event might be defined in DT. Signed-off-by: Lukasz Luba Signed-off-by: Chanwoo Choi --- .../bindings/devfreq/event/exynos-ppmu.txt| 26 +-- 1 file changed, 24 insertions(+),

[PATCH v4 1/5] include: dt-bindings: add Performance Monitoring Unit for Exynos

2019-06-05 Thread Lukasz Luba
This patch add support of a new feature which can be used in DT: Performance Monitoring Unit with defined event data type. In this patch the event data types are defined for Exynos PPMU. The patch also updates the MAINTAINERS file accordingly and adds the header file to devfreq event subsystem. Ac

  1   2   3   4   5   6   7   8   9   10   >