Message ID | 20230801-dt-changeset-fixes-v2-0-c2b701579dee@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp168550vqr; Fri, 4 Aug 2023 16:49:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHDBEoMG8GZgzaL/u0jM7eX+aM3/t/9AqHF06CLhbC0J2M/6F548PLIoMwf9iMhjAOvusUn X-Received: by 2002:a05:6a20:258b:b0:13e:e3aa:d871 with SMTP id k11-20020a056a20258b00b0013ee3aad871mr4037605pzd.53.1691192983910; Fri, 04 Aug 2023 16:49:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691192983; cv=none; d=google.com; s=arc-20160816; b=rIgxkoxjxJI+iBrjTHnnmLNeSBTGXVZpgpOFt9TnMJ2iXctIJdGTR2/kTARa2bAOxP 58GpGxi7hQ7vQktZTyEpdiR/NvxWl/QWCdyHsFJgjAsMEd859AYihP0yZSCwYcW1q4z4 Cdi7z+GDZx45Lkd5W9IEwdtiuVxAWB5KBBGL3n3HyMpv59JH4ifm1jWQ1aLLT5hqgpto PCDYwpsNWP5H6UN+RFzXhYryeJVUB2neklDEM8Vt5f884LCOlsrMPih+PLP5TUHDGZ1W qiGSbzlO5NyyXTkIVhKp4U1kIera7OZdRexMIpn+80PW+mLatAmuELDN4W/6zpHM1I3K MYOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=2yRpWLwcg/c3YwEzEHDE7cGcCS9Pso5y+jv9vyfONHg=; fh=9muYjwzOjeujIiOiqgEm7G2SJDFzcm638Q1NXjJ2Sec=; b=bnE+VSY+8lDHuyUa5BhwvVxVCoFAP8L2RCrSkLMUet9/x9aXAt7Xtkod2OUU3lzCxH TPf6VO92gprHT3gS8v7FmuYLn9djv2c797tmv1ZZN7M79yQmbc0nfhPPQxZBYliCqNpL WWpf+CTU/abzboU1F46al9veBTIbncmx2O+Abtoo3IpI6V8mitCD2Emg4Sl28i28sE8X rV1peaiLE1c1kMZWGfANOdPo4ng2vp69az9W64pT8oq9RRlC9WnzpQwUK2ydDShIezXf j7PA7knp5G6/wGZ34UjgqCIsXWPZC6EzuRQjnU86Iks5/FISFP5fNq6Tc5zmYpNyZqGw WmBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RSaowkPy; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w71-20020a63824a000000b005636f6c7f56si2331713pgd.25.2023.08.04.16.49.30; Fri, 04 Aug 2023 16:49:43 -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=@kernel.org header.s=k20201202 header.b=RSaowkPy; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229974AbjHDWmO (ORCPT <rfc822;liqunnana@gmail.com> + 99 others); Fri, 4 Aug 2023 18:42:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbjHDWmN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 4 Aug 2023 18:42:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47ECA4C04; Fri, 4 Aug 2023 15:42:12 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D0D3E62159; Fri, 4 Aug 2023 22:42:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A3DEC433C7; Fri, 4 Aug 2023 22:42:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691188931; bh=jNG5Ej8Kn886qqW53Bnjc+N9+7nU/vSckF6puKE8yO4=; h=From:Subject:Date:To:Cc:From; b=RSaowkPyeJoQe1u8mjy23ky1rQKFG3hI29du4iA8YRO7ICIz/pNoDUdxj+NovvYDI eTtH+E7beIBsiHpmc1J57C6YN+e7ABKI7gjLiCqOSlz2B28WnRLuYkGAXGOCh5eTSP 6ci4F7cHwZFphdObELtZhcQQFC4d0kTGd1qDvsdWpeHUVij4hQK5xXz487W32dNtT5 Dkxa8VWmyozsYbTfr4YmCzzCR+9IJTWQhBEjAw46VnZYlaDf+prieBEpv6foQybAaF Wg4gmyhwyNWPWsToIStjf0SfVRheKOoD5Zj6lHAmgzJFpVlyfcucAPUlFrwcuWaFcx bq/00I7VgdUXA== Received: (nullmailer pid 2346972 invoked by uid 1000); Fri, 04 Aug 2023 22:42:09 -0000 From: Rob Herring <robh@kernel.org> Subject: [PATCH v2 0/6] dt: changeset fixes and cleanups Date: Fri, 04 Aug 2023 16:41:50 -0600 Message-Id: <20230801-dt-changeset-fixes-v2-0-c2b701579dee@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAK5+zWQC/32OzQ6CMBAGX8Xs2ZXS+kM8+R6GAy1baDDF7DYEQ 3h3C949zk4m3y4gxIEE7ocFmKYgYYwZ9PEArm9iRxjazKCVNqpSJbYJf0IooQ8zCdrb1VaVJ+f OBnJoGyG03ETXb+kwcle0qYg0p02/mfYuu2eduQ+SRv7sL0zldv27NpWo0F60MmS809o/BuJIr 1OegXpd1y8KHP6M1AAAAA== To: Frank Rowand <frowand.list@gmail.com>, "Enrico Weigelt, metux IT consult" <info@metux.net>, "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>, Sakari Ailus <sakari.ailus@linux.intel.com>, Petr Mladek <pmladek@suse.com>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Geert Uytterhoeven <geert+renesas@glider.be> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.13-dev X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773344374396095356 X-GMAIL-MSGID: 1773344374396095356 |
Series |
dt: changeset fixes and cleanups
|
|
Message
Rob Herring
Aug. 4, 2023, 10:41 p.m. UTC
Geert's locking fix[1] prompted my closer look at
__of_changeset_entry_apply() and related functions. The result is a
couple of fixes I found and some refactoring that unifies the "old
dynamic API" and the changeset API implementations.
[1] https://lore.kernel.org/all/c593d8389352c574b5be69d4ca4810da13326a50.1690533838.git.geert+renesas@glider.be/
Signed-off-by: Rob Herring <robh@kernel.org>
---
Changes in v2:
- Rework debug printing to fix issues with pr_debug() not having a
return value with dynamic debug
- Split action print refactoring into separate patch from fix
- Make removing property from deadprops a helper function
- Rework __of_add_property()/__of_update_property() exit code
- Link to v1: https://lore.kernel.org/r/20230801-dt-changeset-fixes-v1-0-b5203e3fc22f@kernel.org
---
Rob Herring (6):
of: unittest: Fix EXPECT for parse_phandle_with_args_map() test
of: dynamic: Refactor action prints to not use "%pOF" inside devtree_lock
of: dynamic: Refactor changeset action printing to common helpers
of: dynamic: Fix race in getting old property when updating property
of: dynamic: Move dead property list check into property add/update functions
of: Refactor node and property manipulation function locking
drivers/of/base.c | 87 ++++++++++++++++++-----------
drivers/of/dynamic.c | 149 ++++++++++----------------------------------------
drivers/of/unittest.c | 4 +-
3 files changed, 86 insertions(+), 154 deletions(-)
---
base-commit: 66a4210bc82e024e6de0f94298ad9230984a5924
change-id: 20230801-dt-changeset-fixes-b76b88fecc43
Best regards,