Re: [PATCH 1/3] mm: Make arch_get_unmapped_area() take vm_flags by default

2024-09-03 Thread Helge Deller
/loongarch/mm/mmap.c | 5 +++-- arch/mips/mm/mmap.c | 2 +- arch/parisc/kernel/sys_parisc.c | 5 +++-- arch/parisc/mm/hugetlbpage.c | 2 +- Acked-by: Helge Deller # parisc Helge ___ linux-snps-arc mailing list linux-snps-arc

Re: [PATCH v2 2/3] arch: Remove struct fb_info from video helpers

2024-03-28 Thread Helge Deller
On 3/28/24 14:33, Thomas Zimmermann wrote: Am 28.03.24 um 12:04 schrieb Helge Deller: On 3/27/24 21:41, Thomas Zimmermann wrote: The per-architecture video helpers do not depend on struct fb_info or anything else from fbdev. Remove it from the interface and replace fb_is_primary_device() with

Re: [PATCH v2 3/3] arch: Rename fbdev header and source files

2024-03-28 Thread Helge Deller
"James E.J. Bottomley" Cc: Helge Deller Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Yoshinori Sato Cc: Rich Felker Cc: John Paul Adrian Glaubitz Cc: "David S. Miller" Cc: Andreas Larsson Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: x...@

Re: [PATCH v2 1/3] arch: Select fbdev helpers with CONFIG_VIDEO

2024-03-28 Thread Helge Deller
Cc: "James E.J. Bottomley" Cc: Helge Deller Cc: "David S. Miller" Cc: Andreas Larsson Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: x...@kernel.org Cc: "H. Peter Anvin" --- arch/parisc/Makefile | 2 +- arch/sparc/Makefile

Re: [PATCH v2 2/3] arch: Remove struct fb_info from video helpers

2024-03-28 Thread Helge Deller
n Cc: "James E.J. Bottomley" Cc: Helge Deller Cc: "David S. Miller" Cc: Andreas Larsson Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: x...@kernel.org Cc: "H. Peter Anvin" --- arch/parisc/include/asm/fb.h | 8 +--- ar

Re: [PATCH 2/4] arch: simplify architecture specific page size configuration

2024-02-27 Thread Helge Deller
/asm/page-def.h | 2 +- arch/parisc/Kconfig | 3 +++ arch/parisc/include/asm/page.h| 10 +- Acked-by: Helge Deller # parisc Thanks for the cleanups! Helge ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org

Re: [PATCH 16/17] [RFC] arch: turn -Wmissing-prototypes off conditionally

2023-08-10 Thread Helge Deller
On 8/10/23 17:21, Arnd Bergmann wrote: On Thu, Aug 10, 2023, at 16:59, Christophe Leroy wrote: Le 10/08/2023 à 16:19, Arnd Bergmann a écrit : From: Arnd Bergmann I have cleaned up the -Wmissing-prototypes warnings for most of the major architectures as well as all drivers that get enabled fo

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

2023-05-25 Thread Helge Deller
...@suse.cz/ [2] https://lwn.net/Articles/932201/ Signed-off-by: Vlastimil Babka Acked-by: David Rientjes I did tested SLUB on parisc with 32- and 64-bit kernel, so you may add: Acked-by: Helge Deller # parisc Helge ___ linux-snps-arc mailing list linux

Re: [PATCH v7 1/7] fbdev/hitfb: Cast I/O offset to address

2023-05-16 Thread Helge Deller
() helpers got removed by commit 34a780a0afeb ("sh: hp6xx pata_platform support."). Fixing the driver would require setting the I/O base address. I think your patch is the best you can do for now... So... Acked-by: Helge Deller Thanks! Helge Reported-by: kernel test robot Closes:

Re: [PATCH v6 1/6] fbdev/matrox: Remove trailing whitespaces

2023-05-11 Thread Helge Deller
On 5/11/23 16:27, Thomas Zimmermann wrote: But the work I do within fbdev is mostly for improving DRM. Sure. For the other issues in this file, I don't think that matroxfb should even be around any longer. Fbdev has been deprecated for a long time. But a small number of drivers are still in u

Re: [PATCH v6 1/6] fbdev/matrox: Remove trailing whitespaces

2023-05-11 Thread Helge Deller
On 5/11/23 15:10, Geert Uytterhoeven wrote: Hi Helge, On Thu, May 11, 2023 at 3:05 PM Helge Deller wrote: On 5/11/23 09:55, Thomas Zimmermann wrote: But the work I do within fbdev is mostly for improving DRM. Sure. For the other issues in this file, I don't think that matroxfb s

