Re: Add linux-um archives to lore.kernel.org?

2022-10-13 Thread Geert Uytterhoeven
iscussion on my own patches) - I > > relied > > on the mailing list archive. > > > >> The tooling makes that pretty simple, actually. > >> > >> I think lists.infradead.org mostly got lost though, right dwmw2? So that > >> way I don't think we'

Re: Add linux-um archives to lore.kernel.org?

2022-10-13 Thread Geert Uytterhoeven
radead. The first step is https://korg.docs.kernel.org/lore.html#requesting-archival-of-an-existing-list It doesn't make much sense to start collecting archives if the lore collector hasn't been activated yet. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There

Re: Add linux-um archives to lore.kernel.org?

2022-10-13 Thread Geert Uytterhoeven
Hi Konstantin, On Thu, Oct 13, 2022 at 8:29 PM Konstantin Ryabitsev wrote: > On Thu, Oct 13, 2022 at 02:57:18PM +0200, Geert Uytterhoeven wrote: > > The first step is > > https://korg.docs.kernel.org/lore.html#requesting-archival-of-an-existing-list > > > > It doesn

Re: Add linux-um archives to lore.kernel.org?

2022-10-14 Thread Geert Uytterhoeven
On Thu, Oct 13, 2022 at 8:48 PM Geert Uytterhoeven wrote: > On Thu, Oct 13, 2022 at 8:29 PM Konstantin Ryabitsev > wrote: > > On Thu, Oct 13, 2022 at 02:57:18PM +0200, Geert Uytterhoeven wrote: > > > The first step is > > > https://korg.docs.kernel.org/lore.

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

2022-10-17 Thread Geert Uytterhoeven
On Mon, 17 Oct 2022, Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v6.1-rc1[1] compared to v6.0[2]. Summarized: - build errors: +25/-13 [1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/9abf2313adc1ca1b6180c508c25f22f9395cc780/ (all

Re: [PATCH] mm: remove kern_addr_valid() completely

2022-10-18 Thread Geert Uytterhoeven
, so no need kern_addr_valid(), > let's remove unneeded kern_addr_valid() completely. > > Signed-off-by: Kefeng Wang > arch/m68k/include/asm/pgtable_mm.h| 2 - > arch/m68k/include/asm/pgtable_no.h| 1 - Acked-by: Geert Uytterhoeven [m68k] Gr{oetje,eeting}s

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

2022-10-18 Thread Geert Uytterhoeven
Hi Maciej, On Tue, Oct 18, 2022 at 12:39 PM Maciej W. Rozycki wrote: > On Mon, 17 Oct 2022, Geert Uytterhoeven wrote: > > .> [1] > > http://kisskb.ellerman.id.au/kisskb/branch/linus/head/9abf2313adc1ca1b6180c508c25f22f9395cc780/ > > (all 149 configs) > > >

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

2022-11-01 Thread Geert Uytterhoeven
On Tue, 1 Nov 2022, Geert Uytterhoeven wrote: JFYI, when comparing v6.1-rc3[1] to v6.1-rc2[3], the summaries are: - build errors: +4/-0 + /kisskb/src/arch/sh/include/asm/io.h: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]: => 239:34 sh4-gcc11

Re: Add linux-um archives to lore.kernel.org?

2022-11-17 Thread Geert Uytterhoeven
Hi Konstantin, On Fri, Oct 14, 2022 at 8:06 PM Geert Uytterhoeven wrote: > On Thu, Oct 13, 2022 at 8:48 PM Geert Uytterhoeven > wrote: > > On Thu, Oct 13, 2022 at 8:29 PM Konstantin Ryabitsev > > wrote: > > > On Thu, Oct 13, 2022 at 02:57:18PM +0200, Geert Uytt

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

2022-11-22 Thread Geert Uytterhoeven
On Tue, 22 Nov 2022, Geert Uytterhoeven wrote: JFYI, when comparing v6.1-rc6[1] to v6.1-rc5[3], the summaries are: - build errors: +6/-0 + /kisskb/src/arch/sh/include/asm/io.h: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]: => 239:34 sh4-gcc11

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

2022-11-28 Thread Geert Uytterhoeven
On Mon, 28 Nov 2022, Geert Uytterhoeven wrote: JFYI, when comparing v6.1-rc7[1] to v6.1-rc6[3], the summaries are: - build errors: +6/-0 + /kisskb/src/arch/um/include/asm/processor-generic.h: error: called object is not a function or function pointer: 94:18 => 94:19, 94:18 um-x86_64-gc

Re: Build regressions/improvements in v6.1

2022-12-12 Thread Geert Uytterhoeven
On Mon, 12 Dec 2022, Geert Uytterhoeven wrote: JFYI, when comparing v6.1[1] to v6.1-rc8[3], the summaries are: - build errors: +3/-1 + /kisskb/src/drivers/infiniband/sw/rdmavt/qp.c: error: 'struct cpuinfo_um' has no member named 'x86_cache_size': => 88:22

