[gustavoars-linux:testing/wab/wl3501_cs] BUILD SUCCESS f8c3c434f6d728b63358123fb40e57386920be9f

2021-03-30 Thread kernel test robot
allnoconfig x86_64 randconfig-a004-20210330 x86_64 randconfig-a003-20210330 x86_64 randconfig-a002-20210330 x86_64 randconfig-a001-20210330 x86_64 randconfig-a005-20210330 x86_64 randconfig-a006-20210330

Re: [PATCH bpf-next] bpf: check flags in 'bpf_ringbuf_discard()' and 'bpf_ringbuf_submit()'

2021-03-30 Thread Andrii Nakryiko
On Sun, Mar 28, 2021 at 9:12 AM Pedro Tammela wrote: > > The current code only checks flags in 'bpf_ringbuf_output()'. > > Signed-off-by: Pedro Tammela > --- > include/uapi/linux/bpf.h | 8 > kernel/bpf/ringbuf.c | 13 +++-- > tools/include/uapi/linux/bpf.h | 8

RE: [PATCH V3] drm/ast: Disable fast reset after DRAM initial

2021-03-30 Thread Kuo-Hsiang Chou
Message-ID: <20201228030823.294147-1-kuohsiang_c...@aspeedtech.com> -Original Message- From: Thomas Zimmermann [mailto:tzimmerm...@suse.de] Sent: Monday, March 29, 2021 5:17 PM To: Kuo-Hsiang Chou ; dri-de...@lists.freedesktop.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH V3] dr

Re: perf does not resolve plt symbols from libstdc++ right (.plt.sec problem)

2021-03-30 Thread Jiri Slaby
On 29. 03. 21, 15:10, H.J. Lu wrote: On Mon, Mar 29, 2021 at 6:06 AM Richard Biener wrote: On Mon, 29 Mar 2021, H.J. Lu wrote: On Mon, Mar 29, 2021 at 2:38 AM Richard Biener wrote: On Mon, 29 Mar 2021, Jiri Slaby wrote: Any ideas on this? On 11. 01. 21, 7:31, Jiri Slaby wrote: Hi, th

[PATCH] scsi: snic: Convert to DEFINE_SHOW_ATTRIBUTE

2021-03-30 Thread dingsenjie
From: dingsenjie Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: dingsenjie --- drivers/scsi/snic/snic_debugfs.c | 20 +--- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/drivers/scsi/snic/snic_debugfs.c b/drivers/scsi/snic/snic_debugfs.c ind

Re: [PATCH bpf-next] bpf: add 'BPF_RB_MAY_WAKEUP' flag

2021-03-30 Thread Andrii Nakryiko
On Sun, Mar 28, 2021 at 9:11 AM Pedro Tammela wrote: > > The current way to provide a no-op flag to 'bpf_ringbuf_submit()', > 'bpf_ringbuf_discard()' and 'bpf_ringbuf_output()' is to provide a '0' > value. > > A '0' value might notify the consumer if it already caught up in processing, > so let's

Re: [PATCH v5] mm/gup: check page hwposion status for coredump.

2021-03-30 Thread 堀口 直也
On Wed, Mar 31, 2021 at 07:07:39AM +0100, Matthew Wilcox wrote: > On Wed, Mar 31, 2021 at 01:52:59AM +, HORIGUCHI NAOYA(堀口 直也) wrote: > > If we successfully unmapped but failed in truncate_error_page() for example, > > the processes mapping the page would get -EFAULT as expected. But even in >

linux-next: manual merge of the staging tree with the scmi tree

