Re: linux-next: Tree for Apr 14 (UML [2])

2025-04-15 Thread Randy Dunlap
On 4/14/25 12:15 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20250411: > on i386 defconfig: ../arch/um/kernel/um_arch.c:480:6: warning: no previous prototype for 'text_poke_sync' [-Wmissing-prototypes] 480 | void text_poke_sync(void) | ^~ on x86_64 de

Re: [PATCH 2/2] user_mode_linux_howto_v2: add VDE vector support in doc

2024-08-09 Thread Randy Dunlap
On 8/9/24 6:11 AM, Renzo Davoli wrote: > On Tue, Jul 30, 2024 at 07:18:04AM -0700, Randy Dunlap wrote: >> Missing a close/right paren ')' somewhere. >> I suppose that you meant the typo "automagically". > > thank you Randy. I have fixed the typos in

Re: [PATCH 2/2] user_mode_linux_howto_v2: add VDE vector support in doc

2024-07-30 Thread Randy Dunlap
On 7/30/24 6:55 AM, Renzo Davoli wrote: > Add a description of the VDE vector transport in user_mode_linux_howto_v2.rst. > > Signed-off-by: Renzo Davoli > --- > .../virt/uml/user_mode_linux_howto_v2.rst | 37 > ++ > 1 file changed, 37 insertions(+) > > diff --gi

Re: linux-next: Tree for Sep 19 (UML)

2023-09-19 Thread Randy Dunlap
On 9/18/23 23:37, Stephen Rothwell wrote: > Hi all, > > Changes since 20230918: > > New tree: kvm-ppc > > The mm tree gained a boot warning for which I reverted 5 commits. > > Non-merge commits (relative to Linus' tree): 5750 > 3717 files changed, 446028 insertions(+), 107378 deletions(-) >

[PATCH v5] um/drivers: fix hostaudio build errors

2023-08-01 Thread Randy Dunlap
nmet direct dependencies detected for SOUND Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Fixes: d886e87cb82b ("sound: make OSS sound core optional") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Closes: lore.kernel.org/r/202307141416.vxurvpfv-...@intel.com Cc:

[PATCH v4] um/drivers: fix hostaudio build errors

2023-07-31 Thread Randy Dunlap
;) Fixes: d886e87cb82b ("sound: make OSS sound core optional") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Closes: lore.kernel.org/r/202307141416.vxurvpfv-...@intel.com Cc: Richard Weinberger Cc: Anton Ivanov Cc: Johannes Berg Cc: linux-um@lists.infradead.org Cc: Tejun Heo

Re: linux-next: Tree for Jul 31 (font problems on UML)

2023-07-31 Thread Randy Dunlap
On 7/30/23 21:09, Stephen Rothwell wrote: > Hi all, > > Changes since 20230728: > I don't know if this is related to FONT changes or fbdev build changes. on ARCH=um, SUBARCH=i386: WARNING: unmet direct dependencies detected for FRAMEBUFFER_CONSOLE Depends on [n]: VT [=n] && FB_CORE [=y] &

Re: [PATCH v3] um/drivers: fix hostaudio build errors

2023-07-30 Thread Randy Dunlap
On 7/28/23 01:51, Masahiro Yamada wrote: > On Fri, Jul 28, 2023 at 1:30 PM Randy Dunlap wrote: >> >> Use "select"s to ensure that the required kconfig symbols are set >> as expected. >> Drop HOSTAUDIO since it is now equivalent to UML_SOUND. >> >

[PATCH v3] um/drivers: fix hostaudio build errors

2023-07-27 Thread Randy Dunlap
;) Fixes: d886e87cb82b ("sound: make OSS sound core optional") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Link: lore.kernel.org/r/202307141416.vxurvpfv-...@intel.com Cc: Richard Weinberger Cc: Anton Ivanov Cc: Johannes Berg Cc: linux-um@lists.infradead.org Cc: Tejun Heo

Re: linux-next: Tree for Jul 27 (fbdev/core/fbcon.o)

2023-07-26 Thread Randy Dunlap
On 7/26/23 22:56, Randy Dunlap wrote: > > > On 7/26/23 21:33, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20230726: >> > > on ARCH=um, SUBARCH=i386: > > many build errors for fbdev: > > x86_64-suse-linux/13/../../../../x8

Re: linux-next: Tree for Jul 27 (fbdev/core/fbcon.o)

