Message ID | 20230712161545.87870-11-eric.devolder@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp1296910vqm; Wed, 12 Jul 2023 10:17:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlGOcy4tYfOBGRKpiHw6p5USTQCydGQQ1XQFQSPqazYKTMxJ28u1LJzK9QWZyGxRUUwZiGZU X-Received: by 2002:a05:6808:3082:b0:3a4:208f:a1ef with SMTP id bl2-20020a056808308200b003a4208fa1efmr4839220oib.0.1689182222853; Wed, 12 Jul 2023 10:17:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689182222; cv=pass; d=google.com; s=arc-20160816; b=pZ1l5tNxvLvIIlSqIAbdMQj++c5L5Ajj6J5Zsz3MJ53PU+my403KyVyoDilfnzSL5s jFjrM6y5aOtud7pIAzz5wPVW0iQ/DNu5sPEpCuXwRaxwm8NCGcj+Ox+yluX43Q7BlPch 3aGhstxeLwr9rCEFAM6Z2Wqk48Y8Tmkejmnf0ZcKnWi5l6DNY/dn8qObGbfOUZ06m/qX k7crwaZmAQAiFXlMKUjvIbfLB9Z0NjEf+vZecMWQQczD3J5fNGbLyj8YO9z3iOnAS35E 23r0v6g6LKV8A/PBYUXK6ZhRoWcQVayimFsSgMBcnK5SPc3+fP3xEBIiJ83D9WaoeLEJ ruew== 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=HEjxbCekDzod+atU2kn1FYexmGAjLI57PU3T0wASxHE=; fh=OnvCYc85Zc9mFJ9Px86Oam387o4YKs25CUyg+2gB+44=; b=gLuWmHw8ThQo85wvVPLH6DVbUeZgrtB7vi9WHtkXU50hKE8sKXvDHpCT0yTqLv6ewN F7EdWcba2a8gwujDsxccKfjdCQOL964XawS11/m265Af9DdxV5BgMzpAyVn8JRib1XKs 1tKj/FVHYe1aQjaxC3dXR5RBsf/dUPQaPcfMxC3jfsE5zpRj9KTVqFXoNyp6U7nQZNoB U/pRXGmf7aNFet8yqGjUVe3PNmhNTDEr+2uIelPKk7brpiJ1lEpVw/WztAPBQhn0piN0 rLbT6R3LKMqnOk0pP/B13+2BgUXR7+k9uo/zapv3S6O7mRaMzCXrE/MR0SOATnYPm6dk Z1+A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b="l/jhYUxV"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Y6gjg25F; 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 n5-20020a654885000000b00546bab11218si3331399pgs.439.2023.07.12.10.16.45; Wed, 12 Jul 2023 10:17:02 -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="l/jhYUxV"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Y6gjg25F; 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 S233709AbjGLQRf (ORCPT <rfc822;ybw1215001957@gmail.com> + 99 others); Wed, 12 Jul 2023 12:17:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232671AbjGLQQ5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 12 Jul 2023 12:16:57 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D36911BFF; Wed, 12 Jul 2023 09:16:43 -0700 (PDT) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36CEiFBO015946; Wed, 12 Jul 2023 16:16:26 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=HEjxbCekDzod+atU2kn1FYexmGAjLI57PU3T0wASxHE=; b=l/jhYUxVIAQ7eKpuM0NiehaymhMm5ql/iXHb8uXhS4y4tmNm5OC0vrjYAarZpE9jM04D l1NEQA0dMxDWEB+l0OHzSZimoB+lp6cAY10nTHr0Uc3Zo8nCbv8iYPOajLKTDNjcsXZS KHF2G7ktaQq9L70dFacb78VMAnRfXJh1msNftYpSxCubnCRLT5UR1opBH0eQw8tJ1EYE K8Uyoujbxe3MvGR4sx55e3RopHP1JbHAnA9XLs/qOo27KFNrwsKmiszY0H5QHrXHN7x/ CORPqaCgGXZy3RiGROz160lfwqJ8JmvfzMN8FhWxuF/+ln5WwZZGgmhI0K/DXd87aLK0 rA== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3rpyud7sxp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 16:16:26 +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 36CEpr6M004237; Wed, 12 Jul 2023 16:16:25 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2176.outbound.protection.outlook.com [104.47.57.176]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3rpx8d4kwm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 16:16:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mJhtR9cpyKJ5W6a2Eh4HeB+g/Aj6zFlVO5tTfTc34hwW8apjEna3qpqGpcgQqnxZ/WQ8HhOkBS5BkOJk/pOQKSlJUcLNxkVOrZLdUxULKhm9gDCHtNfujZUQxH2F3yhJq+7KcLx5S7DSqRn2T/De2UodZwxj3OSBQMOc13pSaQjc9Dia8o5Fhgx/d8IK2h4sWf32pjPUEpYibabFnVTXbOZL3YhRcVRaS89BS4OcxZcUaBFZCUT5rMMMJqJzTnpDEbSXA/62rum8kEdxmN4YYhI5AtibWICBYE1VJLqZijJDYsXUlWsfPmW3gHkNmBQ/H29H4tkoEw/iI1Vd55k4Vw== 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=HEjxbCekDzod+atU2kn1FYexmGAjLI57PU3T0wASxHE=; b=A8VrjQvsgOmtt+2vcl8t9O9T0LmdiosXsz84RaOpsRspBFSshi6L9+vvS168KKp7HLVZ0iCqVui9p3s/l+OglaSAolrSRXdVifNgPEvuhz5ERdkm5GtjOLEPTDeW5rGwhBJtlJsWUQw/1pcpYX0ltROyM1KSIeO5JUg4dkj3cIJOCLNabInOe5EdB87zeXUZc/MXAqDp+pOdmOGPVP33Lrz4wPZLbhCkxr219F6LbU27J/zPnJFIGsXHej41MfP304yzFb6jCNb54ms4zpCpUcdNuNmcVlD5iMeC2DWTFymVw9mISxaZjXdDybh13Pte7g9ARN+qtlNBSQjDJR2ndQ== 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=HEjxbCekDzod+atU2kn1FYexmGAjLI57PU3T0wASxHE=; b=Y6gjg25FkooZeIDpRMU6iU8DMTTXXUO8rp95e2I/aalnd7n9x74SSMnwqgUfsoGyDnxCCx36omQ01FZYVVF3+lHQrz3oUoh+TQXVOILjsyt7rTeWHS7oxuOgEL1t4sEX+8hz4V0mKcu614EVUuOJADb7V987q7xLeB5onoHEjPo= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by PH8PR10MB6501.namprd10.prod.outlook.com (2603:10b6:510:22b::18) 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:22 +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:22 +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 v6 10/14] powerpc/kexec: refactor for kernel/Kconfig.kexec Date: Wed, 12 Jul 2023 12:15:41 -0400 Message-Id: <20230712161545.87870-11-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> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: DS7P222CA0017.NAMP222.PROD.OUTLOOK.COM (2603:10b6:8:2e::26) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|PH8PR10MB6501:EE_ X-MS-Office365-Filtering-Correlation-Id: a5513c73-6c5c-4cfb-c88b-08db82f35518 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MHPEbrO4XPT8/ckWtfnWLRN69XHtCd4IbUr3JqP2a1tUU2PwUUpQhuIAQbjWrKd3k+NxUdaqabk5M0YOZY7g4OBj1bAiB0WqQWwo4CinlDT1i/KjFdMBqlvnew+Oi08Tm3dAwIKsZlNulkU5UzzxSZ4FDQDYMnsAkRDLGt9KHBXwRQe31p6SXuWoZ4StiaU4m/sjro4Bi5tVmKNwpmOaUnq/bvgxbLg+u2IsXu+FjZX2OXUpuwvYGWIhL2u8tdrWj5OFO9pYYosLG+hZ2LBC/n/AiWRlVVs2d46+zygFqoCfwrlciX/X0CjqZn5yvk7T1QdzD517RgWbi28QczO9aJ6hksladfHBOxT5NJYH8ZYQtxHhFhnb7JaPGCzshdp0kPNDbIXpr5/7amlmVGpw8ZqWdm1e2TrJ1p4wJE5O9PSCchXLd4coG0ol3jOf68FNGArorr6iTgQZkKXiD8nuWfcD1WUHxtUtO+D2OJGFwGR0gz7oULVOfL9uKmyopLhQTW2iqkZQMNQT2z6HIHEUEVLP0VVW9ZWdSktIpktrLG/TB+KMXLTVS8eh9rrOca4oviwZ19h3d+QUbZLFyjg1sY2RYlA1u7zZJ9PUN161HRU= 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)(396003)(39860400002)(136003)(366004)(346002)(451199021)(38100700002)(478600001)(921005)(4326008)(86362001)(6666004)(66476007)(66556008)(66946007)(6486002)(6512007)(316002)(41300700001)(186003)(83380400001)(2616005)(2906002)(36756003)(8936002)(107886003)(8676002)(7406005)(7366002)(7416002)(5660300002)(26005)(6506007)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TvyAE8WzdZVc0uUl25V+j/iKcBTtwFnbT+Y0/ZYYyqdKnWc3Dl35Npi5EFf3rBt3UhgrJwtJeJRwA0Rt0l6ZwzFXVv9vBW23OC4r5ALb7urLpSf5TfkrZphEPCqKllcFwMSK40fHPUIjSFNfbPMiOSC9MWv3g5Giyrssjhyw8fqMXi7HcBIFwL5PLbAiDwqazoyvWtMMTL2/bf7M3pu5TtTYalsylBinm9KLtwbiTf9ThR+HfD/eKxCqbo7TzTerGuBALvyuezzJUDAHS8CkxnATqhcQYTDb1QF9XyO1J4rnJLTmn8M30YBLwKv5LJiWBLVZ2lTp3nYvzXzVcl2W6rbvatkjy9oKIkpDvA0hsqa8dwX80daxV5AWSQpizNnggZoVOw+0jqkgf4woNkVAXjdvJspUeIga1ZjHHZ3Ddf6bo0Tr0SpE72Lo/1wEVSefoCauJKT5QN2HzrjddF66K6CYoLr5PsjHxqJOFS6MvSo+F/ardWaO6bTKSenKWq9sA6vRu8GgXg1DDapzTHk3qJmOd4bfyY5KKwtSHXIWvK0kApJL82EZtYY0xBgzXzijL0s2zshWT02npYw0+abekoc5Gu9btarT1yei4y7xR6LifoJPzllfmn/myvZx+IaH0WNDWr+OV15KgSZl5B85ktoJwdqMVN1YuY80uRMyn5KvVmB9gJQnlgTwWlemEb+MkjXZDuB4/VLlvfbFw2vfewsKgsg1daegdFTpkhXcyw1yLijyKHBGxYs7x6/gqUD9b2/nOchEkDRLKiv+mrDqU1LcEtfIMmP53Z4w0LDpjrFabElWfYFmlOVU6gjZAyVvrZW8tHbT4SgOTuQwQplswt1ZaN4ApBhFg52uzK3X/xdoFJ44mHCu79bg6Upj9pNyBAo3RaG2XRqxwLcQ9oARE/WNzR/gSXWCgmoI7eC4sN00eorSjha6Og6vhn5D/SOXApiIyD+5hBOt6uI23AEQ5d+X6QVxkOPzof2f5DfAQMDQ9Buy3Nic8iKireaMEW7nJqMgrJE3GAQsHu1L7MLou7wOxIgXkAj3Ew7rutoyUEkFw78VL7iv3LE0wsa5/nVWO6jezVbcn49gwmZWYS3QIeMERRcGH9wYlKrY020XvhYZUb3QAYx0sOgRiRhrGF90A2qQS07kHvzlH3auvDen/FparEOcse5VYLe+Pql+dt2t/JPX0XHXu8v3XLznBDMMFTmMoPfGUI5tk6RIObQLsTOcoGyTYQMFDJFnpfLrm4o4I+Y25PcQ49ZK1XQr431m+iFNDfP5Sf6PtpllbcTSyR4xUWzWIdmYzvXIprE8+38WkwxIAFX+bKVRUn1nBEas9f0acOIF0mw/UoP1RQK7PmThSdsJxD3ERapRFqL/SaTGu88V7sXsvQlFw6Kyg4nHN+gxnYc0vxHUbUhpXUbRnaTNOyoTxOX66sFK3TetMQaWTi7YATGIHIaYfU74jng807Rt1pjpDOiO87rQgcFdceILVheKDqUEtdchUD9ZREtrdJ5vDqtRcOsaakzk8qvJurCc1fJSEtiD3JWyAgTIx67OA0A91rEr+walPp1OXYPJfqp1swTgM8hWe8wP7q+tIkeygbQfGmBPcHsZBPaPQw== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: nab7f7QRulP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MfvetAr287lOnuR5eerPbKBVNLFp8INWKWd1NNqx+bf9X89MiU16lIff16i1Rv/HzK+zSSWF2i/GZ5MCyxW80J/Csds4lrFurxNg3ZoQpTIJSw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5513c73-6c5c-4cfb-c88b-08db82f35518 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:22.1497 (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: Chb1KhglIPAXG1jhgfNA2in9nigSATtRvU5a6IT+LFxgqRFWY6V1D9NIlQ2w9uGHmALWF/pbNZgVIzeVBhxh9lVSXwYPggu0Ed+Xb9U2B44= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR10MB6501 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-ORIG-GUID: 6L0w1yq9VGzhucFe-JrUS5ES5e2I9s5Q X-Proofpoint-GUID: 6L0w1yq9VGzhucFe-JrUS5ES5e2I9s5Q X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: INBOX X-GMAIL-THRID: 1771235938315063323 X-GMAIL-MSGID: 1771235938315063323 |
Series |
refactor Kconfig to consolidate KEXEC and CRASH options
|
|
Commit Message
Eric DeVolder
July 12, 2023, 4:15 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> Reviewed-by: Sourabh Jain <sourabhjain@linux.ibm.com> --- arch/powerpc/Kconfig | 55 ++++++++++++++------------------------------ 1 file changed, 17 insertions(+), 38 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 0b1172cbeccb..1695a71777f0 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -589,41 +589,21 @@ config PPC64_SUPPORTS_MEMORY_FAILURE default "y" if PPC_POWERNV select ARCH_SUPPORTS_MEMORY_FAILURE -config KEXEC - bool "kexec system call" - depends on PPC_BOOK3S || PPC_E500 || (44x && !SMP) - 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 KEXEC_FILE - bool "kexec file based system call" - select KEXEC_CORE - select HAVE_IMA_KEXEC if IMA - select KEXEC_ELF - depends on PPC64 - depends on CRYPTO=y - depends on CRYPTO_SHA256=y - help - This is a new version of the kexec system call. This call is - file based and takes in file descriptors as system call arguments - for kernel and initramfs as opposed to a list of segments as is the - case for the older kexec call. +config ARCH_SUPPORTS_KEXEC + def_bool PPC_BOOK3S || PPC_E500 || (44x && !SMP) + +config ARCH_SUPPORTS_KEXEC_FILE + def_bool PPC64 && CRYPTO=y && CRYPTO_SHA256=y config ARCH_HAS_KEXEC_PURGATORY def_bool KEXEC_FILE +config ARCH_SELECTS_KEXEC_FILE + def_bool y + depends on KEXEC_FILE + select KEXEC_ELF + select HAVE_IMA_KEXEC if IMA + config PPC64_BIG_ENDIAN_ELF_ABI_V2 # Option is available to BFD, but LLD does not support ELFv1 so this is # always true there. @@ -683,14 +663,13 @@ config RELOCATABLE_TEST loaded at, which tends to be non-zero and therefore test the relocation code. -config CRASH_DUMP - bool "Build a dump capture kernel" - depends on PPC64 || PPC_BOOK3S_32 || PPC_85xx || (44x && !SMP) +config ARCH_SUPPORTS_CRASH_DUMP + def_bool PPC64 || PPC_BOOK3S_32 || PPC_85xx || (44x && !SMP) + +config ARCH_SELECTS_CRASH_DUMP + def_bool y + depends on CRASH_DUMP select RELOCATABLE if PPC64 || 44x || PPC_85xx - help - Build a kernel suitable for use as a dump capture kernel. - The same kernel binary can be used as production kernel and dump - capture kernel. config FA_DUMP bool "Firmware-assisted dump"