Re: PPC_FPU, ALTIVEC: enable_kernel_fp, put_vr, get_vr

2021-04-20 Thread Randy Dunlap
On 4/20/21 6:15 AM, Michael Ellerman wrote: > Christophe Leroy writes: >> Le 19/04/2021 à 23:39, Randy Dunlap a écrit : >>> On 4/19/21 6:16 AM, Michael Ellerman wrote: >>>> Randy Dunlap writes: >>> >>>>> Sure. I'll post them later today.

Re: [PATCH 2/5] misc: zynq: Add afi config driver

2021-04-20 Thread Randy Dunlap
On 4/20/21 1:11 AM, Nava kishore Manne wrote: > diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig > index f532c59bb59b..877b43b3377d 100644 > --- a/drivers/misc/Kconfig > +++ b/drivers/misc/Kconfig > @@ -445,6 +445,17 @@ config HISI_HIKEY_USB > switching between the dual-role USB-C

Re: [PATCH 5/5] misc: zynqmp: Add afi config driver

2021-04-20 Thread Randy Dunlap
On 4/20/21 1:11 AM, Nava kishore Manne wrote: > diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig > index 877b43b3377d..d1ea1eeb3ac1 100644 > --- a/drivers/misc/Kconfig > +++ b/drivers/misc/Kconfig > @@ -456,6 +456,17 @@ config ZYNQ_AFI > between PS and PL, the AXI port data path

Re: (.text.ks8851_probe_common+0x370): undefined reference to `__this_module'

2021-04-20 Thread Randy Dunlap
On 2/24/21 12:38 AM, Arnd Bergmann wrote: > On Wed, Feb 24, 2021 at 3:38 AM Randy Dunlap wrote: >> >> On 2/21/21 10:12 PM, kernel test robot wrote: >>> Hi Marek, >>> >>> FYI, the error/warning still remains. >>> >>> tree: https:

Re: [PATCH 2/2] USB: misc: Add driver for the WCH CH341 in I2C/GPIO mode

2021-04-19 Thread Randy Dunlap
Hi-- On 4/19/21 7:25 PM, Frank Zago wrote: > From: frank zago > > > Signed-off-by: Frank Zago > Signed-off-by: frank zago Don't think you need both of those. > --- > MAINTAINERS | 6 + > drivers/usb/misc/Kconfig| 18 ++ > drivers/usb/misc/Makefile

Re: [PATCH] afs: fix no return statement in function returning non-void

2021-04-19 Thread Randy Dunlap
On 4/8/21 7:06 AM, David Howells wrote: > Zheng Zengkai wrote: > >> static int afs_dir_set_page_dirty(struct page *page) >> { >> BUG(); /* This should never happen. */ >> +return 0; >> } > > That shouldn't be necessary. BUG() should be marked as 'no return' to the > compiler. What

Re: PPC_FPU, ALTIVEC: enable_kernel_fp, put_vr, get_vr

2021-04-19 Thread Randy Dunlap
On 4/19/21 6:16 AM, Michael Ellerman wrote: > Randy Dunlap writes: >> Sure. I'll post them later today. >> They keep FPU and ALTIVEC as independent (build) features. > > Those patches look OK. > > But I don't think it makes sense to support that configuration, FPU=n

Re: [PATCH] smp: add a best_effort version of smp_call_function_many()

2021-04-19 Thread Randy Dunlap
Hi-- On 4/19/21 11:44 AM, Luigi Rizzo wrote: > > Signed-off-by: Luigi Rizzo > --- > include/linux/smp.h | 10 ++ > kernel/smp.c| 75 + > 2 files changed, 72 insertions(+), 13 deletions(-) > > diff --git a/kernel/smp.c b/kernel/smp.c >

Re: PPC_FPU, ALTIVEC: enable_kernel_fp, put_vr, get_vr

2021-04-19 Thread Randy Dunlap
On 4/19/21 6:16 AM, Michael Ellerman wrote: > Randy Dunlap writes: >> On 4/18/21 10:46 AM, Segher Boessenkool wrote: >>> On Sun, Apr 18, 2021 at 06:24:29PM +0200, Christophe Leroy wrote: >>>> Le 17/04/2021 à 22:17, Randy Dunlap a écrit : >>>>> Should t

Re: [PATCH v3] drm/bridge/sii8620: fix dependency on extcon

2021-04-19 Thread Randy Dunlap
On 4/19/21 10:10 AM, Randy Dunlap wrote: > On 4/19/21 2:01 AM, Robert Foss wrote: >> The DRM_SIL_SII8620 kconfig has a weak `imply` dependency >> on EXTCON, which causes issues when sii8620 is built >> as a builtin and EXTCON is built as a module. >> >> The

Re: [PATCH v3] drm/bridge/sii8620: fix dependency on extcon

2021-04-19 Thread Randy Dunlap
++ b/drivers/gpu/drm/bridge/Kconfig > @@ -169,7 +169,7 @@ config DRM_SIL_SII8620 > tristate "Silicon Image SII8620 HDMI/MHL bridge" > depends on OF > select DRM_KMS_HELPER > - imply EXTCON > + select EXTCON > depends on RC_CORE || !R

Re: linux-next: Tree for Apr 19 (bcache)

2021-04-19 Thread Randy Dunlap
LK_DEV [=n] Selected by [y]: - BCACHE_NVM_PAGES [=y] && MD [=y] && BCACHE [=y] && PHYS_ADDR_T_64BIT [=y] Full randconfig file is attached. -- ~Randy Reported-by: Randy Dunlap config-r8861.gz Description: application/gzip

[PATCH] watchdog: clean up the Kconfig file

2021-04-18 Thread Randy Dunlap
Change a non-working ftp: URL to https:. Wrap long lines earlier. Spell "IP" with capital letters. Change "it`s" to "it's". The backtick (grave accent) is not an apostrophe. Signed-off-by: Randy Dunlap Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-watch..