2023-07-26 Thread Randy Dunlap
On 7/26/23 21:33, Stephen Rothwell wrote: > Hi all, > > Changes since 20230726: > on ARCH=um, SUBARCH=i386: many build errors for fbdev: x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: drivers/video/fbdev/core/fbcon.o: in function `store_rotate_all': UM32/../drivers/video/fbdev/c

Re: [PATCH v2] um/drivers: Kconfig: fix hostaudio build errors

2023-07-25 Thread Randy Dunlap
On 7/25/23 03:31, Takashi Iwai wrote: > On Sun, 23 Jul 2023 23:57:56 +0200, > Randy Dunlap wrote: >> >> Use "select"s to ensure that the required kconfig symbols are set >> as expected. >> >> This fixes build errors when CONFIG_SOUND is not set.

[PATCH v2] um/drivers: Kconfig: fix hostaudio build errors

2023-07-23 Thread Randy Dunlap
nit.text+0x31): undefined reference to `register_sound_mixer' ld: hostaudio_kern.c:(.init.text+0x49): undefined reference to `unregister_sound_dsp' Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Fixes: d886e87cb82b ("sound: make OSS sound core optional") Signed-off-by: Ra

[PATCH] um/drivers: Kconfig: fix hostaudio build errors

2023-07-22 Thread Randy Dunlap
nit.text+0x31): undefined reference to `register_sound_mixer' ld: hostaudio_kern.c:(.init.text+0x49): undefined reference to `unregister_sound_dsp' Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Fixes: d886e87cb82b ("sound: make OSS sound core optional") Signed-off-by: Ra

Re: [PATCH 01/79] fs: add ctime accessors infrastructure

2023-07-12 Thread Randy Dunlap
Hi Jeff, On arch/um/, (subarch i386 or x86_64), hostfs build fails with: ../fs/hostfs/hostfs_kern.c:520:36: error: incompatible type for arg ument 2 of 'inode_set_ctime_to_ts' ../include/linux/fs.h:1499:73: note: expected 'struct timespec64' b ut argument is of type 'const struct hostfs_timespec

Re: [PATCH v3] UML: pata_cs5536: fix build for X86_32 UML with TRACEPOINTS

2023-04-14 Thread Randy Dunlap
On 4/14/23 06:55, Johannes Berg wrote: > On Sun, 2023-04-09 at 18:13 -0700, Randy Dunlap wrote: >> Current build of pata_cs5536 for i386 UML fails with: >> >> ERROR: modpost: "__tracepoint_write_msr" [drivers/ata/pata_cs5536.ko] >> undefined! >> ER

[PATCH v3] UML: pata_cs5536: fix build for X86_32 UML with TRACEPOINTS

2023-04-09 Thread Randy Dunlap
ta_cs5536.ko] undefined! ERROR: modpost: "do_trace_read_msr" [drivers/ata/pata_cs5536.ko] undefined! Add the arch/x86/lib/msr.o binary to resolve these undefined symbols. Signed-off-by: Randy Dunlap Cc: Richard Weinberger Cc: Anton Ivanov Cc: Johannes Berg Cc: Damien Le Moal Cc

Re: [PATCH] IMA: allow/fix UML builds

2023-03-14 Thread Randy Dunlap
On 3/14/23 11:28, Mimi Zohar wrote: > On Thu, 2023-02-23 at 19:27 -0800, Randy Dunlap wrote: >> UML supports HAS_IOMEM since 0bbadafdc49d (um: allow disabling >> NO_IOMEM). >> >> Current IMA build on UML fails on allmodconfig (with TCG_TPM=m): >> >> ld:

Re: [PATCH] IMA: allow/fix UML builds

