From patchwork Wed Jul 12 16:15:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric DeVolder X-Patchwork-Id: 13310679 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 9ABE2EB64DA for ; Wed, 12 Jul 2023 16:17:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233708AbjGLQRd (ORCPT ); Wed, 12 Jul 2023 12:17:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233296AbjGLQRA (ORCPT ); Wed, 12 Jul 2023 12:17:00 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22EC02119; Wed, 12 Jul 2023 09:16:54 -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 36CEiDMx013196; Wed, 12 Jul 2023 16:16:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=9/yh8ohc5o8Wm247LgVbSmY/dHXKXKQBrwOB5E7j0Nw=; b=bYcnnw7KzOLAMliS8RHpYw9y2wrEIveelxKFVe9QynGCOru84dCaU/CeXjC2Pw7wKVzh 6+aZrseu59TgTNk4ImI7LeG52dWPHLxXNZhUsmhFMJ3sxNqdEe1z2JVwlA4fa7wjEoyG d4S4w3/D+lLoFqy+oWgiKURSONXjcA28A2Moehnvyfqc0dpEbaRP6AE3ya0ZXaSqp9zL 1ihcv3b7eKvS6k+MpU1bJTLNwGhp1al/bDoxqwOu4qrktCNY0JK6QqAJQg6T/Woms8Wb vGV2s9frGyghKljLMjnKyAl1aRgph0tQA9NkGFXEuGFPNHYwanDJE0WibWmGQdzxVzLY 1A== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3rr8xup4fy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 16:16:33 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 36CF293e004344; Wed, 12 Jul 2023 16:16:32 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2175.outbound.protection.outlook.com [104.47.56.175]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3rpx8d4m1f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 16:16:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NMpuQ4PguDsDJVEggtAgvbhyMb5yOWxYemNkB7xaotaOudzH2zr2S2njKfdPGyeHIxgQUTXEuJGUYCi+TN0LmRP+cXSlBwNWbF3RVPYNI/E2DEhQKs/NzaceW8ucigbJuuDDlC3vaxKJNcPfZywdkvafFG8yqKk0xRt4fIix8xc6FcEIw854F3Mk5STjtV2izB9Qa8aY6k2QqbPlpDeOu/nML1UB8qOu/V99xYnPJ0LocLlkXttCCHJFuzQy9zX9zCq4DPYKyUy8Q54CFjIOxFA4Nmv2oNXFhPHc5NAFWDDrfcNldq9aX7LKA8/9583QNlg2yM/BWJgVQed9yzgPcQ== 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=9/yh8ohc5o8Wm247LgVbSmY/dHXKXKQBrwOB5E7j0Nw=; b=RaukyoqyzesouJ5yX1A07ES3h5WXnLae2DEa3Xi/r+MJFbn9aNpopFDCE6phCmW68672gnwEBoiwsEjXo9F0wgtONFyvohNnla1hHmwh8cRqBNcnvk3eQfotD4p5Nkdn1vIA1G8YwpawehCGUTmGZhYimfDpek9vwKJjQZ1QGO7LL1lvAwx+rjpAMh+xrZQt+C447yU3as1uJXqZtEdTH4aefS3Lhn+itrOIGjZJf9929IpdZNfCRTjAFM5jjLC2sSdy0QdQaaCfFmPn3j5fxDgYmCTVincK3LvqnMWfZnc83Qa7EeXiyKJLbyGI6Mc7Zkb4Y6AUZpO3StRugq29VQ== 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=9/yh8ohc5o8Wm247LgVbSmY/dHXKXKQBrwOB5E7j0Nw=; b=HzI0IllejzHCmXVN8r8TjrY96il4NlNp5PgfUcf+FnzSAvYMjIhn+roCLO0dhEOdZBAQmlJZ/ObtLZ0dtPrgUQ0TNg6gorbAdguxismbYz9TN7N8TfsCIMq8qOAuEIlProCEiLzRO+Qh/M7FrLhZddJObSnyEnZUdHIKMAt0ZBQ= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by DM6PR10MB4219.namprd10.prod.outlook.com (2603:10b6:5:216::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.22; Wed, 12 Jul 2023 16:16:27 +0000 Received: from CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::4c83:52fa:a398:11a8]) by CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::4c83:52fa:a398:11a8%3]) with mapi id 15.20.6565.028; Wed, 12 Jul 2023 16:16:27 +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 v6 12/14] s390/kexec: refactor for kernel/Kconfig.kexec Date: Wed, 12 Jul 2023 12:15:43 -0400 Message-Id: <20230712161545.87870-13-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230712161545.87870-1-eric.devolder@oracle.com> References: <20230712161545.87870-1-eric.devolder@oracle.com> X-ClientProxiedBy: SA0PR11CA0062.namprd11.prod.outlook.com (2603:10b6:806:d2::7) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|DM6PR10MB4219:EE_ X-MS-Office365-Filtering-Correlation-Id: 2348622d-0be6-4789-163b-08db82f3585b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fOBzodIsI+w6yRa5NZeKEcgBxzz0uAjFski5+Iongfn/T4mwzmyUjzD/ADnjTER4LixEB6fk8HbXyIpHebEMh4t0vpJYqxS7eiANNMi0K+9sQk2891pNzEQRKdSUuAogDsG4jf2ylrxiktYNrhoGVN6gbNPJfxmqji9lfHbMlOFp7hzBQ/Kh0WRTIJCQ5z9Jvpk37LGxRGYCgjD6TNE3eSn69RJ7MOehNFsB6qaw9icaqzcgI0yWPe9QxlvF+Ax6OJWk0nz70i3RrFFROR/rPRav7QA2ZVyxWVTGqgfVlmpANvLSenoD8negbbf9cdVM7gK08h4NbAAIiUrgzAv9OKz77ZvOMVKaQ/48bNiftwO4uHRWKpCFZQaxXFKJm+dFs9+8H4LhASz/w7pStDAks8z2OvXrfOjCW1lRs8crgqadmBQqHLXhz+LpWqPTl1VglWx6zaH+KfCQPDdHTGd4ffyLlj43eDZDSsiCn1uZ3KOXwzj8GgTqGoI4HrkYErSZzU6SAcrvnwM5X5lEhAs/d/zI0JMeq7PfpurApKXc2iHNq3wgbz6U8Dd44fxiO6iLBDA0/OMLModUr7VlH49cAvShfxbFOvsOY35mh6DR520= 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)(376002)(39860400002)(346002)(366004)(396003)(136003)(451199021)(478600001)(6666004)(4326008)(6486002)(66946007)(66556008)(66476007)(316002)(41300700001)(921005)(186003)(2616005)(2906002)(7416002)(7406005)(7366002)(8676002)(38100700002)(8936002)(1076003)(26005)(36756003)(6512007)(5660300002)(6506007)(107886003)(86362001)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: pGWwTy+c4g61J1P8/T7ywTUk3TXpx7jH4MGi83D/SeTFXhVu6m7Ngy+nLi+RzmcuDCplWeMYWhUzR4Pm3QyI6IPLgoxF+4Send9P3MgQnR+oV4kJeu7ul3WZIK12Z2zQ+uZCcgG5J56/Uvve4nPYjrcl7zmghO6cwTVY/S1TWSX1ljA9nic1u0kfCxALgtTkj2R2NSkrqj6rym4hkTGp29oI1l2GYgqrNIShQmq3HjjWG+DSi4o+BTDAyq3kPvypgiReIUfwixJdBIuCxfkjeCaE6c0L1GJJ2YyJlTHVZAilqk5H41MS1Rc4vIl8zVej6HdC2Rufsl8H9Kb3tE9KjaGHE5oj2z9O582Dhu1TtsoEV94m48iZp27MHK9q/a/Ihc6rrXwHJMEF2Lhs99gx17+K0sSmyAHg/eBmWx2zOSNRc2armoMTwXIe/wQ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EUW2pC2rVjOSSOgOXOajFKeUPMtJAh0yX/tn3YpgrHamlv7CRDUYZ9iQqBicU3fDD9CAXpeezDxsqR/m6lPfLzNY0eTJKpxso3+q5ib4974Bupg== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: hrceUPfzqSegw6yExGqzz8tEi9hGmgDSP8KzKNXBvhVroPFXBTttrcy9vpyr/pZGRQNx9qwWY2jWfqqgACiCgK89qWEfwQIozUFiEynclDAYvvrF5aOnj7skgK+AD6eqB7bYzyevrtjygsfjNf/Jh7PtGYg7giaOSLllzKW4GwC14Ril1OMpOHaPO8pc3QnkBsis3sHfat5mLzWqB+TCvV3XKU2k1KFlODMGWcRX7Q7m5HwxIKZBg7y7LOTLxQ+Kl61dJHsBfklGd+kjhyqLrDSn6rRDweZ++ytZrr2tx9cbdjMkFCUYMFSzM2qDMPpUz2R5DtnbRdr0lIDtANPeQdC+0hIHNS36m28eADyCuNSpMsojwzN9rVkBXiXwtQKSO5MBzDzrfhMZ3ZNoLMi5Fp/mkJyfw2Va+P/tYJdhbJ0smV/sGzH873PSQGT8wGfmanUXP2Q75UrMdSAS39NylEBShZNc02jnAoSIqLNvQplkSn2Tt1B74yLowo5JXWsPHugDoOsO5utELgkCkdxgpo0uorQ2HMNYZMMEyyzE0P0dZFLwMWBluwln+pS0YP6XIQ/sbkzDfJm4zNvxASFYLClnM/pz2O+ltByMpwe4HIcKsEOscfblo1j5YakPSEdC+73RR/HK+wx5/G2QEp2/7Sa/myrO/COjwcadHVFYGbcQ6NO/Uh1N3T6jPLWPh90lARPnUeEyCK/r3r6+UWRB2tG8YXONQfwwo6wecRJnAmrm62axNkMyT1Vf5K9sKkj1/OD1TGdKw+zwGBkx5DwmB4qNm0pdn3O3qewsE8EER18U0IrlLsGPMo6XO7ZokqLToEjqWBkbh14EmT4f6dLx5sYUzE14ixImsguzWmrBagVcyarw9vws8FHoLOvm1biIP7Z8sdr9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LFCLkq6P687RE+0JleB0w3/uDSCjJpOX9jQli+gPA5D9CbdWtmRhqUkYYaW+GW9j69ODKFSV87oxdEhxIDjA9F3aqG/++BzYFjlUZ3TUzNMiNPJ+FgyJmMWmyTDr12cwDw3/w7oRkTGda54XP+d/q0q1IRxuv1kBbuoKZQ60X1U4/m7/xMakzJwk9x37132pSthj0K2+JTrKZyUne5ChQI9+whX9h1xWmwa6jAaIPLib7GUgC4FHlIe0WQkWWoJgbCUnyG+jGrREnKjOCUYkM8g/8h9f1uHB8GczTdfkerlPVA4dCEbOuzEYkJGEaH38b4WoWyBrIdA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2348622d-0be6-4789-163b-08db82f3585b X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2023 16:16:27.6387 (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: 53faYchIEE0T07rFnCHPMmwKz5XKWpcAl01VbVXbkBCemDRM6qWsBSnB4KtQSkbYnxa2WVxHUqAoluEKcPDvyqZgSSh437UQbYDD66Welms= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB4219 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-07-12_11,2023-07-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 malwarescore=0 phishscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307120146 X-Proofpoint-GUID: CS4pF8UlSnJwSizMZ9utcseGR2h2D3Xb X-Proofpoint-ORIG-GUID: CS4pF8UlSnJwSizMZ9utcseGR2h2D3Xb Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Acked-by: Alexander Gordeev --- arch/s390/Kconfig | 69 ++++++++++++++++------------------------------- 1 file changed, 23 insertions(+), 46 deletions(-) diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 5b39918b7042..40beaf1f3d73 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -213,6 +213,7 @@ config S390 select HAVE_VIRT_CPU_ACCOUNTING_IDLE select IOMMU_HELPER if PCI select IOMMU_SUPPORT if PCI + select KEXEC select MMU_GATHER_MERGE_VMAS select MMU_GATHER_NO_GATHER select MMU_GATHER_RCU_TABLE_FREE @@ -244,6 +245,28 @@ config PGTABLE_LEVELS source "kernel/livepatch/Kconfig" +config ARCH_DEFAULT_KEXEC + def_bool y + +config ARCH_SUPPORTS_KEXEC + def_bool y + +config ARCH_SUPPORTS_KEXEC_FILE + def_bool CRYPTO && CRYPTO_SHA256 && CRYPTO_SHA256_S390 + +config ARCH_SUPPORTS_KEXEC_SIG + def_bool MODULE_SIG_FORMAT + +config ARCH_HAS_KEXEC_PURGATORY + def_bool KEXEC_FILE + +config ARCH_SUPPORTS_CRASH_DUMP + def_bool y + help + Refer to for more details on this. + This option also enables s390 zfcpdump. + See also + menu "Processor type and features" config HAVE_MARCH_Z10_FEATURES @@ -482,36 +505,6 @@ config SCHED_TOPOLOGY source "kernel/Kconfig.hz" -config KEXEC - def_bool y - select KEXEC_CORE - -config KEXEC_FILE - bool "kexec file based system call" - select KEXEC_CORE - depends on CRYPTO - depends on CRYPTO_SHA256 - depends on CRYPTO_SHA256_S390 - help - Enable the kexec file based system call. In contrast to the normal - kexec system call this system call takes file descriptors for the - kernel and initramfs as arguments. - -config ARCH_HAS_KEXEC_PURGATORY - def_bool y - depends on KEXEC_FILE - -config KEXEC_SIG - bool "Verify kernel signature during kexec_file_load() syscall" - depends on KEXEC_FILE && MODULE_SIG_FORMAT - help - This option makes kernel signature verification mandatory for - the kexec_file_load() syscall. - - In addition to that option, you need to enable signature - verification for the corresponding kernel image type being - loaded in order for this to work. - config KERNEL_NOBP def_bool n prompt "Enable modified branch prediction for the kernel by default" @@ -733,22 +726,6 @@ config VFIO_AP endmenu -menu "Dump support" - -config CRASH_DUMP - bool "kernel crash dumps" - select KEXEC - help - Generate crash dump after being started by kexec. - Crash dump kernels are loaded in the main kernel with kexec-tools - into a specially reserved region and then later executed after - a crash by kdump/kexec. - Refer to for more details on this. - This option also enables s390 zfcpdump. - See also - -endmenu - config CCW def_bool y