Re: [PATCH 9/9] block: remove revalidate_disk()

2020-09-02 Thread Song Liu
On Tue, Sep 1, 2020 at 9:00 AM Christoph Hellwig wrote: > > Remove the now unused helper. > > Signed-off-by: Christoph Hellwig Acked-by: Song Liu

Re: [PATCH] sched/deadline: Fix stale throttling on de-/boosted tasks

2020-09-02 Thread Juri Lelli
Hi, On 31/08/20 13:07, Lucas Stach wrote: > When a boosted task gets throttled, what normally happens is that it's > immediately enqueued again with ENQUEUE_REPLENISH, which replenishes the > runtime and clears the dl_throttled flag. There is a special case however: > if the throttling happened

Re: [PATCH] arm64/module: set trampoline section flags regardless of CONFIG_DYNAMIC_FTRACE

2020-09-02 Thread Ard Biesheuvel
On Tue, 1 Sep 2020 at 19:00, Jessica Yu wrote: > > In the arm64 module linker script, the section .text.ftrace_trampoline > is specified unconditionally regardless of whether CONFIG_DYNAMIC_FTRACE > is enabled (this is simply due to the limitation that module linker > scripts are not preprocessed

Re: [PATCH] serial: qcom_geni_serial: To correct QUP Version detection logic

2020-09-02 Thread Greg Kroah-Hartman
On Wed, Sep 02, 2020 at 11:26:51AM +0530, Paras Sharma wrote: > The current implementation reduces the sampling rate by half > if qup HW version is greater is than 2.5 by checking if the > geni SE major version is greater than 2 and geni SE minor version > is greater than 5. > > This

Re: [PATCH 4/9] block: add a new revalidate_disk_size helper

2020-09-02 Thread Song Liu
On Tue, Sep 1, 2020 at 9:00 AM Christoph Hellwig wrote: > [...] > drivers/md/md-cluster.c | 6 ++--- > drivers/md/md-linear.c| 2 +- > drivers/md/md.c | 10 - For md bits: Acked-by: Song Liu [...] > > +/** > + * revalidate_disk_size - checks for disk size

Re: [RFC PATCH] USB: misc: Add usb_hub_pwr driver

2020-09-02 Thread Greg Kroah-Hartman
On Tue, Sep 01, 2020 at 01:21:43PM -0700, Matthias Kaehlcke wrote: > diff --git a/drivers/usb/misc/Makefile b/drivers/usb/misc/Makefile > index da39bddb0604..2bd02388ca62 100644 > --- a/drivers/usb/misc/Makefile > +++ b/drivers/usb/misc/Makefile > @@ -31,3 +31,4 @@ obj-$(CONFIG_USB_CHAOSKEY)

Re: [PATCH v1 09/10] powerpc/pseries/iommu: Make use of DDW even if it does not map the partition

2020-09-02 Thread Leonardo Bras
On Mon, 2020-08-31 at 14:35 +1000, Alexey Kardashevskiy wrote: > > On 29/08/2020 04:36, Leonardo Bras wrote: > > On Mon, 2020-08-24 at 15:17 +1000, Alexey Kardashevskiy wrote: > > > On 18/08/2020 09:40, Leonardo Bras wrote: > > > > As of today, if the biggest DDW that can be created can't map the

Re: [PATCH v2] iio: stm32-dac: Replace indio_dev->mlock with own device lock

2020-09-02 Thread Alexandru Ardelean
On Sat, Aug 29, 2020 at 6:46 PM Jonathan Cameron wrote: > > On Thu, 27 Aug 2020 13:00:36 +0300 > Alexandru Ardelean wrote: > > > On Thu, Aug 27, 2020 at 12:03 PM Fabrice Gasnier > > wrote: > > > > > > On 8/27/20 10:55 AM, Alexandru Ardelean wrote: > > > > On Wed, Aug 26, 2020 at 3:03 PM

Re: [PATCH kcsan 18/19] bitops, kcsan: Partially revert instrumentation for non-atomic bitops

2020-09-02 Thread Marco Elver
On Wed, Sep 02, 2020 at 11:30AM +0800, Boqun Feng wrote: > Hi Paul and Marco, > > The whole update patchset looks good to me, just one question out of > curiosity fo this one, please see below: > > On Mon, Aug 31, 2020 at 11:18:04AM -0700, paul...@kernel.org wrote: > > From: Marco Elver > > >

Re: [PATCH 10/10] powerpc: remove address space overrides using set_fs()

2020-09-02 Thread Christophe Leroy
Le 27/08/2020 à 17:00, Christoph Hellwig a écrit : Stop providing the possibility to override the address space using set_fs() now that there is no need for that any more. Signed-off-by: Christoph Hellwig --- arch/powerpc/Kconfig | 1 -

Re: [PATCH] staging: gdm724x: gdm_tty: replaced macro with a function

2020-09-02 Thread Greg KH
On Tue, Sep 01, 2020 at 10:16:26PM +0200, Antoni Przybylik wrote: > This approach is more elegant and prevents some problems related to > macros such as operator precedence in expanded expression. > > Signed-off-by: Antoni Przybylik > --- > drivers/staging/gdm724x/gdm_tty.c | 15 +--

Re: [PATCH v2 00/28] The new cgroup slab memory controller

2020-09-02 Thread Bharata B Rao
On Tue, Sep 01, 2020 at 08:52:05AM -0400, Pavel Tatashin wrote: > On Tue, Sep 1, 2020 at 1:28 AM Bharata B Rao wrote: > > > > On Fri, Aug 28, 2020 at 12:47:03PM -0400, Pavel Tatashin wrote: > > > There appears to be another problem that is related to the > > > cgroup_mutex -> mem_hotplug_lock

Re: [PATCH 3/3] media: imx258: Get clock from device properties and enable it

2020-09-02 Thread Krzysztof Kozlowski
On Mon, 31 Aug 2020 at 11:09, Sakari Ailus wrote: > > Hi Krzysztof, > > Thanks for the patchset. > > On Fri, Aug 28, 2020 at 06:00:53PM +0200, Krzysztof Kozlowski wrote: > > The IMX258 sensor driver checked in device properties for a > > clock-frequency property which actually does not mean that

Re: [PATCH v2 1/3] dt-bindings: crypto: add new compatible for V3s

2020-09-02 Thread Corentin Labbe
On Tue, Sep 01, 2020 at 01:40:15PM +0200, Maxime Ripard wrote: > On Tue, Sep 01, 2020 at 12:57:19PM +0200, Corentin Labbe wrote: > > On Tue, Sep 01, 2020 at 11:32:49AM +0200, Maxime Ripard wrote: > > > On Mon, Aug 31, 2020 at 09:30:59AM +0200, Martin Cerveny wrote: > > > > Like A33 "sun4i-ss" has

[PATCH] f2fs: change i_compr_blocks of inode to atomic value

2020-09-02 Thread Daeho Jeong
From: Daeho Jeong writepages() can be concurrently invoked for the same file by different threads such as a thread fsyncing the file and a kworker kernel thread. So, changing i_compr_blocks without protection is racy and we need to protect it by changing it with atomic type value.

Re: [PATCH net-next] net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc

2020-09-02 Thread Yunsheng Lin
On 2020/9/2 12:41, Cong Wang wrote: > On Tue, Sep 1, 2020 at 6:42 PM Yunsheng Lin wrote: >> >> On 2020/9/2 2:24, Cong Wang wrote: >>> On Mon, Aug 31, 2020 at 5:59 PM Yunsheng Lin wrote: Currently there is concurrent reset and enqueue operation for the same lockless qdisc when

[PATCH v3 0/2] Add MStar interrupt controller support

2020-09-02 Thread Mark-PK Tsai
MStar contain a legacy interrupt controller that routes interrupts to the GIC. SigmaStar and Mediatek TV SoCs also have this interrupt controller IP. Mark-PK Tsai (2): irqchip: irq-mst: Add MStar interrupt controller support dt-bindings: interrupt-controller: Add MStar interrupt controller

[PATCH v3 1/2] irqchip: irq-mst: Add MStar interrupt controller support

2020-09-02 Thread Mark-PK Tsai
Add MStar interrupt controller support using hierarchy irq domain. Signed-off-by: Mark-PK Tsai Tested-by: Daniel Palmer --- MAINTAINERS| 7 ++ drivers/irqchip/Kconfig| 8 ++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-mst-intc.c | 199

[PATCH v3 2/2] dt-bindings: interrupt-controller: Add MStar interrupt controller

2020-09-02 Thread Mark-PK Tsai
Add binding for MStar interrupt controller. Signed-off-by: Mark-PK Tsai --- .../interrupt-controller/mstar,mst-intc.yaml | 64 +++ 1 file changed, 64 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml diff --git

Re: [PATCH v7] Add MediaTek MT6779 devapc driver

2020-09-02 Thread Neal Liu
Hi Rob, Matthias, Chun-Kuang, Gentle ping for this patch set. Thanks -Neal On Thu, 2020-08-27 at 11:06 +0800, Neal Liu wrote: > These patch series introduce a MediaTek MT6779 devapc driver. > > MediaTek bus fabric provides TrustZone security support and data protection > to prevent slaves

[PATCH v7 0/2]dd support for Tianma nt36672a video mode panel

2020-09-02 Thread Sumit Semwal
Some Poco F1 phones from Xiaomi have a FHD+ video mode panel based on the Novatek NT36672A display controller; Add support for the same. Most of the panel data is taken from downstream panel dts, and is converted to drm-panel based driver by me. It has been validated with v5.9-rc1 based

[PATCH v7 2/2] drm: panel: Add novatek nt36672a panel driver

2020-09-02 Thread Sumit Semwal
Novatek NT36672a is a generic DSI IC that drives command and video mode panels. Add the driver for it. Right now adding support for some Poco F1 phones that have an LCD panel from Tianma connected with this IC, with a resolution of 1080x2246 that operates in DSI video mode. During testing, Benni

[PATCH v7 1/2] dt-bindings: display: panel: Add bindings for Novatek nt36672a

2020-09-02 Thread Sumit Semwal
Novatek nt36672a is a display driver IC that can drive DSI panel. It is also present in the Tianma video mode panel, which is a FHD+ panel with a resolution of 1080x2246 and 6.18 inches size. It is found in some of the Poco F1 phones. This patch adds the display driver for the IC, with support

[PATCH] module: Add more error message for failed kernel module loading

2020-09-02 Thread Qu Wenruo
When kernel module loading failed, user space only get one of the following error messages: - ENOEXEC This is the most confusing one. From corrupted ELF header to bad WRITE|EXEC flags check introduced by in module_enforce_rwx_sections() all returns this error number. - EPERM This is for

Re: [PATCH v5 2/3] dt-bindings: media: imx274: Add optional input clock and supplies

2020-09-02 Thread Luca Ceresoli
Hi Sowjanya, On 02/09/20 04:04, Sowjanya Komatineni wrote: > This patch adds IMX274 optional external clock input and voltage > supplies to device tree bindings. > > Reviewed-by: Luca Ceresoli > Signed-off-by: Sowjanya Komatineni > --- > .../devicetree/bindings/media/i2c/sony,imx274.yaml |

Re: [PATCH 2/2] powerpc/vdso32: link vdso64 with linker

2020-09-02 Thread Christophe Leroy
On 09/01/2020 10:25 PM, Nick Desaulniers wrote: Rather than invoke the compiler as the driver, use the linker. That way we can check --orphan-handling=warn support correctly, as cc-ldoption was removed in commit 055efab3120b ("kbuild: drop support for cc-ldoption"). Requires dropping the

[PATCH v1 2/6] clk: rockchip: Export rockchip_clk_register_ddrclk()

2020-09-02 Thread Elaine Zhang
This is used by the Rockchip clk driver, export it to allow that driver to be compiled as a module.. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-ddr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-ddr.c b/drivers/clk/rockchip/clk-ddr.c index

[PATCH v1 3/6] clk: rockchip: Export rockchip_register_softrst()

2020-09-02 Thread Elaine Zhang
This is used by the Rockchip clk driver, export it to allow that driver to be compiled as a module.. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/softrst.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/clk/rockchip/softrst.c

[PATCH v1 1/6] clk: rockchip: Use clk_hw_register_composite instead of clk_register_composite calls

2020-09-02 Thread Elaine Zhang
clk_hw_register_composite it's already exported. Preparation for compilation of rK common clock drivers into modules. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-half-divider.c | 12 + drivers/clk/rockchip/clk.c | 35 ++--- 2 files changed,

[PATCH v1 4/6] clk: rockchip: Export some clock common APIs for module drivers

2020-09-02 Thread Elaine Zhang
This is used by the Rockchip clk driver, export it to allow that driver to be compiled as a module. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk.c | 52 ++ 1 file changed, 30 insertions(+), 22 deletions(-) diff --git a/drivers/clk/rockchip/clk.c

Re: WARNING: suspicious RCU usage - sdhci-pltfm: SDHCI platform and OF driver helper

2020-09-02 Thread Ulf Hansson
On Tue, 1 Sep 2020 at 17:00, Paul E. McKenney wrote: > > On Tue, Sep 01, 2020 at 08:46:54AM +0200, Ulf Hansson wrote: > > + Saravanna, Rafael, Lina > > > > On Mon, 31 Aug 2020 at 21:44, Paul E. McKenney wrote: > > > > > > On Mon, Aug 31, 2020 at 12:02:31PM +0530, Naresh Kamboju wrote: > > > >

[PATCH v1 6/6] clk: rockchip: rk3399: Support module build

2020-09-02 Thread Elaine Zhang
support CLK_OF_DECLARE and builtin_platform_driver_probe double clk init method. add module author, description and license to support building Soc Rk3399 clock driver as module. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3399.c | 40 +++ 1 file

[PATCH v1 5/6] clk: rockchip: fix the clk config to support module build

2020-09-02 Thread Elaine Zhang
use CONFIG_COMMON_CLK_ROCKCHIP for Rk common clk drivers. use CONFIG_CLK_RKXX for Rk soc clk driver. Mark configuration to "tristate", to support building Rk SoCs clock driver as module. Signed-off-by: Elaine Zhang --- drivers/clk/Kconfig | 1 + drivers/clk/rockchip/Kconfig | 78

Re: [PATCH] coccinelle: ifnullfree: add vfree(), kvfree*() functions

2020-09-02 Thread Julia Lawall
On Wed, 2 Sep 2020, Denis Efremov wrote: > Extend the list of free functions with kvfree(), kvfree_sensitive(), > vfree(). > > Signed-off-by: Denis Efremov Applied, thanks. julia > --- > scripts/coccinelle/free/ifnullfree.cocci | 11 +-- > 1 file changed, 9 insertions(+), 2

Re: [PATCH 2/2] dt-bindings: interrupt-controller: Add MStar interrupt controller

2020-09-02 Thread Mark-PK Tsai
Hi, I've updated the yaml and post it in the patch series v3[1]. But I still keep the vendor specific property mstar,irqs-map-range as I mentioned in the last reply. Please review it. [1] https://lore.kernel.org/lkml/20200902063344.1852-3-mark-pk.t...@mediatek.com/

Re: [PATCH v5 2/3] dt-bindings: media: imx274: Add optional input clock and supplies

2020-09-02 Thread Luca Ceresoli
Hi again... On 02/09/20 08:46, Luca Ceresoli wrote: > Hi Sowjanya, > > On 02/09/20 04:04, Sowjanya Komatineni wrote: >> This patch adds IMX274 optional external clock input and voltage >> supplies to device tree bindings. >> >> Reviewed-by: Luca Ceresoli >> Signed-off-by: Sowjanya Komatineni

RE: [PATCH v5 1/2] phy: Add new PHY attribute max_link_rate and APIs to get/set PHY attributes

2020-09-02 Thread Swapnil Kashinath Jakhade
Hi Laurent, Thank you for your review comments. > -Original Message- > From: Laurent Pinchart > Sent: Wednesday, September 2, 2020 5:56 AM > To: Swapnil Kashinath Jakhade > Cc: vk...@kernel.org; kis...@ti.com; linux-kernel@vger.kernel.org; > max...@cerno.tech; Milind Parab ; Yuti

Re: [PATCH 4.19 000/125] 4.19.143-rc1 review

2020-09-02 Thread Naresh Kamboju
On Tue, 1 Sep 2020 at 20:53, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.143 release. > There are 125 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH v1 0/6] clk: rockchip: Support module build

2020-09-02 Thread Elaine Zhang
Export some APIs for module drivers. Fix the clock config to support module build. Fix the clk driver init, add module author, description and license to support building RK3399 SoC clock driver as module. Elaine Zhang (6): clk: rockchip: Use clk_hw_register_composite instead of

Re: [PATCH] Revert "usb: dwc3: meson-g12a: fix shared reset control use"

2020-09-02 Thread Neil Armstrong
Hi Felipe, Greg, Is it possible to apply this ? USB is broken on 5.8 stable and 5.9-rc on multiple GXL/GXM boards. Thanks, Neil On 27/08/2020 16:48, Amjad Ouled-Ameur wrote: > This reverts commit 7a410953d1fb4dbe91ffcfdee9cbbf889d19b0d7. > > This commit breaks USB on

general protection fault in snd_ctl_release

2020-09-02 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:b51594df Merge tag 'docs-5.9-3' of git://git.lwn.net/linux git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=172fea1590 kernel config: https://syzkaller.appspot.com/x/.config?x=3c5f6ce8d5b68299

KASAN: use-after-free Write in xp_put_pool

2020-09-02 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:dc1a9bf2 octeontx2-pf: Add UDP segmentation offload support git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=16ff67de90 kernel config: https://syzkaller.appspot.com/x/.config?x=b6856d16f78d8fa9

Re: [PATCH v2 1/2] irqchip: irq-mst: Add MStar interrupt controller support

2020-09-02 Thread Mark-PK Tsai
From: Marc Zyngier >On 2020-08-20 13:36, Daniel Palmer wrote: >> Hi Mark-PK, Marc >> >> I'm not sure this will be the final version but I'm going to try to >> integrate this with my current MStar/SigmaStar tree over the weekend >> and then I guess I can give this a tested-by? > >That'd be good.

Re: [PATCH] drm/sun4i: Fix DE2 YVU handling

2020-09-02 Thread Roman Stratiienko
ср, 2 сент. 2020 г. в 00:58, Jernej Skrabec : > > Function sun8i_vi_layer_get_csc_mode() is supposed to return CSC mode > but due to inproper return type (bool instead of u32) it returns just 0 > or 1. Colors are wrong for YVU formats because of that. > > Fixes: daab3d0e8e2b ("drm/sun4i: de2:

Re: [PATCH] staging: gdm724x: gdm_tty: replaced macro with a function

2020-09-02 Thread Joe Perches
On Tue, 2020-09-01 at 22:16 +0200, Antoni Przybylik wrote: > This approach is more elegant and prevents some problems related to > macros such as operator precedence in expanded expression. [] > diff --git a/drivers/staging/gdm724x/gdm_tty.c > b/drivers/staging/gdm724x/gdm_tty.c [] > @@ -36,6

[PATCH] f2fs: allocate proper size memory for zstd decompress

2020-09-02 Thread Chao Yu
As 5kft <5...@5kft.org> reported: kworker/u9:3: page allocation failure: order:9, mode:0x40c40(GFP_NOFS|__GFP_COMP), nodemask=(null),cpuset=/,mems_allowed=0 CPU: 3 PID: 8168 Comm: kworker/u9:3 Tainted: G C5.8.3-sunxi #trunk Hardware name: Allwinner sun8i Family Workqueue:

[PATCH] rpmsg: Avoid double-free in mtk_rpmsg_register_device

2020-09-02 Thread Nicolas Boichat
If rpmsg_register_device fails, it will call mtk_rpmsg_release_device which already frees mdev. Fixes: 7017996951fde84 ("rpmsg: add rpmsg support for mt8183 SCP.") Signed-off-by: Nicolas Boichat --- drivers/rpmsg/mtk_rpmsg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [PATCH v5 00/21] kprobes: Unify kretprobe trampoline handlers and make kretprobe lockless

2020-09-02 Thread peterz
On Wed, Sep 02, 2020 at 09:37:39AM +0900, Masami Hiramatsu wrote: > On Tue, 1 Sep 2020 21:08:08 +0200 > Peter Zijlstra wrote: > > > On Sat, Aug 29, 2020 at 09:59:49PM +0900, Masami Hiramatsu wrote: > > > Masami Hiramatsu (16): > > > kprobes: Add generic kretprobe trampoline handler > > >

Re: WARNING: suspicious RCU usage - sdhci-pltfm: SDHCI platform and OF driver helper

2020-09-02 Thread Ulf Hansson
On Tue, 1 Sep 2020 at 19:42, Peter Zijlstra wrote: > > On Tue, Sep 01, 2020 at 09:13:40AM -0700, Paul E. McKenney wrote: > > On Tue, Sep 01, 2020 at 05:50:14PM +0200, pet...@infradead.org wrote: > > > On Tue, Sep 01, 2020 at 09:44:17AM -0600, Lina Iyer wrote: > > > > > > > > > I could add

[PATCH 1/2] ata: ahci: ceva: Update the driver to support xilinx GT phy

2020-09-02 Thread Piyush Mehta
SATA controller used in Xilinx ZynqMP platform uses xilinx GT phy which has 4 GT lanes and can used by 4 peripherals at a time. SATA controller uses 1 GT phy lane among the 4 GT lanes. To configure the GT lane for SATA controller, the below sequence is expected. 1. Assert the SATA controller

[PATCH 0/2] ata: ahci: ceva: Update the driver to support xilinx GT phy

2020-09-02 Thread Piyush Mehta
This patch series updates the ceva driver to add support for Xilinx GT phy. This also updates the documentation with the device tree binding required for working with Xilinx GT phy. Piyush Mehta (2): ata: ahci: ceva: Update the driver to support xilinx GT phy dt-bindings: ata: achi: ceva:

Re: KASAN: use-after-free Write in xp_put_pool

2020-09-02 Thread Daniel Borkmann
On 9/2/20 8:57 AM, syzbot wrote: Hello, syzbot found the following issue on: Magnus/Bjorn, ptal, thanks! HEAD commit:dc1a9bf2 octeontx2-pf: Add UDP segmentation offload support git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=16ff67de90 kernel

[PATCH 2/2] dt-bindings: ata: achi: ceva: Update documentation for CEVA Controller

2020-09-02 Thread Piyush Mehta
This patch updates the documentation for the CEVA controller for adding the required properties for 'phys' and 'resets'. Signed-off-by: Piyush Mehta --- Documentation/devicetree/bindings/ata/ahci-ceva.txt | 8 1 file changed, 8 insertions(+) diff --git

Re: [PATCH 1/2] drm/msm: Avoid div-by-zero in dpu_crtc_atomic_check()

2020-09-02 Thread Sai Prakash Ranjan
On 2020-09-02 03:29, Stephen Boyd wrote: The cstate->num_mixers member is only set to a non-zero value once dpu_encoder_virt_mode_set() is called, but the atomic check function can be called by userspace before that. Let's avoid the div-by-zero here and inside _dpu_crtc_setup_lm_bounds() by

RE: KASAN: use-after-free Write in xp_put_pool

2020-09-02 Thread Karlsson, Magnus
> -Original Message- > From: Daniel Borkmann > Sent: Wednesday, September 2, 2020 9:06 AM > To: syzbot ; > a...@linux-foundation.org; andr...@fb.com; a...@kernel.org; Topel, Bjorn > ; b...@vger.kernel.org; da...@davemloft.net; > h...@kernel.org; john.fastab...@gmail.com;

Re: KASAN: use-after-free Write in xp_put_pool

2020-09-02 Thread Magnus Karlsson
On Wed, Sep 2, 2020 at 9:06 AM Daniel Borkmann wrote: > > On 9/2/20 8:57 AM, syzbot wrote: > > Hello, > > > > syzbot found the following issue on: > > Magnus/Bjorn, ptal, thanks! On it as we speak. > > HEAD commit:dc1a9bf2 octeontx2-pf: Add UDP segmentation offload support > > git tree:

Re: [PATCH v2 03/11] sched,idle,rcu: Push rcu_idle deeper into the idle path

2020-09-02 Thread peterz
On Thu, Aug 27, 2020 at 06:30:01PM -0400, Joel Fernandes wrote: > On Thu, Aug 27, 2020 at 09:47:48AM +0200, pet...@infradead.org wrote: > > All trace_*_rcuidle() and RCU_NONIDLE() usage is a bug IMO. > > > > Ideally RCU-trace goes away too. > > I was thinking that unless the rcu_idle_enter/exit

RE: [PATCH v5 2/2] phy: cadence-torrent: Use kernel PHY API to set PHY attributes

2020-09-02 Thread Swapnil Kashinath Jakhade
Hi Laurent, Thank you for your review comments. > -Original Message- > From: Laurent Pinchart > Sent: Wednesday, September 2, 2020 6:00 AM > To: Swapnil Kashinath Jakhade > Cc: vk...@kernel.org; kis...@ti.com; linux-kernel@vger.kernel.org; > max...@cerno.tech; Milind Parab ; Yuti

Re: [RFC PATCH v7 12/23] sched: Trivial forced-newidle balancer

2020-09-02 Thread Pavan Kondeti
On Fri, Aug 28, 2020 at 03:51:13PM -0400, Julien Desfossez wrote: > /* > * The static-key + stop-machine variable are needed such that: > * > @@ -4641,7 +4656,7 @@ pick_next_task(struct rq *rq, struct task_struct *prev, > struct rq_flags *rf) > struct task_struct *next, *max = NULL; >

Re: [PATCH 1/6] pwm: bcm2835: Simplify with dev_err_probe()

2020-09-02 Thread Uwe Kleine-König
On Wed, Aug 26, 2020 at 04:47:42PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Uwe Kleine-König Thanks Uwe

BUG: KASAN: use-after-free in prepare_ftrace_return+0x88/0x140

2020-09-02 Thread Naresh Kamboju
While running LTP tracing on arm64 juno with kasan config enabled this kernel BUG triggered. metadata: git branch: linux-4.14.y git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git kernel-config:

Re: [PATCH 4.14 00/91] 4.14.196-rc1 review

2020-09-02 Thread Naresh Kamboju
On Tue, 1 Sep 2020 at 20:49, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.196 release. > There are 91 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 3/6] pwm: rockchip: Simplify with dev_err_probe()

2020-09-02 Thread Uwe Kleine-König
On Wed, Aug 26, 2020 at 04:47:44PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Uwe Kleine-König Thanks Uwe --

Re: [PATCH 2/6] pwm: jz4740: Simplify with dev_err_probe()

2020-09-02 Thread Uwe Kleine-König
On Wed, Aug 26, 2020 at 04:47:43PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Uwe Kleine-König Thanks Uwe --

Re: [PATCH 5/6] pwm: sprd: Simplify with dev_err_probe()

2020-09-02 Thread Uwe Kleine-König
Hello, On Wed, Aug 26, 2020 at 04:47:46PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Uwe Kleine-König Thanks Uwe --

Re: [PATCH 4/6] pwm: sifive: Simplify with dev_err_probe()

2020-09-02 Thread Uwe Kleine-König
On Wed, Aug 26, 2020 at 04:47:45PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Uwe Kleine-König Thanks Uwe --

Hello

2020-09-02 Thread İshak BURAKGAZI
Hello, I sent you an email earlier of the late Engineer and the deposit in the bank and have been expecting to hear from you. Try and get back to me. I really need your responds as soon as possible Thanks Isak.

Re: [PATCH 6/6] pwm: sun4i: Simplify with dev_err_probe()

2020-09-02 Thread Uwe Kleine-König
On Wed, Aug 26, 2020 at 04:47:47PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Uwe Kleine-König Thanks Uwe --

Re: [PATCH 0/5] ARM: dts: at91: fix dtbs_check warnings

2020-09-02 Thread Nicolas.Ferre
On 31/08/2020 at 19:11, Alexandre Belloni wrote: > Hi, > > This series fixes some of the dtbs_check warnings. The remaining ones > are mainly missing documentation or the documentation has not been > converted to yaml. > > Alexandre Belloni (5): >ARM: dts: at91: fix cpu node >ARM: dts:

[PATCH v2 3/3] media: imx258: Get clock from device properties and enable it via runtime PM

2020-09-02 Thread Krzysztof Kozlowski
The IMX258 sensor driver checked in device properties for a clock-frequency property which actually does not mean that the clock is really running such frequency or is it even enabled. Get the provided clock and check it frequency. If none is provided, fall back to old property. Enable the

[PATCH v2 1/3] dt-bindings: media: imx258: Add bindings for IMX258 sensor

2020-09-02 Thread Krzysztof Kozlowski
Add bindings for the IMX258 camera sensor. The bindings, just like the driver, are quite limited, e.g. do not support regulator supplies. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. None --- .../devicetree/bindings/media/i2c/imx258.yaml | 92 ++

[PATCH v2 2/3] media: imx258: Add support for binding via device tree

2020-09-02 Thread Krzysztof Kozlowski
The IMX258 can be used also on embedded designs using device tree so allow the sensor to bind to a device tree node. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. None --- drivers/media/i2c/imx258.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [PATCH 4.9 00/78] 4.9.235-rc1 review

2020-09-02 Thread Naresh Kamboju
On Tue, 1 Sep 2020 at 20:46, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.235 release. > There are 78 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4/9] block: add a new revalidate_disk_size helper

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 3/9] block: rename bd_invalidated

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 5.4 000/214] 5.4.62-rc1 review

2020-09-02 Thread Greg Kroah-Hartman
On Wed, Sep 02, 2020 at 10:47:51AM +0530, Naresh Kamboju wrote: > On Wed, 2 Sep 2020 at 00:39, Guenter Roeck wrote: > > > > On 9/1/20 8:08 AM, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 5.4.62 release. > > > There are 214 patches in this series, all will

Re: [PATCH 5/9] block: use revalidate_disk_size in set_capacity_revalidate_and_notify

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 1/9] Documentation/filesystems/locking.rst: remove an incorrect sentence

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 7/9] sd: open code revalidate_disk

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 6/9] nvme: opencode revalidate_disk in nvme_validate_ns

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH] coccinelle: ifnullfree: add vfree(), kvfree*() functions

2020-09-02 Thread Julia Lawall
On Wed, 2 Sep 2020, Markus Elfring wrote: > … > > +++ b/scripts/coccinelle/free/ifnullfree.cocci > > @@ -20,8 +20,14 @@ expression E; > > - if (E != NULL) > > ( > >kfree(E); > > +| > > + kvfree(E); > > | > >kfree_sensitive(E); > > +| > > + kvfree_sensitive(E, ...); > > +| > > +

[PATCH 0/4] cpufreq: Record stats with fast-switching

2020-09-02 Thread Viresh Kumar
Hi, We disabled recording cpufreq stats when fast switching was introduced to the cpufreq core as the cpufreq stats required to take a spinlock and that can't be allowed (for performance reasons) on scheduler's hot path. Here is an attempt to get rid of the lock and bring back the support. --

[PATCH 1/4] cpufreq: stats: Defer stats update to cpufreq_stats_record_transition()

2020-09-02 Thread Viresh Kumar
In order to prepare for lock-less stats update, add support to defer any updates to it until cpufreq_stats_record_transition() is called. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq_stats.c | 75 - 1 file changed, 56 insertions(+), 19 deletions(-)

[PATCH 4/4] cpufreq: Move traces and update to policy->cur to cpufreq core

2020-09-02 Thread Viresh Kumar
The cpufreq core handles the updates to policy->cur and recording of cpufreq trace events for all the governors except schedutil's fast switch case. Move that as well to cpufreq core for consistency and readability. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c| 14

[PATCH 3/4] cpufreq: stats: Enable stats for fast-switch as well

2020-09-02 Thread Viresh Kumar
Now that all the blockers are gone for enabling stats in fast-switching case, enable it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 6 +- drivers/cpufreq/cpufreq_stats.c | 6 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git

[PATCH 2/4] cpufreq: stats: Remove locking

2020-09-02 Thread Viresh Kumar
The locking isn't required anymore as stats can get updated only from one place at a time. Remove it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq_stats.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/cpufreq/cpufreq_stats.c b/drivers/cpufreq/cpufreq_stats.c index

Re: [PATCH v2 11/11] lockdep,trace: Expose tracepoints

2020-09-02 Thread peterz
On Tue, Sep 01, 2020 at 08:51:46PM -0700, Guenter Roeck wrote: > On Fri, Aug 21, 2020 at 10:47:49AM +0200, Peter Zijlstra wrote: > > The lockdep tracepoints are under the lockdep recursion counter, this > > has a bunch of nasty side effects: > > > > - TRACE_IRQFLAGS doesn't work across the

Re: [PATCH 9/9] block: remove revalidate_disk()

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 0/4] CPUFreq statistics retrieved by drivers

2020-09-02 Thread Viresh Kumar
On 04-08-20, 11:44, Lukasz Luba wrote: > On 8/4/20 11:38 AM, Viresh Kumar wrote: > > I don't think doing it with help of firmware is the right thing to do > > here then. For another platform we may not have a firmware which can > > help us, we need something in the opp core itself for that. Lemme

Re: linux-next: Fixes tags need some work in the printk tree

2020-09-02 Thread Petr Mladek
Hi Stephen, On Wed 2020-09-02 07:22:54, Stephen Rothwell wrote: > Hi all, > > In commits > > e5e4c07d9233 ("docs: vmcoreinfo: add lockless printk ringbuffer vmcoreinfo") > 0cfdacd74ad5 ("scripts/gdb: update for lockless printk ringbuffer") > > Fixes tag > > Fixes: ("printk: use the

general protection fault in xsk_is_setup_for_bpf_map

2020-09-02 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:dc1a9bf2 octeontx2-pf: Add UDP segmentation offload support git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1442d38e90 kernel config: https://syzkaller.appspot.com/x/.config?x=b6856d16f78d8fa9

Re: [PATCH v6 1/5] perf/jevents: Remove jevents.h file

2020-09-02 Thread John Garry
On 01/09/2020 06:56, kajoljain wrote: +#define min(x, y) ({    \ +    typeof(x) _min1 = (x);    \ +    typeof(y) _min2 = (y);    \ +    (void)(&_min1 == &_min2);    \ +    _min1 < _min2 ? _min1 : _min2; }) +#endif Wondering what is special about this definition

general protection fault in xsk_diag_dump (2)

2020-09-02 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:dc1a9bf2 octeontx2-pf: Add UDP segmentation offload support git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=146061d190 kernel config: https://syzkaller.appspot.com/x/.config?x=b6856d16f78d8fa9

Re: [PATCH net-next] net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc

2020-09-02 Thread Eric Dumazet
On 9/1/20 11:34 PM, Yunsheng Lin wrote: > > I am not familiar with TCQ_F_CAN_BYPASS. > From my understanding, the problem is that there is no order between > qdisc enqueuing and qdisc reset. Thw qdisc_reset() should be done after rcu grace period, when there is guarantee no enqueue is in

Re: [PATCH 4.4 00/62] 4.4.235-rc1 review

2020-09-02 Thread Greg Kroah-Hartman
On Tue, Sep 01, 2020 at 11:58:21AM -0700, Guenter Roeck wrote: > On 9/1/20 8:09 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.235 release. > > There are 62 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH] arm64/module: set trampoline section flags regardless of CONFIG_DYNAMIC_FTRACE

2020-09-02 Thread Catalin Marinas
On Tue, 1 Sep 2020 18:00:16 +0200, Jessica Yu wrote: > In the arm64 module linker script, the section .text.ftrace_trampoline > is specified unconditionally regardless of whether CONFIG_DYNAMIC_FTRACE > is enabled (this is simply due to the limitation that module linker > scripts are not

Re: [PATCH] arm64: Remove exporting cpu_logical_map symbol

2020-09-02 Thread Catalin Marinas
On Tue, 1 Sep 2020 10:52:29 +0100, Sudeep Holla wrote: > Commit eaecca9e7710 ("arm64: Fix __cpu_logical_map undefined issue") > exported cpu_logical_map in order to fix tegra194-cpufreq module build > failure. > > As this might potentially cause problem while supporting physical CPU > hotplug,

Re: [RESEND PATCH 1/2] arm64: dts: ti: k3-j721e-main: Add PCIe device tree nodes

2020-09-02 Thread Kishon Vijay Abraham I
Hi Rob, On 02/09/20 10:24 am, Kishon Vijay Abraham I wrote: Hi Nishanth, On 01/09/20 8:22 pm, Nishanth Menon wrote: On 19:36-20200901, Kishon Vijay Abraham I wrote: Add PCIe device tree node (both RC and EP) for the four PCIe instances here. Signed-off-by: Kishon Vijay Abraham I ---  

Re: [PATCH 5.8 000/255] 5.8.6-rc1 review

2020-09-02 Thread Greg Kroah-Hartman
On Wed, Sep 02, 2020 at 11:14:54AM +0530, Naresh Kamboju wrote: > On Tue, 1 Sep 2020 at 21:06, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.8.6 release. > > There are 255 patches in this series, all will be posted as a response > > to this one. If

RE: [PATCH] ahci: qoriq: enable acpi support in qoriq ahci driver

2020-09-02 Thread Andy Tang
Hi Axboe, Please take some times reviewing this patch. Thanks, Andy > -Original Message- > From: andy.t...@nxp.com > Sent: 2020年8月17日 16:22 > To: ax...@kernel.dk > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Andy Tang > ; Udit Kumar > Subject: [PATCH] ahci: qoriq:

  1   2   3   4   5   6   7   8   9   10   >