Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2040991pxu; Fri, 18 Dec 2020 04:13:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyK6a+yvTEVdDxvYCUB7PSVRQVGkEVb4DhpowRDZ1RrwsDfcoGFn/OC+k0mBAEmBZ/RyIua X-Received: by 2002:a17:906:a48:: with SMTP id x8mr3674237ejf.444.1608293583541; Fri, 18 Dec 2020 04:13:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608293583; cv=none; d=google.com; s=arc-20160816; b=cx5ZHY7HKJvj8Rg3EcDf5q+XD/kiDCQZj3Mjx9n7CUre6P4/7uHE5sdrNtO23lC6fZ qFCoACld82ot2xKXgmnO2499oFdPkjzRaQjh4K8Ahk+hXa47zrLaiaHGqNcjeWPI+DWJ dQC/lK+XHhEbajQwg8Ih0VWZaQyuS+3FFZEip8A9PNf+7u7SzfCLz1Yd0NGYjJSMECPc y2yaGxBkefizMvMP4OcdbuPd5xR0YA/xydmy/Gw6cbyRvGo//dKsYwJQOT9tTv+8ZtSK huYqv77LtmARFu2uLH2Qh0Do799aie/VR+P6zahgnYxB96Dr2jemfAjL5A2OR9Xc0jZO DazA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=iItfebjVUtH6D5GSbpYpDtroZ106usBCn8PYWNkYMdc=; b=0vIrKFmK/obG4cgK4BMNsnxN7sTsMEvpZlKT4bGuocAZoDel+0DI94Nq/PGizE/92P ch0M0dD1ob9lNFQmvlAQ6Y5YQZ+8yKce7Fq/OIoVoMXgoGv4HoY1cAzVdsDAEbPf/znu wIpaN0VgimWqmuacOV1NNc5+1g9YYFk4RfiVWtw+6eFOAPeGY//aKPLZN5JD4JERuOjV Btl3ybcyPpXL7n0PQIUgLHV+S/5R+QWcbvgQd+thfJh57oddQwm3Hv2ajEf5w5ypL7CC WU1JgSHBkqk079H0EJKCzWTjU4iOTMVr8cSR3zOr1i2cLQiE7BaCa9xNk4uPxDyIKA7x Z7qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u2Yw+uI8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v18si4556299ejb.13.2020.12.18.04.12.40; Fri, 18 Dec 2020 04:13:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u2Yw+uI8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726148AbgLRLcg (ORCPT + 99 others); Fri, 18 Dec 2020 06:32:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:48710 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725710AbgLRLcf (ORCPT ); Fri, 18 Dec 2020 06:32:35 -0500 Date: Fri, 18 Dec 2020 08:32:09 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608291114; bh=vgj+lu9Xy21UHCvYQuyDBumcV+RLtxLTw1h5/m6Sl+g=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=u2Yw+uI8dV/gAqX0yuW7eOeaexFlXMPPN0gDrC5tAfyT8DRdVjd89/sPEr9sabCAQ LmXmiPaaOJGt5pSdNBqLX+XyEvX7pGqFEX9oRdww0xOIbvXK04qnNkFVz66rDgk9dW /ayASQEP3GSu+zDwPaxSCmHtqVqEUIAid/1je/Mj4GbhvSAwioAro/PBF1UcTAgFda uiEqeOCA+t4ApY3Xyuj7oFhg4DIF62MeyD5VGRkElw/Fr5Ip8f6lhEmoEiSbUrmF2O iny5k4WNQNt7FhvpW8nAluOsbIQJTSP6drnJpjnG4TX/dp51s9OoKHMAvgC4a2MLeo 1tlxr+bFpN7HA== From: Arnaldo Carvalho de Melo To: Ravi Bangoria , "Naveen N. Rao" Cc: Tiezhu Yang , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org, Xuefeng Li Subject: Re: [PATCH 3/4] perf tools: Update powerpc's syscall.tbl Message-ID: <20201218113209.GD325926@kernel.org> References: <1608278364-6733-1-git-send-email-yangtiezhu@loongson.cn> <1608278364-6733-4-git-send-email-yangtiezhu@loongson.cn> <20201218112659.GB325926@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201218112659.GB325926@kernel.org> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Dec 18, 2020 at 08:26:59AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Dec 18, 2020 at 03:59:23PM +0800, Tiezhu Yang escreveu: > > This silences the following tools/perf/ build warning: > > Warning: Kernel ABI header at 'tools/perf/arch/powerpc/entry/syscalls/syscall.tbl' differs from latest version at 'arch/powerpc/kernel/syscalls/syscall.tbl' > > Hi Ravi, Naveen, > > Can I get your Reviewed-by or Acked-by for this change and the > other that adds s390's syscall.tbl to check_headers.sh so that we get oops s/s390/powerpc/g :-) > notified when the copy drifts, so that we can see if it still continues > working and we can get new syscalls to be supported in things like 'perf > trace'? > > Thanks, > > - Arnaldo > > > Just make them same: > > cp arch/powerpc/kernel/syscalls/syscall.tbl tools/perf/arch/powerpc/entry/syscalls/syscall.tbl > > > > Signed-off-by: Tiezhu Yang > > --- > > tools/perf/arch/powerpc/entry/syscalls/syscall.tbl | 25 ++++++++++++++++------ > > 1 file changed, 18 insertions(+), 7 deletions(-) > > > > diff --git a/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl b/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl > > index b168364..1275dae 100644 > > --- a/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl > > +++ b/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl > > @@ -9,7 +9,9 @@ > > # > > 0 nospu restart_syscall sys_restart_syscall > > 1 nospu exit sys_exit > > -2 nospu fork ppc_fork > > +2 32 fork ppc_fork sys_fork > > +2 64 fork sys_fork > > +2 spu fork sys_ni_syscall > > 3 common read sys_read > > 4 common write sys_write > > 5 common open sys_open compat_sys_open > > @@ -158,7 +160,9 @@ > > 119 32 sigreturn sys_sigreturn compat_sys_sigreturn > > 119 64 sigreturn sys_ni_syscall > > 119 spu sigreturn sys_ni_syscall > > -120 nospu clone ppc_clone > > +120 32 clone ppc_clone sys_clone > > +120 64 clone sys_clone > > +120 spu clone sys_ni_syscall > > 121 common setdomainname sys_setdomainname > > 122 common uname sys_newuname > > 123 common modify_ldt sys_ni_syscall > > @@ -240,7 +244,9 @@ > > 186 spu sendfile sys_sendfile64 > > 187 common getpmsg sys_ni_syscall > > 188 common putpmsg sys_ni_syscall > > -189 nospu vfork ppc_vfork > > +189 32 vfork ppc_vfork sys_vfork > > +189 64 vfork sys_vfork > > +189 spu vfork sys_ni_syscall > > 190 common ugetrlimit sys_getrlimit compat_sys_getrlimit > > 191 common readahead sys_readahead compat_sys_readahead > > 192 32 mmap2 sys_mmap2 compat_sys_mmap2 > > @@ -316,8 +322,8 @@ > > 248 32 clock_nanosleep sys_clock_nanosleep_time32 > > 248 64 clock_nanosleep sys_clock_nanosleep > > 248 spu clock_nanosleep sys_clock_nanosleep > > -249 32 swapcontext ppc_swapcontext ppc32_swapcontext > > -249 64 swapcontext ppc64_swapcontext > > +249 32 swapcontext ppc_swapcontext compat_sys_swapcontext > > +249 64 swapcontext sys_swapcontext > > 249 spu swapcontext sys_ni_syscall > > 250 common tgkill sys_tgkill > > 251 32 utimes sys_utimes_time32 > > @@ -456,7 +462,7 @@ > > 361 common bpf sys_bpf > > 362 nospu execveat sys_execveat compat_sys_execveat > > 363 32 switch_endian sys_ni_syscall > > -363 64 switch_endian ppc_switch_endian > > +363 64 switch_endian sys_switch_endian > > 363 spu switch_endian sys_ni_syscall > > 364 common userfaultfd sys_userfaultfd > > 365 common membarrier sys_membarrier > > @@ -516,6 +522,11 @@ > > 432 common fsmount sys_fsmount > > 433 common fspick sys_fspick > > 434 common pidfd_open sys_pidfd_open > > -435 nospu clone3 ppc_clone3 > > +435 32 clone3 ppc_clone3 sys_clone3 > > +435 64 clone3 sys_clone3 > > +435 spu clone3 sys_ni_syscall > > +436 common close_range sys_close_range > > 437 common openat2 sys_openat2 > > 438 common pidfd_getfd sys_pidfd_getfd > > +439 common faccessat2 sys_faccessat2 > > +440 common process_madvise sys_process_madvise > > -- > > 2.1.0 > > > > -- > > - Arnaldo -- - Arnaldo