Re: [PATCH v2 bpf-next 10/13] bpf: Add instructions for atomic[64]_[fetch_]sub

2020-11-27 Thread kernel test robot
config: i386-randconfig-s001-20201127 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-151-g540c2c4b-dirty # https://github.com/0day-ci/linux/commit/8b1823a5cf4569c72046175d217e3e2ad68c6a05 git

[GIT PULL] SCSI fixes for 5.10-rc5

2020-11-27 Thread James Bottomley
Three small fixes in the UFS driver: two are for power management issues and the third is to fix a slew of problem in the sysfs code. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Can Guo (2): scsi: ufs: Make

[GIT PULL] ARM: at91: defconfig for 5.11

2020-11-27 Thread Alexandre Belloni
Arnd, Olof, Two patches limiting the number of compiled media drivers. The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-11-27 Thread Linus Torvalds
On Fri, Nov 27, 2020 at 1:15 PM Linus Torvalds wrote: > > Oh, this is a red herring. It's "make" output being misleading, and it > just comes from the FORCE keyword. > > And no, those don't actually change the end result for me. .. and that red herring was what made me think that it always

[PATCH] remoteproc/mediatek: Fix kernel test robot warning

2020-11-27 Thread Souptick Joarder
Kernel test robot throws below warning -> >> drivers/remoteproc/mtk_scp.c:755:37: warning: unused variable >> 'mt8183_of_data' [-Wunused-const-variable] static const struct mtk_scp_of_data mt8183_of_data = { ^ >> drivers/remoteproc/mtk_scp.c:765:37:

Re: linux-next: Tree for Nov 27 (drivers/idle/intel_idle.c)

2020-11-27 Thread Randy Dunlap
On 11/27/20 1:36 PM, Stephen Rothwell wrote: > Hi Randy, > > On Fri, 27 Nov 2020 07:57:32 -0800 Randy Dunlap wrote: >> >> On 11/27/20 1:04 AM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20201126: >>> >> >> (This looks strange to me.) >> >> >> on i386 or x86_64: >> >> #

[PATCH] MAINTAINERS add D: tag for subsystem commit prefix

2020-11-27 Thread trix
From: Tom Rix From RFC MAINTAINERS tag for cleanup robot https://lkml.org/lkml/2020/11/21/190 The prefix used by subsystems in their commit log is arbitrary. To elimitate the time and effort to manually find a reasonable prefix, store the preferred prefix in the MAINTAINERS file. Populate with

Re: linux-next: Tree for Nov 27 (parisc: signal flags)

2020-11-27 Thread Stephen Rothwell
Hi all, On Fri, 27 Nov 2020 10:43:07 -0800 Randy Dunlap wrote: > > On 11/27/20 1:04 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20201126: > > > > on parisc, _SA_SIGGFAULT is undefined and causing build errors. > > commit 23acdc76f1798b090bb9dcc90671cd29d929834e > Author:

[GIT PULL] ARM: at91: Drivers for 5.11 (bis)

2020-11-27 Thread Alexandre Belloni
Arnd, Olof, As discussed with Arnd, here are two cleanup patches for at91_cf. My end goal is to get rid of include/linux/platform_data/atmel.h. Also a very small patch adding SoC IDs for the sam9x60 SiPs. The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux

Re: linux-next: Tree for Nov 27 (drivers/idle/intel_idle.c)

2020-11-27 Thread Stephen Rothwell
Hi Randy, On Fri, 27 Nov 2020 07:57:32 -0800 Randy Dunlap wrote: > > On 11/27/20 1:04 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20201126: > > > > (This looks strange to me.) > > > on i386 or x86_64: > > # CONFIG_ACPI is not set > > ../drivers/idle/intel_idle.c: In

Re: [PATCH v2 1/2] media: i2c: Add driver for the Sony Exmor-RS IMX300 camera sensor

2020-11-27 Thread AngeloGioacchino Del Regno
Il giorno ven 27 nov 2020 alle ore 00:43 Sakari Ailus ha scritto: > > Hi AngeloGioacchino, > > Thanks for the patchset. > > On Thu, Oct 29, 2020 at 06:29:46PM +0100, khol...@gmail.com wrote: > > From: AngeloGioacchino Del Regno > > > > This is a custom multi-aspect 25MegaPixels sensor from Sony,

Re: [GIT PULL] Please pull RDMA subsystem changes

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 10:00:52 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d41e9b22eb871a7a7060964db9ce1ceb1c6e5b57 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Btrfs fixes for 5.10-rc6

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 16:36:15 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.10-rc5-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a17a3ca55e96d20e25e8b1a7cd08192ce2bac3cc Thank you! -- Deet-doot-dot, I am

Re: [PATCH bpf v2 2/2] xsk: change the tx writeable condition

2020-11-27 Thread Daniel Borkmann
On 11/25/20 7:48 AM, Xuan Zhuo wrote: Modify the tx writeable condition from the queue is not full to the number of present tx queues is less than the half of the total number of queues. Because the tx queue not full is a very short time, this will cause a large number of EPOLLOUT events, and

Re: [GIT PULL] ARM: at91: Drivers for 5.11

2020-11-27 Thread Alexandre Belloni
Please ignore that one, I'm going to merge my current at91-drivers and at91-soc branches and send you only one PR as this is what makes more sense. On 27/11/2020 22:08:46+0100, Alexandre Belloni wrote: > Arnd, Olof, > > As discussed with Arnd, here are two cleanup patches for at91_cf. My end >

[GIT PULL] ARM: at91: Drivers for 5.11

2020-11-27 Thread Alexandre Belloni
Arnd, Olof, As discussed with Arnd, here are two cleanup patches for at91_cf. My end goal is to get rid of include/linux/platform_data/atmel.h. The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the Git

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-11-27 Thread Linus Torvalds
On Fri, Nov 27, 2020 at 1:08 PM Linus Torvalds wrote: > >make --trace allmodconfig > > shows a series of > > scripts/Makefile.host:112: target 'scripts/kconfig/o' does not exist > > lines, which is silly and wrong Oh, this is a red herring. It's "make" output being misleading,

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-11-27 Thread Linus Torvalds
Just a quick note, because it's been a small annoyance for a while (I don't think it has anything to do with the 5.10 pull, I'm just responding to your latest pull request).. I have "make allmodconfig" taking unnecessarily long, and I finally started asking myself "what's so expensive here". I'd

[PATCH] media: ttpci: switch from 'pci_' to 'dma_' API

2020-11-27 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'av7110_attach()' GFP_KERNEL can be used because

KASAN: use-after-free Read in ntfs_iget

2020-11-27 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:418baf2c Linux 5.10-rc5 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=130eb53550 kernel config: https://syzkaller.appspot.com/x/.config?x=a31e7421a3bb7a0f dashboard link:

[GIT PULL] asm-generic: add correct MAX_POSSIBLE_PHYSMEM_BITS setting

2020-11-27 Thread Arnd Bergmann
The following changes since commit f8394f232b1eab649ce2df5c5f15b0e528c92091: Linux 5.10-rc3 (2020-11-08 16:10:16 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic-fixes-5.10-2 for you to fetch changes up to

Re: [PATCH net-next 1/7] net: hns3: add support for RX completion checksum

2020-11-27 Thread Jakub Kicinski
On Fri, 27 Nov 2020 16:47:16 +0800 Huazhong Tan wrote: > In some cases (for example ip fragment), hardware will > calculate the checksum of whole packet in RX, and setup > the HNS3_RXD_L2_CSUM_B flag in the descriptor, so add > support to utilize this checksum. > > Signed-off-by: Huazhong Tan

Re: [PATCH v1 2/6] PCI: brcmstb: Add control of EP voltage regulator(s)

2020-11-27 Thread Jim Quinlan
On Thu, Nov 26, 2020 at 6:49 AM Mark Brown wrote: > > On Wed, Nov 25, 2020 at 02:24:19PM -0500, Jim Quinlan wrote: > > > + for (i = 0; i < PCIE_REGULATORS_MAX; i++) { > > + ep_reg = devm_regulator_get_optional(dev, > > ep_regulator_names[i]); > > + if (IS_ERR(ep_reg))

Re: [PATCH] drm/i915: remove trailing semicolon in macro definition

2020-11-27 Thread Chris Wilson
Quoting t...@redhat.com (2020-11-27 16:28:28) > From: Tom Rix > > The macro use will already have a semicolon. > > Signed-off-by: Tom Rix > --- > drivers/gpu/drm/i915/intel_device_info.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH] clk: qcom: Kconfig: Fix spelling mistake "dyanmic" -> "dynamic"

2020-11-27 Thread Stephen Boyd
Quoting Colin King (2020-11-26 15:24:00) > From: Colin Ian King > > There is a spelling mistake in the Kconfig help text. Fix it. > > Signed-off-by: Colin Ian King > --- Applied to clk-next

Re: [PATCH] gfs2: remove trailing semicolon in macro definition

2020-11-27 Thread Andreas Gruenbacher
On Fri, Nov 27, 2020 at 8:12 PM wrote: > From: Tom Rix > > The macro use will already have a semicolon. > > Signed-off-by: Tom Rix > --- > fs/gfs2/util.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/gfs2/util.h b/fs/gfs2/util.h > index d7562981b3a0..493020393ceb

[PATCH] media: solo6x10: switch from 'pci_' to 'dma_' API

2020-11-27 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'snd_solo_pcm_open()' (solo6x10-g723.c) GFP_KERNEL

Re: [PATCH 1/3] clk: fix redefinition of clk_prepare on MIPS with HAVE_LEGACY_CLK

2020-11-27 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2020-11-25 06:15:05) > On Tue, Nov 24, 2020 at 04:11:31PM -0800, Stephen Boyd wrote: > > > > Ok so this patch isn't necessary then? > > For this particular build failure - it is not necessary anymore. > > However there might more of such errors - just not discovered

Re: [PATCH v2 02/24] exec: Simplify unshare_files

2020-11-27 Thread Arnd Bergmann
On Wed, Nov 25, 2020 at 2:16 AM Eric W. Biederman wrote: > > On 11/24/20 12:14 PM, Arnd Bergmann wrote: > > > > There are still PS3-Linux users out there. They use 'Homebrew' firmware > > released through 'Hacker' forums that allow them to run Linux on > > non-supported systems. They are

Re: [PATCH v2] drivers/virt: vmgenid: add vm generation id driver

2020-11-27 Thread Jann Horn
On Fri, Nov 27, 2020 at 8:04 PM Catangiu, Adrian Costin wrote: > On 27/11/2020 20:22, Jann Horn wrote: > > On Fri, Nov 20, 2020 at 11:29 PM Jann Horn wrote: > >> On Mon, Nov 16, 2020 at 4:35 PM Catangiu, Adrian Costin > >> wrote: > >>> This patch is a driver that exposes a monotonic incremental

Re: [PATCH 00/12] Add the page size in the perf record (user tools)

2020-11-27 Thread Jiri Olsa
On Tue, Nov 17, 2020 at 11:56:25AM -0800, kan.li...@linux.intel.com wrote: > From: Kan Liang > > Current perf can report both virtual addresses and physical addresses, > but not the page size. Without the page size information of the utilized > page, users cannot decide whether to promote/demote

Re: [PATCH v3 1/4] dt-bindings: clock: Add SDX55 GCC clock bindings

2020-11-27 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2020-11-24 19:49:24) > > > On 25 November 2020 7:44:10 AM IST, Stephen Boyd wrote: > >Quoting Manivannan Sadhasivam (2020-11-18 23:27:11) > >> diff --git > >a/Documentation/devicetree/bindings/clock/qcom,gcc-sdx55.yaml >

