Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp142157ybl; Tue, 13 Aug 2019 17:38:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsY8pm7bLGY6YhCeNpS6DgTtHkF5e8CvNNzrwE35otyBripkIaGDOVk/JwIRy8JLoOnyH7 X-Received: by 2002:a63:ed55:: with SMTP id m21mr36834266pgk.343.1565743089164; Tue, 13 Aug 2019 17:38:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565743089; cv=none; d=google.com; s=arc-20160816; b=z0fHRrUP4xoHxNDuffAYdJDHGAhs3GKj2FooPQG3kMBJPh6Y5+Z2V1U5eggVZDo+ix ajU2CFADJGMCiBdoXHpiLECJ7CoVBa4sWiKyeg4HKKcKo7/KDeyYdPCPvrNpGHmqxztE v/n2UInFpVyfs5Fs9k/zw9SHgvC12TaJbjbuc8DCEEq6K3FhkBNpSzOE7MMU0s/CCIev +vUfvY71r+sZAPbPKCPh7VySa43jz0wLsG310xksLdhrMHqXvSfRpKCVIEPoCiM3qy9w 7vpZONAOSKQvVX9BDUBUEfKi3orOGSY+LYm+T1Ebj2+Fx/+MG7CYlZyuonYQVO0JqNo5 e+0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=Cu+36JF78r6qebD+fzAIMoP3auw3DHa5JgHDYnbOQS4=; b=Eyum7Djv+SG4u0XHPBDR4yZIyJ+64dTxhnk0TddhPe3ksdMthwAgDM2xw/GfgzjaPr fFqOhNKbjpVtIoqw359n0ofk3c4YIJgj0gnsHcutYyVgk3eC1EUj2sXD7u1CkyCVk5Id sNFNSxWrgmdXPBWkaanoZL9fMvmdoujTzv/TtzxrTzZXDnkqzVXOJWGL0Vbm2zkkz5YS SLvbSP6efXgnn3Dp+ZuW352tX+mTSV4fgdeRE5JO2N/q/P9d1jQesKwR4ihuEdKrRV4J t8t3intM+kqlfF2G4UeEMLkekfGoFLwJ6/OzwxnlyNi8vzpCFKKGgHLawsi+W46nnQyP qJ6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=agaAlbCO; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t185si55457819pgb.329.2019.08.13.17.37.53; Tue, 13 Aug 2019 17:38:09 -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=@google.com header.s=20161025 header.b=agaAlbCO; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726768AbfHNAgB (ORCPT + 99 others); Tue, 13 Aug 2019 20:36:01 -0400 Received: from mail-pg1-f202.google.com ([209.85.215.202]:35522 "EHLO mail-pg1-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726316AbfHNAgB (ORCPT ); Tue, 13 Aug 2019 20:36:01 -0400 Received: by mail-pg1-f202.google.com with SMTP id q1so11776848pgt.2 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=j8yQOH6Rl2zF+7WkDiJAVJfL0Xb2TYLav1sCJ0ph7OvOJLZODFREQ8I0F9O2k3miRA ilMWOlj6AdboBwZCGXyDmo/x8rohw21h8vV1Mc/ne7sZ4GAyzjtCFH8DKSOAxanGw1yX KKksdIjseePHjPWOKZTbVfyhUcnWirpLpeKpmTiJ51f+xQ4e0P7MwfSP8mYmDBEE9NXj OHsK7zt3ID+tgzTjtvTBSX0IDEigrEBZ/E9JzhCsUI9gs03FH5nGCw6AhR551ZbHi3ZA BLO0olKDy4pO0o3ciXf/wh3qlCQ/hVJxBoRCWPbct40F0iG7JSwbCNeIoFB4fPqXV9/i 5FgA== X-Gm-Message-State: APjAAAWRmfiKm2OWhTidpDLjIdl2rOaZkzZYXmusKSmxKzPGaeaTU+pB rc5V46Segv1UlztUkOrQIMZqnPLIJw== 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yabin Cui 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 > 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.