Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2163380pxb; Sat, 27 Feb 2021 12:58:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrsTnpBl5RVevzwM5YR5W1jZh0tnxUuplk8DAegPDIwP8snhlDjScJG/uabZqzYjZhbIjV X-Received: by 2002:a17:906:3395:: with SMTP id v21mr9321532eja.322.1614459526135; Sat, 27 Feb 2021 12:58:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614459526; cv=none; d=google.com; s=arc-20160816; b=yb5eQjQwZHa4IYQoPr8TgIMkh51yf++okQDJjcEBT3YI+QsfdCG18BZ4xQuzB8COKB S6LSNCc8IPqXw3d3xAe/dMVRm7gb6L7w8PGlXMwfWqGS2c+21B1ASN8ePo6yDuBQteBV zihC61YGmTk279W/3pApAXd/wdl9LoVFlcNMEOOfhXh/oDSxTXn8Lv38KzR/CiqRccMK hbUfcXC57r++5YKvLAWgUMNLMsYKZWCcne6p1RH+VmtwCwg4uDCZ2hvjEE1vmEwsAVDI 0A8dqkQ3uwYuJGMFsjzaaL6taQl7Tf7gOArG9/Bf30+I59IC+ZpiQQAsbl2LCkCHhPsC R+zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iCzhTX7/J8HDQ1NmWTMdWfXjqfGCQtFahBty74znwas=; b=DxzVVOEF0yNBl4JNRMQgMQ6xulrpMI3HPKtMBRZKdoL3wLwVrhG0gNtV+Mtxw8Wb7f 51Lf9tFNNahQvIWp1VEFKAYkWkXg1mVl2qxRfwcnXo49M6Lcpd1TXGPncy3gD+gHCWn3 fVofz7/0fRrI+kO5OqhKRGywZfrZjjyJHmw7ChruOnlP2ZhMfqqVoMVeMhmQvL4ly8ko BPZg0SRy7cvKc66THqBi3h+/eMlvKe8iynrC5vFt7rshb1uFLLWVUgutctgNZ3+VIqSm VR2iBt0Q2NKVmvOmptCzIhvd1IlPfY19Bv1l+npfTSw9qMJIjFuHujQIlG7uV3WHe3X0 64yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bhR2WP0p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id u1si8206427edp.42.2021.02.27.12.58.23; Sat, 27 Feb 2021 12:58:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bhR2WP0p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230081AbhB0Uw6 (ORCPT + 99 others); Sat, 27 Feb 2021 15:52:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230063AbhB0Uwy (ORCPT ); Sat, 27 Feb 2021 15:52:54 -0500 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 424B7C06174A for ; Sat, 27 Feb 2021 12:52:14 -0800 (PST) Received: by mail-pg1-x52a.google.com with SMTP id o38so8461792pgm.9 for ; Sat, 27 Feb 2021 12:52:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=iCzhTX7/J8HDQ1NmWTMdWfXjqfGCQtFahBty74znwas=; b=bhR2WP0pAVjerTSc3Rgc0a6ag6fD1FIwlK5OasyrGOmEs5qUpPYQHB2tOjhkS6+fc2 859p06Z6DP1gtVh6ncx1lDLCHFguWhixSY8MaYQ84AzHci6WffISq2cKUg/5pkw9Yhyt ZfSmHTVP36H8PoLttcRMKsITjjZ+ldS55n1gqqvTSfwBP5UIcoadqmtvT7N8MuWb7aUB FErkDr7cMDHUDvQebKhHbGCpYuinji9Pf+dLIM1Y1/t9/OCV6VRAd49iY1yhQE12boGg opXZ+4SMwMnt58d0NLxBfgNSa1pEiaNuCINUqgM2yXoO3z6BfdlUoCzo3BlOow2Hxq+9 Y2BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=iCzhTX7/J8HDQ1NmWTMdWfXjqfGCQtFahBty74znwas=; b=g0+sYshjmsWSD3lfWCdkNovozbarkv5huBMEIjYP8Fo3P1r0UUo7ZQM71XGgMBJ6Q1 dVk5UghOm/1HokQD2tgwrGywCo3WJrusvIC4QXwWgsf6ivp067n+gJXisumWiaonFH+B 0b4+Lp0SVGsmvbQwZNVvuYFQVvd+4hLUDD4+Hs+qfYfctnsmSwLfbZMpYDayOTD4+hpi kwyWX5to+7dRHS1Uiete8AhwQBUdESO9cFitmEFtUgdXG5M4ALzr+ZCFS+IPjl5tZZCY QHvk42d4QNsYIdZRyLMIQPnitNayg1PCm8CIzpQ712VrBWyw60ZtaiqR84OdVh74NPd0 7YlQ== X-Gm-Message-State: AOAM530rUlSdkpSE9RtXC6zqzelAXcpCmhHYAdZ5ADd4NCTtldFg8Wtr HnfnlNHvR08oOLcUfQGZbDQNoA== X-Received: by 2002:a63:2110:: with SMTP id h16mr8015755pgh.441.1614459133593; Sat, 27 Feb 2021 12:52:13 -0800 (PST) Received: from xps15 (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id 192sm10432202pfx.193.2021.02.27.12.52.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Feb 2021 12:52:12 -0800 (PST) Date: Sat, 27 Feb 2021 13:52:09 -0700 From: Mathieu Poirier To: Mike Leach Cc: linux-arm-kernel , Coresight ML , "open list:DOCUMENTATION" , "Suzuki K. Poulose" , Yabin Cui , Jonathan Corbet , Leo Yan , Alexander Shishkin , Tingwei Zhang , Greg Kroah-Hartman , Linux Kernel Mailing List Subject: Re: [PATCH v4 02/10] coresight: syscfg: Add registration and feature loading for cs devices Message-ID: <20210227205209.GA3631443@xps15> References: <20210128170936.9222-1-mike.leach@linaro.org> <20210128170936.9222-3-mike.leach@linaro.org> <20210219184313.GA3065106@xps15> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 26, 2021 at 07:14:32PM +0000, Mike Leach wrote: > Hi Mathieu, > > On Fri, 19 Feb 2021 at 18:43, Mathieu Poirier > wrote: > > > > [...] > > > > > +/** > > > + * List entry for Coresight devices that are registered as supporting complex > > > + * config operations. > > > + * > > > + * @csdev: The registered device. > > > + * @match_info: The matching type information. > > > + * @ops: Operations supported by the registered device. > > > + * @item: list entry. > > > + */ > > > +struct cscfg_csdev_register { > > > + struct coresight_device *csdev; > > > + struct cscfg_match_desc match_info; > > > + struct cscfg_csdev_feat_ops ops; > > > + struct list_head item; > > > +}; > > > > I would call this structure cscfg_registered_csdev and move it to > > coresight-config.h. That way it is consistent with cscfg_config_csdev and > > cscfg_feature_csdev and located all in the same file. > > > > I was trying to separate structures that are used to define > configurations and features, with those that are used to manage the > same. Hence, most things in coresight_config.h define configurations, > or their device loaded instance equivalents, and things in > coresight_syscfg.h are management items. I am happy to change the name > but would prefer is stay in coresight_syscfg.h Ok > > Thanks > > Mike >