From patchwork Thu Jun 20 10:41:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sai Pavan Boddu X-Patchwork-Id: 13705122 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7EDC9C27C79 for ; Thu, 20 Jun 2024 10:43:07 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKFEz-0002X8-Pg; Thu, 20 Jun 2024 06:42:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKFEs-0002SU-Ks; Thu, 20 Jun 2024 06:41:58 -0400 Received: from mail-mw2nam12on20625.outbound.protection.outlook.com ([2a01:111:f403:200a::625] helo=NAM12-MW2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKFEp-0005Vg-M6; Thu, 20 Jun 2024 06:41:58 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TzXz0WT78vHa6Oa86qIcNhQTMyhTP4/fMowMuB7kART3jsXqYjKKTEhnrwKfgK9K8mbqBv+U8/PJYKkMFg2TyaaTcyyutuyx5Tys1AobLMfowwDS3+rWOGmCb6/+oWqRvWwSERDJTDzThOmuaTDChem77kfiVA4SU6CyNprZS9CMeVC5488VA3J5tmSCF8vYo4pTv1JQmV5rIXV9os3NLn8D5cb9GWLCUf36IR7B4wZ8aVQ245WdwZOXlIEZ5k9bymXg69MR/P0fJSmOBjIsGafo1Tfxm6IG233MIuw+6ga7LSjMxqAsvghzM6OM2j8EJ5CD/n95JtE6vXS2KDjv/w== 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=nWe8eKjxxxlCQGMNxbtVdRYzlX5/N/MRpgWLO52d+RA=; b=Q7VqyNRwdkUOHdqr2/oVqWbcvgXHNnepjOTp/1tXYWCDn0Yd2BZcuTSY0DlwiCIy81Mp58B3SgedCDnRJX5zqbDVc8aXD3Me0SaGihc3PSdnNHGibmNRe7fR5PrEHDufhXZOsAZEXzRvfaO2IQeFh4DEylb2fW9gUmmf1OGJzORH8DVtQWNwrRxDiDmiAg2kY4uZ7JFqDI/2wCT/RkZNTR5KByhLaNaA1KggMUoBPSEH0aVUhemdOmq4oX1C1RlApe5iDadiojbUEDdOybq7nuwHUbFafvRrnBRJ8Zt53KBpUKLM5Led5LDJp9rF2nhyQhsQC1DkWLB0/kvJUUF6pA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=nongnu.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nWe8eKjxxxlCQGMNxbtVdRYzlX5/N/MRpgWLO52d+RA=; b=LK254N4wmwx5oVASENGW2zwGLtQ4zzY5N2bJ3eFkndXMmKnN5vJlMZ1xnWCq+y+qJ+6L1nbkIpHEgG7EXXA4cP1YQruA0j3a29wogcDKCmJhFbRlT06mK8XqUMq2PizF9z4ImQQe1jGwkANA8epg9ScIlidTdCjou7xFd7ROFrQ= Received: from MN2PR20CA0044.namprd20.prod.outlook.com (2603:10b6:208:235::13) by LV3PR12MB9096.namprd12.prod.outlook.com (2603:10b6:408:198::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.20; Thu, 20 Jun 2024 10:41:47 +0000 Received: from BL6PEPF0001AB4E.namprd04.prod.outlook.com (2603:10b6:208:235:cafe::d6) by MN2PR20CA0044.outlook.office365.com (2603:10b6:208:235::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.33 via Frontend Transport; Thu, 20 Jun 2024 10:41:47 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB4E.mail.protection.outlook.com (10.167.242.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7677.15 via Frontend Transport; Thu, 20 Jun 2024 10:41:47 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 20 Jun 2024 05:41:46 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 20 Jun 2024 05:41:46 -0500 Received: from xhdsaipava41.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Thu, 20 Jun 2024 05:41:44 -0500 From: Sai Pavan Boddu To: , CC: "'Edgar E . Iglesias'" , Peter Maydell , Subject: [PATCH v3 0/3] Add boot-mode property for zynq Date: Thu, 20 Jun 2024 16:11:36 +0530 Message-ID: <20240620104139.217908-1-sai.pavan.boddu@amd.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: None (SATLEXMB05.amd.com: sai.pavan.boddu@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB4E:EE_|LV3PR12MB9096:EE_ X-MS-Office365-Filtering-Correlation-Id: 1a5274c5-de57-48c0-abf4-08dc911595f3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|376011|36860700010|82310400023|1800799021; X-Microsoft-Antispam-Message-Info: +KN5WyUpwxrtYEEhOt1jzG4ovoQs/Syf83RzTqkb9upO/2lFhn7LQos3xrTCcUs/5qc6sW9cRrBNoJUjz8F5dgYK3vl236LfmqhWBozTBtwMXMl+TeSbokxU//7IiCv/PTT6p/7tgcNunI6/ZAevKA34xiSVXB5p6IPr5CIonylT0YdCEZvzGHbD6OwrKfpzn7/OF3bKGyj4fwpmmERvZ60w1ZdeXviY1NEZvUUWb6W7JOW4oDbAd0Dc0BVka6SARg2G5PKNwdhf9GNsgzauVhNX8j5nPzg/Z4Crqi2jV0fhreXpJRfkBSHgrQ85CXUHi+OagPFlPVNAYc0i8WlHsk56O/mSkwllAH6c8v5j/vS6TiDfba0v/Wy9+W8N4sY1u2L38NFkkQnhLQ8hPa/xguA+ptIFjZbkunMnA7dwmqSyVVG8ZS3Qc3mOSlHaW9wqqPU5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onexistent; CAT:NONE; SFS:(13230037)(376011)(36860700010)(82310400023)(1800799021); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2024 10:41:47.5257 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1a5274c5-de57-48c0-abf4-08dc911595f3 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB4E.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR12MB9096 Received-SPF: permerror client-ip=2a01:111:f403:200a::625; envelope-from=sai.pavan.boddu@amd.com; helo=NAM12-MW2-obe.outbound.protection.outlook.com X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 5.0 requ) AC_FROM_MANY_DOTS=0.001, BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.144, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Add a way to update the boot-mode via machine properties. Changes for V2: Make boot-mode property work with string Fixed few code style issues Added zynq board doc. Changes for V3: Mentioned about zynq doc in MAINTAINERS file Stick to small case for mentioning boot modes in doc fixed commit message to mention right property name. Sai Pavan Boddu (3): hw/misc/zynq_slcr: Add boot-mode property hw/arm/xilinx_zynq: Add boot-mode property docs/system/arm: Add a doc for zynq board MAINTAINERS | 1 + docs/system/arm/xlnx-zynq.rst | 47 +++++++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + hw/arm/xilinx_zynq.c | 31 +++++++++++++++++++++++ hw/misc/zynq_slcr.c | 22 +++++++++++++++- 5 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 docs/system/arm/xlnx-zynq.rst