Re: [PATCH] um: vector: Fix memory leak in vector_config

2023-01-03 Thread Geert Uytterhoeven
onfig failed to parse parameters"; > return -EINVAL; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talkin

Re: [PATCH] um: vector: Fix memory leak in vector_config

2023-01-03 Thread Geert Uytterhoeven
Hi Miaoqian, On Tue, Jan 3, 2023 at 1:17 PM Miaoqian Lin wrote: > On 2023/1/3 18:28, Anton Ivanov wrote: > > On 03/01/2023 08:00, Geert Uytterhoeven wrote: > >> On Thu, Dec 29, 2022 at 8:53 AM Miaoqian Lin wrote: > >>> kstrdup() return newly allocated copy of the

Re: [PATCH v2] um: vector: Fix memory leak in vector_config

2023-01-04 Thread Geert Uytterhoeven
gned-off-by: Miaoqian Lin > --- > changes in v2: > - only call kfree() when uml_parse_vector_ifspec() fails. Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conv

Re: [PATCH 1/3] m68k: use asm-generic/memory_model.h for both MMU and !MMU

2023-01-26 Thread Geert Uytterhoeven
y_model.h in the common include/asm/page.h and > drop redundant definitions. > > Signed-off-by: Mike Rapoport (IBM) Reviewed-by: Geert Uytterhoeven Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux bey

Re: [PATCH V1] um: Fix compilation warnings

2023-02-15 Thread Geert Uytterhoeven
ning? Does this limit actually apply to this file, which calls into the host OS? How come you even see this warning, as we have CFLAGS_signal.o += -Wframe-larger-than=4096 since commit 517f60206ee5d5f7 ("um: Increase stack frame size threshold for signal.c") in v5.11? Gr{oetje,eeti

Re: [PATCH v2 0/2] GDB: Support getting current task struct in UML

2023-02-17 Thread Geert Uytterhoeven
e9a6972a017bdf.1676532759.git.developm...@efficientek.com > Thanks, but.. > > - Can't do reply-to-all if I have comments > - Can't collect people's followup acks and review comments > - No Link tag Gr{oetje,eeting}s, Geert -- Geert Uytte

Re: [PATCH mm-unstable v1 11/26] microblaze/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE

2023-02-26 Thread Geert Uytterhoeven
extern pte_t *va_to_pte(unsigned long address); > #define _PAGE_ACCESSED 0x400 /* software: R: page referenced */ > #define _PMD_PRESENT PAGE_MASK > > +/* We borrow bit 24 to store the exclusive marker in swap PTEs. */ > +#define _PAGE_SWP_EXCLUSIVE_PAGE_DIRTY _PAGE_DIRTY is 0x8

Re: [PATCH mm-unstable v1 11/26] microblaze/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE

2023-02-27 Thread Geert Uytterhoeven
Hi David, On Mon, Feb 27, 2023 at 2:31 PM David Hildenbrand wrote: > On 26.02.23 21:13, Geert Uytterhoeven wrote: > > On Fri, Jan 13, 2023 at 6:16 PM David Hildenbrand wrote: > >> Let's support __HAVE_ARCH_PTE_SWP_EXCLUSIVE by stealing one bit > >> from the type

Re: [PATCH mm-unstable v1 11/26] microblaze/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE

2023-02-27 Thread Geert Uytterhoeven
s... > I recall that I used the comment above "/* Definitions for MicroBlaze. > */" as an orientation. > > 0 1 2 3 4 ... 18 19 20 21 22 23 24 25 26 27 28 29 30 31 > RPN. 0 0 EX WR ZSEL... W I M G Indeed, that's where I noticed the

Re: [PATCH 0/8] clk: Add kunit tests for fixed rate and parent data

2023-03-02 Thread Geert Uytterhoeven
ally when applying an overlay. > Is there some way to delete the platform devices that we populate from > the overlay? I'd like the tests to be hermetic. Removing the overlay will delete the platform devices. All of that works if you have your own code to apply a DT overlay. The

Re: [PATCH 1/8] dt-bindings: Add linux,kunit binding

2023-03-02 Thread Geert Uytterhoeven
is independent of the architecture or virtualization method. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just

Re: [PATCH 0/8] clk: Add kunit tests for fixed rate and parent data

2023-03-05 Thread Geert Uytterhoeven
Hi Frank, On Sun, Mar 5, 2023 at 4:33 AM Frank Rowand wrote: > On 3/2/23 13:47, Geert Uytterhoeven wrote: > > On Thu, Mar 2, 2023 at 8:28 PM Stephen Boyd wrote: > >> Quoting Rob Herring (2023-03-02 09:32:09) > >>> On Thu, Mar 2, 2023 at 2:14 AM David Gow wrote: &

Re: Build regressions/improvements in v6.3-rc1

2023-03-06 Thread Geert Uytterhoeven
On Mon, 6 Mar 2023, Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v6.3-rc1[1] compared to v6.2[2]. Summarized: - build errors: +9/-14 - build warnings: +4/-1447 Happy fixing! ;-) Thanks to the linux-next team for providing the build service

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

