From patchwork Mon Jun 19 14:57:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric DeVolder X-Patchwork-Id: 13284630 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1824C0015E for ; Mon, 19 Jun 2023 14:59:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231755AbjFSO7X (ORCPT ); Mon, 19 Jun 2023 10:59:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231974AbjFSO7O (ORCPT ); Mon, 19 Jun 2023 10:59:14 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D03D10D5; Mon, 19 Jun 2023 07:58:59 -0700 (PDT) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35J9nEhT006316; Mon, 19 Jun 2023 14:58:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=wHxDjYJ0YIk1e+WjwWC+P/LImvG+7dnzjJj2cPTvSeg=; b=iIo4fzB8XfVHYsLA4aa73Ub3tAXZwaqf/Sf3cTRuwH9uXBxXxyVSYJpCn1ixHSWUP0Pk MeKtgCcdrg94OX78NOKRRyFTufFcIFI0VJC7zb9LZWNE/HN+XFp+o8R49dHACQLV+GlW BhZ7F5O0hPjEWurYxqlY741sr4RqNwkGQI2dG5AB9OuAdHmrZV94htiga/5A2o3+dumX fibRiMJnAUYlW5EruAgEvd7D/5VALzHAGyNofkZ4LBlBUyvtqMGWJth04CmLxrhZVx+e H6S0fBNnHNUTD7hpjrpalDSZ5nGEn/i8KTK4Ra4WViq8u7bG+tBiYNhgFStClIbch4p/ Qw== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3r93m3jx5h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 Jun 2023 14:58:28 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 35JD9md7005929; Mon, 19 Jun 2023 14:58:28 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2047.outbound.protection.outlook.com [104.47.74.47]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3r93939jdk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 Jun 2023 14:58:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S/09OjjA+EdqLiHZuX2tTYRokD8rK93f+Shg4/wp+dC99FyzBRRIHVERVoaIBiOjyy9nm3Y4AehmZ5F/bDvZ38bO4e2ryjSqYFp2Bxjo5blRM2mgWfLkJsR5LqLAqPu5ky2UNZB/B/7T9xN0fmnpJAxRRZ8Tdf7+H2hGUDHpM39a7vHe8QpSdiMXD0ZThsZrfCxgDjCNI1MubnDVQkX+LAETlQ2bcilWF+rJsziiViAB4JKozWm+2qGnHq4vbZz/GmMFKXwDmK6C//DMyiAUm4odTJovWIEU3aRvpGeUWA476QVscrj38hdl195AVcf02LUUseq02xGUECtftEQqwg== 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=wHxDjYJ0YIk1e+WjwWC+P/LImvG+7dnzjJj2cPTvSeg=; b=I9xlpgMdbF/aeg/2b8NMwvp4mVB/0Hq75BFEoZzNbDsJC1AYNxrlaKsBBxJMLrK4M5NboWgBSpWt3FJ80FnD9IX+cDy2R+HYtUzgDww58C+2RAJAOxtvpjlEHkwwaN2N+GtlWRt0C2Q/kIYoUQNPZeDNrVB9z0lwcwx05owgOjFshvt8JISBH28jIL98+F8fvJTbgDI1TOnjAmLoXbVRtzvILNvF3sKqKmcSLEb5TySP0x8WntF2fAF7WRKex8C+0NCDix5NWXX8iN4Qvq6++ZZnatRge3Jd+nqHOrDY45NfZPXT7KDdq83/i2WlxEGuH+TrN5Wpmd3jOhr5rI9BCg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wHxDjYJ0YIk1e+WjwWC+P/LImvG+7dnzjJj2cPTvSeg=; b=nw/ua+z/Lar6vHiCYi2sHtZhHfOKqFCeW/CL/Ut/xL/cp355AA6ACxlYFZymCp7wkzDkBtePfbuKAxJ5OclHhR0fe6ZEYs/tWuo85Vv21Nrqrmp67Id8mEktKbBp1fkMzLWc+wYyZCI9/T8i333m8SrnSsK3LDZsifo+0fyXu9g= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by SA1PR10MB6543.namprd10.prod.outlook.com (2603:10b6:806:2bc::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.36; Mon, 19 Jun 2023 14:58:14 +0000 Received: from CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::8b8f:b4b1:bb78:b048]) by CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::8b8f:b4b1:bb78:b048%5]) with mapi id 15.20.6500.036; Mon, 19 Jun 2023 14:58:10 +0000 From: Eric DeVolder To: linux@armlinux.org.uk, catalin.marinas@arm.com, will@kernel.org, chenhuacai@kernel.org, geert@linux-m68k.org, tsbogend@alpha.franken.de, James.Bottomley@HansenPartnership.com, deller@gmx.de, ysato@users.sourceforge.jp, dalias@libc.org, glaubitz@physik.fu-berlin.de, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org Cc: kernel@xen0n.name, mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com, borntraeger@linux.ibm.com, svens@linux.ibm.com, hpa@zytor.com, keescook@chromium.org, paulmck@kernel.org, peterz@infradead.org, frederic@kernel.org, akpm@linux-foundation.org, ardb@kernel.org, samitolvanen@google.com, juerg.haefliger@canonical.com, arnd@arndb.de, rmk+kernel@armlinux.org.uk, linus.walleij@linaro.org, sebastian.reichel@collabora.com, rppt@kernel.org, kirill.shutemov@linux.intel.com, anshuman.khandual@arm.com, ziy@nvidia.com, masahiroy@kernel.org, ndesaulniers@google.com, mhiramat@kernel.org, ojeda@kernel.org, thunder.leizhen@huawei.com, xin3.li@intel.com, tj@kernel.org, gregkh@linuxfoundation.org, tsi@tuyoix.net, bhe@redhat.com, hbathini@linux.ibm.com, sourabhjain@linux.ibm.com, eric.devolder@oracle.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com Subject: [PATCH v2 00/13] refactor Kconfig to consolidate KEXEC and CRASH options Date: Mon, 19 Jun 2023 10:57:48 -0400 Message-Id: <20230619145801.1064716-1-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 X-ClientProxiedBy: DM6PR08CA0015.namprd08.prod.outlook.com (2603:10b6:5:80::28) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|SA1PR10MB6543:EE_ X-MS-Office365-Filtering-Correlation-Id: a5d1f57d-a570-41bc-2137-08db70d5995b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oigHzi/J5LorE08mB25mnQnblLIUP1IoIhMzLu3xpmPPWZH8kDyF5Ik/sdSBJlO3GC0R6kZ/zP6kE3vLxiiu5C5PNzRTD+c0qDLXfbmd3bMzXILV+S9tjtD8unwTABg5AuHiWI4EUWqZGxqJt96VHI5lkkkGc8O3bbSg1cyecmrQmRkxts8hM4Xq2xyOftR9DGOm/54aLa4n+pelPVsMBteqqHHuq+RboXXW5HW/WxtX0Zs8iwtlIqqQ3qoKS3PTt0tHNgtVoc7M2P1OpBdsjTXba6BZOa+QMHxRhw3PyD6VCXBZrfD8eIA0HZ4MvoWPq+wc3Rdfd7NFX9/0R98CArVqOL1hdA/7BfZwtfHxlPhacQZ5vxJ1mHEIZ3lX15HYk6Zgng3GLeA8dEcDM/BFt0p0kG8krhhjDoDre+trHxK/XpSQrDnG8O5IO5CetYXziOHyUpRBY/3CyVYNca/jUa1f4oG0OOqZ5KVeotUQOSjciZbJd/yzBnMdvPNhrtsTvTJDANJqgAft8G5cAsV6WpytGu5Ab+upsvvUjKs1lj6P/ik8ndvvYifIfKmRQz0gFZruJG3E5wU8lc0mYnWYguOZgjTp0Boq9j6rd76LdSrDzpdIQR79wsdBhBMxMPN+ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR10MB4531.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(39860400002)(396003)(346002)(366004)(136003)(376002)(451199021)(7416002)(7366002)(66946007)(7406005)(8936002)(8676002)(66556008)(66476007)(107886003)(1076003)(26005)(186003)(6506007)(6512007)(36756003)(83380400001)(41300700001)(38100700002)(5660300002)(4326008)(316002)(966005)(30864003)(2616005)(921005)(6666004)(6486002)(478600001)(2906002)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Xs7vg8F9LidqIrXYvGxwqZ8AbV3ZOsPnxpZWp0rS/xhelfUCXl5+ROzpSf4im4KL39PkXSW+XokrbQLlY6Dc+7ckJ8+2rziosD+ukkWR6a4/KZjbkWw/QQsOU9M3d2WQiBohR9L1AIz2eLpKKO88KvDCDrGHjsuGRp5C0H7TB69Y9pmv/uISK6HyTmDrFEO3w6Uaq7pdkYOOgIxZUYN0IR+IjFfwuM/BPtkD1GLBy9ddeaLo3s1ihqX1ax8xCgZw6hXtzf/xbPsWEOosw8yVzQBGZ77vkbfcaBo3nXEZY/HXQnnXPeygw+cNInFx5frDHO2579/7SYwu/61UO7+l702C/g8h8fA6Qw2ynoTJGsSCkYz3cUMOexoRMO3AAFMYcA2KewoToCenlpZxXRUTeSfTL0UxNnaDUhjI64s9zzJcp27SQjOl5pAHvdKqWMx3z8hykOXv00m4SCWeJa7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jhclQtexwP5qvZIXjTQJHpoIKyt1uk6ei5u4BJW9w2cvxOJ5UUOfvPdFUCGftMjc6o+Pk4CpiTrse7nhJHq7QLOzpVywqWXD41tN7UlfXlbVQeGHLDxaCmE4QleyigRIacbwIEGN4QBJBzqoAmwPrXmncwLDIBj1r6UmE6FQbeyWsZoJWEvdqj9DUz+Y6q6bjVtsYZQMbuOK5jaEHVK5sKo0d+YDtv1A7qpVOA1iVLx9JxRLkeEnWgDNzdJBnkNejFLjpWHyDVbPj6o1u8MuVAOJfT0zSYk65Y6sB7VR0FIdFl4SQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5d1f57d-a570-41bc-2137-08db70d5995b X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2023 14:58:10.8277 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LTSvmu/zETGtLc6nogPO+k444pOEXim7R22X4fxuVGwgO25MA50/+91+2adSZOJMLWLBVA5Z9SkI4RoLnYY3XdEM/4XRkYQ1XybE9j/muCQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR10MB6543 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-19_11,2023-06-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=930 adultscore=0 spamscore=0 bulkscore=0 malwarescore=0 phishscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306190137 X-Proofpoint-GUID: roUeQd1fx0g_f4aAXYyQgqfxXdveWt4K X-Proofpoint-ORIG-GUID: roUeQd1fx0g_f4aAXYyQgqfxXdveWt4K Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org The Kconfig is refactored to consolidate KEXEC and CRASH options from various arch//Kconfig files into new file kernel/Kconfig.kexec. The Kconfig.kexec is now a submenu titled "Kexec and crash features" located under "General Setup". The following options are impacted: - KEXEC - KEXEC_FILE - KEXEC_SIG - KEXEC_SIG_FORCE - KEXEC_BZIMAGE_VERIFY_SIG - KEXEC_JUMP - CRASH_DUMP Over time, these options have been copied between Kconfig files and are very similar to one another, but with slight differences. The following architectures are impacted by the refactor (because of use of one or more KEXEC/CRASH options): - arm - arm64 - ia64 - loongarch - m68k - mips - parisc - powerpc - riscv - s390 - sh - x86 More information: In the patch series "crash: Kernel handling of CPU and memory hot un/plug" https://lore.kernel.org/lkml/20230503224145.7405-1-eric.devolder@oracle.com/ the new kernel feature introduces the config option CRASH_HOTPLUG. In reviewing, Thomas Gleixner requested that the new config option not be placed in x86 Kconfig. Rather the option needs a generic/common home. To Thomas' point, the KEXEC and CRASH options have largely been duplicated in the various arch//Kconfig files, with minor differences. This kind of proliferation is to be avoid/stopped. https://lore.kernel.org/lkml/875y91yv63.ffs@tglx/ To that end, I have refactored the arch Kconfigs so as to consolidate the various KEXEC and CRASH options. Generally speaking, this work has the following themes: - KEXEC and CRASH options are moved into new file kernel/Kconfig.kexec - These items from arch/Kconfig: CRASH_CORE KEXEC_CORE KEXEC_ELF HAVE_IMA_KEXEC - These items from arch/x86/Kconfig form the common options: KEXEC KEXEC_FILE KEXEC_SIG KEXEC_SIG_FORCE KEXEC_BZIMAGE_VERIFY_SIG KEXEC_JUMP CRASH_DUMP - The crash hotplug series appends CRASH_HOTPLUG to Kconfig.kexec NOTE: PHYSICAL_START could be argued to be included in this series. - The Kconfig.kexec is now a submenu titled "Kexec and crash features" - The Kconfig.kexec is now listed in "General Setup" submenu from init/Kconfig - To control the main common options, new options ARCH_SUPPORTS_KEXEC, ARCH_SUPPORTS_KEXEC_FILE and ARCH_SUPPORTS_CRASH_DUMP are introduced. NOTE: The existing ARCH_HAS_KEXEC_PURGATORY remains unchanged. - To account for the slight differences, new options ARCH_SELECTS_KEXEC, ARCH_SELECTS_KEXEC_FILE and ARCH_SELECTS_CRASH_DUMP are used to elicit the same side effects as the original arch//Kconfig files for KEXEC and CRASH options. An example, 'make menuconfig' illustrating the submenu: > General setup > Kexec and crash features [*] Enable kexec system call [*] Enable kexec file based system call [*] Verify kernel signature during kexec_file_load() syscall [ ] Require a valid signature in kexec_file_load() syscall [ ] Enable bzImage signature verification support [*] kexec jump [*] kernel crash dumps [*] Update the crash elfcorehdr on system configuration changes The three main options are KEXEC, KEXEC_FILE and CRASH_DUMP. In the process of consolidating these options, I encountered slight differences in the coding of these options in several of the architectures. As a result, I settled on the following solution: - Each of three main options has a 'depends on ARCH_SUPPORTS_