[PATCH] scsi: fusion: documentation cleanup

2021-04-18 Thread Randy Dunlap
description on line: * mptsas_ioc_reset Signed-off-by: Randy Dunlap Cc: Sathya Prakash Cc: Sreekanth Reddy Cc: Suganath Prabu Subramani Cc: mpt-fusionlinux@broadcom.com Cc: linux-s...@vger.kernel.org Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" --- drivers/mes

[PATCH] scsi: mpt3sas: documentation cleanup

2021-04-18 Thread Randy Dunlap
in '_base_allocate_chain_dma_pool' mpt3sas_base.c:1362: warning: missing initial short description on line: * _base_display_reply_info - mpt3sas_base.c:2151: warning: contents before sections mpt3sas_base.c:2314: warning: missing initial short description on line: * base_make_prp_nvme - Signed-off-by: Randy Dunlap Cc

[PATCH 2/2] powerpc: add ALTIVEC support to lib/ when PPC_FPU not set

2021-04-18 Thread Randy Dunlap
, ); | ^~ Add ldstfp.o to the Makefile for CONFIG_ALTIVEC and add externs for get_vr() and put_vr() in lib/sstep.c to fix the build errors. This was seen in a kernel config from kernel test robot that reported a different build issue (for pmac32-cpufreq.c). Signed-off-by: Randy

[PATCH 1/2] powerpc: add enable_kernel_fp() stub for ALTIVEC without PPC_FPU

2021-04-18 Thread Randy Dunlap
PPC_FPU is not set. Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Michael Ellerman Cc: linuxppc-...@lists.ozlabs.org Cc: Christophe Leroy Cc: Segher Boessenkool Cc: l...@intel.com --- arch/powerpc/include/asm/switch_to.h |1 + 1 file changed, 1 insertion(+) --- linux

Re: PPC_FPU, ALTIVEC: enable_kernel_fp, put_vr, get_vr

2021-04-18 Thread Randy Dunlap
On 4/18/21 10:46 AM, Segher Boessenkool wrote: > On Sun, Apr 18, 2021 at 06:24:29PM +0200, Christophe Leroy wrote: >> Le 17/04/2021 à 22:17, Randy Dunlap a écrit : >>> Should the code + Kconfigs/Makefiles handle that kind of >>> kernel config or should ALTIVEC

Re: mmu.c:undefined reference to `patch__hash_page_A0'

2021-04-18 Thread Randy Dunlap
On 4/18/21 3:43 AM, Christophe Leroy wrote: > > > Le 18/04/2021 à 02:02, Randy Dunlap a écrit : >> HI-- >> >> I no longer see this build error. > > Fixed by > https://github.com/torvalds/linux/commit/acdad8fb4a1574323db88f98a38b630691574e16 > >> H

[PATCH 2/2] kconfig: highlight xconfig 'comment' lines with '***'

2021-04-17 Thread Randy Dunlap
akes the comments be presented in a way that is similar to menuconfig and nconfig. Signed-off-by: Randy Dunlap Cc: Masahiro Yamada Cc: linux-kbu...@vger.kernel.org --- scripts/kconfig/qconf.cc |1 + 1 file changed, 1 insertion(+) --- linux-next-20210416.orig/scripts/kconfig/qconf.cc +

[PATCH 1/2] kconfig: highlight gconfig 'comment' lines with '***'

2021-04-17 Thread Randy Dunlap
akes the comments be presented in a way that is similar to menuconfig and nconfig. Signed-off-by: Randy Dunlap Cc: Masahiro Yamada Cc: linux-kbu...@vger.kernel.org --- scripts/kconfig/gconf.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) --- linux-next-20210416.orig/scripts/

[PATCH] crypto: camellia: drop duplicate "depends on CRYPTO"

2021-04-17 Thread Randy Dunlap
ellia - add AVX2/AES-NI/x86_64 assembler implementation of camellia cipher") Fixes: c5aac2df6577 ("sparc64: Add DES driver making use of the new des opcodes.") Signed-off-by: Randy Dunlap Cc: Sebastian Siewior Cc: Jussi Kivilinna Cc: Herbert Xu Cc: "David S. Miller" Cc: linu

Re: mmu.c:undefined reference to `patch__hash_page_A0'

2021-04-17 Thread Randy Dunlap
HI-- I no longer see this build error. However: On 2/27/21 2:24 AM, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 3fb6d0e00efc958d01c2f109c8453033a2d96796 > commit: 259149cf7c3c6195e6199e045ca988c31d081cab powerpc/32s:

PPC_FPU, ALTIVEC: enable_kernel_fp, put_vr, get_vr

2021-04-17 Thread Randy Dunlap
Hi, kernel test robot reports: >> drivers/cpufreq/pmac32-cpufreq.c:262:2: error: implicit declaration of >> function 'enable_kernel_fp' [-Werror,-Wimplicit-function-declaration] enable_kernel_fp(); ^ when # CONFIG_PPC_FPU is not set CONFIG_ALTIVEC=y I see at least one

[PATCH net-next] net: xilinx: drivers need/depend on HAS_IOMEM

