Re: [PATCH 3/3] xtensa: Remove 64 bits atomic builtins stubs

2023-05-12 Thread Max Filippov
n > 32 bits architectures. > > Then they can be removed. > > Signed-off-by: Christophe Leroy > --- > arch/xtensa/lib/Makefile | 2 -- > arch/xtensa/lib/kcsan-stubs.c | 54 --- > 2 files changed, 56 deletions(-) > delete mode 10064

Re: [PATCH 02/21] xtensa: dma-mapping: use normal cache invalidation rules

2023-03-27 Thread Max Filippov
; arch/xtensa/kernel/pci-dma.c | 29 +------- > 3 files changed, 8 insertions(+), 28 deletions(-) Reviewed-by: Max Filippov -- Thanks. -- Max

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

2023-03-23 Thread Max Filippov
gt; Signed-off-by: Mike Rapoport (IBM) > --- > arch/xtensa/Kconfig | 16 +--- > 1 file changed, 9 insertions(+), 7 deletions(-) Reviewed-by: Max Filippov -- Thanks. -- Max

Re: [PATCH v2 19/24] xtensa/cpu: Make sure cpu_die() doesn't return

2023-02-14 Thread Max Filippov
On Tue, Feb 14, 2023 at 10:23 AM Josh Poimboeuf wrote: > On Tue, Feb 14, 2023 at 08:55:32AM +0100, Philippe Mathieu-Daudé wrote: > > Can you update the documentation along? Currently we have: > > > > /* > >* Called from the idle thread for the CPU which has been shutdown. > >* > >*

Re: [PATCH v3 21/24] xtensa: Remove empty

2023-02-14 Thread Max Filippov
On Tue, Feb 14, 2023 at 12:11 AM Alexandre Ghiti wrote: > > From: Palmer Dabbelt > > Signed-off-by: Palmer Dabbelt > --- > arch/xtensa/include/uapi/asm/setup.h | 15 --- > 1 file changed, 15 deletions(-) > delete mode 100644 arch/xtensa/include/uapi/as

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

2023-02-14 Thread Max Filippov
clude/asm/setup.h | 17 + > arch/xtensa/include/uapi/asm/setup.h | 2 -- > 2 files changed, 17 insertions(+), 2 deletions(-) > create mode 100644 arch/xtensa/include/asm/setup.h Acked-by: Max Filippov -- Thanks. -- Max

Re: [PATCH v2 20/24] xtensa/cpu: Mark cpu_die() __noreturn

2023-02-14 Thread Max Filippov
insertion(+), 1 deletion(-) Acked-by: Max Filippov -- Thanks. -- Max

Re: [PATCH v4 2/7] xtensa: kcsan: Remove kcsan stubs for atomic builtins

2023-02-07 Thread Max Filippov
, 1 insertion(+), 59 deletions(-) > delete mode 100644 arch/xtensa/lib/kcsan-stubs.c Acked-by: Max Filippov -- Thanks. -- Max

Re: [PATCH v4 1/7] kcsan: Add atomic builtin stubs for 32-bit systems

2023-02-07 Thread Max Filippov
> 2 files changed, 81 insertions(+) > create mode 100644 kernel/kcsan/stubs.c Reviewed-by: Max Filippov -- Thanks. -- Max

Re: [RFC PATCH 1/2] asm-generic: Remove pci.h copying code out to architectures

2022-07-14 Thread Max Filippov
On Thu, Jul 14, 2022 at 2:47 PM Stafford Horne wrote: > > The generic pci.h header provides a definition of pci_get_legacy_ide_irq > which is used by architectures that use PC-style interrupt numbers. > > This patch removes the old pci.h in order to make room for a new > pci.h to be used by

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

2022-05-27 Thread Max Filippov
> > Another thing to mention is that mm_account_fault() does take this new > fault as a generic fault to be accounted, unlike VM_FAULT_RETRY. > > I explicitly didn't touch hmm_vma_fault() 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 > --- > > v3: > - Rebase to akpm/mm-unstable > - Copy arch maintainers > --- For xtensa: Acked-by: Max Filippov -- Thanks. -- Max

Re: [PATCH 21/30] panic: Introduce the panic pre-reboot notifier list

2022-04-29 Thread Max Filippov
the IPMI panic_event()] > due to the risks they offer (may not return, for example). > Proper documentation is going to be provided in a subsequent patch, > that effectively refactors the panic path. [...] > arch/xtensa/platforms/iss/setup.c | 4 ++--For xtensa: For xtensa: Acked-by: Max Filippov -- Thanks. -- Max

Re: [PATCH 1/1] futex: Wireup futex_waitv syscall

2021-11-24 Thread Max Filippov
all.tbl | 1 + > 8 files changed, 8 insertions(+) For xtensa: Acked-by: Max Filippov -- Thanks. -- Max

Re: [PATCH 2/3] trace: refactor TRACE_IRQFLAGS_SUPPORT in Kconfig

2021-08-02 Thread Max Filippov
On Fri, Jul 30, 2021 at 10:24 PM Masahiro Yamada wrote: > > Make architectures select TRACE_IRQFLAGS_SUPPORT instead of > having many defines. > > Signed-off-by: Masahiro Yamada > --- > arch/xtensa/Kconfig | 4 +--- Acked-by: Max Filippov -- Thanks. -- Max

Re: [PATCH] mm/memtest: Add ARCH_USE_MEMTEST

2021-02-04 Thread Max Filippov
; Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: Chris Zankel > Cc: Max Filippov > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-m...@vger.kernel.org > Cc: linuxppc-dev@lists.ozlabs.org > Cc: linux-xte...@linux-xtensa.org > Cc: linux...@kvack.org > Cc: linux-ker...@vger

Re: [PATCH 00/15] selftests/seccomp: Refactor change_syscall()

2020-09-15 Thread Max Filippov
On Mon, Sep 14, 2020 at 1:32 PM Kees Cook wrote: > On Mon, Sep 14, 2020 at 10:15:18PM +1000, Michael Ellerman wrote: > > Kees Cook writes: > However... > > > > > cheers > > > > > > ./seccomp_bpf > > TAP version 13 > > 1..86 > > # Starting 86 tests from 7 test cases. > > # RUN

Re: [PATCH 00/15] selftests/seccomp: Refactor change_syscall()

2020-09-15 Thread Max Filippov
Hello, On Sat, Sep 12, 2020 at 4:08 AM Kees Cook wrote: > This refactors the seccomp selftest macros used in change_syscall(), > in an effort to remove special cases for mips, arm, arm64, and xtensa, > which paves the way for powerpc fixes. > > I'm not entirely done testing, but all-arch build

Re: [PATCH 03/15] arm, xtensa: simplify initialization of high memory pages

2020-07-28 Thread Max Filippov
- > arch/xtensa/mm/init.c | 55 --- > 2 files changed, 18 insertions(+), 85 deletions(-) For the xtensa part: Reviewed-by: Max Filippov Tested-by: Max Filippov -- Thanks. -- Max

Re: [PATCH v2 25/29] xtensa: Move EXCEPTION_TABLE to RO_DATA segment

2019-10-14 Thread Max Filippov
On Thu, Oct 10, 2019 at 5:16 PM Kees Cook wrote: > > Since the EXCEPTION_TABLE is read-only, collapse it into RO_DATA. > > Signed-off-by: Kees Cook > --- > arch/xtensa/kernel/vmlinux.lds.S | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Acked-by: Max Filippov -- Thanks. -- Max

Re: [PATCH 5/6 v3] syscalls: Remove start and number from syscall_get_arguments() args

2019-04-04 Thread Max Filippov
ases that are never used, simply rewrite it to return the first 6 > arguments of a system call. > > This should help out the performance of tracing system calls by ptrace, > ftrace and perf. [...] > arch/xtensa/include/asm/syscall.h | 16 ++ For xtensa changes: Acked-by: Max Filippov -- Thanks. -- Max

Re: [PATCH 6/6 v3] syscalls: Remove start and number from syscall_set_arguments() args

2019-04-04 Thread Max Filippov
ers of syscall_set_arguments(). But we are told that > there will be soon. But for now, at least make it consistent with > syscall_get_arguments(). [...] > arch/xtensa/include/asm/syscall.h | 17 ++----- For xtensa changes: Acked-by: Max Filippov -- Thanks. -- Max

Re: [PATCH v2 19/21] treewide: add checks for the return value of memblock_alloc*()

2019-01-31 Thread Max Filippov
> arch/xtensa/mm/kasan_init.c | 4 ++++ > arch/xtensa/mm/mmu.c | 3 +++ For xtensa: Acked-by: Max Filippov -- Thanks. -- Max

Re: [PATCH 4/8] PCI: consolidate PCI config entry in drivers/pci

2018-10-18 Thread Max Filippov
onfig > @@ -4,7 +4,7 @@ CONFIG_EXPERT=y > CONFIG_SYSCTL_SYSCALL=y > # CONFIG_IOSCHED_DEADLINE is not set > # CONFIG_IOSCHED_CFQ is not set > -# CONFIG_PCI is not set > +CONFIG_PCI=y This change doesn't make sense as there's no PCI hardware in the Xtensa ISS. Otherwise for the Xt

Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in NMI

2015-11-27 Thread Max Filippov
Hi Peter, On Fri, Nov 27, 2015 at 2:09 PM, Petr Mladek wrote: > printk() takes some locks and could not be used a safe way in NMI > context. > > The chance of a deadlock is real especially when printing > stacks from all CPUs. This particular problem has been addressed > on x86

Re: [PATCH v3] arch: Kconfig: Let all architectures set endian explicitly

2014-08-14 Thread Max Filippov
Hi Chen, On Thu, Aug 14, 2014 at 8:54 PM, Chen Gang gang.chen.5...@gmail.com wrote: Normal architectures: - Big endian: avr32, frv, m68k, openrisc, parisc, s390, sparc - Little endian: alpha, blackfin, cris, hexagon, ia64, metag, mn10300, score, unicore32, x86 -

Re: [PATCH v3] arch: Kconfig: Let all architectures set endian explicitly

2014-08-14 Thread Max Filippov
On Fri, Aug 15, 2014 at 5:47 AM, Max Filippov jcmvb...@gmail.com wrote: Hi Chen, On Thu, Aug 14, 2014 at 8:54 PM, Chen Gang gang.chen.5...@gmail.com wrote: Normal architectures: - Big endian: avr32, frv, m68k, openrisc, parisc, s390, sparc - Little endian: alpha, blackfin, cris, hexagon

Re: [PATCH v2 00/21] FDT clean-ups and libfdt support

2014-04-23 Thread Max Filippov
test! I've compiled on arm, arm64, mips, microblaze, xtensa, and powerpc and booted on arm and arm64. Rob [1] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git libfdt For xtensa: Tested-by: Max Filippov jcmvb...@gmail.com -- Thanks. -- Max