[GIT PULL] Networking

2020-11-27 Thread Jakub Kicinski
/net.git tags/net-5.10-rc6 for you to fetch changes up to d0742c49cab58ee6e2de40f1958b736aedf779b6: Merge tag 'linux-can-fixes-for-5.10-20201127' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can (2020-11-27 11:13:39 -0800

Re: [RFC 0/4] net: l2switch: Provide support for L2 switch on i.MX28 SoC

2020-11-27 Thread Vladimir Oltean
On Fri, Nov 27, 2020 at 12:35:49AM +0100, Lukasz Majewski wrote: > > > - The question regarding power management - at least for my use > > > case there is no need for runtime power management. The L2 switch > > > shall work always at it connects other devices. > > > > > > - The FEC clock is also

[PATCH] bpf: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- include/trace/events/xdp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/trace/events/xdp.h b/include/trace/events/xdp.h index cd24e8a59529..65ffedf8386f 100644 ---

Re: [PATCH] mm/page_owner: Record timestamp and pid

2020-11-27 Thread Souptick Joarder
On Sat, Nov 28, 2020 at 12:36 AM Vlastimil Babka wrote: > > On 11/27/20 7:57 PM, Georgi Djakov wrote: > > Hi Vlastimil, > > > > Thanks for the comment! > > > > On 11/27/20 19:52, Vlastimil Babka wrote: > >> On 11/12/20 8:14 PM, Andrew Morton wrote: > >>> On Thu, 12 Nov 2020 20:41:06 +0200 Georgi

[PATCH v8 2/7] signal: Expose SYS_USER_DISPATCH si_code type

2020-11-27 Thread Gabriel Krisman Bertazi
SYS_USER_DISPATCH will be triggered when a syscall is sent to userspace by the Syscall User Dispatch mechanism. This adjusts eventual BUILD_BUG_ON around the tree. Signed-off-by: Gabriel Krisman Bertazi Acked-by: Kees Cook Acked-by: Christian Brauner Acked-by: Peter Zijlstra (Intel) ---

[PATCH v8 6/7] selftests: Add benchmark for syscall user dispatch

2020-11-27 Thread Gabriel Krisman Bertazi
This is the patch I'm using to evaluate the impact syscall user dispatch has on native syscall (syscalls not redirected to userspace) when enabled for the process and submiting syscalls though the unblocked dispatch selector. It works by running a step to define a baseline of the cost of executing

[PATCH 1/1] efi/efi_test: read RuntimeServicesSupported

2020-11-27 Thread Heinrich Schuchardt
Since the UEFI 2.8A specification the UEFI enabled firmware provides a configuration table EFI_RT_PROPERTIES_TABLE which indicates which runtime services are enabled. The EFI stub reads this table and saves the value of the field RuntimeServicesSupported internally. The Firmware Test Suite

Re: [PATCH 2/3] mm,thp,shm: limit gfp mask to no more than specified

2020-11-27 Thread Rik van Riel
On Fri, 2020-11-27 at 08:52 +0100, Michal Hocko wrote: > On Thu 26-11-20 13:04:14, Rik van Riel wrote: > > > > I would be more than happy to implement things differently, > > but I am not sure what alternative you are suggesting. > > Simply do not alter gfp flags? Or warn in some cases of a

[PATCH] omapfb: fbcon: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/video/fbdev/omap2/omapfb/dss/dispc-compat.c | 2 +- drivers/video/fbdev/omap2/omapfb/dss/dsi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] gfs2: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- fs/gfs2/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/gfs2/util.h b/fs/gfs2/util.h index d7562981b3a0..493020393ceb 100644 --- a/fs/gfs2/util.h +++ b/fs/gfs2/util.h @@ -162,7