2021-04-17 Thread Randy Dunlap
to `devm_platform_ioremap_resource' Fixes: 8a3b7a252dca ("drivers/net/ethernet/xilinx: added Xilinx AXI Ethernet driver") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Radhey Shyam Pandey Cc: Gary Guo Cc: Zhang Changzhong Cc: Andre Przywara Cc: sta...@vger.kernel.org

[PATCH] of: linux/of.h: fix kernel-doc warnings

2021-04-17 Thread Randy Dunlap
/linux/of.h:1477: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Overlay support Signed-off-by: Randy Dunlap Cc: Rob Herring Cc: Greg Kroah-Hartman --- include/linux/of.h |4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH -next] cfg80211: fix a few kernel-doc warnings

2021-04-17 Thread Randy Dunlap
cfg80211.h:6743: warning: missing initial short description on line: * cfg80211_vendor_cmd_get_sender Signed-off-by: Randy Dunlap Cc: Johannes Berg Cc: Johannes Berg Cc: Emmanuel Grumbach Cc: linux-wirel...@vger.kernel.org --- include/net/cfg80211.h | 11 +-- 1 file changed, 5

Re: linux-next: Tree for Apr 16 (IMA appraise causing build error)

2021-04-16 Thread Randy Dunlap
Hi, On 4/16/21 1:25 PM, Nayna wrote: > > On 4/16/21 2:53 PM, Randy Dunlap wrote: >> On 4/16/21 4:36 AM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20210415: >>> >> I noticed this build error message (on an i386 build): >

Re: linux-next: Tree for Apr 16 (IMA appraise causing build error)

2021-04-16 Thread Randy Dunlap
u can do (or recommend) to prevent the build error? BTW, it looks like this: config IMA_APPRAISE_REQUIRE_MODULE_SIGS bool "Appraise kernel modules signatures" depends on IMA_APPRAISE_BUILD_POLICY could also depend on MODULES. Full i386 randconfig file is attached. thank

Re: linux-next: Tree for Apr 16 (objtool: warnings)

2021-04-16 Thread Randy Dunlap
: objtool: __x86_indirect_alt_call_r15()+0x0: call without frame pointer save/setup = Enter/Return to continue; 'r' to remove = thanks. -- ~Randy Reported-by: Randy Dunlap

Re: Page BUGs

2021-04-16 Thread Randy Dunlap
On 4/16/21 10:29 AM, Randy Dunlap wrote: > On 4/16/21 10:20 AM, Drew Abbott wrote: >> Hello, >> >> I have been troubleshooting problems with the vanilla and lts linux kernels >> for a couple of weeks now and saw this mailing list in MAINTAINERS for >&

Re: Page BUGs

2021-04-16 Thread Randy Dunlap
On 4/16/21 10:20 AM, Drew Abbott wrote: > Hello, > > I have been troubleshooting problems with the vanilla and lts linux kernels > for a couple of weeks now and saw this mailing list in MAINTAINERS for > problems with mm.h; apologies if this is the wrong place to ask. I have MAINTAINERS file

[PATCH -next] drm: bridge: fix LONTIUM use of mipi_dsi_() functions

2021-04-15 Thread Randy Dunlap
] undefined! WARNING: modpost: suppressed 5 unresolved symbol warnings because there were too many) Fixes: 23278bf54afe ("drm/bridge: Introduce LT9611 DSI to HDMI bridge") Fixes: 0cbbd5b1a012 ("drm: bridge: add support for lontium LT9611UXC bridge") Fixes: 30e2ae943c26 (&qu

[PATCH -next] drm: bridge: fix ANX7625 use of mipi_dsi_() functions

2021-04-15 Thread Randy Dunlap
quot;mipi_dsi_detach" [drivers/gpu/drm/bridge/analogix/anx7625.ko] undefined! Fixes: 8bdfc5dae4e3 ("drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Xin Ji Cc: Sam Ravnborg Cc: dri-de...@lists.freedesktop.org Cc:

[PATCH v2] uml: fix W=1 missing-include-dirs warnings

2021-04-15 Thread Randy Dunlap
nd put one Kbuild file into it (since git does not track empty subdirs). Signed-off-by: Randy Dunlap Cc: Masahiro Yamada Cc: Michal Marek Cc: linux-kbu...@vger.kernel.org Cc: Jeff Dike Cc: Richard Weinberger Cc: Anton Ivanov Cc: linux...@lists.infradead.org --- v2: use Option 4 from v1: a

Re: [PATCH] uml: fix W=1 missing-include-dirs warnings

2021-04-15 Thread Randy Dunlap
On 4/15/21 12:04 AM, Masahiro Yamada wrote: > On Thu, Apr 15, 2021 at 4:02 PM Randy Dunlap wrote: >> >> On 4/14/21 11:52 PM, Masahiro Yamada wrote: >>> On Thu, Apr 15, 2021 at 4:27 AM Randy Dunlap wrote: >>>> >>>> Currently when using "W=1&qu

Re: [PATCH] uml: fix W=1 missing-include-dirs warnings

2021-04-15 Thread Randy Dunlap
On 4/14/21 11:52 PM, Masahiro Yamada wrote: > On Thu, Apr 15, 2021 at 4:27 AM Randy Dunlap wrote: >> >> Currently when using "W=1" with UML builds, there are over 700 warnings >> like so: >> >> CC arch/um/drivers/stderr_console.o >> c

[PATCH] greybus: es2: fix kernel-doc warnings

2021-04-14 Thread Randy Dunlap
Fix these kernel-doc complaints: ../drivers/greybus/es2.c:79: warning: bad line: ../drivers/greybus/es2.c:100: warning: cannot understand function prototype: 'struct es2_ap_dev ' es2.c:126: warning: Function parameter or member 'cdsi1_in_use' not described in 'es2_ap_dev' Signed-off-by: Randy

[PATCH] sound: virtio: correct the function name in kernel-doc comment

2021-04-14 Thread Randy Dunlap
Fix kernel-doc warning that the wrong function name is used in a kernel-doc comment: ../sound/virtio/virtio_ctl_msg.c:70: warning: expecting prototype for virtsnd_ctl_msg_request(). Prototype was for virtsnd_ctl_msg_response() instead Signed-off-by: Randy Dunlap Cc: Anton Yakovlev Cc

[PATCH] uml: fix W=1 missing-include-dirs warnings

2021-04-14 Thread Randy Dunlap
um/include/uapi/ in USERINCLUDE for UML. Signed-off-by: Randy Dunlap Cc: Masahiro Yamada Cc: Michal Marek Cc: linux-kbu...@vger.kernel.org Cc: Jeff Dike Cc: Richard Weinberger Cc: Anton Ivanov Cc: linux...@lists.infradead.org --- Makefile | 10 ++ 1 file changed, 10 insertions(+)

[PATCH 3/3] um: stub_32.h: move 'inline' before 'void' to fix W=1 warning

2021-04-14 Thread Randy Dunlap
Use the expected ordering of function modifier keywords. arch/x86/um/shared/sysdep/stub_32.h:80:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] static void inline remap_stack_and_trap(void) ^~ Signed-off-by: Randy Dunlap Reported-by: kernel test robot

[PATCH 2/3] um: elf.h: fix W=1 warning for empty body in 'do' statement

2021-04-14 Thread Randy Dunlap
Use the common kernel style to eliminate a warning: ./arch/x86/um/asm/elf.h:215:32: warning: suggest braces around empty body in ‘do’ statement [-Wempty-body] #define SET_PERSONALITY(ex) do ; while(0) ^ Signed-off-by: Randy Dunlap Cc: Jeff Dike Cc: Richard

[PATCH 0/3] um: headers: fix various W=1 warnings

2021-04-14 Thread Randy Dunlap
Fix a few W=1 warnings in arch/um/. Prompted by the "kernel test robot". Cc: Jeff Dike Cc: Richard Weinberger Cc: Anton Ivanov Cc: linux...@lists.infradead.org [PATCH 1/3] um: pgtable.h: fix W=1 warning for empty body in 'do' statement [PATCH 2/3] um: elf.h: fix W=1 warning for empty body

[PATCH 1/3] um: pgtable.h: fix W=1 warning for empty body in 'do' statement

2021-04-14 Thread Randy Dunlap
: note: in expansion of macro ‘update_mmu_cache’ update_mmu_cache(vma, addr, vmf->pte); ^~~~ Signed-off-by: Randy Dunlap Cc: Jeff Dike Cc: Richard Weinberger Cc: Anton Ivanov Cc: linux...@lists.infradead.org --- arch/um/include/asm/pgtable.h |2 +- 1 file changed

Re: mmotm 2021-04-11-20-47 uploaded (bpf: xsk.c)

2021-04-13 Thread Randy Dunlap
On 4/13/21 3:18 PM, Andrii Nakryiko wrote: > On Mon, Apr 12, 2021 at 9:38 AM Randy Dunlap wrote: >> >> On 4/11/21 8:48 PM, a...@linux-foundation.org wrote: >>> The mm-of-the-moment snapshot 2021-04-11-20-47 has been uploaded to >>> >>>https:/

Re: linux-next: Tree for Apr 9 (x86 boot problem)

2021-04-13 Thread Randy Dunlap
On 4/13/21 11:23 AM, Mike Rapoport wrote: > On Tue, Apr 13, 2021 at 10:34:25AM -0700, Randy Dunlap wrote: >> On 4/13/21 9:58 AM, Mike Rapoport wrote: >> >> Mike, >> That works. >> >> Please send the next test. > > I think I've found the reason

Re: [PATCH] lib: remove "expecting prototype" kernel-doc warnings

2021-04-13 Thread Randy Dunlap
On 4/13/21 11:18 AM, Andrew Morton wrote: > On Sun, 11 Apr 2021 15:17:56 -0700 Randy Dunlap wrote: > >> Fix various kernel-doc warnings in lib/ due to missing or >> erroneous function names. >> Add kernel-doc for some function parameters that was missing. >> Use

Re: linux-next: Tree for Apr 9 (x86 boot problem)

2021-04-13 Thread Randy Dunlap
On 4/13/21 9:58 AM, Mike Rapoport wrote: > On Mon, Apr 12, 2021 at 11:21:48PM -0700, Randy Dunlap wrote: >> On 4/12/21 11:06 PM, Mike Rapoport wrote: >>> Hi Randy, >>> >>> On Mon, Apr 12, 2021 at 01:53:34PM -0700, Randy Dunlap wrote: >>>> On 4/12/21

Re: linux-next: Tree for Apr 9 (x86 boot problem)

2021-04-13 Thread Randy Dunlap
On 4/12/21 11:06 PM, Mike Rapoport wrote: > Hi Randy, > > On Mon, Apr 12, 2021 at 01:53:34PM -0700, Randy Dunlap wrote: >> On 4/12/21 10:01 AM, Mike Rapoport wrote: >>> On Mon, Apr 12, 2021 at 08:49:49AM -0700, Randy Dunlap wrote: >>> >>> I thought abou

x86: report: write to unrecognized MSR

2021-04-12 Thread Randy Dunlap
[ 27.075563] msr: Write to unrecognized MSR 0x1b0 by x86_energy_perf (pid: 1223). [ 27.078979] msr: See https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/about for details. (aka x86_energy_perf_policy) on linux-next-20210409 / x86_64. -- ~Randy

Re: linux-next: Tree for Apr 9 (x86 boot problem)

2021-04-12 Thread Randy Dunlap
On 4/12/21 10:01 AM, Mike Rapoport wrote: > On Mon, Apr 12, 2021 at 08:49:49AM -0700, Randy Dunlap wrote: >> On 4/11/21 11:14 PM, Mike Rapoport wrote: >>> Hi Randy, >>> >>> On Sun, Apr 11, 2021 at 07:41:37PM -0700, Randy Dunlap wrote: >>>> On 4/9/

Re: /usr/bin/ld: atomic64_test.c:undefined reference to `atomic64_add_unless_386'

