mbox series

[0/5] ARC updates

Message ID 20231209003307.480051-1-vgupta@kernel.org
Headers show
Series ARC updates | expand

Message

Vineet Gupta Dec. 9, 2023, 12:33 a.m. UTC
Hi,

A pile of accrued changes, compile tested only.
Please test.

Thx,
-Vineet

Vineet Gupta (5):
  ARC: entry: SAVE_ABI_CALLEE_REG: ISA/ABI specific helper
  ARC: entry: move ARCompact specific bits out of entry.h
  ARC: mm: retire support for aliasing VIPT D$
  ARC: fix spare error
  ARC: fix smatch warning

 arch/arc/Kconfig                     |   5 -
 arch/arc/include/asm/cacheflush.h    |  43 ---------
 arch/arc/include/asm/entry-arcv2.h   |  32 +++++++
 arch/arc/include/asm/entry-compact.h |  87 ++++++++++++++++-
 arch/arc/include/asm/entry.h         | 110 +---------------------
 arch/arc/include/asm/ptrace.h        |  14 +--
 arch/arc/kernel/setup.c              |   4 +-
 arch/arc/kernel/signal.c             |   6 +-
 arch/arc/mm/cache.c                  | 136 ++-------------------------
 arch/arc/mm/mmap.c                   |  21 +----
 arch/arc/mm/tlb.c                    |  16 +---
 11 files changed, 148 insertions(+), 326 deletions(-)

Comments

Pavel Kozlov Dec. 11, 2023, 5:38 p.m. UTC | #1
Hi Vineet,

> A pile of accrued changes, compile tested only.
> Please test.

> Thx,
> -Vineet

I'm testing you patches. At first glance everything is fine, no obvious
regressions.

But I've found an ARC build issue with the latest upstream source
(tag: v6.7-rc5). It is not linked with your updates.
The build issue occurs when the CONFIG_TRANSPARENT_HUGEPAGE option
is enabled:

| ../fs/proc/task_mmu.c: In function ‘pagemap_scan_thp_entry’:
| ../fs/proc/task_mmu.c:2115:28: error: ‘HPAGE_SIZE’ undeclared (first use in this function); did you mean ‘PAGE_SIZE’?
|  2115 |         if (end != start + HPAGE_SIZE) {
|       |                            ^~~~~~~~~~
|       |                            PAGE_SIZE
| ../fs/proc/task_mmu.c:2115:28: note: each undeclared identifier is reported only once for each function it appears in
| make[4]: *** [../scripts/Makefile.build:243: fs/proc/task_mmu.o] Error 1
| make[3]: *** [../scripts/Makefile.build:480: fs/proc] Error 2

May be you could address this issue in your updates too?

Thanks
Pavel