2021-03-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the staging tree got a conflict in: drivers/iio/common/scmi_sensors/scmi_iio.c between commit: 25cbdd4609c0 ("iio/scmi: Port driver to the new scmi_sensor_proto_ops interface") from the scmi tree and commit: 1b33dfa5d5f1 ("Merge remote-tracking branc

Re: [PATCH v3 05/25] x86/sgx: Introduce virtual EPC for use by KVM guests

2021-03-30 Thread Kai Huang
On Wed, 31 Mar 2021 08:44:23 +0200 Boris Petkov wrote: > On March 31, 2021 3:10:32 AM GMT+02:00, Kai Huang > wrote: > > > The admin will be aware of > >such EPC > >allocation disjoint situation, and deploy host enclaves/KVM SGX guests > >accordingly. > > The admin will be aware because... > >

[PATCH v7 14/14] MAINTAINERS: add maintainer for DRM bridge drivers for i.MX SoCs

2021-03-30 Thread Liu Ying
Add myself as the maintainer of DRM bridge drivers for i.MX SoCs. Reviewed-by: Robert Foss Signed-off-by: Liu Ying --- v6->v7: * Add Robert's R-b tag. v5->v6: * No change. v4->v5: * No change. v3->v4: * No change. v2->v3: * No change. v1->v2: * No change. MAINTAINERS | 10 ++ 1 fi

[PATCH v7 13/14] drm/bridge: imx: Add LDB support for i.MX8qm

2021-03-30 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qm LVDS display bridge(LDB) which is officially named as pixel mapper. The LDB has two channels. Each of them supports up to 30bpp parallel input color format and can map the input to VESA or JEIDA standards. The two channels can be used simultaneously

[PATCH v7 12/14] drm/bridge: imx: Add LDB support for i.MX8qxp

2021-03-30 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qxp LVDS display bridge(LDB) which is officially named as pixel mapper. The LDB has two channels. Each of them supports up to 24bpp parallel input color format and can map the input to VESA or JEIDA standards. The two channels cannot be used simultaneo

[PATCH] firmware: qcom-scm: Fix QCOM_SCM configuration

2021-03-30 Thread He Ying
When CONFIG_QCOM_SCM is y while CONFIG_HAVE_ARM_SMCCC is not set, compiling errors are encountered as follows: drivers/firmware/qcom_scm-smc.o: In function `__scm_smc_do_quirk': qcom_scm-smc.c:(.text+0x36): undefined reference to `__arm_smccc_smc' drivers/firmware/qcom_scm-legacy.o: In function `s

[PATCH v7 10/14] drm/bridge: imx: Add LDB driver helper support

2021-03-30 Thread Liu Ying
This patch adds a helper to support LDB drm bridge drivers for i.MX SoCs. Helper functions supported by this helper should implement common logics for all LDB modules embedded in i.MX SoCs. Tested-by: Marcel Ziswiler # Colibri iMX8X, LT170410-2WHC, LP156WF1 Reviewed-by: Robert Foss Signed-off-

[PATCH v7 09/14] drm/bridge: imx: Add i.MX8qxp pixel link to DPI support

2021-03-30 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qxp pixel link to display pixel interface(PXL2DPI). The PXL2DPI interfaces the pixel link 36-bit data output and the DSI controller’s MIPI-DPI 24-bit data input, and inputs of LVDS Display Bridge(LDB) module used in LVDS mode, to remap the pixel color c

[PATCH v7 11/14] dt-bindings: display: bridge: Add i.MX8qm/qxp LVDS display bridge binding

2021-03-30 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp LVDS display bridge(LDB). Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v6->v7: * No change. v5->v6: * No change. v4->v5: * No change. v3->v4: * Add Rob's R-b tag. v2->v3: * Drop 'fsl,syscon' property. (Rob) * Mention the CSR module controls LD

[PATCH v7 08/14] dt-bindings: display: bridge: Add i.MX8qxp pixel link to DPI binding

2021-03-30 Thread Liu Ying
This patch adds bindings for i.MX8qxp pixel link to DPI(PXL2DPI). Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v6->v7: * No change. v5->v6: * Add Rob's R-b tag. v4->v5: * No change. v3->v4: * Add 'fsl,sc-resource' property. (Rob) v2->v3: * Drop 'fsl,syscon' property. (Rob) * Mention

[PATCH v7 07/14] dt-bindings: mfd: Add i.MX8qm/qxp Control and Status Registers module binding

2021-03-30 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp Control and Status Registers module. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v6->v7: * Add Rob's R-b tag. v5->v6: * Drop 'select' schema. (Rob) v4->v5: * Newly introduced in v5. (Rob) .../devicetree/bindings/mfd/fsl,imx8qxp-csr.yaml | 1

[PATCH v7 05/14] dt-bindings: display: bridge: Add i.MX8qm/qxp display pixel link binding

2021-03-30 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp display pixel link. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v6->v7: * No change. v5->v6: * No change. v4->v5: * No change. v3->v4: * No change. v2->v3: * Add Rob's R-b tag. v1->v2: * Use graph schema. (Laurent) * Require all four pixel l

[PATCH v7 06/14] drm/bridge: imx: Add i.MX8qm/qxp display pixel link support

2021-03-30 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qm/qxp display pixel link. The pixel link forms a standard asynchronous linkage between pixel sources(display controller or camera module) and pixel consumers(imaging or displays). It consists of two distinct functions, a pixel transfer function and a c

[PATCH v7 04/14] drm/bridge: imx: Add i.MX8qm/qxp pixel combiner support

2021-03-30 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qm/qxp pixel combiner. The pixel combiner takes two output streams from a single display controller and manipulates the two streams to support a number of modes(bypass, pixel combine, YUV444 to YUV422, split_RGB) configured as either one screen, two scre

[PATCH v7 00/14] Add some DRM bridge drivers support for i.MX8qm/qxp SoCs

2021-03-30 Thread Liu Ying
Hi, This is the v7 series to add some DRM bridge drivers support for i.MX8qm/qxp SoCs. The bridges may chain one by one to form display pipes to support LVDS displays. The relevant display controller is DPU embedded in i.MX8qm/qxp SoCs. The DPU KMS driver can be found at: https://www.spinics.ne

[PATCH v7 01/14] media: uapi: Add some RGB bus formats for i.MX8qm/qxp pixel combiner

2021-03-30 Thread Liu Ying
This patch adds RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, RGB666_1X36_CPADLO and RGB888_1X36_CPADLO bus formats used by i.MX8qm/qxp pixel combiner. The RGB pixels with padding low per component are transmitted on a 30-bit input bus(10-bit per component) from a display controller or a 36-bit output bu

[PATCH v7 02/14] media: docs: Add some RGB bus formats for i.MX8qm/qxp pixel combiner

2021-03-30 Thread Liu Ying
This patch adds documentations for RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, RGB666_1X36_CPADLO and RGB888_1X36_CPADLO bus formats used by i.MX8qm/qxp pixel combiner. The RGB pixels with padding low per component are transmitted on a 30-bit input bus(10-bit per component) from a display controller o

[PATCH v7 03/14] dt-bindings: display: bridge: Add i.MX8qm/qxp pixel combiner binding

2021-03-30 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp pixel combiner. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v6->v7: * No change. v5->v6: * No change. v4->v5: * No change. v3->v4: * No change. v2->v3: * Add Rob's R-b tag. v1->v2: * Use graph schema. (Laurent) * Use enum instead of oneOf +

Re: [PATCH v1 0/5] mm/madvise: introduce MADV_POPULATE_(READ|WRITE) to prefault/prealloc memory

2021-03-30 Thread David Hildenbrand
On 31.03.21 06:58, Andrew Morton wrote: On Tue, 30 Mar 2021 10:58:43 +0200 David Hildenbrand wrote: MAINTAINERS| 1 + arch/alpha/include/uapi/asm/mman.h | 3 + arch/mips/include/uapi/asm/mman.h | 3 + arch/parisc/include/uapi/asm

Re: [PATCH v5] mm/gup: check page hwposion status for coredump.

2021-03-30 Thread David Hildenbrand
On 31.03.21 06:32, HORIGUCHI NAOYA(堀口 直也) wrote: On Wed, Mar 31, 2021 at 10:43:36AM +0800, Aili Yao wrote: On Wed, 31 Mar 2021 01:52:59 + HORIGUCHI NAOYA(堀口 直也) wrote: On Fri, Mar 26, 2021 at 03:22:49PM +0100, David Hildenbrand wrote: On 26.03.21 15:09, David Hildenbrand wrote: On 22.03

Re: [PATCH v4 3/4] locking/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-03-30 Thread Guo Ren
Hi Arnd On Wed, Mar 31, 2021 at 12:18 PM Guo Ren wrote: > > On Tue, Mar 30, 2021 at 3:12 PM Arnd Bergmann wrote: > > > > On Tue, Mar 30, 2021 at 4:26 AM Guo Ren wrote: > > > On Mon, Mar 29, 2021 at 9:56 PM Arnd Bergmann wrote: > > > > On Mon, Mar 29, 2021 at 2:52 PM Guo Ren wrote: > > > > > O

Re: [PATCH v3 05/25] x86/sgx: Introduce virtual EPC for use by KVM guests

2021-03-30 Thread Boris Petkov
On March 31, 2021 3:10:32 AM GMT+02:00, Kai Huang wrote: > The admin will be aware of >such EPC >allocation disjoint situation, and deploy host enclaves/KVM SGX guests >accordingly. The admin will be aware because... 1) he's following our discussion? 2) he'll read the commit messages and hope