2023-03-12 Thread Randy Dunlap
ping? On 2/23/23 19:27, Randy Dunlap wrote: > UML supports HAS_IOMEM since 0bbadafdc49d (um: allow disabling > NO_IOMEM). > > Current IMA build on UML fails on allmodconfig (with TCG_TPM=m): > > ld: security/integrity/ima/ima_queue.o: in function `ima_add_template_entry'

[PATCH v2] UML: pata_cs5536: fix build for X86_32 UML with TRACEPOINTS

2023-03-12 Thread Randy Dunlap
ta_cs5536.ko] undefined! ERROR: modpost: "do_trace_read_msr" [drivers/ata/pata_cs5536.ko] undefined! Add the arch/x86/lib/msr.o binary to resolve these undefined symbols. Signed-off-by: Randy Dunlap Cc: Richard Weinberger Cc: Anton Ivanov Cc: Johannes Berg Cc: Damien Le Moal Cc

[PATCH] ata: pata_cs5536: don't build on UML

2023-03-11 Thread Randy Dunlap
undefined! ERROR: modpost: "do_trace_write_msr" [drivers/ata/pata_cs5536.ko] undefined! ERROR: modpost: "__tracepoint_read_msr" [drivers/ata/pata_cs5536.ko] undefined! ERROR: modpost: "do_trace_read_msr" [drivers/ata/pata_cs5536.ko] undefined! Signed-off-by: Randy Dunla

[PATCH] IMA: allow/fix UML builds

2023-02-23 Thread Randy Dunlap
fix Kconfig dependencies") Signed-off-by: Randy Dunlap Cc: Mimi Zohar Cc: Dmitry Kasatkin Cc: linux-integr...@vger.kernel.org Cc: Fabio Estevam Cc: Rajiv Andrade Cc: Richard Weinberger Cc: Anton Ivanov Cc: Johannes Berg Cc: linux-um@lists.infradead.org --- security/integrity/ima/Kconfig

Re: [PATCH] um: add __weak for exported functions

2023-02-12 Thread Randy Dunlap
On 2/12/23 11:32, Johannes Berg wrote: > From: Johannes Berg > > If the exported glibc functions don't exist, we get link > failures. Avoid that by adding __weak so they're allowed > to not exist. > > Reported-by: Randy Dunlap > Signed-off-by: Johannes Be

Re: [PATCH v2] infiniband: disable IB HW for UML

2022-12-04 Thread Randy Dunlap
On 12/4/22 05:21, Leon Romanovsky wrote: > On Fri, Dec 02, 2022 at 01:19:40PM -0800, Randy Dunlap wrote: >> Disable all of drivers/infiniband/hw/ for UML builds until someone >> needs it and provides patches to support it. >> >> This prevents build errors in hw/qib/q

[PATCH v2] infiniband: disable IB HW for UML

2022-12-02 Thread Randy Dunlap
Disable all of drivers/infiniband/hw/ for UML builds until someone needs it and provides patches to support it. This prevents build errors in hw/qib/qib_wc_x86_64.c. Fixes: 68f5d3f3b654 ("um: add PCI over virtio emulation driver") Signed-off-by: Randy Dunlap Suggested-by: Leon Roma

[PATCH] mfd: cs5535: don't build on UML

2022-11-30 Thread Randy Dunlap
10)); Fixes: 68f5d3f3b654 ("um: add PCI over virtio emulation driver") Signed-off-by: Randy Dunlap Cc: Johannes Berg Cc: Richard Weinberger Cc: linux-um@lists.infradead.org Cc: Andres Salomon Cc: linux-ge...@lists.infradead.org Cc: Lee Jones --- drivers/mfd/Kconfig |1 + 1 file c

[PATCH 2/2] fbdev: uvesafb: don't build on UML

2022-11-30 Thread Randy Dunlap
68f5d3f3b654 ("um: add PCI over virtio emulation driver") Signed-off-by: Randy Dunlap Cc: Johannes Berg Cc: Richard Weinberger Cc: linux-um@lists.infradead.org Cc: Daniel Vetter Cc: Helge Deller Cc: linux-fb...@vger.kernel.org Cc: dri-de...@lists.freedesktop.org Cc: Michal Januszew

[PATCH 1/2] fbdev: geode: don't build on UML

2022-11-30 Thread Randy Dunlap
6’ (boot_cpu_data.x86 == 5) && ../arch/x86/include/asm/geode.h:25:17: error: ‘struct cpuinfo_um’ has no member named ‘x86_model’ (boot_cpu_data.x86_model == 10)); Fixes: 68f5d3f3b654 ("um: add PCI over virtio emulation driver") Signed-off-by: Randy Dunlap Cc: Johannes Berg Cc:

[PATCH 2/2] IB/rdmavt: don't use rdmavt for UML

2022-11-30 Thread Randy Dunlap
r: control reaches end of non-void function [-Werror=return-type] 89 | } Fixes: 68f5d3f3b654 ("um: add PCI over virtio emulation driver") Signed-off-by: Randy Dunlap Cc: Jason Gunthorpe Cc: Leon Romanovsky Cc: Dennis Dalessandro Cc: linux-r...@vger.kernel.org Cc: Jeff Dike Cc: Ri

[PATCH 1/2 v2] IB/qib: don't use qib_wc_x86_64 for UML

2022-11-30 Thread Randy Dunlap
.c:150:1: error: control reaches end of non-void function [-Werror=return-type] 150 | } Fixes: 68f5d3f3b654 ("um: add PCI over virtio emulation driver") Signed-off-by: Randy Dunlap Cc: Jason Gunthorpe Cc: Leon Romanovsky Cc: Dennis Dalessandro Cc: linux-r...@vger.kernel.org Cc: Jef

[PATCH] input/misc: wistron_btns: disable on UML

2022-11-30 Thread Randy Dunlap
ad' Fixes: 0bbadafdc49d ("um: allow disabling NO_IOMEM") # v5.14+ Signed-off-by: Randy Dunlap Cc: Johannes Berg Cc: Richard Weinberger Cc: Dmitry Torokhov Cc: Miloslav Trmac Cc: linux-in...@vger.kernel.org Cc: linux-um@lists.infradead.org --- drivers/input/misc/Kconfig |2 +- 1 file c

Re: Build regressions/improvements in v6.1-rc6

2022-11-22 Thread Randy Dunlap
On 11/22/22 07:00, Johannes Berg wrote: > On Tue, 2022-11-22 at 08:55 -0500, Alex Deucher wrote: >>> >>>+ /kisskb/src/arch/um/include/asm/processor-generic.h: error: called >>> object is not a function or function pointer: => 94:18 >>>+ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/

Re: linux-next: Tree for Sep 27 (uml 64-bit or 32-bit: tinyconfig)

2022-09-27 Thread Randy Dunlap
Hi Paul, On 9/27/22 15:42, Paul E. McKenney wrote: > On Tue, Sep 27, 2022 at 02:33:19PM -0700, Randy Dunlap wrote: >> >> >> On 9/27/22 14:28, Paul E. McKenney wrote: >>> On Tue, Sep 27, 2022 at 02:13:29PM -0700, Randy Dunlap wrote: >>>> >>&g

Re: linux-next: Tree for Sep 27 (uml 64-bit or 32-bit: tinyconfig)

2022-09-27 Thread Randy Dunlap
On 9/27/22 14:28, Paul E. McKenney wrote: > On Tue, Sep 27, 2022 at 02:13:29PM -0700, Randy Dunlap wrote: >> >> >> On 9/27/22 13:10, broo...@kernel.org wrote: >>> Hi all, >>> >>> Changes since 20220923: >>> >> >> In file i

Re: linux-next: Tree for Sep 27 (uml 64-bit or 32-bit: tinyconfig)

2022-09-27 Thread Randy Dunlap
On 9/27/22 13:10, broo...@kernel.org wrote: > Hi all, > > Changes since 20220923: > In file included from ../include/linux/notifier.h:16, from ../include/linux/memory_hotplug.h:7, from ../include/linux/mmzone.h:1244, from ../include/linux/gfp.

Re: [PATCH 2/2] um: Cleanup compiler warning in arch/x86/um/tls_32.c

2022-08-26 Thread Randy Dunlap
^ > ../arch/x86/um/asm/processor_32.h:22:31: note: 'tls_array' declared here >22 | struct uml_tls_struct tls_array[GDT_ENTRY_TLS_ENTRIES]; > | ^ > > Signed-off-by: Lukas Straub Acked-by: Randy Dunlap # build-tested Thanks. > --- > arch/x86/um/tls_32.c | 6 --

Re: [PATCH 1/2] um: Cleanup syscall_handler_t cast in syscalls_32.h

2022-08-26 Thread Randy Dunlap
On 8/26/22 08:29, Lukas Straub wrote: > Like in f4f03f299a56ce4d73c5431e0327b3b6cb55ebb9 > "um: Cleanup syscall_handler_t definition/cast, fix warning", > remove the cast to to fix the compiler warning. > > Signed-off-by: Lukas Straub Acked-by: Randy Dunla

Re: [PATCH] arch: um: Mark the stack non-executable to fix a binutils warning

2022-08-26 Thread Randy Dunlap
6 patch does.) > > Link: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ffcf9c5700e49c0aee42dcba9a12ba21338e8136 > Link: > https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107 > Signed-off-by: David Gow Acked-by: Rand

Re: linux-next: Tree for Jul 13 (UML, apply_returns)

2022-07-13 Thread Randy Dunlap
On 7/13/22 05:33, Stephen Rothwell wrote: > Hi all, > > Changes since 20220712: > UML for x86_64 defconfig: /usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: arch/x86/um/../kernel/module.o: in function `module_finalize': module.c:(.text+0x416): undefined reference to

