linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Yanteng Si <siyanteng@loongson.cn>
Cc: peterz@infradead.org, mingo@redhat.com, mark.rutland@arm.com,
	alexander.shishkin@linux.intel.com, jolsa@kernel.org,
	namhyung@kernel.org, irogers@google.com, adrian.hunter@intel.com,
	linux-perf-users@vger.kernel.org,
	loongson-kernel@lists.loongnix.cn
Subject: Re: [PATCH v2 00/17] tools perf: fix build warnings
Date: Wed, 10 May 2023 14:06:08 -0300	[thread overview]
Message-ID: <ZFvPAB4Lrcl1CcPz@kernel.org> (raw)
In-Reply-To: <cover.1683712944.git.siyanteng@loongson.cn>

Em Wed, May 10, 2023 at 06:21:43PM +0800, Yanteng Si escreveu:
> v2:

So had to drop the ones I explicitely replied due to build failures and
then some more because this is usually done when the window closes, i.e.
for v6.4, so that when it is finally released we don't have warnings
building perf.

The ones I applied:

⬢[acme@toolbox perf-tools]$ git log --oneline 558423699d9b37de..
79ae55cb5aa77ac2 (HEAD -> perf-tools) tools arch x86: Sync the msr-index.h copy with the kernel sources
d48eb7d03dcd623a tools headers kvm: Sync uapi/{asm/linux} kvm.h headers with the kernel sources
14665fa481b7c947 tools include UAPI: Sync the sound/asound.h copy with the kernel sources
42252bb99c0eab81 tools headers UAPI: Sync the linux/const.h with the kernel headers
fcee73a84ed92b77 tools headers UAPI: Sync the i915_drm.h with the kernel sources
82fed3e30b2319e5 tools headers UAPI: Sync the drm/drm.h with the kernel sources
a7919a256f89bea6 tools headers UAPI: Sync the linux/in.h with the kernel sources
⬢[acme@toolbox perf-tools]$

- Arnaldo
 
> * Drop <tools arch s390: Sync the ptrace headers with the kernel sources>
>    Because ptrace.h has been fixed in other tree, detail see:
>     selftests/bpf: Remove not used headers
>     https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1f265d2aea0d
>     tools headers: Remove s390 ptrace.h in check-headers.sh
>     https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ed4da0d3de1e
> 
> * BTW, I made these patches in the next tree, so most of the warnings haven't appeared in the perf tree yet. :)
> 
> 
> v1:
> * When I try to build perf, a lot of warnings are output, let's fix them.
> 
> Yanteng Si (17):
>   tools headers UAPI: Sync the linux/in.h with the kernel sources
>   tools headers UAPI: Sync the linux/prctl.h with the kernel sources
>   tools headers UAPI: Sync the drm/drm.h with the kernel sources
>   tools headers UAPI: Sync the i915_drm.h with the kernel sources
>   tools headers UAPI: Sync the coresight-pmu headers copy with the
>     kernel sources
>   tools headers UAPI: Sync the linux/const.h with the kernel headers
>   tools headers UAPI: Sync the linux/perf_event.h with the kernel
>     headers
>   tools include UAPI: Sync the sound/asound.h copy with the kernel
>     sources
>   tools headers UAPI: Sync the linux/mman.h with the kernel sources
>   tools headers UAPI: Sync the unistd with the kernel sources
>   tools headers kvm: Sync uapi/{asm/linux} kvm.h headers with the kernel
>     sources
>   tools arch x86: Sync the disabled-features with the kernel sources
>   tools arch x86: Sync the memcpy_64 with the kernel sources
>   tools arch x86: Sync the cpufeatures with the kernel sources
>   tools arch x86: Sync the msr-index.h copy with the kernel sources
>   tools arch x86: Sync the prctl headers with the kernel sources
>   tools arch arm64: Sync the perf_regs headers with the kernel sources
> 
>  tools/arch/arm64/include/uapi/asm/kvm.h       | 36 ++++++++++++
>  tools/arch/arm64/include/uapi/asm/perf_regs.h | 10 ++--
>  tools/arch/x86/include/asm/cpufeatures.h      | 28 +++++++--
>  .../arch/x86/include/asm/disabled-features.h  | 24 +++++++-
>  tools/arch/x86/include/asm/msr-index.h        |  2 +
>  tools/arch/x86/include/uapi/asm/kvm.h         |  3 +
>  tools/arch/x86/include/uapi/asm/prctl.h       | 20 +++++++
>  tools/arch/x86/lib/memcpy_64.S                | 35 ++++--------
>  tools/arch/x86/lib/memset_64.S                | 47 ++++-----------
>  tools/include/linux/coresight-pmu.h           | 13 -----
>  tools/include/uapi/asm-generic/unistd.h       |  5 +-
>  tools/include/uapi/drm/drm.h                  | 57 ++++++++++++++++++-
>  tools/include/uapi/drm/i915_drm.h             | 25 +++++++-
>  tools/include/uapi/linux/const.h              |  2 +-
>  tools/include/uapi/linux/in.h                 |  1 +
>  tools/include/uapi/linux/kvm.h                | 12 +++-
>  tools/include/uapi/linux/mman.h               | 14 +++++
>  tools/include/uapi/linux/perf_event.h         |  3 +-
>  tools/include/uapi/linux/prctl.h              |  2 +
>  tools/include/uapi/sound/asound.h             | 14 +++--
>  .../perf/arch/s390/entry/syscalls/syscall.tbl |  2 +-
>  .../arch/x86/entry/syscalls/syscall_64.tbl    |  2 +
>  22 files changed, 258 insertions(+), 99 deletions(-)
> 
> -- 
> 2.31.4
> 

