Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6496785rwd; Mon, 19 Jun 2023 08:05:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4DrykmDEcjj992K35Y82gWZAd8bz8PeX+bO7v0fA+7vvg+SFH3IhyBoXsxzuwwwyPfDh/C X-Received: by 2002:a05:6a20:7d9f:b0:11f:c8f4:83c4 with SMTP id v31-20020a056a207d9f00b0011fc8f483c4mr3006769pzj.34.1687187147737; Mon, 19 Jun 2023 08:05:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687187147; cv=pass; d=google.com; s=arc-20160816; b=tElwjwUswJRf5TQCoQfiTovfc8sr3yMX3p3ZhUHE1x3zq5xo2IuHHPaWd5IEuWhHKc wCnPXt7jDff6VsMaBm7ActPZAktTWOKx1KTJRy/BW9k4r2A8I0E8ayKrQSKEWZmd1niN ca+BpkSNI5Da7rDDBTm1k027I48f13lKFn0q5HVcaWGMjA8jN/7eDl7WDbO/jkWlMmMn zrW80DpVRA2f6sujPS9pmz2JACFGiQOk1BgAg5bHlm4EhtPIj4FuSdAPGR0KSccSKKvA nCs6oIf7FzaL7iY983F7/zCDPx2oz9aStxdMkStO24r5j8GSQGRY6f4zLvhLlUB5JbM6 YDjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=YNDNDDgTUsyPXRQgSEG+d1UNHHXH2zOv0zQdKf3/Jyk=; b=kkQ69Ol66yTGFFd07SABcEqRGsiNbyytJ/xu0RpB5xCOte94Aw8nzRxpzXeB1D6FQQ WUN0bSzu2tLxnRhEeIVrlX3j/UvLqAa4p12MDvFmqYYdkfBWBbyzaA98g5rhRMCJprpy xintLWia+8ESAG9F2wtvhFKEjXarnRjKRSJYTyA+5urzm0tT48xDZt1XOf4OA0FzrgAs ojjnp3GoAdt7oQMNo1X2JxrVg8E+UXW09Bv6e+BCOC9N4U/ivLiPv4opF57nW4CC5lRW KK84h0w2JOPF4F8GQkMoxsl36xXqTg9PgxiTR115sXcpLCK2yAyFSwF26qx1RGI2CVsU /ymQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=VgsTAokj; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Sb7mq0nh; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm18-20020a656e92000000b0052c7ad564e2si21740636pgb.707.2023.06.19.08.05.34; Mon, 19 Jun 2023 08:05:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=VgsTAokj; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Sb7mq0nh; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231915AbjFSPAs (ORCPT + 99 others); Mon, 19 Jun 2023 11:00:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232277AbjFSO7X (ORCPT ); Mon, 19 Jun 2023 10:59:23 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E3B4E66; Mon, 19 Jun 2023 07:59:22 -0700 (PDT) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35J9nT8x004744; Mon, 19 Jun 2023 14:59:04 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=YNDNDDgTUsyPXRQgSEG+d1UNHHXH2zOv0zQdKf3/Jyk=; b=VgsTAokjOVqccCtWaChEPgvQ0vI7Tw37BweJ3NhJaQvvE9RZJIB5wjHi73Sd6mUUrqZL la8tsylsWoTHKl+4iJn5324bB5Byi4PLBg6eW03mGttnmBndLVqTUV67a6VQ3iAwmx5M YtHoQqpG/4xmmOAdWJ7guJzN4wwVzc7hPWRgOrEXsIOK5mgevRFG5rixKdq1+zNFS3ug kQeycRB1tOQ4LICTQlY0t4V1gDlTSNxXh2LgUIhq5x60P3GCTT9sIa018zOPybwxnAsQ Lf5QDmGPMbjdfW4eg3xRoIa5D9J6a8uOdWv7XYcm5tSy4mIJtdPr5Rjx+V/QDy8HQyUn EA== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3r938djwbn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 Jun 2023 14:59:03 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 35JEXvUP008354; Mon, 19 Jun 2023 14:58:51 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2174.outbound.protection.outlook.com [104.47.56.174]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3r9393spd8-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 Jun 2023 14:58:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j0ixDn62D7g5t7BzTTEi1J5PrgYydJF2ZuMSsy/LyqKRw1CObCt8nootEhr++Ux7lTAfoeb46AM/4JRHv8M2UYR/PUfVTvVYZcNLETm3RpZBHLmCOIcoeFeI29YBH7iK1wE1/2aJO8BzU9Et9Jscw305K1SDwsDb+Lv9KiuLGmItPgb+wgNRBCuzpbcsbqjAv4RPAbOlsXmhX54qinP/L2XXrlMO0rJwwYAG/PxrQ1jSu2GYOkD2N3K7MPOdRoQqlU7SqUHUnDk/qZVnV6OOYRR6pMhTL+zqMbYcOS60ARIzW3CQef4HsmO+Ur6GIm/ETEyjBC4Avjtp11sHJ52ERg== 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=YNDNDDgTUsyPXRQgSEG+d1UNHHXH2zOv0zQdKf3/Jyk=; b=mGsDiKM1PllCxpRO5iJag7iKg3UTSs5mNJ+3m0E9UUTM/03oZpYXxNhtanQ0pc5N59+NMoY6ZeILYz6wQbG+gjygwafjMgakrxPM9A1LBQgk0aMxPxgZO5GkJojqPsWZbzyUBtMDl6O55grwOmlN47AwX8lrdoUHg9sa0pZCxbeBakI09a4owirCLmhxTzYcCnpQw34Dc8tMs4vCyqjaEjmz8dt6Aj7kRTbKA5rnehPjXjEZkZGQCgxzDANQHOwqQDsRcd0H2pz+4QXDMqxcWknL4hupf/8BraKQhSGmZrMccuLmUnEu8v7bdNmeX71mWGzzr+y2wQF4aRYzgrFVwA== 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=YNDNDDgTUsyPXRQgSEG+d1UNHHXH2zOv0zQdKf3/Jyk=; b=Sb7mq0nhBq3kUEpK3JvgecnVeuKhsEREyzjQHBPhqSnCo67KFysbS8IvBTVf9XaCV87sXzFNxnEtEj95zDysuwlr0SXH9ib+P4W66B9LJLLoDaIYuoohsSyM9EhYlKdOnqnGtRm5+HFlUgU05IYrlEA6RBrWonhGV/vTY7/S++0= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by DM4PR10MB7426.namprd10.prod.outlook.com (2603:10b6:8:183::8) 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:30 +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: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 v2 06/13] loongarch/kexec: refactor for kernel/Kconfig.kexec Date: Mon, 19 Jun 2023 10:57:54 -0400 Message-Id: <20230619145801.1064716-7-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230619145801.1064716-1-eric.devolder@oracle.com> References: <20230619145801.1064716-1-eric.devolder@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: DM6PR08CA0040.namprd08.prod.outlook.com (2603:10b6:5:1e0::14) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|DM4PR10MB7426:EE_ X-MS-Office365-Filtering-Correlation-Id: 9471d57a-8d37-4c78-cb60-08db70d5a326 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DjQ7eUuSF9JtSc9dqlqe4pfmEqGdthBoSulPS9UHbUj+kfcaKa+xBzhUqEDanD5y3buUuUFAbvTYZzYKDuDV3P6dgDzh5BK+SzayYbSQeK8FJbWiaOcu1W9tbP5CnDU16+kAostznu9yzqTeAtTBeps6/FejObt1Ywdebu1MO8K/gxUCq43BPQ7lDct499JHcJiuXQRuth/1q+jEgSF+/MtoNAXTw/8yu3M+/pVN9AvsizyR4vObp55ppukySGvhHgi2pCdOFqeuA8GC9S3DrEyVlt432SUCNABHt9OX0marcqGME4vAvtzzWQYk/1QznYQHKNamFl7Pv471DHDRr6lTFoEDdjvDbnnQUrDgagvI9y2b4cmDGfXaahdf874WkMOGDa/YN4RDXNyKRZG6gyxRulJg2g3gw60aioz+ww4CaRNFHJdQeLKZoaVEWZh842pHiC2BmbHoKhQbKKi5oiTJxNp2VMIkg0CYOyY0Hl6vEsUGP97XEPAGZFXYccMwgC/L/G235mDs7eJiar/1Xe8ZXWyx2AExQ99t7CBJ401HGxzax0tN6KPP1Ao68Dts27R9St4p1WJZJH/WQq44qa6iasMDsPKMC1asd/toqUM= 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)(366004)(39860400002)(376002)(346002)(396003)(136003)(451199021)(186003)(478600001)(6666004)(6486002)(86362001)(26005)(1076003)(6506007)(6512007)(107886003)(2616005)(38100700002)(316002)(83380400001)(66946007)(66556008)(66476007)(4326008)(921005)(8676002)(8936002)(7416002)(5660300002)(7366002)(7406005)(2906002)(41300700001)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?9kqoKckcHoKTDMNwD5dbmHuAeihPNFDZ8eYHZrLU+rgLtXb3X3QtyMhBGQDE?= =?us-ascii?Q?zi/ukinDbTCwu8Ych/4DTamTbL0LRzm/BmwxBiMsTewJt0SdTtsyyaUjwRJy?= =?us-ascii?Q?4epoBNBV8FUX6i6rUzgMl8GCz1mekZnMx1AeTXUyZmZyIkUbnVaeLwGlsmgJ?= =?us-ascii?Q?6dsplIHp1yG2Rdvn0N8a65ubFcUWxXDKojyjlH5e0uENguHd1VvDzIRgAolV?= =?us-ascii?Q?U1PBNhwd4SEeOBVeys1QgLzXWjeueh9rVrrGEPD/W7AqulCWP8nkiOwbe/Iy?= =?us-ascii?Q?yp7OnbYMbSEBYtDmu5SP/Ec2kM7Aax5pOWTJtDW8gVDP066B298z/QJ6EHl/?= =?us-ascii?Q?DoL3K7+MO1p7qY/4z/YOvg7Ovtl5khSCIpnAc3dW6a23mqEXkYoQepk/HYhI?= =?us-ascii?Q?RaWZfNWHzHlLxaYml6d8/o8tIVckI8Wg/bKrzfyQUlxSf1j3y4zhkvvEjsSa?= =?us-ascii?Q?g0ifM0h935pi4dzyjXV3dkxbKT6Cf3rZvF/eKBloDauxQCPBgfXbdPPUNKGz?= =?us-ascii?Q?q2UbhdPzu7r37unxTzHLu8L0ITsxLAgTST4fRbxfDcl4oMnW9mdtelK6S6A7?= =?us-ascii?Q?nmUd33U8QCIAEqHqigiOowusfCEYaasaqgWoUG0If06eiTXDNctIYTgKBXG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ILqG8JGxscyMocLQz8wZC4fcG4Tcq9xQI2De5?= =?us-ascii?Q?EuYVOlLsUIG0IQWN1eNRaEpIjXDgsLHoFKYrbqe+uqva//xd/Z53LXcKCGcx?= =?us-ascii?Q?/w=3D=3D?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?us-ascii?Q?72nWsBD+uk9t904r0x9iCXB3SHYUFJLqzsqSjpPtEloqCSIBLzM1CV/WoRQK?= =?us-ascii?Q?87gUlvOcxDNZHyHlnjB2LTy/B+KQgabcO86EVHzSkBMQ38u3cUx15Tf5KvRi?= =?us-ascii?Q?BshVwczclAEib0SDTowYGXuUA7CRpDB2enLh8kR2qrJPvc/hbnTCAkSxIX2f?= =?us-ascii?Q?lJnBaMFSLrPClgidFgSMxYdrD9nA8P5RxxttyPb1Ujr112ygOOQrkCuunbzq?= =?us-ascii?Q?UzoFKd1xyiGHUpWGMtyq7UXOVQwq45VkQZQVhVBiS4bmTCjilBZgXnWZb5oR?= =?us-ascii?Q?T04V1UC93+52Bbp95MAo/tULarNX2lsjhAL0X0xtbPKKG7VgCyg75TY2T+Hs?= =?us-ascii?Q?7xNsiBhL1/RGM5ZcCTkueyfG1QVnxK2mAONHBRI4/sQqET0gOqCcWb/mKxc0?= =?us-ascii?Q?HjaIoi79ErTjrloQL3Q9rm1xAYsBfDptjNGahVd60OkLDhaKVZFZ4VIeaWqe?= =?us-ascii?Q?/GvSmQUPtbub6x4OhvlJZHYM7QDsM/8mtusNb36THHUoxfWiC23llkIXHp08?= =?us-ascii?Q?eEJj2ImORIuMfjUwlCAqgGIwo9bz+PJ+XVjo0zJVvj+WFQX/JbJDVkuQFb5z?= =?us-ascii?Q?ekL7vS6sSVByoBIyqYYh5Tj+o4Y4ZbjFEhcBphDwQo9pbvVhDUSdTIkwXuUB?= =?us-ascii?Q?Is5wEVdMciFAhuP8yL3s5Nk5JeEefOPs+7AM5nGNGzI5OqU1A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tmkNDej3TWciM2ht3rbFreWJ/5UKqDgGeGROW4VcuXCeknbaK+NbslAUt?= =?us-ascii?Q?JLYZrXT2TfeN0gJeMmVFQh1WbqSdFzmBhYApbPEvgkXJ5g2fV449qeu8Ex+P?= =?us-ascii?Q?I/+gtV+sz7JLz6554En2cvh0bEd8KUIUQPLeCKXjxfQUBIBpb6AQ8OXwmU4v?= =?us-ascii?Q?rtwX/7LMgI/uq5QiJpSXAocFpbq/pFSkOnD1ZZYO53VGdIJWTiU1vC4JiElg?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-1: QsNpZVRVN4o6vztg5Kkigt+vzmos3iZuxUYDsr5c+v+7tt3C9F0K02ULvgRvPH1yKUWYi8KPlq/p83hCPd8xrs3YBWd6vjY8rkLaYlawJirTYc/ENcMwYyotc9Am8RxTlaDZEaf6hE4HxkE9v+ia3j4NktWGtFRTuPO31edN43yJuoS984CvemgSdpviJoQN9UAYmXXljAknCPnhdWF3MjggLikdfEw0lxZpZHKiql+suS+7YzgKuGtDFcXn+8KdGuorZk78q39NdA41UKOSuR5UPc8fIn6NEA8YqiyV8cNOZLpHzKAxYh7R39fHBw9v6ILNGAf+yH9loixggQJvdznzGmePr0V9qbGhO7PX+DP9XR2ErFtDPbuXYZvVvNS0VbcEe4ACUa61fg8vE9REHqdO4NwKTBUsJhiFmycHkGD75p9rbbQnjn6EWjXNfP+UtN34sX2LPRFQnQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9471d57a-8d37-4c78-cb60-08db70d5a326 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:27.2649 (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: 2fPWzjlkY/taXKY3Qcsj89dX543rg7q1mGTyPZLPFgoTi/Sv9P0ZhrivuA/9cjgF6GuhxJNPifwW2S2UYp8pPWGMFqkUkAPHtU5UId3MCBs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR10MB7426 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=999 adultscore=0 spamscore=0 phishscore=0 suspectscore=0 malwarescore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306190137 X-Proofpoint-GUID: p8KQabtBqklKiAIeFekm7c2I3zxUvP-v X-Proofpoint-ORIG-GUID: p8KQabtBqklKiAIeFekm7c2I3zxUvP-v X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- arch/loongarch/Kconfig | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig index d38b066fc931..3542bf669c78 100644 --- a/arch/loongarch/Kconfig +++ b/arch/loongarch/Kconfig @@ -481,28 +481,16 @@ config ARCH_STRICT_ALIGN to run kernel only on systems with h/w unaligned access support in order to optimise for performance. -config KEXEC - bool "Kexec system call" - select KEXEC_CORE - help - kexec is a system call that implements the ability to shutdown your - current kernel, and to start another kernel. It is like a reboot - but it is independent of the system firmware. And like a reboot - you can start any kernel with it, not just Linux. +config ARCH_SUPPORTS_KEXEC + def_bool y - The name comes from the similarity to the exec system call. +config ARCH_SUPPORTS_CRASH_DUMP + def_bool y -config CRASH_DUMP - bool "Build kdump crash kernel" +config ARCH_SELECTS_CRASH_DUMP + def_bool y + depends on CRASH_DUMP select RELOCATABLE - help - Generate crash dump after being started by kexec. This should - be normally only set in special crash dump kernels which are - loaded in the main kernel with kexec-tools into a specially - reserved region and then later executed after a crash by - kdump/kexec. - - For more details see Documentation/admin-guide/kdump/kdump.rst config RELOCATABLE bool "Relocatable kernel" -- 2.31.1