2023-03-12 Thread Geert Uytterhoeven
depends on !UML > help > This option enables support for the AMD CS5536 > companion chip used with the Geode LX processor family. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m

Re: [PATCH v3 01/38] Kconfig: introduce HAS_IOPORT option and select it as necessary

2023-03-14 Thread Geert Uytterhoeven
OPORT specific sections will be added in subsequent patches on > a per subsystem basis. > > Co-developed-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle > arch/m68k/Kconfig | 1 + Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Gee

[no subject]

2023-04-10 Thread Geert Uytterhoeven
On Mon, 10 Apr 2023, Geert Uytterhoeven wrote: JFYI, when comparing v6.3-rc6[1] to v6.3-rc5[3], the summaries are: - build errors: +2/-0 + /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c: error: 'struct cpuinfo_um' has no member named 'apicid': 2157:48

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

2023-04-16 Thread Geert Uytterhoeven
with MSRs, and > > then this patch makes some sense? > > I think it is is integrated into actual Geode SOCs. That being > said something like the patch below seems as simple as it gets and > at least gives build coverage on uml CS5536 is the Geode Companion Device, i.e. the South

Re: Build regressions/improvements in v6.3-rc7

2023-04-17 Thread Geert Uytterhoeven
On Mon, 17 Apr 2023, Geert Uytterhoeven wrote: JFYI, when comparing v6.3-rc7[1] to v6.3-rc6[3], the summaries are: - build errors: +1/-2 + /kisskb/src/drivers/spi/spi-stm32-qspi.c: error: 'op' is used uninitialized [-Werror=uninitialized]: => 564:27, 523:27 um-x86_64-gcc12/u

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

2023-04-19 Thread Geert Uytterhoeven
(resend with the right subject) On Mon, 10 Apr 2023, Geert Uytterhoeven wrote: On Mon, 10 Apr 2023, Geert Uytterhoeven wrote: JFYI, when comparing v6.3-rc6[1] to v6.3-rc5[3], the summaries are: - build errors: +2/-0 + /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c: error

Re: Build regressions/improvements in v6.4-rc1

2023-05-08 Thread Geert Uytterhoeven
On Mon, 8 May 2023, Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v6.4-rc1[1] compared to v6.3[2]. Summarized: - build errors: +9/-16 - build warnings: +1/-1439 Happy fixing! ;-) Thanks to the linux-next team for providing the build service

Re: Build regressions/improvements in v6.4-rc1

2023-05-08 Thread Geert Uytterhoeven
Hi Pratyush, On Mon, May 8, 2023 at 5:19 PM Pratyush Yadav wrote: > On Mon, May 08 2023, Geert Uytterhoeven wrote: > > On Mon, 8 May 2023, Geert Uytterhoeven wrote: > >> Below is the list of build error/warning regressions/improvements in > >> v6.

Re: [PATCH 4.19 007/191] IMA: allow/fix UML builds

2023-05-16 Thread Geert Uytterhoeven
MAC > select CRYPTO_SHA1 > select CRYPTO_HASH_INFO > - select TCG_TPM if HAS_IOMEM && !UML > + select TCG_TPM if HAS_IOMEM > select TCG_TIS if TCG_TPM && X86 > select TCG_CRB if TCG_TPM && ACPI > se

Re: [PATCH] mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED

2023-05-23 Thread Geert Uytterhoeven
defconfig | 1 - > arch/m68k/configs/q40_defconfig | 1 - > arch/m68k/configs/sun3_defconfig| 1 - > arch/m68k/configs/sun3x_defconfig | 1 - Regardless, Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert U

Re: [PATCH] uml: Replace all non-returning strlcpy with strscpy

2023-05-31 Thread Geert Uytterhoeven
gt; cc1: some warnings being treated as errors > > > > Ah, yeah, this is another "not actually in the kernel" cases. Let's ignore > > this > > strlcpy for now. > > Well, actually it's another case of "not even compile tested". :-

Re: [PATCH v3 30/34] sh: Convert pte_free_tlb() to use ptdescs