Re: [PATCH] MAINTAINERS: remove obsolete OMAP HWMOD DATA FOR OMAP4-BASED DEVICES

2021-03-30 Thread Tony Lindgren
* Lukas Bulwahn [210318 19:26]: > Commit 2584d7e7f87a ("ARM: OMAP2+: Drop legacy platform data for omap4 > hwmod") drops the file ./arch/arm/mach-omap2/omap_hwmod_44xx_data.c, but > misses to drop the now obsolete OMAP HWMOD DATA FOR OMAP4-BASED DEVICES > section in MAINTAINERS, which refers to on

Re: [PATCH v6 13/14] drm/bridge: imx: Add LDB support for i.MX8qm

2021-03-30 Thread Liu Ying
Hi Robert, On Tue, 2021-03-30 at 12:05 +0200, Robert Foss wrote: > Hey Liu, > > checkpatch --strict lists some nits for this patch with those and the > below warning fixed, feel free to add my r-b. Thanks for your review. Will fix those nits in the next version. Regarding the warning you menti

Re: [PATCH v2] kernel/resource: Fix locking in request_free_mem_region

2021-03-30 Thread David Hildenbrand
On 31.03.21 08:19, Alistair Popple wrote: On Tuesday, 30 March 2021 8:13:32 PM AEDT David Hildenbrand wrote: External email: Use caution opening links or attachments On 29.03.21 03:37, Alistair Popple wrote: On Friday, 26 March 2021 7:57:51 PM AEDT David Hildenbrand wrote: On 26.03.21 02:20,

Re: arch/arm/mach-omap2/sr_device.c:207:51: warning: variable 'sr_inst' is uninitialized when used here

2021-03-30 Thread Tony Lindgren
* kernel test robot [210327 05:06]: > >> arch/arm/mach-omap2/sr_device.c:207:51: warning: variable 'sr_inst' is > >> uninitialized when used here [-Wuninitialized] >name = kasprintf(GFP_KERNEL, "smartreflex_%s", > sr_inst[i]); >

Re: [PATCH v5 1/1] fs: Allow no_new_privs tasks to call chroot(2)

2021-03-30 Thread Al Viro
On Tue, Mar 30, 2021 at 11:03:10PM -0700, Kees Cook wrote: > Regardless, I still endorse this change because it doesn't make things > _worse_, since without this, a compromised process wouldn't need ANY > tricks to escape a chroot because it wouldn't be in one. :) It'd be nice > if there were some

[PATCH] irq_work: record irq_work_queue() call stack

2021-03-30 Thread qiang . zhang
From: Zqiang Add the irq_work_queue() call stack into the KASAN auxiliary stack in order to improve KASAN reports. this will let us know where the irq work be queued. Signed-off-by: Zqiang --- kernel/irq_work.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kernel/ir

Re: Memory leak in ath9k_hif_usb_dealloc_tx_urbs()

2021-03-30 Thread Greg KH
On Tue, Mar 30, 2021 at 10:36:52PM +0300, Pavel Skripkin wrote: > Hi! > > I did some debugging on this > https://syzkaller.appspot.com/bug?id=3ea507fb3c47426497b52bd82b8ef0dd5b6cc7ee > and, I believe, I recognized the problem. The problem appears in case of > ath9k_htc_hw_init() fail. In case of t

Re: [PATCH v6 12/14] drm/bridge: imx: Add LDB support for i.MX8qxp

2021-03-30 Thread Liu Ying
On Tue, 2021-03-30 at 11:54 +0200, Robert Foss wrote: > Hey Liu, > > checkpatch --strict lists some nit and a warning. With those fixed > feel free to add my r-b. > > On Wed, 17 Mar 2021 at 04:57, Liu Ying wrote: > > This patch adds a drm bridge driver for i.MX8qxp LVDS display bridge(LDB) > > w