2021-04-12 Thread Randy Dunlap
On 4/12/21 10:30 AM, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: d434405aaab7d0ebc516b68a8fc4100922d7f5ef > commit: 37f8173dd84936ea78000ed1cad24f8b18d48ebb locking/atomics: Flip > fallbacks and instrumentation > date:

Re: mmotm 2021-04-11-20-47 uploaded (ni_routes_test.c)

2021-04-12 Thread Randy Dunlap
test.c:(.text+0x11c5): undefined reference to `ni_find_route_source' ld: ni_routes_test.c:(.text+0x11fc): undefined reference to `ni_find_route_source' ld: drivers/staging/comedi/drivers/tests/ni_routes_test.o: in function `test_ni_sort_device_routes': ni_routes_test.c:(.text+0x16ef): undefined refe

Re: mmotm 2021-04-11-20-47 uploaded (bpf: xsk.c)

2021-04-12 Thread Randy Dunlap
^ xsk.c:1028:30: error: redefinition of ‘tx_setup_done’ bool rx_setup_done = false, tx_setup_done = false; ^ xsk.c:1020:37: note: previous definition of ‘tx_setup_done’ was here bool unmap, rx_setup_done = false, tx_setup_done = false; ^~

Re: linux-next: Tree for Apr 9 (x86 boot problem)

