Re: [PATCH 1/3] x86/cpu: Actually turn off mitigations by default for SPECULATION_MITIGATIONS=n

2024-04-15 Thread Geert Uytterhoeven
t; @@ -191,6 +191,10 @@ config GENERIC_CPU_AUTOPROBE > config GENERIC_CPU_VULNERABILITIES > bool > > +config SPECULATION_MITIGATIONS > + def_bool y > + depends on !X86 > + > config SOC_BUS > bool > select GLOB Thanks, that works for me

Re: [PATCH] serial/pmac_zilog: Remove flawed mitigation for rx irq flood

2024-04-08 Thread Geert Uytterhoeven
like your changelog? All of that is retained when rebasing. 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.

Re: [PATCH linux-next v3 02/14] crash: split vmcoreinfo exporting code out from crash_core.c

2024-03-25 Thread Geert Uytterhoeven
t;) in v6.9-rc1. After this, there are still two references left to CRASH_CORE: 1. Documentation/admin-guide/kdump/kdump.rst: Subsequently, CRASH_CORE is selected by KEXEC_CORE:: 2. arch/loongarch/Kconfig config ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION def_

Re: [PATCH] powerpc: ps3: mark ps3_notification_device static for stack usage

2024-03-21 Thread Geert Uytterhoeven
for everyone. So I'd rather allocate it dynamically. The thread already allocates a buffer, which can be replaced at no cost by allocating a structure containing both the ps3_notification_device and the buffer. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's

Re: [PATCH 00/14] Add support for suppressing warning backtraces

2024-03-14 Thread Geert Uytterhoeven
nction names in BUG/WARNING messages). That change, if > desired, can be made later. Unfortunately this also increases kernel size in the CONFIG_KUNIT=m case (ca. 80 KiB for atari_defconfig), making it less attractive to have kunit and all tests enabled as modules in my standard kernel. Gr{oetje,ee

Re: [PATCH 11/14] s390: Add support for suppressing warning backtraces

2024-03-14 Thread Geert Uytterhoeven
_), \ > + : : "i" (__BUG_FUNC), \ > + "i" (__LINE__), \ > "i" (x),

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 with

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 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 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 myself

Re: [PATCH RFC net] ps3/gelic: Fix possible NULL pointer dereference

2024-02-22 Thread Geert Uytterhoeven
xes: 589866f9f1cb ("PS3: gelic: Add support for dual network interface") > Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal

Re: Powerpc: ps3av.c:(.text+0x19e8): undefined reference to `video_get_options'

2024-02-12 Thread Geert Uytterhoeven
gt; https://storage.tuxsuite.com/public/linaro/lkft/builds/2cFkli5H02fikrpga6PluAWLAMa/ https://lore.kernel.org/linuxppc-dev/43ed64aa-17b0-4d04-a1f3-a6e13f59a...@suse.de/T/#ma2e81d77ee4a708c75d09c4e46904072b3f7b70f Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven --

Re: [PATCH 2/4] powerpc: ps3: make ps3_system_bus_type const

2024-02-04 Thread Geert Uytterhoeven
> > Cc: Greg Kroah-Hartman > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere 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: Build regressions/improvements in v6.8-rc1

2024-01-23 Thread Geert Uytterhoeven
On Tue, 23 Jan 2024, Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v6.8-rc1[1] compared to v6.7[2]. Summarized: - build errors: +68/-18 - build warnings: +129/-1487 Happy fixing! ;-) Thanks to the linux-next team for providing the build

Re: [PATCH 08/22] [v2] arch: consolidate arch_irq_work_raise prototypes

2024-01-10 Thread Geert Uytterhoeven
> Signed-off-by: Arnd Bergmann Tested-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 tal

Re: [PATCH] powerpc/ps3_defconfig: Disable PPC64_BIG_ENDIAN_ELF_ABI_V2

2024-01-09 Thread Geert Uytterhoeven
then, you may want to add "depends on !CONFIG_PPC64_BIG_ENDIAN_ELF_ABI_V2" to config PPC_PS3. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with

Re: [PATCH] asm/io: remove unnecessary xlate_dev_mem_ptr() and unxlate_dev_mem_ptr()

2023-11-19 Thread Geert Uytterhoeven
quot; > Cc: Nicholas Piggin > Cc: Christophe Leroy > Cc: Yoshinori Sato > Cc: Rich Felker > Cc: "David S. Miller" > Cc: Stanislav Kinsburskii > Signed-off-by: Kefeng Wang > arch/m68k/include/asm/io_mm.h | 6 -- Reviewed-by: Geert Uytterhoeven

Re: Fbdev issue after the drm updates 'drm-next-2023-10-31-1'

2023-11-16 Thread Geert Uytterhoeven
Hi Gerd, On Wed, Nov 15, 2023 at 10:22 AM Gerd Hoffmann wrote: > On Wed, Nov 15, 2023 at 09:33:28AM +0100, Geert Uytterhoeven wrote: > > On Tue, Nov 14, 2023 at 10:45 AM Christian Zigotzky > > wrote: > > > On 13 November 2023 at 01:48 pm, Geert Uytterhoeven wrot

Re: Fbdev issue after the drm updates 'drm-next-2023-10-31-1'

2023-11-15 Thread Geert Uytterhoeven
Hi Christian, CC virtgpu On Tue, Nov 14, 2023 at 10:45 AM Christian Zigotzky wrote: > On 13 November 2023 at 01:48 pm, Geert Uytterhoeven wrote: > > I can confirm there is no graphics output with m68k/virt, and Before the error message you reported: virtio-mmio virtio-mmio.

Re: [PATCH 0/3] PCI: dwc: Improve code readability

2023-11-13 Thread Geert Uytterhoeven
cast of uintptr_t. > > Sure. I appreciate that this would be more work. When you send your > patch, can you include an update to the iproc driver (and credit the > original author from [1])? I would appreciate it. > > 1. https://lore.kernel.org/linux-pci/20230814230008.GA196797

Re: Fbdev issue after the drm updates 'drm-next-2023-10-31-1'

2023-11-13 Thread Geert Uytterhoeven
everting commit 6ae2ff23aa43a0c4, add pr_info("%s: bpp %u/depth %u => r.pixel_format = %p4cc\n", __func__, or->bpp, or->depth, _format); to drivers/gpu/drm/drm_framebuffer.c:drm_mode_addfb(), so we know the translation in your case? Thanks! Gr{oetje,eeting}s,

Re: [PATCH 0/3] PCI: dwc: Improve code readability

2023-11-13 Thread Geert Uytterhoeven
device_id type. That sounds like overkill to me. An intermediate cast to uintptr_t should fix the issue as well. 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

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

2023-11-13 Thread Geert Uytterhoeven
On Mon, 13 Nov 2023, Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v6.7-rc1[1] compared to v6.6[2]. Summarized: - build errors: +20/-7 - build warnings: +24/-8 Note that there may be false regressions, as some logs are incomplete. Still

Re: [PATCH] treewide: Spelling fix in comment

2023-10-20 Thread Geert Uytterhoeven
support for PS3") No need for a Fixes tag for a spelling fix in a comment. > Signed-off-by: Kunwu Chan Reviewed-by: Geert Uytterhoeven > --- a/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c > +++ b/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c > @@ -1217,7 +1217,7

Re: [PATCH] [RFC] wireless: move obsolete drivers to staging

2023-10-12 Thread Geert Uytterhoeven
e. If you didn't update the firmware, you could keep on using Linux. And people may have found a vulnerability in more recent firmware versions that allows them to run custom software. I don't know, it's been +10 years ago I touched a PS3 ;-) Gr{oetje,eeting}s, Geert -- Geert

Re: [PATCH] [RFC] wireless: move obsolete drivers to staging

2023-10-12 Thread Geert Uytterhoeven
CC geoff, ppc On Thu, Oct 12, 2023 at 4:46 PM Kalle Valo wrote: > "Arnd Bergmann" writes: > > > On Thu, Oct 12, 2023, at 13:47, Kalle Valo wrote: > >> > >> Is anyone willing to submit patches? Use wireless-next as the baseline > >> for patches and one driver per commit, please. That way it's

Re: [PATCH v3 1/9] vgacon: rework Kconfig dependencies

2023-10-10 Thread Geert Uytterhoeven
gt; and server machines that reused parts of the x86 system architecture. > > Reviewed-by: Javier Martinez Canillas > Reviewed-by: Thomas Zimmermann > Reviewed-by: Khalid Aziz > Acked-by: Helge Deller > Signed-off-by: Arnd Bergmann Thanks for your patch! Reviewed-by: Geert Uytterhoe

Re: [PATCH v2] arch: Reserve map_shadow_stack() syscall number for all architectures

2023-10-03 Thread Geert Uytterhoeven
kernel.org/lkml/20230515212255.ga562...@debug.ba.rivosinc.com/ > Link: > https://lore.kernel.org/lkml/b402b80b-a7c6-4ef0-b977-c0f5f582b...@sirena.org.uk/ > > Signed-off-by: Sohil Mehta > arch/m68k/kernel/syscalls/syscall.tbl | 1 + Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s,

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: [PATCH 0/7] arch/*: config: Remove ReiserFS from defconfig

2023-09-19 Thread 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 talking to journalists I just say "progra

Re: [PATCH v2 2/2] powerpc: Replace GPL 2.0+ README.legal boilerplate with SPDX

2023-09-19 Thread Geert Uytterhoeven
Hi Michael, On Tue, Sep 19, 2023 at 4:13 AM Michael Ellerman wrote: > Geert Uytterhoeven writes: > > Upstream Linux never had a "README.legal" file, but it was present > > in early source releases of Linux/m68k. It contained a simple copyright > > notice and a li

[PATCH v2 1/2] m68k: Replace GPL 2.0+ README.legal boilerplate with SPDX

2023-09-18 Thread Geert Uytterhoeven
se. Get rid of the references to non-existent files by replacing the boilerplate with SPDX license identifiers. Signed-off-by: Geert Uytterhoeven Acked-by: Greg Ungerer --- v2: - Add Acked-by, - s/existant/existent/. --- arch/m68k/68000/entry.S | 7 ++- arch/m68k/bvme6000/config.c | 5 +--

[PATCH v2 0/2] m68k/powerpc: Kill references to non-existent README.legal

2023-09-18 Thread Geert Uytterhoeven
sx-11.mit.edu/Oct-07-1996/680x0/v0.9/linux-0.9.tar.gz [2] "[PATCH 0/2] m68k/powerpc: Kill references to non-existent README.legal https://lore.kernel.org/r/cover.1694095086.git.ge...@linux-m68k.org Geert Uytterhoeven (2): m68k: Replace GPL 2.0+ README.legal boilerplate with SPDX powerp

[PATCH v2 2/2] powerpc: Replace GPL 2.0+ README.legal boilerplate with SPDX

2023-09-18 Thread Geert Uytterhoeven
se. Get rid of the references to non-existent files by replacing the boilerplate with SPDX license identifiers. Signed-off-by: Geert Uytterhoeven --- v2: - s/existant/existent/. --- arch/powerpc/kernel/ptrace/ptrace.c | 5 + arch/powerpc/kernel/signal.c| 5 + arch/powerpc/kernel/

Re: [PATCH v4 2/5] fbdev: Replace fb_pgprotect() with pgprot_framebuffer()

2023-09-13 Thread Geert Uytterhoeven
--- Looks like you forgot to apply my Acked-by: Geert Uytterhoeven given on v1. I didn't notice before, as I never received v2 and v3 due to the gmail/vger email issues. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org I

Re: [PATCH 0/2] m68k/powerpc: Kill references to non-existent README.legal

2023-09-07 Thread Geert Uytterhoeven
Hi Christophe, On Thu, Sep 7, 2023 at 4:25 PM Christophe Leroy wrote: > Le 07/09/2023 à 16:21, Geert Uytterhoeven a écrit : > > Several source files contain license boilerplate that refers to the file > > "README.legal", which never existed in upstream Linux. This is a

[PATCH 1/2] m68k: Replace GPL 2.0+ README.legal boilerplate by SPDX

2023-09-07 Thread Geert Uytterhoeven
se. Get rid of the references to non-existant files by replacing the boilerplate with SPDX license identifiers. Signed-off-by: Geert Uytterhoeven --- arch/m68k/68000/entry.S | 7 ++- arch/m68k/bvme6000/config.c | 5 + arch/m68k/coldfire/entry.S | 7 ++- arch/m68k/ifpsp060/Makefil

[PATCH 2/2] powerpc: Replace GPL 2.0+ README.legal boilerplate by SPDX

2023-09-07 Thread Geert Uytterhoeven
se. Get rid of the references to non-existant files by replacing the boilerplate with SPDX license identifiers. Signed-off-by: Geert Uytterhoeven --- arch/powerpc/kernel/ptrace/ptrace.c | 5 + arch/powerpc/kernel/signal.c| 5 + arch/powerpc/kernel/signal.h| 7 ++- 3 file

[PATCH 0/2] m68k/powerpc: Kill references to non-existent README.legal

2023-09-07 Thread Geert Uytterhoeven
uot; clause in v2.4.0-test8. This patch series gets rid of the references to README.legal by replacing the boilerplate with SPDX license identifiers. Thanks for your comments! [1] https://www.ibiblio.org/pub/historic-linux/ftp-archives/tsx-11.mit.edu/Oct-07-1996/680x0/v0.9/linux-0.9.tar.gz Geert Uytterhoeve

Re: [PATCH 4/4] fbdev: Replace fb_pgprotect() with fb_pgprot_device()

2023-09-04 Thread Geert Uytterhoeven
cess > flags. These changes align fb_pgprot_device() closer with pgprot_device. > > Signed-off-by: Thomas Zimmermann > arch/m68k/include/asm/fb.h | 19 ++- Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoev

Re: (subset) [PATCH 00/17] -Wmissing-prototype warning fixes

2023-08-28 Thread Geert Uytterhoeven
doing that... 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 "programmer" o

Re: (subset) [PATCH 00/17] -Wmissing-prototype warning fixes

2023-08-25 Thread Geert Uytterhoeven
around the use of DMA masks for Amiga WD33C93 > drivers, Geert? Doh, it's been a while, and I never had an affected system. Probably it's needed on A2000 with an accelerator card and GVP II SCSI, to prevent DMA to RAM banks that do not support fast DMA cycles. Gr{oetje,eeting}s,

[PATCH 9/9] m68k: Remove

2023-08-17 Thread Geert Uytterhoeven
There are no more users of . Signed-off-by: Geert Uytterhoeven --- arch/m68k/include/asm/ide.h | 67 - 1 file changed, 67 deletions(-) delete mode 100644 arch/m68k/include/asm/ide.h diff --git a/arch/m68k/include/asm/ide.h b/arch/m68k/include/asm/ide.h

[PATCH 6/9] ata: pata_buddha: Remove #include

2023-08-17 Thread Geert Uytterhoeven
The Buddha, Catweasel, and X-Surf PATA driver does not need anything from . Signed-off-by: Geert Uytterhoeven --- drivers/ata/pata_buddha.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ata/pata_buddha.c b/drivers/ata/pata_buddha.c index 49bc619b83e255a3..c36ee991d5e5fdcc 100644

[PATCH treewide 0/9] Remove obsolete IDE headers

2023-08-17 Thread Geert Uytterhoeven
Hi all, This patch series removes all unused headers and . was still included by 3 PATA drivers for m68k platforms, but without any real need. The first 5 patches have no dependencies. The last patch depends on the 3 pata patches. Thanks for your comments! Geert Uytterhoeven (9

[PATCH 2/9] parisc: Remove

2023-08-17 Thread Geert Uytterhoeven
As of commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in v5.14, there are no more generic users of . Signed-off-by: Geert Uytterhoeven --- arch/parisc/include/asm/ide.h | 54 --- 1 file changed, 54 deletions(-) delete mode 100644 a

[PATCH 4/9] sparc: Remove

2023-08-17 Thread Geert Uytterhoeven
As of commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in v5.14, there are no more generic users of . Signed-off-by: Geert Uytterhoeven --- arch/sparc/include/asm/ide.h | 97 1 file changed, 97 deletions(-) delete mode 100644 arch/spa

[PATCH 1/9] ARM: Remove

2023-08-17 Thread Geert Uytterhoeven
As of commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in v5.14, there are no more generic users of . Signed-off-by: Geert Uytterhoeven --- arch/arm/include/asm/ide.h | 24 1 file changed, 24 deletions(-) delete mode 100644 arch/arm/include/asm/i

[PATCH 5/9] asm-generic: Remove ide_iops.h

2023-08-17 Thread Geert Uytterhoeven
The last user of ide_iops.h was removed in commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in v5.14. Signed-off-by: Geert Uytterhoeven --- include/asm-generic/ide_iops.h | 39 -- 1 file changed, 39 deletions(-) delete mode 100644 i

[PATCH 3/9] powerpc: Remove

2023-08-17 Thread Geert Uytterhoeven
As of commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in v5.14, there are no more generic users of . Signed-off-by: Geert Uytterhoeven --- arch/powerpc/include/asm/ide.h | 18 -- 1 file changed, 18 deletions(-) delete mode 100644 arch/powerpc/include

[PATCH 8/9] ata: pata_gayle: Remove #include

2023-08-17 Thread Geert Uytterhoeven
The Amiga Gayle PATA driver does not need anything from . Signed-off-by: Geert Uytterhoeven --- drivers/ata/pata_gayle.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ata/pata_gayle.c b/drivers/ata/pata_gayle.c index e5aa07f92106547e..3bdbe2b65a2b49f1 100644 --- a/drivers/ata

[PATCH 7/9] ata: pata_falcon: Remove #include

2023-08-17 Thread Geert Uytterhoeven
The Atari Falcon PATA driver does not need anything from . Signed-off-by: Geert Uytterhoeven --- drivers/ata/pata_falcon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ata/pata_falcon.c b/drivers/ata/pata_falcon.c index 996516e64f13504e..0904232e5e0c4c8c 100644 --- a/drivers/ata

Re: [PATCH] treewide: drop CONFIG_EMBEDDED

2023-08-16 Thread Geert Uytterhoeven
Hi Randy, On Wed, Aug 16, 2023 at 7:50 AM Randy Dunlap wrote: > There is only one Kconfig user of CONFIG_EMBEDDED and it can be > switched to EXPERT or "if !ARCH_MULTIPLATFORM" (suggested by Arnd). > > Signed-off-by: Randy Dunlap Makes perfect sense to me. Acked-by: G

Re: [PATCH v2] syscalls: Cleanup references to sys_lookup_dcookie()

2023-07-25 Thread Geert Uytterhoeven
syscall.tbl | 2 +- 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 talking to

Re: [PATCH v4 3/5] arch: Register fchmodat2, usually as syscall 452

2023-07-25 Thread Geert Uytterhoeven
d me everything. > > Signed-off-by: Palmer Dabbelt > Signed-off-by: Alexey Gladkov > arch/m68k/kernel/syscalls/syscall.tbl | 1 + Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@

Re: [PATCH v2 1/9] vgacon: rework Kconfig dependencies

2023-07-24 Thread Geert Uytterhoeven
support vga16fb as an alternative to vgacon, but > both platforms were removed later on. I did use vgacon and vga16fb on CHRP on a second video card (initialized using Gabriel Paubert's x86 BIOS emulator), but that was definitely before the advent of arch/powerpc/. Gr{oetje,eeting}s,

Re: [PATCH v3 00/18] fbdev: Remove FBINFO_DEFAULT and FBINFO_FLAG_DEFAULT flags

2023-07-14 Thread Geert Uytterhoeven
drivers Two patches with the exact same one-line summary. Please make them unique. 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

Re: [PATCH 00/17] fbdev: Remove FBINFO_DEFAULT and FBINFO_FLAG_DEFAULT flags

2023-07-11 Thread Geert Uytterhoeven
s/video/fbdev/core/fbcon.c: int fast_imageblit = (cap & FBINFO_HWACCEL_IMAGEBLIT) && drivers/video/fbdev/core/fbcon.c: !(cap & FBINFO_HWACCEL_DISABLED); BTW, I'm surprised FBINFO_HWACCEL_FILLRECT is not handled. But looking at the full history, it never was... > >> Lea

Re: [PATCH] rtc: Kconfig: select REGMAP for RTC_DRV_DS1307

2023-07-06 Thread Geert Uytterhoeven
On Thu, Jul 6, 2023 at 9:50 AM Geert Uytterhoeven wrote: > On Thu, Jul 6, 2023 at 8:14 AM Benjamin Gray wrote: > > On Thu, 2023-07-06 at 05:13 +, Christophe Leroy wrote: > > > Le 05/07/2023 à 02:30, Benjamin Gray a écrit : > > > > The drivers/rtc/rtc-ds1307.c

Re: [PATCH] rtc: Kconfig: select REGMAP for RTC_DRV_DS1307

2023-07-06 Thread Geert Uytterhoeven
not > supposed to depend on REGMAP like KUnit does? Thanks for CCing me! Looks like I made a really silly mistake here: my patch not only allows the user to enable REGMAP manually (for the test), but also to disable it manually, regardless if there are users or n

Re: [PATCH 20/21] ARM: dma-mapping: split out arch_dma_mark_clean() helper

2023-07-03 Thread Geert Uytterhoeven
arch_sync_dma_for_cpu(phys, size, dir); > + arm_iommu_sync_dma_for_cpu(phys, size, dir, > dev->dma_coherent); > } > > iommu_unmap(mapping->domain, iova, len); With the above fixed, it builds and boots fine (on R-Car M2-W). Gr{oetje,eeting}

Re: [PATCH 21/21] dma-mapping: replace custom code with generic implementation

2023-06-27 Thread Geert Uytterhoeven
h_dma_cache_wback_inv(phys_addr_t paddr, size_t size) { - dcache_clean_inval_poc(paddr, paddr + size); + unsigned long start = (unsigned long)phys_to_virt(paddr); + + dcache_clean_inval_poc(start, start + size); } static inline bool arch_sync_dma_clean_before_fromdevice(void) Gr{oetje,eeting}s,

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 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 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
ons. Convert > 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 Linux be

Re: [PATCH v1 07/21] m68k/kexec: refactor for kernel/Kconfig.kexec

2023-06-12 Thread Geert Uytterhoeven
. > > Signed-off-by: Eric DeVolder 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 ca

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

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
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] MAINTAINERS: Exclude m68k-only drivers from powerpc entry

2023-05-31 Thread Geert Uytterhoeven
drivers/macintosh/ > +X: drivers/macintosh/adb-iop.c > +X: drivers/macintosh/via-macii.c > > LINUX FOR POWERPC (32-BIT AND 64-BIT) > M: Michael Ellerman LGTM, as there are already entries for these two files under "M68K ON APPLE MACINTOSH". Acked-by: Geert U

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 v5 RESEND 01/17] asm-generic/iomap.h: remove ARCH_HAS_IOREMAP_xx macros

2023-05-16 Thread Geert Uytterhoeven
werpc: > - remove "#include " in because it's > duplicated with the one in , let's rely on the > latter. > > x86: > - selected GENERIC_IOMAP, remove #include in > the middle of . Let's rely on . > > Signed-off-by: Baoquan He > arch

Re: [RFC PATCH v2] fs/xattr: add *at family syscalls

2023-05-11 Thread Geert Uytterhoeven
scall numbers conflict with those used in "[PATCH] cachestat: wire up cachestat for other architectures", so this needs some synchronization. https://lore.kernel.org/linux-sh/20230510195806.2902878-1-npha...@gmail.com > arch/m68k/kernel/syscalls/syscall.tbl | 4 + For m68k: Ac

Re: [PATCH] cachestat: wire up cachestat for other architectures

2023-05-11 Thread Geert Uytterhoeven
mpolicy_home_node"), it looks like you forgot to update arm64 in compat mode? Or is that not needed? > arch/ia64/kernel/syscalls/syscall.tbl | 1 + > arch/m68k/kernel/syscalls/syscall.tbl | 1 + For m68k: Acked-by: Geert Uytterhoeven > arch/microblaze/kernel/syscalls/syscal

Re: [PATCH 05/23] m68k: allow pte_offset_map[_lock]() to fail

2023-05-11 Thread Geert Uytterhoeven
Hi Hugh, On Thu, May 11, 2023 at 4:58 AM Hugh Dickins wrote: > On Wed, 10 May 2023, Geert Uytterhoeven wrote: > > On Wed, May 10, 2023 at 6:48 AM Hugh Dickins wrote: > > > In rare transient cases, not yet made possible, pte_offset_map() and > > > pte_offset_map_lock(

Re: [PATCH 05/23] m68k: allow pte_offset_map[_lock]() to fail

2023-05-10 Thread Geert Uytterhoeven
(struct task_struct *task) > bug: > pr_info("ksp load failed: mm=0x%p ksp=0x08%lx\n", mm, mmuar); > end: > + if (pte && mmuar < PAGE_OFFSET) > + pte_unmap(pte); Is this also a bugfix, not mentioned in the patch description? >

Re: [PATCH v4] Kconfig: introduce HAS_IOPORT option and select it as necessary

2023-04-11 Thread Geert Uytterhoeven
out instructions. > But (with the likely exception of the UART) they are pretty much > platform specific. > > So, to my mind at least, HAS_IOPORT is just the wrong question. Not all PCI controllers support mapping the I/O bar in MMIO space, so in general you cannot say that CONFIG_PCI=y means CO

Re: [PATCH v2 08/19] arch/m68k: Implement with generic helpers

2023-04-11 Thread Geert Uytterhoeven
On Thu, Apr 6, 2023 at 4:30 PM Thomas Zimmermann wrote: > Replace the architecture's fb_is_primary_device() with the generic > one from . No functional changes. > > v2: > * provide empty fb_pgprotect() on non-MMU systems > > Signed-off-by: Thomas Zimmermann >

Re: [PATCH v2 07/19] arch/m68k: Merge variants of fb_pgprotect() into single function

2023-04-11 Thread Geert Uytterhoeven
h the switch to . > > Signed-off-by: Thomas Zimmermann 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 peo

Re: [PATCH v2 01/19] fbdev: Prepare generic architecture helpers

2023-04-11 Thread Geert Uytterhoeven
unsigned long off) Does this affect any noMMU platforms that relied on fb_pgprotect() doing nothing before? Perhaps the body below should be protected by "#ifdef CONFIG_MMU"? > +{ > + vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); Sho

Re: [PATCH v6 1/4] PCI: Introduce pci_dev_for_each_resource()

2023-03-23 Thread Geert Uytterhoeven
thing completely different. > > What do you think? If it seems like excessive churn, we can do it > > as-is and still try to reduce the use of the index variable over time. > > I think _p has a precedent as well. But I can think about it a bit, maybe > we can come up with

Re: [PATCH 06/14] m68k: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Geert Uytterhoeven
Signed-off-by: Mike Rapoport (IBM) 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 talking to

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

Re: [PATCH v3 2/2] arch/*/io.h: remove ioremap_uc in some architectures

2023-03-05 Thread Geert Uytterhoeven
t exact code path is only reachable on x86/ia64? But if so > please explain why. > > Otherwise it looks like this series could break that driver on powerpc > at least. Indeed. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -

Re: [PATCH 2/3] of: irq: make callers of of_irq_parse_one() release the device node

2023-03-04 Thread Geert Uytterhoeven
Hi Jean-Jacques, On Sat, Mar 4, 2023 at 11:34 AM Jean-Jacques Hiblot wrote: > On 02/03/2023 08:49, Geert Uytterhoeven wrote: > > On Wed, Mar 1, 2023 at 7:53 PM Jean-Jacques Hiblot > > wrote: > >> of_irq_parse_one() does a get() on the device node returned in o

Re: [PATCH v4 00/24] Remove COMMAND_LINE_SIZE from uapi

2023-03-02 Thread Geert Uytterhoeven
Hi Alex, On Thu, Mar 2, 2023 at 11:09 AM Alexandre Ghiti wrote: > On 3/2/23 10:47, Geert Uytterhoeven wrote: > > On Thu, Mar 2, 2023 at 10:35 AM Alexandre Ghiti > > wrote: > >> This all came up in the context of increasing COMMAND_LINE_SIZE in the > >> RISC

Re: [PATCH v4 00/24] Remove COMMAND_LINE_SIZE from uapi

2023-03-02 Thread Geert Uytterhoeven
that aggressively. > > Changes since v3 > <https://lore.kernel.org/all/20230214074925.228106-1-alexgh...@rivosinc.com/>: > * Added RB/AB > * Added a mention to commit 622021cd6c56 ("s390: make command line > configurable") in the cover letter Thanks for the update

Re: [PATCH 2/3] of: irq: make callers of of_irq_parse_one() release the device node

2023-03-01 Thread Geert Uytterhoeven
will fail? Or am I missing something? 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 jour

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

2023-02-27 Thread Geert Uytterhoeven
nuals... > 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 "unc

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. Gen

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

2023-02-26 Thread Geert Uytterhoeven
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 0x80, so this is a

Re: [PATCH v3 05/24] m68k: Remove COMMAND_LINE_SIZE from uapi

2023-02-14 Thread Geert Uytterhoeven
On Tue, Feb 14, 2023 at 8:55 AM Alexandre Ghiti wrote: > From: Palmer Dabbelt > > As far as I can tell this is not used by userspace and thus should not > be part of the user-visible API. > > Signed-off-by: Palmer Dabbelt Acked-by: Geert Uytterhoeven

Re: [PATCH v3 15/24] m68k: Remove empty

2023-02-14 Thread Geert Uytterhoeven
On Tue, Feb 14, 2023 at 9:05 AM Alexandre Ghiti wrote: > From: Palmer Dabbelt > > Signed-off-by: Palmer Dabbelt Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In

Re: [PATCH v3 00/24] Remove COMMAND_LINE_SIZE from uapi

2023-02-14 Thread Geert Uytterhoeven
> > tested it all that aggressively. > > Just to confirm this assumption a bit more: that's actually the same > conclusion that we ended up with when commit 3da0243f906a ("s390: make > command line configurable") went upstream. Commit 622021cd6c560ce7 ("s390: make command

Re: Build regressions/improvements in v6.2-rc8

2023-02-13 Thread Geert Uytterhoeven
On Mon, 13 Feb 2023, Geert Uytterhoeven wrote: JFYI, when comparing v6.2-rc8[1] to v6.2-rc7[3], the summaries are: - build errors: +11/-1 + {standard input}: Error: unrecognized opcode: `dcbfl': => 5736, 4743, 4327, 4476, 4447, 5067, 4602, 5212, 5224, 4298, 5594, 4315, 5050, 5195, 4

