[PATCH 1/2] i2c: ibm_iic: don't check number of messages in the driver

2018-05-19 Thread Wolfram Sang
Since commit 1eace8344c02 ("i2c: add param sanity check to i2c_transfer()"), the I2C core does this check now. We can remove it from drivers. Signed-off-by: Wolfram Sang --- Only build tested. drivers/i2c/busses/i2c-ibm_iic.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/i2c/bu

[PATCH 1/7] media: netup_unidvb: don't check number of messages in the driver

2018-05-19 Thread Wolfram Sang
Since commit 1eace8344c02 ("i2c: add param sanity check to i2c_transfer()"), the I2C core does this check now. We can remove it from drivers. Signed-off-by: Wolfram Sang --- Only build tested. drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c | 5 - 1 file changed, 5 deletions(-) diff --g

[PATCH 2/2] i2c: opal: don't check number of messages in the driver

2018-05-19 Thread Wolfram Sang
Since commit 1eace8344c02 ("i2c: add param sanity check to i2c_transfer()") and b7f625840267 ("i2c: add quirk checks to core"), the I2C core does this check now. We can remove it here. Signed-off-by: Wolfram Sang --- Only build tested. drivers/i2c/busses/i2c-opal.c | 4 1 file changed, 4

[PATCH 0/2] don't check number of I2C messages in drivers

2018-05-19 Thread Wolfram Sang
The core does it now, we can simplify drivers. Wolfram Sang (2): i2c: ibm_iic: don't check number of messages in the driver i2c: opal: don't check number of messages in the driver drivers/i2c/busses/i2c-ibm_iic.c | 3 --- drivers/i2c/busses/i2c-opal.c| 4 2 files changed, 7 deletion

[PATCH 3/7] media: cx231xx: don't check number of messages in the driver

2018-05-19 Thread Wolfram Sang
Since commit 1eace8344c02 ("i2c: add param sanity check to i2c_transfer()"), the I2C core does this check now. We can remove it from drivers. Signed-off-by: Wolfram Sang --- Only build tested. drivers/media/usb/cx231xx/cx231xx-i2c.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/

[PATCH 0/7] don't check number of I2C messages in drivers

2018-05-19 Thread Wolfram Sang
The core does it now, we can simplify drivers. Based on v4.17-rc5. buildbot is happy. I'd suggest the media tree. Thanks, Wolfram Wolfram Sang (7): media: netup_unidvb: don't check number of messages in the driver media: si4713: don't check number of messages in the driver media: cx231

[PATCH 4/7] media: em28xx: don't check number of messages in the driver

2018-05-19 Thread Wolfram Sang
Since commit 1eace8344c02 ("i2c: add param sanity check to i2c_transfer()"), the I2C core does this check now. We can remove it from drivers. Signed-off-by: Wolfram Sang --- Only build tested. drivers/media/usb/em28xx/em28xx-i2c.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/

[PATCH 1/1] drm/msm/hdmi: don't check number of messages in the driver

2018-05-19 Thread Wolfram Sang
Since commit 1eace8344c02 ("i2c: add param sanity check to i2c_transfer()"), the I2C core does this check now. We can remove it from drivers. Signed-off-by: Wolfram Sang --- Only build tested. drivers/gpu/drm/msm/hdmi/hdmi_i2c.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu

[PATCH 2/7] media: si4713: don't check number of messages in the driver

2018-05-19 Thread Wolfram Sang
Since commit 1eace8344c02 ("i2c: add param sanity check to i2c_transfer()"), the I2C core does this check now. We can remove it from drivers. Signed-off-by: Wolfram Sang --- Only build tested. drivers/media/radio/si4713/radio-usb-si4713.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/d

[PATCH 7/7] media: dvb-usb: don't check number of messages in the driver

2018-05-19 Thread Wolfram Sang
Since commit 1eace8344c02 ("i2c: add param sanity check to i2c_transfer()"), the I2C core does this check now. We can remove it from drivers. Signed-off-by: Wolfram Sang --- Only build tested. drivers/media/usb/dvb-usb/m920x.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media

[PATCH 6/7] media: tm6000: don't check number of messages in the driver

2018-05-19 Thread Wolfram Sang
Since commit 1eace8344c02 ("i2c: add param sanity check to i2c_transfer()"), the I2C core does this check now. We can remove it from drivers. Signed-off-by: Wolfram Sang --- Only build tested. drivers/media/usb/tm6000/tm6000-i2c.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/me

[PATCH 5/7] media: hdpvr: don't check number of messages in the driver

2018-05-19 Thread Wolfram Sang
Since commit 1eace8344c02 ("i2c: add param sanity check to i2c_transfer()"), the I2C core does this check now. We can remove it from drivers. Signed-off-by: Wolfram Sang --- Only build tested. drivers/media/usb/hdpvr/hdpvr-i2c.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/med

Re: [PATCH v3 1/2] soc: imx: gpcv2: Do not pass static memory as platform data

2018-05-19 Thread Shawn Guo
On Sat, May 19, 2018 at 03:35:55PM -0700, Andrey Smirnov wrote: > On Tue, Apr 10, 2018 at 11:32 AM, Andrey Smirnov > wrote: > > Platform device core assumes the ownership of dev.platform_data as > > well as that it is dynamically allocated and it will try to kfree it > > as a part of platform_devi