2023-06-01 Thread Geert Uytterhoeven
On Wed, May 31, 2023 at 11:33 PM Vishal Moola (Oracle) wrote: > Part of the conversions to replace pgtable constructor/destructors with > ptdesc equivalents. Also cleans up some spacing issues. > > Signed-off-by: Vishal Moola (Oracle) LGTM, so Reviewed-by: Geert Uytterhoeven Gr{oe

Re: [PATCH v3 25/34] m68k: Convert various functions to use ptdescs

2023-06-01 Thread Geert Uytterhoeven
pgd; > + struct ptdesc *ptdesc = pagetable_alloc(GFP_DMA | GFP_NOWARN, 0); > > - new_pgd = (pgd_t *)__get_free_page(GFP_DMA | __GFP_NOWARN); > - if (!new_pgd) > + if (!ptdesc) > return NULL; > + new_pgd = (pgd_t *) ptdesc_addr

Re: [PATCH v3 30/34] sh: Convert pte_free_tlb() to use ptdescs

2023-06-01 Thread Geert Uytterhoeven
Hi Adrian, On Thu, Jun 1, 2023 at 9:28 AM John Paul Adrian Glaubitz wrote: > On Thu, 2023-06-01 at 09:20 +0200, Geert Uytterhoeven wrote: > > On Wed, May 31, 2023 at 11:33 PM Vishal Moola (Oracle) > > wrote: > > > Part of the conversions to replace pgtable cons

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

2023-06-12 Thread Geert Uytterhoeven
On Mon, 12 Jun 2023, Geert Uytterhoeven wrote: JFYI, when comparing v6.4-rc6[1] to v6.4-rc5[3], the summaries are: - build errors: +5/-6 + /kisskb/src/drivers/spi/spi-stm32-qspi.c: error: ‘op’ is used uninitialized [-Werror=uninitialized]: => 523:27, 564:27 um-all{mod,yes}config S

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

2023-06-12 Thread Geert Uytterhoeven
Hi Tudor, On Mon, Jun 12, 2023 at 11:48 AM Tudor Ambarus wrote: > On 6/12/23 10:28, Geert Uytterhoeven wrote: > >> JFYI, when comparing v6.4-rc6[1] to v6.4-rc5[3], the summaries are: > >> - build errors: +5/-6 > > > > + /kisskb/src/drivers/spi/spi-

Re: [PATCH v9 01/42] mm: Rename arch pte_mkwrite()'s to pte_mkwrite_novma()

2023-06-13 Thread Geert Uytterhoeven
; Cc: linux-a...@vger.kernel.org > Cc: linux...@kvack.org > Suggested-by: Linus Torvalds > Signed-off-by: Rick Edgecombe > Link: > https://lore.kernel.org/lkml/CAHk-=wizjsu7c9sfyzb3q04108stghff2wfbokgccgw7riz...@mail.gmail.com/ > arch/m68k/include/asm/mcf_pgtable.

Re: [PATCH v4 25/34] m68k: Convert various functions to use ptdescs

2023-06-13 Thread Geert Uytterhoeven
t > these to use pagetable_alloc() and ptdesc_address() instead to help > standardize page tables further. > > Signed-off-by: Vishal Moola (Oracle) Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Lin

Re: [patch 06/17] m68k/cpu: Switch to arch_cpu_finalize_init()

2023-06-14 Thread Geert Uytterhoeven
On Wed, Jun 14, 2023 at 1:39 AM Thomas Gleixner wrote: > check_bugs() is about to be phased out. Switch over to the new > arch_cpu_finalize_init() implementation. > > No functional change. > > Signed-off-by: Thomas Gleixner Acked-by: Geert Uytterhoeven

Re: [PATCH v4 27/34] nios2: Convert __pte_free_tlb() to use ptdescs

2023-06-14 Thread Geert Uytterhoeven
desc(pte))); \ > > } while (0) > > > > #endif /* _ASM_NIOS2_PGALLOC_H */ > > Applied! I don't think you can just apply this patch, as the new functions were only introduced in [PATCH v4 05/34] of this series. Gr{oetje,eeting}s, Geert

Re: [PATCH v5 24/33] m68k: Convert various functions to use ptdescs

2023-06-25 Thread Geert Uytterhoeven
> memcpy(new_pgd, swapper_pg_dir, PTRS_PER_PGD * sizeof(pgd_t)); > memset(new_pgd, 0, PAGE_OFFSET >> PGDIR_SHIFT); > return new_pgd; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li

Re: [PATCH] um,ethertap: refactor deprecated strncpy

2023-09-12 Thread Geert Uytterhoeven
rgs = nosetup_args; > > --- > base-commit: 2dde18cd1d8fac735875f2e4987f11817cc0bc2c > change-id: > 20230911-strncpy-arch-um-os-linux-drivers-ethertap_user-c-859160d13f59 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia3

Re: [PATCH RESEND] um: Remove CONFIG_REISERFS_FS from defconfig

2023-09-18 Thread Geert Uytterhoeven
m is available when needed. Please let me know why this should be changed, as long as ReiserFS is still available in the upstream kernel. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal c

Re: Arches that don't support PREEMPT

