Message ID | 20230706222027.189117-9-eric.devolder@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp2870680vqx; Thu, 6 Jul 2023 15:27:56 -0700 (PDT) X-Google-Smtp-Source: APBJJlFwRsBtWwWSIjamMxsTKSoRYpmNGRvXbyOG7klw4RzV5JT7ArrENv7MKo9hscvps5Uml4dA X-Received: by 2002:a05:6a20:429f:b0:12f:6500:8504 with SMTP id o31-20020a056a20429f00b0012f65008504mr3688483pzj.46.1688682475477; Thu, 06 Jul 2023 15:27:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1688682475; cv=pass; d=google.com; s=arc-20160816; b=vOSKq3FOyEFJmI9A50Zfyb93aCxbH75d1rnDtQ7g8UVc0TnXFsYSBMp8fLZuJEGpFB tZcIm0CDmAOWvjOsRvVFoVq06Mvwbx/J/KdvounXHDzSqWxw1VFsyiMAqBYOY15EAwYG g0fZ8P9LhyxHGd4is3MVvaiENquqKhDJNB5tgA1PcqDY6yxBSL74TwNou1K/QtWSDIGX csSiWEnuuWf7A8boW4FVDx6xP/Bj3yc5e8mpsvCut+sS3i2k0i4u/TJr6G2yOFALwXZL Sx9Tbc9LZGRp4hn3Ampypa/sef67BTQdV4F/C0xzwgsGM8Y3TAYmPJ+6g3IaYK5UWd8c wcEw== 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=PP/8WmoL1Ch0F9v4vcAvkFcEuG5JcGOdmP5VZig6xco=; fh=OnvCYc85Zc9mFJ9Px86Oam387o4YKs25CUyg+2gB+44=; b=bUuq5TLJLAPPQUbbUw7Jdu5fscxxOJ11NYGZNiZ1jreWdQ42qR98dkKlBiq5rTH/YH hnQgUznLZnB6F+XLAy+XLBOeLtRqmPgrGQACTAh+D4Q91BkqgFoiAZGCGzY+T1xg1kYQ 1XfyhUVHvD/jbp4/iUpsdei78gp1b9VIRE+34J6bsAWGxYWqTiaHruI6R4EDiiobF91c pyIndwZBeeNjAqaI1T30/a6jFNRofQmPudriRuc6Km2ouPghE02FlpUkf3TmEINegEkC Smxggxd4Ax5ONPWNKsDANrPtR1PjFDWe4wRtK0q5YT8uBShUmYsyqd7mrEsDOC1O9n68 SG+w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=rLVpv2bD; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=p5GxBrtR; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r25-20020a63fc59000000b0055b76613808si2302998pgk.214.2023.07.06.15.27.31; Thu, 06 Jul 2023 15:27:55 -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=rLVpv2bD; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=p5GxBrtR; 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 S232298AbjGFWW1 (ORCPT <rfc822;hadasmailinglist@gmail.com> + 99 others); Thu, 6 Jul 2023 18:22:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232108AbjGFWVi (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 6 Jul 2023 18:21:38 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0679D1992; Thu, 6 Jul 2023 15:21:25 -0700 (PDT) Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 366LmtuE006562; Thu, 6 Jul 2023 22:21:08 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=PP/8WmoL1Ch0F9v4vcAvkFcEuG5JcGOdmP5VZig6xco=; b=rLVpv2bD3eZOyy1fvLElHm3JBqVbr+wuF22VMAGybavq05ALMKAFlpcWiLjVTvz3ZFpY Ri8bj2rNJDWza5/BvSrOxSXZf1H5YpyJheAqivmnMlZK1jQmNwDLSWRU/Vz7ThHeNDzJ jIoKxUKf7Az2Nj8day+LMHqAIihc9DOh82vYaO/Ahr+jFx3FAUAelOX17HB2Q9M+4Qjf ycZno7mgM1w1qtHJXCDGZvgsa/0MeafL4MsSAk68OdUTaUkb3fyaVgxBLa7TggnoIe7w HpzWgXQOlHkIbpRzixNgXmvPfKcZ+WxB+47pa8oGJ8NkKM6sJBQ4nAJmo9gVbKONzwJZ Jg== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3rp3vy88yb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 06 Jul 2023 22:21:08 +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 366KPxtf024442; Thu, 6 Jul 2023 22:21:07 GMT Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2044.outbound.protection.outlook.com [104.47.57.44]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3rjak85bjv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 06 Jul 2023 22:21:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W8QrZfbU3cCxZnD0SqoQwis7Wjl1dqoG4hdfm+eTzBbx0jTfc/CS9X86yj07d4+ISqF8YtGtbH8u5ORAKdrJa38ZwMjTiHC11SVrofwk3mlTF/zcpKC+vtYt/sZQYGspFBc39Wr2LTeSFqcyHe2IkKXxWr9NRt2r8cmyhnPRC5op2DfkchsY/WzNwBwOuoDrE+ezBz92xy9m7bS+CnnGyhf+sN/zyP/PQ6g6TCZyH9kjGwTchDPw7f8FSzS2icmVvUteQI9iou0BqTLAYdH1VqAAgEgA3ryDzO9o2jWKSYbpxFTYTTfvckoxW1n4wHjveNf7N1l8s2z5eNQ30JKJgw== 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=PP/8WmoL1Ch0F9v4vcAvkFcEuG5JcGOdmP5VZig6xco=; b=CSns2pZrGFEkUqn8VVrToSeaEpSbtgtduV8gTRy/E4NyQNFzLBUuAGosNh4+bpoiAOeQDeDpiMdJHakc7NdH0RSYK1+q5oRmXdQHn1UoTB9ddb3BiGA9bQw2xC5XSz9dtpof5VvrZpTnG7XtgZF4ak6udz1OHx1/Y85Dr3TkVgIW6ed5kD4OcqvNf0vQQ9KwU4Ne3j2AUyjzw1uKpAUnoaGegKwT55vxynJXMGXmmC3QB1zZ1NK5tojSMGaqxZIOuPz+TuZpXT5aBlTgBa+8kXTL1WtuH9+MukrF6T4HohPHZRk6+3hcvUZi05t+vMB8embNvfyfzsT78MDjiWey0w== 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=PP/8WmoL1Ch0F9v4vcAvkFcEuG5JcGOdmP5VZig6xco=; b=p5GxBrtR4Pktlynwe9OgbA8RsGQkL+eIl4KQ0W4H2b1ucfh6JmjZaTLPfv8tK6qrCCSClqpunT1wVggd6BOErcwKk+hHvDGtrlM6KXT8mXzrpyjTWZuxSbdzdVyTxTK7Uv5FuG30OYHkTBvzwGR76/2cz3IvTV36ruutjjYmzhQ= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by CO1PR10MB4755.namprd10.prod.outlook.com (2603:10b6:303:9f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.17; Thu, 6 Jul 2023 22:21:03 +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.6565.019; Thu, 6 Jul 2023 22:21:03 +0000 From: Eric DeVolder <eric.devolder@oracle.com> 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 v5 08/13] mips/kexec: refactor for kernel/Kconfig.kexec Date: Thu, 6 Jul 2023 18:20:22 -0400 Message-Id: <20230706222027.189117-9-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230706222027.189117-1-eric.devolder@oracle.com> References: <20230706222027.189117-1-eric.devolder@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SA0PR11CA0166.namprd11.prod.outlook.com (2603:10b6:806:1bb::21) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|CO1PR10MB4755:EE_ X-MS-Office365-Filtering-Correlation-Id: 630a3584-0bfb-4e8a-34eb-08db7e6f4913 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Tc8GjfnKiUnwjfUPg19jorkN9gAaE5IPDIjUVlL6jeir4xFpv3KRLdGDlUvAaEixreFlBZK8QeoYxnSIIJiiHHuaqJIafGOwtuc0Uqb8uB7B82V/CaF5B2bYI8tlAsh4BBJI9RIzX8smfa3FT7pKVCLjcXbN3Rrh3N0dmFEg1UhuZ3Ya4FkiDLtLhpCrnmTI9UYL+KZNNlDILrs1xcq9lZp/5GBzJUP27bNImF8ko0MN3V4vkvgDD7WPMJgX0os76v8hr9s73h5UQ/2JiIlfvKDNwOLMP6CBn6mboyoGPM+iQgsqk3pVivWBu88IDyy3+3SdNqjNY1gOJgQ6wecUOhWy76rSQQ5I6esQzAk2yYflU/4dtxfZ4KbeK1luxKwy5WcUfZ8Cx3QmS44FXfzKFKTC0oWW0bID6EGghgEXcHnVzVM4btqq23K+CN4Ek/JK94XpWhLuHfOCROXhpv8dmgBbJOQ4bn279S9zIJ2ZnK6i+LTEVEddnLEAuETWToaoglTYXa+4+EGA1yk2msg5ivHjJ3q9T/VONsCDrrmrH75ZyeG7OOHBd11uZWLP5hJk+FYHWLX5bOEACNJXPPih8MJKm08qZAW8AOakCKejxfI= 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)(346002)(136003)(396003)(366004)(39860400002)(451199021)(8676002)(8936002)(2906002)(2616005)(5660300002)(26005)(7416002)(6506007)(1076003)(7406005)(7366002)(186003)(107886003)(66556008)(41300700001)(921005)(66476007)(6486002)(4326008)(6666004)(316002)(66946007)(83380400001)(6512007)(478600001)(36756003)(38100700002)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3A41BYBaD0274mYHIG/z02QIE3RIEoRjGsYl3sWju1nUrcYM+fZYrmNIFgWMFSFBkEk0OFKKkCPbJYg/+x/Lqoxmn5opZlKyCJ1o8ungUWsdDxGiXFJsTSkQt2Xujb85X1m0ONftwWi9KQ3/eErpIuX6Mdl17IEJm4tr2SM2/0QcXN8FNwcr5En40BzWVdxkxIBUT9wqQdor/3cRA75hT82MOFS5yxxHOwVrsVqvG9PVWH5sGrEWrk9m1S3BgmUFezOusXSSV6DrMYAwkDom69LJj4WsQs2xXcBmMe5SE829AgtBoX4+oVMAJx35yrj6ASREfO68kEhsxcDX0Jgc2sALXBbYKMNw1Sd8xLEEplFq1a+R8VSzIk1GVXv5iS9teE1a0Nf71I7C6QR5l3e8wbwt3jbkcHSs1VDHTo7uxrl7I6IHqozKjz9+gh+nc0xQjERzuQqrGoMsiFHpoEcahymBMlcoIxqMuScTeO1i2rSOTbjHIRLrnVeHruF/RtRc607nm8JUkZxr8ih8Udrzz521SosTDA3bVQBx77SH+oXBMLk6BWyB35yIA3iadq6hDICd1/rWXKOxfo7o9FWk5J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SZYCe4gLx0yybAy1he/BBXU+RapVK4xaPWab26DOHu+OUAHeoCmK3lUcp/RkYu/cgKaUACFdFqvwm1rcXDZCAR5HU2u9X3SQuiUWkrcuUCbRWAb6vmSJVxJXZzmmNKPwNv8P08Zq7L3eHEe5s+8yP7JyeNwighJ8njhRFwl5+noYokDA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 630a3584-0bfb-4e8a-34eb-08db7e6f4913 X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2023 22:21:03.6959 (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: 4y2uCqNjP/DqnoxNIuSPhruUwnPKcgoV6NR+vJ1qEQOeGFC+1iplcyYM9niaLFXnEhrmXCCppPwLqQu1M49TyfV/nfLcZ96BnEf2k8Jtoh0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR10MB4755 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-06_15,2023-07-06_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 spamscore=0 bulkscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307060195 X-Proofpoint-ORIG-GUID: c0CIrTHjitco280bhngIYriRa5NkyVPg X-Proofpoint-GUID: c0CIrTHjitco280bhngIYriRa5NkyVPg 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770711915316030877?= X-GMAIL-MSGID: =?utf-8?q?1770711915316030877?= |
Series |
refactor Kconfig to consolidate KEXEC and CRASH options
|
|
Commit Message
Eric DeVolder
July 6, 2023, 10:20 p.m. UTC
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 <eric.devolder@oracle.com> Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> --- arch/mips/Kconfig | 32 +++++--------------------------- 1 file changed, 5 insertions(+), 27 deletions(-)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index fc6fba925aea..bc8421859006 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2878,33 +2878,11 @@ config HZ config SCHED_HRTICK def_bool HIGH_RES_TIMERS -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. - - The name comes from the similarity to the exec system call. - - It is an ongoing process to be certain the hardware in a machine - is properly shutdown, so do not be surprised if this code does not - initially work for you. As of this writing the exact hardware - interface is strongly in flux, so no good recommendation can be - made. - -config CRASH_DUMP - bool "Kernel crash dumps" - 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. The crash dump kernel must be compiled - to a memory address not used by the main kernel or firmware using - PHYSICAL_START. +config ARCH_SUPPORTS_KEXEC + def_bool y + +config ARCH_SUPPORTS_CRASH_DUMP + def_bool y config PHYSICAL_START hex "Physical address where the kernel is loaded"