Message ID | 20230612172805.681179-10-eric.devolder@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp25699vqr; Mon, 12 Jun 2023 10:31:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7P62Fl4nnySwq454j9U3aEHzV7zKFB9WLEqoBawfrUfaewMp483FVJkJ41WmunhuBlnGJ7 X-Received: by 2002:a92:c646:0:b0:331:2f0c:fd6b with SMTP id 6-20020a92c646000000b003312f0cfd6bmr8230113ill.28.1686591092364; Mon, 12 Jun 2023 10:31:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686591092; cv=pass; d=google.com; s=arc-20160816; b=pIJyXObwMljETQOOToYZ5WZFCZEoladwpbFpml6I7wSIYDQTz1yZbgjptyKwS9KktY jMZbxc9vdQhnlsjUPaLKxJA3CfwHmA+odFp9KHzNgkBTAZxbhKbJ9ErGzyHX+l6G6+Yg R6y0rbkhA9Nf8V+rIkghN0d61XsR697P99Bk9VYROxpIg1WBHtLMFSEFyessPhKjtb5u Yx0xANg4kISxRzsileL5EzY/9Ai6SL3X4sC8eu5qUWFZ81BTYZH2zwetTxu/N/1IGceH z1wUHPDiMi6t7QNoFIQVyk7/OPrDzSyOGbZa/z+XYPoBacoy3zsYpBwWYxHAUY0GAj/e ErMA== 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=cgz0Pqo0z3mewMnxonvHmdXAINl2w+dcNRbuBdBCM44=; b=auC/6i3akAUorOgVJTwKERmnwUPxjr6YmEjpukl+Rv+0tnOci1NveOIJn7zoWDfte6 BNHiVDSeyWvIXlytTQeeKSgIwjvApmcXFTDYKshAHNsO0zpxhxpAh7BNBT75AcdlRKvo tuB8Z0lO0JlgjlhA+p18b9pZw7g1UI/f7LayvRVbrnsTP1apDlvD4XsGG2fl3YVutneL 2AL3CL9Hfwsr9ho5rgQetd6RrzkJWvl4DKOa2bjRmLJ/dKtmQ+YdkM8lawPJZKLgZR6a SW1w04B0TH0Tafj/MPo0VTSxznhmByfQ6YYepQ0hgk+ck7zEgfObAFR4J2Hi4kXFHLk3 gbdw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=2w7x+fHi; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=lJVxcoGb; 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 j14-20020a636e0e000000b0053424040bb7si7119345pgc.298.2023.06.12.10.31.16; Mon, 12 Jun 2023 10:31:32 -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=2w7x+fHi; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=lJVxcoGb; 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 S237839AbjFLR34 (ORCPT <rfc822;rust.linux@gmail.com> + 99 others); Mon, 12 Jun 2023 13:29:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237486AbjFLR3P (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 12 Jun 2023 13:29:15 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77528129; Mon, 12 Jun 2023 10:29:14 -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 35CHO1KQ024288; Mon, 12 Jun 2023 17:28:45 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=cgz0Pqo0z3mewMnxonvHmdXAINl2w+dcNRbuBdBCM44=; b=2w7x+fHi3fRFBAu33Xy3pysuJxpvdZN8bJuNeijbh84hUlETZ31L8U+buqJDQl33pb4B pkUz2IroasuQdIwPQLYTP5ZDFTUPkLpbZBVu1RXKIObSHsBEoD1XlXZvGJi8FNQKucg3 RmTdYxsnk14XXdKIzakegFd65QwfPclM5JDlXciAl0B8QeNkkkUWtD//m5iIXgQLGV/7 UNwhxCf2109Q6WcC1Y8j4eAxzSJlNZE3P3a+vzlaTOfmlU2pdTKavADnailoINldHFLK QJttNYXMjtMxn2yIeGlKtxit7+DdzoEjh0t2kF8XBKk0l2O+FCzyv8afqdfs1YxngQ/m SQ== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3r4fkdkf2x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 12 Jun 2023 17:28:45 +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 35CH4Ml8016344; Mon, 12 Jun 2023 17:28:44 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2172.outbound.protection.outlook.com [104.47.59.172]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3r4fm32y0u-6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 12 Jun 2023 17:28:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aB8OnGbB1o5gTnyfJTOjc7bhZ9eH/gXq88escoy2A7J0FQG9GFdeNThlnLSGlmW6fpsl7q2YGJ7ZJDVHhT7iXXhnhBjWS7rQzotaRA9Nka8X0fd8AwRr0hC+TE7+m0Ta/SRLgL9ADcckE8YREMTMt5BOH2TMTDUqvhuYMAELX7h1VvGwSUafJl6J2Gt2M9ToC9aBrvJFv3ZsZdwGhcZvB/e3CF2LL4+ZYg86Lhv+oPAMejLFbvKt66JdOSoK8H3n624/Zn4gyE2dgW2z6emq5mNcP2B0IerPMuyt/ZPA1Up4dHayoyR/6SWDOOs0OX9GcLPj7dnV23RC0P3DeFp6Ng== 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=cgz0Pqo0z3mewMnxonvHmdXAINl2w+dcNRbuBdBCM44=; b=Bys8Vu0i8pKrXS2afXGOIXL0pcTJEEhWEOaMoxi5laB9tFfbE9/pnL/kCiIWLuSB07vq25WOzP5CsiE+BXx/JYq8/4/gMYBEw0tva9GUqBZD/U7yYlPW+7y/E1JALN4XJVBUA4VfG9BjFku0GA8MxyyKwDfgtR6zjftvMgHlYGusCpSlKyXHI3HdzfidhWDP+mmq/FDZq1c3CwW7HfQMALLpZ3CQlN7kOkutPGFaBITgS4LV7v/1eRfz1iVUQXqyb5RRKr2hAaz1+r4Ux4zDqYLdXr4s9hHELaytT/r9UHck3vctp9PUEjmmFMx2CVk+Qbws0dSKswDr+LKSJTzoWw== 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=cgz0Pqo0z3mewMnxonvHmdXAINl2w+dcNRbuBdBCM44=; b=lJVxcoGbLvrNYPuqFvj3k1N5oZcpo84M4FA+I+THC07n4+FAIGxFfhzOzQoSOx/q1HkTekU89Eks7RrjtATCTdAvZ0DATOcfxQhrLmbT+PR25Nwb7Sdq8HVr6Fb4fqZYI4jDIYV7usK8onTkORkNfdulZskOVxgwQUNeUh/FX2o= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by MW4PR10MB6509.namprd10.prod.outlook.com (2603:10b6:303:21b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.29; Mon, 12 Jun 2023 17:28:39 +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.6477.028; Mon, 12 Jun 2023 17:28:39 +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, 86@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 v1 09/21] parisc/kexec: refactor for kernel/Kconfig.kexec Date: Mon, 12 Jun 2023 13:28:01 -0400 Message-Id: <20230612172805.681179-10-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230612172805.681179-1-eric.devolder@oracle.com> References: <20230612172805.681179-1-eric.devolder@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR05CA0010.namprd05.prod.outlook.com (2603:10b6:a03:33b::15) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|MW4PR10MB6509:EE_ X-MS-Office365-Filtering-Correlation-Id: 46c688f1-6d65-4130-5ff3-08db6b6a75dd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BarAO8VK9+U5pdfVurPpkQUmgMluDDAbs5KAwqPMmArhD9r+E9bEN/ViN3JwUgARM+UHQQ6Qqfaxue1ksJma79LY9o4CFyYeEQepXR1RIm+t+wmEMb2Ud2CJSFkNVjpRaRYp9SgSeOqIXxSQ8S5zbi9H4aumwQt7PbXHovhFpv74RPqA7LrargMIDtA30eBKJwkCKqr1cxPXqS9nJeC/7m5ajyof4JmheO4YElTmGfH/iRLKo3S2qV/lqTXEsepZydODVw5LtkgwIjZQQog+v+4gIdBHuvT2jLDWkDl1WulabfLEnYKutNfdZ5Fy+omyZuJlrHDBcEtjSJxtAyd07kvYlQaP/n7z6ALSIcUKyzc0dtln2Bn5YNEKGiBFL425Hye6tj1+3rWdO3cv0Y8jwoWiLt7PsDLXAXctPJnacqmOcwwRV8VCaIZ4Pmyd3BKUFR2MCECj8jsk71GMV06Qscnbsm6Rv7gLReQtUgSNOhX+Wdheo/L9aiM5tqzkOZOSii0m6veRkcNYwFID9aBakSJhkoiieNsGKqklAfdLCBkDK6geAstwDQcNWSsJ6fFm1i1dB5hNObPK3iyPeVxWVTwCVSOvLHUwU3vzS2d49KM= 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)(396003)(376002)(346002)(39860400002)(136003)(451199021)(66556008)(66476007)(66946007)(6666004)(107886003)(316002)(4326008)(478600001)(86362001)(36756003)(6512007)(6506007)(1076003)(26005)(83380400001)(186003)(5660300002)(8936002)(7366002)(7416002)(8676002)(2906002)(6486002)(7406005)(921005)(41300700001)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FLmm6+mdKlQEWsaQmagSKJP9YvvbII/Pfzh5hsDohYCneNZObzN4wTQ0d8caRiLcOWINjkVaWa58CVB9Od37KTWVmzrEWNkib+a0KsSW9Y3voNhnfaf8eT346lleGoGwjEY1u5aJnyKZLjqPOsQEjDaUmkHeBwJc+yGayHqszc7iMJ1aEwMm/fDry57s5tNWFZRDQrsj/t4cTe7u9uKgsGgH5+u2GKtxddTjbfK4Qmigx+qS2vqM09pJdSQ3sw0KOcSsSgTdHOIVvI7FS7H2MZedM/isKyGkyoY/1TcJN5py/CHb/nW8AnrvVYOMpo/RgqDMB1qdlN/mj0jvX8vjcYpaUTRlc68ZzvjkMLz2XOF278HRaHle+84KHe0vzSQ5XQxdxs92pzVdDZF5qK4V41PLHLOiDECsiAJNsaX+p/jlesvghrs5A5Bx4VJBLZ2tyZ6lb8CbWYIMeeL5Ho829yh/Q7s85P1gO/tCD808NPy9olaTtziTantwf0aUJQZM+z5JNK/QhDkqIRFeroP4z6zCVultMWedTQcCLVSdP3tPtz0WOamB1yg24eGZdR7V8aricHAygZAELeI/DKYsXF34fJL26WzJrjcEt+7N/9YTknufl+7y7k+1y6dzsAcwbFcGbTL00qw4uFiNLT3LPsZCFhW6xFAcHzqfA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vHeNrQn4g8ahlHgl/yZRNWFUbZm3hJkZJK2HzWTVsVvxuiIMU4DrkfFs363etgpwQ14hujUEf2g== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 46c688f1-6d65-4130-5ff3-08db6b6a75dd X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2023 17:28:39.2838 (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: HngDuhE7NL5Flr5XzUeKM2Z637JFND2xtUyYIbwWsvkPaJ1LPdmYZ6h5xUJD+946hNo1wXYZKPH8sHDdX3MAnjYodcK8xKP1p3Qdi0qCSQw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB6509 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-12_12,2023-06-12_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 bulkscore=0 mlxscore=0 spamscore=0 malwarescore=0 adultscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306120152 X-Proofpoint-ORIG-GUID: le2-ubCLW9-JgL-MQrNykcVTf4TH0pZw X-Proofpoint-GUID: le2-ubCLW9-JgL-MQrNykcVTf4TH0pZw 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?1768518941210727577?= X-GMAIL-MSGID: =?utf-8?q?1768518941210727577?= |
Series |
refactor Kconfig to consolidate KEXEC and CRASH options
|
|
Commit Message
Eric DeVolder
June 12, 2023, 5:28 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_HAS_ and ARCH_SUPPORTS_ entries to recreate the
equivalent set of KEXEC and CRASH options.
Signed-off-by: Eric DeVolder <eric.devolder@oracle.com>
---
arch/parisc/Kconfig | 34 +++++++++++-----------------------
1 file changed, 11 insertions(+), 23 deletions(-)
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index 967bde65dd0e..36c139ce9f5a 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -348,29 +348,17 @@ config NR_CPUS default "4" if 64BIT default "16" -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. - - It is an ongoing process to be certain the hardware in a machine - shutdown, so do not be surprised if this code does not - initially work for you. - -config KEXEC_FILE - bool "kexec file based system call" - select KEXEC_CORE - select KEXEC_ELF - help - This enables the kexec_file_load() System call. This is - file based and takes file descriptors as system call argument - for kernel and initramfs as opposed to list of segments as - accepted by previous system call. - endmenu +config ARCH_HAS_KEXEC + def_bool y + +config ARCH_HAS_KEXEC_FILE + def_bool y + +config ARCH_SUPPORTS_KEXEC_FILE + def_bool y + depends on KEXEC_FILE + select KEXEC_ELF + source "drivers/parisc/Kconfig"