Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp785315rdb; Tue, 15 Aug 2023 11:50:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFOHowhcwasStqQQTLUQP0cnmGLfuuStRPSsgHvWB2AgDKMnxVNUCf9TEPix+/hNhQA/zOx X-Received: by 2002:a05:6a00:390b:b0:686:fb87:7f55 with SMTP id fh11-20020a056a00390b00b00686fb877f55mr14959161pfb.15.1692125420973; Tue, 15 Aug 2023 11:50:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692125420; cv=none; d=google.com; s=arc-20160816; b=MqXqLscgUOUG6pOvlV+ojsKEQ38u4uGrEUIRn2gNI9fL/k8EQ3MxRoTsbWeeCEkbdX AejGCwjL/x7uq5GDp80t8W4u9yyC3g10Ij+2CncIy7oqG4O/5r8h2AEofTNqTVI7iRp7 ybYTZk3FP5OfARjcBv0cbzeOlAJOkZLyrWcB1zl5FhZW0qfKmoGyeFTkF1QTLuofT34k F6oXt509YeS+FmDTxsfOyeTwk5L06FKdAyOXDEAL9NwHGvvi2/KgcsDeTlNrRoSsGzFb 50hpNosy6T4VbCYmjm5lfpRVQ5JsafkgeRHfiQjyxc3iCdhFfEujN3LVaQpB1i/vLOal Hynw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JMuo6FImhmULleDw6BMH/zGH3d6e4/WPRmLejK7Bt08=; fh=qTckJc+nZPC7WG4tpH9sv8WuC0uRNzoBCI7LiSgCSO8=; b=YKctlYURKE4cV7xz+CwZ8dnOBKwJsMx3ntf0OLJ3GINi1plsyt1W/8jKPei2earmBM C9NNaTk5iHkAa7KmcPfpCjBsLNuP52zqCGxAshQv0PGe4j25QE8EMIPvlzkazTUFuQZi WwF+MBv4SFN19E634IonjTDDtUqZxZnxFBShHoQL+U+SZlateuMeTkDCtzaTGyMTotIG AzLi4d2x1X8oonAPme7GDcsdqGFkVE4b3gk1MAf9dBTSbGPeasgJ4o0OnJTggqIeszFc 2juRPB/mq46es6z2UERz2AK6RDS+R+mpNvkALL35ZG+VB+80PS3/aMIerndVN0z2rG4W oEBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pK3EUfmz; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s8-20020a056a00178800b006669351f328si10625764pfg.388.2023.08.15.11.50.00; Tue, 15 Aug 2023 11:50:20 -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=@kernel.org header.s=k20201202 header.b=pK3EUfmz; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237534AbjHOOL2 (ORCPT + 99 others); Tue, 15 Aug 2023 10:11:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237555AbjHOOLF (ORCPT ); Tue, 15 Aug 2023 10:11:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DE05199B; Tue, 15 Aug 2023 07:11:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9AEBF62C9C; Tue, 15 Aug 2023 14:11:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BB76C433C9; Tue, 15 Aug 2023 14:10:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692108663; bh=IhgKIaCPd+mwevpEPUSDQZbSsOZK+yrdE/Fu9JPnvXw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pK3EUfmzxr5H5AGVajSpO3bVBNMnf8/nnT7gE+x2ZsXaUoSmN8vzLXKBn5KlrfO8a F+ZQ+tJrtUks5d6DqsU0iyIXFofegNIaHes6Iiclv0PHwxqzbMwovfckO+cf6Y+VsX 1X9ntDMWuj2W7GfuFQae4Fe91iirYZ3n6vdL6/rWk2nKdclnEE+f/8nYtuwx671CRs fDROWl07GrtNHlwJTt5R4MXHxsb1gw52b+3QGGPXKhNqD/SJt2O7Ldh6IHAv2lNOrP mcRcUgNs20v1+pkcq5zdgBbKbJBjZZCg3wSC19vZjtIjedS/919vE326w9/k5zUgc5 0Qq4tYrkkGxWQ== From: Will Deacon To: linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, robin.murphy@arm.com, linux-acpi@vger.kernel.org, lpieralisi@kernel.org, guohanjun@huawei.com, mark.rutland@arm.com, rafael@kernel.org, corbet@lwn.net, Yicong Yang , catalin.marinas@arm.com Cc: kernel-team@android.com, Will Deacon , yangyicong@hisilicon.com, jonathan.cameron@huawei.com, zhurui3@huawei.com, hejunhao3@huawei.com, linux-kernel@vger.kernel.org, prime.zeng@hisilicon.com, shameerali.kolothum.thodi@huawei.com, linuxarm@huawei.com Subject: Re: [PATCH v2] perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09 Date: Tue, 15 Aug 2023 15:10:50 +0100 Message-Id: <169210025390.538323.7942274665229323750.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230814124012.58013-1-yangyicong@huawei.com> References: <20230814124012.58013-1-yangyicong@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 On Mon, 14 Aug 2023 20:40:12 +0800, Yicong Yang wrote: > From: Yicong Yang > > Some HiSilicon SMMU PMCG suffers the erratum 162001900 that the PMU > disable control sometimes fail to disable the counters. This will lead > to error or inaccurate data since before we enable the counters the > counter's still counting for the event used in last perf session. > > [...] Applied to will (for-next/perf), thanks! [1/1] perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09 https://git.kernel.org/will/c/0242737dc4eb Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev