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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0DE60C433F5 for ; Tue, 10 May 2022 20:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eWoitnzb20oagBluW8y4+PKMKXQb3GovqL3sjH81804=; b=QCnza20/RN+ElZ 85BUUTLJw4d2CyTZyXWp4+k6j1HIhToS30ERTunoWbN4SHU2Jw7xTBGIMjNqF8sS+rAX1VLkzoYdf 1g+NOUeHmvBT9GpThhx9o+tdHZyNoi950ARyLouJ+zhAmAAjvIPpXxNbiZPP5xiyAIp8gGdzZwVTk Ziz5nw57nTNg77peKtb6Z+l7/K+riYatUmosSvPQcXlO7bMHklVnJtOU7riq3yU1IgmHI1LuUoq0P b3QwGlP/3KzjoWc5RUuM5s2jrRr382ItdOSVJPoJrFBJLIqgtDB3sxxiyi1PLyIikBM/YggBwZ/SX d5e2kUw2HdeDcQ7QkqLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noWBF-003v9E-0Z; Tue, 10 May 2022 20:10:01 +0000 Received: from alexa-out.qualcomm.com ([129.46.98.28]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noWBC-003v8I-8g for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 20:09:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1652213398; x=1683749398; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=h3zaCfPgI+r2iT/D/g2NpLhZByJE6M/FCwJoAu+PtdI=; b=og7hJIpijnHb3v+gSEq7uIR3gdp9aV5In2GWjzYcgFEFQpLqSzNzVM71 br0QMq6JCI36UheWT0sQ3lJQmVneWsJqWQvn+uN+D4nAs8LBjiw9ID/bM JEzRN700dobc1Td5gtq6ykR1sskKhNEzVRaHmMq+X18wH8m3zCO0sFnDs k=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 10 May 2022 13:09:54 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2022 13:09:52 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 10 May 2022 13:09:51 -0700 Received: from qian (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 10 May 2022 13:09:51 -0700 Date: Tue, 10 May 2022 16:09:49 -0400 From: Qian Cai To: Robin Murphy CC: , , Subject: Re: [PATCH 0/4] perf/arm-cmn: Add CMN-650 and CMN-700 Message-ID: <20220510200949.GB302@qian> References: <20220510171520.GA215@qian> <781f1ac8-a30c-81d9-8831-22bfbf593f58@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <781f1ac8-a30c-81d9-8831-22bfbf593f58@arm.com> X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_130958_376334_DA51F633 X-CRM114-Status: UNSURE ( 9.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, May 10, 2022 at 06:50:56PM +0100, Robin Murphy wrote: > Hmm, can you narrow it down a bit more to a particular patch and/or a > specific reproducer? I don't see how it could really be crashing > dereferencing event->pmu, especially since none of the code this early in > event_init has even changed recently :/ Specifically, One of "e" == NULL in arm_cmn_filter_sel(). e = container_of(arm_cmn_event_attrs[i], typeof(*e), attr.attr); Then, the next line will dereference it. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel