Re: [PATCH v5 2/3] net: add kcov handle to skb extensions

2020-11-21 Thread Jakub Kicinski
On Sat, 21 Nov 2020 19:12:21 +0100 Johannes Berg wrote: > > So I'm leaning towards reverting the whole thing. You can attach > > kretprobes and record the information you need in BPF maps. > > I'm not going to object to reverting it (and perhaps redoing it better > later), but I will point out t

Re: [PATCH 4.14 00/17] 4.14.208-rc1 review

2020-11-21 Thread Guenter Roeck
On Fri, Nov 20, 2020 at 12:03:11PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.208 release. > There are 17 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Re: [PATCH] remoteproc: Add module parameter 'auto_boot'

2020-11-21 Thread Paul Cercueil
Hi Mathieu, Le ven. 20 nov. 2020 à 15:37, Mathieu Poirier a écrit : Hi Paul, On Sun, Nov 15, 2020 at 11:50:56AM +, Paul Cercueil wrote: Until now the remoteproc core would always default to trying to boot the remote processor at startup. The various remoteproc drivers could however o

Re: [PATCH 4.19 00/14] 4.19.159-rc1 review

2020-11-21 Thread Guenter Roeck
On Fri, Nov 20, 2020 at 12:03:21PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.159 release. > There are 14 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Re: [GIT PULL] xfs: fixes for 5.10-rc5

2020-11-21 Thread pr-tracker-bot
The pull request you sent on Sat, 21 Nov 2020 09:17:10 -0800: > git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-5.10-fixes-7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a349e4c659609fd20e4beea89e5c4a4038e33a95 Thank you! -- Deet-doot-dot, I am a bot. h

Re: [GIT PULL] seccomp fixes for v5.10-rc5

2020-11-21 Thread pr-tracker-bot
The pull request you sent on Fri, 20 Nov 2020 11:13:51 -0800: > https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git > tags/seccomp-v5.10-rc5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ea0ab64306355432746bafda0364fb2d593bc9e3 Thank you! -- Deet-doot-d

Re: [PATCH 5.4 00/17] 5.4.79-rc1 review

2020-11-21 Thread Guenter Roeck
On Fri, Nov 20, 2020 at 12:03:27PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.79 release. > There are 17 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Re: [PATCH v40 00/24] Intel SGX foundations

2020-11-21 Thread Andy Lutomirski
Dr. Greg, I know you like sending these emails, but they're not really helpful for Linux kernel development. Please see below. On Sat, Nov 21, 2020 at 7:13 AM Dr. Greg wrote: > > On Wed, Nov 04, 2020 at 04:54:06PM +0200, Jarkko Sakkinen wrote: > > Good morning, I hope the weekend is going well f

arch/riscv/include/asm/vdso/processor.h:14:2: error: implicit declaration of function 'barrier'

2020-11-21 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 27bba9c532a8d21050b94224ffd310ad0058c353 commit: 3347acc6fcd4ee71ad18a9ff9d9dac176b517329 compiler.h: fix barrier_data() on clang date: 7 days ago config: riscv-randconfig-r003-20201121 (attached as

[PATCH v2] MAINTAINERS: Add Kamel Bouhara as TCB counter driver maintainer

2020-11-21 Thread William Breathitt Gray
Acked-by: Kamel Bouhara Signed-off-by: William Breathitt Gray --- Changes in v2: - Reorder section names alphabetically - Rename title to ARM/Microchip etc... - Add linux-arm-ker...@lists.infradead.org as mailing list MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAI

drivers/spi/spi-lp8841-rtc.c:63:28: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-11-21 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 27bba9c532a8d21050b94224ffd310ad0058c353 commit: 8f28ca6bd8211214faf717677bbffe375c2a6072 iomap: constify ioreadX() iomem argument (as in generic implementation) date: 3 months ago config: alpha-randconfig

Re: [RFC PATCH 11/12] iio: buffer: introduce support for attaching more IIO buffers

2020-11-21 Thread Jonathan Cameron
On Tue, 17 Nov 2020 18:23:39 +0200 Alexandru Ardelean wrote: > With this change, calling iio_device_attach_buffer() will actually attach > more buffers. > Right now this doesn't do any validation of whether a buffer is attached > twice; maybe that can be added later (if needed). Attaching a buffe

Re: [PATCH] remoteproc: Add module parameter 'auto_boot'

2020-11-21 Thread Paul Cercueil
Hi Suman, Le ven. 20 nov. 2020 à 17:06, Suman Anna a écrit : Hi Paul, On 11/20/20 4:37 PM, Mathieu Poirier wrote: Hi Paul, On Sun, Nov 15, 2020 at 11:50:56AM +, Paul Cercueil wrote: Until now the remoteproc core would always default to trying to boot the remote processor at startup

Re: [PATCH 057/141] watchdog: Fix fall-through warnings for Clang

2020-11-21 Thread Guenter Roeck
On Fri, Nov 20, 2020 at 12:32:51PM -0600, Gustavo A. R. Silva wrote: > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding a fallthrough pseudo-keyword instead of letting the > code fall through to the next case. > > Link: https://github.com/KSPP/linux/i

Re: [PATCH 086/141] hwmon: (corsair-cpro) Fix fall-through warnings for Clang

2020-11-21 Thread Guenter Roeck
On Fri, Nov 20, 2020 at 12:36:04PM -0600, Gustavo A. R. Silva wrote: > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding a break statement instead of letting the code fall > through to the next case. > > Link: https://github.com/KSPP/linux/issues/115 >

Re: [PATCH 087/141] hwmon: (max6621) Fix fall-through warnings for Clang

2020-11-21 Thread Guenter Roeck
On Fri, Nov 20, 2020 at 12:36:09PM -0600, Gustavo A. R. Silva wrote: > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding a break statement instead of letting the code fall > through to the next case. > > Link: https://github.com/KSPP/linux/issues/115 >

Re: [PATCH v2] MAINTAINERS: Add Kamel Bouhara as TCB counter driver maintainer

2020-11-21 Thread Joe Perches
On Sat, 2020-11-21 at 13:43 -0500, William Breathitt Gray wrote: > Acked-by: Kamel Bouhara > Signed-off-by: William Breathitt Gray > --- > Changes in v2: >  - Reorder section names alphabetically >  - Rename title to ARM/Microchip etc... >  - Add linux-arm-ker...@lists.infradead.org as mailing li

Re: [RFC PATCH 12/12] iio: buffer: add ioctl() to support opening extra buffers for IIO device

2020-11-21 Thread Jonathan Cameron
On Tue, 17 Nov 2020 18:23:40 +0200 Alexandru Ardelean wrote: > With this change, an ioctl() call is added to open a character device for a > buffer. > The ioctl() will not work for the first buffer, as that buffer is already > opened/reserved for the IIO device's character device. > This is also

Re: [PATCH v2 0/3] occ: Add support for P10

2020-11-21 Thread Guenter Roeck
On Fri, Nov 20, 2020 at 11:33:12AM +1030, Joel Stanley wrote: > Hi Guenter, here's v2 of this series on behalf of Eddie. I made the > change to the compatible string that we spoke about in v2, and I'm happy > for these to go through the hwmon tree. > I'll be happy to do that, as soon as we get a

Re: [RFC PATCH 00/12] iio: core,buffer: add support for multiple IIO buffers per IIO device

2020-11-21 Thread Jonathan Cameron
On Tue, 17 Nov 2020 18:23:28 +0200 Alexandru Ardelean wrote: > Continuing from: > https://lore.kernel.org/linux-iio/20200517144023.6c5cb169@archlinux/ > > This is a V2 of the initial attempt in the discussion above. > But it did not occur to me that I should mark it as V2 when I generated > th

[PATCH v3] MAINTAINERS: Add Kamel Bouhara as TCB counter driver maintainer

2020-11-21 Thread William Breathitt Gray
Acked-by: Kamel Bouhara Signed-off-by: William Breathitt Gray --- Changes in v3: - Reorder entries to match preferred MAINTAINERS ordering MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 913b5eb64e44..1ee380dfe189 100644 --- a/MAINTAINER

drivers/tty/serial/ucc_uart.c:661:9: sparse: sparse: incorrect type in argument 2 (different address spaces)

2020-11-21 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 27bba9c532a8d21050b94224ffd310ad0058c353 commit: 4be002f1dec8418d88bbc556a0dfbaa9adc38ab0 serial: ucc_uart: make qe_uart_set_mctrl() static date: 9 weeks ago config: alpha-randconfig-s032-20201122 (attache

[PATCH] lib/lz4: explicitly support in-place decompression

2020-11-21 Thread Gao Xiang
LZ4 final literal copy could be overlapped when doing in-place decompression, so it's unsafe to just use memcpy() on an optimized memcpy approach but memmove() instead. Upstream LZ4 has updated this years ago [1] (and the impact is non-sensible [2]), this commit just synchronizes LZ4 upstream code

Re: [PATCH v5 2/3] net: add kcov handle to skb extensions

2020-11-21 Thread Johannes Berg
On Sat, 2020-11-21 at 10:35 -0800, Jakub Kicinski wrote: > On Sat, 21 Nov 2020 19:12:21 +0100 Johannes Berg wrote: > > > So I'm leaning towards reverting the whole thing. You can attach > > > kretprobes and record the information you need in BPF maps. > > > > I'm not going to object to reverting

[PATCH 4/6] ARC: build: move symlink creation to arch/arc/Makefile to avoid race

2020-11-21 Thread Masahiro Yamada
If you run 'make uImage uImage.gz' with the parallel option, uImage.gz will be created by two threads simultaneously. This is because arch/arc/Makefile does not specify the dependency between uImage and uImage.gz. Hence, GNU Make assumes they can be built in parallel. One thread descends into arch

[PATCH 6/6] ARC: build: use $(READELF) instead of hard-coded readelf

2020-11-21 Thread Masahiro Yamada
The top Makefile defines READELF as the readelf in the cross-toolchains. Use it rather than the host readelf. Signed-off-by: Masahiro Yamada --- arch/arc/boot/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/boot/Makefile b/arch/arc/boot/Makefile index b3870

[PATCH 2/6] ARC: build: add uImage.lzma to the top-level target

2020-11-21 Thread Masahiro Yamada
arch/arc/boot/Makefile supports uImage.lzma, but you cannot do 'make uImage.lzma' because the corresponding target is missing in arch/arc/Makefile. Add it. I also changed the assignment operator '+=' to ':=' since this is the only place where we expect this variable to be set. Signed-off-by: Masa

[PATCH 1/6] ARC: build: remove non-existing bootpImage from KBUILD_IMAGE

2020-11-21 Thread Masahiro Yamada
The deb-pkg builds for ARCH=arc fail. $ export CROSS_COMPILE= $ make -s ARCH=arc defconfig $ make ARCH=arc bindeb-pkg SORTTAB vmlinux SYSMAP System.map MODPOST Module.symvers make KERNELRELEASE=5.10.0-rc4 ARCH=arc KBUILD_BUILD_VERSION=2 -f ./Makefile intdeb-pkg sh ./scripts/packa

[PATCH 3/6] ARC: build: add boot_targets to PHONY

2020-11-21 Thread Masahiro Yamada
The top-level boot_targets (uImage and uImage.*) should be phony targets. They just let Kbuild descend into arch/arc/boot/ and create files there. If a file exists in the top directory with the same name, the boot image will not be created. You can confirm it by the following steps: $ export C

[PATCH 0/6] ARC: build: fix various issues in arc boot Makefile

2020-11-21 Thread Masahiro Yamada
Masahiro Yamada (6): ARC: build: remove non-existing bootpImage from KBUILD_IMAGE ARC: build: add uImage.lzma to the top-level target ARC: build: add boot_targets to PHONY ARC: build: move symlink creation to arch/arc/Makefile to avoid race ARC: build: remove unneeded extra-y ARC: b

[PATCH 5/6] ARC: build: remove unneeded extra-y

2020-11-21 Thread Masahiro Yamada
Adding vmlinux.* to extra-y has no point because we expect they are built on demand while building uImage.* Add them to 'targets' is enough to include the corresponding .cmd file. Signed-off-by: Masahiro Yamada --- arch/arc/boot/Makefile | 7 +++ 1 file changed, 3 insertions(+), 4 deletion

[PATCH] compiler_attribute: remove CONFIG_ENABLE_MUST_CHECK

2020-11-21 Thread Masahiro Yamada
Revert commit cebc04ba9aeb ("add CONFIG_ENABLE_MUST_CHECK"). A lot of warn_unused_result warnings existed in 2006, but until now they have been fixed thanks to people doing allmodconfig tests. Our goal is to always enable __must_check where appreciate, so this CONFIG option is no longer needed.

[PATCH 1/1] mm: compaction: avoid fast_isolate_around() to set pageblock_skip on reserved pages

2020-11-21 Thread Andrea Arcangeli
A corollary issue was fixed in e577c8b64d58fe307ea4d5149d31615df2d90861. A second issue remained in v5.7: https://lkml.kernel.org/r/8c537eb7-85ee-4dcf-943e-3cc0ed0df...@lca.pw == page:eaaa refcount:1 mapcount:0 mapping:2243743b index:0x0 flags: 0x1fffe01000(reserve

[PATCH 0/1] VM_BUG_ON_PAGE(!zone_spans_pfn) in set_pfnblock_flags_mask

2020-11-21 Thread Andrea Arcangeli
Hello, After hitting this twice on two different systems, I'm now running with the tentative fix applied, but it's not a meaningful test since it's non reproducible. However it is possible to inject this bug if you do "grep E820 /proc/iomem" and then find a phys addr there with a struct page (i.e

Re: [PATCH v9 0/8] Carry forward IMA measurement log on kexec on ARM64

2020-11-21 Thread Lakshmi Ramasubramanian
On 11/21/20 6:38 AM, Lakshmi Ramasubramanian wrote: On 11/21/20 5:57 AM, Rob Herring wrote: On Fri, Nov 13, 2020 at 11:22:35AM -0800, Lakshmi Ramasubramanian wrote: On kexec file load Integrity Measurement Architecture (IMA) subsystem may verify the IMA signature of the kernel and initramfs, an

Re: [PATCH 072/141] can: peak_usb: Fix fall-through warnings for Clang

2020-11-21 Thread Joe Perches
On Sat, 2020-11-21 at 14:17 +0100, Marc Kleine-Budde wrote: > On 11/20/20 7:34 PM, Gustavo A. R. Silva wrote: > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > > by explicitly adding a break statement instead of letting the code fall > > through to the next case. > > >

sound/soc/intel/catpt/loader.c:654 catpt_first_boot_firmware() warn: consider using resource_size() here

2020-11-21 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 27bba9c532a8d21050b94224ffd310ad0058c353 commit: 6cbfa11d2694b8a1e46d6834fb9705d5589e3ef1 ASoC: Intel: Select catpt and deprecate haswell date: 7 weeks ago config: x86_64-randconfig-m001-20201122 (attached

Re: [PATCH 1/1] mm: compaction: avoid fast_isolate_around() to set pageblock_skip on reserved pages

2020-11-21 Thread Andrea Arcangeli
On Sat, Nov 21, 2020 at 02:45:06PM -0500, Andrea Arcangeli wrote: > + if (likely(!PageReserved(page))) NOTE: this line will have to become "likely(page && !PageReserved(page))" to handle the case of non contiguous zones, since pageblock_pfn_to_page might return

Re: [PATCH 086/141] hwmon: (corsair-cpro) Fix fall-through warnings for Clang

2020-11-21 Thread Joe Perches
On Sat, 2020-11-21 at 10:50 -0800, Guenter Roeck wrote: > On Fri, Nov 20, 2020 at 12:36:04PM -0600, Gustavo A. R. Silva wrote: > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > > by explicitly adding a break statement instead of letting the code fall > > through to the

drivers/soc/qcom/smsm.c:152:22: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-11-21 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 27bba9c532a8d21050b94224ffd310ad0058c353 commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr() date: 3 months ago config: sh-randconfig-s032-20201122 (attache

Re: [PATCH] checkpatch: add --fix option for INCLUDE_LINUX

2020-11-21 Thread Joe Perches
On Sat, 2020-11-21 at 21:47 +0530, Dwaipayan Ray wrote: > Provide fix option to INCLUDE_LINUX check to replace asm > includes. > > Macros of type: >  #include > > are corrected to: >  #include [] > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > @@ -5468,8 +5468,11 @@ sub proces

brcmstb_dpfe.c:undefined reference to `devm_ioremap_resource'

2020-11-21 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a349e4c659609fd20e4beea89e5c4a4038e33a95 commit: 904ffa81b709f79b906077e72f4656bdb9930340 memory: brcmstb_dpfe: add separate entry for compile test date: 3 months ago config: s390-randconfig-r023-20201121

Re: [PATCH v7 02/17] kbuild: add support for Clang LTO

2020-11-21 Thread Kees Cook
On Fri, Nov 20, 2020 at 05:46:44PM -0800, Sami Tolvanen wrote: > Sure, this looks good to me, I'll use this in v8. The only minor > concern I have is that ThinLTO cannot be set as the default LTO mode, > but I assume anyone who selects LTO is also capable of deciding which > mode is better for them

Re: [PATCH] ilog2: Improve ilog2 for constant arguments

2020-11-21 Thread Luc Van Oostenryck
On Fri, Nov 20, 2020 at 01:51:54PM +0100, Peter Zijlstra wrote: > > Other option would be to change the const_ilog2 macro, though as the > description says it is meant to be used also in C constant expressions, > and while GCC will fold it to constant with constant argument even in > those, perhap

Re: [PATCH] ilog2: Improve ilog2 for constant arguments

2020-11-21 Thread Jakub Jelinek
On Sat, Nov 21, 2020 at 09:23:10PM +0100, Luc Van Oostenryck wrote: > On Fri, Nov 20, 2020 at 01:51:54PM +0100, Peter Zijlstra wrote: > > > > Other option would be to change the const_ilog2 macro, though as the > > description says it is meant to be used also in C constant expressions, > > and whi

Re: [PATCH] checkpatch: add --fix option for INCLUDE_LINUX

2020-11-21 Thread Dwaipayan Ray
On Sun, Nov 22, 2020 at 1:35 AM Joe Perches wrote: > > On Sat, 2020-11-21 at 21:47 +0530, Dwaipayan Ray wrote: > > Provide fix option to INCLUDE_LINUX check to replace asm > > includes. > > > > Macros of type: > > #include > > > > are corrected to: > > #include > [] > > diff --git a/scripts/ch

Re: [PATCH] compiler_attribute: remove CONFIG_ENABLE_MUST_CHECK

2020-11-21 Thread Miguel Ojeda
On Sat, Nov 21, 2020 at 8:44 PM Masahiro Yamada wrote: > > Our goal is to always enable __must_check where appreciate, so this > CONFIG option is no longer needed. This would be great. It also implies we can then move it to `compiler_attributes.h` since it does not depend on config options anymor

Re: [PATCH] ilog2: Improve ilog2 for constant arguments

2020-11-21 Thread Luc Van Oostenryck
On Sat, Nov 21, 2020 at 09:29:54PM +0100, Jakub Jelinek wrote: > On Sat, Nov 21, 2020 at 09:23:10PM +0100, Luc Van Oostenryck wrote: > > On Fri, Nov 20, 2020 at 01:51:54PM +0100, Peter Zijlstra wrote: > > > > > > Other option would be to change the const_ilog2 macro, though as the > > > descriptio

Re: [PATCH v5 2/3] net: add kcov handle to skb extensions

2020-11-21 Thread Jakub Kicinski
On Sat, 21 Nov 2020 20:30:44 +0100 Johannes Berg wrote: > On Sat, 2020-11-21 at 10:35 -0800, Jakub Kicinski wrote: > > On Sat, 21 Nov 2020 19:12:21 +0100 Johannes Berg wrote: > > > > So I'm leaning towards reverting the whole thing. You can attach > > > > kretprobes and record the information you

Re: [PATCH v5 2/3] net: add kcov handle to skb extensions

2020-11-21 Thread Johannes Berg
On Sat, 2020-11-21 at 12:55 -0800, Jakub Kicinski wrote: > [snip] > Ack, you have to figure out all the places anyway, the question is > whether you put probes there or calls in the source code. > > Shifting the maintenance burden but also BPF is flexibility. Yeah, true. Though I'd argue also vis

[PATCH 2/2] HID: elecom: add support for EX-G M-XGL20DLBK wireless mouse

2020-11-21 Thread YOSHIOKA Takuma
Enables three buttons (Fn1, Fn2, and Fn3) on the ELECOM M-XGL20DLBK wireless mouse. While this mouse is EX-G brand, report descriptor is a bit different from EX-G trackball mouse. To enable extra buttons, report should be rewritten in a similar way to trackballs, but with different position parame

[PATCH v4] checkpatch: add fix option for LOGICAL_CONTINUATIONS

2020-11-21 Thread Aditya Srivastava
Currently, checkpatch warns if logical continuations are placed at the start of a line and not at the end of previous line. E.g., running checkpatch on commit 3485507fc272 ("staging: bcm2835-camera: Reduce length of enum names") reports: CHECK:LOGICAL_CONTINUATIONS: Logical continuations should b

Re: [PATCH v5 2/3] net: add kcov handle to skb extensions

2020-11-21 Thread Jakub Kicinski
On Sat, 21 Nov 2020 21:58:37 +0100 Johannes Berg wrote: > On Sat, 2020-11-21 at 12:55 -0800, Jakub Kicinski wrote: > > It is more complicated. We can go back to an skb field if this work is > > expected to yield results for mac80211. Would you mind sending a patch? > > I can do that, but I'm not

[PATCH 1/2] HID: elecom: rewrite report based on model specific parameters

2020-11-21 Thread YOSHIOKA Takuma
The report descriptor for EX-G wireless mouse (M-XGL20DLBK) is a bit different from that for trackball mice such as DEFT. For such mouse, the current `mouse_button_fixup` cannot be used as is, because it uses hard-coded indices for a report descriptor. Add parameters to `mouse_button_fixup` functi

Re: [PATCH] cxgb4: Fix build failure when CONFIG_TLS=m

2020-11-21 Thread Jakub Kicinski
On Fri, 20 Nov 2020 13:25:28 -0600 Tom Seewald wrote: > After commit 9d2e5e9eeb59 ("cxgb4/ch_ktls: decrypted bit is not enough") > whenever CONFIG_TLS=m and CONFIG_CHELSIO_T4=y, the following build > failure occurs: > > ld: drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.o: in function > `cxgb_selec

[PATCH v2] checkpatch: add --fix option for INCLUDE_LINUX

2020-11-21 Thread Dwaipayan Ray
Provide fix option to INCLUDE_LINUX check to replace asm includes. Macros of type: #include are corrected to: #include Signed-off-by: Dwaipayan Ray --- Changes in v2: - Use \Q..\E quoting - Use @ as regex delimiter scripts/checkpatch.pl | 7 +-- 1 file changed, 5 insertions(+), 2 del

[tip:x86/cleanups] BUILD SUCCESS ab09b58e4bdfdbcec425e54ebeaf6e209a96318f

2020-11-21 Thread kernel test robot
allnoconfig i386 randconfig-a004-20201121 i386 randconfig-a003-20201121 i386 randconfig-a002-20201121 i386 randconfig-a005-20201121 i386 randconfig-a001-20201121 i386 randconfig-a006-20201121 x86_64

Re: [PATCH v1] qnx4_match: do not over run the buffer

2020-11-21 Thread Anders Larsen
On Friday, 2020-11-20 22:21 Tong Zhang wrote: > the di_fname may not terminated by '\0', use strnlen to prevent buffer > overrun > > --- > fs/qnx4/namei.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/qnx4/namei.c b/fs/qnx4/namei.c > index 8d72221735d7..c0e79094f578

Re: [PATCH v2 net] ptp: clockmatrix: bug fix for idtcm_strverscmp

2020-11-21 Thread Jakub Kicinski
On Wed, 18 Nov 2020 22:50:24 -0500 min.li...@renesas.com wrote: > From: Min Li > > Feed kstrtou8 with NULL terminated string. > > Changes since v1: > -Only strcpy 15 characters to leave 1 space for '\0' > > Signed-off-by: Min Li > -static int idtcm_strverscmp(const char *ver1, const char *ver

Re: [PATCH v1] qnx4_match: do not over run the buffer

2020-11-21 Thread Tong Zhang
> On Nov 21, 2020, at 4:40 PM, Anders Larsen wrote: > > On Friday, 2020-11-20 22:21 Tong Zhang wrote: >> the di_fname may not terminated by '\0', use strnlen to prevent buffer >> overrun >> >> --- >> fs/qnx4/namei.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/fs

Re: [PATCH v1] qnx4_match: do not over run the buffer

2020-11-21 Thread Anders Larsen
On Saturday, 2020-11-21 22:47 Tong Zhang wrote: > > > On Nov 21, 2020, at 4:40 PM, Anders Larsen wrote: > > > > On Friday, 2020-11-20 22:21 Tong Zhang wrote: > >> the di_fname may not terminated by '\0', use strnlen to prevent buffer > >> overrun > >> > >> --- > >> fs/qnx4/namei.c | 2 +- > >> 1

Re: [PATCH 1/3] pwm: pca9685: Switch to atomic API

2020-11-21 Thread Sven Van Asbroeck
On Sat, Nov 21, 2020 at 9:58 AM Clemens Gruber wrote: > > I'd rather continue supporting this driver with !CONFIG_PM. (In our > company we have a product with a !CONFIG_PM build using this driver) Absolutely, makes sense. If you do add support for !CONFIG_PM, then it's important that both PM and

Re: [PATCH] usbnet: ipheth: fix connectivity with iOS 14

2020-11-21 Thread Jakub Kicinski
On Thu, 19 Nov 2020 18:24:39 +0100 Yves-Alexis Perez wrote: > Starting with iOS 14 released in September 2020, connectivity using the > personal hotspot USB tethering function of iOS devices is broken. > > Communication between the host and the device (for example ICMP traffic > or DNS resolution

[PATCH] dm crypt: Constify static crypt_iv_operations

2020-11-21 Thread Rikard Falkeborn
The only usage of these structs is to assign their address to the iv_gen_ops field in the crypt config struct, which is a pointer to const. Make them const like the rest of the static crypt_iv_operations structs. This allows the compiler to put them in read-only memory. Signed-off-by: Rikard Falke

INFO: task hung in __io_uring_files_cancel

2020-11-21 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:7c8ca812 Add linux-next specific files for 20201117 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=12d2d19150 kernel config: https://syzkaller.appspot.com/x/.config?x=ff4bc71371dc5b13 dashboard

Re: [PATCH net-next 0/5] net: hns3: misc updates for -next

2020-11-21 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Fri, 20 Nov 2020 17:16:18 +0800 you wrote: > This series includes some misc updates for the HNS3 ethernet driver. > > #1 adds support for 1280 queues > #2 adds mapping for BAR45 which is needed by RoCE client. > #3 ext

[PATCH] rtc: mxc{,_v2}: enable COMPILE_TEST

2020-11-21 Thread Alexandre Belloni
Extend code coverage for the rtc-mxc and rtc-mxc-v2 drivers. Signed-off-by: Alexandre Belloni --- drivers/rtc/Kconfig | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 4d2c5d1f75cc..9341ab15241e 100644 --- a/drivers/rtc/Kc

Re: [PATCH net] devlink: Fix reload stats structure

2020-11-21 Thread Jakub Kicinski
On Fri, 20 Nov 2020 15:40:37 +0200 Moshe Shemesh wrote: > Fix reload stats structure exposed to the user. Change stats structure > hierarchy to have the reload action as a parent of the stat entry and > then stat entry includes value per limit. This will also help to avoid > string concatenation on

Re: [GIT PULL] io_uring fixes for 5.10-rc

2020-11-21 Thread Jens Axboe
On 11/21/20 11:07 AM, Linus Torvalds wrote: > On Fri, Nov 20, 2020 at 7:00 PM Jens Axboe wrote: >> >> Actually, I think we can do even better. How about just having >> do_filp_open() exit after LOOKUP_RCU fails, if LOOKUP_RCU was already >> set in the lookup flags? Then we don't need to change muc

[PATCH] rtc: test: remove debug message

2020-11-21 Thread Alexandre Belloni
Remove leftover debug message Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-test.c b/drivers/rtc/rtc-test.c index b092a1648513..7e0d8fb26465 100644 --- a/drivers/rtc/rtc-test.c +++ b/drivers/rtc/rtc-test.c @@ -50,7

Re: [PATCH 072/141] can: peak_usb: Fix fall-through warnings for Clang

2020-11-21 Thread Marc Kleine-Budde
On 11/21/20 8:50 PM, Joe Perches wrote: >> What about moving the default to the end if the case, which is more common >> anyways: >> >> diff --git a/drivers/net/can/usb/peak_usb/pcan_usb_core.c >> b/drivers/net/can/usb/peak_usb/pcan_usb_core.c > [] >> @@ -295,16 +295,16 @@ static void peak_usb_wr

[tip:ras/core] BUILD SUCCESS 4a24d80b8c3e9f89d6a6a7b89bd057c463b638d3

2020-11-21 Thread kernel test robot
-20201121 i386 randconfig-a003-20201121 i386 randconfig-a002-20201121 i386 randconfig-a005-20201121 i386 randconfig-a001-20201121 i386 randconfig-a006-20201121 x86_64 randconfig-a015-20201121 x86_64

Re: [PATCH] rtc: mxc{,_v2}: enable COMPILE_TEST

2020-11-21 Thread Fabio Estevam
On Sat, Nov 21, 2020 at 7:45 PM Alexandre Belloni wrote: > > Extend code coverage for the rtc-mxc and rtc-mxc-v2 drivers. > > Signed-off-by: Alexandre Belloni Reviewed-by: Fabio Estevam

[PATCH v2] m68k: Fix WARNING splat in pmac_zilog driver

2020-11-21 Thread Finn Thain
Don't add platform resources that won't be used. This avoids a recently-added warning from the driver core, that can show up on a multi-platform kernel when !MACH_IS_MAC. [ cut here ] WARNING: CPU: 0 PID: 0 at drivers/base/platform.c:224 platform_get_irq_optional+0x8e/0xce

[PATCH v7 0/5] dma-buf: Code rework and performance improvements for system heap

2020-11-21 Thread John Stultz
Hey All, So Sumit noted a flub I made in adapting the last series to the new dma-buf-map code that is in drm-misc-next. Thus I wanted to send this (hopefully) last revision of my patch series of performance optimizations to the dma-buf system heap, once again against drm-misc-next. This series r

[PATCH v7 2/5] dma-buf: heaps: Move heap-helper logic into the cma_heap implementation

2020-11-21 Thread John Stultz
Since the heap-helpers logic ended up not being as generic as hoped, move the heap-helpers dma_buf_ops implementations into the cma_heap directly. This will allow us to remove the heap_helpers code in a following patch. Cc: Sumit Semwal Cc: Liam Mark Cc: Laura Abbott Cc: Brian Starkey Cc: Hri

[PATCH v7 3/5] dma-buf: heaps: Remove heap-helpers code

2020-11-21 Thread John Stultz
The heap-helpers code was not as generic as initially hoped and it is now not being used, so remove it from the tree. Cc: Sumit Semwal Cc: Liam Mark Cc: Laura Abbott Cc: Brian Starkey Cc: Hridya Valsaraju Cc: Suren Baghdasaryan Cc: Sandeep Patil Cc: Daniel Mentz Cc: Chris Goldsworthy Cc:

[PATCH v7 5/5] dma-buf: system_heap: Allocate higher order pages if available

2020-11-21 Thread John Stultz
While the system heap can return non-contiguous pages, try to allocate larger order pages if possible. This will allow slight performance gains and make implementing page pooling easier. Cc: Sumit Semwal Cc: Liam Mark Cc: Laura Abbott Cc: Brian Starkey Cc: Hridya Valsaraju Cc: Suren Baghdasa

[PATCH v7 4/5] dma-buf: heaps: Skip sync if not mapped

2020-11-21 Thread John Stultz
This patch is basically a port of Ørjan Eide's similar patch for ION https://lore.kernel.org/lkml/20200414134629.54567-1-orjan.e...@arm.com/ Only sync the sg-list of dma-buf heap attachment when the attachment is actually mapped on the device. dma-bufs may be synced at any time. It can be reache

[PATCH v7 1/5] dma-buf: system_heap: Rework system heap to use sgtables instead of pagelists

2020-11-21 Thread John Stultz
In preparation for some patches to optmize the system heap code, rework the dmabuf exporter to utilize sgtables rather then pageslists for tracking the associated pages. This will allow for large order page allocations, as well as more efficient page pooling. In doing so, the system heap stops us

Re: [PATCH] octeontx2-af: Add support for RSS hashing based on Transport protocol field

2020-11-21 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 20 Nov 2020 15:09:06 +0530 you wrote: > Add support to choose RSS flow key algorithm with IPv4 transport protocol > field included in hashing input data. This will be enabled by default. > There-by enabling 3/5 tupl

Re: [PATCH v2] drivers: fpga: Specify HAS_IOMEM dependency for FPGA_DFL

2020-11-21 Thread Moritz Fischer
On Fri, Nov 20, 2020 at 03:46:48PM -0800, David Gow wrote: > Because dfl.c uses the 'devm_ioremap', 'devm_iounmap', > 'devm_ioremap_resource', and 'devm_platform_ioremap_resource' > functions, it should depend on HAS_IOMEM. > > This fixes make allyesconfig under UML (ARCH=um), which doesn't provid

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

2020-11-21 Thread Sven Eckelmann
On Wednesday, 29 April 2020 18:53:47 CET Ronald G. Minnich wrote: > From: Boris Brezillon > > Looks like some drivers define MTD names with a colon in it, thus > making mtdpart= parsing impossible. Let's fix the parser to gracefully > handle that case: the last ':' in a partition definition seque

Re: [PATCH v3 07/13] media: controls: Validate H264 stateless controls

2020-11-21 Thread Ezequiel Garcia
On Fri, 2020-11-20 at 10:30 +0100, Hans Verkuil wrote: > On 18/11/2020 19:46, Ezequiel Garcia wrote: > > Check that all the fields that correspond or are related > > to a H264 specification syntax element have legal values. > > > > Signed-off-by: Ezequiel Garcia > > --- > > drivers/media/v4l2-co

Re: [PATCH 086/141] hwmon: (corsair-cpro) Fix fall-through warnings for Clang

2020-11-21 Thread Guenter Roeck
On Sat, Nov 21, 2020 at 12:00:30PM -0800, Joe Perches wrote: > On Sat, 2020-11-21 at 10:50 -0800, Guenter Roeck wrote: > > On Fri, Nov 20, 2020 at 12:36:04PM -0600, Gustavo A. R. Silva wrote: > > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > > > by explicitly adding a

Re: [PATCH v5 2/4] staging: media: Introduce NVIDIA Tegra video decoder driver

2020-11-21 Thread Ezequiel Garcia
Hi Dmitry, On Mon, 11 Dec 2017 at 21:27, Dmitry Osipenko wrote: > > NVIDIA Tegra20/30/114/124/132 SoC's have video decoder engine that > supports standard set of video formats like H.264 / MPEG-4 / WMV / VC1. > > Signed-off-by: Dmitry Osipenko > --- > MAINTAINERS

Re: Performance regressions in "boot_time" tests in Linux 5.8 Kernel

2020-11-21 Thread b...@redhat.com
On 11/20/20 at 03:11am, Rahul Gopakumar wrote: > Hi Baoquan, > > To which commit should we apply the draft patch. We tried applying > the patch to the commit 3e4fb4346c781068610d03c12b16c0cfb0fd24a3 > (the one we used for applying the previous patch) but it fails. I tested on 5.10-rc3+. You can a

Re: [PATCHv2 1/5] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2020-11-21 Thread Moritz Fischer
Richard, On Wed, Nov 18, 2020 at 12:16:09PM -0600, Richard Gong wrote: > > > -#define COMMAND_RECONFIG_FLAG_PARTIAL1 > > > +#define COMMAND_RECONFIG_FLAG_PARTIAL0 > > > +#define COMMAND_AUTHENTICATE_BITSTREAM 1 > > > > Can you explain how this commit by itself doesn't break things? > >

Re: [PATCH v2 2/2] fpga: dfl: look for vendor specific capability

2020-11-21 Thread Moritz Fischer
Hi Matthew, On Wed, Nov 18, 2020 at 11:01:51AM -0800, matthew.gerl...@linux.intel.com wrote: > From: Matthew Gerlach > > A DFL may not begin at offset 0 of BAR 0. A PCIe vendor > specific capability can be used to specify the start of a > number of DFLs. > > Signed-off-by: Matthew Gerlach > -

include/net/sock.h:379:34: error: 'struct sock_common' has no member named 'skc_v6_daddr'; did you mean

2020-11-21 Thread kernel test robot
Hi Tariq, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a349e4c659609fd20e4beea89e5c4a4038e33a95 commit: 5229a96e59ec32466add5e87b537cc3f244afb06 net/mlx5e: Accel, Expose flow steering API for rules add/del date:

Re: [PATCH v1] qnx4_match: do not over run the buffer

2020-11-21 Thread Tong Zhang
Thanks for the clarification! This sounds good to me. I will send a revised patch. Best, - Tong > On Nov 21, 2020, at 4:57 PM, Anders Larsen wrote: > > On Saturday, 2020-11-21 22:47 Tong Zhang wrote: >> >>> On Nov 21, 2020, at 4:40 PM, Anders Larsen wrote: >>> >>> On Friday, 2020-11-20 22:21

[PATCH v2] qnx4_match: do not over run the buffer

2020-11-21 Thread Tong Zhang
the di_fname may not terminated by '\0', use strnlen to prevent buffer overrun [ 513.248784] qnx4_readdir: bread failed (3718095557) [ 513.250880] == [ 513.251109] BUG: KASAN: use-after-free in strlen+0x1f/0x40 [ 513.251268] Read

Re: [PATCH 1/1] pci: pciehp: Handle MRL interrupts to enable slot for hotplug.

2020-11-21 Thread Raj, Ashok
On Sat, Nov 21, 2020 at 12:10:50PM +0100, Lukas Wunner wrote: > > > > > + /* > > > > +* If ATTN is present and MRL is triggered > > > > +* ignore the Presence Change Event. > > > > +*/ > > > > + if (ATTN_BUTTN(ctrl) && (events & PCI_EXP_SLTSTA_MRLSC)) > > > > +

Re: [PATCH net-next v3 00/12] net: dsa: microchip: PTP support for KSZ956x

2020-11-21 Thread Richard Cochran
On Sat, Nov 21, 2020 at 03:26:11AM +0200, Vladimir Oltean wrote: > On Thu, Nov 19, 2020 at 06:51:15PM +, tristram...@microchip.com wrote: > > The receive and transmit latencies are different for different connected > > speed. So the > > driver needs to change them when the link changes. For

[Patch v2 1/1] PCI: pciehp: Add support for handling MRL events

2020-11-21 Thread Ashok Raj
When Mechanical Retention Lock (MRL) is present, Linux doesn't process those change events. Support for these can be found starting Icelake Server. The following changes need to be enabled when MRL is present. 1. Subscribe to MRL change events in SlotControl. 2. When MRL is closed, - If there

Re: [PATCH v2 4/4] iio: hid-sensors: Add hinge sensor driver

2020-11-21 Thread Pandruvada, Srinivas
On Sat, 2020-11-21 at 17:56 +, Jonathan Cameron wrote: > On Thu, 19 Nov 2020 18:03:31 +0800 > Ye Xiang wrote: > > > The Hinge sensor is a common custom sensor on laptops. It > > calculates > > the angle between the lid (screen) and the base (keyboard). In > > addition, > > it also exposes scr

Re: [PATCH net-next v3 00/12] net: dsa: microchip: PTP support for KSZ956x

2020-11-21 Thread Richard Cochran
On Sat, Nov 21, 2020 at 03:26:11AM +0200, Vladimir Oltean wrote: > On Thu, Nov 19, 2020 at 06:51:15PM +, tristram...@microchip.com wrote: > > I think the right implementation is for the driver to remember this receive > > timestamp > > of Pdelay_Req and puts it in the tail tag when it sees a

Re: [PATCH v2 2/4] iio: hid-sensor-trigger: Decrement runtime pm enable count on driver removal

2020-11-21 Thread Pandruvada, Srinivas
On Sat, 2020-11-21 at 17:22 +, Jonathan Cameron wrote: > On Thu, 19 Nov 2020 18:03:29 +0800 > Ye Xiang wrote: > > > To avoid pm_runtime_disable called repeatedly by hid sensor > > drivers, > > decrease runtime pm enable count after call it. > > > > Signed-off-by: Ye Xiang > This sounds like

Re: [PATCH v3] lockdep: Allow tuning tracing capacity constants.

2020-11-21 Thread Tetsuo Handa
On 2020/11/20 18:27, Dmitry Vyukov wrote: > Peter, so far it looks like just a very large, but normal graph to me. > The cheapest from an engineering point of view solution would be just > to increase the constants. I assume a 2x increase should buy us lots > of time to overflow. > I can think of m

Re: [PATCH v5 2/4] staging: media: Introduce NVIDIA Tegra video decoder driver

2020-11-21 Thread Dmitry Osipenko
22.11.2020 04:02, Ezequiel Garcia пишет: > Hi Dmitry, > ... >> +++ b/drivers/staging/media/tegra-vde/TODO >> @@ -0,0 +1,4 @@ >> +TODO: >> + - Implement V4L2 API once it gains support for stateless decoders. >> + >> +Contact: Dmitry Osipenko > > The API for H264 stateless decoding is ready.

<    1   2   3   4   >