Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3119687imw; Mon, 11 Jul 2022 02:09:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uyStSAIHZ3Fl2LzVSUhnptOOcq7TZuVrdv56tZCEPydmNdy2gSDlhIpQUmWln5F4HboFH5 X-Received: by 2002:a17:906:cc0c:b0:72b:68df:8aff with SMTP id ml12-20020a170906cc0c00b0072b68df8affmr1023349ejb.226.1657530572717; Mon, 11 Jul 2022 02:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657530572; cv=none; d=google.com; s=arc-20160816; b=oQYXNh5J7eZ7ff5zPPrZrLAfXXMMxxWlAp8/aChS3VqfIgnLumnjiCezhoL6Vf3ZSS GuD7BqO5L7QvxxEFcBka5I1AtCia9i3pFEEXAOiLyiZ8Vut6ZH8I5r53cnXHqqv5lKzj rXv4E9oI0l+pmMC2D1PNXvp/BmgSyeJHCR0vRU+0RxTtP91bXl3LemJrQdLhvhLoDrrB h3bCdjJYBhMGvrmfikvr15iLZk9N4h76mkAlSuvbLkE9CpOGqV9+XJZt09+Br5P0G+FL ZRy35zgLHs6sNtN4OP+QMBR3wN13gAZJ7J9We4qajxSnTvlxxafrzgBIPlw/xkpp68kN /0AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=kZsdMYacO8VAAHqbhjDjJSdsG7RVa3r8H1DBDt7rYZs=; b=zG1HY2gJHWgUfgnM9SqLvtRcnmEQ3c6qCdOWGNnJvmfwd5t926U2Zog3hBLe1/9/GO YVIGx/N1xxm5hj2eG+N1/GGBs7ak2l/fnP9l+slN0t0XsY3zBL79/JJivAmMN2CLr7ws Uif/Oai/mF3RuzHQrx0LtvEkQXU4bUhLQAxRJeSNXH4maWyZ2eORG+MtrH8M/WZTHm+K URVXwYV8lJ5k1bUYDc6C0SPWP2DKlapZYaI5wwJj32k00Ck6B1Dz+llgmdRRhrU3jm4z Kf+sKmha8ON4BrwQt4TL8CG3tyoFWrlpW3Xkt+TTn6agQF9gTLnNAQvcGiawzghs4zAt R99A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eGZl7X2m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd40-20020a17090796a800b0072b5f0539f9si2160642ejc.365.2022.07.11.02.09.07; Mon, 11 Jul 2022 02:09:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eGZl7X2m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229792AbiGKIXx (ORCPT + 99 others); Mon, 11 Jul 2022 04:23:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229745AbiGKIXv (ORCPT ); Mon, 11 Jul 2022 04:23:51 -0400 Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE767DF93 for ; Mon, 11 Jul 2022 01:23:50 -0700 (PDT) Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-31bf3656517so41120367b3.12 for ; Mon, 11 Jul 2022 01:23:50 -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=kZsdMYacO8VAAHqbhjDjJSdsG7RVa3r8H1DBDt7rYZs=; b=eGZl7X2mQ0ei44bmsyFYCU0JVoYUM4uheb25sff9U6PlYShef312lStMtZgLoHhNnT H5LSalU7C4nrpb/jfemcFzK9KiVE1HBbWXXkBvcAuRGiWWXNP68IOMm7/oUM2+vZaRtr DGhRbcfqNGWb8qvKcKiTwUuTfS9mfZknWygtPKMAdUsuO6kaMl0cMX6PKujiv9mlms5M PUTuTjW8hZm6tdg/9XTeepIfrMQo7vt7NIr7GDGqwv9K90quwBQ808MGSaOlawtS759V UNqXGh3cJtzmnLNYB3Yj0OMd+2CXl/sZeu+QC1Qgj4n6VRjqJwAW3PN7Y0UpKo/TycT9 lLhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kZsdMYacO8VAAHqbhjDjJSdsG7RVa3r8H1DBDt7rYZs=; b=JLk5hqY06G+Dw9fCt5mgSH5UIm9S1UMZNTz+wghHqq3qT5bXT7WI8GEYnqo0CzbfXV DxBrfcfK7LLe6wA0alScgWB5HuXVAncpmxVY/RNR+AH6h5nYoehLYqCKBpv+/SGLX0j9 6ELrlrzjxBNK7yTAyb3oY0OzqAh5V/ab6BBFFU6bSzDXraKtVDtkxOD5r+rN1sey6qoB vnKQFrKOFAX5yhdhrqcSEIphj4YHSVX/9MxKVsRDhByuFe4Bh8iNrlu+49g3VaD9SljK ootU75WGm6OvIwXflBRd5nBscv+QshUiBNnPbxKjROpYtFvEpXUVkEAXJY6CbNj8wozI U+Tw== X-Gm-Message-State: AJIora8FyGthzrncDzGD0UUMFFL7cQr80AnxPXcV7wL72D0pB88OrLQw lDK6Vf81jpNDWKMnQV7EFQVpTzgYNzmfthzYkexJZA== X-Received: by 2002:a81:5b88:0:b0:31c:a228:ece1 with SMTP id p130-20020a815b88000000b0031ca228ece1mr18981028ywb.140.1657527830232; Mon, 11 Jul 2022 01:23:50 -0700 (PDT) MIME-Version: 1.0 References: <20220627085333.1774396-1-emil.renner.berthing@canonical.com> In-Reply-To: <20220627085333.1774396-1-emil.renner.berthing@canonical.com> From: Linus Walleij Date: Mon, 11 Jul 2022 10:23:39 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: starfive: Serialize adding groups and functions To: Emil Renner Berthing Cc: linux-gpio@vger.kernel.org, Jianlong Huang , Michael Zhu , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 27, 2022 at 10:53 AM Emil Renner Berthing wrote: > From: Jianlong Huang > > The pinctrl dt_node_to_map method may be called in parallel which leads > us to call pinconf_generic_add_group and pinconf_generic_add_function > in parallel. This is not supported though and leads to errors, so add a > mutex to serialize these calls. > > Signed-off-by: Jianlong Huang > Signed-off-by: Emil Renner Berthing Patch applied! Sorry for taking so long, I think I was waiting for maintainer feedback that never arrived. Yours, Linus Walleij