Re: [RFC] mm, THP: Map read-only text segments using large THP pages

2018-05-19 Thread Song Liu
On Thu, May 17, 2018 at 10:31 AM, William Kucharski wrote: > > >> On May 17, 2018, at 9:23 AM, Matthew Wilcox wrote: >> >> I'm certain it is. The other thing I believe is true that we should be >> able to share page tables (my motivation is thousands of processes each >> mapping the same ridicul

Re: [PATCH 06/14] net: sched: implement reference counted action release

2018-05-19 Thread Jiri Pirko
Sat, May 19, 2018 at 11:43:27PM CEST, marcelo.leit...@gmail.com wrote: >On Mon, May 14, 2018 at 05:27:07PM +0300, Vlad Buslov wrote: >... >> @@ -1052,6 +1088,36 @@ static int tca_action_flush(struct net *net, struct >> nlattr *nla, >> return err; >> } >> >> +static int tcf_action_delete(stru

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-19 Thread Ulf Magnusson
On Sun, May 20, 2018 at 5:45 AM, Randy Dunlap wrote: > On 05/08/2018 09:59 AM, Ulf Magnusson wrote: >> Hello, >> >> I've added incremental search for jumping directly to a symbol now. >> Regular expressions are supported as well. >> >> Some screenshots below: >> >> https://raw.githubusercontent.co

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-19 Thread Ulf Magnusson
On Sun, May 20, 2018 at 6:24 AM, Ulf Magnusson wrote: > On Sun, May 20, 2018 at 5:51 AM, Randy Dunlap wrote: >> On 05/19/2018 08:45 PM, Randy Dunlap wrote: >>> On 05/08/2018 09:59 AM, Ulf Magnusson wrote: Hello, I've added incremental search for jumping directly to a symbol now. >>

Re: [PATCH 10/32] aio: implement IOCB_CMD_POLL

2018-05-19 Thread Al Viro
On Tue, May 15, 2018 at 09:48:11PM +0200, Christoph Hellwig wrote: > +static ssize_t aio_poll(struct aio_kiocb *aiocb, struct iocb *iocb) > +{ > + struct kioctx *ctx = aiocb->ki_ctx; > + struct poll_iocb *req = &aiocb->poll; > + unsigned long flags; > + __poll_t mask; > + > + /*

Re: [PATCH 08/32] aio: replace kiocb_set_cancel_fn with a cancel_kiocb file operation

2018-05-19 Thread Al Viro
On Tue, May 15, 2018 at 09:48:09PM +0200, Christoph Hellwig wrote: > case -EIOCBQUEUED: > + if (req->ki_filp->f_op->cancel_kiocb) { > + struct aio_kiocb *iocb = > + container_of(req, struct aio_kiocb, rw); > + st

[PATCH v2 3/5] arm64: dts: actions: Add gpio line names to Bubblegum-96 board

2018-05-19 Thread Manivannan Sadhasivam
Add gpio line names to Actions Semi S900 based Bubblegum-96 board. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 175 ++ 1 file changed, 175 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts b/arch/ar

[PATCH v2 2/5] arm64: dts: actions: Add gpio properties to pinctrl node for S900

2018-05-19 Thread Manivannan Sadhasivam
Add gpio properties to pinctrl node for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index 0156483f0f4d..

[PATCH v2 4/5] pinctrl: actions: Add gpio support for Actions S900 SoC

2018-05-19 Thread Manivannan Sadhasivam
Add gpio support to pinctrl driver for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Andy Shevchenko --- drivers/pinctrl/actions/Kconfig| 1 + drivers/pinctrl/actions/pinctrl-owl.c | 198 + drivers/pinctrl/actions/pinctrl-owl

[PATCH v2 1/5] dt-bindings: pinctrl: Add gpio bindings for Actions S900 SoC

2018-05-19 Thread Manivannan Sadhasivam
Add gpio bindings for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/pinctrl/actions,s900-pinctrl.txt | 16 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt b/Documentation

[PATCH v2 5/5] MAINTAINERS: Add Actions Semi S900 pinctrl entries

2018-05-19 Thread Manivannan Sadhasivam
Add S900 pinctrl entries under ARCH_ACTIONS Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 640dabc4c311..9e1a17c9b4a7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1125,10 +1125,12 @@ F: arch/arm/ma

[PATCH v2 0/5] Add gpio support for Action Semi S900 SoC

2018-05-19 Thread Manivannan Sadhasivam
This patchset adds gpio support for Actions Semi S900 SoC by extending the pinctrl driver. There were previous patches submitted for adding a standalone gpio driver based on gpiolib. But later on it has been realised that the gpio functionality is closely tied with pinctrl subsystem for this OWL fa

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-19 Thread Ulf Magnusson
On Sun, May 20, 2018 at 6:47 AM, Ulf Magnusson wrote: > On Sun, May 20, 2018 at 6:03 AM, Randy Dunlap wrote: >> On 05/19/2018 08:45 PM, Randy Dunlap wrote: >>> On 05/08/2018 09:59 AM, Ulf Magnusson wrote: Hello, I've added incremental search for jumping directly to a symbol now. >>

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-19 Thread Ulf Magnusson
On Sun, May 20, 2018 at 6:03 AM, Randy Dunlap wrote: > On 05/19/2018 08:45 PM, Randy Dunlap wrote: >> On 05/08/2018 09:59 AM, Ulf Magnusson wrote: >>> Hello, >>> >>> I've added incremental search for jumping directly to a symbol now. >>> Regular expressions are supported as well. >>> >>> Some scre

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-19 Thread Ulf Magnusson
On Sun, May 20, 2018 at 5:51 AM, Randy Dunlap wrote: > On 05/19/2018 08:45 PM, Randy Dunlap wrote: >> On 05/08/2018 09:59 AM, Ulf Magnusson wrote: >>> Hello, >>> >>> I've added incremental search for jumping directly to a symbol now. >>> Regular expressions are supported as well. >>> >>> Some scre

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-19 Thread Randy Dunlap
On 05/19/2018 08:45 PM, Randy Dunlap wrote: > On 05/08/2018 09:59 AM, Ulf Magnusson wrote: >> Hello, >> >> I've added incremental search for jumping directly to a symbol now. >> Regular expressions are supported as well. >> >> Some screenshots below: >> >> https://raw.githubusercontent.com/ulfalize

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-19 Thread Randy Dunlap
On 05/19/2018 08:45 PM, Randy Dunlap wrote: > On 05/08/2018 09:59 AM, Ulf Magnusson wrote: >> Hello, >> >> I've added incremental search for jumping directly to a symbol now. >> Regular expressions are supported as well. >> >> Some screenshots below: >> >> https://raw.githubusercontent.com/ulfalize

[PATCH] mtd: mtdoops: optionally dump boottime

2018-05-19 Thread Stefan M Schaeckeler
Optionally dump boottime on the mtd device in the form of <0>[ 0.00] Boot time mm/dd/ hh:mm:ss Time-stamps of oops messages are in seconds since boottime. Recording also the boottime helps correlating oopses with other events having occured at the same time. This correlation will be oth

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-19 Thread Randy Dunlap
On 05/08/2018 09:59 AM, Ulf Magnusson wrote: > Hello, > > I've added incremental search for jumping directly to a symbol now. > Regular expressions are supported as well. > > Some screenshots below: > > https://raw.githubusercontent.com/ulfalizer/Kconfiglib/screenshots/screenshots/ss10.png > htt

[lkp-robot] [workqueue] f303fccb82: kmsg.workqueue:round-robin_CPU_selection_forced,expect_performance_impact

2018-05-19 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-4.9): commit: f303fccb82928790ec58eea82722bd5c54d300b3 ("workqueue: implement "workqueue.debug_force_rr_cpu" debug feature") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: boot on test machine: qemu-syste

Re: [PATCH 1/4] arcnet: com20020: Add com20020 io mapped version

2018-05-19 Thread kbuild test robot
Hi Andrea, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] [also build test WARNING on v4.17-rc5 next-20180517] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH net-next] net: dsa: b53: Extend platform data to include DSA ports

2018-05-19 Thread Florian Fainelli
On May 19, 2018 6:42:50 PM PDT, Andrew Lunn wrote: >On Sat, May 19, 2018 at 03:55:10PM -0700, Florian Fainelli wrote: >> Provide a means for !OF platforms to supply their DSA platform data >> configuration using the dsa_platform_data structure. > >Hi Florian > >It seems a bit odd adding the header

Re: [PATCH] net: sched: don't disable bh when accessing action idr

2018-05-19 Thread David Miller
From: Vlad Buslov Date: Sat, 19 May 2018 13:12:49 +0300 > > On Sat 19 May 2018 at 02:59, Cong Wang wrote: >> On Fri, May 18, 2018 at 8:45 AM, Vlad Buslov wrote: >>> Underlying implementation of action map has changed and doesn't require >>> disabling bh anymore. Replace all action idr spinlock

Re: random: Wake up writers when random pools are zapped

2018-05-19 Thread Herbert Xu
On Sat, May 19, 2018 at 05:55:19PM -0400, Theodore Y. Ts'o wrote: > > Out of curiosity, how/when were you using RNDCLEARPOOL/RNDZAPENTCNT? > Hopefully it was only testing hw_random drivers, or some such? I wasn't actually using it myself. Someone else filed a bug against RHEL complaining about th

Re: [PATCH 1/4] arcnet: com20020: Add com20020 io mapped version

2018-05-19 Thread kbuild test robot
Hi Andrea, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] [also build test WARNING on v4.17-rc5 next-20180517] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH net-next] net: mvpp2: Add missing VLAN tag detection

2018-05-19 Thread David Miller
From: Maxime Chevallier Date: Fri, 18 May 2018 09:33:39 +0200 > Marvell PPv2 Header Parser sets some bits in the 'result_info' field in > each lookup iteration, to identify different packet attributes such as > DSA / VLAN tag, protocol infos, etc. This is used in further > classification stages i

[GIT PULL] arm64: dts: uniphier: UniPhier DT updates for v4.18

2018-05-19 Thread Masahiro Yamada
Hi Arnd, Olof, Here are UniPhier DT (64bit) updates for the v4.18 merge window. Please pull! The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/k

[PATCH V3] scsi: ufs: Add specific callback for setting DMA mask

2018-05-19 Thread Alim Akhtar
Currently DMA mask for UFS HCI is set by reading CAP register's [64AS] bit. Some HCI controller like Exynos support 36-bit bus address. This works perfectly fine with DMA mask set as 64 in case there is no IOMMU attached to HCI. In case if HCI is behind an IOMMU, setting DMA mask as 64 bit won't wo

[GIT PULL] ARM: dts: uniphier: UniPhier DT updates for v4.18

2018-05-19 Thread Masahiro Yamada
Hi Arnd, Olof, Here are UniPhier DT (32bit) updates for the v4.18 merge window. Please pull! The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/k

Re: [PATCH V3] scsi: ufs: Add specific callback for setting DMA mask

2018-05-19 Thread Alim Akhtar
Hi All Please ignore the below patch, sorry for the noise. Will send updated patch soon. Regards, Alim On 05/20/2018 07:41 AM, Bharat Uppal wrote: > From: Alim Akhtar > > Currently DMA mask for UFS HCI is set by reading CAP register's > [64AS] bit. Some HCI controller like Exynos support 36-bit

[PATCH V3] scsi: ufs: Add specific callback for setting DMA mask

2018-05-19 Thread Bharat Uppal
From: Alim Akhtar Currently DMA mask for UFS HCI is set by reading CAP register's [64AS] bit. Some HCI controller like Exynos support 36-bit bus address. This works perfectly fine with DMA mask set as 64 in case there is no IOMMU attached to HCI. In case if HCI is behind an IOMMU, setting DMA mas

Re: [PATCH 1/4] arcnet: com20020: Add com20020 io mapped version

2018-05-19 Thread kbuild test robot
Hi Andrea, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] [also build test ERROR on v4.17-rc5 next-20180517] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linu

Re: [linux-sunxi] [PATCH 10/15] drm/sun4i: Add support for R40 TV TCONs

2018-05-19 Thread Julian Calaby
Hi Jernej, On Sun, May 20, 2018 at 11:57 AM, Julian Calaby wrote: > Hi Jernej, > > On Sun, May 20, 2018 at 4:31 AM, Jernej Skrabec > wrote: >> R40 display pipeline has a lot of possible configurations. HDMI can be >> connected to 2 different TCONs (out of 4) and mixers can be connected to >> an

Re: INFO: task hung in tls_push_record

2018-05-19 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:eb38401c779d net: stmmac: Populate missing callbacks in HW.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=16d0820f80 kernel config: https://syzkaller.appspot.com/x/.config?x=b632d8

Re: [linux-sunxi] [PATCH 10/15] drm/sun4i: Add support for R40 TV TCONs

2018-05-19 Thread Julian Calaby
Hi Jernej, On Sun, May 20, 2018 at 4:31 AM, Jernej Skrabec wrote: > R40 display pipeline has a lot of possible configurations. HDMI can be > connected to 2 different TCONs (out of 4) and mixers can be connected to > any TCON. All this must be configured in TCON TOP. > > Along with definition of T

Re: [PATCHv2][SMB3] Add kernel trace support

2018-05-19 Thread Steve French
On Sat, May 19, 2018 at 6:22 PM, Dave Chinner wrote: > On Fri, May 18, 2018 at 01:43:14PM -0700, Steve French wrote: >> On Fri, May 18, 2018 at 11:46 AM, Ralph Böhme wrote: >> > On Thu, May 17, 2018 at 09:36:36PM -0500, Steve French via samba-technical >> > wrote: >> >> Patch updated with additi

Re: [linux-sunxi] [PATCH 07/15] dt-bindings: display: sun4i-drm: Add R40 HDMI pipeline

2018-05-19 Thread Julian Calaby
Hi Jernej, On Sun, May 20, 2018 at 4:31 AM, Jernej Skrabec wrote: > Missing compatibles and descriptions needed to implement R40 HDMI > pipeline are added. > > For mixers only compatibles are added. > > TCON description is expanded with R40 TV TCON compatibles. If the SoC > has TCON TOP unit, pha

Re: [RFC PATCH V2] scsi: ufs: Add specific callback for setting DMA mask

2018-05-19 Thread Alim Akhtar
Hi Subhash On 05/17/2018 03:01 AM, Subhash Jadavani wrote: > On 2018-05-15 21:31, Alim Akhtar wrote: >> Ping !!! >> >> On Thu, Mar 8, 2018 at 4:33 PM, Alim Akhtar >> wrote: >>> Currently DMA mask for UFS HCI is set by reading CAP register's >>> [64AS] bit. Some HCI controller like Exynos support

Re: INFO: rcu detected stall in is_bpf_text_address

2018-05-19 Thread Marcelo Ricardo Leitner
On Sat, May 19, 2018 at 08:57:19AM -0700, Eric Dumazet wrote: > SCTP experts, please take a look. Ugh, same sctp footprint as in the other reports. > > >  _sctp_make_chunk+0x58/0x280 net/sctp/sm_make_chunk.c:1417 > >  sctp_make_control net/sctp/sm_make_chunk.c:1464 [inline] > >  sctp_make_heartbe

Re: [PATCH net-next] net: dsa: b53: Extend platform data to include DSA ports

2018-05-19 Thread Andrew Lunn
On Sat, May 19, 2018 at 03:55:10PM -0700, Florian Fainelli wrote: > Provide a means for !OF platforms to supply their DSA platform data > configuration using the dsa_platform_data structure. Hi Florian It seems a bit odd adding the header file, but no code. Yes, this will help simplify the merge

[GIT PULL] ARM: SoC fixes

2018-05-19 Thread Olof Johansson
Hi Linus, The following changes since commit 67b8d5c7081221efa252e111cd52532ec6d4266f: Linux 4.17-rc5 (2018-05-13 16:15:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/armsoc-fixes for you to fetch changes up to 709f490d

Re: Tasks RCU vs Preempt RCU

2018-05-19 Thread Joel Fernandes
On Sat, May 19, 2018 at 05:49:38PM -0700, Paul E. McKenney wrote: [...] > > > And the problem with wrapping them with rcu_read_{lock,unlock} is that > > > there would be a point before the trampoline executed rcu_read_lock() > > > but while it was on the trampoline. Nothing good comes from this.

Re: Tasks RCU vs Preempt RCU

2018-05-19 Thread Paul E. McKenney
On Sat, May 19, 2018 at 03:59:05PM -0700, Joel Fernandes wrote: > On Fri, May 18, 2018 at 07:29:18PM -0700, Paul E. McKenney wrote: > > On Fri, May 18, 2018 at 11:36:23AM -0700, Joel Fernandes wrote: > > > Hi, > > > > > > I was thinking about tasks-RCU and why its needed. Since preempt-RCU > > >

Re: [PATCH v2 01/26] rculist: introduce list_next_or_null_rr_rcu()

2018-05-19 Thread Paul E. McKenney
On Sat, May 19, 2018 at 10:20:48PM +0200, Roman Penyaev wrote: > On Sat, May 19, 2018 at 6:37 PM, Paul E. McKenney > wrote: > > On Fri, May 18, 2018 at 03:03:48PM +0200, Roman Pen wrote: > >> Function is going to be used in transport over RDMA module > >> in subsequent patches. > >> > >> Function

[RHEL-8] arm64: add missing early clobber in atomic64_dec_if_positive()

2018-05-19 Thread Mark Salter
When running a kernel compiled with gcc8 on a machine using LSE, I get: Unable to handle kernel paging request at virtual address 112221 Mem abort info: ESR = 0x9621 Exception class = DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 Data abort info:

Re: [PATCHv2][SMB3] Add kernel trace support

2018-05-19 Thread Dave Chinner
On Fri, May 18, 2018 at 01:43:14PM -0700, Steve French wrote: > On Fri, May 18, 2018 at 11:46 AM, Ralph Böhme wrote: > > On Thu, May 17, 2018 at 09:36:36PM -0500, Steve French via samba-technical > > wrote: > >> Patch updated with additional tracepoint locations and some formatting > >> improveme

Re: Tasks RCU vs Preempt RCU

2018-05-19 Thread Joel Fernandes
On Fri, May 18, 2018 at 07:29:18PM -0700, Paul E. McKenney wrote: > On Fri, May 18, 2018 at 11:36:23AM -0700, Joel Fernandes wrote: > > Hi, > > > > I was thinking about tasks-RCU and why its needed. Since preempt-RCU allows > > tasks to be preempted in read-sections, can we not just reuse that mec

[PATCH net-next] net: dsa: b53: Extend platform data to include DSA ports

2018-05-19 Thread Florian Fainelli
Provide a means for !OF platforms to supply their DSA platform data configuration using the dsa_platform_data structure. Signed-off-by: Florian Fainelli --- include/linux/platform_data/b53.h | 4 1 file changed, 4 insertions(+) diff --git a/include/linux/platform_data/b53.h b/include/linu

Re: [PATCH 14/14] net: sched: implement delete for all actions

2018-05-19 Thread Marcelo Ricardo Leitner
On Wed, May 16, 2018 at 12:58:38PM +0300, Vlad Buslov wrote: > > On Wed 16 May 2018 at 09:48, Jiri Pirko wrote: > > Mon, May 14, 2018 at 04:27:15PM CEST, vla...@mellanox.com wrote: > >>Implement delete function that is required to delete actions without > >>holding rtnl lock. Use action API functi

Re: [PATCH v2] kbuild: check for pkg-config on make {menu,n,g,x}config

2018-05-19 Thread Randy Dunlap
On 05/17/18 22:10, Masahiro Yamada wrote: > Hi Randy, > > 2018-04-07 6:37 GMT+09:00 Randy Dunlap : >> On 03/14/2018 10:50 PM, Masahiro Yamada wrote: >>> 2018-03-13 11:30 GMT+09:00 Randy Dunlap : From: Randy Dunlap Each of 'make {menu,n,g,x}config' uses (needs) pkg-config to make su

Re: [PATCH v3 1/2] soc: imx: gpcv2: Do not pass static memory as platform data

2018-05-19 Thread Andrey Smirnov
On Tue, Apr 10, 2018 at 11:32 AM, Andrey Smirnov wrote: > Platform device core assumes the ownership of dev.platform_data as > well as that it is dynamically allocated and it will try to kfree it > as a part of platform_device_release(). Change the code to use > platform_device_add_data() n instea

Re: [PATCH 12/14] net: sched: retry action check-insert on concurrent modification

2018-05-19 Thread Marcelo Ricardo Leitner
On Wed, May 16, 2018 at 03:21:35PM +0200, Jiri Pirko wrote: ... > int tcf_idr_check_alloc(struct tc_action_net *tn, u32 *index, > struct tc_action **a, int bind) Considering we don't have any other variant of it, maybe just "tcf_idr_alloc()" instead?

Re: [PATCH 13/14] net: sched: use unique idr insert function in unlocked actions

2018-05-19 Thread Marcelo Ricardo Leitner
On Mon, May 14, 2018 at 05:27:14PM +0300, Vlad Buslov wrote: > Substitute calls to action insert function with calls to action insert > unique function that warns if insertion overwrites index in idr. I know this patch may be gone on V2, but a general comment, please use the function names themsel

Re: [PATCH 10/14] net: sched: extend act API for lockless actions

2018-05-19 Thread Marcelo Ricardo Leitner
Please use a more meaningful patch summary. This one is too generic. On Mon, May 14, 2018 at 05:27:11PM +0300, Vlad Buslov wrote: ... > +int tcf_idr_find_delete(struct tc_action_net *tn, u32 index) What about naming it tcf_idr_delete_index() instead? The find operation is always implicit when you

[PATCH v6 7/8] x86/microcode/AMD: Add a reminder about PATCH_MAX_SIZE macro

2018-05-19 Thread Maciej S. Szmigiero
The PATCH_MAX_SIZE macro should contain the maximum of all family patch sizes. Since these sizes are defined in an other place than this macro, let's add a reminder to them so people will remember to verify PATCH_MAX_SIZE correctness when modifying a family patch size or adding a new family. Signe

[PATCH v6 8/8] x86/microcode/AMD: Don't scan past the CPU equivalence table data

2018-05-19 Thread Maciej S. Szmigiero
Currently, the code scanning a CPU equivalence table read from a microcode container file assumes that it actually contains a terminating zero entry, but if does not then the code will continue the scan past its valid data. For the late loader this can be improved by always appending a terminating

[PATCH v6 5/8] x86/microcode/AMD: Check microcode container data in the late loader

2018-05-19 Thread Maciej S. Szmigiero
Convert the late loader in the AMD microcode update driver to use newly introduced microcode container data checking functions as it was previously done for the early loader. Signed-off-by: Maciej S. Szmigiero --- arch/x86/kernel/cpu/microcode/amd.c | 70 + 1 file cha

[PATCH v6 6/8] x86/microcode/AMD: Integrate verify_patch_size() into verify_patch()

2018-05-19 Thread Maciej S. Szmigiero
Now that the previous commit converted the late loader to do a full patch checking via verify_patch() instead of calling verify_patch_size() directly we can integrate the later function into the former because it was its only user. Signed-off-by: Maciej S. Szmigiero --- arch/x86/kernel/cpu/micro

[PATCH v6 4/8] x86/microcode/AMD: Split status from data to skip in verify_and_add_patch()

2018-05-19 Thread Maciej S. Szmigiero
verify_and_add_patch() returned a single "int" value which encoded both this function error status and also a length of microcode container data to skip. Unfortunately, ranges of these two values collide: the length of data to skip can be any value between 1 and UINT_MAX, so, for example, error st

[PATCH v6 1/8] x86/microcode/AMD: Subtract SECTION_HDR_SIZE from file leftover length

2018-05-19 Thread Maciej S. Szmigiero
verify_patch_size() verifies whether the remaining size of the microcode container file is large enough to contain a patch of the indicated size. However, the section header length is not included in this indicated size but it is present in the leftover file length so it should be subtracted from

[PATCH v6 0/8] x86/microcode/AMD: Check microcode file sanity before loading it

2018-05-19 Thread Maciej S. Szmigiero
Currently, it is very easy to make the AMD microcode update driver crash or spin on a malformed microcode container file since it does very little consistency checking on data loaded from such file. This series introduces various checks, mostly on length-type fields, so all corrupted microcode con

[PATCH v6 3/8] x86/microcode/AMD: Check microcode container data in the early loader

2018-05-19 Thread Maciej S. Szmigiero
Convert the early loader in the AMD microcode update driver to use the container data checking functions introduced by the previous commit. We have to be careful to call these functions with 'early' parameter set, so they won't try to print errors as the early loader runs too early for printk()-st

[PATCH v6 2/8] x86/microcode/AMD: Add microcode container data checking functions

2018-05-19 Thread Maciej S. Szmigiero
Add verify_container(), verify_equivalence_table(), verify_patch_section() and verify_patch() functions to the AMD microcode update driver. These functions check whether a passed buffer contains the relevant structure, whether it isn't truncated and (for actual microcode patches) whether the size

Re: [PATCH v2 3/6] ARM: trusted_foundations: do not use naked function

2018-05-19 Thread Dmitry Osipenko
On 16.04.2018 21:21, Stefan Agner wrote: > On 16.04.2018 18:08, Stephen Warren wrote: >> On 04/16/2018 09:56 AM, Stefan Agner wrote: >>> On 27.03.2018 14:16, Dmitry Osipenko wrote: On 27.03.2018 14:54, Robin Murphy wrote: > On 26/03/18 22:20, Dmitry Osipenko wrote: >> On 25.03.2018 21:

Re: [PATCH] i2c-mux-pca954x: Force reset on probe if available

2018-05-19 Thread Peter Rosin
On 2018-05-08 10:06, Mike Looijmans wrote: > On 08-05-18 08:36, Peter Rosin wrote: >> On 2018-05-01 13:42, Mike Looijmans wrote: >>> Instead of just hogging the reset GPIO into deactivated state, activate and >>> then de-activate the reset. This allows for better recovery if the CPU was >>> reset h

Re: random: Wake up writers when random pools are zapped

2018-05-19 Thread Theodore Y. Ts'o
On Fri, May 18, 2018 at 02:57:36PM +0800, Herbert Xu wrote: > As it is when the pool is zapped with RNDCLEARPOOL writers are > not woken up and therefore the pool may remain in the empty state > indefinitely. > > This patch wakes them up unless the write threshold is set to zero. > > Signed-off-b

Re: [PATCH 5/6] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-19 Thread Janusz Krzysztofik
On Saturday, May 19, 2018 8:00:38 PM CEST Andy Shevchenko wrote: > On Sat, May 19, 2018 at 2:15 AM, Janusz Krzysztofik wrote: > > On Friday, May 18, 2018 11:21:14 PM CEST Andy Shevchenko wrote: > >> On Sat, May 19, 2018 at 12:09 AM, Janusz Krzysztofik > >> > >> wrote: > >> > + gpiod_rdy =

Re: [PATCH 1/4] i2c: mux: ltc4306: switch to using .probe_new

2018-05-19 Thread Peter Rosin
On 2018-04-18 11:26, Michael Hennerich wrote: > On 17.04.2018 16:32, Peter Rosin wrote: >> Use the new probe style for i2c drivers. >> >> Signed-off-by: Peter Rosin > > Thanks Peter, > > Don't know why i2c needs a new probe style to save one function parameter... > But this patch looks otherwise

Re: [PATCH 09/14] net: sched: don't release reference on action overwrite

2018-05-19 Thread Marcelo Ricardo Leitner
On Mon, May 14, 2018 at 05:27:10PM +0300, Vlad Buslov wrote: > Return from action init function with reference to action taken, > even when overwriting existing action. Isn't this patch necessary before patch 7, to not break things up? AFAICU after patchset 7 it assumes the action init function is

Re: [PATCH 06/14] net: sched: implement reference counted action release

2018-05-19 Thread Marcelo Ricardo Leitner
On Mon, May 14, 2018 at 05:27:07PM +0300, Vlad Buslov wrote: ... > @@ -1052,6 +1088,36 @@ static int tca_action_flush(struct net *net, struct > nlattr *nla, > return err; > } > > +static int tcf_action_delete(struct net *net, struct list_head *actions, > + struct ne

[PATCH resend] libata: blacklist Micron 500IT SSD with MU01 firmware

2018-05-19 Thread Sudip Mukherjee
From: Sudip Mukherjee While whitelisting Micron M500DC drives, the tweaked blacklist entry enabled queued TRIM from M500IT variants also. But these do not support queued TRIM. And while using those SSDs with the latest kernel we have seen errors and even the partition table getting corrupted. So

Re: [PATCH] Add the memcg print oom info for system oom

2018-05-19 Thread kbuild test robot
Hi yuzhoujian, Thank you for the patch! Yet something to improve: [auto build test ERROR on mmotm/master] [also build test ERROR on v4.17-rc5 next-20180517] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/lin

Re: [PATCH 04/14] net: sched: implement unlocked action init API

2018-05-19 Thread Marcelo Ricardo Leitner
On Mon, May 14, 2018 at 05:16:41PM +0200, Jiri Pirko wrote: > Mon, May 14, 2018 at 04:27:05PM CEST, vla...@mellanox.com wrote: > >Add additional 'unlocked' argument to act API init functions. > >Argument is true when rtnl lock is not taken and false otherwise. > >It is required to implement actions

Re: [PATCH 02/14] net: sched: change type of reference and bind counters

2018-05-19 Thread Marcelo Ricardo Leitner
On Mon, May 14, 2018 at 05:27:03PM +0300, Vlad Buslov wrote: > Change type of action reference counter to refcount_t. > > Change type of action bind counter to atomic_t. > This type is used to allow decrementing bind counter without testing > for 0 result. ... and in what does not testing for 0 re

Re: [PATCH v2 01/26] rculist: introduce list_next_or_null_rr_rcu()

2018-05-19 Thread Linus Torvalds
On Sat, May 19, 2018 at 1:25 PM Roman Penyaev < roman.peny...@profitbricks.com> wrote: > Another one list_for_each_entry_rcu()-like macro I am aware of is used in > block/blk-mq-sched.c, is called list_for_each_entry_rcu_rr(): https://elixir.bootlin.com/linux/v4.17-rc5/source/block/blk-mq-sched.

Re: [PATCH v2 01/26] rculist: introduce list_next_or_null_rr_rcu()

2018-05-19 Thread Linus Torvalds
On Sat, May 19, 2018 at 1:21 PM Roman Penyaev < roman.peny...@profitbricks.com> wrote: > I need -rr behaviour for doing IO load-balancing when I choose next RDMA > connection from the list in order to send a request, i.e. my code is > something like the following: [ incomplete pseudoicode ] > i.e.

Re: [PATCH v2 01/26] rculist: introduce list_next_or_null_rr_rcu()

2018-05-19 Thread Roman Penyaev
On Fri, May 18, 2018 at 6:56 PM, Linus Torvalds wrote: > On Fri, May 18, 2018 at 6:07 AM Roman Pen > wrote: > >> Function is going to be used in transport over RDMA module >> in subsequent patches. > > Does this really merit its own helper macro in a generic header? > > It honestly smells more li

[PATCH] Staging: rtl8192e: rtllib_tx: fix spelling issue.

2018-05-19 Thread Davide spataro
Fix a spelling warning from checkpatch.pl. Signed-off-by: Davide Spataro --- drivers/staging/rtl8192e/rtllib_tx.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c index fc88d47dea43..d3

PROBLEM: found 2 tests failed using "perf test" command

2018-05-19 Thread Jeffrin Thalakkottoor
hello, i found two tests failed while i did "sudo ./perf test" ---> 24: Object code reading : FAILED! 64: probe libc's inet_pton & backtrace it with ping : FAILED!

Re: [PATCH v2 01/26] rculist: introduce list_next_or_null_rr_rcu()

2018-05-19 Thread Roman Penyaev
On Sat, May 19, 2018 at 6:37 PM, Paul E. McKenney wrote: > On Fri, May 18, 2018 at 03:03:48PM +0200, Roman Pen wrote: >> Function is going to be used in transport over RDMA module >> in subsequent patches. >> >> Function returns next element in round-robin fashion, >> i.e. head will be skipped. N

[PATCH] drivers: nvmem: Add u16 and u8 accessors

2018-05-19 Thread Andrew Lunn
The nvmem core exports and accessor for getting a u32 from a cell. Add similar accessors for u16 and u8. Signed-off-by: Andrew Lunn --- drivers/nvmem/core.c | 74 ++ include/linux/nvmem-consumer.h | 14 +++ 2 files changed, 88 insertions(+) diff --g

Re: [PATCH V3 00/39] Intel(R) Resource Director Technology Cache Pseudo-Locking enabling

2018-05-19 Thread Thomas Gleixner
Reinette, On Wed, 25 Apr 2018, Reinette Chatre wrote: > This third series of Cache Pseudo-Locking enabling addresses all feedback > received during the upstream review of RFC V2. A very well done patch series. Was a pleasure to read. It conflicts with Vikas series which I just applied to tip::x8

Suggestion: „spectre_v2=off“ and „nopti“ per default in "Intel Atom N270" case?

2018-05-19 Thread Christian Krüger
Hi, Since the old "in-order-execution" Intel CPUs like the Intel Atom N270 (known for being installed in many Netbooks and Nettops) are not sensitive for "Meltdown" & "Spectre" , wouldn't it be a good idea to exclude these anyway "weak" CPUs from the costly patches by default? Browsing the w

Re: [PATCH v6 03/28] x86/asm/suspend: use SYM_DATA for data

2018-05-19 Thread Pavel Machek
On Fri 2018-05-18 11:16:56, Jiri Slaby wrote: > Some global data in the suspend code were marked as `ENTRY'. ENTRY was > intended for functions and shall be paired with ENDPROC. ENTRY also > aligns symbols which creates unnecessary holes here between data. Since > we are dropping historical marking

Re: [PATCH v6 02/28] x86/asm/suspend: drop ENTRY from local data

2018-05-19 Thread Pavel Machek
On Fri 2018-05-18 11:16:55, Jiri Slaby wrote: > ENTRY was intended for functions and shall be paired with ENDPROC. > ENTRY also aligns symbols which creates unnecessary holes here between > data. > > So drop ENTRY from saved_eip in wakeup_32 and many saved_* in wakeup_64, > as these symbols are lo

Re: [PATCH v7 0/3] pcal6524 extensions and fixes for pca953x driver

2018-05-19 Thread Andy Shevchenko
On Thu, May 17, 2018 at 7:59 AM, H. Nikolaus Schaller wrote: > V7: > * replace PCAL register masks by hex constants > Reviewed-by: Andy Shevchenko > 2018-05-16 19:01:29: V6: > * added proper attribution to the formula used for fixing the > pcal6524 register address (changes commit message on

[PATCH 02/15] clk: sunxi-ng: r40: Allow setting parent rate to display related clocks

2018-05-19 Thread Jernej Skrabec
Display related peripherals need precise clocks to operate correctly. Allow DE2, TCONs and HDMI to set parent clock. Signed-off-by: Jernej Skrabec --- drivers/clk/sunxi-ng/ccu-sun8i-r40.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/clk/sunxi-ng/ccu-s

  1   2   3   >