From patchwork Mon Jun 24 16:37:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13709858 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D28B19DFB7; Mon, 24 Jun 2024 16:38:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719247086; cv=none; b=DU95ixqXiLO48dCI7y6QYlO6w1BbOFeF62rikG6Ay4w7pJ9kll7xuRfQQDC2tHw1T8q9nAuD1t3KaR7+0WsiAqqzSZ3xhN8f4gy2OhFM9VCzUnhDbWONMcbuQ+cqC/sgVUatuNV4M6tAxKQBiKY6KbIS11i5+8EFdu0mebAMRoI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719247086; c=relaxed/simple; bh=Yld920r0RtbTIWfv/K1ktHHZa1x6/WlhOuqRmTTIL9g=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sjbnp4Fqi06IlbYkwHOTVaT2du/QWSXqeeMffS/fVnFloU+fUetHuCHRgFdps3C5V05FjaTJCgiYWFV1I4qoVHTAPZm4OBIQ5IxRwy7kqoq+GALpMMstxKlhSy0Aq/hcC99ecBfNxbQfU9eGgtv2xefbPM1Xd9sJAZ5Ehs2lxs8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MA6YpC9s; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MA6YpC9s" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0311C32782; Mon, 24 Jun 2024 16:37:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719247085; bh=Yld920r0RtbTIWfv/K1ktHHZa1x6/WlhOuqRmTTIL9g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MA6YpC9sVzdIMJY3yXUezOn7PWETZcYbL4g92f5UEGH/ghpkrvEpRPe/fgJNLMgN9 hOL+qz18JG5TgRhwrcDox6o9KKI3eevrpi+uBBtkJprjHPQuwBx8sUESyzmF3RGeGY bj5pY+QIBImJzQgsbGwEkrp9DhhueyIq4pSdTcbnYyT7AKeP0/foYukmbb3Ju3s/NW zL91vrxot7tRj6MYRhxQ2eJIH0S/qg/ZUwIVJQ6/A6OOCJw2sN/itlx8n9p61bnANH UbFnUG6/quwSk/GMr4J0EB8UJ1+CtRon5YM3caHcyVJQoPyOhwNXCawgGGqaM/fEgs Tz2THC1+GpIlA== From: Arnd Bergmann To: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Arnd Bergmann , Thomas Bogendoerfer , linux-mips@vger.kernel.org, Helge Deller , linux-parisc@vger.kernel.org, "David S. Miller" , Andreas Larsson , sparclinux@vger.kernel.org, Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Naveen N . Rao" , linuxppc-dev@lists.ozlabs.org, Brian Cain , linux-hexagon@vger.kernel.org, Guo Ren , linux-csky@vger.kernel.org, Heiko Carstens , linux-s390@vger.kernel.org, Rich Felker , John Paul Adrian Glaubitz , linux-sh@vger.kernel.org, "H. Peter Anvin" , Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, libc-alpha@sourceware.org, musl@lists.openwall.com Subject: [PATCH v2 07/13] powerpc: restore some missing spu syscalls Date: Mon, 24 Jun 2024 18:37:05 +0200 Message-Id: <20240624163707.299494-8-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240624163707.299494-1-arnd@kernel.org> References: <20240624163707.299494-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Arnd Bergmann A couple of system calls were inadventently removed from the table during a bugfix for 32-bit powerpc entry. Restore the original behavior. Fixes: e23750623835 ("powerpc/32: fix syscall wrappers with 64-bit arguments of unaligned register-pairs") Acked-by: Michael Ellerman Signed-off-by: Arnd Bergmann --- arch/powerpc/kernel/syscalls/syscall.tbl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/powerpc/kernel/syscalls/syscall.tbl b/arch/powerpc/kernel/syscalls/syscall.tbl index c6b0546b284d..ebae8415dfbb 100644 --- a/arch/powerpc/kernel/syscalls/syscall.tbl +++ b/arch/powerpc/kernel/syscalls/syscall.tbl @@ -230,8 +230,10 @@ 178 nospu rt_sigsuspend sys_rt_sigsuspend compat_sys_rt_sigsuspend 179 32 pread64 sys_ppc_pread64 compat_sys_ppc_pread64 179 64 pread64 sys_pread64 +179 spu pread64 sys_pread64 180 32 pwrite64 sys_ppc_pwrite64 compat_sys_ppc_pwrite64 180 64 pwrite64 sys_pwrite64 +180 spu pwrite64 sys_pwrite64 181 common chown sys_chown 182 common getcwd sys_getcwd 183 common capget sys_capget @@ -246,6 +248,7 @@ 190 common ugetrlimit sys_getrlimit compat_sys_getrlimit 191 32 readahead sys_ppc_readahead compat_sys_ppc_readahead 191 64 readahead sys_readahead +191 spu readahead sys_readahead 192 32 mmap2 sys_mmap2 compat_sys_mmap2 193 32 truncate64 sys_ppc_truncate64 compat_sys_ppc_truncate64 194 32 ftruncate64 sys_ppc_ftruncate64 compat_sys_ppc_ftruncate64 @@ -293,6 +296,7 @@ 232 nospu set_tid_address sys_set_tid_address 233 32 fadvise64 sys_ppc32_fadvise64 compat_sys_ppc32_fadvise64 233 64 fadvise64 sys_fadvise64 +233 spu fadvise64 sys_fadvise64 234 nospu exit_group sys_exit_group 235 nospu lookup_dcookie sys_ni_syscall 236 common epoll_create sys_epoll_create