2023-09-19 Thread Geert Uytterhoeven
ntainers so they can remove this and fix whatever > breaks. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hack

Re: [PATCH 0/7] arch/*: config: Remove ReiserFS from defconfig

2023-09-19 Thread Geert Uytterhoeven
ons. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say &q

Re: [PATCH 0/7] arch/*: config: Remove ReiserFS from defconfig

2023-09-20 Thread Geert Uytterhoeven
Hi Peter, On Tue, Sep 19, 2023 at 6:16 PM Peter Lafreniere wrote: > On Tue, Sep 19, 2023 at 12:02, Geert Uytterhoeven > wrote: > > On Tue, Sep 19, 2023 at 5:58 PM Peter Lafreniere pe...@n8pjl.ca wrote: > > > 2) Stops building an obsolete and largely-unused filesystem unne

Re: Arches that don't support PREEMPT

2023-10-06 Thread Geert Uytterhoeven
ooks like your scare tactics are working ;-) [PATCH/RFC] m68k: Add full preempt support https://lore.kernel.org/all/7858a184cda66e0991fd295c711dfed7e4d1248c.1696603287.git.ge...@linux-m68k.org Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux bey

Re: [PATCH 1/6] arm64: Unconditionally call unflatten_device_tree()

2024-01-16 Thread Geert Uytterhoeven
roblems. In addition, we don't want people being > "clever" and describing disparate portions of their system in ACPI and DT. We'd get to the latter anyway, when plugging in a USB device where the circuitry on/behind the USB device is described in DT. Gr{oetje,eeting}s,

Re: [PATCH 4/6] of: Create of_root if no dtb provided by firmware

2024-01-18 Thread Geert Uytterhoeven
limited. > > We could probably restrict the root node to new nodes only and no new > or changed properties. Changing (or appending to) the root "compatible" and/or "model" properties is useful in case of large extension boards, though. This is also the case

Re: [PATCH 1/6] arm64: Unconditionally call unflatten_device_tree()

2024-01-18 Thread Geert Uytterhoeven
Hi Mark, On Thu, Jan 18, 2024 at 4:23 PM Mark Rutland wrote: > On Tue, Jan 16, 2024 at 03:13:42PM +0100, Geert Uytterhoeven wrote: > > On Tue, Jan 16, 2024 at 12:51 PM Mark Rutland wrote: > > > On Fri, Jan 12, 2024 at 12:07:44PM -0800, Stephen Boyd wrote: > >

Re: [PATCH 1/6] arm64: Unconditionally call unflatten_device_tree()

2024-01-18 Thread Geert Uytterhoeven
s is all so that we can run DT tests for the clk > framework; why can't that just depend on the system being booted with DT > rather > than ACPI? We have other tests which are architecture and/or configuration > dependent... There is definitely a merit in running (platform-independ

Re: [PATCH v2 2/4] string: Allow 2-argument strscpy()

2024-02-05 Thread Geert Uytterhoeven
be > + * zero padded. If padding is desired please use strscpy_pad(). > + * > + * Returns the number of characters copied in @dst (not including the > + * trailing %NUL) or -E2BIG if @size is 0 or the copy from @src was > + * truncated. > + */ > +#define strscpy(dst, src, .

Re: [PATCH v2 3/4] string: Allow 2-argument strscpy_pad()

2024-02-05 Thread Geert Uytterhoeven
__wrote;\ > -}) > +#define strscpy_pad(dst, src, ...) \ > + CONCATENATE(__strscpy_pad, COUNT_ARGS(__VA_ARGS__))(dst, src, > __VA_ARGS__) Likewise, Gr{oetje,eeting}s, Geert -- Geert Uytterh

Re: [PATCH v2 4/4] um: Convert strscpy() usage to 2-argument style

2024-02-05 Thread Geert Uytterhoeven
t, src, sizeof(dst)) (dst), (src) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talkin

Re: [PATCH v2 2/4] string: Allow 2-argument strscpy()