Re: [PATCH v6 1/6] fbdev/matrox: Remove trailing whitespaces

2023-05-11 Thread Helge Deller
On 5/11/23 09:55, Thomas Zimmermann wrote: Hi Am 10.05.23 um 20:20 schrieb Sui Jingfeng: Hi, Thomas I love your patch, yet something to improve: On 2023/5/10 19:05, Thomas Zimmermann wrote: Fix coding style. No functional changes. Signed-off-by: Thomas Zimmermann Reviewed-by: Arnd Bergma

Re: [PATCH v3 00/19] arch: Consolidate

2023-04-19 Thread Helge Deller
ough the DRM tree, if no one objects. Yes, patch is good and I've tested it on parisc. Thanks! You may add: Acked-by: Helge Deller to the series and take it through the drm tree. Helge ___ linux-snps-arc mailing list linux-snps-arc@lists.infrade

Re: [PATCH v3 19/24] parisc: Remove empty

2023-02-14 Thread Helge Deller
Reviewed-by: Philippe Mathieu-Daudé Acked-by: Helge Deller ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

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

2023-02-14 Thread Helge Deller
+++   arch/parisc/include/uapi/asm/setup.h | 2 --   2 files changed, 7 insertions(+), 2 deletions(-)   create mode 100644 arch/parisc/include/asm/setup.h Reviewed-by: Philippe Mathieu-Daudé Acked-by: Helge Deller ___ linux-snps-arc mailing

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

2022-10-18 Thread Helge Deller
x27;s remove unneeded kern_addr_valid() completely. Signed-off-by: Kefeng Wang Acked-by: Helge Deller # parisc Thanks! Helge --- arch/alpha/include/asm/pgtable.h | 2 - arch/arc/include/asm/pgtable-bits-arcv2.h | 2 - arch/arm/include/asm/pgtable-nommu.h | 2 - arc

Re: [PATCH v3 4/4] arc: Use generic dump_stack_print_cmdline() implementation

2022-10-09 Thread Helge Deller
On 10/10/22 07:18, Vineet Gupta wrote: On 8/8/22 06:09, Helge Deller wrote: The process program name and command line is now shown in generic code in dump_stack_print_info(), so drop the arc-specific implementation. Signed-off-by: Helge Deller But that info printing was added back in 2018

[PATCH v3 1/4] proc: Add get_task_cmdline_kernel() function

2022-08-08 Thread Helge Deller
which provides the cmdline for the procfs. For that the existing functions were modified so that the buffer page is allocated outside of get_mm_proctitle() and get_mm_cmdline() and instead provided as parameter. Signed-off-by: Helge Deller -- Changes in v3: - add parameter names in header files

[PATCH v3 0/4] Dump command line of faulting process to syslog

2022-08-08 Thread Helge Deller
d by kernel test robot Changes in v2: - Don't dump all or parts of the commandline depending on the kptr_restrict sysctl value (suggested by Josh Triplett). - Patch sent to more arch mailing lists Helge Deller (4): proc: Add get_task_cmdline_kernel() function lib/dump_stack: Add dump_s

[PATCH v3 2/4] lib/dump_stack: Add dump_stack_print_cmdline() and wire up in dump_stack_print_info()

2022-08-08 Thread Helge Deller
=2, and will not show the program parameters if kptr_restrict==1. Signed-off-by: Helge Deller --- include/linux/printk.h | 5 + lib/dump_stack.c | 34 ++ 2 files changed, 39 insertions(+) diff --git a/include/linux/printk.h b/include/linux/pr

[PATCH v3 4/4] arc: Use generic dump_stack_print_cmdline() implementation

2022-08-08 Thread Helge Deller
The process program name and command line is now shown in generic code in dump_stack_print_info(), so drop the arc-specific implementation. Signed-off-by: Helge Deller --- arch/arc/kernel/troubleshoot.c | 24 1 file changed, 24 deletions(-) diff --git a/arch/arc/kernel

[PATCH v3 3/4] x86/fault: Dump command line of faulting process to syslog

2022-08-08 Thread Helge Deller
7ffe97a05630 error 6 in crash[561a7969c000+1000] crash[2326] cmdline: ./crash this is a test Code: 68 ff ff ff c6 05 19 2f 00 00 01 5d c3 0f 1f 80 00 00 00 00 c3 0f 1f ... Signed-off-by: Helge Deller --- arch/x86/mm/fault.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/mm/f

