Re: [PATCH v3 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-07-01 Thread Andy Shevchenko
On Sun, Jul 1, 2018 at 11:41 AM, Manivannan Sadhasivam wrote: > On Sun, Jul 01, 2018 at 01:43:33PM +0530, Manivannan Sadhasivam wrote: >> On Sun, Jul 01, 2018 at 12:11:00AM +0300, Andy Shevchenko wrote: >> > On Sat, Jun 30, 2018 at 4:33 PM, Manivannan Sadhasivam >> > wrote: >> > > Add Actions

Re: [PATCH] staging: rtl8188eu: remove rtw_ioctl_rtl.h

2018-07-01 Thread Andy Shevchenko
On Sat, Jun 30, 2018 at 5:59 PM, Michael Straube wrote: > The header rtw_ioctl_rtl.h is not used anywhere. > Running 'grep -r rtw_ioctl_rtl *' from kernel root > directory returns nothing, remove the file. Just a side note, using `git grep` is much more efficient against kernel source tree.

Re: [PATCH v3 12/16] treewide: Use array_size() for kmalloc()-family

2018-07-01 Thread SF Markus Elfring
>> * The repetition of such a constraint in subsequent SmPL rules could be >> avoided >> if inheritance will be used for this metavariable. > > This is quite incorrect. I suggest to consider additional software design options. > Inheritance is only possible when a match of the previous rule

Re: xfs: Deadlock between fs_reclaim and sb_internal

2018-07-01 Thread Chandan Rajendra
On Friday, June 29, 2018 11:48:39 AM IST Chandan Rajendra wrote: > On Thursday, June 28, 2018 9:31:32 AM IST Ravi Bangoria wrote: > > Hello Darrick, > > > > Lockdep is reporting a deadlock with following trace. Saw this on my > > powerpc vm with 4GB of ram, running Linus/master kernel. Though, I

[PATCH v2 0/1] MAINTAINERS: add subfolders for nuvoton *npcm*

2018-07-01 Thread avi . fishman
From: Avi Fishman Changes since version 1: - Follow Greg KH comment to add changelog test in addition to the commit subject Add several subfolders to look for *npcm* files under ARM/NUVOTON NPCM ARCHITECTURE Avi Fishman (1): MAINTAINERS: add subfolders for nuvoton *npcm*

[PATCH v2 1/1] MAINTAINERS: add subfolders for nuvoton *npcm*

2018-07-01 Thread avi . fishman
From: Avi Fishman Add several subfolders to look for *npcm* files under ARM/NUVOTON NPCM ARCHITECTURE Signed-off-by: Avi Fishman --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e0ce3c5f32e5..23c450adad44 100644 --- a/MAINTAINERS +++

[PATCH 0/1] platform/x86: touchscreen_dmi: Add info for the "Connect Tablet 9" tablet

2018-07-01 Thread Hans de Goede
Hi, Note this patch applies on top of linux-platform-drivers-x86/review-andy which has the patches to alphabetically sort and rename touchscreen_dmi.c. Regards, Hans

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

2018-07-01 Thread Shawn Guo
On Mon, Jun 25, 2018 at 08:34:11PM +0800, Robin Gong wrote: > SW4 is one power rail for LPDDR2 on i.mx6sl-evk, so it should > be kept always on. But it's disabled after switch disabled > interface implemented in pfuze driver > 'commit 5fe156f1cab4 > ("regulator: pfuze100: add enable/disable for

[PATCH] platform/x86: touchscreen_dmi: Add info for the "Connect Tablet 9" tablet

2018-07-01 Thread Hans de Goede
Add touchscreen info for the "Connect Tablet 9" tablet. This appears to be a variant of the same hardware as the ITworks TW891 tablet, but it needs different firmware for the touchscreen to fonction properly. Signed-off-by: Hans de Goede --- drivers/platform/x86/touchscreen_dmi.c | 25

Re: [PATCH] ARM: dts: imx: Add missing chosen/stdout-path

2018-07-01 Thread Shawn Guo
On Mon, Jun 25, 2018 at 11:09:32PM +0300, Leonard Crestez wrote: > This makes it possible to enable earlycon for debugging by just passing > an empty "earlycon" argument on the kernel command-line. > > Signed-off-by: Leonard Crestez Applied, thanks.

[PATCH] ahci: Disable LPM on Lenovo 50 series laptops with a too old BIOS

2018-07-01 Thread Hans de Goede
There have been several reports of LPM related hard freezes about once a day on multiple Lenovo 50 series models. Strange enough these reports where not disk model specific as LPM issues usually are and some users with the exact same disk + laptop where seeing them while other users where not

Re: [PATCH] staging: rtl8188eu: remove rtw_ioctl_rtl.h

2018-07-01 Thread Michael Straube
On 07/01/18 11:14, Andy Shevchenko wrote: On Sat, Jun 30, 2018 at 5:59 PM, Michael Straube wrote: The header rtw_ioctl_rtl.h is not used anywhere. Running 'grep -r rtw_ioctl_rtl *' from kernel root directory returns nothing, remove the file. Just a side note, using `git grep` is much more

Re: [PATCH v3 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-07-01 Thread Manivannan Sadhasivam
Hi Peter, On Sun, Jul 01, 2018 at 06:57:54AM +0200, Peter Rosin wrote: > On June 30, 2018 3:33:29 PM GMT+02:00, Manivannan Sadhasivam > wrote: > >Add Actions Semiconductor Owl family S900 I2C driver. > > > >Signed-off-by: Manivannan Sadhasivam > >--- > > drivers/i2c/busses/Kconfig | 7 + >

Re: [1/3] ARM: dts: imx51-zii-common: create common include dtsi

2018-07-01 Thread Shawn Guo
On Wed, Jun 27, 2018 at 02:00:11PM -0300, Fabio Estevam wrote: > On Wed, Jun 27, 2018 at 1:46 PM, Andrey Smirnov > wrote: > > > We are now starting to give Andrey Gusakov conflicting > > recommendations. For the sake of moving forward, can we agree that > > this and similar comments are

Re: [PATCH] modsign: log module name in the event of an error

2018-07-01 Thread Jessica Yu
+++ Joe Perches [29/06/18 21:04 -0700]: On Fri, 2018-06-29 at 17:53 +0200, Jessica Yu wrote: Now that we have the load_info struct all initialized (including info->name, which contains the name of the module) before module_sig_check(), make the load_info struct and hence module name available

Re: [PATCH v3 12/16] treewide: Use array_size() for kmalloc()-family

2018-07-01 Thread SF Markus Elfring
> For kmalloc()-family allocations, instead of A * B, use array_size(). > Similarly, instead of A * B *C, use array3_size(). It took a while until my software development attention was caught also by this update suggestion. > Note that: > kmalloc(array_size(a, b), ...); > could be written

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-07-01 Thread Benjamin Herrenschmidt
On Sat, 2018-06-30 at 20:57 -0700, Linus Torvalds wrote: > On Sat, Jun 30, 2018 at 8:42 PM Benjamin Herrenschmidt > wrote: > > > > But what if something *else* still holds a reference to the kobject ? > > It could be anything really... t > > But that's fine. Then the object will continue to

Re: [PATCH] iio: add channel type for frequency

2018-07-01 Thread Lars-Peter Clausen
On 07/01/2018 04:59 AM, David Lechner wrote: > This adds a new type for frequency to the IIO channel type enumeration. > > Units are in Hz. > Documentation? We already have the altvoltage channel type with the frequency attribute. Difficult to say if there are any overlaps without

[PATCH] openrisc: entry: Fix delay slot exception detection

2018-07-01 Thread Stafford Horne
Originally in patch e6d20c55a4 ("openrisc: entry: Fix delay slot detection") I fixed delay slot detection, but only for QEMU. We missed that hardware delay slot detection using delay slot exception flag (DSX) was still broken. This was because QEMU set the DSX flag in both pre-exception

Re: [PATCH v3 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-07-01 Thread Manivannan Sadhasivam
Hi Andy, On Sun, Jul 01, 2018 at 12:11:00AM +0300, Andy Shevchenko wrote: > On Sat, Jun 30, 2018 at 4:33 PM, Manivannan Sadhasivam > wrote: > > Add Actions Semiconductor Owl family S900 I2C driver. > > Thanks for an update. Few left comments and it would LGTM. > Thanks :) > > +static int

Re: [PATCH 2/3] ARM: dts: imx: add ZII SCU2 ESB board

2018-07-01 Thread Shawn Guo
On Thu, Jun 21, 2018 at 08:44:59PM +0300, Andrey Gusakov wrote: > This adds support for the Zodiac Inflight Innovations SCU2 Ethernet > Switch Board, which is based on the i.MX51. > > Signed-off-by: Andrey Gusakov > --- > arch/arm/boot/dts/Makefile | 3 +- >

[GIT PULL] TTY/Serial fixes for 4.18-rc3

2018-07-01 Thread Greg KH
The following changes since commit 7daf201d7fe8334e2d2364d4e8ed3394ec9af819: Linux 4.18-rc2 (2018-06-24 20:54:29 +0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.18-rc3 for you to fetch changes up to

[GIT PULL] Staging/IIO driver fixes for 4.18-rc3

2018-07-01 Thread Greg KH
The following changes since commit 7daf201d7fe8334e2d2364d4e8ed3394ec9af819: Linux 4.18-rc2 (2018-06-24 20:54:29 +0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.18-rc3 for you to fetch changes up to

Re: [PATCH 3/3] ARM: dts: imx: add ZII SCU2 Mezz board

2018-07-01 Thread Shawn Guo
On Thu, Jun 21, 2018 at 08:45:00PM +0300, Andrey Gusakov wrote: > This adds support for the Zodiac Inflight Innovations SCU2 Mezz > board, which is based on the i.MX51. > > Signed-off-by: Andrey Gusakov > --- > arch/arm/boot/dts/Makefile| 3 +- >

Re: [PATCH v3 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-07-01 Thread Manivannan Sadhasivam
On Sun, Jul 01, 2018 at 01:43:33PM +0530, Manivannan Sadhasivam wrote: > Hi Andy, > > On Sun, Jul 01, 2018 at 12:11:00AM +0300, Andy Shevchenko wrote: > > On Sat, Jun 30, 2018 at 4:33 PM, Manivannan Sadhasivam > > wrote: > > > Add Actions Semiconductor Owl family S900 I2C driver. > > > > Thanks

Re: linux-next: manual merge of the usb tree with the usb.current tree

2018-07-01 Thread Greg KH
On Fri, Jun 29, 2018 at 02:57:19PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the usb tree got a conflict in: > > drivers/staging/typec/Kconfig > > between commit: > > e16711c32bca ("staging/typec: fix tcpci_rt1711h build errors") > > from the usb.current

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

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

Re: [PATCH v3 12/16] treewide: Use array_size() for kmalloc()-family

2018-07-01 Thread Julia Lawall
> > // 2-factor product with sizeof(variable) > > @@ > > identifier alloc =~ "kmalloc|kzalloc|kvmalloc|kvzalloc"; > > * This regular expression could be optimised to the specification > “kv?[mz]alloc”. > Extensions will be useful for further function names. > > * The repetition of such a

Re: [PATCH v5 1/8] interconnect: Add generic on-chip interconnect API

2018-07-01 Thread Georgi Djakov
Hi Evan, Thanks for reviewing! On 06/26/2018 11:57 PM, Evan Green wrote: > Hi Georgi. Thanks for the new spin of this. > > On Wed, Jun 20, 2018 at 5:11 AM Georgi Djakov > wrote: >> >> This patch introduce a new API to get requirements and configure the >> interconnect buses across the entire

Re: [PATCH v5 1/8] interconnect: Add generic on-chip interconnect API

2018-07-01 Thread Georgi Djakov
Hi Vincent, On 27.06.18 г. 9:19, Vincent Guittot wrote: > Hi Georgi > > On Wed, 20 Jun 2018 at 14:11, Georgi Djakov wrote: > > [snip] > >> + >> +static struct icc_path *path_allocate(struct icc_node *dst, ssize_t >> num_nodes) >> +{ >> + struct icc_node *node = dst; >> + struct

[RFC net-next 09/15] net: lora: Prepare EUI helpers

2018-07-01 Thread Andreas Färber
These will be used by the RN2483 and other LoRaWAN capable modules. Signed-off-by: Andreas Färber --- include/linux/lora/dev.h | 21 + 1 file changed, 21 insertions(+) diff --git a/include/linux/lora/dev.h b/include/linux/lora/dev.h index 531e68f0c9a6..153f9b2992ca 100644

Re: [PATCH v5 1/8] interconnect: Add generic on-chip interconnect API

2018-07-01 Thread Georgi Djakov
Hi Matthias, Thanks for reviewing! On 06/27/2018 02:34 AM, Matthias Kaehlcke wrote: > Hi Georgi, > > On Wed, Jun 20, 2018 at 03:11:34PM +0300, Georgi Djakov wrote: >> This patch introduce a new API to get requirements and configure the > > nit: s/introduce/introduces/ Thanks! [..] >> +

[RFC net-next 03/15] net: lora: Add protocol numbers

2018-07-01 Thread Andreas Färber
Default protocol implementation will be datagram. No other protocols are implemented yet. Q: Would these protocol numbers be the suitable place to define LoRaWAN? Signed-off-by: Andreas Färber --- include/uapi/linux/lora.h | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH v5 4/8] interconnect: qcom: Add RPM communication

2018-07-01 Thread Georgi Djakov
Hi Evan, On 06/26/2018 11:47 PM, Evan Green wrote: > Hi Georgi, > > On Wed, Jun 20, 2018 at 5:11 AM Georgi Djakov > wrote: >> >> On some Qualcomm SoCs, there is a remote processor, which controls some of >> the Network-On-Chip interconnect resources. Other CPUs express their needs >> by

Re: [PATCH v5 4/8] interconnect: qcom: Add RPM communication

2018-07-01 Thread Georgi Djakov
Hi Matthias, On 06/27/2018 03:55 AM, Matthias Kaehlcke wrote: > On Wed, Jun 20, 2018 at 03:11:37PM +0300, Georgi Djakov wrote: >> On some Qualcomm SoCs, there is a remote processor, which controls some of >> the Network-On-Chip interconnect resources. Other CPUs express their needs >> by

Re: [PATCH 1/5] i2c: smbus: add unlocked __i2c_smbus_xfer variant

2018-07-01 Thread Wolfram Sang
On Wed, Jun 27, 2018 at 09:08:18AM +0200, Wolfram Sang wrote: > > > Because, thinking more about it, the problem with those allocs are not > > related to the locking details; adding another trylock to the mix just > > makes it so much more obvious. I mean, first we would specifically > > handle

Re: [PATCH v5 6/8] interconnect: qcom: Add msm8916 interconnect provider driver

2018-07-01 Thread Georgi Djakov
Hi Evan, On 06/26/2018 11:48 PM, Evan Green wrote: > On Wed, Jun 20, 2018 at 5:11 AM Georgi Djakov > wrote: >> >> Add driver for the Qualcomm interconnect buses found in msm8916 based >> platforms. >> [..] >> --- /dev/null >> +++ b/drivers/interconnect/qcom/msm8916.c >> @@ -0,0 +1,495 @@ >>

Re: [PATCH] vmw_pvrdma: Release netdev when vmxnet3 module is removed

2018-07-01 Thread Neil Horman
On Sat, Jun 30, 2018 at 10:15:07PM +0300, Dan Carpenter wrote: > Hi Neil, > > I love your patch! Perhaps something to improve: > > url: > https://github.com/0day-ci/linux/commits/Neil-Horman/vmw_pvrdma-Release-netdev-when-vmxnet3-module-is-removed/20180628-232414 > > smatch warnings: >

h8300: BUG: Bad page state in process swapper (was: Re: why do we still need bootmem allocator?)

2018-07-01 Thread Mike Rapoport
(added Yoshinori Sato, here's the beginning of the discussion: https://lore.kernel.org/lkml/20180625140754.gb29...@dhcp22.suse.cz/) On Wed, Jun 27, 2018 at 07:02:06PM +0300, Mike Rapoport wrote: > On Wed, Jun 27, 2018 at 07:33:55AM -0600, Rob Herring wrote: > > On Wed, Jun 27, 2018 at 5:27 AM

[PATCH] kbuild: honor HOSTCFLAGS and HOSTLDFLAGS in libelf test

2018-07-01 Thread Matthias Reichl
Since commit 596a9f6768af ("objtool: Support HOSTCFLAGS and HOSTLDFLAGS") objtool can use a libelf installed in a non-standard location by passing in appropriate HOST flags. The libelf check in the main Makefile is done without these flags and fails if no libelf is installed on the system. Fix

[GIT PULL] Btrfs fixes for 4.18-rc2

2018-07-01 Thread David Sterba
Hi, we have a few regression fixes for qgroup rescan status tracking and the vm_fault_t conversion that mixed up the error values. Please pull, thanks. The following changes since commit c5b4a50b74018b3677098151ec5f4fce07d5e6a0:

Re: [PATCH V3] ARM: dts: imx6sll-evk: make pfuze100 sw4 always on

2018-07-01 Thread Shawn Guo
On Wed, Jun 27, 2018 at 09:25:25AM +0800, Anson Huang wrote: > On i.MX6SLL EVK board, PFuze100's SW4 is supplying > LPDDR3, it needs to be always on. This patch fixes > Linux kernel boot up hang caused by commit 5fe156f1cab4 > ("regulator: pfuze100: add enable/disable for switch"), > because SW4

Re: [PATCH 2/4] ARM: dts: imx6qdl-zii-rdu2: Populate RAVE SP EEPROM nodes

2018-07-01 Thread Shawn Guo
On Wed, Jun 27, 2018 at 09:39:37PM -0700, Andrey Smirnov wrote: > On Wed, Jun 27, 2018 at 9:24 PM Andrey Smirnov > wrote: > > > > ZII's RDU1s come with two EEPROMs attached to RAVE SP. Add > > Ugh, the description should read RDU2, not RDU1. Will fix in v2, > tomorrow. Sorry about that. I

Re: [PATCH V2] ARM: dts: imx6sll-evk: enable usdhc3 slot

2018-07-01 Thread Shawn Guo
On Thu, Jun 28, 2018 at 09:04:27AM +0800, Anson Huang wrote: > On i.MX6SLL EVK board, SD3 slot can be used for > WiFi and other SD accessories, enable it. > > Signed-off-by: Anson Huang Applied, thanks.

Re: [PATCH RFC tip/core/rcu 1/2] rcu: Defer reporting RCU-preempt quiescent states when disabled

2018-07-01 Thread Paul E. McKenney
On Sun, Jul 01, 2018 at 11:38:28AM -0700, Joel Fernandes wrote: > Hi Paul, > > On Wed, Jun 27, 2018 at 01:49:14PM -0700, Paul E. McKenney wrote: > [...] > > diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h > > index c1b17f5b9361..ff5c70eae47d 100644 > > ---

Re: [PATCH] siox: don't create a thread without starting it

2018-07-01 Thread Stephen Rothwell
Hi Uwe, On Fri, 29 Jun 2018 09:38:58 +0200 Uwe Kleine-König wrote: > > On Thu, Jun 28, 2018 at 09:57:42AM +0200, Uwe Kleine-König wrote: > > Greg, you applied the initial patches creating drivers/siox. I assume > > you will continue to apply siox patches and tell if I should search a > >

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

2018-07-01 Thread Fabio Estevam
On Sun, Jul 1, 2018 at 6:34 AM, Shawn Guo wrote: > On Mon, Jun 25, 2018 at 08:34:11PM +0800, Robin Gong wrote: >> SW4 is one power rail for LPDDR2 on i.mx6sl-evk, so it should >> be kept always on. But it's disabled after switch disabled >> interface implemented in pfuze driver >> 'commit

Re: [PATCH] Input: elantech - Fix V4 report decoding for module with middle key

2018-07-01 Thread Linus Torvalds
On Thu, Jun 21, 2018 at 5:16 PM Dmitry Torokhov wrote: > > OK, thank you for the info. Applied. Ugh. Dmitry, please be more careful with author names. Apparently you aren't in a proper utf-8 locale, and you messed up the name in the git repository. So yoiu apparently tried to take KT Liao's

[PATCH v2 0/6] mm/fs: gup: don't unmap or drop filesystem buffers

2018-07-01 Thread john . hubbard
From: John Hubbard This fixes a few problems that came up when using devices (NICs, GPUs, for example) that want to have direct access to a chunk of system (CPU) memory, so that they can DMA to/from that memory. Problems [1] come up if that memory is backed by persistence storage; for example,

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

2018-07-01 Thread Fabio Estevam
Hi Anson, On Sun, Jul 1, 2018 at 9:53 PM, Anson Huang wrote: > Yes, I think we can revert it to avoid breakage. Didn't notice that some > i.MX platform do NOT have those critical switches always-on. Ok, thanks for confirming. I will send a revert patch then. Thanks

RE: [PATCH V3] ARM: dts: imx6sll-evk: make pfuze100 sw4 always on

2018-07-01 Thread Anson Huang
Hi, Shawn Anson Huang Best Regards! > -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Sunday, July 1, 2018 9:33 PM > To: Anson Huang > Cc: s.ha...@pengutronix.de; ker...@pengutronix.de; Fabio Estevam > ; robh...@kernel.org; mark.rutl...@arm.com; >

Re: [PATCH 2/2] regulator: uniphier: add regulator driver for UniPhier SoC

2018-07-01 Thread Kunihiko Hayashi
Hi Mark, Thank you for your comments. On Fri, 29 Jun 2018 12:03:41 +0100 wrote: > On Fri, Jun 29, 2018 at 05:22:13PM +0900, Kunihiko Hayashi wrote: > > > +++ b/drivers/regulator/uniphier-regulator.c > > @@ -0,0 +1,251 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * Regulator

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

2018-07-01 Thread Ian Kent
On Mon, 2018-07-02 at 00:04 +0200, tomas wrote: > Hi, > > I've looked into this issue found by Syzbot and I made a patch: > > https://syzkaller.appspot.com/bug?id=d03abd8b42847f7f69b1d1d7f97208ae425b1163 Umm ... oops! Thanks for looking into this Tomas. > > > The autofs subsystem does not

Re: [PATCH] kernel/power: cast PAGE_SIZE to int when comparing with error code

2018-07-01 Thread cgxu519
Hi Rafael, Could you have a look at this simple patch? Thanks, Chengguang On 06/25/2018 01:30 PM, Chengguang Xu wrote: If PAGE_SIZE is unsigned type then negative error code will be larger than PAGE_SIZE. Signed-off-by: Chengguang Xu --- kernel/power/swap.c | 4 ++-- 1 file changed, 2

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

2018-07-01 Thread Anson Huang
Anson Huang Best Regards! > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Monday, July 2, 2018 9:05 AM > To: Anson Huang > Cc: Shawn Guo ; Robin Gong ; > Mark Rutland ; open list:OPEN FIRMWARE AND > FLATTENED DEVICE TREE BINDINGS ; > linux-kernel ; Rob

Re: [PATCH] kbuild: check for /sbin/depmod installed

2018-07-01 Thread Masahiro Yamada
2018-07-02 2:12 GMT+09:00 Randy Dunlap : > From: Randy Dunlap > > Verify that 'depmod' ($DEPMOD) is installed. > This is a partial revert of 620c231c7a7f (from 2012): > ("kbuild: do not check for ancient modutils tools") > > Fixes kernel bugzilla #198965: >

Re: [PATCH v2 2/2] mm/sparse: start using sparse_init_nid(), and remove old code

2018-07-01 Thread Baoquan He
On 06/29/18 at 11:09pm, Pavel Tatashin wrote: > Change sprase_init() to only find the pnum ranges that belong to a specific > node and call sprase_init_nid() for that range from sparse_init(). > > Delete all the code that became obsolete with this change. > void __init sparse_init(void) > { > -

Re: [PATCH v2 2/2] mm/sparse: start using sparse_init_nid(), and remove old code

2018-07-01 Thread Baoquan He
On 07/01/18 at 09:46pm, Pavel Tatashin wrote: > ~~~ > > Here, node id passed to sparse_init_nid() should be 'nid_begin', but not > > 'nid'. When you found out the current section's 'nid' is diferent than > > 'nid_begin', handle node 'nid_begin', then start to next node

Re: [PATCH v2 3/3] dt-bindings: clock: Modify Actions Soc clock bindings

2018-07-01 Thread Manivannan Sadhasivam
Hi Andreas, On Sun, Jul 01, 2018 at 07:58:15PM +0200, Andreas Färber wrote: > Hi, > > Am 01.07.2018 um 19:37 schrieb Manivannan Sadhasivam: > > On Sun, Jul 01, 2018 at 07:26:20PM +0200, Saravanan Sekar wrote: > >> Hi Mani > >> > >> > >> On 06/30/18 11:32, Manivannan Sadhasivam wrote: > >>> Hi

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-01 Thread Pavel Tatashin
> Here, I think it might be not right to jump to 'failed' directly if one > section of the node failed to populate memmap. I think the original code > is only skipping the section which memmap failed to populate by marking > it as not present with "ms->section_mem_map = 0". > Hi Baoquan, Thank

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-01 Thread Baoquan He
On 07/01/18 at 10:18pm, Pavel Tatashin wrote: > > Here, I think it might be not right to jump to 'failed' directly if one > > section of the node failed to populate memmap. I think the original code > > is only skipping the section which memmap failed to populate by marking > > it as not present

Re: [PATCH v5 0/7] add virt-dma support for imx-sdma

2018-07-01 Thread Robin Gong
Hi Vinod, Do you have any comment for this patchset? Lucas and Sascha acked it and tty patch already merged in. On 二, 2018-06-26 at 17:04 +0200, Lucas Stach wrote: > Hi Robin, > > I've tested this whole series with the SDMA being used for SPI, UART > and SSI with no regressions spotted.

Re: [PATCH v2 1/3] arm64: dts: actions: Enable clock controller for S700

2018-07-01 Thread Manivannan Sadhasivam
Hi, On Sun, Jul 01, 2018 at 07:50:01PM +0200, Saravanan Sekar wrote: > Hi Mani, > > > On 06/30/18 11:42, Manivannan Sadhasivam wrote: > > On Thu, Jun 28, 2018 at 09:18:03PM +0200, Saravanan Sekar wrote: > > > Added clock management controller for S700 > > > > > > Signed-off-by: Parthiban

Re: [PATCH v1 0/6] perf cs-etm: Fix tracing packet handling and minor refactoring

2018-07-01 Thread leo . yan
Hi Arnaldo, On Tue, Jun 19, 2018 at 03:19:43PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Jun 19, 2018 at 11:46:02AM -0600, Mathieu Poirier escreveu: > > On Sun, 17 Jun 2018 at 23:10, Leo Yan wrote: > > > > > > Due the current code is missing to handle cs-etm start tracing packet > > > and

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-01 Thread Pavel Tatashin
On Sun, Jul 1, 2018 at 10:31 PM Baoquan He wrote: > > On 07/01/18 at 10:18pm, Pavel Tatashin wrote: > > > Here, I think it might be not right to jump to 'failed' directly if one > > > section of the node failed to populate memmap. I think the original code > > > is only skipping the section which

[PATCH v2] kbuild: verify that $DEPMOD is installed

2018-07-01 Thread Randy Dunlap
From: Randy Dunlap Verify that 'depmod' ($DEPMOD) is installed. This is a partial revert of 620c231c7a7f (from 2012): ("kbuild: do not check for ancient modutils tools") Also update Documentation/process/changes.rst to refer to kmod instead of module-init-tools. Fixes kernel bugzilla

Re: [PATCH v2 4/6] mm/fs: add a sync_mode param for clear_page_dirty_for_io()

2018-07-01 Thread kbuild test robot
Hi John, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18-rc3] [cannot apply to next-20180629] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH] x86: make Memory Management options more visible

2018-07-01 Thread Randy Dunlap
From: Randy Dunlap Currently for x86, the "Memory Management" kconfig options are displayed under "Processor type and features." This tends to make them hidden or difficult to find. This patch makes Memory Managment options a first-class menu by moving it away from "Processor type and

Re: [PATCH RESEND 0/3] K2G: mmc: Update mmc dt node to use

2018-07-01 Thread Kishon Vijay Abraham I
On Saturday 30 June 2018 04:29 AM, Santosh Shilimkar wrote: > On 6/27/2018 9:15 PM, Kishon Vijay Abraham I wrote: >> Santosh, >> >> On Friday 22 June 2018 03:46 PM, Kishon Vijay Abraham I wrote: >>> Update mmc dt node to use sdhci-omap binding instead of omap_hsmmc >>> binding. >>> >>> I've

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-01 Thread Baoquan He
On 07/01/18 at 10:43pm, Pavel Tatashin wrote: > On Sun, Jul 1, 2018 at 10:31 PM Baoquan He wrote: > > > > On 07/01/18 at 10:18pm, Pavel Tatashin wrote: > > > > Here, I think it might be not right to jump to 'failed' directly if one > > > > section of the node failed to populate memmap. I think

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-01 Thread Baoquan He
On 07/01/18 at 10:04pm, Pavel Tatashin wrote: > +/* > + * Initialize sparse on a specific node. The node spans [pnum_begin, > pnum_end) > + * And number of present sections in this node is map_count. > + */ > +void __init sparse_init_nid(int nid, unsigned long pnum_begin, > +

Re: [PATCH] f2fs: Replace strncpy with memcpy

2018-07-01 Thread Chao Yu
On 2018/7/2 10:16, Guenter Roeck wrote: > On 07/01/2018 06:53 PM, Chao Yu wrote: >> On 2018/7/2 4:57, Guenter Roeck wrote: >>> gcc 8.1.0 complains: >>> >>> fs/f2fs/namei.c: In function 'f2fs_update_extension_list': >>> fs/f2fs/namei.c:257:3: warning: >>> 'strncpy' output truncated before

Re: [PATCH v2 5/6] mm: track gup pages with page->dma_pinned_* fields

2018-07-01 Thread kbuild test robot
Hi John, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.18-rc3] [cannot apply to next-20180629] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH RFC tip/core/rcu 1/2] rcu: Defer reporting RCU-preempt quiescent states when disabled

2018-07-01 Thread Paul E. McKenney
On Sun, Jul 01, 2018 at 05:37:32PM -0700, Joel Fernandes wrote: > On Sun, Jul 01, 2018 at 03:25:01PM -0700, Paul E. McKenney wrote: > [...] > > > > @@ -602,6 +589,66 @@ static void rcu_read_unlock_special(struct > > > > task_struct *t) > > > > } > > > > } > > > > > > > > +/* > > > > +

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-01 Thread Pavel Tatashin
> Ah, yes, I misunderstood it, sorry for that. > > Then I have only one concern, for vmemmap case, if one section doesn't > succeed to populate its memmap, do we need to skip all the remaining > sections in that node? Yes, in sparse_populate_node() we have the following: 294 for (pnum =

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-01 Thread Pavel Tatashin
> > + if (!usemap) { > > + pr_err("%s: usemap allocation failed", __func__); > > Wondering if we can provide more useful information for better debugging > if failed. E.g here tell on what nid the usemap allocation failed. > > > +

Re: [PATCH RFC tip/core/rcu 1/2] rcu: Defer reporting RCU-preempt quiescent states when disabled

2018-07-01 Thread Paul E. McKenney
On Sun, Jul 01, 2018 at 05:35:53PM -0700, Joel Fernandes wrote: > On Sun, Jul 01, 2018 at 03:27:49PM -0700, Paul E. McKenney wrote: > [...] > > > > +/* > > > > + * Report a deferred quiescent state if needed and safe to do so. > > > > + * As with rcu_preempt_need_deferred_qs(), "safe" involves

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-01 Thread Baoquan He
On 07/01/18 at 11:03pm, Pavel Tatashin wrote: > > Ah, yes, I misunderstood it, sorry for that. > > > > Then I have only one concern, for vmemmap case, if one section doesn't > > succeed to populate its memmap, do we need to skip all the remaining > > sections in that node? > > Yes, in

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-01 Thread Baoquan He
On 07/02/18 at 11:14am, Baoquan He wrote: > On 07/01/18 at 11:03pm, Pavel Tatashin wrote: > > > Ah, yes, I misunderstood it, sorry for that. > > > > > > Then I have only one concern, for vmemmap case, if one section doesn't > > > succeed to populate its memmap, do we need to skip all the remaining

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-01 Thread Pavel Tatashin
> > So, on the first failure, we even stop trying to populate other > > sections. No more memory to do so. > > This is the thing I worry about. In old sparse_mem_maps_populate_node() > you can see, when not present or failed to populate, just continue. This > is the main difference between yours

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-01 Thread Baoquan He
On 07/01/18 at 11:28pm, Pavel Tatashin wrote: > > > So, on the first failure, we even stop trying to populate other > > > sections. No more memory to do so. > > > > This is the thing I worry about. In old sparse_mem_maps_populate_node() > > you can see, when not present or failed to populate, just

[PATCH v2 2/4] PCI: mediatek: enable msi after clock enabled

2018-07-01 Thread honghui.zhang
From: Honghui Zhang The clocks was not enabled when enable MSI. This patch fix this issue by calling mtk_pcie_enable_msi in mtk_pcie_startup_port_v2 since the clock was all enabled at that time. The function of mtk_pcie_startup_port_v2's define location is re-arranged to avoid

[PATCH v2 1/4] PCI: mediatek: fixup mtk_pcie_find_port logical

2018-07-01 Thread honghui.zhang
From: Honghui Zhang The Mediatek's host controller has two slots, each with it's own control registers. The host driver need to identify which slot was connected in order to access the device's configuration space. There's problem for current host driver to find out which slot was connected to

[PATCH v2 4/4] PCI: mediatek: Add loadable kernel module support

2018-07-01 Thread honghui.zhang
From: Honghui Zhang Implement remove callback function for Mediatek PCIe driver to add loadable kernel module support. Signed-off-by: Honghui Zhang --- drivers/pci/controller/Kconfig | 2 +- drivers/pci/controller/pcie-mediatek.c | 60 +++--- 2 files

[PATCH v2 0/4] PCI: mediatek: fixup find_port, enable_msi and add pm, module support

2018-07-01 Thread honghui.zhang
From: Honghui Zhang This patchset includes misc patchs: The first patch fixup the mtk_pcie_find_port logical which will cause system could not touch the EP's configuration space which was connected to PCIe slot 1. The second patch fixup the enable msi logical, the operation to enable msi

[PATCH v2 3/4] PCI: mediatek: Add system pm support for MT2712 and MT7622

2018-07-01 Thread honghui.zhang
From: Honghui Zhang The MTCMOS of PCIe Host for MT2712 and MT7622 will be off when system suspend, and all the internal control register will be reset after system resume. The PCIe link should be re-established and the related control register values should be re-set after system resume.

[PATCH 2/3] selftests/android: initialize heap_type to avoid compiling warning

2018-07-01 Thread Li Zhijian
root@vm-lkp-nex04-8G-7 ~/linux-v4.18-rc2/tools/testing/selftests/android# make make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/root/linux-v4.18-rc2/tools/testing/selftests/android/ion' gcc -I.

[PATCH 0/3] fix selftests compiling errors and warnings

2018-07-01 Thread Li Zhijian
Li Zhijian (3): selftests/android: fix compiling error selftests/android: initialize heap_type to avoid compiling warning selftests/gpio: unset OUTPUT for build tools/gpio tools/testing/selftests/android/ion/Makefile| 5 - tools/testing/selftests/android/ion/ionapp_export.c |

[PATCH 1/3] selftests/android: fix compiling error

2018-07-01 Thread Li Zhijian
lizhijian@haswell-OptiPlex-9020:/home/lizj/linux/tools/testing/selftests/android/ion$ make gcc -I. -I../../../../../drivers/staging/android/uapi/ -I../../../../../usr/include/ -Wall -O2 -gionapp_export.c ipcsocket.c ionutils.c -o ionapp_export gcc -I.

[PATCH 3/3] selftests/gpio: unset OUTPUT for build tools/gpio

2018-07-01 Thread Li Zhijian
when we execute 'make' to build selftests, the TOP Makefile build gpio like: selftests$ make ARCH= CROSS_COMPILE= OUTPUT=/home/lizj/linux/tools/testing/selftests/gpio -C gpio ... make[2]: Leaving directory '/home/lizj/linux/tools/gpio' gcc -O2 -g -std=gnu99 -Wall

Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5

2018-07-01 Thread Michael Ellerman
Linus Torvalds writes: > On Fri, Jun 29, 2018 at 1:42 PM Larry Finger > wrote: >> >> I have more information regarding this BUG. Line 700 of page-flags.h is the >> macro PAGE_TYPE_OPS(Table, table). For further debugging, I manually expanded >> the macro, and found that the bug line is

Re: [PATCH v5 2/2] arm64: KVM: export the capability to set guest SError syndrome

2018-07-01 Thread gengdongjiu
Hi James, On 2018/6/29 23:58, James Morse wrote: > Hi Dongjiu Geng, > > This patch doesn't apply on v4.18-rc2. > > Documentation/virtual/kvm/api.txt already has a 8.18 section. I guess you > based > this on v4.17. Yes, indeed I based on v4.17. > > For posting patches, please use the latest

Re: [PATCH RFC tip/core/rcu 1/2] rcu: Defer reporting RCU-preempt quiescent states when disabled

2018-07-01 Thread Joel Fernandes
On Sun, Jul 01, 2018 at 03:27:49PM -0700, Paul E. McKenney wrote: [...] > > > +/* > > > + * Report a deferred quiescent state if needed and safe to do so. > > > + * As with rcu_preempt_need_deferred_qs(), "safe" involves only > > > + * not being in an RCU read-side critical section. The caller

Re: [PATCH] siox: don't create a thread without starting it

2018-07-01 Thread Stephen Rothwell
Hi all, Just cc'ing a more recent address for Greg ... On Mon, 2 Jul 2018 09:34:04 +1000 Stephen Rothwell wrote: > > Hi Uwe, > > On Fri, 29 Jun 2018 09:38:58 +0200 Uwe Kleine-König > wrote: > > > > On Thu, Jun 28, 2018 at 09:57:42AM +0200, Uwe Kleine-König wrote: > > > Greg, you applied

Re: [PATCH V2 01/19] csky: Build infrastructure

2018-07-01 Thread Guo Ren
Hi Randy, On Sun, Jul 01, 2018 at 02:01:52PM -0700, Randy Dunlap wrote: > Hi, > Just a few comments... > Thx for your review. I'll fixup all of you mentioned and self-check again. Guo Ren

Re: [PATCH v2 2/2] mm/sparse: start using sparse_init_nid(), and remove old code

2018-07-01 Thread Baoquan He
Hi Pavel, On 06/29/18 at 11:09pm, Pavel Tatashin wrote: > Change sprase_init() to only find the pnum ranges that belong to a specific > node and call sprase_init_nid() for that range from sparse_init(). > > Delete all the code that became obsolete with this change. > @@ -617,87 +491,24 @@ void

[PATCH V2] mmc: core: cd_label must be last entry of mmc_gpio struct

2018-07-01 Thread Anson Huang
commit bfd694d5e21c ("mmc: core: Add tunable delay before detecting card after card is inserted") adds "u32 cd_debounce_delay_ms" to the last of mmc_gpio struct and cause "char cd_label[0]" NOT work as string pointer of card detect label, when "cat /proc/interrupts", the devname for card detect

Re: [PATCH v2 2/2] mm/sparse: start using sparse_init_nid(), and remove old code

2018-07-01 Thread Pavel Tatashin
> > Yes, if they are equal at 501, 'continue' to for loop. If nid is not > equal to nid_begin, we execute sparse_init_nid(), here should it be that > nid_begin is the current node, nid is next node? Nevermind, I forgot about the continue, I will fix it. Thank you again! Pavel

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

2018-07-01 Thread Anson Huang
According to i.MX6 datasheet, the LDO_1P1's typical programming operating range is 1.0V to 1.2V, and the LDO_2P5's typical programming operating range is 2.25V to 2.75V, correct LDO_1P1 and LDO_2P5's regulator range settings for i.MX6 SoCs. Signed-off-by: Anson Huang --- changes since V1:

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-01 Thread Baoquan He
Hi Pavel, Thanks for your quick fix. You might have missed another comment to v2 patch 1/2 which is at the bottom. On 07/01/18 at 10:04pm, Pavel Tatashin wrote: > +/* > + * Initialize sparse on a specific node. The node spans [pnum_begin, > pnum_end) > + * And number of present sections in this

  1   2   3   4   5   6   7   8   9   10   >