Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2934891imm; Thu, 24 May 2018 19:23:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpFIzvKNlXCLThjNGCGdGPOSOI2J5K3gsqlWC8Bila/ejYajgGYQpVWuvGE/Ujd0ic/ec9T X-Received: by 2002:a62:ce4e:: with SMTP id y75-v6mr512585pfg.175.1527214986429; Thu, 24 May 2018 19:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527214986; cv=none; d=google.com; s=arc-20160816; b=sfG0BhsSX4IE8M607Vhz4eje+XJVWNJ9SwpWOI1kR6dWBw5xXUn1VtBgv5rw2fN51o kgrczcG1APoyeZ7Xgi8tLxh8OTbuPzKnnmetrmHK73WbYT7ftYf++By+NsqeYQ3VSb6Z I1zDkd8W+bHRbn9kGZciXeCHOhGy8K3+iLhlwXJpYERSqTe1bg0lWJO2WoYovfUEJMDM P02zfz4pZnlgmweNVnCb4oadb0+ouDtbYwToJ3QBYTk4v62RRVKs4+m/VDoDAXh2o27N VsFd7ioYZB46LM6sodbRJA1equchx4bYlVIq2zwu8iEFoOG934srcPLboB3hkAK7LArM jbjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=B+CzF17NOiTOghdSdSzcI8fCLYGxCND6W4J1T9FDdzA=; b=xs8UNvRWGCXJnNr4tRmDRTZEboJgUXs27kqmt7cGmKJhluvzD7KAxM0IKB4+CcxP4/ E9F1yDqdAWpqovUhCzDgj82ouvzl0aNcCZs4mEMD4RHYAVXoCngmJpvMXhycWsCXEKy4 FnT02t7bFYGtxk/iZxe9rERly7ONyOob3uHIXaymgBwWGqCkFLiO9YOOoWxfUoSt67rw CgMqOaZkKKb1p+8V/NHL+09WnOilsCSQG6ENNhC/2dJTVGrAlzk6TKcdlEG5z+Rm0ySa uPVZa8dH3l4t54/hdfRxpEjJBVvVWkFKQ1OTHZzA1AXMb40qQ7dsu/C9fodliv+QKcx8 qpuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D2CSH44S; 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 h91-v6si21888584pld.132.2018.05.24.19.22.52; Thu, 24 May 2018 19:23: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; dkim=pass header.i=@linaro.org header.s=google header.b=D2CSH44S; 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 S967448AbeEXPcy (ORCPT + 99 others); Thu, 24 May 2018 11:32:54 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:50988 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966698AbeEXPcu (ORCPT ); Thu, 24 May 2018 11:32:50 -0400 Received: by mail-wm0-f66.google.com with SMTP id t11-v6so6354197wmt.0 for ; Thu, 24 May 2018 08:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=B+CzF17NOiTOghdSdSzcI8fCLYGxCND6W4J1T9FDdzA=; b=D2CSH44SYUbKyjJ39TvbNzTvZXcB9J5SyQUL8m6kYeSDtf/ViPDvMex/VPHkl4GvII Mvf3r2P/fhna45koHdo24U09rXNsg22uOoURxlRN0w6VBKuToo0RSsqPenDYZTJpg4sG E4ZjyuFgPhpT0siulzzIgFwu6sWrhTMVl4Deg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=B+CzF17NOiTOghdSdSzcI8fCLYGxCND6W4J1T9FDdzA=; b=k6p31F0MeJXa6ikupqYRcKcl2q2QuqfnLyxmPMkD7puCYvhyotbru37jyoxOOJhboX sSokQ0UQiOfRgyX/ufdPySmC6BeOXeXkzxyC7x5V4xlqtLuUUd3dM4h0RyRSnlNGeOWo pL+XgijYaZa5j+V3ausGmOsN5GeXQLDXPcOh/PTr6Hyr/cP7zux8siOPPM0p+M87qHjt Loq3x6aP7dCgFVBybkXJ2nfDpaf4KrvayGi+G63JjcdLjmsfMM9k/xZzfJ5T/Uyff0kv nuKNY7sVzD1Qly5JiFqI7eRlCQsO1MUgBxhAy7I/vaKAXgQbihmcNmtJLLQVsk+91yFT L/CA== X-Gm-Message-State: ALKqPwe18Tlhzr7K3UnCaI6dLhRdaxZC3UoQqqVDqmCl/3d4Of28H/OR Xd38xJM4uuZ7woYEZ8VC2efAM3+TOamKjy9gC1hN3g== X-Received: by 2002:a50:b512:: with SMTP id y18-v6mr12761768edd.195.1527175969343; Thu, 24 May 2018 08:32:49 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a50:a4a1:0:0:0:0:0 with HTTP; Thu, 24 May 2018 08:32:48 -0700 (PDT) In-Reply-To: <20180523145155.5929dd09c78a056ef19329be@arm.com> References: <20180517070643.GC13919@kroah.com> <20180518012024.22645-1-kim.phillips@arm.com> <20180522173140.GA25658@xps15> <20180523145155.5929dd09c78a056ef19329be@arm.com> From: Mathieu Poirier Date: Thu, 24 May 2018 09:32:48 -0600 Message-ID: Subject: Re: [PATCH 1/6] coresight: remove CORESIGHT_LINKS_AND_SINKS dependencies and selections To: Kim Phillips Cc: Greg Kroah-Hartman , 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 , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23 May 2018 at 13:51, Kim Phillips wrote: > On Tue, 22 May 2018 11:31:40 -0600 > Mathieu Poirier wrote: > >> On Thu, May 17, 2018 at 08:20:19PM -0500, Kim Phillips wrote: >> > A coresight topology doesn't need to include links, i.e., a source can >> > be directly connected to a sink. As such, selecting and/or depending on >> > LINKS_AND_SINKS is no longer needed. >> >> I'm good with this patch but now the help text for CORESIGHT_LINKS_AND_SINKS no >> longer match what the config does. I see two ways to fix this: > > This patch doesn't change what the config does, it just changes what > other config options depend on it. > >> 1) Rework the help text. > > I don't see how, given the above. Here's the text: > > config CORESIGHT_LINKS_AND_SINKS > bool "CoreSight Link and Sink drivers" > help > This enables support for CoreSight link and sink drivers that are > responsible for transporting and collecting the trace data > respectively. Link and sinks are dynamically aggregated with a trace > entity at run time to form a complete trace path. > > What part of that becomes invalid with this patch? Looking at the new Kconfig, what sink component depend on CORESIGHT_LINKS_AND_SINKS? config CORESIGHT_LINKS bool "CoreSight Link drivers" help This enables support for CoreSight link drivers that are responsible for transporting trace data from source to sink. Links are dynamically aggregated with other traces entities at run time to form a complete trace path. > >> 2) Rework CORESIGHT_LINKS_AND_SINKS to be CORESIGHT_FUNNEL and move >> coresight-replicator.o under CORESIGHT_DYNAMIC_REPLICATOR in the Makefile. I >> really liked your idea of making the replicator driver intelligent enough to >> deal with both DT and platform declaration, which merges two driver into one. >> >> I'm obviously favouring the second option but recognise it doesn't have to be >> part of this patchet. So for this set please rework the help text for >> CORESIGHT_LINKS_AND_SINKS. Once we've dealt with this topic we can refactor the >> replicator driver. > > I'd really like to just focus on getting CoreSight to load as modules, > something for which this patch isn't technically required... The only thing I'm asking is that the config description and help text reflect what the Makefile does. > > Thanks, > > Kim