From patchwork Fri May 17 16:21:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 13667167 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF3FDC04FFE for ; Fri, 17 May 2024 16:21:45 +0000 (UTC) Received: from EUR03-DBA-obe.outbound.protection.outlook.com (EUR03-DBA-obe.outbound.protection.outlook.com [40.107.104.61]) by mx.groups.io with SMTP id smtpd.web11.198.1715962901524548671 for ; Fri, 17 May 2024 09:21:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@siemens.com header.s=selector2 header.b=QpPnlSGR; spf=pass (domain: siemens.com, ip: 40.107.104.61, mailfrom: jan.kiszka@siemens.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q2u3ieCk0uL9VsGAsyvEzH/LlCBrRZ5Q7QQ4MDxul1W0RxrJEPg68GVdMU+pfie6M0zMMuSDv71nys6swn1VDzKKBp0yV6lR/ai4FEM8v4viKk24ldGaSWje3+ZXyfcK799+UgAJjNRKgHeZlATWunqzKQiBbV1+78VlfZ04ChlKYX65mM7flsEV8okgK4V64Op9aeALwkG19uKEWgM8N9naCb1zWl76tBAnvZmJMJJsNsdQguc7Tssv5m9KASE4eRsMSSr+QAMRjTBNDcxo3Vh7KiNWaHVXfPxNT5kprzmoQy3lacwOHfVvRXMZ+fpQ1ycPC3PDEhOchih2fLH6FQ== 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=Vxvgs2k81zivWXTEz46n1m2szfCqYuuP3PrxpzIWKxM=; b=PYsHXQT9IKHwD1gQT9JDBpNohpsaix0tWue2enggXBL511GUf2L4p5COgDLwRRmCqmcBdbjDE4wOsc71MF4NRy61CRZHuU5Y8xcRPmHR7nbY9syCimZIy26KsK2CSjtEO/P1xSYl7F/Tk85mSFYqbxEtSlBrp2967sqj5H6UPqlFhG8z+bqfTqVW/RiTf0LTteavGGuknQ0tyaQXMRXnwVkXvQK2uMKnvZHC6wApryxyJ8SY+Ny4JdTmzpukTyoyPsjHZ9WQiGNWlXOT4qHQkz8coYWtFdaZ8BYUS4tjcJowYAqXeFZWgNnS5aE6zNaFWPaDzcm9nLGWLbRgxyGfrA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Vxvgs2k81zivWXTEz46n1m2szfCqYuuP3PrxpzIWKxM=; b=QpPnlSGRTAvHzXK28NV/gmQwPEQVDa3q4zywZAfFbnnelcZnEkTkT2TbXTzAdfUzi1Jqokhl+G/6dJXYhEg+CpYJm2eJUrev+oB3yM/nNGrKYpahdelzkEpxq5Drw8Ee1D8W0eLEUW6GFoTGoUqYC9cFJmkoJ2Z9KDDDi7bQvfQTAu+QpBLt0xxvKX15SQ16mR9ab2ufvMqvdVEO3Hc/jp2rTLXGmApS8HaPBhibZ2ac6MV7LAFju761JJmtfis4JwFkj5rZBhYmMRxGvX+NGZnoWrBWqBhJjGL145HVN3SvNaGspCi2+RJnGr7B5JZZMbrna7wquAfAb1RjG6DZOQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) by VI1PR10MB7754.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:800:1c9::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.55; Fri, 17 May 2024 16:21:38 +0000 Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::8fe1:7e71:cf4a:7408]) by AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::8fe1:7e71:cf4a:7408%7]) with mapi id 15.20.7587.026; Fri, 17 May 2024 16:21:38 +0000 Message-ID: <1b97327d-d18a-4986-a2bb-339920671ebb@siemens.com> Date: Fri, 17 May 2024 18:21:34 +0200 User-Agent: Mozilla Thunderbird From: Jan Kiszka To: cip-dev Subject: [isar-cip-core][PATCH] kconfig: Express dependencies on SWUpdate Content-Language: en-US Cc: Quirin Gylstorff X-ClientProxiedBy: CH0PR03CA0388.namprd03.prod.outlook.com (2603:10b6:610:119::30) To AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR10MB6181:EE_|VI1PR10MB7754:EE_ X-MS-Office365-Filtering-Correlation-Id: ebbdf3a1-d624-4fff-a088-08dc768d6dd0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|1800799015|366007; X-Microsoft-Antispam-Message-Info: =?utf-8?q?xw3FgvAspcelfIiiwHrguh35lazvOeR?= =?utf-8?q?sVjAZOLkgdho6iJVsaS1HILJ9r3Du/hgLqMDK/mdpMQvcICeMzX+nXKoKe0eufNcX?= =?utf-8?q?kKGOdXeG8UvHTcisKbmcVRwXSGsCWPdXn836bVr/nQ4o2VwSB+xKeJxUS3IqKWoAS?= =?utf-8?q?nTZebTHWDow+xzA/rWAPuRpLf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MCPWCNunde02VtygJ++3PfRcYA5qFRJ76Yr9Zt3h8?= =?utf-8?q?FIB3Jxe5UomCJGvWkPGwdbpynurV/Q89Y/vOskaAHlR+lmlrKmGJtX5uNxXKp4KjP?= =?utf-8?q?H2+R0GvphWghMYeogWIQvW6eR+EV4k2FskanAvObvfS8rXNIP2knxTZU0ECvZk2YF?= =?utf-8?q?iQP+/8m2bBrDd8dRRsmSwcw++H5x1v/HVlog=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Wk12kdXbqG7uT06NBAUCb4ul6la9?= =?utf-8?q?/yezWEQ7u+AEB4TC5h96ia9DDukXmbyR3XIh5UBf/j0WcYQGHdv3U6L/PN5KBjXHG?= =?utf-8?q?5fr8LtLM4apvbAqLbuLFNQ0y5ZhS24McmusotE62sQBVsFzC77os0g483oqKPIQwR?= =?utf-8?q?oZQ4ZHaAXlOohUUMv5UECrjoOwyydr++ApZn4YD9jGCSP+dQ6Ynhx4rnxhxOj6yR8?= =?utf-8?q?CHGC1FXYTxicf59WSiYeYebB7STIvNUbvxssU6Ggrmx9Dse3UzOcEMXhCXzlrTV0y?= =?utf-8?q?Uuwvj529YScwDWIHEimRBBx94TVPuTL4kBgS7JVXzmWQgZ1JGa/oIaBIEwY7mov2O?= =?utf-8?q?ezyFIIBpFO+6AKJ+12/2oCjVXHQIrshQjOLj3EyGj+7zLzi6DiOU3yRAAQ2Gpnff2?= =?utf-8?q?oSlddp59ie+I8MLH6H9jDiDq4P7oL+XNDFneoBEezZPkk9hlUVQ5CWicW/iarOgZo?= =?utf-8?q?EhMwSMiJAK28jn6vOoyw9dmzH/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OOMUzkV/VremtBq5IL1iKH1rTyMFdXu09WJMSXWhSd?= =?utf-8?q?Z8VjZ3dzBs69qtXzoxm4KIIi0ogVTyrwdfSV9GzclJt72NfxjIYlhaaAoXZmJGwS9?= =?utf-8?q?Znt0drA9W7hvTLiPkxbHUyqYxX2StE/zEnJRjStJQBgVqYOmfKJobhO90q6qb7uqG?= =?utf-8?q?ydphSdsOo3Wq72ctG0ZZduZshl3hFp2mXQ=3D=3D?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: ebbdf3a1-d624-4fff-a088-08dc768d6dd0 X-MS-Exchange-CrossTenant-AuthSource: AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2024 16:21:38.6198 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5OINd0lKNeGEmrpu51a4RabwJl8p+ZDbtFsHE/XXbSVdS2GDGRLyi3Ds/ij7GHby6XjAWZ9wocIHACmMYlvMDg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR10MB7754 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 May 2024 16:21:45 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/15913 From: Jan Kiszka We effectively do not support encryption without SWUpdate enabled, even if parts of it may work. So, put everything that needs SWUpdate under a condition so that also the visualization is the menu is cleanly indented. Signed-off-by: Jan Kiszka --- Kconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Kconfig b/Kconfig index 62be071f..6e3ad3ea 100644 --- a/Kconfig +++ b/Kconfig @@ -175,9 +175,10 @@ config IMAGE_SWUPDATE bool "SWUpdate support for root partition" depends on TARGET_QEMU_AMD64 || TARGET_SIMATIC_IPC227E || TARGET_QEMU_ARM64 || TARGET_QEMU_ARM || TARGET_BBB || ( TARGET_QEMU_RISCV64 && KERNEL_6_1 ) || TARGET_HIHOPE_RZG2M +if IMAGE_SWUPDATE + choice prompt "Update type" - depends on IMAGE_SWUPDATE config IMAGE_COMPLETE_SWUPDATE bool "Complete Update" @@ -190,7 +191,6 @@ endchoice config IMAGE_SECURE_BOOT bool "Secure boot support" depends on TARGET_QEMU_AMD64 || TARGET_QEMU_ARM64 || TARGET_QEMU_ARM - select IMAGE_SWUPDATE config KAS_INCLUDE_SWUPDATE_SECBOOT string @@ -226,6 +226,8 @@ config KAS_INCLUDE_FULL_ENCRYPTION endif +endif + config IMAGE_TAR_FORMAT bool "Separate artifacts for NFS boot" depends on !IMAGE_SWUPDATE