From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F996C33CB7 for ; Sun, 19 Jan 2020 13:28:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5B3AD20730 for ; Sun, 19 Jan 2020 13:28:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579440497; bh=nvAre70wOdY3sLAD40GwTa3vY5f50vzWLmhparXnoi4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=CnicnfP+qKfFylATu6JSE4Z6hZMZB5ogMb7kflJDB0ECI5uOylwfGA1tKp9D+oURx Zvc1xk5JvSldqSu5FBTbXkH+TBMREkONFb1kH9SsjNVZpG7DVIEnxtfI5uZtq0HLV5 woWYQyPLKYBLCoNxVRMJj6huL2MdZQwORXmVkvdM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727060AbgASN2Q (ORCPT ); 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