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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no 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 C8291C32750 for ; Wed, 14 Aug 2019 00:36: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 99A6220665 for ; Wed, 14 Aug 2019 00:36: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="BgrLKxFO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="agaAlbCO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 99A6220665 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com 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:To:From:Subject:References:Mime-Version :Message-Id:In-Reply-To:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vEvnpC+KUjVAjtY+o6G58PSl6V+53vveo28ib7I4nuk=; b=BgrLKxFOn/iZWs rCG+fHV7+PuI78ofaKLclfYH6ukPYj6YCBhy6//XL23qC4GLNo3oX8H6wXWQ7YqNNIo95Mp7oEBJy uwV1oBEyyBg+AdzOBe5z3zFqluP3vf6bVRwE2W+DbElI3oGFR7lSKve4OMaZ3iU4R/dWnP2SKBKJf bhHrZj0KS24bgPe+Lg9uXDZASAFs6pCxDCi4mfIFxQ/dz0ZDhxdMEhnqTYU7k4q6gfCDaLPuCUfNn IXFAlaUmbddXOrlwJLwZC0BQmYhqDQDRriFSFvyFesXrkA8W3oHG2VSsUbWfJ5AcXPdxjMLESajzs XMFn33po/2ksy6P5rQEw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hxhGo-0008Il-ID; Wed, 14 Aug 2019 00:36:06 +0000 Received: from mail-pg1-x549.google.com ([2607:f8b0:4864:20::549]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxhGk-0008I8-8k for linux-arm-kernel@lists.infradead.org; Wed, 14 Aug 2019 00:36:03 +0000 Received: by mail-pg1-x549.google.com with SMTP id c9so11147540pgm.18 for ; Tue, 13 Aug 2019 17:36:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=Cu+36JF78r6qebD+fzAIMoP3auw3DHa5JgHDYnbOQS4=; b=agaAlbCOXwpWZ1rEpbIgzA1nhq8apU3jhz4rB11Ox7zK2Akab4jmWCwf1eFEYcSdqk 6vSzssiCyk0/Re2v8sDIDWJ0TNqu3TPrBbrYEhpamBw7VPCYw0DtfRLzMGPGZ3ryAuIY +qHlW4a7XJ9GTFQfBxavwd5WnKw8JvZ+DRo4ZAw1+MRqM6Zpxjwrt8YWX1/zQBy8AeXw N8cmA2+as9UuCYoxAgtnQ7vA8hs3USlmTxaGwekpWHOaWHSMUJ8nqvq5B1nzDcS1y1kD OjjMABjUm1UW60sNRsPCd+Rrebhhd9kq7lHrLZbpzG36YubdO0UzANYILQCGIsskE5Ud R7uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=Cu+36JF78r6qebD+fzAIMoP3auw3DHa5JgHDYnbOQS4=; b=ot9IURuJTFN2lOpXusKth+JjAZ5oYj9nFGkVU5a1H2mjqz0G+Q1HYMybJSAAMft1ve Ua6u5mVLXYEW0yG4jxDNi3Vfibq96y27SQ1jaGn631GU6DnQynfJ5Q9c+yJXXWJwxjbI gpul6gF+JjO26GzhOe4OTADW7TJ/iDbH+6l1oNxzej8Ah0ZTWe9FOazruFTgK8sDb/va sQCkxzvJYgNHjx0pwlaC8nrw0/TS1vaP1DyrKuAgMZ9QRtXwVCan3GQaid2INA3Nczy5 UZsk3bMN+Ftxu9mKLZeJMylCa+gIoI8IJtjtxjNAEP5hoysCoVoH4V/dLmLzoy8+6BUi rGqw== X-Gm-Message-State: APjAAAVE5bnwZF7Znui7GgTPLmGBnnYLr+bizjKOvbNfts84kpvotn/V uaV5fQjuVae3HcTKderJi5dbS7rpoQ== X-Google-Smtp-Source: APXvYqx9gRONA4IxsGp99a+6zL2GKJFiLbvPKafeGJacjMPJ8nB+SZ7n6psXm+8vxgexYBchbRllgwxBVdM= X-Received: by 2002:a63:5f01:: with SMTP id t1mr9981095pgb.200.1565742960704; Tue, 13 Aug 2019 17:36:00 -0700 (PDT) Date: Tue, 13 Aug 2019 17:35:57 -0700 In-Reply-To: Message-Id: <20190814003557.97004-1-yabinc@google.com> Mime-Version: 1.0 References: X-Mailer: git-send-email 2.23.0.rc1.153.gdeed80330f-goog Subject: Re: [PATCH v3] coresight: Serialize enabling/disabling a link device. From: Yabin Cui To: Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190813_173602_334499_DEFB862A X-CRM114-Status: UNSURE ( 7.69 ) X-CRM114-Notice: Please train this message. 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: Yabin Cui , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 > 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. Feel free to upload a new patch fixing the problem. I can help to test it. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel