From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6F0D1FC7CA for ; Tue, 4 Mar 2025 10:16:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741083379; cv=none; b=h146b8xfnIXMyAjvZ+4gmX+hVMs4REF+SjK/TG2Q+xCKMTMwQjGKWHfjFD//TaFTeKCWEmTD0iquvznMQ9PSDde+IEO9pcPcZtdhY+JVl5MYRPgIwXQcqfLOlvURb2cPowP0Iri7HrJbO/VlmyGQexzkUwGcfLfNgYDAWA/xvzg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741083379; c=relaxed/simple; bh=TUyYQ5cBnNj2Ax76NKXqtAOqG4+13V3Dl8d8NSUXpQc=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DFtKyyWVB1vVlf1sPod9zaq77v6qfJbUh+19E7CQJ0JH3vGIYDT4OH6yxH9eiiHmIm2vF6lKsB3cuFdEAxLCLjYdpsLSFGWptIrhUdPZEl9mzaesC6EuCW66mnbZbnU8hvyo9Qj7V93R7+xJoipWQ8azd36XZDT6UBZyLT3ulu8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Z6Wk156D9z6D922; Tue, 4 Mar 2025 18:14:01 +0800 (CST) Received: from frapeml500008.china.huawei.com (unknown [7.182.85.71]) by mail.maildlp.com (Postfix) with ESMTPS id C8D13140A08; Tue, 4 Mar 2025 18:16:13 +0800 (CST) Received: from localhost (10.96.237.92) by frapeml500008.china.huawei.com (7.182.85.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 4 Mar 2025 11:16:10 +0100 Date: Tue, 4 Mar 2025 18:16:06 +0800 From: Jonathan Cameron To: Yicong Yang CC: , , , , , , , Subject: Re: [PATCH 7/9] drivers/perf: hisi: Support PMUs with no interrupt Message-ID: <20250304181606.00000748@huawei.com> In-Reply-To: <20250218092000.41641-8-yangyicong@huawei.com> References: <20250218092000.41641-1-yangyicong@huawei.com> <20250218092000.41641-8-yangyicong@huawei.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml100006.china.huawei.com (7.191.160.224) To frapeml500008.china.huawei.com (7.182.85.71) On Tue, 18 Feb 2025 17:19:58 +0800 Yicong Yang wrote: > From: Yicong Yang > > We'll have PMUs don't have an interrupt to indicate the counter > overflow, but the Uncore PMU core assume all the PMUs have > interrupt. So handle this case in the core. The existing PMUs > won't be affected. > > Signed-off-by: Yicong Yang Reviewed-by: Jonathan Cameron