From: Michael Ellerman Subject: Re: [PATCH bpf] bpf: powerpc: fix broken uapi for BPF_PROG_TYPE_PERF_EVENT Date: Mon, 10 Dec 2018 13:29:14 +1100 Message-ID: <87efaqf72d.fsf@concordia.ellerman.id.au> References: <20181206092701.4153-1-sandipan@linux.ibm.com> <20181209223424.pvdigrtm4tdbt4h7@ast-mbp.dhcp.thefacebook.com> Mime-Version: 1.0 Content-Type: text/plain Cc: daniel@iogearbox.net, ast@kernel.org, netdev@vger.kernel.org, linuxppc-dev@ozlabs.org, naveen.n.rao@linux.ibm.com To: Alexei Starovoitov , Sandipan Das Return-path: Received: from ozlabs.org ([203.11.71.1]:58627 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726281AbeLJC3R (ORCPT ); Sun, 9 Dec 2018 21:29:17 -0500 In-Reply-To: <20181209223424.pvdigrtm4tdbt4h7@ast-mbp.dhcp.thefacebook.com> Sender: netdev-owner@vger.kernel.org List-ID: Alexei Starovoitov writes: > On Thu, Dec 06, 2018 at 02:57:01PM +0530, Sandipan Das wrote: >> Now that there are different variants of pt_regs for userspace and >> kernel, the uapi for the BPF_PROG_TYPE_PERF_EVENT program type must >> be changed by exporting the user_pt_regs structure instead of the >> pt_regs structure that is in-kernel only. >> >> Fixes: 002af9391bfb ("powerpc: Split user/kernel definitions of struct pt_regs") >> Signed-off-by: Sandipan Das > > Thanks! Applied to bpf tree. I already have this in the fixes branch of the powerpc tree. I don't mind if you take it also, git should probably handle the merge OK. cheers