Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3939782imm; Thu, 17 May 2018 18:24:03 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqZHQc3551BYZ0FQMwKOZd9wg0LjzQXaSM2zNxKWuJWHWAgMjqFu/KcAWT3Tt8xVDY54NP3 X-Received: by 2002:a17:902:bb84:: with SMTP id m4-v6mr7335532pls.339.1526606643584; Thu, 17 May 2018 18:24:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526606643; cv=none; d=google.com; s=arc-20160816; b=zz0/nvQHTI7Jv+403INyki47RGn8peHKz7KCY3vVQmxj8tCMBPZTi3bq113zVP7/UJ 6cxAKIRO5e3+a0e0TzbCrHLiUqd7gUgx2ttZ4mcNvMcliKTB9mn7cxnKeEL65g++pZZj tgovst2J1LMkpAKLsLKw8ck/WzOTSaT4Z/tdoePREETsFn5/+eoubdKAMhtuozqgIv/v 2MAhR+xNjlxAqwBQMKcDLDyJHdty8/Qb391PPQt4OGZ0IkoSZF5wRdVKVxYzCbUKb1Xd QbX4kgni7HW2P0zCuq7OFJNkPU1Hrm1A/p4gHZmBZzphMBQe8VAx/RjPoeG36T19x0xa Xg9A== 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:arc-authentication-results; bh=vYaLpCV96YTdv3A+4mCCYGwYzj+/7EwbmFZiWxo7g/c=; b=NwoZtZ1saJX01gig5lT2efWbUXo1/70TIKv6F1us9FgvEGLvATqO9FXw1V0lBCocdo Xy/EXeHzPDwvi2LAv/6DW+5X3hcQ6Ek6fH89iwsrrVzNb144DBcZtZtEcbQx/ZRaBRl6 z73Ya5V5OQBXzZzVSsZnQ1EJbO7h+VJbQvzPAZTsrMYtWA6J82r/XXes8RWvOPbSfLav wGqzkdGzEKBZkYisbhmB+FLNMJ03dYycL2K0sHjRbTrc5XxHCropeyzOoQmj79VNBmx0 Ohn1UWqvKkfy+fNr8FaldMocvffDpgBEYhPXn4Ymu+RcG65/Hd/7wtvYbH2V1ftSYbxX h0og== 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 k64-v6si2615159pgk.264.2018.05.17.18.23.49; Thu, 17 May 2018 18:24:03 -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 S1752280AbeERBWJ (ORCPT + 99 others); Thu, 17 May 2018 21:22:09 -0400 Received: from foss.arm.com ([217.140.101.70]:42398 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751762AbeERBVG (ORCPT ); Thu, 17 May 2018 21:21:06 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CE5D81596; Thu, 17 May 2018 18:21:05 -0700 (PDT) Received: from localhost.localdomain (unknown [10.118.17.245]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C15183F5B7; Thu, 17 May 2018 18:21:04 -0700 (PDT) From: Kim Phillips To: Greg Kroah-Hartman , Mathieu Poirier Cc: Alexander Shishkin , Alex Williamson , Andrew Morton , David Howells , Eric Auger , Eric Biederman , Gargi Sharma , Geert Uytterhoeven , Kefeng Wang , Kirill Tkhai , Mike Rapoport , Oleg Nesterov , Pavel Tatashin , Rik van Riel , Robin Murphy , Russell King , Thierry Reding , Todd Kjos , Randy Dunlap , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kim Phillips Subject: [PATCH 2/6] coresight: fix CORESIGHT_STM -- STM dependency Date: Thu, 17 May 2018 20:20:20 -0500 Message-Id: <20180518012024.22645-2-kim.phillips@arm.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180518012024.22645-1-kim.phillips@arm.com> References: <20180517070643.GC13919@kroah.com> <20180518012024.22645-1-kim.phillips@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org coresight-stm unconditionally calls stm_register_device. This patch makes it therefore depend on STM instead of just selecting STM. Signed-off-by: Kim Phillips --- drivers/hwtracing/coresight/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/hwtracing/coresight/Kconfig b/drivers/hwtracing/coresight/Kconfig index 83fb78651ef9..f9abdef5b0d9 100644 --- a/drivers/hwtracing/coresight/Kconfig +++ b/drivers/hwtracing/coresight/Kconfig @@ -74,8 +74,7 @@ config CORESIGHT_DYNAMIC_REPLICATOR config CORESIGHT_STM bool "CoreSight System Trace Macrocell driver" - depends on (ARM && !(CPU_32v3 || CPU_32v4 || CPU_32v4T)) || ARM64 - select STM + depends on STM && ((ARM && !(CPU_32v3 || CPU_32v4 || CPU_32v4T)) || ARM64) help This driver provides support for hardware assisted software instrumentation based tracing. This is primarily used for -- 2.17.0