-- 

- Arnaldo

  parent reply	other threads:[~2023-05-10 17:06 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-10 10:21 [PATCH v2 00/17] tools perf: fix build warnings Yanteng Si
2023-05-10 10:21 ` [PATCH v2 01/17] tools headers UAPI: Sync the linux/in.h with the kernel sources Yanteng Si
2023-05-10 10:21 ` [PATCH v2 02/17] tools headers UAPI: Sync the linux/prctl.h " Yanteng Si
2023-05-10 10:21 ` [PATCH v2 03/17] tools headers UAPI: Sync the drm/drm.h " Yanteng Si
2023-05-10 10:22 ` [PATCH v2 04/17] tools headers UAPI: Sync the i915_drm.h " Yanteng Si
2023-05-10 10:22 ` [PATCH v2 05/17] tools headers UAPI: Sync the coresight-pmu headers copy " Yanteng Si
2023-05-10 15:41   ` Arnaldo Carvalho de Melo
2023-05-22  9:56     ` James Clark
2023-05-10 10:22 ` [PATCH v2 06/17] tools headers UAPI: Sync the linux/const.h with the kernel headers Yanteng Si
2023-05-10 10:22 ` [PATCH v2 07/17] tools headers UAPI: Sync the linux/perf_event.h " Yanteng Si
2023-05-10 15:44   ` Arnaldo Carvalho de Melo
2023-05-10 10:24 ` [PATCH v2 08/17] tools include UAPI: Sync the sound/asound.h copy with the kernel sources Yanteng Si
2023-05-10 10:24 ` [PATCH v2 09/17] tools headers UAPI: Sync the linux/mman.h " Yanteng Si
2023-05-10 10:24 ` [PATCH v2 10/17] tools headers UAPI: Sync the unistd " Yanteng Si
2023-05-10 10:24 ` [PATCH v2 11/17] tools headers kvm: Sync uapi/{asm/linux} kvm.h headers " Yanteng Si
2023-05-10 10:24 ` [PATCH v2 12/17] tools arch x86: Sync the disabled-features " Yanteng Si
2023-05-10 10:24 ` [PATCH v2 13/17] tools arch x86: Sync the memcpy_64 " Yanteng Si
2023-05-10 15:48   ` Arnaldo Carvalho de Melo
2023-05-10 10:24 ` [PATCH v2 14/17] tools arch x86: Sync the cpufeatures " Yanteng Si
2023-05-10 10:24 ` [PATCH v2 15/17] tools arch x86: Sync the msr-index.h copy " Yanteng Si
2023-05-10 10:25 ` [PATCH v2 16/17] tools arch x86: Sync the prctl headers " Yanteng Si
2023-05-10 10:25 ` [PATCH v2 17/17] tools arch arm64: Sync the perf_regs " Yanteng Si
2023-05-10 15:26   ` Arnaldo Carvalho de Melo
2023-05-15  4:08     ` Leo Yan
2023-05-20  3:11       ` Leo Yan
2023-05-10 17:06 ` Arnaldo Carvalho de Melo [this message]
2023-05-15 11:08   ` [PATCH v2 00/17] tools perf: fix build warnings Yanteng Si

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=ZFvPAB4Lrcl1CcPz@kernel.org \
    --to=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=irogers@google.com \
    --cc=jolsa@kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=loongson-kernel@lists.loongnix.cn \
    --cc=mark.rutland@arm.com \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    --cc=siyanteng@loongson.cn \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).