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 X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10EE7C433ED for ; Wed, 7 Apr 2021 20:42:07 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A47176121E for ; Wed, 7 Apr 2021 20:42:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A47176121E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=Ksjx6hi4sMOIRww95Rjh7dgUKYK3HoYwyJoDOuGybQk=; b=jw0ejJYWfkjNeypmtthP8noD9 KMx9AZdyDM8I1ZdYoUGr35QKD31p8KiTWXXIMDJGwRgjqt01u2quGyAecJ0PWiFueSzxlpxAsLkcG DbQgFhVs6/ngMmE9h7tjNL72T6is0zZG3ViZX36AXlP4HQbxzNRQ7+yLoXSan4VfIcWd2+1FFO+hN jvJyg13OIGorxAS5VWT3HAzlkjN8A75UsDA1gi337HXGte54z77FoA82u5wlULUziDy37fz/AlfkO A1SbDNudXCqgu0LHinIFUopMcBS6lPyNgon6Jgj8jI0iolJbe1lvlxW8b31Hx0wru3vi4h+fKUTHP pm45uufSA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUEyI-005z5i-TM; Wed, 07 Apr 2021 20:40:19 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUEyD-005z4Q-N6 for linux-arm-kernel@lists.infradead.org; Wed, 07 Apr 2021 20:40:15 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id C3E07611EE; Wed, 7 Apr 2021 20:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617828009; bh=qer9V+6v8rne4ZWhl7n/GA+WMUBQCoqRMmjY3g2/a/Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZOuCQSEQWoW2aOIcFrJjEVivxOEqXekovzlpo8fOfRfIfUbzBb0170auUzEMA7P/H WuheI6aFP+YZ95iu0hpU+7AtxyBVPB1/5Wd8QJVgwHQT0WURF9Bn6IRNgEcWdyc2qQ fY217KuJyS9PuipqNMdImSeV8uV1upfXn+cvYjBKmdmSaeoDaU4OnNmc2SBr4yxiaZ 6g3XFVQBRdI00HWwuhXq6VhgOwiL31s5zHVhMRTl7rECOE6rJwacnJTeoYarzabSXA WN4Us9zNPC8tVRAZpP1uRVNRp8NZEQHUDUzi5sU29rnoticph3+xg/kUBg1hoxA5tt NFBLdiKwyWb6Q== Date: Wed, 7 Apr 2021 21:40:05 +0100 From: Will Deacon To: Qi Liu Cc: mark.rutland@arm.com, zhangshaokun@hisilicon.com, linuxarm@huawei.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU Message-ID: <20210407204004.GB16011@willie-the-truck> References: <1617788943-52722-1-git-send-email-liuqi115@huawei.com> <1617788943-52722-2-git-send-email-liuqi115@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1617788943-52722-2-git-send-email-liuqi115@huawei.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-20210407_214014_113981_12522D78 X-CRM114-Status: GOOD ( 11.48 ) 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, Apr 07, 2021 at 05:49:02PM +0800, Qi Liu wrote: > PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported > to sample bandwidth, latency, buffer occupation etc. > > Each PMU RCiEP device monitors multiple root ports, and each RCiEP is > registered as a pmu in /sys/bus/event_source/devices, so users can > select target PMU, and use filter to do further sets. > > Filtering options contains: > event - select the event. > subevent - select the subevent. > port - select target root ports. Information of root ports > are shown under sysfs. > bdf - select requester_id of target EP device. > trig_len - set trigger condition for starting event statistics. > trigger_mode - set trigger mode. 0 means starting to statistic when > bigger than trigger condition, and 1 means smaller. > thr_len - set threshold for statistics. > thr_mode - set threshold mode. 0 means count when bigger than > threshold, and 1 means smaller. > > Reviewed-by: Jonathan Cameron Do you have a link to this review, please? Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel