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 49B32C47088 for ; Thu, 1 Dec 2022 17:48:20 +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=NgjFGgJAYeGtWYlaltlUP466Q6oA63ySKGERFAMg2b0=; b=dObulQPEzr2Lmp 3se2Wh4QjolsUVFOKCVkFJcOzEwa4dt/nl84b9fcOwY2VJrmWRaSE7Sg4vByrld59Xsm07/kEn6Vw pssvK/54hh1K0fhveXE7M8tkT3rBX5N7QD3Zp/QkRICurok9mufXK5C4SbMF2pl9EebuP4GTtKicL iGPeYCLSz8fBRIOK5rdSIZ9JmUa46RnTinD9BG1MgoNZTnCAU4/ruGM2ihIsO8WSv3Cb+BIv6YGm9 /XPIDK3QzcJ7RddEqYlAPzfKXJUaAijP56+ARf9itImvDE5sruzwMN0YnQDHp3kyYRbj6T5cqrtuf i+99TZa37+6BRwtwgTnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p0neW-009CGk-HH; Thu, 01 Dec 2022 17:47:16 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p0ncy-009A2E-NK for linux-arm-kernel@lists.infradead.org; Thu, 01 Dec 2022 17:45:41 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3CEDF6209E; Thu, 1 Dec 2022 17:45:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC88FC433D6; Thu, 1 Dec 2022 17:45:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669916740; bh=xi727nDNhDZVe/pLE/3xYfRh/jN3YKblRfCd6X5uJoo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NDOMZl4gjnlzxDB5VdRKSxJBTvTvOCxUXl0/kbnRsZmdOSmaBVxO71raoOhTLea72 ylTadXG8ssFsRA0kSQLujmGpAx2rJJ8iFb609pGjsRy/4uBBV+bj0llHIZHj0iUzXG Xj6N7cys0Kb/Vco4SyfxJTP5lAOuvba0oc0I+BgVcim2vo4BbtOcb9wwjwYqNqgP// RWd9zMkrUvotuekWlTD831c+9b3NKdkX/icuLyzVDTHQT+jsnUYhgDjUboYszZB4C7 mgG0kIsL32J7CCr0zEae6rmcF6pJG0TemdPZihyVWsDZUhHCCPtIMQJ/O4ZVo+k6kd lYDTZf8eoaGmQ== Date: Thu, 1 Dec 2022 17:45:35 +0000 From: Will Deacon To: Anshuman Khandual Cc: linux-arm-kernel@lists.infradead.org, mark.rutland@arm.com, Catalin Marinas , linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm_pmu: Drop redundant armpmu->map_event() in armpmu_event_init() Message-ID: <20221201174534.GA28865@willie-the-truck> References: <20221130083350.264583-1-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221130083350.264583-1-anshuman.khandual@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221201_094540_848596_49F50247 X-CRM114-Status: GOOD ( 10.79 ) 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 Wed, Nov 30, 2022 at 02:03:50PM +0530, Anshuman Khandual wrote: > __hw_perf_event_init() already calls armpmu->map_event() callback, and also > returns its error code including -ENOENT, along with a debug callout. Hence > an additional armpmu->map_event() check for -ENOENT is redundant. > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Mark Rutland > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Anshuman Khandual > --- > This applies on v6.1-rc6 Doesn't apply against for-next/perf Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel