Re: [PATCH v2] clk: qcom: lpasscc: Re-configure the PLL in case lost

2020-10-14 Thread Taniya Das
Thanks Doug for the patch. On 10/14/2020 9:28 PM, Douglas Anderson wrote: From: Taniya Das In the case where the PLL configuration is lost, then the pm runtime resume will reconfigure before usage. Fixes: edab812d802d ("clk: qcom: lpass: Add support for LPASS clock controller for SC7180")

[GIT PULL] integrity subsystem updates for v5.10

2020-10-14 Thread Mimi Zohar
Hi Linus, The changes include continuation of the IMA policy rule cleanup and validation in particular for measuring keys, adding/removing/updating informational and error messages (e.g. "ima_appraise" boot command line option), and other bug fixes (e.g. minimal data size validation before use,

Re: [PATCH v2] clk: ti: clkctrl: fix the missed kfree() for _ti_omap4_clkctrl_setup()

2020-10-14 Thread Stephen Boyd
Quoting Jing Xiangfeng (2020-07-27 23:18:46) > _ti_omap4_clkctrl_setup() misses to call kfree() in an error path. Jump > to cleanup to fix it. > > Fixes: 6c3090520554 ("clk: ti: clkctrl: Fix hidden dependency to node name") > Signed-off-by: Jing Xiangfeng > --- > drivers/clk/ti/clkctrl.c | 2 +-

Re: [PATCH 20/20] arch: dts: Fix DWC USB3 DT nodes name

2020-10-14 Thread Serge Semin
On Wed, Oct 14, 2020 at 12:33:25PM +0200, Krzysztof Kozlowski wrote: > On Wed, 14 Oct 2020 at 12:23, Serge Semin > wrote: > > > > In accordance with the DWC USB3 bindings the corresponding node name is > > suppose to comply with Generic USB HCD DT schema, which requires the USB > > nodes to have

Re: [PATCH 1/1] clk: aspeed: modify some default clks are critical

2020-10-14 Thread Stephen Boyd
Quoting Joel Stanley (2020-10-13 22:28:00) > On Wed, 14 Oct 2020 at 02:50, Stephen Boyd wrote: > > > > Quoting Ryan Chen (2020-09-28 00:01:08) > > > In ASPEED SoC LCLK is LPC clock for all SuperIO device, UART1/UART2 are > > > default for Host SuperIO UART device, eSPI clk for Host eSPI bus

Re: [PATCH 0/5] gpio: uapi: documentation improvements

2020-10-14 Thread Andy Shevchenko
On Tue, Oct 13, 2020 at 7:34 PM Kent Gibson wrote: > On Tue, Oct 13, 2020 at 03:21:47PM +0200, Linus Walleij wrote: > > On Thu, Oct 8, 2020 at 5:46 PM Bartosz Golaszewski > > wrote: ... > > I am waiting for Kent to respin them addressing Andy's comments > > on patch 5/5 then they can go in as

[PATCH v4] drm/msm/dp: fixes wrong connection state caused by failure of link train

2020-10-14 Thread Kuogee Hsieh
Connection state is not set correctly happen when either failure of link train due to cable unplugged in the middle of aux channel reading or cable plugged in while in suspended state. This patch fixes these problems. This patch also replace ST_SUSPEND_PENDING with ST_DISPLAY_OFF. Changes in V2:

Re: [PATCH] firmware: arm_scmi: Fix duplicate workqueue name

2020-10-14 Thread Florian Fainelli
On 10/14/20 9:18 AM, Sudeep Holla wrote: > On Wed, Oct 14, 2020 at 02:48:19PM +0100, Cristian Marussi wrote: > > [...] > >>> >>> I have pushed a version with above change [1], please check if you are >>> happy with that ? >>> >>> [1] https://git.kernel.org/sudeep.holla/linux/c/b2cd15549b >> >> I

[PATCH v5] drm/msm/dp: return correct connection status after suspend

2020-10-14 Thread Kuogee Hsieh
During suspend, dp host controller and hpd block are disabled due to both ahb and aux clock are disabled. Therefore hpd plug/unplug interrupts will not be generated. At dp_pm_resume(), reinitialize both dp host controller and hpd block so that hpd plug/unplug interrupts will be generated and

Re: [PATCH v2 0/3] Clarify abstract scale usage for power values in Energy Model, EAS and IPA

2020-10-14 Thread Daniel Lezcano
On 14/10/2020 17:24, Lukasz Luba wrote: [ ... ] > We have to update the EM doc about allowed abstract scale, which > implies EAS, IPA doc update with some information to the community that > these components can handle it. > > The script will just make developers life easier, but the current >

Re: [PATCH v7 2/2] PCI: dwc: Fix MSI page leakage in suspend/resume

2020-10-14 Thread Robin Murphy
On 2020-10-14 17:52, Ard Biesheuvel wrote: On Mon, 12 Oct 2020 at 13:38, Robin Murphy wrote: On 2020-10-09 08:55, Jisheng Zhang wrote: Currently, dw_pcie_msi_init() allocates and maps page for msi, then program the PCIE_MSI_ADDR_LO and PCIE_MSI_ADDR_HI. The Root Complex may lose power during

Re: [PATCH] firmware: arm_scmi: Fix duplicate workqueue name

2020-10-14 Thread Florian Fainelli
On 10/14/20 2:18 AM, Sudeep Holla wrote: > Hi Florian, > > Thanks for the patch, it shows someone else is also using this and > testing . > > On Tue, Oct 13, 2020 at 07:17:37PM -0700, Florian Fainelli wrote: >> When more than a single SCMI device are present in the system, the >> creation of

Re: [PATCH] clk: at91: sam9x60: support only two programmable clocks

2020-10-14 Thread Stephen Boyd
Quoting Claudiu Beznea (2020-10-14 07:34:32) > According to datasheet (Chapter 29.16.13, PMC Programmable Clock Register) > there are only two programmable clocks on SAM9X60. > > Fixes: 01e2113de9a5 ("clk: at91: add sam9x60 pmc driver") > Signed-off-by: Claudiu Beznea > --- Applied to clk-next

Re: [PATCH v6 2/2] PCI/ERR: Split the fatal and non-fatal error recovery handling

2020-10-14 Thread Kuppuswamy, Sathyanarayanan
On 10/14/20 8:07 AM, Ethan Zhao wrote: On Wed, Oct 14, 2020 at 5:00 PM Kuppuswamy Sathyanarayanan wrote: Commit bdb5ac85777d ("PCI/ERR: Handle fatal error recovery") merged fatal and non-fatal error recovery paths, and also made recovery code depend on hotplug handler for "remove affected

Re: [PATCH v2] clk: qcom: lpasscc: Re-configure the PLL in case lost

2020-10-14 Thread Stephen Boyd
Quoting Douglas Anderson (2020-10-14 08:58:24) > diff --git a/drivers/clk/qcom/lpasscorecc-sc7180.c > b/drivers/clk/qcom/lpasscorecc-sc7180.c > index 228d08f5d26f..ee23eb5b9bf2 100644 > --- a/drivers/clk/qcom/lpasscorecc-sc7180.c > +++ b/drivers/clk/qcom/lpasscorecc-sc7180.c > @@ -356,6 +356,25

Re: [PATCH v2 3/9] rpmsg: virtio: Move from virtio to rpmsg byte conversion

2020-10-14 Thread Arnaud POULIQUEN
On 10/14/20 1:25 AM, Mathieu Poirier wrote: > Use rpmsg byte conversion functions in order for the RPMSG > headers and generic functions to be used by external entities. > > Signed-off-by: Mathieu Poirier > --- > drivers/rpmsg/virtio_rpmsg_bus.c | 60 +++- > 1

Re: [PATCH net] net: dsa: ksz: fix padding size of skb

2020-10-14 Thread Christian Eggers
Hi Vladimir, On Wednesday, 14 October 2020, 18:54:10 CEST, Vladimir Oltean wrote: > On Wed, Oct 14, 2020 at 07:47:50PM +0300, Vladimir Oltean wrote: > > On Wed, Oct 14, 2020 at 06:17:19PM +0200, Christian Eggers wrote: > > > __skb_put_padto() is called in order to ensure a minimal size of the > >

Re: general protection fault in __se_sys_io_uring_register

2020-10-14 Thread Jens Axboe
#syz dup: general protection fault in __do_sys_io_uring_register -- Jens Axboe

general protection fault in __se_sys_io_uring_register

2020-10-14 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:029f56db Merge tag 'x86_asm_for_v5.10' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1421c89b90 kernel config: https://syzkaller.appspot.com/x/.config?x=c5327fbeef7650a

Re: [RFC]: userspace memory reaping

2020-10-14 Thread Suren Baghdasaryan
On Wed, Oct 14, 2020 at 5:09 AM Michal Hocko wrote: > > [Sorry for a late reply] > > On Mon 14-09-20 17:45:44, Suren Baghdasaryan wrote: > > + linux-kernel@vger.kernel.org > > > > On Mon, Sep 14, 2020 at 5:43 PM Suren Baghdasaryan > > wrote: > > > > > > Last year I sent an RFC about using

Re: [PATCH net] net: dsa: ksz: fix padding size of skb

2020-10-14 Thread Vladimir Oltean
On Wed, Oct 14, 2020 at 07:47:50PM +0300, Vladimir Oltean wrote: > On Wed, Oct 14, 2020 at 06:17:19PM +0200, Christian Eggers wrote: > > __skb_put_padto() is called in order to ensure a minimal size of the > > sk_buff. The required minimal size is ETH_ZLEN + the size required for > > the tail tag.

Re: [PATCH v5 8/9] arm64: dts: rockchip: add isp0 node for rk3399

2020-10-14 Thread Helen Koike
Thank you Tomasz and Robin for your comments, On 10/14/20 1:43 PM, Tomasz Figa wrote: > On Wed, Oct 14, 2020 at 6:27 PM Helen Koike wrote: >> >> Hi Tomasz, >> >> On 9/26/20 10:00 AM, Tomasz Figa wrote: >>> Hi Helen, >>> >>> On Wed, Jul 22, 2020 at 12:55:32PM -0300, Helen Koike wrote: From:

Re: [PATCH v7 2/2] PCI: dwc: Fix MSI page leakage in suspend/resume

2020-10-14 Thread Ard Biesheuvel
On Mon, 12 Oct 2020 at 13:38, Robin Murphy wrote: > > On 2020-10-09 08:55, Jisheng Zhang wrote: > > Currently, dw_pcie_msi_init() allocates and maps page for msi, then > > program the PCIE_MSI_ADDR_LO and PCIE_MSI_ADDR_HI. The Root Complex > > may lose power during suspend-to-RAM, so when we

Re: [PATCH v2 4/4] ARM: dts: stm32: update stm32mp151 for remote proc synchronization support

2020-10-14 Thread Mathieu Poirier
On Wed, Oct 14, 2020 at 02:54:41PM +0200, Arnaud Pouliquen wrote: > Two backup registers are used to store the Cortex-M4 state and the resource > table address. > Declare the tamp node and add associated properties in m4_rproc node > to allow Linux to attach to a firmware loaded by the first boot

[tip: locking/urgent] locking/seqlocks: Fix kernel-doc warnings

2020-10-14 Thread tip-bot2 for Mauro Carvalho Chehab
The following commit has been merged into the locking/urgent branch of tip: Commit-ID: ed3e453798d4f81c99056aa09fcd79d0874a60fd Gitweb: https://git.kernel.org/tip/ed3e453798d4f81c99056aa09fcd79d0874a60fd Author:Mauro Carvalho Chehab AuthorDate:Tue, 13 Oct 2020 14:14:43

Re: [PATCH v6 02/25] objtool: Add a pass for generating __mcount_loc

2020-10-14 Thread Ingo Molnar
* Sami Tolvanen wrote: > From: Peter Zijlstra > > Add the --mcount option for generating __mcount_loc sections > needed for dynamic ftrace. Using this pass requires the kernel to > be compiled with -mfentry and CC_USING_NOP_MCOUNT to be defined > in Makefile. > > Link: >

[tip: x86/urgent] x86/unwind/orc: Fix inactive tasks with stack pointer in %sp on GCC 10 compiled kernels

2020-10-14 Thread tip-bot2 for Jiri Slaby
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: f2ac57a4c49d40409c21c82d23b5706df9b438af Gitweb: https://git.kernel.org/tip/f2ac57a4c49d40409c21c82d23b5706df9b438af Author:Jiri Slaby AuthorDate:Wed, 14 Oct 2020 07:30:51 +02:00 Committer:

Re: [PATCH v5 8/9] arm64: dts: rockchip: add isp0 node for rk3399

2020-10-14 Thread Tomasz Figa
On Wed, Oct 14, 2020 at 6:27 PM Helen Koike wrote: > > Hi Tomasz, > > On 9/26/20 10:00 AM, Tomasz Figa wrote: > > Hi Helen, > > > > On Wed, Jul 22, 2020 at 12:55:32PM -0300, Helen Koike wrote: > >> From: Shunqian Zheng > >> > >> RK3399 has two ISPs, but only isp0 was tested. > >> Add isp0 node

Re: [PATCH] perf jevents: Fix event code for events referencing std arch events

2020-10-14 Thread Arnaldo Carvalho de Melo
Em Mon, Oct 12, 2020 at 01:24:19PM +0200, Jiri Olsa escreveu: > On Mon, Oct 12, 2020 at 12:15:04PM +0100, John Garry wrote: > > On 12/10/2020 11:54, Jiri Olsa wrote: > > > > ff --git a/tools/perf/pmu-events/jevents.c > > > > b/tools/perf/pmu-events/jevents.c > > > > index

Re: [PATCH net] net: dsa: ksz: fix padding size of skb

2020-10-14 Thread Vladimir Oltean
On Wed, Oct 14, 2020 at 06:17:19PM +0200, Christian Eggers wrote: > __skb_put_padto() is called in order to ensure a minimal size of the > sk_buff. The required minimal size is ETH_ZLEN + the size required for > the tail tag. > > The current argument misses the size for the tail tag. The

Re: [PATCH v2 2/2] drm/mediatek: mtk_hdmi: add MT8167 support for HDMI

2020-10-14 Thread Fabien Parent
Hi Chun-Kuang, On Wed, Oct 14, 2020 at 6:25 PM Fabien Parent wrote: > > Hi Chun-Kuang, > > On Wed, Oct 14, 2020 at 3:00 PM Chun-Kuang Hu wrote: > > > > Hi, Fabien: > > > > Fabien Parent 於 2020年10月14日 週三 上午2:19寫道: > > > > > > Add support for HDMI on MT8167. HDMI on MT8167 is similar to > > >

Re: WARNING in __writeback_inodes_sb_nr

2020-10-14 Thread Eric Biggers
+linux-btrfs, for btrfs calling writeback_inodes_sb() from btrfs_start_delalloc_flush() without holding super_block::s_umount. On Wed, Oct 14, 2020 at 05:01:23AM -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:bbf5c979 Linux 5.9 > git tree:

Re: [PATCH v5 5/9] media: staging: rkisp1: remove unecessary clocks

2020-10-14 Thread Helen Koike
Hi Rob, Thnaks for your reply. On 9/22/20 11:24 AM, Rob Herring wrote: > On Wed, Jul 22, 2020 at 9:56 AM Helen Koike wrote: >> >> aclk_isp_wrap is a child of aclk_isp, and hclk_isp_wrap is a child of >> hclk_isp, thus we can remove parents from the list. >> >> Also, for the isp0, we only need

Re: [PATCH 09/11] [DEBUG] firmware: arm_scmi: add example SCMI driver for custom protocol

2020-10-14 Thread Cristian Marussi
Hi Randy, On Wed, Oct 14, 2020 at 08:55:08AM -0700, Randy Dunlap wrote: > Hi, > > On 10/14/20 8:05 AM, Cristian Marussi wrote: > > Add an example SCMI driver using custom vendor protocol 0x99 and also > > registering for Performance protocol notifications. > > > > Signed-off-by: Cristian

Re: [patch 03/12] USB: serial: keyspan_pda: Consolidate room query

2020-10-14 Thread Sebastian Andrzej Siewior
On 2020-10-14 12:34:25 [-0400], Alan Stern wrote: > On Wed, Oct 14, 2020 at 06:27:14PM +0200, Sebastian Andrzej Siewior wrote: > > On 2020-10-14 12:14:33 [-0400], Alan Stern wrote: > > > Instead, consider using the new usb_control_msg_recv() API. But it > > > might be better to allocate the

Re: [PATCH v5 8/9] arm64: dts: rockchip: add isp0 node for rk3399

2020-10-14 Thread Robin Murphy
On 2020-10-14 17:27, Helen Koike wrote: Hi Tomasz, On 9/26/20 10:00 AM, Tomasz Figa wrote: Hi Helen, On Wed, Jul 22, 2020 at 12:55:32PM -0300, Helen Koike wrote: From: Shunqian Zheng RK3399 has two ISPs, but only isp0 was tested. Add isp0 node in rk3399 dtsi Verified with: make ARCH=arm64

Re: [RFC PATCH 1/1] tracepoints: tree-wide: Replace %p with %px

2020-10-14 Thread Masami Hiramatsu
On Wed, 14 Oct 2020 11:35:17 -0400 Steven Rostedt wrote: > On Thu, 15 Oct 2020 00:11:04 +0900 > Masami Hiramatsu wrote: > > > On Wed, 14 Oct 2020 09:38:13 -0400 > > Steven Rostedt wrote: > > > > > > Hmm, would you mean we always run such conversion on printing the trace > > buffer for each

Re: [patch 11/12] usb: core: Replace in_interrupt() in comments

2020-10-14 Thread Sebastian Andrzej Siewior
On 2020-10-14 12:27:21 [-0400], Alan Stern wrote: > > --- a/drivers/usb/core/hcd.c > > +++ b/drivers/usb/core/hcd.c > > @@ -746,9 +746,6 @@ static int rh_call_control (struct usb_h > > * Root Hub interrupt transfers are polled using a timer if the > > * driver requests it; otherwise the driver

Re: [PATCH V2 2/2] cpufreq: dt: Refactor initialization to handle probe deferral properly

2020-10-14 Thread Geert Uytterhoeven
Hi Viresh, On Tue, Oct 13, 2020 at 11:56 AM Viresh Kumar wrote: > On 13-10-20, 11:47, Geert Uytterhoeven wrote: > > Thanks for your patch, which is now commit dc279ac6e5b4e06e ("cpufreq: > > dt: Refactor initialization to handle probe deferral properly") in > > pm/linux-next, and to which I

[PATCH v2] checkpatch: add new exception to repeated word check

2020-10-14 Thread Dwaipayan Ray
Recently, commit 4f6ad8aa1eac ("checkpatch: move repeated word test") moved the repeated word test to check for more file types. But after this, if checkpatch.pl is run on MAINTAINERS, it generates several new warnings of the type: WARNING: Possible repeated word: 'git' For example: WARNING:

Re: [patch 03/12] USB: serial: keyspan_pda: Consolidate room query

2020-10-14 Thread Alan Stern
On Wed, Oct 14, 2020 at 06:27:14PM +0200, Sebastian Andrzej Siewior wrote: > On 2020-10-14 12:14:33 [-0400], Alan Stern wrote: > > Instead, consider using the new usb_control_msg_recv() API. But it > > might be better to allocate the buffer once and for all. > > This will still allocate and

Re: [PATCH] checkpatch: add new exception to repeated word check

2020-10-14 Thread Dwaipayan Ray
On Wed, Oct 14, 2020 at 9:47 PM Joe Perches wrote: > > On Wed, 2020-10-14 at 19:26 +0530, Dwaipayan Ray wrote: > > Recently, commit 4f6ad8aa1eac ("checkpatch: move repeated word test") > > moved the repeated word test to check for more file types. But after > > this, if checkpatch.pl is run on

Re: [PATCH] ring-buffer: Add rb_check_bpage in __rb_allocate_pages

2020-10-14 Thread Qiujun Huang
On Thu, Oct 15, 2020 at 12:11 AM Steven Rostedt wrote: > > On Wed, 14 Oct 2020 23:48:05 +0800 > Qiujun Huang wrote: > > > On Wed, Oct 14, 2020 at 11:38 PM Steven Rostedt wrote: > > > > > > On Wed, 14 Oct 2020 23:16:14 +0800 > > > Qiujun Huang wrote: > > > > > > > It may be better to check each

[PATCH v2] fs: gfs2: add validation checks for size of superblock

2020-10-14 Thread Anant Thazhemadam
In gfs2_check_sb(), no validation checks are performed with regards to the size of the superblock. syzkaller detected a slab-out-of-bounds bug that was primarily caused because the block size for a superblock was set to zero. A valid size for a superblock is a power of 2 between 512 and PAGE_SIZE.

Re: [PATCH v2 2/9] rpmsg: Introduce __rpmsg{16|32|64} types

2020-10-14 Thread Arnaud POULIQUEN
Hi Mathieu, On 10/14/20 1:25 AM, Mathieu Poirier wrote: > Introduce __rpmsg{16|32|64} types along with byte order conversion > functions based on an rpmsg_device operation as a foundation to > make RPMSG modular and transport agnostic. > > Suggested-by: Guennadi Liakhovetski > Signed-off-by:

Re: [RFC PATCH 13/22] x86/fpu/xstate: Expand dynamic user state area on first use

2020-10-14 Thread Dave Hansen
On 10/14/20 9:10 AM, Andy Lutomirski wrote: >> Actually, I think the modified optimization would survive such a scheme: >> >> * copy page array into percpu area >> * XRSTORS from percpu area, modified optimization tuple is saved >> * run userspace >> * XSAVES back to percpu area. tuple

Re: [PATCH v5 8/9] arm64: dts: rockchip: add isp0 node for rk3399

2020-10-14 Thread Helen Koike
Hi Tomasz, On 9/26/20 10:00 AM, Tomasz Figa wrote: > Hi Helen, > > On Wed, Jul 22, 2020 at 12:55:32PM -0300, Helen Koike wrote: >> From: Shunqian Zheng >> >> RK3399 has two ISPs, but only isp0 was tested. >> Add isp0 node in rk3399 dtsi >> >> Verified with: >> make ARCH=arm64 dtbs_check >>

Re: [patch 11/12] usb: core: Replace in_interrupt() in comments

2020-10-14 Thread Alan Stern
On Wed, Oct 14, 2020 at 04:52:26PM +0200, Thomas Gleixner wrote: > From: Ahmed S. Darwish > > The usage of in_interrupt() in drivers is phased out for various reasons. > > Various comments use !in_interrupt() to describe calling context for > functions which might sleep. That's wrong because

Re: [patch 03/12] USB: serial: keyspan_pda: Consolidate room query

2020-10-14 Thread Sebastian Andrzej Siewior
On 2020-10-14 12:14:33 [-0400], Alan Stern wrote: > Instead, consider using the new usb_control_msg_recv() API. But it > might be better to allocate the buffer once and for all. This will still allocate and free buffer on each invocation. What about moving the query_buf to the begin of the

Re: INFO: task hung in usb_bulk_msg

2020-10-14 Thread Dmitry Vyukov
On Mon, Aug 31, 2020 at 3:08 PM 'Andrey Konovalov' via syzkaller-bugs wrote: > > On Sat, Aug 29, 2020 at 3:24 AM Alan Stern wrote: > > > > On Fri, Aug 28, 2020 at 05:52:16AM -0700, syzbot wrote: > > > syzbot has found a reproducer for the following issue on: > > > > > > HEAD commit:15bc20c6

Re: [PATCH 1/1] dt-bindings: clock: Add new OST support for the upcoming new driver.

2020-10-14 Thread Zhou Yanjie
Hi Rob, 在 2020/10/13 下午9:29, Rob Herring 写道: On Thu, Oct 08, 2020 at 02:14:07AM +0800, 周琰杰 (Zhou Yanjie) wrote: The new OST has one global timer and two or four percpu timers, so there will be three combinations in the upcoming new OST driver: the original GLOBAL_TIMER + PERCPU_TIMER, the

Re: [PATCH v2 2/2] drm/mediatek: mtk_hdmi: add MT8167 support for HDMI

2020-10-14 Thread Fabien Parent
Hi Chun-Kuang, On Wed, Oct 14, 2020 at 3:00 PM Chun-Kuang Hu wrote: > > Hi, Fabien: > > Fabien Parent 於 2020年10月14日 週三 上午2:19寫道: > > > > Add support for HDMI on MT8167. HDMI on MT8167 is similar to > > MT8173/MT2701 execpt for the two registers: SYS_CFG1C and SYS_CFG20 > > I think you should

[PATCH 1/2] arm64: dts: mediatek: mt8516: rename usb phy

2020-10-14 Thread Fabien Parent
The USB phy node is named usb0_phy but there is only one phy with 2 ports on MT8516. Rename the phy to make it more obvious it can also support the usb1 node. The usb1 node will be added in a follow-up commit. Signed-off-by: Fabien Parent --- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 2

[PATCH 2/2] arm64: dts: mediatek: mt8516: add usb1 node

2020-10-14 Thread Fabien Parent
The MT8516 has 2 USB instances. Add support for the second USB instance. usb1 can only work in host mode. Signed-off-by: Fabien Parent --- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi

Re: [patch 10/12] usb: gadget: udc: Remove in_interrupt()/in_irq() from comments

2020-10-14 Thread Alan Stern
On Wed, Oct 14, 2020 at 04:52:25PM +0200, Thomas Gleixner wrote: > From: Ahmed S. Darwish > > The usage of in_irq()/in_interrupt() in drivers is phased out for various > reasons. > > The context description for usb_gadget_giveback_request() is misleading as > in_interupt() means: hard interrupt

Re: [patch 08/12] usb: hosts: Remove in_interrupt() from comments

2020-10-14 Thread Alan Stern
On Wed, Oct 14, 2020 at 04:52:23PM +0200, Thomas Gleixner wrote: > From: Ahmed S. Darwish > > The usage of in_interrupt() in drivers is phased out for various reasons. > > Various comments use !in_interrupt() to describe calling context for probe() > and remove() functions. That's wrong because

Re: [PATCH] firmware: arm_scmi: Fix duplicate workqueue name

2020-10-14 Thread Sudeep Holla
On Wed, Oct 14, 2020 at 02:48:19PM +0100, Cristian Marussi wrote: [...] > > > > I have pushed a version with above change [1], please check if you are > > happy with that ? > > > > [1] https://git.kernel.org/sudeep.holla/linux/c/b2cd15549b > > I agree with the need to retain _notify name, but

[PATCH net] net: dsa: ksz: fix padding size of skb

2020-10-14 Thread Christian Eggers
__skb_put_padto() is called in order to ensure a minimal size of the sk_buff. The required minimal size is ETH_ZLEN + the size required for the tail tag. The current argument misses the size for the tail tag. The expression "skb->len + padlen" can be simplified to ETH_ZLEN. Too small sk_buffs

Re: [PATCH] checkpatch: add new exception to repeated word check

2020-10-14 Thread Joe Perches
On Wed, 2020-10-14 at 19:26 +0530, Dwaipayan Ray wrote: > Recently, commit 4f6ad8aa1eac ("checkpatch: move repeated word test") > moved the repeated word test to check for more file types. But after > this, if checkpatch.pl is run on MAINTAINERS, it generates several > new warnings of the type: >

Re: [patch 03/12] USB: serial: keyspan_pda: Consolidate room query

2020-10-14 Thread Thomas Gleixner
On Wed, Oct 14 2020 at 12:14, Alan Stern wrote: > On Wed, Oct 14, 2020 at 04:52:18PM +0200, Thomas Gleixner wrote: >> From: Sebastian Andrzej Siewior >> >> Having two copies of the same code doesn't make the code more readable and >> allocating a buffer of 1 byte for a synchronous operation is a

Re: [PATCH 1/3] gpiolib: cdev: allow edge event timestamps to be configured as REALTIME

2020-10-14 Thread Kent Gibson
On Wed, Oct 14, 2020 at 02:27:38PM +0800, Kent Gibson wrote: > Using CLOCK_REALTIME as the source for event timestamps is crucial for > some specific applications, particularly those requiring timetamps > relative to a PTP clock, so provide an option to switch the event > timestamp source from the

Re: [PATCH v2] perf: Add support for exclusive groups/events

2020-10-14 Thread Jiri Olsa
On Wed, Oct 14, 2020 at 12:22:12PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Oct 14, 2020 at 07:42:55AM -0700, Andi Kleen escreveu: > > Peter suggested that using the exclusive mode in perf could > > avoid some problems with bad scheduling of groups. Exclusive > > is implemented in the

Re: [PATCH] perf: Improve PT documentation slightly

2020-10-14 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 13, 2020 at 08:53:46PM -0700, Andi Kleen escreveu: > Document the higher level --insn-trace etc. perf script options. > > Include the howto how to build xed into the manpage Thanks, applied. > Cc: adrian.hun...@intel.com > Signed-off-by: Andi Kleen > --- >

Re: cgroup and FALLOC_FL_PUNCH_HOLE: WARNING: CPU: 13 PID: 2438 at mm/page_counter.c:57 page_counter_uncharge+0x4b/0x5

2020-10-14 Thread David Hildenbrand
On 14.10.20 17:22, David Hildenbrand wrote: > Hi everybody, > > Michal Privoznik played with "free page reporting" in QEMU/virtio-balloon > with hugetlbfs and reported that this results in [1] > > 1. WARNING: CPU: 13 PID: 2438 at mm/page_counter.c:57 > page_counter_uncharge+0x4b/0x5 > > 2. Any

Re: [PATCH v2 1/1] sched/uclamp: add SCHED_FLAG_UTIL_CLAMP_RESET flag to reset uclamp

2020-10-14 Thread Yun Hsiang
On Tue, Oct 13, 2020 at 06:52:03PM +0200, Patrick Bellasi wrote: Hi Patrick, > > On Tue, Oct 13, 2020 at 15:32:46 +0200, Qais Yousef > wrote... > > > On 10/13/20 13:46, Patrick Bellasi wrote: > >> > So IMO you just need a single SCHED_FLAG_UTIL_CLAMP_RESET that if set in > >> > the > >> >

Re: [PATCH v2] perf bench: Use condition variables in numa.

2020-10-14 Thread Jiri Olsa
On Wed, Oct 14, 2020 at 08:39:51AM -0700, Ian Rogers wrote: > On Wed, Oct 14, 2020 at 4:45 AM Jiri Olsa wrote: > > > > On Mon, Oct 12, 2020 at 09:16:11AM -0700, Ian Rogers wrote: > > > > SNIP > > > > > @@ -483,6 +484,18 @@ static void init_global_mutex(pthread_mutex_t *mutex) > > >

Re: [patch 03/12] USB: serial: keyspan_pda: Consolidate room query

2020-10-14 Thread Alan Stern
On Wed, Oct 14, 2020 at 04:52:18PM +0200, Thomas Gleixner wrote: > From: Sebastian Andrzej Siewior > > Having two copies of the same code doesn't make the code more readable and > allocating a buffer of 1 byte for a synchronous operation is a pointless > exercise. Not so. In fact, it is

Re: [PATCH 0/3] ASoC: sof: cleanup Kconfig files

2020-10-14 Thread Randy Dunlap
On 10/14/20 7:37 AM, Pierre-Louis Bossart wrote: > > > On 10/13/20 9:56 PM, Randy Dunlap wrote: >> Cc: Pierre-Louis Bossart >> Cc: Liam Girdwood >> Cc: Ranjani Sridharan >> Cc: Kai Vehmanen >> Cc: Daniel Baluta >> Cc: sound-open-firmw...@alsa-project.org >> Cc: alsa-de...@alsa-project.org

Re: [PATCH] ring-buffer: Add rb_check_bpage in __rb_allocate_pages

2020-10-14 Thread Steven Rostedt
On Wed, 14 Oct 2020 23:48:05 +0800 Qiujun Huang wrote: > On Wed, Oct 14, 2020 at 11:38 PM Steven Rostedt wrote: > > > > On Wed, 14 Oct 2020 23:16:14 +0800 > > Qiujun Huang wrote: > > > > > It may be better to check each page is aligned by 4 bytes. The 2 > > > least significant bits of the

Re: [PATCH v2] nvmet: fix uninitialized work for zero kato

2020-10-14 Thread Keith Busch
On Wed, Oct 14, 2020 at 11:36:50AM +0800, zhenwei pi wrote: > Fixes: > Don't run keep alive work with zero kato. "Fixes" tags need to have a git commit id followed by the commit subject. I can't find any commit with that subject, though.

[GIT PULL] Backlight for v5.10

2020-10-14 Thread Lee Jones
Good evening Linus, The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git tags/backlight-next-5.10 for you to fetch

Re: [RFC PATCH 13/22] x86/fpu/xstate: Expand dynamic user state area on first use

2020-10-14 Thread Andy Lutomirski
On Tue, Oct 13, 2020 at 11:03 PM Dave Hansen wrote: > > On 10/13/20 6:11 PM, Andy Lutomirski wrote: > > I have no problem with vmalloc(), but I do have a problem with > > vfree() due to the IPIs that result. We need a cache or something. > > This sounds like the kind of thing we should just build

[GIT PULL] MFD for v5.10

2020-10-14 Thread Lee Jones
Good evening Linus, A small trivial fix-up with IRQChip's Kconfig will be required. The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at:

Re: [PATCH] clk: at91: sam9x60: support only two programmable clocks

2020-10-14 Thread Nicolas Ferre
On 14/10/2020 at 16:34, Claudiu Beznea wrote: According to datasheet (Chapter 29.16.13, PMC Programmable Clock Register) there are only two programmable clocks on SAM9X60. Fixes: 01e2113de9a5 ("clk: at91: add sam9x60 pmc driver") Signed-off-by: Claudiu Beznea This is a fix: Acked-by: Nicolas

Re: general protection fault in __do_sys_io_uring_register

2020-10-14 Thread Pavel Begunkov
On 14/10/2020 14:35, Jens Axboe wrote: > On 10/14/20 6:01 AM, syzbot wrote: >> Hello, >> >> syzbot found the following issue on: >> >> HEAD commit:029f56db Merge tag 'x86_asm_for_v5.10' of git://git.kernel.. >> git tree: upstream >> console output:

Re: [PATCH 1/3] thermal: power_allocator: respect upper and lower bounds for cooling device

2020-10-14 Thread Lukasz Luba
On 10/14/20 1:31 PM, Daniel Lezcano wrote: On 07/10/2020 14:22, Lukasz Luba wrote: The thermal cooling device specified in DT might be instantiated for a thermal zone trip point with a limited set of OPPs to operate on. This configuration should be supported by Intelligent Power Allocation

Re: [PATCH v2 04/24] docs: lockdep-design: fix some warning issues

2020-10-14 Thread Mauro Carvalho Chehab
Em Tue, 13 Oct 2020 16:02:50 +0100 Matthew Wilcox escreveu: > On Tue, Oct 13, 2020 at 04:09:41PM +0200, Peter Zijlstra wrote: > > On Tue, Oct 13, 2020 at 02:11:16PM +0100, Matthew Wilcox wrote: > > > On Tue, Oct 13, 2020 at 02:52:06PM +0200, Peter Zijlstra wrote: > > > > On Tue, Oct 13, 2020 at

Re: [PATCH v2 1/3] kernel: make kcov_common_handle consider the current context

2020-10-14 Thread Andrey Konovalov
On Fri, Oct 9, 2020 at 7:02 PM Aleksandr Nogikh wrote: > > From: Aleksandr Nogikh > > kcov_common_handle is a method that is used to obtain a "default" KCOV > remote handle of the current process. The handle can later be passed > to kcov_remote_start in order to collect coverage for the

RE: [PATCH v3 4/5] media: dt-bindings: media: renesas,drif: Add r8a77965 support

2020-10-14 Thread Fabrizio Castro
Hi Geert, > From: Geert Uytterhoeven > Sent: 14 October 2020 15:52 > Subject: Re: [PATCH v3 4/5] media: dt-bindings: media: renesas,drif: Add > r8a77965 support > > Hi Fabrizio, > > On Wed, Oct 14, 2020 at 4:35 PM Fabrizio Castro > wrote: > > > From: Geert Uytterhoeven > > > On Tue, Oct 13,

Re: [PATCH 1/2] coresight: tmc-etf: Fix NULL ptr dereference in tmc_enable_etf_sink_perf()

2020-10-14 Thread Sai Prakash Ranjan
On 2020-10-14 18:46, Suzuki K Poulose wrote: On 10/14/2020 10:36 AM, Sai Prakash Ranjan wrote: On 2020-10-13 22:05, Suzuki K Poulose wrote: On 10/07/2020 02:00 PM, Sai Prakash Ranjan wrote: There was a report of NULL pointer dereference in ETF enable path for perf CS mode with PID monitoring.

[PATCH v2] clk: qcom: lpasscc: Re-configure the PLL in case lost

2020-10-14 Thread Douglas Anderson
From: Taniya Das In the case where the PLL configuration is lost, then the pm runtime resume will reconfigure before usage. Fixes: edab812d802d ("clk: qcom: lpass: Add support for LPASS clock controller for SC7180") Signed-off-by: Taniya Das Signed-off-by: Douglas Anderson --- I took the

[PATCH v4 4/5] media: dt-bindings: media: renesas,drif: Add r8a77965 support

2020-10-14 Thread Fabrizio Castro
The r8a77965 (a.k.a. R-Car M3-N) device tree schema is compatible with the already documented R-Car Gen3 devices. Document r8a77965 support within renesas,drif.yaml. Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart Reviewed-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven ---

[PATCH v4 5/5] arm64: dts: r8a77965: Add DRIF support

2020-10-14 Thread Fabrizio Castro
Add the DRIF controller nodes for r8a77965 (a.k.a. R-Car M3-N). Signed-off-by: Fabrizio Castro Reviewed-by: Lad Prabhakar --- v3->v4: * No change v2->v3: * New patch arch/arm64/boot/dts/renesas/r8a77965.dtsi | 120 ++ 1 file changed, 120 insertions(+) diff --git

[PATCH v4 3/5] media: dt-bindings: media: renesas,drif: Add r8a77990 support

2020-10-14 Thread Fabrizio Castro
The r8a77990 (a.k.a. R-Car E3) device tree schema is compatible with R-Car H3 and M3-W schema. Document r8a77990 support within renesas,drif.yaml. Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Reviewed-by: Lad Prabhakar Reviewed-by: Laurent Pinchart --- v3->v4: * No change

[PATCH v4 2/5] media: dt-bindings: media: renesas,drif: Convert to json-schema

2020-10-14 Thread Fabrizio Castro
Convert the Renesas DRIF bindings to DT schema and update MAINTAINERS accordingly. Signed-off-by: Fabrizio Castro Reviewed-by: Lad Prabhakar Reviewed-by: Laurent Pinchart Reviewed-by: Geert Uytterhoeven --- v3->v4: * Replace "if" statement with "else" statement for the branch rejecting

[PATCH v4 1/5] MAINTAINERS: Update MAINTAINERS for Renesas DRIF driver

2020-10-14 Thread Fabrizio Castro
Add Fabrizio castro and remove Ramesh Shanmugasundaram. Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart Reviewed-by: Ramesh Shanmugasundaram --- v3->v4: * No change v2->v3: * Removed Ramesh Shanmugasundaram as maintainer, as suggested by Ramesh * Reworked commit title and

[PATCH v4 0/5] Add r8a77965 DRIF support

2020-10-14 Thread Fabrizio Castro
Dear All, this series is to add DRIF support for the r8a77965 (a.k.a. R-Car M3-N). Version 4 improves the DT schema for DRIF, as suggested by Geert. Thanks, Fab Fabrizio Castro (5): MAINTAINERS: Update MAINTAINERS for Renesas DRIF driver media: dt-bindings: media: renesas,drif: Convert to

Re: [PATCH 6/8] iommu/arm-smmu: Move stream mapping reset to separate function

2020-10-14 Thread Robin Murphy
On 2020-09-26 14:00, khol...@gmail.com wrote: From: AngeloGioacchino Del Regno Move the stream mapping reset logic from arm_smmu_device_reset into a separate arm_smmu_stream_mapping_reset function, in preparation for implementing an implementation detail. This commit brings no functional

Re: [PATCH 09/11] [DEBUG] firmware: arm_scmi: add example SCMI driver for custom protocol

2020-10-14 Thread Randy Dunlap
Hi, On 10/14/20 8:05 AM, Cristian Marussi wrote: > Add an example SCMI driver using custom vendor protocol 0x99 and also > registering for Performance protocol notifications. > > Signed-off-by: Cristian Marussi > --- > drivers/firmware/Kconfig | 7 + >

Re: [PATCH v2] kcov, usbip: collect coverage from vhci_rx_loop

2020-10-14 Thread Andrey Konovalov
On Tue, Oct 13, 2020 at 7:28 PM Shuah Khan wrote: > > On 10/12/20 11:10 AM, Andrey Konovalov wrote: > > From: Nazime Hande Harputluoglu > > > > Add kcov_remote_start()/kcov_remote_stop() annotations to the > > vhci_rx_loop() function, which is responsible for parsing USB/IP packets > > coming

[GIT PULL] Devicetree updates for v5.10

2020-10-14 Thread Rob Herring
Linus, Please pull DT updates for v5.10. There's one trivial conflict with Documentation/x86/index.rst in your tree. Rob The following changes since commit efe84d408bf41975db8506d3a1cc02e794e2309c: scripts/dtc: only append to HOST_EXTRACFLAGS instead of overwriting (2020-09-29 15:48:08

Re: [PATCH v4 5/5] x86: mremap speedup - Enable HAVE_MOVE_PUD

2020-10-14 Thread Ingo Molnar
* Kalesh Singh wrote: > HAVE_MOVE_PUD enables remapping pages at the PUD level if both the > source and destination addresses are PUD-aligned. > > With HAVE_MOVE_PUD enabled it can be inferred that there is approximately > a 13x improvement in performance on x86. (See data below). > >

Re: [PATCH 4/8] iommu/arm-smmu: Support test_smr_masks implementation detail deviation

2020-10-14 Thread Robin Murphy
On 2020-09-26 14:00, khol...@gmail.com wrote: From: AngeloGioacchino Del Regno At least some Qualcomm SoCs do need to override the function arm_smmu_test_smr_masks entirely: add a test_smr_masks function to the implementation details structure and call it properly. Signed-off-by:

Re: [PATCH 0/3] ASoC: sof: cleanup Kconfig files

2020-10-14 Thread Pierre-Louis Bossart
On 10/13/20 9:56 PM, Randy Dunlap wrote: Cc: Pierre-Louis Bossart Cc: Liam Girdwood Cc: Ranjani Sridharan Cc: Kai Vehmanen Cc: Daniel Baluta Cc: sound-open-firmw...@alsa-project.org Cc: alsa-de...@alsa-project.org Some general editing of sound/soc/sof/ Kconfig files: Thanks Randy!

Re: [PATCH] ring-buffer: Add rb_check_bpage in __rb_allocate_pages

2020-10-14 Thread Qiujun Huang
On Wed, Oct 14, 2020 at 11:38 PM Steven Rostedt wrote: > > On Wed, 14 Oct 2020 23:16:14 +0800 > Qiujun Huang wrote: > > > It may be better to check each page is aligned by 4 bytes. The 2 > > least significant bits of the address will be used as flags. > > > > Signed-off-by: Qiujun Huang > > ---

Re: [RFC] Documentation: Add documentation for new performance_profile sysfs class

2020-10-14 Thread Rafael J. Wysocki
On Wed, Oct 14, 2020 at 4:16 PM Hans de Goede wrote: > > Hi, > > On 10/14/20 3:55 PM, Rafael J. Wysocki wrote: > > On Tue, Oct 13, 2020 at 3:09 PM Hans de Goede wrote: > >> > >> Hi, > >> > >> On 10/12/20 6:42 PM, Rafael J. Wysocki wrote: > >>> On Wed, Oct 7, 2020 at 8:41 PM Limonciello, Mario >

[PATCH] arm64: dts: ipq6018: update the reserved-memory node

2020-10-14 Thread Kathiravan T
Memory region reserved for the TZ is changed long back. Let's update the same to align with the corret region. Its size also increased to 4MB from 2MB. Along with that, bump the Q6 region size to 85MB. Fixes: 1e8277854b49 ("arm64: dts: Add ipq6018 SoC and CP01 board support") Signed-off-by:

Re: [patch 07/12] usbip: Remove in_interrupt() check

2020-10-14 Thread Shuah Khan
On 10/14/20 8:52 AM, Thomas Gleixner wrote: From: Ahmed S. Darwish The usage of in_interrupt() in drivers is phased out and Linus clearly requested that code which changes behaviour depending on context should either be separated or the context be conveyed in an argument passed by the caller,

Re: [PATCH 5/8] x86/clear_page: add clear_page_uncached()

2020-10-14 Thread Andy Lutomirski
On Wed, Oct 14, 2020 at 1:33 AM Ankur Arora wrote: > > Define clear_page_uncached() as an alternative_call() to clear_page_nt() > if the CPU sets X86_FEATURE_NT_GOOD and fallback to clear_page() if it > doesn't. > > Similarly define clear_page_uncached_flush() which provides an SFENCE > if the

Re: [PATCH 2/8] iommu/arm-smmu-qcom: Add QC SMMUv2 VA Size quirk for SDM660

2020-10-14 Thread Robin Murphy
On 2020-09-26 13:59, khol...@gmail.com wrote: From: AngeloGioacchino Del Regno Some IOMMUs are getting set-up for Shared Virtual Address, but: 1. They are secured by the Hypervisor, so any configuration change will generate a hyp-fault and crash the system 2. This 39-bits Virtual Address

<    1   2   3   4   5   6   7   8   9   10   >