Re: [PATCH v2 1/2] mm/page_alloc: Fix panic caused by passing debug_guardpage_minorder or kernelcore to command line

2018-09-24 Thread Michal Hocko
On Mon 24-09-18 14:42:17, Andrew Morton wrote: > On Mon, 24 Sep 2018 16:24:08 +0200 Michal Hocko wrote: > > > On Sat 22-09-18 22:53:32, zhe...@windriver.com wrote: > > > From: He Zhe > > > > > > debug_guardpage_minorder_setup and cmdline_parse_kernelcore do not check > > > input argument

Re: [PATCH v2 1/2] mm/page_alloc: Fix panic caused by passing debug_guardpage_minorder or kernelcore to command line

2018-09-24 Thread Michal Hocko
On Mon 24-09-18 14:42:17, Andrew Morton wrote: > On Mon, 24 Sep 2018 16:24:08 +0200 Michal Hocko wrote: > > > On Sat 22-09-18 22:53:32, zhe...@windriver.com wrote: > > > From: He Zhe > > > > > > debug_guardpage_minorder_setup and cmdline_parse_kernelcore do not check > > > input argument

Re: [PATCH v2] remoteproc: q6v5: Add support to vote for rpmh power domains

2018-09-24 Thread Rajendra Nayak
Hi Ulf, On 9/11/2018 5:00 PM, Ulf Hansson wrote: +Viresh On 4 September 2018 at 09:10, Rajendra Nayak wrote: With rpmh ARC resources being modelled as power domains with performance state, we need to proxy vote on these for SDM845. Add support to vote on multiple of them, now that genpd

Re: [PATCH v2] remoteproc: q6v5: Add support to vote for rpmh power domains

2018-09-24 Thread Rajendra Nayak
Hi Ulf, On 9/11/2018 5:00 PM, Ulf Hansson wrote: +Viresh On 4 September 2018 at 09:10, Rajendra Nayak wrote: With rpmh ARC resources being modelled as power domains with performance state, we need to proxy vote on these for SDM845. Add support to vote on multiple of them, now that genpd

Re: [patch v2] mm, thp: always specify ineligible vmas as nh in smaps

2018-09-24 Thread Michal Hocko
On Mon 24-09-18 22:43:49, Vlastimil Babka wrote: > On 9/24/18 10:02 PM, Michal Hocko wrote: > > On Mon 24-09-18 21:56:03, Michal Hocko wrote: [...] > >> That being said, I do not object to the patch, I am just trying to > >> understand what is the intended usage for the flag that does try to say >

Re: [patch v2] mm, thp: always specify ineligible vmas as nh in smaps

2018-09-24 Thread Michal Hocko
On Mon 24-09-18 22:43:49, Vlastimil Babka wrote: > On 9/24/18 10:02 PM, Michal Hocko wrote: > > On Mon 24-09-18 21:56:03, Michal Hocko wrote: [...] > >> That being said, I do not object to the patch, I am just trying to > >> understand what is the intended usage for the flag that does try to say >

[LKP] [mm, oom] 6209f6fc62: general_protection_fault:#[##]

2018-09-24 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-7): commit: 6209f6fc62835d84c2a92d237588a114e39436ce ("mm, oom: rework mmap_exit vs. oom_reaper synchronization") https://github.com/0day-ci/linux

[LKP] [mm, oom] 6209f6fc62: general_protection_fault:#[##]

2018-09-24 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-7): commit: 6209f6fc62835d84c2a92d237588a114e39436ce ("mm, oom: rework mmap_exit vs. oom_reaper synchronization") https://github.com/0day-ci/linux

Re: [PATCH 3.18 104/105] IB/nes: Fix a compiler warning

2018-09-24 Thread Joe Perches
On Mon, 2018-09-24 at 22:39 +, Sasha Levin wrote: > The reasoning behind it was similar to the "no warnings" reasoning of > upstream: there might be real issues hiding in the sea of "harmless" > warnings, so we want to get rid of all of them to catch real issues. I believe this to be a poor

Re: [RFC PATCH] selinux: add a fallback to defcontext for native labeling

2018-09-24 Thread Taras Kondratiuk
Quoting Paul Moore (2018-09-24 20:46:57) > On Fri, Sep 21, 2018 at 10:39 AM Stephen Smalley wrote: > > On 09/20/2018 06:59 PM, Taras Kondratiuk wrote: > > > Quoting Stephen Smalley (2018-09-20 07:49:12) > > >> On 09/19/2018 10:41 PM, Taras Kondratiuk wrote: > > >>> Quoting Stephen Smalley

Re: [PATCH 3.18 104/105] IB/nes: Fix a compiler warning

2018-09-24 Thread Joe Perches
On Mon, 2018-09-24 at 22:39 +, Sasha Levin wrote: > The reasoning behind it was similar to the "no warnings" reasoning of > upstream: there might be real issues hiding in the sea of "harmless" > warnings, so we want to get rid of all of them to catch real issues. I believe this to be a poor

Re: [RFC PATCH] selinux: add a fallback to defcontext for native labeling

2018-09-24 Thread Taras Kondratiuk
Quoting Paul Moore (2018-09-24 20:46:57) > On Fri, Sep 21, 2018 at 10:39 AM Stephen Smalley wrote: > > On 09/20/2018 06:59 PM, Taras Kondratiuk wrote: > > > Quoting Stephen Smalley (2018-09-20 07:49:12) > > >> On 09/19/2018 10:41 PM, Taras Kondratiuk wrote: > > >>> Quoting Stephen Smalley

