Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1537249ybl; Sun, 19 Jan 2020 05:29:22 -0800 (PST) X-Google-Smtp-Source: APXvYqw8Dl75lDq5tqiqppR9FVyz6yzhGppplmtK6dnrwMFaG3UeWC6nYaBVqnzZDCZUKQa/EUUP X-Received: by 2002:a05:6830:1615:: with SMTP id g21mr13326863otr.49.1579440562570; Sun, 19 Jan 2020 05:29:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579440562; cv=none; d=google.com; s=arc-20160816; b=Q9/Sf8Ou1sOusc6UwvaWFRJq3x2senKP5jjuVHg9Cif0Vx/dpjl/xLJr73lo8WOXh9 yDcOWLG7p3iRdnq1crK/XwzqAXL4AYIi2pXinjKczsQKTh/Md1T1cjwndMMR6pGFIsuy IWNd7+veyYwx+wlIwqZsD2GE6pjLoWauGCjDbGz4HePkldjlUFoHc/X6Dc9IABWId9Fs U61p2fSzgKQF5n7MDnuCGIJK0amljYTEaabPZf3t8udPuP2hTThiMCTkMk2r1ZpaKQI2 Mmw+Thzli4IpLf57eF3LoUilHEW7ntYYlovPdYjeqI3uhglLsMmbKZJuUCus42rAIfPX bvnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=mYiYLZcKLsLzIF5LRTMJYSRzGN6QCnuqE0G1cU26GI0=; b=sin9X6f47iA5MGTzZJfiJd72jpzLq6ajs8Gr09dFzg1tbub34vt5jyzFVg8jnbzJIB xbJVMlgwzQt0cdyOgqFRO1Tpglq1o7gnF/XreC0t4AGOYIrIBvnnXFpFdAdR0d5VzsU9 MzbWi1i0yBZaBzfwswLhJcEWNknBJdGvVvlbGN9WzXzPmFZ0qOCI9zxQoVSuX4wIKQip 6UdttwvA+lddKfAe9D/fvGGlaUjafLq76+gZ814SKWFsjtQ7vVUFIy81FgqVPjwONHuD dFw9nr4pRAm7lFnaJyXV3rXBcqZRDPb4OAKchKvEzpYflTMpg3VjWib6EXIPDwujmxkE 6yrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RilBkiyA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v141si16694123oif.161.2020.01.19.05.29.10; Sun, 19 Jan 2020 05:29:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RilBkiyA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727011AbgASN2Q (ORCPT + 99 others); Sun, 19 Jan 2020 08:28:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:49196 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726798AbgASN2Q (ORCPT ); Sun, 19 Jan 2020 08:28:16 -0500 Received: from localhost (unknown [84.241.197.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 89F272053B; Sun, 19 Jan 2020 13:28:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579440495; bh=nvAre70wOdY3sLAD40GwTa3vY5f50vzWLmhparXnoi4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RilBkiyAZe8b9059GqCS8KVCrB+pNMzdX1/8yq09SNsgzNcZiPc+j5KsvxEhJk1VL YpXLBKLgEb75/LRNg52PCjYbofqK+vahIrfBJe79s6eaCNHOfNjphhBhK7W7VMyGT4 uqfVm52fAsjFGDTaRz6lB0KP6/5REaNkDu0KAN/M= Date: Sun, 19 Jan 2020 14:28:11 +0100 From: Greg Kroah-Hartman To: Ingo Molnar Cc: Vince Weaver , Mark Rutland , Alexander Shishkin , Peter Zijlstra , linux-kernel@vger.kernel.org, Ingo Molnar , Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , stable kernel team Subject: Re: [PATCH, v5.4] perf: Correctly handle failed perf_get_aux_event() Message-ID: <20200119132811.GA159416@kroah.com> References: <20200106120338.GC9630@lakrids.cambridge.arm.com> <20200118180529.GA70028@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200118180529.GA70028@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 18, 2020 at 07:05:29PM +0100, Ingo Molnar wrote: > > * Vince Weaver wrote: > > > On Mon, 6 Jan 2020, Vince Weaver wrote: > > > > > On Mon, 6 Jan 2020, Mark Rutland wrote: > > > > > > > On Thu, Jan 02, 2020 at 02:22:47PM -0500, Vince Weaver wrote: > > > > > On Thu, 2 Jan 2020, Vince Weaver wrote: > > > > > > > > > Vince, does the below (untested) patch work for you? > > > > > > > > > yes, this patch fixes things for me. > > > > > > Tested-by: Vince Weaver > > > > > > > is this patch going to make it upstream? It's a fairly major correctness > > bug with perf_event_open(). > > I just sent it to Linus. > > In hindsight this should have been marked Cc: stable for v5.4 - we should > forward it to Greg once Linus has pulled it: > > da9ec3d3dd0f: ("perf: Correctly handle failed perf_get_aux_event()") > > > Note that in the v5.4 cherry-pick there's a conflict due to interaction > with another recent commit - I've attached the ported fix against v5.4, > but have only test built it. Thanks for the backport, now queued up. greg k-h