Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp384460lqh; Tue, 7 May 2024 02:02:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUR7UyRpgZ5dupnfnxwROEDiRm7LnVRAM5ZOjeLwuBc6vBKB+HPFNbBQ/sCs94ohKWUP5pmdKB1x0X/UtmvsdVsNLdqVhpuouqFt4GTsg== X-Google-Smtp-Source: AGHT+IEXKgMF9mWeU4wZ3iFhSE7lv3vP2fbcOeR0bnyPuX9ZSEm6nDkFcUf2N4zjsftIkoV+GU01 X-Received: by 2002:a05:6a00:1481:b0:6f4:3b76:ebf7 with SMTP id v1-20020a056a00148100b006f43b76ebf7mr16234335pfu.20.1715072522337; Tue, 07 May 2024 02:02:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715072522; cv=pass; d=google.com; s=arc-20160816; b=DZIOpCSXRUU75YmyMEvtbiqrLKcXhBKgMU2wVtBOQ2eboG+vHyEhPVT7yqGy8XYCeC bjFvz59LHBXqVfehb1r6adZHiJHdpgkIHutWSkt02Yegpeh474GSJl1ok8AkhereVVEg J+zyvmXffDSha2LzHysW/y1ruQb77VNvXGglF4BWpG8pdPE5TKwVERExnv9LCdZ0Q7p/ z4VFig9b41OlK43An4jxVt3sq85f9IddAOl9fDJsKt0EpYIHpNkWYjgM57PjNE8blFC4 hHlxf/VZU2DS7e2n96C0sS7e4IIB89dVO5iFxHiS0pg0NlXFwg/lu/TGWoKTll1oijyC KdiQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :feedback-id:dkim-signature:dkim-signature; bh=HihTRv1yZ67xb/WPLADRRBZMZzkOnW5oUxtfEvjFXJM=; fh=V/0B/518+vb3oH8eBAMBWg4wTV9WeOpsbcLgugd3fr0=; b=CLALgXvZXke7PzcWfRXzmNQh91RK4DqwILPJvB3aDC8Mne7JPh0R6I4X1UFcvbiJ3h swxWmj/MWfC5QjU1Rpq3xvm9INlbrtmomBSatnOS2VNg+a0z74Ow2UdRKnYTtrbrG9cj WKRaMZKsZPIHFLBmzMcWrAKQ5lYwk9a45s1jW74C3AK4UegAFTe6n9Tbu0YCXAZAo+uB EmVqIvVe6s+5nkHu5VsmNIkVC/nw0cC2ODTT9apYPOEF7jAr77J5xUCGaCqj4WkTaPY4 LVViNuNaMh7+VHd+oLKWVmAjt8OQ5mrldvv0AWfN2a5ZMau3xF198sCE3hx5RPPWyLp8 MHjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=GbrVqsw7; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=OtNW7qJz; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-170902-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170902-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id bm10-20020a056a00320a00b006f44cb3dc28si7830401pfb.316.2024.05.07.02.02.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 02:02:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170902-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=GbrVqsw7; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=OtNW7qJz; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-170902-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170902-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 25AF3283745 for ; Tue, 7 May 2024 09:02:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4190814D6E0; Tue, 7 May 2024 09:01:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="GbrVqsw7"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="OtNW7qJz" Received: from fhigh4-smtp.messagingengine.com (fhigh4-smtp.messagingengine.com [103.168.172.155]) (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 B099E14D2B6; Tue, 7 May 2024 09:01:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.155 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715072514; cv=none; b=E1AbetJm+xW7SIfgneXPER/gEK/EBoHOt5pla9bz4HXXIoK7OyxcKi6YihMLAcecGcEj4nlv6cZzNtrg2iqe7JJrg0fZhMtDxx3OVSwYoZGKP8ySryKTt82islY6iBqP4oVgelzTTFxF4Duxs2t12fAMYqDyQGmtee/eJvzinXw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715072514; c=relaxed/simple; bh=MkHue8S4BQIxwK+1JsfuYcgFlqMXjlm73/q8bJJv11Q=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=rQZSCawsPQL4U+J1BuGKkCFISsDSUM7xXNAokMIcIMOk3BoW5VYTJjmSto6zdRBbvKGWTY9B7vWlGkDAjJQERYqT8Cx5fUp6cv66mpA3FOPGo2icOuOPwt8AAbSCRoKV72exEImUazIeg3yrdsi6lJAfygsoyzzQqKfyS3U/rtk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=GbrVqsw7; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=OtNW7qJz; arc=none smtp.client-ip=103.168.172.155 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfhigh.nyi.internal (Postfix) with ESMTP id B423A1140174; Tue, 7 May 2024 05:01:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 07 May 2024 05:01:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm1; t=1715072511; x=1715158911; bh=Hi hTRv1yZ67xb/WPLADRRBZMZzkOnW5oUxtfEvjFXJM=; b=GbrVqsw7nz5In3SnjO sNAKbNzGemUcOR1Z2HPBVo6xNCOVbS1p8XVuOVHbSxke/OZkgg0vHt9MfcEWKC41 OCthxJaiPb/D+vTq5Ksjf7BvzZrTR79eryuILY7UFjbBJJ8VEQJL//bFnfxx7pIU fjOqT0YyCNQMT9wzn1b+1nHKkmy5b7AMERo2TxoWzO92/G/7Z76GZV16tXWhoIUz Qp2S9UUuHVmk1j5n0l6VAqsB+XqEFUTjnBbf+m5gT4NGbWL4q8dXIHexx5O/5i0Z n1vOTW4PokoFRfyx7SjzcsBjMUSp+W6Rl+X3KMAjL5UStDVmxWHhC+xup0HrpGgm mk5g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1715072511; x=1715158911; bh=HihTRv1yZ67xb /WPLADRRBZMZzkOnW5oUxtfEvjFXJM=; b=OtNW7qJze4EbCIht+75D7ShE92HH7 16Lo2VRFrAsT8m5g1+BM3i8/G8vxgceowWWiv7Do5B/k9mxAmI1POPD/KmrkEa26 /e8nVz5onnTJs8LScFUshvuupWUZB78mCgJFLh9fvw28pZPqNNEClk01P2Y7onl9 llrIjGAdAm9ZI0gKIELZGz9n40uOtP5cnmrHJ+6x8I2+Jtr6tEVcVz0rXnVaQu+T cK7NYAcWezN/XIU02exLiFNLMOORsuPtqQbxWNo6i9UIDaBVg1XAgcONHUE5z82a C/vWpS/07vs1XCzMZExbVTETAKjxG2Gbg3VSCeOCt1fF27mltMBZ8rhvQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddvkedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffufffkgggtgffvvefosehtjeertdertdejnecuhfhrohhmpeflihgrgihu nhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqnecugg ftrfgrthhtvghrnhepudffffffhfeuheevhffgleevkeeugeetfeegieeijeehfeekheek veduveeigeeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 May 2024 05:01:50 -0400 (EDT) From: Jiaxun Yang Subject: [PATCH 0/5] MIPS: cm: Probe GCR address from devicetree Date: Tue, 07 May 2024 10:01:48 +0100 Message-Id: <20240507-cm_probe-v1-0-11dbfd598f3c@flygoat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAPztOWYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDUwMz3eTc+IKi/KRUXYNkMzPzZIskM+OkNCWg8oKi1LTMCrBR0bG1tQD ymTllWgAAAA== To: Paul Burton , Thomas Bogendoerfer , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jiaxun Yang X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1161; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=MkHue8S4BQIxwK+1JsfuYcgFlqMXjlm73/q8bJJv11Q=; b=owGbwMvMwCHmXMhTe71c8zDjabUkhjTLt//P21bd2hWk6yKzs2/VC/vlWnoZc3x6rimEcDZ4L Lz+1T6ho5SFQYyDQVZMkSVEQKlvQ+PFBdcfZP2BmcPKBDKEgYtTACZy/g0jw0QrSzExt+Pnk6tO f/H82nRin/vWhTLsP/cEXjkiWGvqLsfI8Ed+xpeDLGEMq1lPnZv3Qtku7enk0E9W3jHT5ojF3Zz hzQIA X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 Hi all, This series enabled mips-cm code to probe GCR address from devicetree. This feature has been implemented in MIPS's out-of-tree kernel for a while, and MIPS's u-boot fork on boston will generate required "mti,mips-cm" node as well. Please review. Thanks Signed-off-by: Jiaxun Yang --- Jiaxun Yang (5): MIPS: generic: Do __dt_setup_arch in prom_init MIPS: cm: Prefix probe functions with __init MIPS: Move mips_cm_probe after prom_init dt-bindings: mips: Document mti,mips-cm MIPS: cm: Probe GCR address from DeviceTree .../devicetree/bindings/mips/mips-cm.yaml | 37 ++++++++++++ arch/mips/generic/init.c | 9 ++- arch/mips/include/asm/mips-cm.h | 4 +- arch/mips/kernel/mips-cm.c | 66 ++++++++++++++++++---- arch/mips/kernel/setup.c | 2 +- 5 files changed, 100 insertions(+), 18 deletions(-) --- base-commit: 2b84edefcad14934796fad37b16512b6a2ca467e change-id: 20240506-cm_probe-0c667c8b63bf Best regards, -- Jiaxun Yang