linux-next: Tree for Sep 25

2018-09-24 Thread Stephen Rothwell
Hi all, Changes since 20180924: Dropped trees: xarray, ida (temporarily) Non-merge commits (relative to Linus' tree): 5626 6053 files changed, 275592 insertions(+), 120719 deletions(-) I have created today's linux

linux-next: Tree for Sep 25

2018-09-24 Thread Stephen Rothwell
Hi all, Changes since 20180924: Dropped trees: xarray, ida (temporarily) Non-merge commits (relative to Linus' tree): 5626 6053 files changed, 275592 insertions(+), 120719 deletions(-) I have created today's linux

Re: [PATCH 1/2] phy: zynqmp: Add phy driver for xilinx zynqmp phy core

2018-09-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 29 August 2018 07:37 PM, Anurag Kumar Vulisha wrote: > ZynqMP SoC has a Gigabit Transceiver with four lanes. All the high speed > peripherals such as USB, SATA, PCIE, Display Port and Ethernet SGMII can > rely on any of the four GT lanes for PHY layer. This patch adds driver >

Re: [PATCH 1/2] phy: zynqmp: Add phy driver for xilinx zynqmp phy core

2018-09-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 29 August 2018 07:37 PM, Anurag Kumar Vulisha wrote: > ZynqMP SoC has a Gigabit Transceiver with four lanes. All the high speed > peripherals such as USB, SATA, PCIE, Display Port and Ethernet SGMII can > rely on any of the four GT lanes for PHY layer. This patch adds driver >

[PATCH v2 2/2] treewide: use bus_find_device_by_fwnode

2018-09-24 Thread Silesh C V
Use bus_find_device_by_fwnode helper to find the device having a specific firmware node on a bus. --- drivers/hwtracing/coresight/of_coresight.c | 14 -- drivers/i2c/i2c-core-of.c | 9 ++--- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 8

[PATCH v2 2/2] treewide: use bus_find_device_by_fwnode

2018-09-24 Thread Silesh C V
Use bus_find_device_by_fwnode helper to find the device having a specific firmware node on a bus. --- drivers/hwtracing/coresight/of_coresight.c | 14 -- drivers/i2c/i2c-core-of.c | 9 ++--- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 8

[PATCH v2 1/2] Driver core: add bus_find_device_by_fwnode

2018-09-24 Thread Silesh C V
Some drivers need to find the device on a bus having a specific firmware node. Currently, such drivers have their own implementations to do this. Provide a helper similar to bus_find_device_by_name so that each driver does not have to reinvent this. Signed-off-by: Silesh C V ---

[PATCH v2 1/2] Driver core: add bus_find_device_by_fwnode

2018-09-24 Thread Silesh C V
Some drivers need to find the device on a bus having a specific firmware node. Currently, such drivers have their own implementations to do this. Provide a helper similar to bus_find_device_by_name so that each driver does not have to reinvent this. Signed-off-by: Silesh C V ---

Re: [PATCH] ARM: dts: gta04: add serial console wakeup irq

2018-09-24 Thread Andreas Kemnade
Hi Tony, On Mon, 24 Sep 2018 15:03:45 -0700 Tony Lindgren wrote: > * Andreas Kemnade [180923 08:12]: > > This enables the possibility to have more aggressive runtime pm > > by providing proper wakeup irq for the serial console. > > Thanks applying to omap-for-v4.20/dt. > > FYI, you can now

Re: [PATCH] ARM: dts: gta04: add serial console wakeup irq

2018-09-24 Thread Andreas Kemnade
Hi Tony, On Mon, 24 Sep 2018 15:03:45 -0700 Tony Lindgren wrote: > * Andreas Kemnade [180923 08:12]: > > This enables the possibility to have more aggressive runtime pm > > by providing proper wakeup irq for the serial console. > > Thanks applying to omap-for-v4.20/dt. > > FYI, you can now

[PATCH v4] ARM: dts: dra7: Fix up unaligned access setting for PCIe EP

2018-09-24 Thread Vignesh R
Bit positions of PCIE_SS1_AXI2OCP_LEGACY_MODE_ENABLE and PCIE_SS1_AXI2OCP_LEGACY_MODE_ENABLE in CTRL_CORE_SMA_SW_7 are incorrectly documented in the TRM. In fact, the bit positions are swapped. Update the DT bindings for PCIe EP to reflect the same. Fixes: d23f3839fe97 ("ARM: dts: DRA7: Add pcie1

[PATCH v4] ARM: dts: dra7: Fix up unaligned access setting for PCIe EP

2018-09-24 Thread Vignesh R
Bit positions of PCIE_SS1_AXI2OCP_LEGACY_MODE_ENABLE and PCIE_SS1_AXI2OCP_LEGACY_MODE_ENABLE in CTRL_CORE_SMA_SW_7 are incorrectly documented in the TRM. In fact, the bit positions are swapped. Update the DT bindings for PCIe EP to reflect the same. Fixes: d23f3839fe97 ("ARM: dts: DRA7: Add pcie1

RE: [PATCH] sdhci: arasan: Add runtime PM support

2018-09-24 Thread Manish Narani
Ping! > -Original Message- > From: Manish Narani [mailto:manish.nar...@xilinx.com] > Sent: Tuesday, September 18, 2018 8:34 PM > To: adrian.hun...@intel.com; Michal Simek ; > ulf.hans...@linaro.org > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- >

RE: [PATCH] sdhci: arasan: Add runtime PM support

2018-09-24 Thread Manish Narani
Ping! > -Original Message- > From: Manish Narani [mailto:manish.nar...@xilinx.com] > Sent: Tuesday, September 18, 2018 8:34 PM > To: adrian.hun...@intel.com; Michal Simek ; > ulf.hans...@linaro.org > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- >

Re: [PATCH] of: unittest: Don't dereference args.np after test errors

2018-09-24 Thread Guenter Roeck
Hi Frank, On 09/24/2018 09:19 PM, Frank Rowand wrote: Hi Guenter, On 09/23/18 09:33, Guenter Roeck wrote: If a devicetree parse function fails, it is quite likely that args.np is invalid. Trying to dereference it will then cause the system to crash. This was seen when trying to run

Re: [PATCH] of: unittest: Don't dereference args.np after test errors

2018-09-24 Thread Guenter Roeck
Hi Frank, On 09/24/2018 09:19 PM, Frank Rowand wrote: Hi Guenter, On 09/23/18 09:33, Guenter Roeck wrote: If a devicetree parse function fails, it is quite likely that args.np is invalid. Trying to dereference it will then cause the system to crash. This was seen when trying to run

Re: [PATCH] of: unittest: Don't dereference args.np after test errors

2018-09-24 Thread Frank Rowand
On 09/24/18 21:19, Frank Rowand wrote: > Hi Guenter, > > On 09/23/18 09:33, Guenter Roeck wrote: >> If a devicetree parse function fails, it is quite likely that args.np >> is invalid. Trying to dereference it will then cause the system to crash. >> >> This was seen when trying to run devicetree

Re: [PATCH] of: unittest: Don't dereference args.np after test errors

2018-09-24 Thread Frank Rowand
On 09/24/18 21:19, Frank Rowand wrote: > Hi Guenter, > > On 09/23/18 09:33, Guenter Roeck wrote: >> If a devicetree parse function fails, it is quite likely that args.np >> is invalid. Trying to dereference it will then cause the system to crash. >> >> This was seen when trying to run devicetree

[0-Day CI notification] 0-Day CI test service will be unavailable from Sep 30 to Oct 8

2018-09-24 Thread Philip Li
Hi all, this is Philip who maintains the 0-Day CI test service. Thanks for subscribing to the service. We will have site level power down during China national holiday, so the service will be unavailable from Asia Pacific Time Sep 30 5PM to Oct 8 5PM. We will recover it as soon as we can. Sorry

[0-Day CI notification] 0-Day CI test service will be unavailable from Sep 30 to Oct 8

2018-09-24 Thread Philip Li
Hi all, this is Philip who maintains the 0-Day CI test service. Thanks for subscribing to the service. We will have site level power down during China national holiday, so the service will be unavailable from Asia Pacific Time Sep 30 5PM to Oct 8 5PM. We will recover it as soon as we can. Sorry

Re: [PATCH] of: unittest: Don't dereference args.np after test errors

2018-09-24 Thread Frank Rowand
Hi Guenter, On 09/23/18 09:33, Guenter Roeck wrote: > If a devicetree parse function fails, it is quite likely that args.np > is invalid. Trying to dereference it will then cause the system to crash. > > This was seen when trying to run devicetree unittests on a g3beige > qemu system. This

Re: [PATCH] of: unittest: Don't dereference args.np after test errors

2018-09-24 Thread Frank Rowand
Hi Guenter, On 09/23/18 09:33, Guenter Roeck wrote: > If a devicetree parse function fails, it is quite likely that args.np > is invalid. Trying to dereference it will then cause the system to crash. > > This was seen when trying to run devicetree unittests on a g3beige > qemu system. This

Re: Portable DT Connectors with regard to FPGAs

2018-09-24 Thread David Gibson
On Mon, Sep 24, 2018 at 03:32:44PM -0500, Alan Tull wrote: > My interest here was in having some discussion on whether connectors > are a good match for handling FPGAs. > > The relevant use model is where a user applies a DT overlay targeting > an FPGA region after the kernel has booted. That

Re: Portable DT Connectors with regard to FPGAs

2018-09-24 Thread David Gibson
On Mon, Sep 24, 2018 at 03:32:44PM -0500, Alan Tull wrote: > My interest here was in having some discussion on whether connectors > are a good match for handling FPGAs. > > The relevant use model is where a user applies a DT overlay targeting > an FPGA region after the kernel has booted. That

Re: [PATCH 4.9 111/111] MIPS: VDSO: Drop gic_get_usm_range() usage

2018-09-24 Thread 林上智
Hi, Guenter Roeck 於 2018年9月25日 週二 上午9:36寫道: > > On Mon, Sep 24, 2018 at 01:53:18PM +0200, Greg Kroah-Hartman wrote: > > 4.9-stable review patch. If anyone has any objections, please let me know. > > > > This patch breaks v4.4.y and v4.9.y builds. > It includes asm/mips-cps.h which doesn't exist

Re: [PATCH 4.9 111/111] MIPS: VDSO: Drop gic_get_usm_range() usage

2018-09-24 Thread 林上智
Hi, Guenter Roeck 於 2018年9月25日 週二 上午9:36寫道: > > On Mon, Sep 24, 2018 at 01:53:18PM +0200, Greg Kroah-Hartman wrote: > > 4.9-stable review patch. If anyone has any objections, please let me know. > > > > This patch breaks v4.4.y and v4.9.y builds. > It includes asm/mips-cps.h which doesn't exist

Re: [PATCH] sparc64: viohs: Remove VLA usage

2018-09-24 Thread David Miller
From: Kees Cook Date: Mon, 24 Sep 2018 20:17:55 -0700 > On Wed, Sep 5, 2018 at 3:03 PM, Kees Cook wrote: >> In the quest to remove all stack VLA usage from the kernel[1], this >> allocates a fixed size array for the maximum number of cookies and >> adds a runtime sanity check. >> >> [1]

Re: [PATCH] sparc64: viohs: Remove VLA usage

2018-09-24 Thread David Miller
From: Kees Cook Date: Mon, 24 Sep 2018 20:17:55 -0700 > On Wed, Sep 5, 2018 at 3:03 PM, Kees Cook wrote: >> In the quest to remove all stack VLA usage from the kernel[1], this >> allocates a fixed size array for the maximum number of cookies and >> adds a runtime sanity check. >> >> [1]

Re: [PATCH] sparc64: viohs: Remove VLA usage

2018-09-24 Thread Kees Cook
On Wed, Sep 5, 2018 at 3:03 PM, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > allocates a fixed size array for the maximum number of cookies and > adds a runtime sanity check. > > [1]

Re: [PATCH] sparc64: viohs: Remove VLA usage

2018-09-24 Thread Kees Cook
On Wed, Sep 5, 2018 at 3:03 PM, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > allocates a fixed size array for the maximum number of cookies and > adds a runtime sanity check. > > [1]

[PATCH 1/2] iio: magnetometer: Add DT support for PNI RM3100

2018-09-24 Thread Song Qiang
PNI RM3100 is a high resolution, large signal immunity magnetometer, composed of 3 single sensors and a processing chip with MagI2C Interface. PNI is not in the vendors' list, so this patch is also adding it. Signed-off-by: Song Qiang --- Changes in v2: - Remove bus specific part in

[PATCH 2/2] iio: magnetometer: Add driver support for PNI RM3100

2018-09-24 Thread Song Qiang
PNI RM3100 is a high resolution, large signal immunity magnetometer, composed of 3 single sensors and a processing chip with MagI2C Interface. Following functions are available: - Single-shot measurement from /sys/bus/iio/devices/iio:deviceX/in_magn_{axis}_raw - Triggerd buffer measurement. -

[PATCH 1/2] iio: magnetometer: Add DT support for PNI RM3100

2018-09-24 Thread Song Qiang
PNI RM3100 is a high resolution, large signal immunity magnetometer, composed of 3 single sensors and a processing chip with MagI2C Interface. PNI is not in the vendors' list, so this patch is also adding it. Signed-off-by: Song Qiang --- Changes in v2: - Remove bus specific part in

[PATCH 2/2] iio: magnetometer: Add driver support for PNI RM3100

2018-09-24 Thread Song Qiang
PNI RM3100 is a high resolution, large signal immunity magnetometer, composed of 3 single sensors and a processing chip with MagI2C Interface. Following functions are available: - Single-shot measurement from /sys/bus/iio/devices/iio:deviceX/in_magn_{axis}_raw - Triggerd buffer measurement. -

Re: [PATCH 4.18 164/235] pinctrl: pinmux: Return selector to the pinctrl driver

2018-09-24 Thread Dan Rue
On Mon, Sep 24, 2018 at 06:07:10PM -0500, Dan Rue wrote: > On Mon, Sep 24, 2018 at 01:52:30PM +0200, Greg Kroah-Hartman wrote: > > 4.18-stable review patch. If anyone has any objections, please let me know. > > I bisected a boot failure on an x15 (arm) board to this commit on > 4.18.10-rc1. I'm

Re: [PATCH 4.18 164/235] pinctrl: pinmux: Return selector to the pinctrl driver

2018-09-24 Thread Dan Rue
On Mon, Sep 24, 2018 at 06:07:10PM -0500, Dan Rue wrote: > On Mon, Sep 24, 2018 at 01:52:30PM +0200, Greg Kroah-Hartman wrote: > > 4.18-stable review patch. If anyone has any objections, please let me know. > > I bisected a boot failure on an x15 (arm) board to this commit on > 4.18.10-rc1. I'm

Re: [PATCH] IB/mlx4: Avoid implicit enumerated type conversion

2018-09-24 Thread Jason Gunthorpe
On Mon, Sep 24, 2018 at 03:29:38PM -0700, Nick Desaulniers wrote: > On Mon, Sep 24, 2018 at 3:27 PM Nathan Chancellor > wrote: > > > > On Mon, Sep 24, 2018 at 03:24:36PM -0700, Nick Desaulniers wrote: > > > On Mon, Sep 24, 2018 at 12:57 PM Nathan Chancellor > > > wrote: > > > > > > > > Clang

Re: [PATCH] IB/mlx4: Avoid implicit enumerated type conversion

2018-09-24 Thread Jason Gunthorpe
On Mon, Sep 24, 2018 at 03:29:38PM -0700, Nick Desaulniers wrote: > On Mon, Sep 24, 2018 at 3:27 PM Nathan Chancellor > wrote: > > > > On Mon, Sep 24, 2018 at 03:24:36PM -0700, Nick Desaulniers wrote: > > > On Mon, Sep 24, 2018 at 12:57 PM Nathan Chancellor > > > wrote: > > > > > > > > Clang

Re: [RFC PATCH 0/9] Improve zone lock scalability using Daniel Jordan's list work

2018-09-24 Thread Aaron Lu
On Fri, Sep 21, 2018 at 10:45:36AM -0700, Daniel Jordan wrote: > On Tue, Sep 11, 2018 at 01:36:07PM +0800, Aaron Lu wrote: > > Daniel Jordan and others proposed an innovative technique to make > > multiple threads concurrently use list_del() at any position of the > > list and list_add() at head

Re: [RFC PATCH 0/9] Improve zone lock scalability using Daniel Jordan's list work

2018-09-24 Thread Aaron Lu
On Fri, Sep 21, 2018 at 10:45:36AM -0700, Daniel Jordan wrote: > On Tue, Sep 11, 2018 at 01:36:07PM +0800, Aaron Lu wrote: > > Daniel Jordan and others proposed an innovative technique to make > > multiple threads concurrently use list_del() at any position of the > > list and list_add() at head

Re: [PATCH 1/5] RISC-V: Build tishift only on 64-bit

2018-09-24 Thread Zong Li
Christoph Hellwig 於 2018年9月21日 週五 下午2:58寫道: > > On Tue, Sep 18, 2018 at 05:19:13PM +0800, Zong Li wrote: > > Only RV64 supports 128 integer size. > > > > Signed-off-by: Zong Li > > This looks fine. Just curious, what do we even need 128-bit integers > for on riscv64? Did you see any issues if

Re: [PATCH 1/5] RISC-V: Build tishift only on 64-bit

2018-09-24 Thread Zong Li
Christoph Hellwig 於 2018年9月21日 週五 下午2:58寫道: > > On Tue, Sep 18, 2018 at 05:19:13PM +0800, Zong Li wrote: > > Only RV64 supports 128 integer size. > > > > Signed-off-by: Zong Li > > This looks fine. Just curious, what do we even need 128-bit integers > for on riscv64? Did you see any issues if

Re: Code of Conduct: Let's revamp it.

2018-09-24 Thread gratuitouslicensesarerevocable
In your employment contract there exists a provision where you sign over your rights to any and all intellectual property, patents, copyrights developed during your term of employment. Said clause makes it clear that what you've furnished is a work-for-hire and owned by the company or the

Re: Code of Conduct: Let's revamp it.

2018-09-24 Thread gratuitouslicensesarerevocable
In your employment contract there exists a provision where you sign over your rights to any and all intellectual property, patents, copyrights developed during your term of employment. Said clause makes it clear that what you've furnished is a work-for-hire and owned by the company or the

[PATCH v4 2/3] spi: mediatek: add spi slave for Mediatek MT2712

2018-09-24 Thread Leilk Liu
This patch adds basic spi slave for MT2712. Signed-off-by: Leilk Liu --- drivers/spi/Kconfig| 10 + drivers/spi/Makefile |1 + drivers/spi/spi-slave-mt27xx.c | 554 3 files changed, 565 insertions(+) create mode 100644

[PATCH v4 0/3] Add Mediatek SPI slave driver

2018-09-24 Thread Leilk Liu
>From 7f2423debd91771a1d3a5ca02cd3990f1417bcb8 Mon Sep 17 00:00:00 2001 From: Leilk Liu Date: Tue, 25 Sep 2018 10:11:44 +0800 Subject: Subject: [PATCH v4 0/3] Add Mediatek SPI slave driver v4: 1. Fix Mark Brown review comment about kconfig & driver. v3: 1. Fix Rob Herring review comment about

[PATCH v4 2/3] spi: mediatek: add spi slave for Mediatek MT2712

2018-09-24 Thread Leilk Liu
This patch adds basic spi slave for MT2712. Signed-off-by: Leilk Liu --- drivers/spi/Kconfig| 10 + drivers/spi/Makefile |1 + drivers/spi/spi-slave-mt27xx.c | 554 3 files changed, 565 insertions(+) create mode 100644

[PATCH v4 0/3] Add Mediatek SPI slave driver

2018-09-24 Thread Leilk Liu
>From 7f2423debd91771a1d3a5ca02cd3990f1417bcb8 Mon Sep 17 00:00:00 2001 From: Leilk Liu Date: Tue, 25 Sep 2018 10:11:44 +0800 Subject: Subject: [PATCH v4 0/3] Add Mediatek SPI slave driver v4: 1. Fix Mark Brown review comment about kconfig & driver. v3: 1. Fix Rob Herring review comment about

[PATCH v4 1/3] spi: mediatek: add bindings for Mediatek MT2712 soc platform

2018-09-24 Thread Leilk Liu
This patch adds a DT binding documentation for the MT2712 soc. Signed-off-by: Leilk Liu --- .../devicetree/bindings/spi/spi-slave-mt27xx.txt | 32 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-slave-mt27xx.txt diff --git

[PATCH v4 1/3] spi: mediatek: add bindings for Mediatek MT2712 soc platform

2018-09-24 Thread Leilk Liu
This patch adds a DT binding documentation for the MT2712 soc. Signed-off-by: Leilk Liu --- .../devicetree/bindings/spi/spi-slave-mt27xx.txt | 32 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-slave-mt27xx.txt diff --git

[PATCH v4 3/3] arm64: dts: Add spi slave dts

2018-09-24 Thread Leilk Liu
This patch adds MT2712 spi slave into device tree. Signed-off-by: Leilk Liu --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index

[PATCH v4 3/3] arm64: dts: Add spi slave dts

2018-09-24 Thread Leilk Liu
This patch adds MT2712 spi slave into device tree. Signed-off-by: Leilk Liu --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index

Re: [PATCH 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines

2018-09-24 Thread Zong Li
Christoph Hellwig 於 2018年9月21日 週五 下午3:00寫道: > > On Tue, Sep 18, 2018 at 05:19:15PM +0800, Zong Li wrote: > > Add umoddi3 and udivmoddi4 support for 32-bit. > > This probably wants a better explanation of why you need them. > > > index 000..69f2d36 > > --- /dev/null > > +++ b/lib/udivmoddi4.c

Re: [PATCH 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines

2018-09-24 Thread Zong Li
Christoph Hellwig 於 2018年9月21日 週五 下午3:00寫道: > > On Tue, Sep 18, 2018 at 05:19:15PM +0800, Zong Li wrote: > > Add umoddi3 and udivmoddi4 support for 32-bit. > > This probably wants a better explanation of why you need them. > > > index 000..69f2d36 > > --- /dev/null > > +++ b/lib/udivmoddi4.c

[PATCH V2] mm/hugetlb: Add mmap() encodings for 32MB and 512MB page sizes

2018-09-24 Thread Anshuman Khandual
ARM64 architecture also supports 32MB and 512MB HugeTLB page sizes. This just adds mmap() system call argument encoding for them. Signed-off-by: Anshuman Khandual --- Changes in V2: - Updated SHM and MFD definitions per Mike include/uapi/asm-generic/hugetlb_encode.h | 2 ++

[PATCH V2] mm/hugetlb: Add mmap() encodings for 32MB and 512MB page sizes

2018-09-24 Thread Anshuman Khandual
ARM64 architecture also supports 32MB and 512MB HugeTLB page sizes. This just adds mmap() system call argument encoding for them. Signed-off-by: Anshuman Khandual --- Changes in V2: - Updated SHM and MFD definitions per Mike include/uapi/asm-generic/hugetlb_encode.h | 2 ++

Re: [RFC 00/20] ns: Introduce Time Namespace

2018-09-24 Thread Andrey Vagin
On Tue, Sep 25, 2018 at 12:02:32AM +0200, Eric W. Biederman wrote: > Andrey Vagin writes: > > > On Fri, Sep 21, 2018 at 02:27:29PM +0200, Eric W. Biederman wrote: > >> Dmitry Safonov writes: > >> > >> > Discussions around time virtualization are there for a long time. > >> > The first attempt

Re: [RFC 00/20] ns: Introduce Time Namespace

2018-09-24 Thread Andrey Vagin
On Tue, Sep 25, 2018 at 12:02:32AM +0200, Eric W. Biederman wrote: > Andrey Vagin writes: > > > On Fri, Sep 21, 2018 at 02:27:29PM +0200, Eric W. Biederman wrote: > >> Dmitry Safonov writes: > >> > >> > Discussions around time virtualization are there for a long time. > >> > The first attempt

Re: [PATCH 4.9 111/111] MIPS: VDSO: Drop gic_get_usm_range() usage

2018-09-24 Thread Guenter Roeck
On Mon, Sep 24, 2018 at 01:53:18PM +0200, Greg Kroah-Hartman wrote: > 4.9-stable review patch. If anyone has any objections, please let me know. > This patch breaks v4.4.y and v4.9.y builds. It includes asm/mips-cps.h which doesn't exist in those releases. Building

Re: [PATCH 4.9 111/111] MIPS: VDSO: Drop gic_get_usm_range() usage

2018-09-24 Thread Guenter Roeck
On Mon, Sep 24, 2018 at 01:53:18PM +0200, Greg Kroah-Hartman wrote: > 4.9-stable review patch. If anyone has any objections, please let me know. > This patch breaks v4.4.y and v4.9.y builds. It includes asm/mips-cps.h which doesn't exist in those releases. Building

[PATCH] ASoC: soc-utils: Rename dummy_dma_ops to snd_dummy_ops

2018-09-24 Thread Matthias Kaehlcke
The symbols 'dummy_dma_ops' is declared with different data types by sound/soc/soc-utils.c and arch/arm64/include/asm/dma-mapping.h. This leads to conflicts when soc-utils.c (indirectly) includes dma-mapping.h: sound/soc/soc-utils.c:282:33: error: conflicting types for 'dummy_dma_ops' static

[PATCH] ASoC: soc-utils: Rename dummy_dma_ops to snd_dummy_ops

2018-09-24 Thread Matthias Kaehlcke
The symbols 'dummy_dma_ops' is declared with different data types by sound/soc/soc-utils.c and arch/arm64/include/asm/dma-mapping.h. This leads to conflicts when soc-utils.c (indirectly) includes dma-mapping.h: sound/soc/soc-utils.c:282:33: error: conflicting types for 'dummy_dma_ops' static

Re: [PATCH] clocksource/drivers/fttmr010: fix set_next_event handler

2018-09-24 Thread Tao Ren
On 9/24/18, 4:20 PM, "Joel Stanley" wrote: > Whatever method is easiest for you. A patch file or a tarball is fine. > I will then add it to the set of tests I run when testing aspeed > kernels. No problem, Joel. I will share the test code with you offline. Thanks, Tao Ren

Re: [PATCH] clocksource/drivers/fttmr010: fix set_next_event handler

2018-09-24 Thread Tao Ren
On 9/24/18, 4:20 PM, "Joel Stanley" wrote: > Whatever method is easiest for you. A patch file or a tarball is fine. > I will then add it to the set of tests I run when testing aspeed > kernels. No problem, Joel. I will share the test code with you offline. Thanks, Tao Ren

Re: [PATCH] rpmsg: core: add support to power domains for devices

2018-09-24 Thread Suman Anna
Hi Srinivas, On 06/15/2018 04:59 AM, Srinivas Kandagatla wrote: > Some of the rpmsg devices need to switch on power domains to communicate > with remote processor. For example on Qualcomm DB820c platform LPASS > power domain needs to switched on for any kind of audio services. > This patch adds

Re: [PATCH] rpmsg: core: add support to power domains for devices

2018-09-24 Thread Suman Anna
Hi Srinivas, On 06/15/2018 04:59 AM, Srinivas Kandagatla wrote: > Some of the rpmsg devices need to switch on power domains to communicate > with remote processor. For example on Qualcomm DB820c platform LPASS > power domain needs to switched on for any kind of audio services. > This patch adds

Re: [PATCH TRIVIAL] Punctuation fixes

2018-09-24 Thread Diego Viola
On Sun, Sep 23, 2018 at 5:59 AM Richard Weinberger wrote: > > On Sun, Sep 23, 2018 at 3:00 AM Miguel Ojeda > wrote: > > > > Hi Diego, > > > > A few things, since it looks like this is your first patch. > > git log... > > > On Sat, Sep 22, 2018 at 5:56 PM, Diego Viola wrote: > > > On Wed, Sep

Re: [PATCH TRIVIAL] Punctuation fixes

2018-09-24 Thread Diego Viola
On Sun, Sep 23, 2018 at 5:59 AM Richard Weinberger wrote: > > On Sun, Sep 23, 2018 at 3:00 AM Miguel Ojeda > wrote: > > > > Hi Diego, > > > > A few things, since it looks like this is your first patch. > > git log... > > > On Sat, Sep 22, 2018 at 5:56 PM, Diego Viola wrote: > > > On Wed, Sep

[PATCH v2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pms405 support

2018-09-24 Thread Bjorn Andersson
From: Vinod Koul Add support for the PMS405 GPIO support to the Qualcomm PMIC GPIO binding. Signed-off-by: Vinod Koul Signed-off-by: Bjorn Andersson --- Changes since v1: - Dropped unnecessary driver update - Updated subject Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2

[PATCH v2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pms405 support

2018-09-24 Thread Bjorn Andersson
From: Vinod Koul Add support for the PMS405 GPIO support to the Qualcomm PMIC GPIO binding. Signed-off-by: Vinod Koul Signed-off-by: Bjorn Andersson --- Changes since v1: - Dropped unnecessary driver update - Updated subject Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2

Re: [PATCH v12 1/2] leds: core: Introduce LED pattern trigger

2018-09-24 Thread Bjorn Andersson
On Mon 10 Sep 19:47 PDT 2018, Baolin Wang wrote: [..] > diff --git a/Documentation/ABI/testing/sysfs-class-led-trigger-pattern > b/Documentation/ABI/testing/sysfs-class-led-trigger-pattern [..] > +What:/sys/class/leds//hw_pattern > +Date:September 2018 >

Re: [PATCH v12 1/2] leds: core: Introduce LED pattern trigger

2018-09-24 Thread Bjorn Andersson
On Mon 10 Sep 19:47 PDT 2018, Baolin Wang wrote: [..] > diff --git a/Documentation/ABI/testing/sysfs-class-led-trigger-pattern > b/Documentation/ABI/testing/sysfs-class-led-trigger-pattern [..] > +What:/sys/class/leds//hw_pattern > +Date:September 2018 >

[PATCH v3 0/3] Fix qcom geni i2c DMA handling

2018-09-24 Thread Stephen Boyd
(Numbering is weird because I dropped patch 1 but left numbering the same) The qcom GENI I2C driver fails DMA sometimes when things from request firmware are passed in as the message buffer. This patch series fixes that problem in the first patch and the second patch cleans up the code a little

[PATCH v3 0/3] Fix qcom geni i2c DMA handling

2018-09-24 Thread Stephen Boyd
(Numbering is weird because I dropped patch 1 but left numbering the same) The qcom GENI I2C driver fails DMA sometimes when things from request firmware are passed in as the message buffer. This patch series fixes that problem in the first patch and the second patch cleans up the code a little

[PATCH v3 3/3] i2c: i2c-qcom-geni: Simplify irq handler

2018-09-24 Thread Stephen Boyd
We don't need to use goto here, we can just collapse the if statement and goto chain into multiple branches and then combine some duplicate completion calls into one big if statement. Let's do it to clean up code some more. Cc: Karthikeyan Ramasubramanian Cc: Sagar Dharia Cc: Girish Mahadevan

[PATCH v3 2/3] i2c: i2c-qcom-geni: Simplify tx/rx functions

2018-09-24 Thread Stephen Boyd
We never really look at the 'ret' local variable in these functions, so let's remove it to make way for shorter and simpler code. Furthermore, we can shorten some lines by adding two local variables for the SE and the message length so that everything fits in 80 columns and testing the 'dma_buf'

[PATCH v3 2/3] i2c: i2c-qcom-geni: Simplify tx/rx functions

2018-09-24 Thread Stephen Boyd
We never really look at the 'ret' local variable in these functions, so let's remove it to make way for shorter and simpler code. Furthermore, we can shorten some lines by adding two local variables for the SE and the message length so that everything fits in 80 columns and testing the 'dma_buf'

[PATCH v3 3/3] i2c: i2c-qcom-geni: Simplify irq handler

2018-09-24 Thread Stephen Boyd
We don't need to use goto here, we can just collapse the if statement and goto chain into multiple branches and then combine some duplicate completion calls into one big if statement. Let's do it to clean up code some more. Cc: Karthikeyan Ramasubramanian Cc: Sagar Dharia Cc: Girish Mahadevan

Re: [PATCH] mm: fix COW faults after mlock()

2018-09-24 Thread Yury Norov
On Tue, Sep 25, 2018 at 12:22:47AM +0300, Kirill A. Shutemov wrote: > External Email > > On Mon, Sep 24, 2018 at 04:08:52PM +0300, Yury Norov wrote: > > After mlock() on newly mmap()ed shared memory I observe page faults. > > > > The problem is that populate_vma_page_range() doesn't set

Re: [PATCH] mm: fix COW faults after mlock()

2018-09-24 Thread Yury Norov
On Tue, Sep 25, 2018 at 12:22:47AM +0300, Kirill A. Shutemov wrote: > External Email > > On Mon, Sep 24, 2018 at 04:08:52PM +0300, Yury Norov wrote: > > After mlock() on newly mmap()ed shared memory I observe page faults. > > > > The problem is that populate_vma_page_range() doesn't set

[PATCH V5 29/30] dt-bindings: timer: gx6605s SOC timer

2018-09-24 Thread Guo Ren
- Dt-bindings doc for gx6605s SOC's system timer. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- .../bindings/timer/csky,gx6605s-timer.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644

[PATCH V5 30/30] clocksource: add gx6605s SOC system timer

2018-09-24 Thread Guo Ren
Changelog: - Add COMPILE_TEST in Kconfig - Add License and Copyright - Use timer-of framework - Change name with upstream feedback - Use clksource_mmio framework Signed-off-by: Guo Ren --- drivers/clocksource/Kconfig | 8 ++ drivers/clocksource/Makefile| 1 +

[PATCH V5 29/30] dt-bindings: timer: gx6605s SOC timer

2018-09-24 Thread Guo Ren
- Dt-bindings doc for gx6605s SOC's system timer. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- .../bindings/timer/csky,gx6605s-timer.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644

[PATCH V5 30/30] clocksource: add gx6605s SOC system timer

2018-09-24 Thread Guo Ren
Changelog: - Add COMPILE_TEST in Kconfig - Add License and Copyright - Use timer-of framework - Change name with upstream feedback - Use clksource_mmio framework Signed-off-by: Guo Ren --- drivers/clocksource/Kconfig | 8 ++ drivers/clocksource/Makefile| 1 +

[PATCH V5 27/30] dt-bindings: interrupt-controller: C-SKY APB intc

2018-09-24 Thread Guo Ren
- Dt-bindings doc about C-SKY apb bus interrupt controller. Signed-off-by: Guo Ren --- .../interrupt-controller/csky,apb-intc.txt | 62 ++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt

[PATCH V5 26/30] MAINTAINERS: Add csky

2018-09-24 Thread Guo Ren
Add a maintainer information for the csky(C-SKY) architecture. Signed-off-by: Guo Ren --- MAINTAINERS | 16 1 file changed, 16 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d870cb5..6b7c1be 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3211,6 +3211,22 @@ T:

[PATCH V5 28/30] irqchip: add C-SKY APB bus interrupt controller

2018-09-24 Thread Guo Ren
- irq-csky-apb-intc is a simple SOC interrupt controller which is used in a lot of C-SKY CPU SOC products. Changelog: - use "bool ret" instead of "int ret" - add support-pulse-signal in irq-csky-apb-intc.c - change name with upstream feed-back - add INTC_IFR to clear irq-pending - remove

[PATCH V5 25/30] dt-bindings: timer: C-SKY Multi-processor timer

2018-09-24 Thread Guo Ren
- Dt-bingdings doc for C-SKY SMP system setting. Signed-off-by: Guo Ren --- .../devicetree/bindings/timer/csky,mptimer.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/csky,mptimer.txt diff --git

  1   2   3   4   5   6   7   8   9   10   >