Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5314858rwi; Sun, 23 Oct 2022 04:05:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5qE/jgxe85dqvn966txoeOwJyeuoZ2LXTF2H5+T4bTH0F4QvtionO4pa3Q10NzL8URcID4 X-Received: by 2002:a05:6402:278c:b0:45c:da8e:837d with SMTP id b12-20020a056402278c00b0045cda8e837dmr26123298ede.18.1666523145130; Sun, 23 Oct 2022 04:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666523145; cv=none; d=google.com; s=arc-20160816; b=kMCnKZt2GktiJne2yTuy030mavM6qn/ewi3KMPIXR3RW9U53sCEMvoTrv635MvesKr lsniuVFjdSAaFILPXc0SrEpVWaf85Sb2ve7ZDJ5orzqoEowaHBifkFL95RCCGbzGl8iR F8/DZta1smNDrHK+tBwcpP+NCcrGBVDRZDViFTShHR/CuvcEAKRgYYM4mAOr5lLoVhuk WXfBDRPTfp5sMN5TzFIrbAipGPIYobawR47CUpLNUfTYitWTrkPVWzN6TGmfJqva1Zma 2ghcUMeV0QTvhpYSgxZH2872f9NzayKuypfI6Tu75MBMAQu4c9TICK2oLV1b7MxCC61n XYWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=lUwWVi+RZkHeWALq2yE+VkXRFffNsKsCIXrbyEHrrzs=; b=Eqiio+OeSIhpf5hKQWYyg17/ugGBcQy+nRYu3pc2JWP/9NK51xyp99EGN0vs1bTiOk ohmtFkdrG64xFepHymtbwe52nCWh3G0VbOT9pD1CGDx01zcQwTqdHe0QiWmYnNzSxIv1 6w+uuAAQyvJZJKIuNU3zhVmt2CoPzYTHMCWVNIS/8hu56ArjAsE8eZv+sZpqQUqgGwMX 51vQ/sj+ErYqx1cLEu+ZcsuSEAdtefTWmaPHlYIIRX4EpFcSQfQgRik33ohSCj/voC4s R7oAKi5TDrch+MJyNPzjYrN4eCpxnnJHqV0Y2k9u0uH72Kz6lHb8/GBe+tKWvOFgjk+z vRYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=chW0KU0I; dkim=neutral (no key) header.i=@suse.de header.b=u9DNyhsf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020a056402090d00b00458cd6f8506si31387683edz.173.2022.10.23.04.05.20; Sun, 23 Oct 2022 04:05:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=chW0KU0I; dkim=neutral (no key) header.i=@suse.de header.b=u9DNyhsf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230285AbiJWKPv (ORCPT + 99 others); Sun, 23 Oct 2022 06:15:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230286AbiJWKPt (ORCPT ); Sun, 23 Oct 2022 06:15:49 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4373757895 for ; Sun, 23 Oct 2022 03:15:43 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id D17EC1FD4A; Sun, 23 Oct 2022 10:15:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1666520141; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lUwWVi+RZkHeWALq2yE+VkXRFffNsKsCIXrbyEHrrzs=; b=chW0KU0ITFjg1b3cxgv8jNTZVBuMYEwJFLmD4c9OTcCkEsde64Idzk3wS1/wybO8QIpo6k K911yH0cM40ELMZpHCaGIzpr5lyf5BUop1n8nGebx+Nl/E/E1VRsA0aqiw2EmLutrU6BgB c/gj8QavotFVIH8QRe3gOXbU/hcsUFI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1666520141; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lUwWVi+RZkHeWALq2yE+VkXRFffNsKsCIXrbyEHrrzs=; b=u9DNyhsfzK0vnP9MRPKpDX4LCci/NdXdPFfTeBaAOLtHg2I1Z5I35bGzkfmHFvlFcVmXsD 4AwmYNxkq6mQNcBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id C4B8C139F0; Sun, 23 Oct 2022 10:15:41 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id urv4L00UVWPZQgAAMHmgww (envelope-from ); Sun, 23 Oct 2022 10:15:41 +0000 Date: Sun, 23 Oct 2022 12:15:37 +0200 From: Borislav Petkov To: Linus Torvalds Cc: x86-ml , lkml Subject: [GIT PULL] perf/urgent for 6.1 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, by popular demand, here are a couple of urgent perf fixes for 6.1. Please pull, thx. --- The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780: Linux 6.1-rc1 (2022-10-16 15:36:24 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/perf_urgent_for_v6.1_rc2 for you to fetch changes up to 21da7472a040420f2dc624ffec70291a72c5d6a6: bpf: Fix sample_flags for bpf_perf_event_output (2022-10-17 16:32:06 +0200) ---------------------------------------------------------------- - Fix raw data handling when perf events are used in bpf - Rework how SIGTRAPs get delivered to events to address a bunch of problems with it. Add a selftest for that too ---------------------------------------------------------------- Marco Elver (1): selftests/perf_events: Add a SIGTRAP stress test with disables Peter Zijlstra (1): perf: Fix missing SIGTRAPs Sumanth Korikkar (1): bpf: Fix sample_flags for bpf_perf_event_output include/linux/perf_event.h | 19 ++- kernel/events/core.c | 151 +++++++++++++++------ kernel/events/ring_buffer.c | 2 +- kernel/trace/bpf_trace.c | 2 + .../selftests/perf_events/sigtrap_threads.c | 35 ++++- 5 files changed, 163 insertions(+), 46 deletions(-) -- Regards/Gruss, Boris. SUSE Software Solutions Germany GmbH GF: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman (HRB 36809, AG Nürnberg)