From patchwork Mon Nov 4 18:12:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 178460 Delivered-To: patch@linaro.org Received: by 2002:ac9:3c86:0:0:0:0:0 with SMTP id w6csp4389269ocf; Mon, 4 Nov 2019 10:13:18 -0800 (PST) X-Google-Smtp-Source: APXvYqyVqqtJImxHYPh2S9pqTvARiASq9EsFhjfV9be9DZ2JRGNwiuUS7jmlJNGBtuLq6RQzUa1z X-Received: by 2002:a17:906:27c5:: with SMTP id k5mr24738727ejc.173.1572891198492; Mon, 04 Nov 2019 10:13:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572891198; cv=none; d=google.com; s=arc-20160816; b=vnfNGnHeg0MDOjpNBAkJPE4yTAOKnmMAYL9yAPdTJBB1L4/pD3g/oa9D2A4CXPRJQI FEZ7i0LMmkE5vc//XuuoOTfk5ME9eZmHI6NV3Ty/LvH07sdojaGUt9zrmy2+om083uqZ b6Zt+Qlsh+yu6+h/NZ+GWn1cjYvvGUI8HK5DKwSn+sTgeyZA/SQTE6c5hD49vvQNcBIl 6WGP89morp/r+3kaj2Ml0Jb/WVyGwh/DaA/t8S7Esmlu9sEyTbMO+86bxrW8WQVz6VCs 6WoEo4mnkIZaPmYPAz2ho94P84024uMoO79KEmvJT0bZZ2YNHUjARmHyRPEzuKwAGMzV /vAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=I32GagO5xwpjaCvYA7jwVW7GwjuY4NbR5b26Ld8w57U=; b=tLjD3GsAbAKmLIXcFgfQNxj4WAqrKnCaWSjwLZgXpcm/VQsNGXOsZ5mKvv321hc2pl yWK5Nn7POdspShvVZHdYKjE3L5+T1SOd7KAN0WjeUZdLJqzUc8E+1NvEpV0JnuBY47Qq /GtO81OmgGisplo5jJDajHPx6kQY9HxBRqdoKANFHOUiRx6s8wvRayRWhYCcJ7sURMdB K+80B+cwc5zga5P1+BvEz3k4G+nVn0npTU+uM9dxiJHXBlyj9rTY+MUZ0ZlOpfNNoDM0 B90k5U3AncG8xt5lxTbrWgJ/YQwRxU4E0vljsOywbic8AMJZZMyWmqZa08m4fxi6a33j Kbwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="X6kZP/Gv"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u20si3696516ejr.168.2019.11.04.10.13.18; Mon, 04 Nov 2019 10:13:18 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b="X6kZP/Gv"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729637AbfKDSNL (ORCPT + 26 others); Mon, 4 Nov 2019 13:13:11 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:42523 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729595AbfKDSNH (ORCPT ); Mon, 4 Nov 2019 13:13:07 -0500 Received: by mail-pg1-f195.google.com with SMTP id s23so8479845pgo.9 for ; Mon, 04 Nov 2019 10:13:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=I32GagO5xwpjaCvYA7jwVW7GwjuY4NbR5b26Ld8w57U=; b=X6kZP/GvXomxJTpONdRTjc05uKXG60V6KmAFh5sdmFw/KfM+oijNNCl2oUL5CbnjJD bZ7fCXsjov868pGwWXolsD5V2kCStDPw6mIa/4CVypZPHYNENWm6bZ6r9+gu5oFKbMRR BqnsYkoJg6S/ScRTH7LQyZ948THS5mscenYO2Bc7fthtzq+9iHb17I5dcr+4egxIkjAM 8IvalnEp6sE3Eb9ZhupQbObuTPvb59awJR6zpiJ/gDmi/q1nxfMiJvCttciyJpccXbiB 1+OiRYaS+i3nBuhwvhWsOU/IrxT1rBjWGbWxjGEjOvYfbU02a7Y62IYwBlAOfm336zwp GFzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=I32GagO5xwpjaCvYA7jwVW7GwjuY4NbR5b26Ld8w57U=; b=grWsw0YfiF8HrbrceA/Vkw01PNNW1cmduGgBQ1BcSuiUQbaRIYwRd0q82peY5T3Vmy BN65gvh3C5EX5F/Cb8QOcNTBp1M/nBJP7XzU2psILLqV0N/wiHmKVkQwtn3FnSYqn2Bd N6UQMmO8Q5fW7uq/7Swjh4of8OdnDAvBqwQWuUwjAuEpvu+zpTCANF4h8byviPwJVa7p XoLo8MRXqmhpQ54gaw+shdGXS9oZVaUQyRHmQCUeSQvoUPCJloCXzbgi8K0sotETMN3M va6yFz6f4pXbLbPODrOGqoRFU8QAz39NUuxUCh2KdnPk9uE9H21VrHMsQgRKEtOyKHGi aomQ== X-Gm-Message-State: APjAAAXvTwHpahVns+t0saPVPBjqNF1qScPOjUaPTDXsc21Ta0Ve9NMB mhw5YGavvjlENlD+EsB70RVlCm6MpSM= X-Received: by 2002:a17:90a:f496:: with SMTP id bx22mr547355pjb.101.1572891186044; Mon, 04 Nov 2019 10:13:06 -0800 (PST) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id o12sm16149520pgl.86.2019.11.04.10.13.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 10:13:05 -0800 (PST) From: Mathieu Poirier To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 12/14] coresight: Add explicit architecture dependency Date: Mon, 4 Nov 2019 11:12:49 -0700 Message-Id: <20191104181251.26732-13-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191104181251.26732-1-mathieu.poirier@linaro.org> References: <20191104181251.26732-1-mathieu.poirier@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mark Brown Coresight hardware is only likely to appear on Arm systems and currently the core code has Arm-specific barrier operations in it so can't be built anywhere else so add an explicit dependency saying so. This will make no practical difference currently due to the way subsystems are referenced, the subsystem is only pulled in on arm and arm64, so mainly serves as documentation in case someone wants to increase build coverage. Signed-off-by: Mark Brown Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/drivers/hwtracing/coresight/Kconfig b/drivers/hwtracing/coresight/Kconfig index 7a9f5fb08330..6ff30e25af55 100644 --- a/drivers/hwtracing/coresight/Kconfig +++ b/drivers/hwtracing/coresight/Kconfig @@ -4,6 +4,7 @@ # menuconfig CORESIGHT bool "CoreSight Tracing Support" + depends on ARM || ARM64 depends on OF || ACPI select ARM_AMBA select PERF_EVENTS