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: 807055 Delivered-To: patch@linaro.org Received: by 2002:a5d:508d:0:b0:362:4979:7f74 with SMTP id a13csp1971170wrt; Mon, 24 Jun 2024 09:41:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVyTnVBweXXdubQLCwRVECu3ke0kHqJwPY6aYwud3wewMdGBkG1ZjN4ybZ9bZC3jfEb7XjMyEHtoqOftwjS+OED X-Google-Smtp-Source: AGHT+IGkAxpZTXQfXvyfCXNYKGq/ZdDvulDa+hpaxNDTCYnTolHjoe+4wEFZ7MkcSO8G2OwQyURt X-Received: by 2002:a0c:9ccd:0:b0:6b0:90d8:b698 with SMTP id 6a1803df08f44-6b540aaa89cmr56262706d6.45.1719247264665; Mon, 24 Jun 2024 09:41:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1719247264; cv=pass; d=google.com; s=arc-20160816; b=nI8+KzKDiVF69roMPIAF1CaO2E78ynEKok/xNX8gnbkOsX9SRrqWVj3HiaUqH2Bg4k Z+xmxBsj3k7CA3JJAvudz5i9+Jo9+Hvuo9HZewh7mYPOum2Sqpp6qBttAcKIk9c0UbHa D8bSxoP7nOVC3OtV5uRGBOz2cjhnpLrGMpEa//nsIDkSjmm5xWcj/DH9ubkEk1JxzXVo hqA+uz3WFTtZaXsNgiD72oJga5Agy4H8ivJK9U2Lm3uCpfYcTMwUru5ZS/QloP219R+r ztxd65HxbVZqn1nTjaUsNjSch+kBHBZ3Wz5JKSXjEFikXn2zcm1zeRniXSXsgJEUhcml LoIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=wvuUenFI67i07kBWu5kpMvKwTk1/pJhCaZAuWD332Yg=; fh=/Leaim49jCG8ThqCg/tR+89kmuUv50DlIGS8+FtXxW8=; b=aiFf7UbNH7S0W60fVgKPHKBjuZXzWdbqPzHHUYiZ9BJ6xkSO2FZw6VYaaGbNbVa/3y K7DpclpNItGGwJXu5aI6hpWdnQ3OfG/A38eexWcgzdQX9fi0AlHyrgpGEAWeabuTe84W P5zc3YGU+QkPn1PLy75Fb17QbooCU8VNZoNwEXbSbwMrQk+p8BvcDSGddw8CIgGWx1iP ToGKNijoGsLTPnXneNDhIzXfw+8LQkq9DpmtS797cZkNfb/ttgNG8799w7hmgpQpPRUW 3/fQDlNBfcYyA3zAtsbN6+RiUUgAi5YJVKJDmdnI0wdl3HzPeH3/0NAnKme76hVmVgJ6 yMrQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MA6YpC9s; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id 6a1803df08f44-6b51eceb7c3si84865186d6.34.2024.06.24.09.41.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jun 2024 09:41:04 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MA6YpC9s; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4E130384B03F for ; Mon, 24 Jun 2024 16:41:04 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by sourceware.org (Postfix) with ESMTPS id 56F7E386546B for ; Mon, 24 Jun 2024 16:38:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 56F7E386546B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 56F7E386546B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=139.178.84.217 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719247088; cv=none; b=og1wJxfTW47YDAprrQA6Ab0ZiJEqT5pb4NDoH7WH639xHrwGfM90sP3nJWz5YyDpyrKLt19deil6SsZx5zxlqKeLul5r7oKkHstojasytc7Shk7J34Mfxq+9VM/NIqSnrzh4SQ6aTKlef9+UPJVOlgm837vkRkVO1IwepK6V+PM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719247088; c=relaxed/simple; bh=Yld920r0RtbTIWfv/K1ktHHZa1x6/WlhOuqRmTTIL9g=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=OkwXDIhi6GUq1BsLDRT3ekNSYu264911TbgN0Bxf/dOmIAhAJIKCH7cObAe2RWL7I0P3v7tSyK/hG20uvC+d+jN54nLq/oqAoeHg3y+eeRb523/CsdDNfV6ukO9IHVfUu1dgtAntKoxpJZMdAAmgk5D5K9He1R3Umzqr8vkLIPU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 0185660DFC; Mon, 24 Jun 2024 16:38:06 +0000 (UTC) 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> MIME-Version: 1.0 X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patch=linaro.org@sourceware.org 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