2024-02-05 Thread Geert Uytterhoeven
Hi Kees, On Mon, Feb 5, 2024 at 2:01 PM Kees Cook wrote: > On Mon, Feb 05, 2024 at 01:47:08PM +0100, Geert Uytterhoeven wrote: > > > +/* > > > + * The 2 argument style can only be used when dst is an array with a > > > + * known size. > > >

Re: [PATCH v3 7/7] of: Add KUnit test to confirm DTB is loaded

2024-02-05 Thread Geert Uytterhoeven
k fails because it doesn't call the > unflatten_(and_copy)?_device_tree() function, so we don't populate a > root node on that architecture. One solution would be to make CONFIG_OF > unavailable on m68k. Or we have to make sure DT works on any > architecture. Rob, what do you p

Re: [PATCH 1/4] arch: consolidate existing CONFIG_PAGE_SIZE_*KB definitions

2024-02-27 Thread Geert Uytterhoeven
ficial binary prefixes => "4 KiB". > + depends on HAVE_PAGE_SIZE_4KB Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call mysel

Re: [PATCH 3/4] arch: define CONFIG_PAGE_SIZE_*KB on all architectures

2024-02-27 Thread Geert Uytterhoeven
ut MMU? > select LEGACY_TIMER_TICK > help > The Freescale (was Motorola) 68000 CPU is the first generation of Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li

Re: [PATCH 3/4] arch: define CONFIG_PAGE_SIZE_*KB on all architectures

2024-02-27 Thread Geert Uytterhoeven
Hi Arnd, CC Greg On Tue, Feb 27, 2024 at 11:59 AM Arnd Bergmann wrote: > On Tue, Feb 27, 2024, at 09:54, Geert Uytterhoeven wrote: > >> diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu > >> index 9dcf245c9cbf..c777a129768a 100644 > >> --- a/arch/m68k/Kc

Re: [PATCH v2 3/3] arch: define CONFIG_PAGE_SIZE_*KB on all architectures

2024-03-06 Thread Geert Uytterhoeven
+++ > arch/m68k/Kconfig.cpu | 2 ++ > arch/m68k/include/asm/page.h | 6 +- Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations

Re: [PATCH 1/2] um: rtc: Convert to platform remove callback returning void

2024-03-11 Thread Geert Uytterhoeven
> are converted, .remove_new() will be renamed to .remove(). > > Trivially convert this driver from always returning zero in the remove > callback to the void returning variant. > > Signed-off-by: Uwe Kleine-König Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s,

Re: [PATCH 2/2] um: virtio_uml: Convert to platform remove callback returning void

2024-03-11 Thread Geert Uytterhoeven
> are converted, .remove_new() will be renamed to .remove(). > > Trivially convert this driver from always returning zero in the remove > callback to the void returning variant. > > Signed-off-by: Uwe Kleine-König Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s,

Re: [PATCH 2/7] of: Create of_root if no dtb provided by firmware

2024-03-12 Thread Geert Uytterhoeven
hanism for * enabling full constraints and since it's much more natural * with DT to provide them just assume that a DT enabled * system has full constraints. */ if (of_have_populated_dt()) has_full_constraints = tru

Re: [PATCH 2/7] of: Create of_root if no dtb provided by firmware

2024-03-12 Thread Geert Uytterhoeven
On Tue, Mar 12, 2024 at 3:41 PM Geert Uytterhoeven wrote: > On Wed, Feb 21, 2024 at 3:06 PM Rob Herring wrote: > > On Fri, Feb 16, 2024 at 11:08 PM Saurabh Singh Sengar > > wrote: > > > This adds the strict check for compatible which makes compatible > > > to be

Re: Build regressions/improvements in v6.10-rc1

2024-05-27 Thread Geert Uytterhoeven
On Mon, 27 May 2024, Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v6.10-rc1[1] compared to v6.9[2]. Summarized: - build errors: +27/-20 - build warnings: +3/-1601 Happy fixing! ;-) Thanks to the linux-next team for providing the build

Re: [PATCH -next] um: Remove obsoleted declaration for execute_syscall_skas

2024-08-26 Thread Geert Uytterhoeven
On Sat, Aug 24, 2024 at 2:05 PM Gaosheng Cui wrote: > The execute_syscall_skas() have been removed since > commit e32dacb9f481 ("[PATCH] uml: system call path cleanup"), > and now it is useless, so remove it. > > Signed-off-by: Gaosheng Cui Reviewed-by: Geert Uytterh

Re: [PATCH 2/3] MIPS: Rename mips_instruction type to workaround bindgen issue

2024-09-04 Thread Geert Uytterhoeven
arch/mips/include/asm/inst.h | 6 +++--- Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists

Re: Build regressions/improvements in v5.17

2022-03-21 Thread Geert Uytterhoeven
On Mon, Mar 21, 2022 at 3:00 PM Geert Uytterhoeven wrote: > JFYI, when comparing v5.17[1] to v5.17-rc8[3], the summaries are: > - build errors: +5/-0 + /kisskb/src/crypto/blake2b_generic.c: error: the frame size of 2288 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]: =&

Re: Build regressions/improvements in v5.18-rc1

2022-04-04 Thread Geert Uytterhoeven
On Mon, 4 Apr 2022, Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v5.18-rc1[1] compared to v5.17[2]. Summarized: - build errors: +36/-15 - build warnings: +5/-38 Happy fixing! ;-) Thanks to the linux-next team for providing the build service

Re: Build regressions/improvements in v5.18-rc1

2022-04-04 Thread Geert Uytterhoeven
Hi Kalle, On Mon, Apr 4, 2022 at 8:39 PM Kalle Valo wrote: > Geert Uytterhoeven writes: > >> /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: > >> error: case label does not reduce to an integer constant: => 3798:2, > >> 3809:2 > &