Re: linux-next: Tree for Jul 11 (uml)

2022-07-11 Thread Randy Dunlap
On 7/11/22 04:12, Stephen Rothwell wrote: > Hi all, > > Changes since 20220708: > Since last week, building uml for i386 has had build warnings on allnoconfig, defconfig, and tinyconfig: In file included from ../arch/um/include/asm/processor-generic.h:13, from ../arch/x86/u

Re: [PATCH 24/30] panic: Refactor the panic path

2022-04-27 Thread Randy Dunlap
On 4/27/22 15:49, Guilherme G. Piccoli wrote: > + crash_kexec_post_notifiers > + This was DEPRECATED - users should always prefer the This is DEPRECATED - users should always prefer the > + parameter "panic_notifiers_level" -

Re: [PATCH] um: use asm-generic/dma-mapping.h

2022-03-28 Thread Randy Dunlap
27;d even work with this, but chances are nobody will be > wanting to do that anyway, so fixing the build failure is > good enough. > > Reported-by: Randy Dunlap > Fixes: 68f5d3f3b654 ("um: add PCI over virtio emulation driver") > Signed-off-by: Johannes Berg Test

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

2022-03-17 Thread Randy Dunlap
Andrew- On 3/17/22 17:10, Randy Dunlap wrote: > > > On 3/17/22 16:51, Andrew Morton wrote: >> On Wed, 16 Mar 2022 21:52:44 -0700 Randy Dunlap >> wrote: >> >>>>> In file included from ./arch/x86/include/generated/asm/rwonce.h:1:0, >>>>&

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

