Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A27FFC77B70 for ; Fri, 14 Apr 2023 04:18:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 23A0785D13; Fri, 14 Apr 2023 06:18:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="PAMLZsmV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D5E9985C52; Fri, 14 Apr 2023 06:18:17 +0200 (CEST) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 49738858D6 for ; Fri, 14 Apr 2023 06:18:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=m-chawdhry@ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33E4I8UY068143; Thu, 13 Apr 2023 23:18:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681445888; bh=guWYxdI6SXc5oJkmBwgz72SqK06bR7Dqwmum84CEV4U=; h=From:Subject:Date:To:CC; b=PAMLZsmVhbATkJUgtOTQjHP1DCQkBHni4BAtVVdrvXYRID/iDqQK15dHUc7vYT3kf OfFAH3Aompt8OSfq8RW9C4Ba6zP49yCg5v+RR0Mhdn2kOh8jGm7C7IA/tkHHektpZu JJht0beiLZpc7RntYaEffFxN5potaiwxte/Je5kM= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33E4I8Gc001236 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 13 Apr 2023 23:18:08 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Thu, 13 Apr 2023 23:18:08 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Thu, 13 Apr 2023 23:18:08 -0500 Received: from [127.0.1.1] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33E4I66N085211; Thu, 13 Apr 2023 23:18:06 -0500 From: Manorit Chawdhry Subject: [PATCH v2 00/10] k3: power control support for arm clusters Date: Fri, 14 Apr 2023 09:47:51 +0530 Message-ID: <20230411-upstream-firewalling-v2-0-b6c705d50099@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAO/TOGQC/4WNQQqDMBAAvyJ7bkoSg0pP/UfxEO1GF2KUTbQt4 t+b+oEeZ2CYHSIyYYRbsQPjRpHmkEFfCuhHGwYU9MwMWupSGqXEusTEaCfhiPFlvacwiKYyZdU 4rB1qyGlnI4qObejHHIfV+ywXRkfv8/VoM48U08yfc72pn/1z2ZSQwpi6Vs4hVlreE137eYL2O I4vXIpfKsoAAAA= To: Tom Rini CC: , Andrew Davis , Vignesh Raghavendra , Kamlesh Gurudasani , Manorit Chawdhry X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1681445886; l=2193; i=m-chawdhry@ti.com; s=20230324; h=from:subject:message-id; bh=u5j/yOwTYTQr7u24U8FlG7Ntzk9+qSyzZWeVbZs9nnk=; b=YFpHD01QkGRRDQOM+tIgdzMmWYzjAFoQNkYXGHpd37fLpZMjvwP/EcB8GpJvX0xhvsTLo5zPm tudBjLldUGJAzLbQzxvsuVf1SGlUWwXJyQeyC+MfiscB5zqvVxj8QZv X-Developer-Key: i=m-chawdhry@ti.com; a=ed25519; pk=Z51yAzxWCcDqKRLHiDBrUxIdXbB21R89ms8xgECdiak= X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The series changes the flow on how the arm64 core boots up and allows cluster level control on the power domains to hold the processor in reset during rproc_load. Cc: u-boot@lists.denx.de To: Tom Rini Cc: Andrew Davis Cc: Vignesh Raghavendra Cc: "Kamlesh Gurudasani" Signed-off-by: Manorit Chawdhry --- Changes in v2: - remove the for loop - changed the if condition to #if that caused build failure - change the if condition to explicitely check for atf or optee - Link to v1: https://lore.kernel.org/r/20230411-upstream-firewalling-v1-0-44771ffee620@ti.com --- Manorit Chawdhry (10): arm: dts: k3-j721s2-r5: add a72 cluster power domain node arm: dts: k3-j721e-r5-sk: add a72 cluster power domain node arm: dts: k3-j721e-r5: add a72 cluster power domain node arm: dts: k3-j7200-r5: add a72 cluster power domain node arm: dts: k3-am642-r5-sk: add a53 cluster power domain node arm: dts: k3-am642-r5: add a53 cluster power domain node arm: dts: k3-am62a7-r5-sk: add a53 cluster power domain node arm: dts: k3-am625-r5-sk: add a53 cluster power remoteproc: ti_k3_arm64: Change the startup of arm64 core arm: mach-k3: common: re-locate authentication for atf/optee arch/arm/dts/k3-am625-r5-sk.dts | 3 +- arch/arm/dts/k3-am62a7-r5-sk.dts | 3 +- arch/arm/dts/k3-am642-r5-evm.dts | 3 +- arch/arm/dts/k3-am642-r5-sk.dts | 3 +- arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 3 +- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 3 +- arch/arm/dts/k3-j721e-r5-sk.dts | 3 +- arch/arm/dts/k3-j721s2-r5-common-proc-board.dts | 3 +- arch/arm/mach-k3/common.c | 35 +++++++++++++- drivers/remoteproc/ti_k3_arm64_rproc.c | 62 +++++++++++++++++-------- 10 files changed, 91 insertions(+), 30 deletions(-) --- base-commit: a25dcda452bf6a6de72764a8d990d72e5def643d change-id: 20230411-upstream-firewalling-864368fe7fe2 Best regards, -- Manorit Chawdhry