[PATCH] ubifs: fix read fail but return ok

2021-03-30 Thread wangfangpeng
do_readpage() may return err, but ubifs_readpage() always return ok. The vfs will ignore the err happen in ubifs. Fixes: 1e51764a3c2ac05a2 ("UBIFS: add new flash file system") Cc: #v2.6.27 Signed-off-by: wangfangpeng --- fs/ubifs/file.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-

Re: Build breakage in next-20210330 due to optee_trace.h

2021-03-30 Thread Jens Wiklander
Hi Pratyush, On Wed, Mar 31, 2021 at 4:03 AM Pratyush Yadav wrote: > > Hi, > > I recently rebased a dev branch on top of next-20210330 (4143e05b7b17) > and I notice a build error from the optee driver: > > In file included from drivers/tee/optee/call.c:18: > In file i

Re: [PATCH v6 12/14] drm/bridge: imx: Add LDB support for i.MX8qxp

2021-03-30 Thread Liu Ying
Hi Robert, On Tue, 2021-03-30 at 11:59 +0200, Robert Foss wrote: > Hey Liu, > > checkpatch --strict lists some nits and a warning. I think the kconfig > warning can be ignored. With the rest fixed, feel free to add my r-b. > > Reviewed-by: Robert Foss Thanks for your review. Will fix those ni

Re: linux-next: build warning after merge of the pm tree

2021-03-30 Thread Vitaly Kuznetsov
Stephen Rothwell writes: > Hi all, > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > drivers/acpi/processor_idle.c: In function 'acpi_idle_play_dead': > drivers/acpi/processor_idle.c:542:15: warning: extra tokens at end of #ifdef > directi

RE: kernel warning percpu ref in obj_cgroup_release

2021-03-30 Thread Christian Borntraeger
share your config? attached (but its s390x) for next-20210330 Thanks. Can you apply the following patch and help me test? Very Thanks. diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 7fdc92e1983e..579408e4d46f 100644 --- a/include/linux/memcontrol.h +++ b/include/linux

Re: [PATCH] staging: rtl8723bs: fix block comments

2021-03-30 Thread Greg KH
On Tue, Mar 30, 2021 at 10:38:43PM -0700, Deborah Brouwer wrote: > Remove empty comment and fix checkpatch warnings: > WARNING: Block comments use * on subsequent lines > WARNING: Possible repeated word: 'very' > > Signed-off-by: Deborah Brouwer > --- > drivers/staging/rtl8723bs/core/rtw_xmit.c

Re: [PATCH v6 10/14] drm/bridge: imx: Add LDB driver helper support

2021-03-30 Thread Liu Ying
Hi Robert, On Tue, 2021-03-30 at 11:46 +0200, Robert Foss wrote: > Hey Liu, > > checkpatch --strict is listing some nits for this patch, with those > fixed feel free to add my r-b. > > Reviewed-by: Robert Foss Thanks for your review. Will fix those nits in the next version. Liu Ying

Re: [RFC PATCH v2 0/2] usb: typec: Add driver for Microchip sama7g5 tcpc

2021-03-30 Thread Greg KH
On Tue, Mar 30, 2021 at 11:54:40PM +0300, cristian.bir...@microchip.com wrote: > From: Cristian Birsan > > This patch set adds initial driver support for Microchip USB Type-C Port > Controller (TCPC) embedded in sama7g5 SoC. > > The controller does not implement power delivery and the driver use

Re: [PATCH v6 09/14] drm/bridge: imx: Add i.MX8qxp pixel link to DPI support

2021-03-30 Thread Liu Ying
Hi Robert, On Tue, 2021-03-30 at 11:42 +0200, Robert Foss wrote: > Hey Liu, > > checkpatch --strict had some complaints, with those fixed feel free to > add my r-b. > > Reviewed-by: Robert Foss Thanks for your review. In the next version, I'll also fix the complaints from 'checkpatch.pl --str

Re: [PATCH v2] kernel/resource: Fix locking in request_free_mem_region

2021-03-30 Thread Alistair Popple
On Tuesday, 30 March 2021 8:13:32 PM AEDT David Hildenbrand wrote: > External email: Use caution opening links or attachments > > > On 29.03.21 03:37, Alistair Popple wrote: > > On Friday, 26 March 2021 7:57:51 PM AEDT David Hildenbrand wrote: > >> On 26.03.21 02:20, Alistair Popple wrote: > >>>

Re: [PATCH] usb: gadget: aspeed: fix dma map failure

2021-03-30 Thread Joel Stanley
On Wed, 31 Mar 2021 at 05:02, wrote: > > From: Tao Ren > > Currently the virtual port_dev device is passed to DMA API, and this is > wrong because the device passed to DMA API calls must be the actual > hardware device performing the DMA. > > The patch replaces usb_gadget_map_request/usb_gadget_u

Re: [PATCH V8 2/8] cpufreq: mediatek: Enable clock and regulator

2021-03-30 Thread Viresh Kumar
On 31-03-21, 13:21, andrew-sh.cheng wrote: > Hi Viresh, > Yes. > As you mentioned, it will be enable by OPP core. > > Per discuss with hotplug owner and regulator owner, > they suggest that "users should not suppose other module, will enable > regulators for them". > They suggest to add enable_reg

kernel/sched/core.c:5370:37: warning: cast between incompatible function types from 'long int (*)(void)' to 'int (*)(void)'

2021-03-30 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 5e46d1b78a03d52306f21f77a4e4a144b6d31486 commit: 826bfeb37bb4302ee6042f330c4c0c757152bdb8 preempt/dynamic: Support dynamic preempt with preempt= boot option date: 6 weeks ago config: x86_64-randconfig-r011

