From patchwork Mon Jul 6 11:22:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jay Chen X-Patchwork-Id: 11645451 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F006492A for ; Mon, 6 Jul 2020 11:25:39 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 C9D0D2073E for ; Mon, 6 Jul 2020 11:25:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="P0xUn8nY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C9D0D2073E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=0cyrT9UA2Gk7LOnGFTfqyROjA/NV8+O394VWhEOIq9c=; b=P0xUn8nYHMMkvFqAC+eBJANykL yDYQKpA5XygUaFgLKg5kVEdls532DOn6ULK+36GEUA86dQXtmevyqq+OZPOkpU8Ap7D3D/Voi/pnk 6lgNhe6HzdyvCMFCL5AJCkMfJ47AClDadSCH0d6SDzUVBo7Tqxn+hsaIym1CVkFDR09cvLGvQpsIp ezhUae6sY3Z9GbeebObjLyEODtYxc0tMhuM+Kq1aoE0efBI6q8Lx4teRpOsYmle+287ePWk3RphtP 0UOsieP8KgTfpSX+Vu6Ye2LF1Kqte/ju5Xxt5qPemYZrk8o8snaVLkJ1NtLbZ5S9kUA6kMdZ1dCIT /vPD6psg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsPEa-0007Kn-9O; Mon, 06 Jul 2020 11:24:28 +0000 Received: from out30-131.freemail.mail.aliyun.com ([115.124.30.131]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsPEY-0007Ip-7L for linux-arm-kernel@lists.infradead.org; Mon, 06 Jul 2020 11:24:27 +0000 X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R201e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=e01e04357; MF=jkchen@linux.alibaba.com; NM=1; PH=DS; RN=4; SR=0; TI=SMTPD_---0U1u4RQF_1594034649; Received: from localhost(mailfrom:jkchen@linux.alibaba.com fp:SMTPD_---0U1u4RQF_1594034649) by smtp.aliyun-inc.com(127.0.0.1); Mon, 06 Jul 2020 19:24:09 +0800 From: Jay Chen To: will@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH v1 0/2] perf/smmuv3: dts get opt and simplify code Date: Mon, 6 Jul 2020 19:22:44 +0800 Message-Id: <20200706112246.92220-1-jkchen@linux.alibaba.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200706_072426_593915_54991C62 X-CRM114-Status: UNSURE ( 4.65 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -8.0 (--------) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-8.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [115.124.30.131 listed in list.dnswl.org] -7.5 USER_IN_DEF_SPF_WL From: address is in the default SPF white-list -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines -0.5 ENV_AND_HDR_SPF_MATCH Env and Hdr From used in default SPF WL Match X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jay Chen Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch set firstly to simplify the code in smmu pmu probe, and then support to get options in dts Jay Chen (2): perf/smmuv3: To simplify code for ioremap page in pmcg perf/smmuv3: To support the dts to get options drivers/perf/arm_smmuv3_pmu.c | 45 ++++++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 3 deletions(-)