Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2040801pxu; Fri, 18 Dec 2020 04:12:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIodl85Sv7SB5iwij1puDOnokHWxTovy/nDXrwiM/VzR5SdEIP5jxDyHeHTDGI9dll4M4B X-Received: by 2002:a05:6402:949:: with SMTP id h9mr4052830edz.301.1608293567395; Fri, 18 Dec 2020 04:12:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608293567; cv=none; d=google.com; s=arc-20160816; b=jXAovXMtTEgUxQjqmPP9nRtNbNgahnvR5C7XjnN9kDN96REC5YsyA/5XxpLqNBjEal WZ/Q/XIH6hrxtKX0EMjoaG7A4CvCXHHJUoboS8zzI99KfwVJVQSzZEQJhXikFfNrEBwl /UBso+H2aRs+GzOL1wMm6dZBwzZXF5BMyDpIfSs03GHGQWkzz22A/E5VlxZ06NSgizSh e1CSDsKuyd3kTWcR+/kdp4QNyd03btM4Rs+CqL6Gw9x5JbjfHrpzn3a+VU5hUNL9eect t1BelVtrHuGYZskZ/rhka8wVJp8s/K8e/ywDr5/AmDseM+AZqtaWw2w69KFvkOoGK2Q5 wmoQ== 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=CAXRcL4NsfAz9gHP+OPTH3X6es0KuFpXt8pbOKJOB/Q=; b=Xou+4n7etQ2JhkAmI1e335sMdXfOPN7uTvxMySH24kIguI1MQnQUc9BzY4bryK8ugr +wrc9NTd5sAa3PgliaokkZmQxFCX+s96Rq+6bkJm3hq5+fCtjtuhrNX6Jf/YW2CJWJG2 Fj63gTYXNEWY8Fo7ZjLoj3dNYNVU71/Jvjdn+rCG4Ru8ynwNeo0CJXkI8zJlaNnucvIs 4YVmciYu3vA+SeHV3ePhBGFFNbKr1xodTb3nT3r98icVC4jzHmHASYEgoFXD/yUJBUCA Dm3RNXXLPn6po7jrpwp/fJPPxgriaH+JmD9D045SFRQiCRfdAnFtXRb70g94npzcWfMP odOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QZYDqs36; 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 z21si4543014ejj.256.2020.12.18.04.12.24; Fri, 18 Dec 2020 04:12:47 -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=QZYDqs36; 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 S1725903AbgLRL11 (ORCPT + 99 others); Fri, 18 Dec 2020 06:27:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:47348 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725710AbgLRL10 (ORCPT ); Fri, 18 Dec 2020 06:27:26 -0500 Date: Fri, 18 Dec 2020 08:26:59 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608290805; bh=6Z0B6mxyv6uCqlf38hy5oOGMcG6PUb7mpO2FywAT7Fw=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=QZYDqs36PJPnEA7FXlADQIghuQwjEeh+orxknVjpBivHyl51Lx/q3l6fDhvrfG6FH wtTKIKn/jiSrKTrJ3hoS4iZPLYoSeFPXqWozNaDxjcsbxwHk9JlqFYPrFS0MhKDdkP IMpWT5iygqldXBRKewD3hdotkLWJpzo69DvzM845+WEYNd8XPv44mHG9XC/UxbrSH6 rkiXVHgLTtGfPhhlqQl4nv0+OuNDHn6oZqEijD7BfHl3cmB0MTj8OROl0n8RjVUkIr boAhfiS/3vm1iL00tSIBXrbv1NwoG7AhCxAQ+8rQW5hN1jZuT/uACQCphvBzM3/I5S hg+DG39YcJHyQ== 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: <20201218112659.GB325926@kernel.org> References: <1608278364-6733-1-git-send-email-yangtiezhu@loongson.cn> <1608278364-6733-4-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1608278364-6733-4-git-send-email-yangtiezhu@loongson.cn> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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