From: Michael Ellerman <mpe@ellerman.id.au>
To: Nhat Pham <nphamcs@gmail.com>, akpm@linux-foundation.org
Cc: linux-mm@kvack.org, linux-api@vger.kernel.org,
kernel-team@meta.com, linux-arch@vger.kernel.org,
hannes@cmpxchg.org, richard.henderson@linaro.org,
ink@jurassic.park.msu.ru, mattst88@gmail.com,
linux@armlinux.org.uk, geert@linux-m68k.org, monstr@monstr.eu,
tsbogend@alpha.franken.de, James.Bottomley@HansenPartnership.com,
deller@gmx.de, npiggin@gmail.com, christophe.leroy@csgroup.eu,
hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com,
borntraeger@linux.ibm.com, svens@linux.ibm.com,
ysato@users.sourceforge.jp, dalias@libc.org,
glaubitz@physik.fu-berlin.de, davem@davemloft.net,
chris@zankel.net, jcmvbkbc@gmail.com,
linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org,
linux-m68k@lists.linux-m68k.org
Subject: Re: [PATCH] cachestat: wire up cachestat for other architectures
Date: Thu, 11 May 2023 13:23:12 +1000 [thread overview]
Message-ID: <874joja6vz.fsf@mail.lhotse> (raw)
In-Reply-To: <20230510195806.2902878-1-nphamcs@gmail.com>
Nhat Pham <nphamcs@gmail.com> writes:
> cachestat is previously only wired in for x86 (and architectures using
> the generic unistd.h table):
>
> https://lore.kernel.org/lkml/20230503013608.2431726-1-nphamcs@gmail.com/
>
> This patch wires cachestat in for all the other architectures.
>
> Signed-off-by: Nhat Pham <nphamcs@gmail.com>
> ---
> arch/alpha/kernel/syscalls/syscall.tbl | 1 +
> arch/arm/tools/syscall.tbl | 1 +
> arch/ia64/kernel/syscalls/syscall.tbl | 1 +
> arch/m68k/kernel/syscalls/syscall.tbl | 1 +
> arch/microblaze/kernel/syscalls/syscall.tbl | 1 +
> arch/mips/kernel/syscalls/syscall_n32.tbl | 1 +
> arch/mips/kernel/syscalls/syscall_n64.tbl | 1 +
> arch/mips/kernel/syscalls/syscall_o32.tbl | 1 +
> arch/parisc/kernel/syscalls/syscall.tbl | 1 +
> arch/powerpc/kernel/syscalls/syscall.tbl | 1 +
With the change to the selftest (see my other mail), I tested this on
powerpc and all tests pass.
Tested-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
cheers
WARNING: multiple messages have this Message-ID (diff)
From: Michael Ellerman <mpe@ellerman.id.au>
To: Nhat Pham <nphamcs@gmail.com>, akpm@linux-foundation.org
Cc: linux-mm@kvack.org, linux-api@vger.kernel.org,
kernel-team@meta.com, linux-arch@vger.kernel.org,
hannes@cmpxchg.org, richard.henderson@linaro.org,
ink@jurassic.park.msu.ru, mattst88@gmail.com,
linux@armlinux.org.uk, geert@linux-m68k.org, monstr@monstr.eu,
tsbogend@alpha.franken.de, James.Bottomley@HansenPartnership.com,
deller@gmx.de, npiggin@gmail.com, christophe.leroy@csgroup.eu,
hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com,
borntraeger@linux.ibm.com, svens@linux.ibm.com,
ysato@users.sourceforge.jp, dalias@libc.org,
glaubitz@physik.fu-berlin.de, davem@davemloft.net,
chris@zankel.net, jcmvbkbc@gmail.com,
linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org,
linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org,
linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
linux-s390@vger.kernel.org, linux-sh@vger.kernel.org,
sparclinux@vger.kernel.org
Subject: Re: [PATCH] cachestat: wire up cachestat for other architectures
Date: Thu, 11 May 2023 13:23:12 +1000 [thread overview]
Message-ID: <874joja6vz.fsf@mail.lhotse> (raw)
In-Reply-To: <20230510195806.2902878-1-nphamcs@gmail.com>
Nhat Pham <nphamcs@gmail.com> writes:
> cachestat is previously only wired in for x86 (and architectures using
> the generic unistd.h table):
>
> https://lore.kernel.org/lkml/20230503013608.2431726-1-nphamcs@gmail.com/
>
> This patch wires cachestat in for all the other architectures.
>
> Signed-off-by: Nhat Pham <nphamcs@gmail.com>
> ---
> arch/alpha/kernel/syscalls/syscall.tbl | 1 +
> arch/arm/tools/syscall.tbl | 1 +
> arch/ia64/kernel/syscalls/syscall.tbl | 1 +
> arch/m68k/kernel/syscalls/syscall.tbl | 1 +
> arch/microblaze/kernel/syscalls/syscall.tbl | 1 +
> arch/mips/kernel/syscalls/syscall_n32.tbl | 1 +
> arch/mips/kernel/syscalls/syscall_n64.tbl | 1 +
> arch/mips/kernel/syscalls/syscall_o32.tbl | 1 +
> arch/parisc/kernel/syscalls/syscall.tbl | 1 +
> arch/powerpc/kernel/syscalls/syscall.tbl | 1 +
With the change to the selftest (see my other mail), I tested this on
powerpc and all tests pass.
Tested-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
cheers
WARNING: multiple messages have this Message-ID (diff)
From: Michael Ellerman <mpe@ellerman.id.au>
To: Nhat Pham <nphamcs@gmail.com>, akpm@linux-foundation.org
Cc: linux-mm@kvack.org, linux-api@vger.kernel.org,
kernel-team@meta.com, linux-arch@vger.kernel.org,
hannes@cmpxchg.org, richard.henderson@linaro.org,
ink@jurassic.park.msu.ru, mattst88@gmail.com,
linux@armlinux.org.uk, geert@linux-m68k.org, monstr@monstr.eu,
tsbogend@alpha.franken.de, James.Bottomley@HansenPartnership.com,
deller@gmx.de, npiggin@gmail.com, christophe.leroy@csgroup.eu,
hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com,
borntraeger@linux.ibm.com, svens@linux.ibm.com,
ysato@users.sourceforge.jp, dalias@libc.org,
glaubitz@physik.fu-berlin.de, davem@davemloft.net,
chris@zankel.net, jcmvbkbc@gmail.com,
linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org,
linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org,
linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
linux-s390@vger.kernel.org, linux-sh@vger.kernel.org,
sparclinux@vger.kernel.org
Subject: Re: [PATCH] cachestat: wire up cachestat for other architectures
Date: Thu, 11 May 2023 03:23:12 +0000 [thread overview]
Message-ID: <874joja6vz.fsf@mail.lhotse> (raw)
In-Reply-To: <20230510195806.2902878-1-nphamcs@gmail.com>
Nhat Pham <nphamcs@gmail.com> writes:
> cachestat is previously only wired in for x86 (and architectures using
> the generic unistd.h table):
>
> https://lore.kernel.org/lkml/20230503013608.2431726-1-nphamcs@gmail.com/
>
> This patch wires cachestat in for all the other architectures.
>
> Signed-off-by: Nhat Pham <nphamcs@gmail.com>
> ---
> arch/alpha/kernel/syscalls/syscall.tbl | 1 +
> arch/arm/tools/syscall.tbl | 1 +
> arch/ia64/kernel/syscalls/syscall.tbl | 1 +
> arch/m68k/kernel/syscalls/syscall.tbl | 1 +
> arch/microblaze/kernel/syscalls/syscall.tbl | 1 +
> arch/mips/kernel/syscalls/syscall_n32.tbl | 1 +
> arch/mips/kernel/syscalls/syscall_n64.tbl | 1 +
> arch/mips/kernel/syscalls/syscall_o32.tbl | 1 +
> arch/parisc/kernel/syscalls/syscall.tbl | 1 +
> arch/powerpc/kernel/syscalls/syscall.tbl | 1 +
With the change to the selftest (see my other mail), I tested this on
powerpc and all tests pass.
Tested-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
cheers
WARNING: multiple messages have this Message-ID (diff)
From: Michael Ellerman <mpe@ellerman.id.au>
To: Nhat Pham <nphamcs@gmail.com>, akpm@linux-foundation.org
Cc: dalias@libc.org, linux-ia64@vger.kernel.org,
linux-sh@vger.kernel.org, linux-mips@vger.kernel.org,
James.Bottomley@HansenPartnership.com, linux-mm@kvack.org,
sparclinux@vger.kernel.org, agordeev@linux.ibm.com,
linux-arch@vger.kernel.org, linux-s390@vger.kernel.org,
ysato@users.sourceforge.jp, deller@gmx.de, linux@armlinux.org.uk,
geert@linux-m68k.org, mattst88@gmail.com,
borntraeger@linux.ibm.com, linux-alpha@vger.kernel.org,
gor@linux.ibm.com, hca@linux.ibm.com, kernel-team@meta.com,
richard.henderson@linaro.org, npiggin@gmail.com,
linux-m68k@lists.linux-m68k.org, ink@jurassic.park.msu.ru,
glaubitz@physik.fu-berlin.de,
linux-arm-kernel@lists.infradead.org, chris@zankel.net,
monstr@monstr.eu, tsbogend@alpha.franken.de,
linux-parisc@vger.kernel.org, jcmvbkbc@gmail.com,
linux-api@vger.kernel.org, linux-kernel@vger.kernel.org,
svens@linux.ibm.com, hannes@cmpxchg.org,
linuxppc-dev@lists.ozlabs.org, davem@davemloft.net
Subject: Re: [PATCH] cachestat: wire up cachestat for other architectures
Date: Thu, 11 May 2023 13:23:12 +1000 [thread overview]
Message-ID: <874joja6vz.fsf@mail.lhotse> (raw)
In-Reply-To: <20230510195806.2902878-1-nphamcs@gmail.com>
Nhat Pham <nphamcs@gmail.com> writes:
> cachestat is previously only wired in for x86 (and architectures using
> the generic unistd.h table):
>
> https://lore.kernel.org/lkml/20230503013608.2431726-1-nphamcs@gmail.com/
>
> This patch wires cachestat in for all the other architectures.
>
> Signed-off-by: Nhat Pham <nphamcs@gmail.com>
> ---
> arch/alpha/kernel/syscalls/syscall.tbl | 1 +
> arch/arm/tools/syscall.tbl | 1 +
> arch/ia64/kernel/syscalls/syscall.tbl | 1 +
> arch/m68k/kernel/syscalls/syscall.tbl | 1 +
> arch/microblaze/kernel/syscalls/syscall.tbl | 1 +
> arch/mips/kernel/syscalls/syscall_n32.tbl | 1 +
> arch/mips/kernel/syscalls/syscall_n64.tbl | 1 +
> arch/mips/kernel/syscalls/syscall_o32.tbl | 1 +
> arch/parisc/kernel/syscalls/syscall.tbl | 1 +
> arch/powerpc/kernel/syscalls/syscall.tbl | 1 +
With the change to the selftest (see my other mail), I tested this on
powerpc and all tests pass.
Tested-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
cheers
next prev parent reply other threads:[~2023-05-11 3:23 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-10 19:58 [PATCH] cachestat: wire up cachestat for other architectures Nhat Pham
2023-05-10 19:58 ` Nhat Pham
2023-05-10 19:58 ` Nhat Pham
2023-05-10 19:58 ` Nhat Pham
2023-05-11 3:23 ` Michael Ellerman [this message]
2023-05-11 3:23 ` Michael Ellerman
2023-05-11 3:23 ` Michael Ellerman
2023-05-11 3:23 ` Michael Ellerman
2023-05-11 19:34 ` Nhat Pham
2023-05-11 19:34 ` Nhat Pham
2023-05-11 19:34 ` Nhat Pham
2023-05-11 19:34 ` Nhat Pham
[not found] ` <20230510195806.2902878-1-nphamcs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-05-11 7:01 ` Geert Uytterhoeven
2023-05-11 7:01 ` Geert Uytterhoeven
2023-05-11 7:01 ` Geert Uytterhoeven
2023-05-11 7:01 ` Geert Uytterhoeven
2023-05-11 9:01 ` Nhat Pham
2023-05-11 9:01 ` Nhat Pham
2023-05-11 9:01 ` Nhat Pham
2023-05-11 9:01 ` Nhat Pham
2023-05-11 7:04 ` Arnd Bergmann
2023-05-11 7:04 ` Arnd Bergmann
2023-05-11 7:04 ` Arnd Bergmann
2023-05-11 7:04 ` Arnd Bergmann
[not found] ` <0d8e2503-5d4f-4b60-84ff-01a23bcf557f-fsFgPW9xikU7lZ9V/NTDHw@public.gmane.org>
2023-05-11 9:30 ` Nhat Pham
2023-05-11 9:30 ` Nhat Pham
2023-05-11 9:30 ` Nhat Pham
2023-05-11 9:30 ` Nhat Pham
2023-05-11 7:57 ` Heiko Carstens
2023-05-11 7:57 ` Heiko Carstens
2023-05-11 7:57 ` Heiko Carstens
2023-05-11 7:57 ` Heiko Carstens
2023-05-11 9:28 ` [PATCH] arm64: wire up cachestat for arm64 Nhat Pham
2023-05-11 10:29 ` Arnd Bergmann
2023-05-12 10:42 ` Catalin Marinas
2023-05-12 21:15 ` Andrew Morton
2023-05-12 21:47 ` Nhat Pham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874joja6vz.fsf@mail.lhotse \
--to=mpe@ellerman.id.au \
--cc=James.Bottomley@HansenPartnership.com \
--cc=agordeev@linux.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=borntraeger@linux.ibm.com \
--cc=chris@zankel.net \
--cc=christophe.leroy@csgroup.eu \
--cc=dalias@libc.org \
--cc=davem@davemloft.net \
--cc=deller@gmx.de \
--cc=geert@linux-m68k.org \
--cc=glaubitz@physik.fu-berlin.de \
--cc=gor@linux.ibm.com \
--cc=hannes@cmpxchg.org \
--cc=hca@linux.ibm.com \
--cc=ink@jurassic.park.msu.ru \
--cc=jcmvbkbc@gmail.com \
--cc=kernel-team@meta.com \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-api@vger.kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=linux-mm@kvack.org \
--cc=linux@armlinux.org.uk \
--cc=mattst88@gmail.com \
--cc=monstr@monstr.eu \
--cc=nphamcs@gmail.com \
--cc=npiggin@gmail.com \
--cc=richard.henderson@linaro.org \
--cc=svens@linux.ibm.com \
--cc=tsbogend@alpha.franken.de \
--cc=ysato@users.sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.