Re: [PATCH 03/12] ARM: omap1: osk: Constify the software node

2021-03-30 Thread Tony Lindgren
* Heikki Krogerus [210329 10:51]: > Additional device properties are always just a part of a > software fwnode. If the device properties are constant, the > software node can also be constant. > > Signed-off-by: Heikki Krogerus > Cc: Aaro Koskinen > Cc: Tony Lindgren Probably best to merge th

Re: [syzbot] WARNING: suspicious RCU usage in copy_page_range

2021-03-30 Thread Dmitry Vyukov
On Wed, Mar 31, 2021 at 12:26 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:db24726b Merge tag 'integrity-v5.12-fix' of git://git.kern.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=16c16b7cd0 > kernel config:

Re: [PATCH] ARM: OMAP2+: fix incorrect kernel-doc comment syntax in file

2021-03-30 Thread Tony Lindgren
* Aditya Srivastava [210331 00:00]: > The opening comment mark '/**' is used for highlighting the beginning of > kernel-doc comments. > The header for arch/arm/mach-omap2/omap_twl.c follows this syntax, but the > content inside does not comply with kernel-doc. > > This line was probably not meant

Re: [PATCH v5] mm/gup: check page hwposion status for coredump.

2021-03-30 Thread Matthew Wilcox
On Wed, Mar 31, 2021 at 01:52:59AM +, HORIGUCHI NAOYA(堀口 直也) wrote: > If we successfully unmapped but failed in truncate_error_page() for example, > the processes mapping the page would get -EFAULT as expected. But even in > this case, other processes could reach the error page via page cache

Re: [PATCH] ARM: OMAP1: fix incorrect kernel-doc comment syntax in file

2021-03-30 Thread Tony Lindgren
* Aditya Srivastava [210330 23:54]: > The opening comment mark '/**' is used for highlighting the beginning of > kernel-doc comments. > The header for arch/arm/mach-omap1/timer.c follows this syntax, but the > content inside does not comply with kernel-doc. > > This line was probably not meant fo

Re: [PATCH 13/16] media: ti-vpe: csi2rx: Add CSI2RX support

2021-03-30 Thread Tomi Valkeinen
Hi, On 30/03/2021 20:33, Pratyush Yadav wrote: TI's J721E uses the Cadence CSI2RX and DPHY peripherals to facilitate capture over a CSI-2 bus. The Cadence CSI2RX IP acts as a bridge between the TI specific parts and the CSI-2 protocol parts. TI then has a wrapper on top of this bridge called th

Re: [PATCH v5 1/1] fs: Allow no_new_privs tasks to call chroot(2)

2021-03-30 Thread Kees Cook
On Tue, Mar 30, 2021 at 03:53:37PM -0700, Casey Schaufler wrote: > If you need to run legitimate SETUID (or file capability enabled) binaries > you can't use NO_NEW_PRIVS. You can use CAP_SYS_CHROOT, because capabilities > where designed to work with the UID mechanisms. All the discussion of "desi

Re: [PATCH -next] ARM: OMAP: Use DEFINE_SPINLOCK() for spinlock

2021-03-30 Thread Tony Lindgren
* Chen Lifu [210327 11:53]: > From: Lifu Chen > > spinlock can be initialized automatically with DEFINE_SPINLOCK() > rather than explicitly calling spin_lock_init(). Thanks applying into omap-for-v5.13/soc. Tony

Re: [PATCH] ARM: dts: am335x-boneblack.dts: unique gpio-line-names

2021-03-30 Thread Tony Lindgren
* Drew Fustini [210325 00:25]: > Based on linux-gpio discussion [1], it is best practice to make the > gpio-line-names unique. Generic names like "[ethernet]" are replaced > with the name of the unique signal on the AM3358 SoC ball corresponding > to the gpio line. "[NC]" is also renamed to the st

Re: [PATCH v3 0/4] clk: ti: add am33xx spread spectrum clock support

2021-03-30 Thread Tony Lindgren
* Stephen Boyd [210330 02:25]: > Quoting Dario Binacchi (2021-03-29 09:42:17) > > > > As reported by the TI spruh73x RM, MPU and LCD modules support spread > > spectrum clocking (SSC) on their output clocks. SSC is used to spread > > the spectral peaking of the clock to reduce any electromagnetic

Re: [PATCH -next] seccomp: Fix a typo in seccomp.c

2021-03-30 Thread Kees Cook
On Tue, 30 Mar 2021 23:07:24 -0400, Cui GaoSheng wrote: > Do a trivial typo fix. > s/cachable/cacheable Applied to for-next/seccomp, thanks! [1/1] seccomp: Fix "cacheable" typo in comments https://git.kernel.org/kees/c/a3fc712c5b37 -- Kees Cook

Re: [PATCH 1/2] ASoC: ak5558: Add support for ak5552

