Message ID | 20240604135915.405660-1-lukas.funke-oss@weidmueller.com |
---|---|
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=weidmueller.onmicrosoft.com header.i=@weidmueller.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-weidmueller-onmicrosoft-com header.b=u3eO2LUW; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VtsfR1TB2z20WL for <incoming@patchwork.ozlabs.org>; Tue, 4 Jun 2024 23:59:43 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 44B71884C8; Tue, 4 Jun 2024 15:59:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=weidmueller.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=weidmueller.onmicrosoft.com header.i=@weidmueller.onmicrosoft.com header.b="u3eO2LUW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3843C883EA; Tue, 4 Jun 2024 15:59:30 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.2 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2072a.outbound.protection.outlook.com [IPv6:2a01:111:f403:2611::72a]) (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 974958849D for <u-boot@lists.denx.de>; Tue, 4 Jun 2024 15:59:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=weidmueller.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Lukas.Funke-oss@weidmueller.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QwK4ZSCRy3Fgd5YzzVzg9by/qPuzm44CSxYkg2gnktDHbjie7GhtiNWmJVwhsY9AG9rrgBlCO2CjdguHOY6coVGOJ2jPwh96PZQds1A2LppL+qmLk/5RNtXoKGLDJYjMHF8ZZUnIrdl1Y6CJpm+QI+Yjfrm5PdQ4n5mpstiSPh0Vf4twcKL709jqkJazsnvO4FmeJJijcK0XI5/ocHufLOHgKVP6TJRdJylAxxN/gID+zxjScDjSQXcWwc+RsUzijRo9QPIqnuqYWdn66YEg9sqmDDbGV/2QC3S0+9+er6zC8HAMJjzhtDCqJLlVleGdyGVINA3enz7eUJ4vTn1ljg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6aaOdl4elTPbrO6EDqX9j6hFJ7Kd20vdf2pNWlOC1pc=; b=iVrnXahHlL/PJMkEbA6r3Tm6KoH3cn/ezg5Vtu+CSpXxoJcLb5oTsftSRUUFuuan+Nb1RB61K2erL5KgOIgVxtiMgFsUAFStG7iJjD6MFRxI8i77uVZVCEeCopz+anOLH6HsFK5ngVJe0DmMpKD63F50cvm3JL3deVGlgUtIP0lJKEn8MuM9NEB3UKjrphgadqS3RUEnQ1dA6jlv9/ylLBNdGkOqjcu+kJBiyk3Ahoj1XCQooxkTzKgKfwgrwc1IvPsWGnZ0UVOH0x2/twZBS0HEZONQqFYdLJOikRcXwH/tb/mF2PA2Q6+B0aTHby0cpNoScTPV7tdjWUNqy5ew3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=weidmueller.com; dmarc=pass action=none header.from=weidmueller.com; dkim=pass header.d=weidmueller.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=weidmueller.onmicrosoft.com; s=selector1-weidmueller-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6aaOdl4elTPbrO6EDqX9j6hFJ7Kd20vdf2pNWlOC1pc=; b=u3eO2LUWOCLThgIVA+Xu6g7ft5dRvDec6sj3NfdcyQsEIoJIn9s43m58aaQh4UNraVA0xxSbDVoqG7Ar6+w2hvFaYEjdZhFbvv1GkVDF3OTn3NMiUv4KaeXgmvvlFxEyv93eD9eqKY9E2bQsqixNEQJ5uJU0Jai53/zku6TB/1Q= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=weidmueller.com; Received: from AS2PR08MB8431.eurprd08.prod.outlook.com (2603:10a6:20b:55a::18) by PAVPR08MB9795.eurprd08.prod.outlook.com (2603:10a6:102:31f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.30; Tue, 4 Jun 2024 13:59:24 +0000 Received: from AS2PR08MB8431.eurprd08.prod.outlook.com ([fe80::aeb:1738:d59a:cee6]) by AS2PR08MB8431.eurprd08.prod.outlook.com ([fe80::aeb:1738:d59a:cee6%7]) with mapi id 15.20.7633.021; Tue, 4 Jun 2024 13:59:24 +0000 From: lukas.funke-oss@weidmueller.com To: u-boot@lists.denx.de Cc: Michal Simek <michal.simek@amd.com>, Lukas Funke <lukas.funke@weidmueller.com>, Tom Rini <trini@konsulko.com>, Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com> Subject: [PATCH v2 0/1] Enable reset_cpu() in SPL for ZynqMP Date: Tue, 4 Jun 2024 15:59:14 +0200 Message-Id: <20240604135915.405660-1-lukas.funke-oss@weidmueller.com> X-Mailer: git-send-email 2.30.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: FR4P281CA0273.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:e6::10) To AS2PR08MB8431.eurprd08.prod.outlook.com (2603:10a6:20b:55a::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS2PR08MB8431:EE_|PAVPR08MB9795:EE_ X-MS-Office365-Filtering-Correlation-Id: 74ed2e0c-e84b-4979-2da5-08dc849e8a55 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230031|52116005|1800799015|376005|366007|38350700005; X-Microsoft-Antispam-Message-Info: 7nAuIWO/bNNtTNgleCmuPHJGmUfVGXiyPu6NLO7E/6mHYJ2PgI1d4+w07TTcGRVUwZSnGm9Hrx3qLVw5Ud+fyAdmboD6++M+FJEDNZCJB2IIIIgpVj0GeFpk+SM0sr6NQI97qprf3FlRLmbj84mzNdYT6dg3wccOfyR0lUUHhGfphtUaf7AvrgqGnrQo+sN21qGhGtc6e0M8v1v5YtQBGZbkLTWcGMbulu0GqUlEO5F58X5+O2VdLV3CPEcMov53vtw3/ajdnwquJRxkEJgVPTZkPsQ3k6T9JK4UebrrTeocX8v/ze6jxkdFT53piqqdCk/xLhTI8Jskpw1La5121OwBoUyNe0AIZFQaPNotzAtewCCQ6mFsM083iy5UPZ1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ook.com; PTR:; CAT:NONE; SFS:(13230031)(52116005)(1800799015)(376005)(366007)(38350700005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mHsKegLQR56Xe46R6ECkwMocCMQKeMqpAncXWTW8qRuClzDavQjVnL3emxmU2CR6Sy3OUwSHgis5KRcAgM2wq8AXkVVLBQJ942Up9aDct8ol+iXEbcNp2oaq4hRTKAnifENDaONv56wTcRE2invjy+Id1xqCrXP7Q2RzgXajYUeehzu52XhVCFxMdHQAf3dlCpyR3ks07zMatdfbX8scIQrdE8v2k3Ss1GbCIexbS1SVEADSKGaZ4XoMc2yLgUolm5QY8RyHJRIah5r347efQgvSCTPLrx/FStXcYcDuo9OlKQbyWlUwgcZVC8nGPVk8OSltPteol90vRogXQG7/8PNayhLB/SxIMDFYsrew7apNQfUSo3YqZU9145GKvL2VBlvG73ArYoQyDdStpClx5JSW3JSPK2W2vKOTkcsK7UcBoAjeJE28KjKZY6TSuFGJDB1qLdhdQnfnwfy6t4PD0i+8+CD1tncDcT41+AzpbUFbkm59aGGhAqG9EshwTA5X5bMEVzBi+kfiXPoaJbkLKPtETtlbIXMWjt+f0wLdrsyfZSUakZb7lW9k6v3CRhanDzyMY5aDQ36+FX3MncfbCLO6vGvsOQbf+U/CJrKAplMcCgOYnwWRdqX7Csu21mCaO5wVM0yfkbI8NMopLpsYJ838FiwNB6h30XMJv3Dd1PWIYlSSzy9bjdOlF0RStmzK24GxgTP4P8h+ulgLAGVmBQEcTqLaVNXUYc5OQwDhXgu7XvFQ80O4ixPNhqpuQpx68yZAoM8aRTatTQA3yw5Nic6GSUlHBb1s7p1BxJx+ExZtu59eSe+Bhjocd+JiFheUnbpSMtYTpJyJVWeGydN3e4qPXHVKqcciHIUamuCrSK7isdr4Szv1R24gzAaINg6jpBR0BPBPfpDBXDToeEiAXXfquuTTQRwdb0Bv3sYAQ058OlqZCpuACesmAzfEHkwc2TZcHWCJczifVeqXUlkk5lcW/AxgXGCWzyWu/+xpCRVT/XZaRbltnGCu+ymTlcQ+HH97u0JoMtPZ1n/k2dm/uU/kKvTlEW3VqTaWsC+fTU84Ve3aqoMiYJWzfSMPGMxAmhtOzG6z0FiPCpTogQkqQUVTpQ+fkXzFulVW+2QhwFFSW3itT+EhzWE7AnUcTGK1e6/g2OUT2umCTQWZAkRGp8q9ue52yTYF2nbDD+9L6aTE31jO4r8QupO0nwRxkD+L82N0187TF9ot54IvuX1uUyaswzTC/8k3jAIzWrphkG5RagVA1o/7KvlmtRsZyPjGcePRhhsUk/z/UT7tp2CmfcGEGOo8/2BAKRAA/3L8Gocn1aN/4NkzC9X0WOYLKQgplWgeNHYt3WyEbxwPEyghqc2odCIwjnSJ5uOc5CbristcfCUfsGt3/lKRQoaQl5X0W1+jVtZtPxmqwUEXTJCOUaOFldFceU2V3rEHM+frSgPik1FERau0UTuMjxATFJjBqqzUX2n4k3YLYxqnxwjetzWOM2j/oUzUfUDjUmpGt9yzhsXEIN/G/Y7h8YAfJLUf5PeBim+azjYqm5jBgRr0OCj6yj2otoDbj3dFSnlGAPusLy+uIG1AHcnz2XuNgaW6uc9Q3nVLt158fBjBfKnsbw== X-OriginatorOrg: weidmueller.com X-MS-Exchange-CrossTenant-Network-Message-Id: 74ed2e0c-e84b-4979-2da5-08dc849e8a55 X-MS-Exchange-CrossTenant-AuthSource: AS2PR08MB8431.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2024 13:59:24.1777 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e4289438-1c5f-4c95-a51a-ee553b8b18ec X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SYCHAiFCXTwCLOREKFByA8jEr0JhEQiCL5qnbhSN76AzXvdy3ZhFBcvPFe/ZfWNFDvusH16ZnJ0O1TEu5H33ZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR08MB9795 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
Enable reset_cpu() in SPL for ZynqMP
|
expand
|
From: Lukas Funke <lukas.funke@weidmueller.com> This series enables the CPU reset in the SPL for ZynqMP based platforms. This only works if CONFIG_SYSRESET is disabled. This is usually the case since the the regular sysreset requires bl31 firmware to be loaded in order to hand the sysreset over to PMU firmware. In SPL we can talk to the PMU firmware directly and request a CPU reset. Changes in v2: - Drop 2/2 since reworking ZYNQMP_FIRMWARE dependency is out-of-scope Lukas Funke (1): xilinx: zynqmp: Enable reset_cpu() in SPL board/xilinx/zynqmp/zynqmp.c | 9 +++++++++ 1 file changed, 9 insertions(+)