Re: [PATCH 0/2] arm64: Implement CONFIG_CMDLINE_EXTEND

2020-11-27 Thread Catalin Marinas
On Mon, 21 Sep 2020 14:15:55 -0500, Tyler Hicks wrote: > Provide the CONFIG_CMDLINE_EXTEND config option for arm64 kernels. This > config option can be used to extend the kernel command line parameters, > specified by the bootloader, with additional command line parameters > specified in the

Re: [PATCH] arm64: vmlinux.lds.S: Drop redundant *.init.rodata.*

2020-11-27 Thread Catalin Marinas
On Thu, 19 Nov 2020 09:45:40 +0800, Youling Tang wrote: > We currently try to emit *.init.rodata.* twice, once in INIT_DATA, and once > in the line immediately following it. As the two section definitions are > identical, the latter is redundant and can be dropped. > > This patch drops the

Re: linux-next: Tree for Nov 27 (parisc: signal flags)

2020-11-27 Thread Randy Dunlap
[adding Eric] On 11/27/20 10:43 AM, Randy Dunlap wrote: > On 11/27/20 1:04 AM, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20201126: >> > > on parisc, _SA_SIGGFAULT is undefined and causing build errors. > > commit 23acdc76f1798b090bb9dcc90671cd29d929834e > Author: Peter