2021-03-30 Thread Shengjiu Wang
On Tue, Mar 30, 2021 at 11:06 PM Mark Brown wrote: > > On Tue, Mar 30, 2021 at 02:32:51PM +0800, Shengjiu Wang wrote: > > > +static const struct snd_kcontrol_new ak5552_snd_controls[] = { > > + SOC_ENUM("AK5552 Monaural Mode", ak5552_mono_enum[0]), > > + SOC_ENUM("AK5552 Digital Filter", a

[RFC PATCH -tip 3/3] x86/kprobes,orc: Unwind optprobe trampoline correctly

2021-03-30 Thread Masami Hiramatsu
ORC Unwinder can not unwind if an optprobe trampoline is on the stack because optprobe trampoline code has no ORC information. This uses the ORC information on the template code of the trampoline to adjust the sp register by ORC information and extract the correct probed address from the optprobe

[RFC PATCH -tip 2/3] kprobes: Add functions to find instruction buffer entry address

2021-03-30 Thread Masami Hiramatsu
Add find_kprobe_{insn,optinsn}_slot_entry() functions to find corresponding entry address of the kprobe instrurction buffer which includes given address. Signed-off-by: Masami Hiramatsu --- include/linux/kprobes.h |8 kernel/kprobes.c| 25 ++--- 2 files

[RFC PATCH -tip 1/3] x86/kprobes: Add ORC information to optprobe template

2021-03-30 Thread Masami Hiramatsu
As same as kretprobe_trampoline, move the optprobe template code in the text for making ORC information on that. Signed-off-by: Masami Hiramatsu --- arch/x86/kernel/kprobes/opt.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/arch/x86/kernel/kprobes/opt

[RFC PATCH -tip 0/3] x86/kprobes,orc: Fix ORC unwinder to unwind stack with optimized probe

2021-03-30 Thread Masami Hiramatsu
Hello, These patches fixes the ORC unwinder to unwind optprobe trampoline code on the stack correctly. This patchset is based on the kretporbe and stacktrace fix series v5 which I sent last week. https://lore.kernel.org/bpf/161676170650.330141.6214727134265514123.stgit@devnote2/ Note that I just

Re: [PATCH V2 1/1] mm:improve the performance during fork

2021-03-30 Thread Andrew Morton
On Mon, 29 Mar 2021 20:36:35 +0800 qianjun.ker...@gmail.com wrote: > From: jun qian > > In our project, Many business delays come from fork, so > we started looking for the reason why fork is time-consuming. > I used the ftrace with function_graph to trace the fork, found > that the vm_normal_pa

[PATCH] staging: rtl8723bs: fix block comments

2021-03-30 Thread Deborah Brouwer
Remove empty comment and fix checkpatch warnings: WARNING: Block comments use * on subsequent lines WARNING: Possible repeated word: 'very' Signed-off-by: Deborah Brouwer --- drivers/staging/rtl8723bs/core/rtw_xmit.c | 61 +++ 1 file changed, 28 insertions(+), 33 deletions(-)

Re: [PATCH v4] kasan: remove redundant config option

2021-03-30 Thread Andrew Morton
On Mon, 29 Mar 2021 16:54:26 +0200 Andrey Konovalov wrote: > Looks like my patch "kasan: fix KASAN_STACK dependency for HW_TAGS" > that was merged into 5.12-rc causes a build time warning: > > include/linux/kasan.h:333:30: warning: 'CONFIG_KASAN_STACK' is not > defined, evaluates to 0 [-Wundef]

Re: [PATCH v4 3/4] locking/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-03-30 Thread Paul Campbell
On Wednesday, 31 March 2021 5:18:56 PM NZDT Guo Ren wrote: > > > [1] > > > https://github.com/c-sky/csky-linux/commit/e837aad23148542771794d8a2fcc > > > 52afd0fcbf88> > > > > > It also seems that the current "amoswap" based implementation > > > > would be reliable independent of RsrvEventual/RsrvN

[PATCH] arch/x86: Encourage rather than discourage x2apic support

2021-03-30 Thread Luke Dashjr
Multi-core SMP doesn't work on modern Intel CPUs (at least Comet Lake) without x2apic. Unsure users should say Y. Signed-off-by: Luke Dashjr --- arch/x86/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 2792879d398ee..

data.c:undefined reference to `atomic64_sub_386'

2021-03-30 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 5e46d1b78a03d52306f21f77a4e4a144b6d31486 commit: ae999bb9a3399527bbe2c352191a0d49faa9c441 f2fs: change compr_blocks of superblock info to 64bit date: 7 months ago config: um-randconfig-r023-20210330

[gustavoars-linux:testing/wab/scsi-ufs] BUILD SUCCESS 7dc98db8f2c28b0716d5c92b6f1046c9080ecb71

2021-03-30 Thread kernel test robot
allmodconfig powerpc allnoconfig x86_64 randconfig-a004-20210330 x86_64 randconfig-a003-20210330 x86_64 randconfig-a002-20210330 x86_64 randconfig-a001-20210330 x86_64 randconfig-a005-20210330 x86_64

Re: [PATCH 1/2] KVM: Account memory allocations for 'struct kvm_vcpu'

2021-03-30 Thread Wanpeng Li
On Wed, 31 Mar 2021 at 11:24, Sean Christopherson wrote: > > On Wed, Mar 31, 2021, Wanpeng Li wrote: > > On Wed, 31 Mar 2021 at 10:32, Sean Christopherson wrote: > > > > > > Use GFP_KERNEL_ACCOUNT for the vCPU allocations, the vCPUs are very much > > > tied to a single task/VM. For x86, the allo

[PATCH] usb: gadget: aspeed: fix dma map failure

2021-03-30 Thread rentao . bupt
From: Tao Ren Currently the virtual port_dev device is passed to DMA API, and this is wrong because the device passed to DMA API calls must be the actual hardware device performing the DMA. The patch replaces usb_gadget_map_request/usb_gadget_unmap_request APIs with usb_gadget_map_request_by_dev

Re: [PATCH v1 0/5] mm/madvise: introduce MADV_POPULATE_(READ|WRITE) to prefault/prealloc memory

2021-03-30 Thread Andrew Morton
On Tue, 30 Mar 2021 10:58:43 +0200 David Hildenbrand wrote: > > > > MAINTAINERS| 1 + > > arch/alpha/include/uapi/asm/mman.h | 3 + > > arch/mips/include/uapi/asm/mman.h | 3 + > > arch/parisc/include/uapi/asm/mman.h| 3 + > >

Re: [PATCH] jffs2: Hook up splice_write callback

2021-03-30 Thread Lei YU
On Tue, Mar 30, 2021 at 9:45 PM Joel Stanley wrote: > > overlayfs using jffs2 as the upper filesystem would fail in some cases > since moving to v5.10. The test case used was to run 'touch' on a file > that exists in the lower fs, causing the modification time to be > updated. It returns EINVAL wh

Re: [PATCH][next] hfsplus: Fix out-of-bounds warnings in __hfsplus_setxattr

2021-03-30 Thread Matthew Wilcox
On Tue, Mar 30, 2021 at 09:43:20PM -0700, Andrew Morton wrote: > On Tue, 30 Mar 2021 09:52:26 -0500 "Gustavo A. R. Silva" > wrote: > > > Fix the following out-of-bounds warnings by enclosing > > structure members file and finder into new struct info: > > > > fs/hfsplus/xattr.c:300:5: warning: '

[PATCH] scripts: show_delta: Update the python interpreter

2021-03-30 Thread Wan Jiabing
In f29b5f3e6fc0a, the script is update to support python3. Fix the python interpreter update to python3. Fixes: f29b5f3e6fc0a ("show_delta: Update script to support python3") Signed-off-by: Wan Jiabing --- scripts/show_delta | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scr

[PATCH v4 2/2] scsi: ufs: Fix wrong Task Tag used in task management request UPIUs

2021-03-30 Thread Can Guo
In __ufshcd_issue_tm_cmd(), it is not right to use hba->nutrs + req->tag as the Task Tag in one TMR UPIU. Directly use req->tag as the Task Tag. Fixes: e293313262d3 ("scsi: ufs: Fix broken task management command implementation") Reviewed-by: Bart Van Assche Signed-off-by: Can Guo --- drivers

[PATCH v4 1/2] scsi: ufs: Fix task management request completion timeout

2021-03-30 Thread Can Guo
ufshcd_tmc_handler() calls blk_mq_tagset_busy_iter(fn = ufshcd_compl_tm()), but since blk_mq_tagset_busy_iter() only iterates over all reserved tags and requests which are not in IDLE state, ufshcd_compl_tm() never gets a chance to run. Thus, TMR always ends up with completion timeout. Fix it by ca

Re: [PATCH][next] hfsplus: Fix out-of-bounds warnings in __hfsplus_setxattr

2021-03-30 Thread Andrew Morton
On Tue, 30 Mar 2021 09:52:26 -0500 "Gustavo A. R. Silva" wrote: > Fix the following out-of-bounds warnings by enclosing > structure members file and finder into new struct info: > > fs/hfsplus/xattr.c:300:5: warning: 'memcpy' offset [65, 80] from the object > at 'entry' is out of the bounds of

Re: [PATCH v2 1/1] net: sched: bump refcount for new action in ACT replace mode

2021-03-30 Thread Cong Wang
On Mon, Mar 29, 2021 at 3:55 PM Kumar Kartikeya Dwivedi wrote: > diff --git a/net/sched/act_api.c b/net/sched/act_api.c > index b919826939e0..43cceb924976 100644 > --- a/net/sched/act_api.c > +++ b/net/sched/act_api.c > @@ -1042,6 +1042,9 @@ struct tc_action *tcf_action_init_1(struct net *net, >

Re: [PATCH v2 1/2] kunit: add a KUnit test for SLUB debugging functionality

2021-03-30 Thread Dan Carpenter
Hi, url: https://github.com/0day-ci/linux/commits/glittao-gmail-com/kunit-add-a-KUnit-test-for-SLUB-debugging-functionality/20210330-200635 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 1e43c377a79f9189fea8f2711b399d4e8b4e609b config: i386-randconfig-m021

Re: WARNING: at fs/proc/generic.c:717 remove_proc_entry

2021-03-30 Thread Andrew Morton
20210329 > BAD: next-20210330 > > steps to reproduce: > --- > # Boot linux next tag 20210330 on x86_64 machine > # cd /opt/kselftests/default-in-kernel/ > # ./gpio-mockup.sh --> which is doing modprobe gpio-mockup > > Test log: > > # s

Re: [PATCH v5] mm/gup: check page hwposion status for coredump.

2021-03-30 Thread 堀口 直也
On Wed, Mar 31, 2021 at 10:43:36AM +0800, Aili Yao wrote: > On Wed, 31 Mar 2021 01:52:59 + HORIGUCHI NAOYA(堀口 直也) > wrote: > > On Fri, Mar 26, 2021 at 03:22:49PM +0100, David Hildenbrand wrote: > > > On 26.03.21 15:09, David Hildenbrand wrote: > > > > On 22.03.21 12:33, Aili Yao wrote: >

Re: [syzbot] WARNING in unsafe_follow_pfn

2021-03-30 Thread Dan Carpenter
On Tue, Mar 30, 2021 at 07:04:30PM +0200, Paolo Bonzini wrote: > On 30/03/21 17:26, syzbot wrote: > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:93129492 Add linux-next specific files for 20210326 > > git tree: linux-next > > console output: https://syzkalle

Re: [PATCH v4 3/4] locking/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-03-30 Thread Guo Ren
On Tue, Mar 30, 2021 at 3:12 PM Arnd Bergmann wrote: > > On Tue, Mar 30, 2021 at 4:26 AM Guo Ren wrote: > > On Mon, Mar 29, 2021 at 9:56 PM Arnd Bergmann wrote: > > > On Mon, Mar 29, 2021 at 2:52 PM Guo Ren wrote: > > > > On Mon, Mar 29, 2021 at 7:31 PM Peter Zijlstra > > > > wrote: > > > > >

Re: [PATCH v7 3/8] mm/rmap: Split try_to_munlock from try_to_unmap

2021-03-30 Thread Alistair Popple
On Wednesday, 31 March 2021 2:56:38 PM AEDT John Hubbard wrote: > On 3/30/21 3:56 PM, Alistair Popple wrote: > ... > >> +1 for renaming "munlock*" items to "mlock*", where applicable. good grief. > > > > At least the situation was weird enough to prompt further investigation :) > > > > Renaming

Re: [PATCH v7 3/8] mm/rmap: Split try_to_munlock from try_to_unmap

2021-03-30 Thread John Hubbard
On 3/30/21 8:56 PM, John Hubbard wrote: On 3/30/21 3:56 PM, Alistair Popple wrote: ... +1 for renaming "munlock*" items to "mlock*", where applicable. good grief. At least the situation was weird enough to prompt further investigation :) Renaming to mlock* doesn't feel like the right solution

RE: [PATCH v3 02/10] fsdax: Factor helper: dax_fault_actor()

2021-03-30 Thread ruansy.f...@fujitsu.com
> -Original Message- > From: Ritesh Harjani > Sent: Tuesday, March 23, 2021 11:48 PM > Subject: Re: [PATCH v3 02/10] fsdax: Factor helper: dax_fault_actor() > > > > On 3/19/21 7:22 AM, Shiyang Ruan wrote: > > The core logic in the two dax page fault functions is similar. So, > > move

Re: [PATCH v7 3/8] mm/rmap: Split try_to_munlock from try_to_unmap

2021-03-30 Thread John Hubbard
On 3/30/21 3:56 PM, Alistair Popple wrote: ... +1 for renaming "munlock*" items to "mlock*", where applicable. good grief. At least the situation was weird enough to prompt further investigation :) Renaming to mlock* doesn't feel like the right solution to me either though. I am not sure if yo

Re: [PATCH] mm: add ___GFP_NOINIT flag which disables zeroing on alloc

2021-03-30 Thread Leon Romanovsky
On Mon, Mar 29, 2021 at 07:12:55PM +0900, Hyunsoon Kim wrote: > On Mon, Mar 29, 2021 at 09:34:31AM +0300, Leon Romanovsky wrote: > > On Mon, Mar 29, 2021 at 02:29:10PM +0900, Hyunsoon Kim wrote: > > > This patch allows programmer to avoid zero initialization on page > > > allocation even when the k

Re: [PATCH] usb: gadget: aspeed: set port_dev dma mask

2021-03-30 Thread Tao Ren
On Mon, Mar 29, 2021 at 08:17:35AM +0200, Christoph Hellwig wrote: > On Sat, Mar 27, 2021 at 03:17:59PM -0700, Tao Ren wrote: > > On Fri, Mar 26, 2021 at 01:05:26PM +0100, Christoph Hellwig wrote: > > > On Fri, Mar 26, 2021 at 12:03:03PM +, Robin Murphy wrote: > > > > This might happen to work

[PATCH] fs/cramfs: Remove useless call "zlib_inflateEnd"

2021-03-30 Thread Jiapeng Chong
Fix the following whitescan warning: Calling "zlib_inflateEnd(&stream)" is only useful for its return value, which is ignored. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- fs/cramfs/uncompress.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/cramfs/uncompress.c b/fs/cramfs/

[PATCH v3 3/8] hugetlb: add per-hstate mutex to synchronize user adjustments

2021-03-30 Thread Mike Kravetz
The helper routine hstate_next_node_to_alloc accesses and modifies the hstate variable next_nid_to_alloc. The helper is used by the routines alloc_pool_huge_page and adjust_pool_surplus. adjust_pool_surplus is called with hugetlb_lock held. However, alloc_pool_huge_page can not be called with th

[PATCH v3 6/8] hugetlb: change free_pool_huge_page to remove_pool_huge_page

2021-03-30 Thread Mike Kravetz
free_pool_huge_page was called with hugetlb_lock held. It would remove a hugetlb page, and then free the corresponding pages to the lower level allocators such as buddy. free_pool_huge_page was called in a loop to remove hugetlb pages and these loops could hold the hugetlb_lock for a considerable

[PATCH v3 2/8] hugetlb: no need to drop hugetlb_lock to call cma_release

2021-03-30 Thread Mike Kravetz
Now that cma_release is non-blocking and irq safe, there is no need to drop hugetlb_lock before calling. Signed-off-by: Mike Kravetz Acked-by: Roman Gushchin Acked-by: Michal Hocko --- mm/hugetlb.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 3c3e4

[PATCH v3 7/8] hugetlb: make free_huge_page irq safe

2021-03-30 Thread Mike Kravetz
Commit c77c0a8ac4c5 ("mm/hugetlb: defer freeing of huge pages if in non-task context") was added to address the issue of free_huge_page being called from irq context. That commit hands off free_huge_page processing to a workqueue if !in_task. However, this doesn't cover all the cases as pointed o

[PATCH v3 4/8] hugetlb: create remove_hugetlb_page() to separate functionality

2021-03-30 Thread Mike Kravetz
The new remove_hugetlb_page() routine is designed to remove a hugetlb page from hugetlbfs processing. It will remove the page from the active or free list, update global counters and set the compound page destructor to NULL so that PageHuge() will return false for the 'page'. After this call, the

  1   2   3   4   5   6   7   8   9   10   >