Re: [PATCH v3 08/12] gpio: aggregator: Add missing header(s)

2023-02-08 Thread Geert Uytterhoeven
clude > #include > +#include > #include > #include > > +#include > +#include > +#include > + > #define AGGREGATOR_MAX_GPIOS 512 For the actual changes: Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven

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

2023-02-06 Thread Geert Uytterhoeven
On Mon, 6 Feb 2023, Geert Uytterhoeven wrote: JFYI, when comparing v6.2-rc7[1] to v6.2-rc6[3], the summaries are: - build errors: +1/-1 + /kisskb/src/arch/powerpc/kexec/file_load_64.c: error: implicit declaration of function 'memory_hotplug_max' [-Werror=implicit-function-declaration

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 beyond i

Re: Calculating array sizes in C - was: Re: Build regressions/improvements in v6.2-rc1

2023-01-17 Thread Geert Uytterhoeven
Hi Adrian, On Tue, Jan 17, 2023 at 6:06 PM John Paul Adrian Glaubitz wrote: > On 1/17/23 18:01, Geert Uytterhoeven wrote: > > The issue is that some of the parameters are not arrays, but > > NULL. E.g.: > > > > arch/sh/kernel/cpu/sh2/setup-sh7619.c:static > > DEC

  1   2   3   4   5   6   7   8   9   10   >