From: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
To: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Cc: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
Will Deacon <will.deacon@arm.com>, Ingo Molnar <mingo@redhat.com>,
linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org,
netdev@vger.kernel.org, Peter Zijlstra <peterz@infradead.org>,
"David S. Miller" <davem@davemloft.net>,
Heiko Carstens <heiko.carstens@de.ibm.com>
Subject: Re: [PATCH 1/5] bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type
Date: Mon, 4 Dec 2017 09:34:42 +0100 [thread overview]
Message-ID: <20171204083442.GA3952@linux.vnet.ibm.com> (raw)
In-Reply-To: <20171203175108.oo75sszrmpdvtukz@ast-mbp>
Hi Alexei,
On Sun, Dec 03, 2017 at 09:51:10AM -0800, Alexei Starovoitov wrote:
> On Fri, Dec 01, 2017 at 03:19:04PM +0100, Hendrik Brueckner wrote:
> > --- a/include/uapi/linux/bpf_perf_event.h
> > +++ b/include/uapi/linux/bpf_perf_event.h
> > @@ -8,11 +8,10 @@
> > #ifndef _UAPI__LINUX_BPF_PERF_EVENT_H__
> > #define _UAPI__LINUX_BPF_PERF_EVENT_H__
> >
> > -#include <linux/types.h>
> > -#include <linux/ptrace.h>
> > +#include <asm/bpf_perf_event.h>
> >
> > struct bpf_perf_event_data {
> > - struct pt_regs regs;
> > + bpf_user_pt_regs_t regs;
> > __u64 sample_period;
> > };
>
> Thank you for working on this problem.
> The fix looks great to me.
Thank you.
> While applying it I noticed few nits:
> Applying: selftests/bpf: sync kernel headers and introduce arch support in Makefile
> /w/bpf/.git/rebase-apply/patch:253: trailing whitespace.
> freg_t fprs[NUM_FPRS];
> /w/bpf/.git/rebase-apply/patch:262: trailing whitespace.
> typedef struct
> /w/bpf/.git/rebase-apply/patch:439: trailing whitespace.
> } lowcore;
> /w/bpf/.git/rebase-apply/patch:490: trailing whitespace.
> } ptprot_area;
> warning: 4 lines add whitespace errors.
>
> Could you please fix those and resubmit ?
Sure will do. For that I have to add a clean-up patch for the s390 ptrace.h
uapi header.
> With that fixed feel free to add my
> Acked-by: Alexei Starovoitov <ast@kernel.org>
> to the patches.
Thank you very much, will do!
> I've tested it on arm64 and don't see any issues.
I got a nice message from the build bot, I have some more work on that.
So will respin the series, add you Acked-by, and sent a v2 around.
> When resubmitting could you please reduce cc-list, since this set
> went into spam folder for me and I noticed it only in patchworks.
Will do... I just used what get_maintainers.pl told me :)
next prev parent reply other threads:[~2017-12-04 8:34 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-01 14:19 [PATCH 0/5] bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type Hendrik Brueckner
2017-12-01 14:19 ` Hendrik Brueckner
2017-12-01 14:19 ` [Linux-kselftest-mirror] " Hendrik Brueckner
2017-12-01 14:19 ` brueckner
2017-12-01 14:19 ` Hendrik Brueckner
2017-12-01 14:19 ` [PATCH 1/5] " Hendrik Brueckner
2017-12-01 14:19 ` Hendrik Brueckner
2017-12-01 14:19 ` [Linux-kselftest-mirror] " Hendrik Brueckner
2017-12-01 14:19 ` brueckner
2017-12-03 17:51 ` Alexei Starovoitov
2017-12-04 8:34 ` Hendrik Brueckner [this message]
2017-12-04 4:00 ` kbuild test robot
2017-12-04 4:00 ` kbuild test robot
2017-12-04 4:00 ` kbuild test robot
2017-12-04 4:00 ` kbuild test robot
2017-12-04 4:00 ` [Linux-kselftest-mirror] " kbuild test robot
2017-12-04 4:00 ` lkp
2017-12-04 4:00 ` kbuild test robot
2017-12-01 14:19 ` [PATCH 2/5] s390/bpf: " Hendrik Brueckner
2017-12-01 14:19 ` Hendrik Brueckner
2017-12-01 14:19 ` [Linux-kselftest-mirror] " Hendrik Brueckner
2017-12-01 14:19 ` brueckner
2017-12-01 14:19 ` Hendrik Brueckner
2017-12-01 14:19 ` [PATCH 3/5] arm64/bpf: " Hendrik Brueckner
2017-12-01 14:19 ` Hendrik Brueckner
2017-12-01 14:19 ` [Linux-kselftest-mirror] " Hendrik Brueckner
2017-12-01 14:19 ` brueckner
2017-12-01 14:19 ` [PATCH 4/5] selftests/bpf: sync kernel headers and introduce arch support in Makefile Hendrik Brueckner
2017-12-01 14:19 ` Hendrik Brueckner
2017-12-01 14:19 ` [Linux-kselftest-mirror] " Hendrik Brueckner
2017-12-01 14:19 ` brueckner
2017-12-01 14:19 ` [PATCH 5/5] perf s390: add regs_query_register_offset() Hendrik Brueckner
2017-12-01 14:19 ` Hendrik Brueckner
2017-12-01 14:19 ` [Linux-kselftest-mirror] " Hendrik Brueckner
2017-12-01 14:19 ` brueckner
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=20171204083442.GA3952@linux.vnet.ibm.com \
--to=brueckner@linux.vnet.ibm.com \
--cc=acme@kernel.org \
--cc=alexei.starovoitov@gmail.com \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=schwidefsky@de.ibm.com \
--cc=will.deacon@arm.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.