Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp928906ybl; Wed, 14 Aug 2019 08:07:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHZ1/S1mX91Vrwik3I2odtwQAVIlV/4di580xZTp6mu7erDG2aCTNwhXlKEoor1J6+5yZB X-Received: by 2002:a17:902:788e:: with SMTP id q14mr43559469pll.234.1565795232753; Wed, 14 Aug 2019 08:07:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565795232; cv=none; d=google.com; s=arc-20160816; b=yoUvD+pUE112isAeeEJ+9FyI9u0TFnxEa1LQVzT5fgBmibLlNGDzWoQDKl2UlCujqY sr/AQaiBqgnmWYrfkGy2lG33IvP/GZ1YyOmnz54TZYm+SpYIWaXB3eA4ShD0w9Q6K5Wi cRERZuQRia+xkxHj5bhT08G3ZaO+XjEKiBNjC6tZ0QAwKNdPm8DbuKI6GD69RUqRCjLl 89KftkxifasZxXi9DdVm7iyzegmhh0lqJERbjYj3XzjmdfZLUWEEkkgOPAXMk22IFZf/ yxCr/b7YaariPBsHzcWP13yOyINjg9584yhvcV+v7byb40UMh9KPSq5wXziXoQ0HBILL S6rw== 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 :in-reply-to:references:mime-version:dkim-signature; bh=F/p97iQZnXTuUHhiYplY/Za6YnkQQ3wC/QnPWgUZezo=; b=HWx8JyQ2yWN4A7oPVyPOIhKBQs+91yduMT7OZeBKOrH9UWL3FZBsPxZIItzn7hSWMq IUG7MtX8DvkMgQ/7UEHkaO3UAdx8cOVTccqjOtR+qje5j0Zc5CfKyR6wNvN9nSWSDFcf Tw3f9RafrgdSldZ3JpsSlBqNY7mE0qAwkaSF21JqNEmwKpwmTNUJvnsdQ4ZcF1iCSeoN wsZTYdx6/QcPMJ/pw5VbR7e10/UOS9t1NkFEd8QlvDq8D4r3Bvt86NQTi06UUNObUCQV gccSibc8DlwIx3RXlqRMZjjh04MzPh+FyZ5l0864EoHgR0qnalT1F/EUwbvsdL4LdMsB WMDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TkubPT65; 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 94si45560plf.221.2019.08.14.08.06.56; Wed, 14 Aug 2019 08:07:12 -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=TkubPT65; 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 S1727425AbfHNPEe (ORCPT + 99 others); Wed, 14 Aug 2019 11:04:34 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:39423 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726126AbfHNPEe (ORCPT ); Wed, 14 Aug 2019 11:04:34 -0400 Received: by mail-oi1-f195.google.com with SMTP id 16so4152655oiq.6 for ; Wed, 14 Aug 2019 08:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=F/p97iQZnXTuUHhiYplY/Za6YnkQQ3wC/QnPWgUZezo=; b=TkubPT652d2A8SsiB1hPYRHsyGm/kX6niHNGd5xmKRw56W6a2s6XAcQdqfkpOc3DGR e4BvSHKESFFoD3PxBlSsWr9BtJiAvR0ht4ILGJ86om7Gndkl5Nhz/6Wym/FnNdntfjt7 qwx02gpi0Si6zC801v/9WxDiu2Zji41tnOzpt2p9WxGxoMQn6Kldu513NwmPkKhZYAmX Jguir6tGF6fYseJxmdnIRa26hh8D4K890+QZYxb4G5xMPeeINucTXsRtP9rXkA29Prax ETMXaOZQVpiStZRR+wx3aujevygxWl0z/2U2uIV3fWgC4icqbkCeTyzm4iXVSUNLe68E iLfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=F/p97iQZnXTuUHhiYplY/Za6YnkQQ3wC/QnPWgUZezo=; b=qJ7BVT8U0JNIv6QQI7fNrBoGYevralO8T3B9J3STypUwkhsNW0NcRvpzZclSn7N9Cp zrRHaiGTHPHbXeYLJd2R9MuR09qQFwCNM4MlngY+xBlbIalrAfIea9EXsnfHztDXbswJ Bx92yWdhweVqvBFQMMn0UGsBtO94wGoE52XfQinf6LZpSF735W7G81vB6HitMxkM85ZY ef9SS90qWYEJExQkOwQONXu+ILggqxArmSat1aYT/aDPiRCC6tELX2YATIQgGfOyCa1Y XS27xVN6Ilhje4WSGdwUxXYF1BVEaIWovJwUnpwM6at/h+58lLImdP7D8ukSGCW8z5nY bu+A== X-Gm-Message-State: APjAAAXAu25nmq6LT3zQX9QXmWio75iMjZ1xdiVXQgQGaDzQfHSkt8Ap +TeLWp9vM8UN8+xHIrj1YfOwJcYRMmgzq0UugzyBFw== X-Received: by 2002:a02:6914:: with SMTP id e20mr1662340jac.83.1565795072861; Wed, 14 Aug 2019 08:04:32 -0700 (PDT) MIME-Version: 1.0 References: <20190814003557.97004-1-yabinc@google.com> In-Reply-To: <20190814003557.97004-1-yabinc@google.com> From: Mathieu Poirier Date: Wed, 14 Aug 2019 09:04:22 -0600 Message-ID: Subject: Re: [PATCH v3] coresight: Serialize enabling/disabling a link device. To: Yabin Cui Cc: Suzuki K Poulose , Alexander Shishkin , 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 Tue, 13 Aug 2019 at 18:36, Yabin Cui wrote: > > > The patch isn't difficult to do but does go deeper in each link > > drivers (ETF, funnel, replicator). Let me know if you are not > > comfortable with the idea and I will see what I can do on my side. > > I am comfortable with the idea. I chose to add lock in coresight_enable_link() just because it > is the smallest change. But a refactor probably is better for maintainance. Yes, that is my prime concern. > > Feel free to upload a new patch fixing the problem. I can help to test it. I have a few things on my plate at this time so you might beat me to the punch. I'll see how the next few days go. Mathieu