Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp4387482rwp; Sun, 16 Jul 2023 01:53:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlFoagrYDuVEXnJ+WCphWdhHc6QXDxujbiL4qTr6IiUfkQASqCxlRf3hyXOQcnBhQ5hAunUO X-Received: by 2002:a17:906:73ca:b0:993:d7d2:7f1c with SMTP id n10-20020a17090673ca00b00993d7d27f1cmr6474127ejl.5.1689497582869; Sun, 16 Jul 2023 01:53:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689497582; cv=none; d=google.com; s=arc-20160816; b=jDSEPfLUwlBq8zJ+Rq+qUa5DJuhaBkfxTFn3gCSNV+aPo7kDVv31c3aB9j9Nsf2rnn vXHIBeMJhFv/BihVK0BQtSi5G5Rnh/47GNKloGIqX+Wu/hyuHP+peHLVfaKPGvfXAdu6 f3+KG0Mmc7ie2onjUqIhBRhzeSod53r4Gsbf1SW0S8HNo0ibewebOwK5NEBwcFiRN5ql ys8NFreAGp842nAV3RYLmSacH8tlJTXoCtfNmInqjRpsCMVvoP+Xv/EO+GXR4vonqXqS dC1pzgpcYiXY7ROsk5DgT1XyNJ8S8FPIKYNpSPd4QxT3YWvdEGzffa04dE3XwqNuL59b ewFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=oNeu1aSAOWV9cTwJrwJjCyAEzfhewjn9LWWDsQVPJOU=; fh=Z6SRmoaAqgYjEyanR2IjUHV2hii9Cnp0Fw981g45AWE=; b=ZPZv6qSXh9PpCwL/uP/Ybdwq7Ve2spFUySr82x3XsktkxoZLs/YEjLRYwJPdCcJVwv 5FkEoBE0fS8PRm1SSlwFWAGYN9XQuXcKEtqc8woWdWPnUsT80w4r0Jq1udPHdy5Uy/S0 PvSkjsflnDAN9QBmdfrBcATA3F7NBRAAyJ911uCObiVCC7xzJRGXnPBByXpQsmqT7v56 m8Q6FSjNnsav98hgbbfF5VlPOeUwiIgZSzD7LZeYTw6Wh/g8H2DL6V3h4FyQo1JZwqcR tiyhLTo/hb+a5NNMNGFVTjnNqsgrK9KM/T40orXHGi3P3i1L5SBiFrHWEisBp8jwqu10 OXxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f55wqcBn; 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 j13-20020a170906094d00b00992d262f9f7si12268993ejd.933.2023.07.16.01.52.39; Sun, 16 Jul 2023 01:53:02 -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=f55wqcBn; 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 S229619AbjGPHox (ORCPT + 99 others); Sun, 16 Jul 2023 03:44:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjGPHow (ORCPT ); Sun, 16 Jul 2023 03:44:52 -0400 Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD3BB1B6 for ; Sun, 16 Jul 2023 00:44:51 -0700 (PDT) Received: by mail-oi1-x235.google.com with SMTP id 5614622812f47-3a3efee1d44so2605393b6e.3 for ; Sun, 16 Jul 2023 00:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689493491; x=1692085491; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=oNeu1aSAOWV9cTwJrwJjCyAEzfhewjn9LWWDsQVPJOU=; b=f55wqcBnzsPuGvFgcV7S30fVIAjLFD/6CaDXVCtflYWZVQm77o+Up7PGHxzrl197iy ZRVTxmeTxgNABWuMlXEQdQVWD4/muPwdm6exxs/89PEYBFVKQ/73r1yTlJ00CkhYxBOJ CkeqaETuKd4F+RV90TvaBrkhZVG9k7lwLvJE+sQAmmOj2tIg8qMY2x+Pn6Xf2OntqpDX oxtfiI7G4ctzazFA//opIdql9xkx2tQBg4P3JcmoPeBnvBWWWQh5r7wiHZT4ZSJfo/7x 6cq4FkNgzV+/lFqUpGjdhDlZ7kYesgT121zhrICYHYIfe8sUYUijXjXEtloEKKHyVcfr hemw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689493491; x=1692085491; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oNeu1aSAOWV9cTwJrwJjCyAEzfhewjn9LWWDsQVPJOU=; b=CJWdx1V/0Fr7j80YL856VLNPFXUkLITBkx5AvWH15cq0zGFeIJfpSv46gz+mU24Qi9 m1Ieyckho5fXChxlU6qCRQHhpQ1t/NQw1f9dPtY9wuQ4HjNcGqhV3M9tQEZ2vM/LzzqO Js5NFz8LK1dZcIThuV3n8gjDsi5hbrrxirk6t3Uwp+Sxj0pSasgI6gBV4daEa29aU/e5 wKp+/OaqqEVprDdoNsH3OBn6q9FjuY3ZFOBOmWues42yDWwxmwSQB7OF9N9RvqETETwS 8dgnnyYBx9o4GbzIuV8/6h80A4TL8WyOpUdn8ML5XYIOXVzpGj2sY1NS8RKcOB0BoOfD vW5A== X-Gm-Message-State: ABy/qLZKSxJ65gbAUF3QJnP8ViNQMH0ZI4Yo03hkB9ai4lkBD2mtKGzH yIhC7CsasqjxfKk3Gzi01moUMW1J4T2Gxh19gALNbcXwfUX2cinX X-Received: by 2002:a05:6358:339a:b0:132:962d:b5c5 with SMTP id i26-20020a056358339a00b00132962db5c5mr8008716rwd.30.1689493490839; Sun, 16 Jul 2023 00:44:50 -0700 (PDT) MIME-Version: 1.0 References: <20230622074520.3058027-1-linus.walleij@linaro.org> In-Reply-To: <20230622074520.3058027-1-linus.walleij@linaro.org> From: Linus Walleij Date: Sun, 16 Jul 2023 09:44:39 +0200 Message-ID: Subject: Re: [PATCH] misc/genalloc: Name subpools by of_node_full_name() To: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Arnd Bergmann Cc: Dmitry Osipenko Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Greg, could you apply this patch for fixes? Thanks! On Thu, Jun 22, 2023 at 9:45=E2=80=AFAM Linus Walleij wrote: > A previous commit tried to come up with more generic subpool > names, but this isn't quite working: the node name was used > elsewhere to match pools to consumers which regressed the > nVidia Tegra 2/3 video decoder. > > Revert back to an earlier approach using of_node_full_name() > instead of just the name to make sure the pool name is more > unique, and change both sites using this in the kernel. > > It is not perfect since two SRAM nodes could have the same > subpool name but it makes the situation better than before. > > Reported-by: Dmitry Osipenko > Fixes: 21e5a2d10c8f ("misc: sram: Generate unique names for subpools") > Signed-off-by: Linus Walleij Yours, Linus Walleij