Re: [PATCH v7 17/17] mm: add mmu_notifier argument to follow_pfn

2020-11-27 Thread kernel test robot
Hi Daniel, I love your patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on char-misc/char-misc-testing v5.10-rc5] [cannot apply to hnaz-linux-mm/master next-20201127] [If your patch is applied to the wrong git tree, kindly drop us a note

Re: [PATCH v4 03/25] coresight: Introduce device access abstraction

2020-11-27 Thread Mathieu Poirier
On Thu, Nov 19, 2020 at 04:45:25PM +, Suzuki K Poulose wrote: > We are about to introduce support for sysreg access to ETMv4.4+ > component. Since there are generic routines that access the > registers (e.g, CS_LOCK/UNLOCK , claim/disclaim operations, timeout) > and in order to preserve the

Re: [PATCH v2] drivers/virt: vmgenid: add vm generation id driver

2020-11-27 Thread Catangiu, Adrian Costin
Sorry Jann for missing your original email. On 27/11/2020 20:22, Jann Horn wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you can confirm the sender and know the > content is safe. > > > > [resend in the hope that amazon

[PATCH] locks: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- fs/fcntl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fcntl.c b/fs/fcntl.c index 05b36b28f2e8..96a65758c498 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c @@ -526,7 +526,7 @@

Re: [PATCH] mm/page_owner: Record timestamp and pid

2020-11-27 Thread Vlastimil Babka
On 11/27/20 7:57 PM, Georgi Djakov wrote: Hi Vlastimil, Thanks for the comment! On 11/27/20 19:52, Vlastimil Babka wrote: On 11/12/20 8:14 PM, Andrew Morton wrote: On Thu, 12 Nov 2020 20:41:06 +0200 Georgi Djakov wrote: From: Liam Mark Collect the time for each allocation recorded in

[PATCH] USB: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/usb/host/u132-hcd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index 995bc52d2d22..eb96e1e15b71 100644 ---

Re: [PATCH] mm/page_owner: Record timestamp and pid

2020-11-27 Thread Georgi Djakov
Hi Vlastimil, Thanks for the comment! On 11/27/20 19:52, Vlastimil Babka wrote: On 11/12/20 8:14 PM, Andrew Morton wrote: On Thu, 12 Nov 2020 20:41:06 +0200 Georgi Djakov wrote: From: Liam Mark Collect the time for each allocation recorded in page owner so that allocation "surges" can

Re: [PATCH v1 1/3] irqchip/gic: enable irq target all

2020-11-27 Thread Catalin Marinas
On Fri, Nov 27, 2020 at 06:11:01PM +, Marc Zyngier wrote: > On 2020-11-27 14:15, Hanks Chen wrote: > > Support for interrupt distribution design for SMP system solutions. > > As far as I know, we have been supporting interrupt distribution on > ARM SMP systems pretty well for the past...

Re: [PATCH v4 02/25] coresight: etm4x: Skip accessing TRCPDCR in save/restore

2020-11-27 Thread Mathieu Poirier
On Thu, Nov 19, 2020 at 04:45:24PM +, Suzuki K Poulose wrote: > When the ETM is affected by Qualcomm errata, modifying the > TRCPDCR could cause the system hang. Even though this is > taken care of during enable/disable ETM, the ETM state > save/restore could still access the TRCPDCR. Make

Re: [PATCH] mtd: parser: cmdline: Support MTD names containing one or more colons

2020-11-27 Thread ron minnich
Thanks, Sven, for your patience, I will indeed try to test this next week. On Fri, Nov 27, 2020 at 9:35 AM Sven Eckelmann wrote: > > On Friday, 27 November 2020 18:16:54 CET ron minnich wrote: > > What none of the people involved in the original patch knew was that > > there would be other ':'

Re: [REGRESSION] omapdrm/N900 display broken

2020-11-27 Thread Ivaylo Dimitrov
Hi, On 27.11.20 г. 19:30 ч., Tomi Valkeinen wrote: On 27/11/2020 17:37, Ivaylo Dimitrov wrote: With 5.9.11 and the patch on top, n900 boots fine, albeit display remains blank, could be related to brightness, we're still investigating. Ok. A DSS regdump for a working version and the latest

Re: [PATCH] drivers: gpio: add virtio-gpio guest driver

2020-11-27 Thread Randy Dunlap
On 11/27/20 10:30 AM, Enrico Weigelt, metux IT consult wrote: > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index 5d4de5cd6759..e8414d82cf75 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -1613,4 +1613,13 @@ config GPIO_MOCKUP >

Re: linux-next: Tree for Nov 27 (parisc: signal flags)

2020-11-27 Thread Randy Dunlap
On 11/27/20 1:04 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20201126: > on parisc, _SA_SIGGFAULT is undefined and causing build errors. commit 23acdc76f1798b090bb9dcc90671cd29d929834e Author: Peter Collingbourne Date: Thu Nov 12 18:53:34 2020 -0800 signal: clear non-uapi

[GIT PULL] mtd: Fixes for v5.10-rc6

2020-11-27 Thread Miquel Raynal
Hello Linus, This is an MTD fixes PR for the next -rc. Thanks, Miquèl The following changes since commit f8394f232b1eab649ce2df5c5f15b0e528c92091: Linux 5.10-rc3 (2020-11-08 16:10:16 -0800) are available in the Git repository at:

Re: [PATCH] [SCSI] sym53c8xx: remove trailing semicolon in macro definition

2020-11-27 Thread James Bottomley
On Fri, 2020-11-27 at 10:29 -0800, t...@redhat.com wrote: > From: Tom Rix > > The macro use will already have a semicolon. > > Signed-off-by: Tom Rix > --- > drivers/scsi/sym53c8xx_2/sym_glue.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

[PATCH] drivers: gpio: add virtio-gpio guest driver

2020-11-27 Thread Enrico Weigelt, metux IT consult
Introducing new gpio driver for virtual GPIO devices via virtio. The driver allows routing gpio control into VM guests, eg. brigding virtual gpios to specific host gpios, or attaching simulators for automatic application testing. Signed-off-by: Enrico Weigelt, metux IT consult --- MAINTAINERS

[PATCH] [SCSI] sym53c8xx: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/scsi/sym53c8xx_2/sym_glue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c index

Re: [PATCH v4 17/25] coresight: etm4x: Use TRCDEVARCH for component discovery

2020-11-27 Thread Mathieu Poirier
On Thu, Nov 19, 2020 at 04:45:39PM +, Suzuki K Poulose wrote: > We have been using TRCIDR1 for detecting the ETM version. This > is in preparation for the future IP support. > > Cc: Mike Leach > Reviewed-by: Suzuki K Poulose You have reviewed your own code - that's great! I had a good

Re: [PATCH] mm: Don't fault around userfaultfd-registered regions on reads

2020-11-27 Thread Peter Xu
On Fri, Nov 27, 2020 at 06:00:44PM +0100, David Hildenbrand wrote: > On 26.11.20 23:23, Peter Xu wrote: > > Faulting around for reads are in most cases helpful for the performance so > > that > > continuous memory accesses may avoid another trip of page fault. However it > > may not always work

[PATCH] scsi: qla2xxx: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/scsi/qla2xxx/qla_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index ed9b10f8537d..86d249551b2d 100644 ---

Re: [PATCH v1 3/3] arm64: disable irq on cpu shutdown flow

2020-11-27 Thread Marc Zyngier
On 2020-11-27 14:15, Hanks Chen wrote: Disable irq on cpu shutdown flow to ensure interrupts did not bother this cpu after status as offline. To avoid suspicious RCU usage (0)[0:swapper/0]RCU used illegally from offline CPU! ... (0)[0:swapper/0]lockdep: [name:lockdep&]cpu_id = 0, cpu_is_offline

[PATCH v3] drivers/virt: vmgenid: add vm generation id driver

2020-11-27 Thread Catangiu, Adrian Costin
- Background The VM Generation ID is a feature defined by Microsoft (paper: http://go.microsoft.com/fwlink/?LinkId=260709) and supported by multiple hypervisor vendors. The feature is required in virtualized environments by apps that work with local copies/caches of world-unique data such as

[PATCH] scsi: aic7xxx: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/scsi/aic7xxx/aic79xx_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/aic7xxx/aic79xx_core.c b/drivers/scsi/aic7xxx/aic79xx_core.c index

Re: [PATCH v2] drivers/virt: vmgenid: add vm generation id driver

2020-11-27 Thread Jann Horn
[resend in the hope that amazon will accept my mail this time instead of replying "550 Too many invalid recipients" again] On Fri, Nov 20, 2020 at 11:29 PM Jann Horn wrote: > On Mon, Nov 16, 2020 at 4:35 PM Catangiu, Adrian Costin > wrote: > > This patch is a driver that exposes a monotonic

Re: [PATCH v4 03/14] KVM: arm64: Kill 32-bit vCPUs on systems with mismatched EL0 support

2020-11-27 Thread Marc Zyngier
On 2020-11-27 17:24, Quentin Perret wrote: On Friday 27 Nov 2020 at 17:14:11 (+), Marc Zyngier wrote: [...] Yeah, the sanitized read feels better, if only because that is what we are going to read in all the valid cases, unfortunately. read_sanitised_ftr_reg() is sadly not designed to be

Re: [PATCH] eCryptfs: add a semicolon

2020-11-27 Thread Joe Perches
On Fri, 2020-11-27 at 08:05 -0800, t...@redhat.com wrote: > Function like macros should have a semicolon. [] > diff --git a/fs/ecryptfs/keystore.c b/fs/ecryptfs/keystore.c [] > @@ -1172,7 +1172,7 @@ decrypt_pki_encrypted_session_key(struct > ecryptfs_auth_tok *auth_tok, >   rc =

Re: 5.10 regression caused by: "uas: fix sdev->host->dma_dev": many XHCI swiotlb buffer is full / DMAR: Device bounce map failed errors on thunderbolt connected XHCI controller

2020-11-27 Thread Hans de Goede
Hi, On 11/27/20 5:19 PM, Christoph Hellwig wrote: > On Fri, Nov 27, 2020 at 01:32:16PM +0100, Hans de Goede wrote: >> I ran some more tests, I can confirm that reverting: >> >> 5df7ef7d32fe "uas: bump hw_max_sectors to 2048 blocks for SS or faster >> drives" >> 558033c2828f "uas: fix

Re: [PATCH v1 1/3] irqchip/gic: enable irq target all

2020-11-27 Thread Marc Zyngier
On 2020-11-27 14:15, Hanks Chen wrote: Support for interrupt distribution design for SMP system solutions. As far as I know, we have been supporting interrupt distribution on ARM SMP systems pretty well for the past... what... 15 years? I'm sure Russell can dig out an ARM926 SMP system that

Re: [PATCH] Asoc: qcom: Fix for problem in resume with CRAS

2020-11-27 Thread Srinivasa Rao Mandadapu
Thanks Mark  for your time!!! On 11/27/2020 6:08 PM, Mark Brown wrote: On Fri, Nov 27, 2020 at 09:42:03AM +0530, Srinivasa Rao Mandadapu wrote: To support playback continuation after resume problem in chrome audio server: Prepare device in platform trigger callback. Make I2s and DMA control

[PATCH] platform/x86: thinkpad_acpi: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/platform/x86/thinkpad_acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index

[PATCH] net: wl1251: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/net/wireless/ti/wl1251/debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ti/wl1251/debugfs.c b/drivers/net/wireless/ti/wl1251/debugfs.c index

Re: [PATCH 01/13] cpuidle: qcom_spm: Detach state machine from main SPM handling

2020-11-27 Thread kernel test robot
Hi AngeloGioacchino, Thank you for the patch! Yet something to improve: [auto build test ERROR on pm/linux-next] [also build test ERROR on robh/for-next linux/master linus/master v5.10-rc5 next-20201127] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

[PATCH] net: iwlwifi: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/net/wireless/intel/iwlwifi/dvm/rx.c | 2 +- drivers/net/wireless/intel/iwlwifi/fw/api/coex.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 4/5] x86/platform/uv: Add deprecated messages to /proc info leaves

2020-11-27 Thread Hans de Goede
Hi, On 11/27/20 3:58 PM, Mike Travis wrote: > > > On 11/26/2020 2:45 AM, Hans de Goede wrote: >> Hi, >> >> On 11/25/20 6:29 PM, Mike Travis wrote: >>> Add "deprecated" message to any access to old /proc/sgi_uv/* leaves. >>> >>> Signed-off-by: Mike Travis >>> Reviewed-by: Steve Wahl >>> ---

Re: [RFC Patch 0/2] KVM: SVM: Cgroup support for SVM SEV ASIDs

2020-11-27 Thread Christian Borntraeger
On 24.11.20 20:16, Sean Christopherson wrote: > On Fri, Nov 13, 2020, David Rientjes wrote: > >> >> >> On Mon, 2 Nov 2020, Sean Christopherson wrote:

[PATCH] net: cisco: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/net/wireless/cisco/airo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/cisco/airo.c b/drivers/net/wireless/cisco/airo.c index 74acf9af2adb..ba62bb2995d9

[PATCH v2 bpf-next 12/13] bpf: Add tests for new BPF atomic operations

2020-11-27 Thread Brendan Jackman
This relies on the work done by Yonghong Song in https://reviews.llvm.org/D72184 Note the hackery in the Makefile that is necessary to avoid breaking tests for people who haven't yet got a version of Clang supporting V4. It seems like this hackery ought to be confined to tools/build/feature - I

[PATCH v2 bpf-next 11/13] bpf: Add bitwise atomic instructions

2020-11-27 Thread Brendan Jackman
This adds instructions for atomic[64]_[fetch_]and atomic[64]_[fetch_]or atomic[64]_[fetch_]xor All these operations are isomorphic enough to implement with the same verifier, interpreter, and x86 JIT code, hence being a single commit. The main interesting thing here is that x86 doesn't directly

[PATCH v2 bpf-next 10/13] bpf: Add instructions for atomic[64]_[fetch_]sub

2020-11-27 Thread Brendan Jackman
Including only interpreter and x86 JIT support. x86 doesn't provide an atomic exchange-and-subtract instruction that could be used for BPF_SUB | BPF_FETCH, however we can just emit a NEG followed by an XADD to get the same effect. Signed-off-by: Brendan Jackman --- arch/x86/net/bpf_jit_comp.c

[PATCH v2 bpf-next 13/13] bpf: Document new atomic instructions

2020-11-27 Thread Brendan Jackman
Signed-off-by: Brendan Jackman --- Documentation/networking/filter.rst | 27 +++ 1 file changed, 27 insertions(+) diff --git a/Documentation/networking/filter.rst b/Documentation/networking/filter.rst index 1583d59d806d..c86091b8cb0e 100644 ---

[PATCH v2 bpf-next 09/13] bpf: Pull out a macro for interpreting atomic ALU operations

2020-11-27 Thread Brendan Jackman
Since the atomic operations that are added in subsequent commits are all isomorphic with BPF_ADD, pull out a macro to avoid the interpreter becoming dominated by lines of atomic-related code. Note that this sacrificies interpreter performance (combining STX_ATOMIC_W and STX_ATOMIC_DW into single

[PATCH v2 bpf-next 08/13] bpf: Add instructions for atomic_[cmp]xchg

2020-11-27 Thread Brendan Jackman
This adds two atomic opcodes, both of which include the BPF_FETCH flag. XCHG without the BPF_FETCh flag would naturally encode atomic_set. This is not supported because it would be of limited value to userspace (it doesn't imply any barriers). CMPXCHG without BPF_FETCH woulud be an atomic

[PATCH v2 bpf-next 07/13] bpf: Add BPF_FETCH field / create atomic_fetch_add instruction

2020-11-27 Thread Brendan Jackman
This value can be set in bpf_insn.imm, for BPF_ATOMIC instructions, in order to have the previous value of the atomically-modified memory location loaded into the src register after an atomic op is carried out. Suggested-by: Yonghong Song Signed-off-by: Brendan Jackman ---

[PATCH v2 bpf-next 06/13] bpf: Move BPF_STX reserved field check into BPF_STX verifier code

2020-11-27 Thread Brendan Jackman
I can't find a reason why this code is in resolve_pseudo_ldimm64; since I'll be modifying it in a subsequent commit, tidy it up. Signed-off-by: Brendan Jackman --- kernel/bpf/verifier.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/kernel/bpf/verifier.c

[PATCH v2 bpf-next 05/13] bpf: Rename BPF_XADD and prepare to encode other atomics in .imm

2020-11-27 Thread Brendan Jackman
A subsequent patch will add additional atomic operations. These new operations will use the same opcode field as the existing XADD, with the immediate discriminating different operations. In preparation, rename the instruction mode BPF_ATOMIC and start calling the zero immediate BPF_ADD. This is

[PATCH v2 bpf-next 04/13] bpf: x86: Factor out a lookup table for some ALU opcodes

2020-11-27 Thread Brendan Jackman
A later commit will need to lookup a subset of these opcodes. To avoid duplicating code, pull out a table. The shift opcodes won't be needed by that later commit, but they're already duplicated, so fold them into the table anyway. Signed-off-by: Brendan Jackman --- arch/x86/net/bpf_jit_comp.c

[PATCH v2 bpf-next 02/13] bpf: x86: Factor out emission of REX byte

2020-11-27 Thread Brendan Jackman
The JIT case for encoding atomic ops is about to get more complicated. In order to make the review & resulting code easier, let's factor out some shared helpers. Signed-off-by: Brendan Jackman --- arch/x86/net/bpf_jit_comp.c | 39 ++--- 1 file changed, 23

[PATCH v2 bpf-next 03/13] bpf: x86: Factor out function to emit NEG

2020-11-27 Thread Brendan Jackman
There's currently only one usage of this but implementation of atomic_sub add another. Signed-off-by: Brendan Jackman --- arch/x86/net/bpf_jit_comp.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/arch/x86/net/bpf_jit_comp.c

[PATCH v2 bpf-next 01/13] bpf: x86: Factor out emission of ModR/M for *(reg + off)

2020-11-27 Thread Brendan Jackman
The case for JITing atomics is about to get more complicated. Let's factor out some common code to make the review and result more readable. NB the atomics code doesn't yet use the new helper - a subsequent patch will add its use as a side-effect of other changes. Signed-off-by: Brendan Jackman

[PATCH v2 bpf-next 00/13] Atomics for eBPF

2020-11-27 Thread Brendan Jackman
Status of the patches = Thanks for the reviews! Differences from v1->v2 [1]: * Fixed mistakes in the netronome driver * Addd sub, add, or, xor operations * The above led to some refactors to keep things readable. (Maybe I should have just waited until I'd implemented

[PATCH] net: carl9170: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/net/wireless/ath/carl9170/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/carl9170/debug.c b/drivers/net/wireless/ath/carl9170/debug.c index

[PATCH] net: ath9k: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/net/wireless/ath/ath9k/common-debug.c | 2 +- drivers/net/wireless/ath/ath9k/dfs_debug.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 06/15] coresight: etm4x: Fix accesses to TRCPROCSELR

2020-11-27 Thread Mathieu Poirier
From: Suzuki K Poulose TRCPROCSELR is not implemented if the TRCIDR3.NUMPROC == 0. Skip accessing the register in such cases. Cc: sta...@vger.kernel.org Cc: Mathieu Poirier Cc: Mike Leach Signed-off-by: Suzuki K Poulose Signed-off-by: Mathieu Poirier ---

[PATCH 03/15] coresight: etm4x: Fix accesses to TRCVMIDCTLR1

2020-11-27 Thread Mathieu Poirier
From: Suzuki K Poulose TRCVMIDCTRL1 is only implemented only if the TRCIDR4.NUMVMIDC > 4. We must not touch the register otherwise. Cc: sta...@vger.kernel.org Cc: Mathieu Poirier Cc: Mike Leach Signed-off-by: Suzuki K Poulose Signed-off-by: Mathieu Poirier ---

[PATCH 12/15] coresight: tmc-etr: Check if page is valid before dma_map_page()

2020-11-27 Thread Mathieu Poirier
From: Mao Jinlong alloc_pages_node() return should be checked before calling dma_map_page() to make sure that valid page is mapped or else it can lead to aborts as below: Unable to handle kernel paging request at virtual address ffc00800 Mem abort info: ... pc :

<    1   2   3   4   5   6   7   8   >