Re: next: arc: defconfig - gcc-9 - mmu-arcv2.h:82:2: error: implicit declaration of function 'write_aux_reg' [-Werror=implicit-function-declaration]

2024-03-27 Thread Vineet Gupta
On 3/25/24 23:39, Naresh Kamboju wrote: > The following arc defconfig build warnings / errors noticed on today's > Linux next-20240326 tag. > > Regressions: > * arc - defconfig - gcc-9 build failed. > > Reported-by: Linux Kernel Functional Testing > > Build log: > - >

[PATCH 1/2] ARC: Fix -Wmissing-prototypes warnings

2024-03-27 Thread Vineet Gupta
| ../arch/arc/kernel/kprobes.c:193:15: warning: no previous prototype for 'arc_kprobe_handler' [-Wmissing-prototypes] | 193 | int __kprobes arc_kprobe_handler(unsigned long addr, struct pt_regs *regs) | |../arch/arc/kernel/ptrace.c:342:16: warning: no previous prototype for

[PATCH 0/2] ARC minor fixes

2024-03-27 Thread Vineet Gupta
Some fixlets for ARC. Vineet Gupta (2): ARC: Fix -Wmissing-prototypes warnings ARC: mm: fix new code about cache aliasing arch/arc/Kconfig | 1 - arch/arc/include/asm/cachetype.h | 9 - arch/arc/include/asm/ptrace.h| 2 +- arch/arc/kernel/kprobes.c| 7

[PATCH 2/2] ARC: mm: fix new code about cache aliasing

2024-03-27 Thread Vineet Gupta
Manual/partial revert of 8690bbcf3b70 ("Introduce cpu_dcache_is_aliasing() across all architectures") Current generation of ARCv2/ARCv3 based HSxx cores are only PIPT (to software at least). Legacy ARC700 cpus could be VIPT aliasing (based on cache geometry and PAGE_SIZE) however recently that

recent kernel warning

2024-03-27 Thread Vineet Gupta
Alexey, Can you have someone look at the following kernel warning:   DTC arch/arc/boot/dts/hsdk.dtb ../arch/arc/boot/dts/hsdk.dts:207.23-235.5: Warning (interrupt_provider): /soc/ethernet@8000: '#interrupt-cells' found, but node is not an interrupt provider arch/arc/boot/dts/hsdk.dtb:

[PATCH v2 0/3] arch: Remove fbdev dependency from video helpers

2024-03-27 Thread Thomas Zimmermann
Make architecture helpers for display functionality depend on general video functionality instead of fbdev. This avoids the dependency on fbdev and makes the functionality available for non-fbdev code. Patch 1 replaces the variety of Kconfig options that control the Makefiles with CONFIG_VIDEO.

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

2024-03-27 Thread Thomas Zimmermann
The per-architecture fbdev code has no dependencies on fbdev and can be used for any video-related subsystem. Rename the files to 'video'. Use video-sti.c on parisc as the source file depends on CONFIG_STI_CORE. Further update all includes statements, includ guards, and Makefiles. Also update a

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

2024-03-27 Thread Thomas Zimmermann
Various Kconfig options selected the per-architecture helpers for fbdev. But none of the contained code depends on fbdev. Standardize on CONFIG_VIDEO, which will allow to add more general helpers for video functionality. CONFIG_VIDEO protects each architecture's video/ directory. This allows for

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

2024-03-27 Thread Thomas Zimmermann
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 video_is_primary_device(). The new helper is similar in functionality, but can operate on non-fbdev devices. Signed-off-by: Thomas