Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp248782ybm; Wed, 22 May 2019 02:28:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqzltI3KhCOMgfKG4kpJWUePuURqNW9Sf0X6hFpuDVJZt4H9YQOEGerUIKhy6YJLxBpfwKfe X-Received: by 2002:a63:2d6:: with SMTP id 205mr88380159pgc.114.1558517286053; Wed, 22 May 2019 02:28:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558517286; cv=none; d=google.com; s=arc-20160816; b=yaSQvJq02k8mN4EOJzqSII6zo4DENqa6BQeWRfZl3ahpGFL0AWBD2XDflwVu3MBURq H5Dw1Lv+4Rj6FADH4WJ6DHMy391gcRTtJjlG4Q1csG0JLhXZ+CXDe5d4OH82P0FInis9 jg1Ztdmm2hY2I7+u/LmNmA5LV2BqsYSI1OuDI/UyZWI+ItIbN9yEKL+SCpqGjOeVnzyQ kPe969Pip7bVdb3UP3Yohi9PFPtW00TInSBBRlcDsaFHLLWZWqll/Xj1H7QpVqoXJnLH PSXcqyv3JhnTMJhLtZnJqnX766sDxUCrSSPxeJh4Xe/wUEF2YxZoL4o9EHlbhC8qERE6 qz7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=jd1juA6W0OVF55WTTn9G0cvyjFzF+3ELwrQihsf+Ugk=; b=Kj1tufnS6C26AO0sO7H0CGYzPUZ7r07ftc9/1m+vGyueYNGODLeua0WH1kIFFNb6mV CHNVU6/BzxF35/+fXvlQCBOnOqWCFvJ33LtGil20sVLktD+8l0NwRuFSlV5X5q0pSJI9 5q5IPxmlJ6ZoV/EHXXeRce6rj22uafzIeJKJ//tmEM+BCT9r7QcEk4QFG1etJN0Azqew xUpT1R6DoF+YfvaWUkLAgAy95f/KJ2pzfA7JuZAkhpIUZMyYm132ks3HLwmSKsX+rhBZ fIcpMPQlZpoyz/RJI/KdYLCnVoTzrRGK6+VuHM/hmCjHnbizQzV/S+G9NmH+3y/JqjAK oXRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5si14334766pgg.19.2019.05.22.02.27.50; Wed, 22 May 2019 02:28:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728693AbfEVJ0j (ORCPT + 99 others); Wed, 22 May 2019 05:26:39 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:59474 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728584AbfEVJ0j (ORCPT ); Wed, 22 May 2019 05:26:39 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.09683286|-1;CH=green;DM=CONTINUE|CONTINUE|true|0.046806-0.00376795-0.949426;FP=0|0|0|0|0|-1|-1|-1;HT=e01a16368;MF=han_mao@c-sky.com;NM=1;PH=DS;RN=2;RT=2;SR=0;TI=SMTPD_---.EbUMnSP_1558517196; Received: from localhost(mailfrom:han_mao@c-sky.com fp:SMTPD_---.EbUMnSP_1558517196) by smtp.aliyun-inc.com(10.147.40.233); Wed, 22 May 2019 17:26:36 +0800 From: Mao Han To: linux-kernel@vger.kernel.org Cc: Mao Han Subject: [PATCH 0/5] Add pmu hardware sampling support Date: Wed, 22 May 2019 17:25:27 +0800 Message-Id: X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set add hardware sampling support for csky-pmu, and also add some properties to pmu node definition. perf can record on hardware event with this patch applied. Guo Ren (1): csky: Fixup some error count in 810 & 860. Mao Han (4): csky: Init pmu as a device csky: Add reg-io-width property for csky pmu csky: Add pmu interrupt support dt-bindings: csky: Add csky PMU bindings Documentation/devicetree/bindings/csky/pmu.txt | 38 +++ arch/csky/kernel/perf_event.c | 401 +++++++++++++++++++++++-- 2 files changed, 418 insertions(+), 21 deletions(-) create mode 100644 Documentation/devicetree/bindings/csky/pmu.txt -- 2.7.4