From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79017C433E0 for ; Thu, 4 Jun 2020 21:18:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4A7452067B for ; Thu, 4 Jun 2020 21:18:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nmB3oE54"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ylc8ppBm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4A7452067B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ly6+gHkff7Qo2pohQKhfn7pnVT2PXI3MCcp9Px5JCAs=; b=nmB3oE545fXms9 zVB+P+iw8YFM4KDlSzpQfbyBkjxsns2GgBSR6QexbGFXfK2+1pc0oPdGAJsKTzc2DkvdpOP7CU5ZG +RbxCX8MLX1o0LOKs8iKzhC3TqZglZBAv5iXMZ7SOvYcY0mtUId4x2qYsZZ1JlPZ1VOw3sp1BXN8U /xXG0sZmAs19SCGFF14CQnzVsQDE24R8nBwxWftaRifBG596WU4GtQd5sfV4umghTKGOKv/I0SnhD VFfiwEGPfjFH5q4z9fxOXxdiZgAOoJCzskat+B4DvaUjEWB/VYg/YLTRWj1apVgHb55OkI8XDKxtY M+TD0Sl8OxpcvddCWDsw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jgxFa-00067W-Qp; Thu, 04 Jun 2020 21:18:10 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jgxFX-000670-LT for linux-arm-kernel@lists.infradead.org; Thu, 04 Jun 2020 21:18:09 +0000 Received: by mail-pl1-x641.google.com with SMTP id g12so2706498pll.10 for ; Thu, 04 Jun 2020 14:18:07 -0700 (PDT) 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:user-agent; bh=Xj4R5b/NmHr7cy4cFjqI3AVUp8b13ugKgvK5SgKHWhw=; b=ylc8ppBmPztFTGjH2ucHgmqWQm3hTFsQ3/jasvFwX9FvbP1wTGsji5ulax3htOH8eF lUqqWQupVjiPZqqerksRvNNJLIOLHk4h31B+A0HzDZf7MH/ODHwufZNXKQ5ZCPT4Dzqo 0sMvATeKA3zqqIGdv+VpXCCPBQ1r5zHKBI9WPYkUUfpwfDf4GfeGa3k07UB68Q+Aa879 EeZd1AnaKxUhWEju2Y9bS3R+6DkFwNrZwL1feSGbPCB8ZbZ864W+8yYefsy6f88K19oR PDNJv/OhKcmeLcMOmscymb4/AMw4syEttCeBD2oXTRKbSrxNa1AlRxVK6l0ouEkPVntF dZ6g== 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:user-agent; bh=Xj4R5b/NmHr7cy4cFjqI3AVUp8b13ugKgvK5SgKHWhw=; b=KZVuR6jFNBTSauoxGD8qKnO67RVm3p8eYjSFlBTUkNS5jsBsf1i4s9DBmZIqX0xRK+ g6JxQJ7S1WCyygvvnUDXyRw/G8rxi0fSgeMFMuVR0IddSIU5XrsVKKOd9COtM8nfRqIu gzB2353LiGt4vIbWUHvV7DAdKrhcEh1miHWyKKvGLvJlJJmVpXJOPNCdKitg5tPtfERq Z3t9J/vVVbGOjSAEwym/4dEGxpp2LvDeor5LqmGGvHSYwHhLKwKs/qH4lgkdY0QK4Wfa TSRqTZW8LKfiNsf6slcb3du3/2//6QwMu6VyPv6HKCGEvYKEUzgDjAOJvIw/PMUGH5iI T1uQ== X-Gm-Message-State: AOAM530uHpT1yRjqKUZYaYyz5K7tIeVP5HPAMImq6x8Tu9H3c+2lpYHI xBEZAXjpJT+Pyrx4hrT0oK0L23Yvc/0= X-Google-Smtp-Source: ABdhPJyIGDoc6vtidfICbYChumDqcH6Z30H2Sd7fXL8KkzgFwhV3blRhegrFMExce9d3PRXPuohp3w== X-Received: by 2002:a17:902:bf43:: with SMTP id u3mr6480965pls.240.1591305486837; Thu, 04 Jun 2020 14:18:06 -0700 (PDT) Received: from xps15 (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id z9sm6036803pjr.39.2020.06.04.14.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jun 2020 14:18:06 -0700 (PDT) Date: Thu, 4 Jun 2020 15:18:04 -0600 From: Mathieu Poirier To: Mike Leach Subject: Re: [PATCH v4 3/5] coresight: tmc: Update sink types for default selection. Message-ID: <20200604211804.GC18961@xps15> References: <20200526104642.9526-1-mike.leach@linaro.org> <20200526104642.9526-4-mike.leach@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200526104642.9526-4-mike.leach@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200604_141807_705111_672972F7 X-CRM114-Status: GOOD ( 14.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: coresight@lists.linaro.org, acme@kernel.org, linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, May 26, 2020 at 11:46:40AM +0100, Mike Leach wrote: > An additional sink subtype is added to differentiate ETB/ETF buffer > sinks and ETR type system memory sinks. > > This allows the prioritised selection of default sinks. > > Signed-off-by: Mike Leach > --- > drivers/hwtracing/coresight/coresight-tmc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/hwtracing/coresight/coresight-tmc.c b/drivers/hwtracing/coresight/coresight-tmc.c > index 39fba1d16e6e..0d2eb7e0e1bb 100644 > --- a/drivers/hwtracing/coresight/coresight-tmc.c > +++ b/drivers/hwtracing/coresight/coresight-tmc.c > @@ -484,7 +484,7 @@ static int tmc_probe(struct amba_device *adev, const struct amba_id *id) > break; > case TMC_CONFIG_TYPE_ETR: > desc.type = CORESIGHT_DEV_TYPE_SINK; > - desc.subtype.sink_subtype = CORESIGHT_DEV_SUBTYPE_SINK_BUFFER; > + desc.subtype.sink_subtype = CORESIGHT_DEV_SUBTYPE_SINK_SYSMEM; > desc.ops = &tmc_etr_cs_ops; > ret = tmc_etr_setup_caps(dev, devid, > coresight_get_uci_data(id)); > @@ -496,6 +496,7 @@ static int tmc_probe(struct amba_device *adev, const struct amba_id *id) > break; > case TMC_CONFIG_TYPE_ETF: > desc.type = CORESIGHT_DEV_TYPE_LINKSINK; > + desc.subtype.sink_subtype = CORESIGHT_DEV_SUBTYPE_SINK_BUFFER; > desc.subtype.link_subtype = CORESIGHT_DEV_SUBTYPE_LINK_FIFO; > desc.ops = &tmc_etf_cs_ops; > dev_list = &etf_devs; Reviewed-by: Mathieu Poirier > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel