From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6412F606A32C for ; Thu, 19 Nov 2026 18:09:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=V7VWF8E9; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=IEzLWqUd DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=QJEHQbEIEU8A4Aazwjo+h2DXZGiKSUOJ24MyLgJzeJY=; b=V7VWF8E9KdGnVpxPNepS5MAq1F aZEWwP5BspUapYefsYtEPQERi7bQKxZgYmOvNfv4MMTWhcFuN1wcteL/zO/Llms6JZ1DlCVMadDVs 06mV/NGSyRZ4lfYkDASbV8ouQ6TOynN2NFe94Hr9enQeCFpGANoIjiTLKNCqxkO2eGSwmg2NxosgO Au6El/e7hMGBVZQDs1Nfrxj8GfuPSORcWEfXihG4UqVIE8ZggMjNCUkIdpxsigM+BHPKBM9Wa8oUb pprOnAT8E6ZqeRqsxmvtMVQux4zWQTLUvTCWODYl3UiFbPsCyY5hZGvFpsD+gcLkstzc+Wq+AuI6G e5y+tERw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xU6ZE-0000000CxRa-1S0h; Thu, 19 Nov 2026 18:09:04 +0000 Received: from mail-oa1-x2b.google.com ([2001:4860:4864:20::2b]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xU6ZB-0000000CxPK-007N for linux-riscv@lists.infradead.org; Thu, 19 Nov 2026 18:09:03 +0000 Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-490d838b425so48814fac.3 for ; Thu, 19 Nov 2026 10:09:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795111740; x=1795716540; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:content-type:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=6LpUWSQfpzuimr5UJ1RUHtokD4yvNzLYRTwB5Co/Fic=; b=IEzLWqUd9qdyDepIHrjnL50GB/v3a4pdbo63wLo0VD4Tiq3cKhc+XsMm/NNtW78ZrA kGbvg1SxyHU2sod+u/AuQf9xBx8qAwb5MJdds9XlxNRUWn2uDI/Zqa5Qi0IDUkRtofIJ SmQfemOwfqxFgBmYXuj1K/Zy4Tg9duufnPFtNeFHBR1njzNr+xR5NdZOLc6BPTHKu16W SFHOjMBi71EIoeFKedANx8U0cU1rb5oiWAmzsf/F1qcfE06hOerVT1x9Gu1bXGBocCe2 czjX8OBk88KninJF5DNBFWu+Vmnw/AqEQoNwfEgqjv96rm+LcwxrFIgYPUOHWyJk7N6E XZNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795111740; x=1795716540; h=content-transfer-encoding:mime-version:content-type:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=6LpUWSQfpzuimr5UJ1RUH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zNT9GZT4on04mWo6y33LVoGmnnBWreDI28G4oXZJXvKxyxX3KbGz9b7lrD3uUZLtrqCgF3t g82qCEXa68ndxCEK4GKb030SHpThRfN1Mu+sKa1YuNgkeWxHMuAybh4ivegyaMyzMpMwMEwrE3t /bdZFKRh7lrLhvGB34w7remmRUW0NPCV7GIua6RiWEcE0Anv/tT2F2UbVb9SWrRFgwSX4V/lFD+ k X-Received: by 2002:a05:6870:dc48:b0:491:47e1:6283 with SMTP id 586e51a60fabf-4bc810b3516mr386675fac.27.1795111739744; Thu, 19 Nov 2026 10:08:59 -0800 (PST) Received: from AMD.home.local (dhcp-9-244-8-156.gobrightspeed.net. [9.244.8.156]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-4bc61081159sm452437fac.15.2026.11.19.10.08.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:08:59 -0800 (PST) From: Enzo Adriano To: andre.przywara@arm.com, wens@kernel.org Cc: sboyd@kernel.org, bmasney+clk@redhat.com, jbrunet+clk@baylibre.com, jernej.skrabec@gmail.com, samuel@sholland.org, Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Junhui Liu , Vinicius Pedrosa Subject: Re: [PATCH v2] clk: sunxi-ng: a733: Keep SCP firmware bus clocks enabled Date: Thu, 19 Nov 2026 13:08:57 -0500 Message-ID: <20261118-a733-fwclk-v2-reply@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <35a06829-dd6d-4ef1-aadf-245d1e7ca433@arm.com> References: <20261112-a733-fwclk-v2@gmail.com> <2374cc08-fd47-435a-b1e8-c7e9a61954c4@arm.com> <124bb855-f2f6-4b10-b0be-99fb53cc2ee8@arm.com> <35a06829-dd6d-4ef1-aadf-245d1e7ca433@arm.com> X-Archived-By: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261119_100901_071042_77E43808 X-CRM114-Status: GOOD ( 15.64 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi Chen-Yu, Andre, >>> But I think there is still the arisc on >>> the A733, so this would more likely run the management processor (SCP) code? The A733 CPUS domain has both an E902 and an OR100 (manual section 1.2, figure 1-1). The vendor SCP firmware Radxa ships for Cubie A7S, called "arisc" by Allwinner, runs on the E902: vendor BL31 writes its entry point to E902_RST_START_ADDR_REG at 0x07032204 (manual section 5.2.3). Radxa's BL31, in its system reset path, sends a reboot request to the E902 through the CPUX-to-CPUS msgbox. Exactly where the no-flag reboot stalls is not known. > The question now is whether this SCP use case is something we deem > useful, for mainline. If it's just about to run the BSP firmware, I > think we shouldn't bother, we just don't support that. But if we end up > running something like crust on the E902, then it's a different story. For me this is only about the vendor BSP firmware; I have no other SCP firmware for the E902 to test with. Upstream Crust has no A733 target, and the A733 TF-A port under review resets through the watchdog, not the msgbox [1]. >>>> So, not a fan of this. If the loaded firmware somehow needs some resources >>>> then perhaps the software that loaded it needs to somehow tell the kernel >>>> they are needed, like the bootloader patching the DT passed to the kernel. Vendor U-Boot already applies DT fixups, but the A733 CCU binding and driver do not accept protected-clocks today. A loader-declared handoff would need a new binding and driver support, plus loader changes. > So I wonder if we should just pragmatically add CLK_IGNORE_UNUSED, to > not shut on the door on this SCP use case later. > If we ever only want to use remoteproc, I think we don't need this patch. CLK_IGNORE_UNUSED would also leave a future remoteproc driver free to gate the core. Chen-Yu, if you are fine with it, I will test it on A7S and send v3 based on linux-sunxi for-next, with Andre's comment wording and a short test note. Otherwise I will drop the patch. [1] https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/55200 Thanks, Enzo _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv