Re: [PATCH printk-rework 14/14] printk: console: remove unnecessary safe buffer usage

2021-02-23 Thread Petr Mladek
On Thu 2021-02-18 09:18:17, John Ogness wrote: > Upon registering a console, safe buffers are activated when setting > up the sequence number to replay the log. However, these are already > protected by @console_sem and @syslog_lock. Remove the unnecessary > safe buffer usage. > > Signed-off-by: J

Re: [PATCH v2] vdpa/mlx5: Enable user to add/delete vdpa device

2021-02-23 Thread Michael S. Tsirkin
On Tue, Feb 23, 2021 at 02:54:42PM +0200, Eli Cohen wrote: > On Tue, Feb 23, 2021 at 07:52:34AM -0500, Michael S. Tsirkin wrote: > > > > I think I have them in the linux next branch, no? > > > > You do. I guest there's a conflict with some other patch in that tree then. Can you rebase please?

Re: [PATCH] mips: bmips: init clocks earlier

2021-02-23 Thread Thomas Bogendoerfer
On Mon, Feb 22, 2021 at 09:33:50PM +0100, Álvaro Fernández Rojas wrote: > device_initcall() is too late for bcm63xx. > We need to call of_clk_init() earlier in order to properly boot. > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/bmips/setup.c | 2 +- > 1 file changed, 1 insertion(

Re: [PATCH 3/5] arch: mips: update references to current linux-mips list

2021-02-23 Thread Thomas Bogendoerfer
On Mon, Feb 22, 2021 at 05:19:03PM +0100, Lukas Bulwahn wrote: > The linux-mips mailing list now lives at kernel.org. Update all references > in the kernel tree. > > Signed-off-by: Lukas Bulwahn > --- > arch/mips/kernel/r4k-bugs64.c | 2 +- > arch/mips/lib/iomap-pci.c | 2 +- > arch/mips/sgi

Re: [PATCH mips-fixes] vmlinux.lds.h: catch even more instrumentation symbols into .data

2021-02-23 Thread Thomas Bogendoerfer
On Tue, Feb 23, 2021 at 11:36:21AM +, Alexander Lobakin wrote: > LKP caught another bunch of orphaned instrumentation symbols [0]: > > mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from > `init/main.o' being placed in section `.data.$LPBX1' > mipsel-linux-ld: warning: orphan section

Re: [PATCH mips-fixes] vmlinux.lds.h: catch even more instrumentation symbols into .data

2021-02-23 Thread Thomas Bogendoerfer
On Tue, Feb 23, 2021 at 11:36:41AM +, Alexander Lobakin wrote: > > LKP caught another bunch of orphaned instrumentation symbols [0]: > > > > mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from > > `init/main.o' being placed in section `.data.$LPBX1' > > mipsel-linux-ld: warning: orphan

Re: [PATCH 5.11 00/12] 5.11.1-rc1 review

2021-02-23 Thread Greg Kroah-Hartman
On Mon, Feb 22, 2021 at 01:29:17PM -0800, Guenter Roeck wrote: > On Mon, Feb 22, 2021 at 01:12:52PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.11.1 release. > > There are 12 patches in this series, all will be posted as a response > > to this one. I

Re: [PATCH 5.11 00/12] 5.11.1-rc1 review

2021-02-23 Thread Greg Kroah-Hartman
On Tue, Feb 23, 2021 at 01:10:19AM +0530, Naresh Kamboju wrote: > On Mon, 22 Feb 2021 at 17:43, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.11.1 release. > > There are 12 patches in this series, all will be posted as a response > > to this one. If an

Re: [PATCH v11 04/13] vfio/pci: Add VFIO_REGION_TYPE_NESTED region type

2021-02-23 Thread Auger Eric
Hi Shenming, On 2/23/21 1:45 PM, Shenming Lu wrote: >> +static int vfio_pci_dma_fault_init(struct vfio_pci_device *vdev) >> +{ >> +struct vfio_region_dma_fault *header; >> +struct iommu_domain *domain; >> +size_t size; >> +bool nested; >> +int ret; >> + >> +domain = iommu_g

Re: [PATCH v2] vdpa/mlx5: Enable user to add/delete vdpa device

2021-02-23 Thread Eli Cohen
On Tue, Feb 23, 2021 at 07:56:16AM -0500, Michael S. Tsirkin wrote: > On Tue, Feb 23, 2021 at 02:54:42PM +0200, Eli Cohen wrote: > > On Tue, Feb 23, 2021 at 07:52:34AM -0500, Michael S. Tsirkin wrote: > > > > > > I think I have them in the linux next branch, no? > > > > > > > You do. > > I gues

Re: [PATCH 4.9.257 1/1] futex: Fix OWNER_DEAD fixup

2021-02-23 Thread Greg KH
On Mon, Feb 22, 2021 at 09:11:43PM +0800, Zhengyejian (Zetta) wrote: > > > On 2021/2/22 20:36, Greg KH wrote: > > On Mon, Feb 22, 2021 at 08:20:38PM +0800, Zhengyejian (Zetta) wrote: > > > > > > > > > On 2021/2/22 20:07, Greg KH wrote: > > > > On Mon, Feb 22, 2021 at 11:54:24AM +, Lee Jones

Re: [RFC PATCH v6 03/11] media: v4l2: Add extended buffer (de)queue operations for video types

2021-02-23 Thread Hans Verkuil
On 14/01/2021 19:07, Helen Koike wrote: > Those extended buffer ops have several purpose: > 1/ Fix y2038 issues by converting the timestamp into an u64 counting >the number of ns elapsed since 1970 > 2/ Unify single/multiplanar handling > 3/ Add a new start offset field to each v4l2 plane buffe

Re: [PATCH stable-rc queue/4.9 1/1] futex: Provide distinct return value when owner is exiting

2021-02-23 Thread Greg KH
On Mon, Feb 22, 2021 at 10:11:37PM +0800, Xiaoming Ni wrote: > On 2021/2/22 20:09, Greg KH wrote: > > On Mon, Feb 22, 2021 at 06:54:06PM +0800, Xiaoming Ni wrote: > > > On 2021/2/22 18:16, Greg KH wrote: > > > > On Mon, Feb 22, 2021 at 03:03:28PM +0800, Xiaoming Ni wrote: > > > > > From: Thomas Gle

Re: [PATCH v2] vdpa/mlx5: Enable user to add/delete vdpa device

2021-02-23 Thread Michael S. Tsirkin
On Tue, Feb 23, 2021 at 02:59:49PM +0200, Eli Cohen wrote: > On Tue, Feb 23, 2021 at 07:56:16AM -0500, Michael S. Tsirkin wrote: > > On Tue, Feb 23, 2021 at 02:54:42PM +0200, Eli Cohen wrote: > > > On Tue, Feb 23, 2021 at 07:52:34AM -0500, Michael S. Tsirkin wrote: > > > > > > > > I think I have t

Re: [PATCH] m68k: Fix virt_addr_valid() W=1 compiler warnings

2021-02-23 Thread Greg Ungerer
On 23/2/21 8:49 pm, Geert Uytterhoeven wrote: If CONFIG_DEBUG_SG=y, and CONFIG_MMU=y: include/linux/scatterlist.h: In function ‘sg_set_buf’: arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] 174 | #define virt_addr_vali

Re: [PATCH v3 5/6] platform/x86: Add intel_skl_int3472 driver

2021-02-23 Thread Daniel Scally
On 23/02/2021 12:01, Andy Shevchenko wrote: + if (ares->type != ACPI_RESOURCE_TYPE_GPIO || + ares->data.gpio.connection_type != ACPI_RESOURCE_GPIO_TYPE_IO) + return 1; /* Deliberately positive so parsing continues */ >>> I don't like to lose control over

Re: [External] Re: [RFC: timer passthrough 1/9] KVM: vmx: hook set_next_event for getting the host tscd

2021-02-23 Thread Zhimin Feng
Hi tglx This question is very nice,  we should be considered to judge whether the current active device is the tsc deadline timer. I will fix this in V2. Thanks Zhimin 在 2021/2/6 上午2:11, Thomas Gleixner 写道: On Fri, Feb 05 2021 at 18:03, Zhimin Feng wrote: @@ -520,6 +521,24 @@ struct kvm_vc

Re: [PATCH] tee: optee: add invoke_fn tracepoints

2021-02-23 Thread Jens Wiklander
On Tue, Feb 23, 2021 at 06:40:26PM +0800, Jisheng Zhang wrote: > On Tue, 23 Feb 2021 08:59:22 +0100 Jens Wiklander wrote: > > > > > > Hi Jisheng, > > Hi Jens, > > > > > On Wed, Feb 10, 2021 at 7:44 AM Jisheng Zhang > > wrote: > > > > > > Add tracepoints to retrieve information about the invo

Re: [PATCH mips-fixes] vmlinux.lds.h: catch even more instrumentation symbols into .data

2021-02-23 Thread Alexander Lobakin
From: Thomas Bogendoerfer Date: Tue, 23 Feb 2021 13:21:44 +0100 > On Tue, Feb 23, 2021 at 11:36:41AM +, Alexander Lobakin wrote: > > > LKP caught another bunch of orphaned instrumentation symbols [0]: > > > > > > mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from > > > `init/main.o'

Re: [PATCH] ARM: dts: nuvoton: Fix flash layout

2021-02-23 Thread Avi Fishman
Hi Anton, At runtime do you get into the code inside npcmx50_sdhci.c, but it doesn't work well or not access at all? Can you check those registers (BootBlock should set them for you): sd1irv1 at address 0xf0800054 value = 0xf5c80f80 sd1irv2 at address 0xf0800058 value = 0x52001132 sd2irv1 at addre

Re: [PATCH v13 4/7] arm64: mte: Enable TCO in functions that can read beyond buffer limits

2021-02-23 Thread Catalin Marinas
On Tue, Feb 23, 2021 at 12:49:52PM +, Will Deacon wrote: > On Tue, Feb 23, 2021 at 12:05:32PM +, Catalin Marinas wrote: > > On Tue, Feb 23, 2021 at 10:56:46AM +, Vincenzo Frascino wrote: > > > On 2/22/21 5:58 PM, Catalin Marinas wrote: > > > > We'll still have an issue with dynamically

Re: [PATCH 3/5] arch: mips: update references to current linux-mips list

2021-02-23 Thread Maciej W. Rozycki
On Tue, 23 Feb 2021, Thomas Bogendoerfer wrote: > For the other patches I'll wait for how the resolution for linux-mips.org > looks like. FWIW I think the typo fix in 5/5 is obviously correct and can go in right away. We can deal with the LMO reference later on should it be needed. Maciej

Re: [PATCH 5/5] MIPS: SGI-IP27: fix spelling in Copyright

2021-02-23 Thread Maciej W. Rozycki
On Mon, 22 Feb 2021, Lukas Bulwahn wrote: > This is a Copyright line, and just a typo slipped through. > > Signed-off-by: Lukas Bulwahn > --- Reviewed-by: Maciej W. Rozycki Maciej

Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-02-23 Thread Michael S. Tsirkin
On Tue, Feb 23, 2021 at 10:03:57AM +0800, Jason Wang wrote: > > On 2021/2/23 9:12 上午, Si-Wei Liu wrote: > > > > > > On 2/21/2021 11:34 PM, Michael S. Tsirkin wrote: > > > On Mon, Feb 22, 2021 at 12:14:17PM +0800, Jason Wang wrote: > > > > On 2021/2/19 7:54 下午, Si-Wei Liu wrote: > > > > > Commit

ERROR: modpost: "mipi_dsi_attach" undefined!

2021-02-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3b9cdafb5358eb9f3790de2f728f765fef100731 commit: 23278bf54afe180967069bdc8c0f1c7a365fc63e drm/bridge: Introduce LT9611 DSI to HDMI bridge date: 7 months ago config: s390-randconfig-r022-20210223 (attached

Re: [External] Re: [RESEND RFC: timer passthrough 0/9] Support timer passthrough for VM

2021-02-23 Thread Zhimin Feng
Hi The host timer would be saved when cpu entry the non-root mode, and it would be restored when cpu entry the root mode. So the guest doesn't the host timer. The host timer would be written to the preemption timer in non-root mode. When the host timer is expired(preemption timer value is '0

Re: [PATCH 5/5] MIPS: SGI-IP27: fix spelling in Copyright

2021-02-23 Thread Philippe Mathieu-Daudé
On Tue, Feb 23, 2021 at 1:33 PM Maciej W. Rozycki wrote: > On Tue, 23 Feb 2021, Philippe Mathieu-Daudé wrote: > > > > diff --git a/arch/mips/sgi-ip27/ip27-timer.c > > > b/arch/mips/sgi-ip27/ip27-timer.c > > > index 79c434fece52..444b5e0e935f 100644 > > > --- a/arch/mips/sgi-ip27/ip27-timer.c > >

UBSAN: shift-out-of-bounds in detach_tasks

2021-02-23 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:31caf8b2 Merge branch 'linus' of git://git.kernel.org/pub/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=167b3f04d0 kernel config: https://syzkaller.appspot.com/x/.config?x=f1351eea7b07cf47 das

WARNING in ieee802154_get_llsec_params

2021-02-23 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:a99163e9 Merge tag 'devicetree-for-5.12' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=144bedf2d0 kernel config: https://syzkaller.appspot.com/x/.config?x=7a875029a795d230 das

possible deadlock in io_link_timeout_fn

2021-02-23 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:31caf8b2 Merge branch 'linus' of git://git.kernel.org/pub/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11c64f12d0 kernel config: https://syzkaller.appspot.com/x/.config?x=5a8f3a57fabb4015 das

Re: [PATCH] net: check if protocol extracted by virtio_net_hdr_set_proto is correct

2021-02-23 Thread Balazs Nemeth
On Mon, 2021-02-22 at 11:39 +0800, Jason Wang wrote: > > On 2021/2/19 10:55 下午, Willem de Bruijn wrote: > > On Fri, Feb 19, 2021 at 3:53 AM Jason Wang > > wrote: > > > > > > On 2021/2/18 11:50 下午, Willem de Bruijn wrote: > > > > On Thu, Feb 18, 2021 at 10:01 AM Balazs Nemeth < > > > > bnem...@re

Re: [RFC PATCH v5 09/19] virtio/vsock: set packet's type in send

2021-02-23 Thread Stefano Garzarella
The title is a little cryptic, maybe a something like: virtio/vsock: set packet's type in virtio_transport_send_pkt_info() On Thu, Feb 18, 2021 at 08:39:02AM +0300, Arseny Krasnov wrote: This moves passing type of packet from 'info' srtucture to send Also here replace send with the function n

Re: [PATCH RFC 0/1] mm: balancing the node zones occupancy

2021-02-23 Thread Charan Teja Kalla
Thanks Vlastimil for the review comments!! On 2/19/2021 4:56 PM, Vlastimil Babka wrote: > Can you share the use case for doing this? If it's to replace a failed RAM, > then > it's probably extremely rare, right. > >> We have the proof-of-concept code tried on the Snapdragon systems with >> the s

Re: UBSAN: shift-out-of-bounds in load_balance

2021-02-23 Thread Vincent Guittot
On Tue, 23 Feb 2021 at 13:03, Valentin Schneider wrote: > > > +Vincent > > On 22/02/21 09:12, syzbot wrote: > > syzbot has found a reproducer for the following issue on: > > > > HEAD commit:31caf8b2 Merge branch 'linus' of git://git.kernel.org/pub/.. > > git tree: upstream > > console ou

Re: [RFC PATCH v5 10/19] virtio/vsock: simplify credit update function API

2021-02-23 Thread Stefano Garzarella
On Thu, Feb 18, 2021 at 08:39:23AM +0300, Arseny Krasnov wrote: 'virtio_transport_send_credit_update()' has some extra args: 1) 'type' may be set in 'virtio_transport_send_pkt_info()' using type of socket. 2) This function is static and 'hdr' arg was always NULL. Signed-off-by: Arseny Krasnov

RE: [PATCH v22 3/4] scsi: ufs: Prepare HPB read for cached sub-region

2021-02-23 Thread Avri Altman
> +static int ufshpb_fill_ppn_from_page(struct ufshpb_lu *hpb, > +struct ufshpb_map_ctx *mctx, int pos, > +int len, u64 *ppn_buf) > +{ > + struct page *page; > + int index, offset; > + int copied; > + > +

Re: [RT v5.11-rt7] WARNING at include/linux/seqlock.h:271 nft_counter_eval

2021-02-23 Thread Juri Lelli
On 23/02/21 12:00, Sebastian Andrzej Siewior wrote: > On 2021-02-23 11:49:07 [+0100], Juri Lelli wrote: > > Hi, > Hi, > > > I'm seeing the following splat right after boot (or during late boot > > phases) with v5.11-rt7 (LOCKDEP enabled). > … > > [ 85.273588] WARNING: CPU: 5 PID: 1416 at include

Re: [PATCH v15 2/4] phy: Add media type and speed serdes configuration interfaces

2021-02-23 Thread Leon Romanovsky
On Tue, Feb 23, 2021 at 05:52:14PM +0530, Kishon Vijay Abraham I wrote: > Hi Leon, > > On 22/02/21 1:30 pm, Steen Hegelund wrote: > > Hi Leon, > > > > On Sun, 2021-02-21 at 07:59 +0200, Leon Romanovsky wrote: > >> EXTERNAL EMAIL: Do not click links or open attachments unless you > >> know the conte

Re: possible deadlock in io_link_timeout_fn

2021-02-23 Thread Pavel Begunkov
On 23/02/2021 13:35, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:31caf8b2 Merge branch 'linus' of git://git.kernel.org/pub/.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=11c64f12d0 > kernel config: https://syz

Re: [PATCH v3 1/1] kernel/crash_core: Add crashkernel=auto for vmcore creation

2021-02-23 Thread Baoquan He
On 02/23/21 at 08:01pm, Kairui Song wrote: > On Thu, Feb 18, 2021 at 10:03 AM Baoquan He wrote: > > > > On 02/11/21 at 10:08am, Saeed Mirzamohammadi wrote: ... > > > diff --git a/arch/Kconfig b/arch/Kconfig > > > index af14a567b493..f87c88ffa2f8 100644 > > > --- a/arch/Kconfig > > > +++ b/arch/Kco

[PATCHv3] firmware: stratix10-svc: reset COMMAND_RECONFIG_FLAG_PARTIAL to 0

2021-02-23 Thread richard . gong
From: Richard Gong Clean up COMMAND_RECONFIG_FLAG_PARTIAL flag by resetting it to 0, which aligns with the firmware settings. Cc: # 5.9+ Fixes: 36847f9e3e56 ("firmware: stratix10-svc: correct reconfig flag and timeout values") Signed-off-by: Richard Gong --- v3: correct the missing item in th

Linux 5.11.1

2021-02-23 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.11.1 kernel. All users of the 5.11 kernel series must upgrade. The updated 5.11.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.11.y and can be browsed at the normal kernel.org git web browser:

Linux 4.4.258

2021-02-23 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.4.258 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.258

2021-02-23 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 8de8f9ac3279..abf7b5aa99bb 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 257 +SUBLEVEL = 258 EXTRAVERSION = NAME = Blurry Fish Butt @@ -760,6 +760,13 @@ ifdef CONFIG_FUNCTION_TRACER ifndef CC_FLAGS_FTRACE C

Re: Linux 4.9.258

2021-02-23 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index e53096154f81..e5955f122ffd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 257 +SUBLEVEL = 258 EXTRAVERSION = NAME = Roaring Lionus @@ -762,6 +762,13 @@ ifdef CONFIG_FUNCTION_TRACER ifndef CC_FLAGS_FTRACE CC_

Linux 4.9.258

2021-02-23 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.9.258 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 5.11.1

2021-02-23 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index de1acaefe87e..0b9ae470a714 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 11 -SUBLEVEL = 0 +SUBLEVEL = 1 EXTRAVERSION = NAME = 💕 Valentine's Day Edition 💕 diff --git a/arch/arm/xen/p2m.c

Re: Linux 4.14.222

2021-02-23 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index b25ce26c1cd7..101b789e7c2b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 221 +SUBLEVEL = 222 EXTRAVERSION = NAME = Petit Gorille @@ -760,6 +760,13 @@ ifdef CONFIG_FUNCTION

Linux 4.14.222

2021-02-23 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.14.222 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser

[PATCH] scripts/gdb: fix 'lx-symbols' section parsing

2021-02-23 Thread Julian Blaauboer
Loading a module using 'lx-symbols' in GDB would result in a gdb.MemoryError when parsing the section names and addresses because of the way GDB handles flexible array members. This patch fixes that issue by converting the 'struct module_sect_attr[]' into a pointer before accessing it. Signed-off-

Re: [PATCH][next] ASoC: codecs: lpass-rx-macro: Fix uninitialized variable ec_tx

2021-02-23 Thread Mark Brown
On Mon, 15 Feb 2021 16:33:13 +, Colin King wrote: > There is potential read of the uninitialized variable ec_tx if the call > to snd_soc_component_read fails or returns an unrecognized w->name. To > avoid this corner case, initialize ec_tx to -1 so that it is caught > later when ec_tx is bounds

[PATCH -next] nvmem: Fix return value check in rmem_read()

2021-02-23 Thread Wei Yongjun
In case of error, the function memremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: 5a3fa75a4d9c ("nvmem: Add driver to expose reserved memory as nvmem") Reported-by: Hulk Robot Signed-off-by: Wei Yongjun --- driver

Re: [PATCH v4 1/4] PCI: Introduce pcim_alloc_irq_vectors()

2021-02-23 Thread Dejin Zheng
On Tue, Feb 23, 2021 at 09:02:54AM +0100, Robert Richter wrote: > On 22.02.21 23:14:15, Dejin Zheng wrote: > > On Mon, Feb 22, 2021 at 11:56:08AM +0100, Robert Richter wrote: > > > On 20.02.21 00:46:49, Dejin Zheng wrote: > > > > > On 18.02.21 23:04:55, Dejin Zheng wrote: > > > > > > > > > + if

Re: [RFC PATCH v5 11/19] virtio/vsock: dequeue callback for SOCK_SEQPACKET

2021-02-23 Thread Stefano Garzarella
On Thu, Feb 18, 2021 at 08:39:37AM +0300, Arseny Krasnov wrote: This adds transport callback and it's logic for SEQPACKET dequeue. Callback fetches RW packets from rx queue of socket until whole record is copied(if user's buffer is full, user is not woken up). This is done to not stall sender, be

Re: [PATCH 2/3] drm/nouveau/kms/nv50-: Report max cursor size to userspace

2021-02-23 Thread Alex Riesen
Lyude Paul, Tue, Jan 19, 2021 02:54:13 +0100: > diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c > b/drivers/gpu/drm/nouveau/dispnv50/disp.c > index c6367035970e..5f4f09a601d4 100644 > --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c > +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c > @@ -2663,6 +2

Re: [RFC PATCH v5 11/19] virtio/vsock: dequeue callback for SOCK_SEQPACKET

2021-02-23 Thread Michael S. Tsirkin
On Thu, Feb 18, 2021 at 08:39:37AM +0300, Arseny Krasnov wrote: > This adds transport callback and it's logic for SEQPACKET dequeue. > Callback fetches RW packets from rx queue of socket until whole record > is copied(if user's buffer is full, user is not woken up). This is done > to not stall send

Re: mainline/master bisection: baseline.login on meson-sm1-khadas-vim3l

2021-02-23 Thread Marc Zyngier
Hi Guillaume, On Tue, 23 Feb 2021 09:46:30 +, Guillaume Tucker wrote: > > Hello Marc, > > Please see the bisection report below about a boot failure on > meson-sm1-khadas-vim3l on mainline. It seems to only be > affecting kernels built with CONFIG_ARM64_64K_PAGES=y. > > Reports aren't aut

Re: [PATCH] tee: optee: add invoke_fn tracepoints

2021-02-23 Thread Steven Rostedt
On Tue, 23 Feb 2021 14:11:24 +0100 Jens Wiklander wrote: > I used the -strict option. > > ./scripts/checkpatch.pl -strict 0001-tee-optee-add-invoke_fn-tracepoints.patch > WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? > #44: > new file mode 100644 The above is just a

Re: [RT v5.11-rt7] WARNING at include/linux/seqlock.h:271 nft_counter_eval

2021-02-23 Thread Ahmed S. Darwish
On Tue, Feb 23, 2021 at 02:53:40PM +0100, Juri Lelli wrote: > On 23/02/21 12:00, Sebastian Andrzej Siewior wrote: > > On 2021-02-23 11:49:07 [+0100], Juri Lelli wrote: > > > Hi, > > Hi, > > > > > I'm seeing the following splat right after boot (or during late boot > > > phases) with v5.11-rt7 (LOCK

Re: [PATCH v13 4/7] arm64: mte: Enable TCO in functions that can read beyond buffer limits

2021-02-23 Thread Vincenzo Frascino
On 2/23/21 12:49 PM, Will Deacon wrote: >>> I totally agree on this point. In the case of runtime switching we might >>> need >>> the rethink completely the strategy and depends a lot on what we want to >>> allow >>> and what not. For the kernel I imagine we will need to expose something in >>>

Re: [RT v5.11-rt7] WARNING at include/linux/seqlock.h:271 nft_counter_eval

2021-02-23 Thread Sebastian Andrzej Siewior
On 2021-02-23 14:53:40 [+0100], Juri Lelli wrote: > > So, I'm a bit confused and I'm very likely missing details (still > digesting the seqprop_ magic), but write_seqcount_being() has > > if (seqprop_preemptible(s)) > preempt_disable(); > > which in this case (no lock associated) is define

[PATCH 2/3] power: supply: bq27xxx: fix power_avg

2021-02-23 Thread Matthias Schiffer
On all newer bq27xxx ICs, the AveragePower register contains a signed value; in addition to handling the raw value as unsigned, the driver code also didn't convert it to µW as expected. At least for the BQ28Z610, the reference manual incorrectly states that the value is in units of 1mA and not 10m

[PATCH 3/3] power: supply: bq27xxx: make status more robust

2021-02-23 Thread Matthias Schiffer
There are multiple issues in bq27xxx_battery_status(): - On BQ28Q610 is was observed that the "full" flag may be set even while the battery is charging or discharging. With the current logic to make "full" override everything else, it look a very long time (>20min) for the status to change f

[PATCH 1/3] power: supply: bq27xxx: fix sign of current_now for newer ICs

2021-02-23 Thread Matthias Schiffer
Commit cd060b4d0868 ("power: supply: bq27xxx: fix polarity of current_now") changed the sign of current_now for all bq27xxx variants, but on BQ28Z610 I'm now seeing negated values *with* that patch. The GTA04/Openmoko device that was used for testing uses a BQ27000 or BQ27010 IC, so I assume only

Re: [PATCH] net: check if protocol extracted by virtio_net_hdr_set_proto is correct

2021-02-23 Thread Willem de Bruijn
On Tue, Feb 23, 2021 at 8:48 AM Balazs Nemeth wrote: > > On Mon, 2021-02-22 at 11:39 +0800, Jason Wang wrote: > > > > On 2021/2/19 10:55 下午, Willem de Bruijn wrote: > > > On Fri, Feb 19, 2021 at 3:53 AM Jason Wang > > > wrote: > > > > > > > > On 2021/2/18 11:50 下午, Willem de Bruijn wrote: > > > >

[GIT PULL] arch/microblaze patches for 5.12-rc1

2021-02-23 Thread Michal Simek
Hi Linus, please pull these 3 patches to your tree. Thanks, Michal The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the Git repository at: git://git.monstr.eu/linux-2.6-microblaze.git tags/microblaze-v

Re: [PATCH printk-rework 08/14] printk: add syslog_lock

2021-02-23 Thread Petr Mladek
On Tue 2021-02-23 13:22:22, Helge Deller wrote: > On 2/22/21 5:28 PM, Petr Mladek wrote: > > On Sun 2021-02-21 22:39:42, Helge Deller wrote: > > > On 2/19/21 5:33 PM, John Ogness wrote: > > > > Added CC: linux-par...@vger.kernel.org > > > > > > > > On 2021-02-19, John Ogness wrote: > > > > > > >

Re: [PATCH] tty/serial:Remove superfluous "breaks"

2021-02-23 Thread Uwe Kleine-König
On Tue, Feb 23, 2021 at 04:06:30PM +0800, dingsen...@163.com wrote: > From: dingsenjie > > Remove superfluous "breaks", as there is a "return" before them. > > Signed-off-by: dingsenjie You are at least the fourth person who sends this patch[1]. The things I wrote in reply to the latest submis

Linux 4.19.177

2021-02-23 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.177 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser

Re: Linux 4.19.177

2021-02-23 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 6bebe3b22b45..74b9258e7d2c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 176 +SUBLEVEL = 177 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/arm/boot/dts/lpc32xx.

Re: [PATCH 1/1] net: fec: ptp: avoid register access when ipg clock is disabled

2021-02-23 Thread Richard Cochran
On Tue, Feb 23, 2021 at 09:00:32AM +0100, Heiko Thiery wrote: > HI Jakub, > > Am Di., 23. Feb. 2021 um 04:00 Uhr schrieb Jakub Kicinski : > > Why is the PTP interface registered when it can't be accessed? > > > > Perhaps the driver should unregister the PTP clock when it's brought > > down? I don

Linux 5.4.100

2021-02-23 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.100 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

[PATCH v3] ath10k: skip the wait for completion to recovery in shutdown path

2021-02-23 Thread Youghandhar Chintala
Currently in the shutdown callback we wait for recovery to complete before freeing up the resources. This results in additional two seconds delay during the shutdown and thereby increase the shutdown time. As an attempt to take less time during shutdown, remove the wait for recovery completion in

Greetings from Mrs. Caroline Manon.

2021-02-23 Thread Mrs. Caroline Manon
Dear Friend, I know that this mail will come to you as a surprise as we have never met before, but need not to worry as I am contacting you independently of my investigation and no one is informed of this communication. I need your urgent assistance in transferring the sum of U$10.5 million immedi

Re: Linux 5.4.100

2021-02-23 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index a0491ba1d759..d0d4beb4f837 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 99 +SUBLEVEL = 100 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git a/arch/arm/xen/p2m.c b/arc

Re: [PATCH 1/1] scsi: storvsc: Enable scatterlist entry lengths > 4Kbytes

2021-02-23 Thread Vitaly Kuznetsov
Michael Kelley writes: > storvsc currently sets .dma_boundary to limit scatterlist entries > to 4 Kbytes, which is less efficient with huge pages that offer > large chunks of contiguous physical memory. Improve the algorithm > for creating the Hyper-V guest physical address PFN array so > that sc

Re: [PATCH v3 8/9] dt-bindings: media: nxp,imx8mq-vpu: Update bindings

2021-02-23 Thread Rob Herring
On Tue, Feb 23, 2021 at 2:04 AM Benjamin Gaignard wrote: > > > Le 23/02/2021 à 01:34, Rob Herring a écrit : > > On Mon, Feb 22, 2021 at 01:24:05PM +0100, Benjamin Gaignard wrote: > >> The current bindings seem to make the assumption that the > >> two VPUs hardware blocks (G1 and G2) are only one s

[PATCH RFC 0/4] Add support for synchronous signals on perf events

2021-02-23 Thread Marco Elver
The perf subsystem today unifies various tracing and monitoring features, from both software and hardware. One benefit of the perf subsystem is automatically inheriting events to child tasks, which enables process-wide events monitoring with low overheads. By default perf events are non-intrusive,

[PATCH 4.9.y 1/1] futex: Fix OWNER_DEAD fixup

2021-02-23 Thread Zheng Yejian
From: Peter Zijlstra commit a97cb0e7b3f4c6297fd857055ae8e895f402f501 upstream. Both Geert and DaveJ reported that the recent futex commit: c1e2f0eaf015 ("futex: Avoid violating the 10th rule of futex") introduced a problem with setting OWNER_DEAD. We set the bit on an uninitialized variable

[PATCH 4.9.y 0/1] Bugfix for 781691c797de ("futex: Avoid violating the 10th rule of futex")

2021-02-23 Thread Zheng Yejian
This patch may fix the following bug: Link: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/?h=linux-4.9.y&id=5b1d078507bd33ebf6c2083fa363cf5832809c19 > static int __fixup_pi_state_owner(u32 __user *uaddr, struct futex_q *q, > struct task_

[PATCH RFC 1/4] perf/core: Apply PERF_EVENT_IOC_MODIFY_ATTRIBUTES to children

2021-02-23 Thread Marco Elver
As with other ioctls (such as PERF_EVENT_IOC_{ENABLE,DISABLE}), fix up handling of PERF_EVENT_IOC_MODIFY_ATTRIBUTES to also apply to children. Link: https://lkml.kernel.org/r/ybqvay8atmyto...@hirez.programming.kicks-ass.net Suggested-by: Dmitry Vyukov Signed-off-by: Marco Elver --- kernel/event

[PATCH RFC 2/4] signal: Introduce TRAP_PERF si_code and si_perf to siginfo

2021-02-23 Thread Marco Elver
Introduces the TRAP_PERF si_code, and associated siginfo_t field si_perf. These will be used by the perf event subsystem to send signals (if requested) to the task where an event occurred. Signed-off-by: Marco Elver --- arch/m68k/kernel/signal.c | 3 +++ arch/x86/kernel/signal_compat.c

[PATCH RFC 3/4] perf/core: Add support for SIGTRAP on perf events

2021-02-23 Thread Marco Elver
Adds bit perf_event_attr::sigtrap, which can be set to cause events to send SIGTRAP (with si_code TRAP_PERF) to the task where the event occurred. To distinguish perf events and allow user space to decode si_perf (if set), the event type is set in si_errno. The primary motivation is to support syn

[PATCH RFC 4/4] perf/core: Add breakpoint information to siginfo on SIGTRAP

2021-02-23 Thread Marco Elver
Encode information from breakpoint attributes into siginfo_t, which helps disambiguate which breakpoint fired. Note, providing the event fd may be unreliable, since the event may have been modified (via PERF_EVENT_IOC_MODIFY_ATTRIBUTES) between the event triggering and the signal being delivered t

Re: [PATCH printk-rework 08/14] printk: add syslog_lock

2021-02-23 Thread Petr Mladek
On Mon 2021-02-22 17:43:56, John Ogness wrote: > On 2021-02-22, Petr Mladek wrote: > diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c > index 20c21a25143d..401df370832b 100644 > --- a/kernel/printk/printk.c > +++ b/kernel/printk/printk.c > +/* Return a consiste

Re: [PATCH for 5.10] powerpc/32: Preserve cr1 in exception prolog stack check to fix build error

2021-02-23 Thread Christophe Leroy
Le 15/02/2021 à 15:30, Greg KH a écrit : On Fri, Feb 12, 2021 at 08:57:14AM +, Christophe Leroy wrote: This is backport of 3642eb21256a ("powerpc/32: Preserve cr1 in exception prolog stack check to fix build error") for kernel 5.10 It fixes the build failure on v5.10 reported by kernel t

Re: [PATCH] perf tools: check perf_event_paranoid and kptr_restrict on 'perf top'

2021-02-23 Thread Jiri Olsa
On Tue, Feb 23, 2021 at 02:24:40PM +0800, Jackie Liu wrote: > Perf top will segfault, we should give prompt information like perf > record instead of crashing directly. > > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Arnaldo Carvalho de Melo > Cc: Mark Rutland > Cc: Alexander Shishkin > Cc: Ji

Re: [PATCH v3 06/11] drm: Use state helper instead of plane state pointer in atomic_check

2021-02-23 Thread Maxime Ripard
Hi Thomas, On Mon, Feb 22, 2021 at 10:12:49AM +0100, Thomas Zimmermann wrote: > Am 19.02.21 um 13:00 schrieb Maxime Ripard: > > Many drivers reference the plane->state pointer in order to get the > > current plane state in their atomic_check hook, which would be the old > > plane state in the glob

Re: [PATCHv3] firmware: stratix10-svc: reset COMMAND_RECONFIG_FLAG_PARTIAL to 0

2021-02-23 Thread Tom Rix
Richard, I see this is for stable. Your mainline patchset looks ok with me, has it been accepted yet for mainline ? Reviewed-by: Tom Rix On 2/23/21 6:15 AM, richard.g...@linux.intel.com wrote: > From: Richard Gong > > Clean up COMMAND_RECONFIG_FLAG_PARTIAL flag by resetting it to 0, which >

Re: [PATCH] sched/fair: Fix task utilization accountability in cpu_util_next()

2021-02-23 Thread Dietmar Eggemann
On 22/02/2021 10:54, vincent.donnef...@arm.com wrote: > From: Vincent Donnefort [...] > Also, replace sub_positive with lsub_positive which saves one explicit > load-store. IMHO, in case you're going to fix this now in compute_energy(), this optimization could still be done. Maybe in an extra p

Re: [PATCH v1 1/4] ACPI: processor: Get rid of ACPICA message printing

2021-02-23 Thread Rafael J. Wysocki
On Tue, Feb 23, 2021 at 12:31 PM Hanjun Guo wrote: > > On 2021/2/23 2:59, Rafael J. Wysocki wrote: > > Index: linux-pm/drivers/acpi/processor_idle.c > > === > > --- linux-pm.orig/drivers/acpi/processor_idle.c > > +++ linux-pm/drivers/

Re: general protection fault in xfrm_user_rcv_msg_compat

2021-02-23 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:a99163e9 Merge tag 'devicetree-for-5.12' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11a6fccad0 kernel config: https://syzkaller.appspot.com/x/.config?x=7a87502

Re: [PATCH printk-rework 08/14] printk: add syslog_lock

2021-02-23 Thread Helge Deller
On 2/23/21 3:23 PM, Petr Mladek wrote: On Tue 2021-02-23 13:22:22, Helge Deller wrote: On 2/22/21 5:28 PM, Petr Mladek wrote: On Sun 2021-02-21 22:39:42, Helge Deller wrote: On 2/19/21 5:33 PM, John Ogness wrote: Added CC: linux-par...@vger.kernel.org On 2021-02-19, John Ogness wrote: diff

Re: [PATCH] sched/fair: Fix task utilization accountability in cpu_util_next()

2021-02-23 Thread Dietmar Eggemann
On 22/02/2021 17:23, Quentin Perret wrote: > On Monday 22 Feb 2021 at 15:58:56 (+), Quentin Perret wrote: >> But in any case, if we're going to address this, I'm still not sure this >> patch will be what we want. As per my first comment we need to keep the >> frequency estimation right. > > To

Re: [PATCH v3 8/9] dt-bindings: media: nxp,imx8mq-vpu: Update bindings

2021-02-23 Thread Ezequiel Garcia
Hi Rob, On Tue, 2021-02-23 at 08:31 -0600, Rob Herring wrote: > On Tue, Feb 23, 2021 at 2:04 AM Benjamin Gaignard > wrote: > > > > > > Le 23/02/2021 à 01:34, Rob Herring a écrit : > > > On Mon, Feb 22, 2021 at 01:24:05PM +0100, Benjamin Gaignard wrote: > > > > The current bindings seem to make

Re: [PATCH 1/1] vsprintf: dump full information of page flags in pGp fix

2021-02-23 Thread Petr Mladek
On Tue 2021-02-23 13:51:24, Yafang Shao wrote: > The name of the flag should be printed using default_str_spec. > There's no difference in the output after this change because the string is > printed as-is with both default_dec_spec and default_flag_spec. > > This patch is a followup of the patchs

Re: [PATCH RFC 1/4] perf/core: Apply PERF_EVENT_IOC_MODIFY_ATTRIBUTES to children

2021-02-23 Thread Dmitry Vyukov
On Tue, Feb 23, 2021 at 3:34 PM Marco Elver wrote: > > As with other ioctls (such as PERF_EVENT_IOC_{ENABLE,DISABLE}), fix up > handling of PERF_EVENT_IOC_MODIFY_ATTRIBUTES to also apply to children. > > Link: > https://lkml.kernel.org/r/ybqvay8atmyto...@hirez.programming.kicks-ass.net > Suggeste

Re: [Intel-gfx] [PATCH 19/30] drm/dp: Pass drm_dp_aux to drm_dp_link_train_clock_recovery_delay()

2021-02-23 Thread Rodrigo Vivi
On Fri, Feb 19, 2021 at 04:53:15PM -0500, Lyude Paul wrote: > So that we can start using drm_dbg_*() in > drm_dp_link_train_clock_recovery_delay(). > > Signed-off-by: Lyude Paul I wonder if we could have a drm_dp so we encapsulate both aux and dpcd related information... But this one already so

Re: [PATCH 1/3] power: supply: bq27xxx: fix sign of current_now for newer ICs

2021-02-23 Thread Andreas Kemnade
On Tue, 23 Feb 2021 15:11:20 +0100 Matthias Schiffer wrote: > Commit cd060b4d0868 ("power: supply: bq27xxx: fix polarity of current_now") > changed the sign of current_now for all bq27xxx variants, but on BQ28Z610 > I'm now seeing negated values *with* that patch. > > The GTA04/Openmoko device t

Re: [RFC PATCH v5 00/19] virtio/vsock: introduce SOCK_SEQPACKET support

2021-02-23 Thread Stefano Garzarella
On Mon, Feb 22, 2021 at 03:23:11PM +0100, Stefano Garzarella wrote: Hi Arseny, On Thu, Feb 18, 2021 at 08:33:44AM +0300, Arseny Krasnov wrote: This patchset impelements support of SOCK_SEQPACKET for virtio transport. As SOCK_SEQPACKET guarantees to save record boundaries, so to

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