2022-03-17 Thread Randy Dunlap
On 3/17/22 16:51, Andrew Morton wrote: > On Wed, 16 Mar 2022 21:52:44 -0700 Randy Dunlap wrote: > >>>> In file included from ./arch/x86/include/generated/asm/rwonce.h:1:0, >>>> from ../include/linux/compiler.h:248, >>>>

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

2022-03-16 Thread Randy Dunlap
On 3/16/22 21:30, Andrew Morton wrote: > On Wed, 16 Mar 2022 21:21:16 -0700 Randy Dunlap wrote: > >> >> >> On 3/16/22 17:43, Andrew Morton wrote: >>> The mm-of-the-moment snapshot 2022-03-16-17-42 has been uploaded to >>> >>>https://www.oz

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

2022-03-16 Thread Randy Dunlap
On 3/16/22 21:21, Randy Dunlap wrote: > > > On 3/16/22 17:43, Andrew Morton wrote: >> The mm-of-the-moment snapshot 2022-03-16-17-42 has been uploaded to >> >>https://www.ozlabs.org/~akpm/mmotm/ >> >> mmotm-readme.txt says >> >> README

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

2022-03-16 Thread Randy Dunlap
On 3/16/22 17:43, Andrew Morton wrote: > The mm-of-the-moment snapshot 2022-03-16-17-42 has been uploaded to > >https://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > https://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my -mm patch qu

Re: [PATCH 0/4] um: Assorted console related fixes

2022-03-09 Thread Randy Dunlap
On 3/9/22 08:21, Richard Weinberger wrote: > Randy, > > - Ursprüngliche Mail - >> Von: "Randy Dunlap" >> Uh, where are the patches? >> >>> http://lists.infradead.org/mailman/listinfo/linux-um >> >> not in that archive ^^

Re: [PATCH 0/4] um: Assorted console related fixes

2022-03-09 Thread Randy Dunlap
On 3/9/22 00:35, Richard Weinberger wrote: > - Ursprüngliche Mail - >>> This series fixes the console exit code to make sure UML >>> undoes everything it changed on the host side. >> >> I gave this a run hoping it would fix the issues I'm seeing with the console >> getting messed up when