Re: [PATCH 14/14] uaccess: drop set_fs leftovers

2022-02-14 Thread Helge Deller
On 2/15/22 04:03, Al Viro wrote: > On Mon, Feb 14, 2022 at 05:34:52PM +0100, Arnd Bergmann wrote: >> diff --git a/arch/parisc/include/asm/futex.h >> b/arch/parisc/include/asm/futex.h >> index b5835325d44b..2f4a1b1ef387 100644 >> --- a/arch/parisc/include/asm/futex.h >> +++ b/arch/parisc/include/as

Re: [PATCH v2] init: consolidate trap_init()

2021-08-22 Thread Helge Deller
| 5 - arch/sparc/kernel/traps_32.c | 2 +- arch/um/kernel/trap.c | 4 init/main.c| 2 ++ 15 files changed, 5 insertions(+), 63 deletions(-) For parisc: Acked-by: Helge Deller # parisc Thanks! Helge diff --git a/arch/alpha/kernel/traps.c b

Re: [PATCH v3 9/9] asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols

2021-07-26 Thread Helge Deller
version. The new name is CONFIG_ARCH_HAS_{STRNCPY_FROM,STRNLEN}_USER. The remaining architectures at the moment are: ia64, mips, parisc, s390, um and xtensa. We should probably convert these as well, but I was not sure how far to take this series. Acked-by: Helge Deller # parisc Thanks! Helge

Re: [PATCH 07/21] parisc: remove __ioremap

2019-11-05 Thread Helge Deller
On 29.10.19 07:48, Christoph Hellwig wrote: > __ioremap is always called with the _PAGE_NO_CACHE, so fold the whole > thing and rename it to ioremap. This also allows to remove the special > EISA quirk to force _PAGE_NO_CACHE. > > Signed-off-by: Christoph Hellwig Acked-by: Helge

Re: [PATCH 5/7] dma-direct: handle DMA_ATTR_NON_CONSISTENT in common code

2019-06-25 Thread Helge Deller
On 14.06.19 16:44, Christoph Hellwig wrote: > Only call into arch_dma_alloc if we require an uncached mapping, > and remove the parisc code manually doing normal cached > DMA_ATTR_NON_CONSISTENT allocations. > > Signed-off-by: Christoph Hellwig Acked-by: Helge Deller # parisc

Re: [PATCH] treewide: remove current_text_addr

2018-08-25 Thread Helge Deller
On 21.08.2018 22:28, Nick Desaulniers wrote: > Prefer _THIS_IP_ defined in linux/kernel.h. > > Most definitions of current_text_addr were the same as _THIS_IP_, but > a few archs had inline assembly instead. > > This patch removes the final call site of current_text_addr, making all > of the defi

Re: [PATCH 02/20] dma-mapping: provide a generic dma-noncoherent implementation

2018-05-18 Thread Helge Deller
On 18.05.2018 15:03, Alexey Brodkin wrote: > But the real fix of my problem is: > >8 > --- a/lib/dma-noncoherent.c > +++ b/lib/dma-noncoherent.c > @@ -35,7 +35,7 @@ static dma_addr_t dma_noncoherent_map_page(struct device

Re: common non-cache coherent direct dma mapping ops

2018-05-13 Thread Helge Deller
On 11.05.2018 09:59, Christoph Hellwig wrote: > this series continues consolidating the dma-mapping code, with a focus > on architectures that do not (always) provide cache coherence for DMA. > Three architectures (arm, mips and powerpc) are still left to be > converted later due to complexity of t

Re: [PATCH 22/22] parisc: use generic dma_noncoherent_ops

2018-04-25 Thread Helge Deller
On 25.04.2018 09:21, Christoph Hellwig wrote: > On Sat, Apr 21, 2018 at 07:43:46PM +0200, Helge Deller wrote: >> This patch breaks a 32bit kernel on a B160L machine (PA7300LC CPU, "pcxl2"). >> After applying this patch series the lasi82956 network driver works >> u

Re: [PATCH 22/22] parisc: use generic dma_noncoherent_ops

2018-04-21 Thread Helge Deller
On 20.04.2018 10:03, Christoph Hellwig wrote: > Switch to the generic noncoherent direct mapping implementation. > > Parisc previously had two different non-coherent dma ops implementation > that just different in the way coherent allocations were handled or not > handled. The different behavior