2021-04-12 Thread Randy Dunlap
On 4/11/21 11:14 PM, Mike Rapoport wrote: > Hi Randy, > > On Sun, Apr 11, 2021 at 07:41:37PM -0700, Randy Dunlap wrote: >> On 4/9/21 4:51 AM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20210408: >>> >> >> Hi, >

Re: mmotm 2021-04-11-20-47 uploaded (fs/io_uring.c)

2021-04-12 Thread Randy Dunlap
On 4/12/21 5:39 AM, Jens Axboe wrote: > On 4/12/21 1:21 AM, Randy Dunlap wrote: >> On 4/11/21 8:48 PM, a...@linux-foundation.org wrote: >>> The mm-of-the-moment snapshot 2021-04-11-20-47 has been uploaded to >>> >>>https://www.ozlabs.org/~akpm/

Re: mmotm 2021-04-11-20-47 uploaded (fs/io_uring.c)

2021-04-12 Thread Randy Dunlap
‘kiocb_done’: ../fs/io_uring.c:2766:7: error: implicit declaration of function ‘io_resubmit_prep’; did you mean ‘io_put_req’? [-Werror=implicit-function-declaration] if (io_resubmit_prep(req)) { -- ~Randy Reported-by: Randy Dunlap

Re: linux-next: Tree for Apr 9 (x86 boot problem)

2021-04-11 Thread Randy Dunlap
next 0408 or 0409. I connected a USB serial debug cable and booted with earlyprintk=dbgp,keep and still got nothing. The attached boot log is linux-next 20210409 minus the 2 patches listed above. Mike- what data would you like to see? -- ~Randy Reported-by: Randy Dunlap boot0409-2.log.gz Description: application/gzip

[PATCH] security: commoncap: clean up kernel-doc comments

2021-04-11 Thread Randy Dunlap
6: warning: expecting prototype for cap_task_ioprio(). Prototype was for cap_task_setioprio() instead ../security/commoncap.c:1219: warning: expecting prototype for cap_task_ioprio(). Prototype was for cap_task_setnice() instead Signed-off-by: Randy Dunlap Cc: Serge Hallyn Cc: James Morris

[PATCH] crypto: fix kernel-doc notation in chacha.c and af_alg.c

2021-04-11 Thread Randy Dunlap
in 'af_alg_get_rsgl' af_alg.c:1146: warning: Function parameter or member 'outlen' not described in 'af_alg_get_rsgl' Signed-off-by: Randy Dunlap Cc: Herbert Xu Cc: "David S. Miller" Cc: linux-cry...@vger.kernel.org --- crypto/af_alg.c | 94 +++---

[PATCH] lib: remove "expecting prototype" kernel-doc warnings

2021-04-11 Thread Randy Dunlap
described in 'radix_tree_iter_replace' Signed-off-by: Randy Dunlap Cc: Andrew Morton Cc: Philipp Reisner Cc: Lars Ellenberg Cc: drbd-...@lists.linbit.com Cc: Jiri Pirko Cc: net...@vger.kernel.org Cc: Matthew Wilcox --- lib/earlycpio.c |4 ++-- lib/lru_cache.c |3 ++- lib/parman.c

[PATCH v2] mm: eliminate "expecting prototype" kernel-doc warnings

2021-04-11 Thread Randy Dunlap
for Check whether unreclaimable slab amount is greater than(). Prototype was for should_dump_unreclaim_slab() instead ../mm/shuffle.c:155: warning: expecting prototype for shuffle_free_memory(). Prototype was for __shuffle_free_memory() instead Signed-off-by: Randy Dunlap Cc: Andrew Morton Cc: linux

Re: [PATCH] mm: eliminate "expecting prototype" kernel-doc warnings

2021-04-11 Thread Randy Dunlap
On 4/11/21 11:35 AM, Matthew Wilcox wrote: > On Sun, Apr 11, 2021 at 10:43:21AM -0700, Randy Dunlap wrote: >> +++ linux-next-20210409/mm/mmu_gather.c >> @@ -250,7 +250,7 @@ void tlb_flush_mmu(struct mmu_gather *tl >> } >> >> /** >> - * tlb_gather_m

[PATCH] mm: eliminate "expecting prototype" kernel-doc warnings

2021-04-11 Thread Randy Dunlap
for Check whether unreclaimable slab amount is greater than(). Prototype was for should_dump_unreclaim_slab() instead ../mm/shuffle.c:155: warning: expecting prototype for shuffle_free_memory(). Prototype was for __shuffle_free_memory() instead Signed-off-by: Randy Dunlap Cc: Andrew Morton Cc: linux

[PATCH] csky: fix syscache.c fallthrough warning

2021-04-11 Thread Randy Dunlap
CHE: | ^~~~ Fixes: 997153b9a75c ("csky: Add flush_icache_mm to defer flush icache all") Signed-off-by: Randy Dunlap Cc: Guo Ren Cc: linux-c...@vger.kernel.org Cc: Arnd Bergmann --- @Guo, should this be a "break" instead of fallthrough? arch/csky/mm/syscache.c |1 + 1 fi

Re: [PATCH] PCI: endpoint: fix incorrect kernel-doc comment syntax

2021-04-11 Thread Randy Dunlap
nt > format, i.e. '/*', to prevent kernel-doc from parsing it. > > Signed-off-by: Aditya Srivastava Acked-by: Randy Dunlap Thanks. > --- > include/linux/pci-ep-cfs.h | 2 +- > include/linux/pci-epc.h| 2 +- > include/linux/pci-epf.h| 2 +- > 3 files changed, 3 in

Re: [PATCH 1/1] iommu/vt-d: Fix build error of pasid_enable_wpe() with !X86

2021-04-11 Thread Randy Dunlap
) __builtin_expect(!!(x), 0) > | > > Add the missing dependency. > > Cc: Sanjay Kumar > Cc: Jacob Pan > Cc: Randy Dunlap > Reported-by: kernel test robot > Reported-by: Randy Dunlap > Fixes: f68c7f539b6e9 ("iommu/vt-d: Enable write protect for supervi

[PATCH RESEND] csky: change a Kconfig symbol name to fix e1000 build error

2021-04-10 Thread Randy Dunlap
e1000's #define of CONFIG_RAM_BASE conflicts with a Kconfig symbol in arch/csky/Kconfig. The symbol in e1000 has been around longer, so change arch/csky/ to use DRAM_BASE instead of RAM_BASE to remove the conflict. (although e1000 is also a 2-line change) Now build-tested. Signed-off-by: Randy

Re: arch/csky/mm/tcm.c:9:2: error: #error "You should define ITCM_RAM_BASE"

2021-04-10 Thread Randy Dunlap
On 4/10/21 9:43 PM, kernel test robot wrote: > Hi Julian, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 52e44129fba5cfc4e351fdb5e45849afc74d9a53 > commit: 7d37cb2c912dc5c25ffac784a4f9b98c06c6bd08

[PATCH RESENDbis] ia64: remove duplicate entries in generic_defconfig

2021-04-10 Thread Randy Dunlap
value as in the removed lines. Fixes: c331649e6371 ("ia64: Use libata instead of the legacy ide driver in defconfigs") Reported-by: Geert Uytterhoeven Signed-off-by: Randy Dunlap Cc: Andrew Morton Cc: Christoph Hellwig Cc: Tony Luck Cc: linux-i...@vger.kernel.org Reviewed-by: C

[PATCH] ia64: fix discontig.c section mismatches

2021-04-10 Thread Randy Dunlap
or the annotation of early_nr_cpus_node is wrong. Signed-off-by: Randy Dunlap Cc: Mike Rapoport Cc: Andrew Morton Cc: linux...@kvack.org Cc: linux-i...@vger.kernel.org --- arch/ia64/mm/discontig.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- linux-next-20210409.orig/arch

Re: linux-next: Tree for Apr 9 (drivers/iommu/intel/pasid.c)

2021-04-10 Thread Randy Dunlap
ely(!(cr0 & X86_CR0_WP))) { | ^~ ../include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ -- ~Randy Reported-by: Randy Dunlap

Re: [PATCH] um: add 2 missing libs to fix various build errors

2021-04-09 Thread Randy Dunlap
On 4/4/21 11:20 AM, Randy Dunlap wrote: > Fix many build errors (at least 18 build error reports) for uml on i386 > by adding 2 more library object files. All missing symbols are > either cmpxchg8b_emu or atomic*386. > > Here are a few examples of the build errors that

Re: [PATCH v2] drm/bridge/sii8620: fix dependency on extcon

2021-04-09 Thread Randy Dunlap
On 4/8/21 6:07 AM, Robert Foss wrote: > The DRM_SIL_SII8620 kconfig has a weak `imply` dependency > on EXTCON, which causes issues when sii8620 is built > as a builtin and EXTCON is built as a module. > > The symptoms are 'undefined reference' errors caused > by the symbols in EXTCON not being

Re: [PATCH 5/5] x86/speculation: Add PSF mitigation kernel parameters

2021-04-08 Thread Randy Dunlap
On 4/7/21 5:50 AM, Ramakrishna Saripalli wrote: > From: Ramakrishna Saripalli > > PSF mitigation introduces new kernel parameters. > > The kernel parameters for PSF mitigation are modeled > after spec_store_bypass_disable. Maybe too much copy-pasta. See below. > > Signed-off-by: Ramakrishna

Re: [PATCH v3 net-next] net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)

2021-04-08 Thread Randy Dunlap
On 4/8/21 3:58 PM, Dexuan Cui wrote: > Changes in v3: > Changed the Kconfig file: > Microsoft Azure Network Device ==> Microsoft Network Devices > Drop the default m > validated ==> supported Hi, I am satisfied with the Kconfig changes. thanks. -- ~Randy

Re: [PATCH v2 net-next] net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)

2021-04-08 Thread Randy Dunlap
On 4/8/21 2:15 AM, Dexuan Cui wrote: > diff --git a/drivers/net/ethernet/microsoft/Kconfig > b/drivers/net/ethernet/microsoft/Kconfig > new file mode 100644 > index ..12ef6b581566 > --- /dev/null > +++ b/drivers/net/ethernet/microsoft/Kconfig > @@ -0,0 +1,30 @@ > +# > +# Microsoft

Re: undefined reference to `cmpxchg8b_emu'

2021-04-07 Thread Randy Dunlap
On 4/7/21 4:34 PM, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 454859c552da78b0f587205d308401922b56863e > commit: 1c530d431c698f156538b8954b07df95337beb34 dma-buf: Use > atomic_fetch_add() for the context id > date:

[PATCH] lib: parser: clean up kernel-doc

2021-04-06 Thread Randy Dunlap
Mark match_uint() as kernel-doc notation since it is already fully annotated as such. Use % prefix on constants in kernel-doc comments. Convert function return descriptions to use the "Return:" kernel-doc notation. Signed-off-by: Randy Dunlap Cc: Andrew Morton Cc: Alexander Viro

[PATCH] vfs: fs_parser: clean up kernel-doc warnings

2021-04-06 Thread Randy Dunlap
-off-by: Randy Dunlap Cc: Andrew Morton Cc: Alexander Viro Cc: David Howells Cc: linux-fsde...@vger.kernel.org --- fs/fs_parser.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20210406.orig/fs/fs_parser.c +++ linux-next-20210406/fs/fs_parser.c @@ -310,7 +310,6

Re: linux-next: Tree for Apr 6 (arch/x86/mm/init_64.c)

2021-04-06 Thread Randy Dunlap
On 4/6/21 11:32 AM, Randy Dunlap wrote: > On 4/6/21 5:31 AM, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20210401: >> > > on x86_64: > # CONFIG_SPARSEMEM_VMEMMAP is not set > > > gcc (SUSE Linux) 7.5.0 > > > ../arch/x86/mm/init_

Re: linux-next: Tree for Apr 6 (arch/x86/mm/init_64.c)

2021-04-06 Thread Randy Dunlap
altmap); spin_lock(_mm.page_table_lock); pmd_clear(pmd); spin_unlock(_mm.page_table_lock); } -- ~Randy Reported-by: Randy Dunlap

Re: disk-io.c:undefined reference to `atomic64_set_386'

2021-04-06 Thread Randy Dunlap
On 4/6/21 7:43 AM, David Sterba wrote: > On Thu, Apr 01, 2021 at 12:34:38AM +0800, kernel test robot wrote: >> Hi Josef, >> >> FYI, the error/warning still remains. >> >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> master >> head:

Re: [PATCH v2] powerpc: iommu: fix build when neither PCI or IBMVIO is set

2021-04-05 Thread Randy Dunlap
On 4/5/21 2:04 AM, Christophe Leroy wrote: > > > Le 04/04/2021 à 21:26, Randy Dunlap a écrit : >> When neither CONFIG_PCI nor CONFIG_IBMVIO is set/enabled, iommu.c has a >> build error. The fault injection code is not useful in that kernel config, >> so make the FAIL

[PATCH v2] powerpc: iommu: fix build when neither PCI or IBMVIO is set

2021-04-04 Thread Randy Dunlap
: error: 'fail_iommu_bus_notifier' defined but not used [-Werror=unused-variable] 178 | static struct notifier_block fail_iommu_bus_notifier = { Fixes: d6b9a81b2a45 ("powerpc: IOMMU fault injection") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Suggested-by: Michael El

[PATCH] um: add 2 missing libs to fix various build errors

2021-04-04 Thread Randy Dunlap
: in function `ieee80211_crypto_tkip_encrypt': wpa.c:(.text+0x739): undefined reference to `atomic64_inc_return_386' Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Brendan Jackman Cc: Alexei Starovoitov Cc: kbuild-...@lists.01.org Cc: Jeff Dike Cc: Richard Weinberger Cc: Anton

Re: Compiling Linux kernel into a build directory

2021-04-02 Thread Randy Dunlap
On 4/2/21 11:29 AM, James Courtier-Dutton wrote: > Hi, > > Currently, when one builds the linux kernel, it places .o files all > over the source code tree. > Is there a way to have the linux kernel build, but place all the .o > files into a separate build folder? > Similar to how cmake or ninja

Re: [PATCH -next] gpio: GPIO_SCH: depends on PCI same as LPC_SCH

2021-04-02 Thread Randy Dunlap
On 4/2/21 2:00 AM, Andy Shevchenko wrote: > On Friday, April 2, 2021, Randy Dunlap wrote: > >> Since LPC_SCH depends on PCI, GPIO_SCH must also depend on PCI >> to prevent kconfig warning and build errors: >> >> WARNING: unmet direct dependencies detected

Re: [PATCH] tools: Fix a typo in kernel-chktaint

2021-04-02 Thread Randy Dunlap
On 4/2/21 12:05 AM, Masanari Iida wrote: > This patch fixes a spelling typo in kernel-chktaint > > Signed-off-by: Masanari Iida Acked-by: Randy Dunlap Thanks. > --- > tools/debugging/kernel-chktaint | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

[PATCH -next] gpio: GPIO_SCH: depends on PCI same as LPC_SCH

2021-04-01 Thread Randy Dunlap
^~ Fixes: 6c46215d6b62 ("gpio: sch: Hook into ACPI GPE handler to catch GPIO edge events") Signed-off-by: Randy Dunlap Cc: Andy Shevchenko Cc: Linus Walleij Cc: linux-g...@vger.kernel.org Cc: Bartosz Golaszewski Cc: Denis Turischev --- drivers/gpio/Kconfig |

[PATCH -next] phy: marvell: phy-mvebu-cp11i-utmi needs USB_COMMON

2021-04-01 Thread Randy Dunlap
-utmi.c:(.text+0x152): undefined reference to `of_usb_get_dr_mode_by_phy' Signed-off-by: Randy Dunlap Cc: Kostya Porotchkin Cc: Kishon Vijay Abraham I Cc: Vinod Koul Cc: linux-...@lists.infradead.org --- drivers/phy/marvell/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: linux-next: Tree for Mar 31 (drivers/phy/marvell/phy-mvebu-cp110-utmi.o)

2021-04-01 Thread Randy Dunlap
On 4/1/21 9:29 AM, Randy Dunlap wrote: > On 4/1/21 5:33 AM, Kostya Porotchkin wrote: >> Hi, Randy, >> >>> -Original Message- >>> From: Randy Dunlap >>> Sent: Wednesday, March 31, 2021 18:28 >>> To: Stephen Rothwell ; Linux Next Maili

Re: linux-next: Tree for Mar 31 (drivers/phy/marvell/phy-mvebu-cp110-utmi.o)

2021-04-01 Thread Randy Dunlap
On 4/1/21 5:33 AM, Kostya Porotchkin wrote: > Hi, Randy, > >> -Original Message----- >> From: Randy Dunlap >> Sent: Wednesday, March 31, 2021 18:28 >> To: Stephen Rothwell ; Linux Next Mailing List > n...@vger.kernel.org> >> Cc: Linux Kernel

Re: [RFC v2 01/43] mm: add PKRAM API stubs and Kconfig

2021-03-31 Thread Randy Dunlap
On 3/30/21 2:35 PM, Anthony Yznaga wrote: > Preserved-across-kexec memory or PKRAM is a method for saving memory > pages of the currently executing kernel and restoring them after kexec > boot into a new one. This can be utilized for preserving guest VM state, > large in-memory databases, process

Re: linux-next: Tree for Mar 31 (acpi build warning)

2021-03-31 Thread Randy Dunlap
ef defined(CONFIG_X86) && defined(CONFIG_HOTPLUG_CPU) s/ifdef/if/ -- ~Randy Reported-by: Randy Dunlap

Re: linux-next: Tree for Mar 31 (drivers/phy/marvell/phy-mvebu-cp110-utmi.o)

2021-03-31 Thread Randy Dunlap
org/linux-next-size.html . > > Status of my local build tests will be at > http://kisskb.ellerman.id.au/linux-next . If maintainers want to give > advice about cross compilers/configs that work, we are always open to add > more builds. > > Thanks to Randy Dunlap for doing m

crypto: FIPS 200 mode

2021-03-30 Thread Randy Dunlap
The Kconfig help text for CRYPTO_FIPS says config CRYPTO_FIPS bool "FIPS 200 compliance" ... help This option enables the fips boot option which is required if you want the system to operate in a FIPS 200 certification. You should say no unless you

Re: [PATCH] x86/platform/intel/quark: fix incorrect kernel-doc comment syntax in files

2021-03-30 Thread Randy Dunlap
too. > > Provide a simple fix by replacing these occurrences with general comment > format, i.e. '/*', to prevent kernel-doc from parsing it. > > Signed-off-by: Aditya Srivastava Acked-by: Randy Dunlap > --- > * Applies perfectly on next-20210326 > > arch/x86/platf

Re: [PATCH] x86/sgx: fix incorrect kernel-doc comment syntax in files

2021-03-30 Thread Randy Dunlap
i.e. '/*', to prevent kernel-doc from parsing it. > > Signed-off-by: Aditya Srivastava Acked-by: Randy Dunlap > --- > * Applies perfectly on next-20210326 > > arch/x86/kernel/cpu/sgx/arch.h | 2 +- > arch/x86/kernel/cpu/sgx/encl.h | 2 +- > 2 files changed, 2 insertions(

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

2021-03-30 Thread Randy Dunlap
zations." > > Provide a simple fix by replacing this occurrence with general comment > format, i.e. '/*', to prevent kernel-doc from parsing it. > > Signed-off-by: Aditya Srivastava Acked-by: Randy Dunlap > --- > * Applies perfectly on next-20210326 > > arch/ar

  1   2   3   4   5   6   7   8   9   10   >