Re: [PATCH v3 02/10] m68k: use fallback for random_get_entropy() instead of zero

2022-04-12 Thread Geert Uytterhoeven
rning zero all the time. > > Cc: Thomas Gleixner > Cc: Arnd Bergmann > Cc: Geert Uytterhoeven > Signed-off-by: Jason A. Donenfeld Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond i

Re: Build regressions/improvements in v5.18-rc5

2022-05-02 Thread Geert Uytterhoeven
On Mon, 2 May 2022, Geert Uytterhoeven wrote: JFYI, when comparing v5.18-rc5[1] to v5.18-rc4[3], the summaries are: - build errors: +6/-21 6 error regressions: + /kisskb/src/arch/sh/kernel/machvec.c: error: array subscript 'struct sh_machine_vector[0]' is partly outside array

Re: [PATCH v3] mm: Avoid unnecessary page fault retires on shared memory types

2022-05-25 Thread Geert Uytterhoeven
t() and break_ksm() because they do > not handle VM_FAULT_RETRY even with existing code, so I'm literally keeping > them as-is. > > Signed-off-by: Peter Xu > arch/m68k/mm/fault.c | 4 Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s,

Re: Build regressions/improvements in v5.19-rc1

2022-06-06 Thread Geert Uytterhoeven
On Mon, 6 Jun 2022, Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v5.19-rc1[1] compared to v5.18[2]. Summarized: - build errors: +9/-10 [1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/f2906aa863381afb0015a9eb7fefad885d4e5a56/ (all

Re: [PATCH V6 21/26] m68k/mm: Enable ARCH_HAS_VM_GET_PAGE_PROT

2022-07-06 Thread Geert Uytterhoeven
(implying read and execute) and writeable. > These > * are as close as we can get... > */ The comment above should be removed, too. > -#define __P000 PAGE_NONE > -#define __P001 PAGE_READONLY With the above fixed: Reviewed-by: Geert Uytterhoeven Acked-by: Geert Uytterhoeven

Re: [PATCH V6 26/26] mm/mmap: Drop ARCH_HAS_VM_GET_PAGE_PROT

2022-07-06 Thread Geert Uytterhoeven
8k/Kconfig | 1 - Reviewed-by: Geert Uytterhoeven Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. B

Re: [PATCH 19/36] objtool/idle: Validate __cpuidle code as noinstr

2022-07-09 Thread Geert Uytterhoeven
inux-std.lds |1 - > arch/m68k/kernel/vmlinux-sun3.lds | 1 - FWIW Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical peop

Re: [PATCH 3/6] M68K: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK

2022-07-12 Thread Geert Uytterhoeven
static int show_cpuinfo(struct seq_file *m, void *v) > > static void *c_start(struct seq_file *m, loff_t *pos) > { > - return *pos < NR_CPUS ? ((void *) 0x12345678) : NULL; > + return *pos < nr_cpu_ids ? ((void *) 0x12345678) : NULL; > } include/linux/cpumask

Re: [PATCH 3/6] M68K: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK

2022-07-12 Thread Geert Uytterhoeven
Hi Huacai, On Tue, Jul 12, 2022 at 10:53 AM Huacai Chen wrote: > On Tue, Jul 12, 2022 at 4:33 PM Geert Uytterhoeven > wrote: > > On Tue, Jul 12, 2022 at 9:53 AM Huacai Chen wrote: > > > When CONFIG_CPUMASK_OFFSTACK and CONFIG_DEBUG_PER_CPU_MAPS is selected, > > >

Re: [PATCH 3/6] M68K: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK

2022-07-12 Thread Geert Uytterhoeven
Hi Huacai, On Tue, Jul 12, 2022 at 11:08 AM Huacai Chen wrote: > On Tue, Jul 12, 2022 at 5:01 PM Geert Uytterhoeven > wrote: > > On Tue, Jul 12, 2022 at 10:53 AM Huacai Chen wrote: > > > On Tue, Jul 12, 2022 at 4:33 PM Geert Uytterhoeven > > > wrote: > >

Re: Build regressions/improvements in v5.19-rc7

2022-07-18 Thread Geert Uytterhoeven
On Mon, 18 Jul 2022, Geert Uytterhoeven wrote: JFYI, when comparing v5.19-rc7[1] to v5.19-rc6[3], the summaries are: - build errors: +11/-6 + /kisskb/src/drivers/infiniband/hw/qib/qib_wc_x86_64.c: error: 'X86_VENDOR_AMD' undeclared (first use in this function): => 149:37

Re: [PATCH] kernel: exit: cleanup release_thread()

2022-08-19 Thread Geert Uytterhoeven
ruct *leader; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "progra

Re: [PATCH] um/kernel: fix repeated words in comments

2022-09-08 Thread Geert Uytterhoeven
time... addresses are filled in? General note: please stop submitting these patches for auto-detected repeated words. There are too many false positives. Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conver

Re: [PATCH linux-next] um: use strscpy() is more robust and safer

2022-09-21 Thread Geert Uytterhoeven
strscpy(tmp, uml_dir, sizeof(tmp)); > strlcat(tmp, "XX", sizeof(tmp)); Do we need strscat(), too? ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal con

Re: [PATCH v5 3/8] asm-generic: introduce text-patching.h

2024-10-10 Thread Geert Uytterhoeven
-patching.h and add an empty > header in asm-generic for architectures that do not support text patching. > > Signed-off-by: Mike Rapoport (Microsoft) > arch/m68k/include/asm/Kbuild | 1 + Acked-by: Geert Uytterhoeven # m68k Gr{oetje,eeting}s,

Re: [RFC PATCH v2 02/13] x86/um: nommu: elf loader for fdpic

2024-11-13 Thread Geert Uytterhoeven
er can be used to X86, but this patchset only > adds UML to be able to select it. I intended to add UML into nommu > family. While currently x86-nommu is supported for UML only, this is really x86-specific. I still hope UML will get support for other architectures one day, at which p

Re: [RFC PATCH v2 02/13] x86/um: nommu: elf loader for fdpic

2024-11-13 Thread Geert Uytterhoeven
Hi Johannes, On Wed, Nov 13, 2024 at 9:37 AM Johannes Berg wrote: > On Wed, 2024-11-13 at 09:36 +0100, Johannes Berg wrote: > > On Wed, 2024-11-13 at 09:19 +0100, Geert Uytterhoeven wrote: > > > > > > > > > - depends on ARM || ((M68K || RISCV || SU

Re: [RFC PATCH v2 02/13] x86/um: nommu: elf loader for fdpic

2024-11-13 Thread Geert Uytterhoeven
Hi Tazaki-san, On Wed, Nov 13, 2024 at 2:17 PM Hajime Tazaki wrote: > On Wed, 13 Nov 2024 19:27:08 +0900, > Geert Uytterhoeven wrote: > > On Wed, Nov 13, 2024 at 9:37 AM Johannes Berg > > wrote: > > > On Wed, 2024-11-13 at 09:36 +0100, Johannes Berg wrote: > >

Re: [RFC PATCH v2 02/13] x86/um: nommu: elf loader for fdpic

2024-11-12 Thread Geert Uytterhoeven
t; - depends on ARM || ((M68K || RISCV || SUPERH || XTENSA) && !MMU) > + depends on ARM || ((M68K || RISCV || SUPERH || UML || XTENSA) && !MMU) s/UML/X86/? > select ELFCORE > help > ELF FDPIC binaries are based on ELF, but allow the individu

Re: [PATCH v7 10/10] arm: Align prototype of IO memset

2024-09-30 Thread Geert Uytterhoeven
On Mon, Sep 30, 2024 at 3:25 PM Julian Vetter wrote: > Align prototype of the memset_io function with the new one from > iomap_copy.c > > Reviewed-by: Yann Sionneau > Signed-off-by: Julian Vetter > --- > Changes for v7: > - New patch Reviewed-by: Geert Uytterho

Re: [PATCH v7 05/10] m68k: Align prototypes of IO memcpy/memset

2024-09-30 Thread Geert Uytterhoeven
atch Reviewed-by: Geert Uytterhoeven Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm

Re: [PATCH v7 08/10] sh: Align prototypes of IO memcpy/memset

2024-09-30 Thread Geert Uytterhoeven
u > Signed-off-by: Julian Vetter > --- > Changes for v7: > - New patch Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technica

Re: UML mount failure with Linux 6.11

2024-11-27 Thread Geert Uytterhoeven
; "/home/hostfs,dir" will be treated as a single option for libmount. > > I am unsure how to resolve this issue without using quotes, as we need > a method to distinguish between a path with a comma and other options. Escape the comma using a backslash? Gr{oetje,eeting}s,

Re: [PATCH v3 08/13] um: nommu: configure fs register on host syscall invocation

2024-12-04 Thread Geert Uytterhoeven
> + } else { > > Even checkpatch complains about else after return :) No need. And inverting the check would reduce indentation in the largest branch (the smallest branch is just "return os_arch_prctl(...)". Gr{oetje,eeting}s, Geert -- Geert Uytterh

Re: [PATCH v2] mm/memblock: Add memblock_alloc_or_panic interface

2024-12-21 Thread Geert Uytterhoeven
ic(size, align)\ > +__memblock_alloc_or_panic(size, align, __func__) > + > static inline void *memblock_alloc_raw(phys_addr_t size, >phys_addr_t align) > { > diff --git a/init/main.c b/init/main.c Gr{oetje,eeting}s,

  1   2   >