From patchwork Thu Jul 6 09:23:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Whitchurch X-Patchwork-Id: 116597 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp2436738vqx; Thu, 6 Jul 2023 02:54:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlHKZhMSOQrTCsHKRXPtiJAVgMdGPsFVRTKj7PePX8ag5OoDbAYjIHdTh5SnOwVvgCypVGUN X-Received: by 2002:a17:903:2305:b0:1b8:9b17:f63d with SMTP id d5-20020a170903230500b001b89b17f63dmr1211458plh.23.1688637251000; Thu, 06 Jul 2023 02:54:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688637250; cv=none; d=google.com; s=arc-20160816; b=LOCs3qQfQmDmyKDyHeYUHc/UtisPKEYVD9KpId2Ua4m+eUTXU8d8++3bMUw0qrETug pjkAH6cr6PrANTcBnJcDRvPVmNc7TzKnJOQZC8eAgE5E7BHFIl5814Urs426q3IReTEH ciudFJ9I68HsMXx3LCpCG0JV8rpH6qVWmStrRaNgnfqyvUFEkmPA4Csk664MGh5V8gqv HabtXTqco6Pz2sO1xMhFSE6EYSipsbTwPz9/ZNZO8gdzOVzfCiHRLA4Wy2BsukFpqtix WOyR8+A3frVHrTXXpuM/4ffc/CtjVASSO3vwj71F6giDC9vtgDG6xi2j16dVk1vNncJa lEaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=Sm5pjG2Fhn0ZlxTTnrxCCc7Kqk9wvYr1ZQV9QqoXibU=; fh=dTzemX8JLyc+b8+oLjzMYRtnfX+fxmHoKPe7uONSIgw=; b=WLd4jCRsUelvkJyj1Thzfmgt3cSudLSrFlqGjPE1PTTtfeE5IfpH+p2s5ZCKZDg5QH ZvvET9cmrAsxKgfY4E+FmDuzXo+CcTqv7iPBqNHl/ku7kFN9ktHwNHkcrR8I4anftslX rUAeMaIy69mxnbwa/LaMWI/NNNUSNZJnlqhbf4zPArTzks2+t2wiW0WCbmyJ1ubZlGl/ cugYnhY85wv++66Gsua7j4PlSMtcvFhFYM4uvwqqopt49mEl+H9KmwGJRy5F/bt21vCO Uq9dZ8kLqz58ZpNu+mOumtLzVb39PlB7bMf3CcUCdj42LpL6HG5yGnTFxzymCKtsomuN xG1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=T5cspn2e; 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=axis.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f10-20020a170902ce8a00b001b8ae12560fsi1026219plg.610.2023.07.06.02.53.57; Thu, 06 Jul 2023 02:54:10 -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 (test mode) header.i=@axis.com header.s=axis-central1 header.b=T5cspn2e; 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=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229660AbjGFJY2 (ORCPT + 99 others); Thu, 6 Jul 2023 05:24:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbjGFJYZ (ORCPT ); Thu, 6 Jul 2023 05:24:25 -0400 Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20C4D210A for ; Thu, 6 Jul 2023 02:23:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1688635435; x=1720171435; h=from:date:subject:mime-version:content-transfer-encoding: message-id:to:cc; bh=Sm5pjG2Fhn0ZlxTTnrxCCc7Kqk9wvYr1ZQV9QqoXibU=; b=T5cspn2eR0nJv5Yu0MlR832T/WJfxsbbzbs4j3DUX8qVw4XR3Hh/FdVP JUdp12vjIHw7IoCyCQ7fsprtuQ7P2OfhuX/uQfcwkPaZXGEscBMfwtIOR kIvvTgl+5W+HzOwwj1YC9OyUN647zeftFUah5uzoF0iS7VkZ9aaGSPlpq amY58J5YciO1dewZu1o0fdlD3P5AIMl1H9xgvLpo+7ISxm9KzTbyZVU8x 2V1Qe23UTmFXKYLjPdus5mE9Cyrj+tuKNlJtCygj9vBtOXebkQ900/oPv zGT76wJuT2Mr9pNlDqHnU4ZmjkOv2SirgFztRr+waiirqzeyPhS2lpNGv w==; From: Vincent Whitchurch Date: Thu, 6 Jul 2023 11:23:05 +0200 Subject: [PATCH] perf/smmuv3: Remove build dependency on ACPI MIME-Version: 1.0 Message-ID: <20230706-smmuv3-pmu-noacpi-v1-1-7083ef189158@axis.com> X-B4-Tracking: v=1; b=H4sIAPiHpmQC/x2NywqDMBAAf0X23IXUra32V0oPSdzUPeRBFqUg/ ntjjzMwzA7KVVjh2e1QeROVnBpcLx34xaYPo8yNoTc9mYe5o8a4boQlrpiy9UUw+JEGN5EdJ4L WOauMrtrkl7MMOd9OXSoH+f5Xr/dx/ADpHjJeegAAAA== To: Will Deacon , Mark Rutland CC: , , , , , , Vincent Whitchurch X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770664493734033027?= X-GMAIL-MSGID: =?utf-8?q?1770664493734033027?= This driver supports working without ACPI since commit 3f7be43561766 ("perf/smmuv3: Add devicetree support"), so remove the build dependency. Signed-off-by: Vincent Whitchurch Reviewed-by: Robin Murphy --- drivers/perf/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- base-commit: 6995e2de6891c724bfeb2db33d7b87775f913ad1 change-id: 20230706-smmuv3-pmu-noacpi-fc835b93a893 Best regards, diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index 711f824000864..4eef9ad3c1954 100644 --- a/drivers/perf/Kconfig +++ b/drivers/perf/Kconfig @@ -92,7 +92,7 @@ config ARM_PMU_ACPI config ARM_SMMU_V3_PMU tristate "ARM SMMUv3 Performance Monitors Extension" - depends on (ARM64 && ACPI) || (COMPILE_TEST && 64BIT) + depends on ARM64 || (COMPILE_TEST && 64BIT) depends on GENERIC_MSI_IRQ help Provides support for the ARM SMMUv3 Performance Monitor Counter