From patchwork Tue Jan 30 10:52:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dawei Li X-Patchwork-Id: 19662 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1130791dyb; Tue, 30 Jan 2024 02:54:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7EhlXhXf+uVF619EeKkBQKysUi6jAseoni3vlB0B8MkGYU4Adl5IdA2ZtBx7vDZ8uqNFL X-Received: by 2002:a17:906:2ad7:b0:a35:3faf:c8d1 with SMTP id m23-20020a1709062ad700b00a353fafc8d1mr1134561eje.22.1706612069354; Tue, 30 Jan 2024 02:54:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706612069; cv=pass; d=google.com; s=arc-20160816; b=NuwgLepxIZSfqAecSgQx+9VRefnTzYhzrz7xunFSkKAzrMflxk79lRC3OXlbIQ+buQ 3wuq2fclMoZyXZEt0fJIHqLTBuadD0L6NCcsfzBI6XMLb3Qs1L7/PXRLniLk3Oehd7jw XH2EfPcl06WcwGfPGyGs9bb1iSx9sBstZNEHPH1UyXuxVixzfFTpSDQfzgJUkMMVWedR rVGTBETMMmQ/szXtR6/St91iwoQWA47g23QvEQUNpxyClAbvswJYAMyAR+O6q21V7E4d IPEpVPRMdd2EcNDqvBLuBfFHpLAHVO9sbj4EWMJLYxrX1eIyRqREa0ChGk3mgr44DR4V j1tA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=/1i/erhQGf0J82GeMHFv/jYe8DPmuU1IfjFTbqFng7Q=; fh=X4ESHG3nBm8IJ4pKa0sPg1PGVIKA3uDXwAnDzgNaeZw=; b=dqRoImaiiHiAgEDJ01GThaGvajO77CqZOysKpKvdzK3BVGbGGC4t9dYlV+1o00rVGb V1DpjEbsRg3udh/fTdl7X72dTuQwN2hrE6UZ++Ib7LyKzyXayQqmOAOFTYdo4wu8Q098 PJQuQDs4H59BHwo3CZZe8W71mKCtc7Uo2xrn2r9ECjamop7/jcwfGLiJ3EpjFWo1NZB3 ndo6OlDPTiCjDdIvBe/foMBKZzRU0Q1gWNn4iM4UfM7VngvDcbxKXhBWNkvf93F8jeGe Rsbbnto9ZtxahlBemgJL4KIr+BOWdh9CX1zzmEgL8twutPd19jyXP2i2QhYjOjXQEUqW XABA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=shingroup.cn dmarc=pass fromdomain=shingroup.cn); spf=pass (google.com: domain of linux-kernel+bounces-44432-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44432-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bk26-20020a170906b0da00b00a35bc1443f2si1814202ejb.42.2024.01.30.02.54.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 02:54:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44432-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=shingroup.cn dmarc=pass fromdomain=shingroup.cn); spf=pass (google.com: domain of linux-kernel+bounces-44432-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44432-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id F1DB31F23D60 for ; Tue, 30 Jan 2024 10:54:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26283664BC; Tue, 30 Jan 2024 10:53:49 +0000 (UTC) Received: from bg5.exmail.qq.com (bg5.exmail.qq.com [43.154.197.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4301B67738; Tue, 30 Jan 2024 10:53:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=43.154.197.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706612027; cv=none; b=KhjMRZ6mq50cyU7bunF09cca6FSiN5PwLFuRaobaEa5sxAiEFMsobfbAVCD7jVN0MHmwDABueASP4Lg8Fr6w/I7x6BS6Oh8f9VfG7ZL49y5Q3VvyQfeCBNMkVyyBdyUqUyhHTca42t3XN198QBbUpxYuaoVFoYnFhGrHgU8p920= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706612027; c=relaxed/simple; bh=2TcQC8/sN+CLKa4KAz9WJchbaQNDMQnwf41Xbq7rBgs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=C3aAXNt/N6pnQ5pnfASyMwC71ExvSIWAUpN5B5JosqJPEmSG3wOlCHDrl5IEI59KGZCewMfKxn5dEZy86IwGVxclFyCvyI+2MOInZwkjz8nTYlcTEEczX9TDNJhWzbc6TEN5l/peSZV8Dx96T/QW6DGvEea15ou+yi/hMBpbedk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=shingroup.cn; spf=pass smtp.mailfrom=shingroup.cn; arc=none smtp.client-ip=43.154.197.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=shingroup.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shingroup.cn X-QQ-mid: bizesmtp84t1706611993tay72xlo X-QQ-Originating-IP: DyyG5fTYbDh9gbtijojX+M9mzLNkGPtb7cZXAbr6tow= Received: from localhost ( [183.209.108.228]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 30 Jan 2024 18:53:12 +0800 (CST) X-QQ-SSF: 01400000000000504000000A0000000 X-QQ-FEAT: qOAV9bwDT/lFp2KM4BZcFePts6WfQEUT1pumFcfYdGZdgiiigHcAXnIMZuxyc Gb4h61KQIZmE9frO2Hb3Gs1vjFHOkgNxs3FTJZiCLFf8PrBYEFPns7IshnNWc0N7kS3U+Zc o7LqtiF4w9dpfBq/L/fwkSv+OacQUynKPAaeH5vowKoIjYMFi+SGDIL5YTYv4evwLHaxMv2 Z5y2QcBMh1vCK78rA2wooMQ7FbcZJJJmbB3WBZWBq9UVWBwry2TWVQ3ofJswZRZwvrBjlqI xeD5lNN4CsUZAdW61NCAxVwtywxggvn6tKTcaR+nX+uNDoWe8vM+E5ntQ+SpmhzCt7FQV0V Xd0sFqlo6eiT+/ApK9HHe6wHgbaEE/xqFSM0iEbG4i6XHiMbgQA/WUYeIh81tmMNtJgBzJz X-QQ-GoodBg: 2 X-BIZMAIL-ID: 15235478550126742813 From: Dawei Li To: robh+dt@kernel.org, frowand.list@gmail.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, set_pte_at@outlook.com, Dawei Li Subject: [PATCH 0/2] Update phandle cache on device node attach Date: Tue, 30 Jan 2024 18:52:34 +0800 Message-Id: <20240130105236.3097126-1-dawei.li@shingroup.cn> X-Mailer: git-send-email 2.27.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:shingroup.cn:qybglogicsvrgz:qybglogicsvrgz5a-1 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789512456868865613 X-GMAIL-MSGID: 1789512456868865613 Hi Rob, This tiny series implement cache updating logic for device node attaching for CONFIG_OF_DYNAMIC. Dawei Li (2): of: Introduce __of_phandle_update_cache of: Implment cache update operation on device node attach drivers/of/base.c | 22 ++++++++++++++++++++-- drivers/of/dynamic.c | 2 ++ drivers/of/of_private.h | 1 + 3 files changed, 23 insertions(+), 2 deletions(-) base-commit: 861c0981648f5b64c86fd028ee622096eb7af05a Sorry for wrong tree on which these patches are standing(which is Linus's tree), I am have hard time fetching OF tree. Thanks, Dawei