Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29223593rwd; Wed, 5 Jul 2023 08:50:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlG+oREr8lFw605z/91XRT3O+iYO+kEcSGIFIlyOSLqJAmfHmnOoVYAms5UMMdZ89gY/UbIM X-Received: by 2002:a17:90b:14d:b0:263:3386:9da3 with SMTP id em13-20020a17090b014d00b0026333869da3mr3726443pjb.17.1688572233917; Wed, 05 Jul 2023 08:50:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1688572233; cv=pass; d=google.com; s=arc-20160816; b=TVfjAZO0JxW8Sf/mGshy2YrfJyZ7cySFSNNhbMIMjEw8yS67eBj7+XaEgQteueCPo1 9DfnUQo7VVPGmAeQbV3INYIfVg1K/7wyBXLwNg+593cWcf2hMJH3kA6O7E8kc+gUrUhy X6v5IbIILXc89ns7hOjiRPUMsvf0pnP/zQAed41d5WYwNfjF3OD4fwwrDxpAZBX0qcre 7LXSZsWwol5rfJQwqtOxtiH5sRKqi6BwfHAKgYL7XpavwXJRU6ZBVvATG7iyBXMu9Hsw hN8AMgz3g7q9D+Gj9HYxkfwemJUEh5W83NekG2FkvVvXXEd8vn9YRX7lsjpYPl3FK/Av +OPg== 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 :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature:dkim-signature; bh=eyv04uG0Blvyh5hGuldNpjUzq//g2ZMtMqW35IYXSSw=; fh=H4VKFnuMth5DbXdmcXnj9IzjZRjoAnS7GUQPkSFEig4=; b=Q5YLNa5ss3caS9At4rKyz6IasERrvP7uKdZ5Q7geePvxx3cNzUEQEBQPA5wAvPSmyp nuIAcOSG7geUxNunHSANRGTUdj5OV+gn/hSv/e3pc9hHKzZocX7wv7IOFYst0kE0xIA9 AbT6cixU0UdnTMkSxFmW/45rIKQjslvXPaqSpUYpR3giI/9F14HkKNkbdlUEC3mYx0oW 6EH0Hl2TXeKqO2R6Djb0VedUK/CUcu3dJeqdSZqfp3LDt478zo/N4mnDi6EVHP2aa4tJ 5uqZJyyo3nnfNLzx2FoixoRGFOU0w9KWiRcSsFzG10aN4fXyvvsmrqwvFlMqmkmEd7wl F8gA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=WV9iIM8W; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=KqXklMmo; 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 r20-20020a6560d4000000b00545072f800fsi13428646pgv.320.2023.07.05.08.50.11; Wed, 05 Jul 2023 08:50:33 -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=WV9iIM8W; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=KqXklMmo; 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 S232823AbjGEPXx (ORCPT + 99 others); Wed, 5 Jul 2023 11:23:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232731AbjGEPXv (ORCPT ); Wed, 5 Jul 2023 11:23:51 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D15FF7; Wed, 5 Jul 2023 08:23:50 -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 365Etjng010092; Wed, 5 Jul 2023 15:23:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=eyv04uG0Blvyh5hGuldNpjUzq//g2ZMtMqW35IYXSSw=; b=WV9iIM8WY7VLKtQtq0/Jrd69WKskTlXeiM1+6ga1LY8MsVF3yogcw9UtCppEBxruc6xt PErjL6myld2zienFnU1zNUR7kcPdcmTHi0BbxfV4jQ3aDK1hmmb6+Z6z3VWWS0sIbUXH awMd19ksLgQsEhJBCLdioTKLZ7yX9knKrGNFFHRtoJxJWUkT7epzs787njIa/fHRrXP1 vED1F/v3Q2pSGHDgh7etkmP13ZKFzHkm/67CIPx7HIV2ZTjLr3TcBTPSoGW54XVFSr6I 2bNoDaGjkVF687cMnoz87hHwES8vsZ+nt/qmlgCPg8eGiwltYNtEL0Hav0JBihiJc9UN Xg== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3rn9ybr6m0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Jul 2023 15:23:23 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 365F5IE0010152; Wed, 5 Jul 2023 15:23:22 GMT Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2103.outbound.protection.outlook.com [104.47.70.103]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3rjak5r6wb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Jul 2023 15:23:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZF9yos0d9eIfKa8xciB4NeEXTORp+r/l9SUcMrqaqo9or1ssqE3itj4TtCGJCGN9uj2qdgTlZba9hAIMfA0/i3WhzKXnM1dkEFzy9SaZ7bpJo1T/J2rHH+jkcMh+8mosf6Kix8uvYRa96VwFuO7BEq+XkNKBolFf+HjX/+KvbU0Vv0qWdGF3m+EH3mvvxQJcB6c8wQjrzVm2IcxNZefnKYly31qAaCD8uSTB/nQh0sg641cNrzdaULdKBmmXQXa4DDpym0XnDkdxjmnVNHZ1S7qaA7YvH124cyjW6OOvzngs3C4XKm1066eRw4r+/qccPRQrhAUgTc3IPiim9Jr43g== 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=eyv04uG0Blvyh5hGuldNpjUzq//g2ZMtMqW35IYXSSw=; b=SFYEtAchwAVu1k4uklPT9TWh6Xl4+kolPhkS6pH3G4XBAkMixdIOGvOoNsKwu/rIfreGp0dl8POT0Zil4Mq37xrLZuuy6y9TYqWpNOTvYtP8z+iQRRmEeVvzOpwZkKccvSCtsMKsCPcxhdPxfMMAD3epdJi+cBL27QOypnq5yF471PF7ZjK1YWQsIGfNiPh/SR2ksjQ3bpAKv7O2evbEQeE8TMmCGS3OxzS66uSpzoUgicMzMeLnKRMDfwKaxjSM4ORFURlPeTQlLQzuQNFcsiGU9k+mwwTaa277dtbk7TaA15wBqQiyYZVEyvGdKTcU5eb3rgOHbrDFxD4P8umKBg== 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=eyv04uG0Blvyh5hGuldNpjUzq//g2ZMtMqW35IYXSSw=; b=KqXklMmoRNYAgFGkmfRcS9KnWbfIVWcYj1PyORBqkf+wnYXAHLVKOtVMM0STxu7VqtP1LrColYDZGrIKGT32L3OAiII84Z+EWahUHKjElQxuu/OQooo+rJiPQNWScj+9NHhVv2/vpOM1FfSUBFR7hle4f0KGPRnXc/6/KCidP/w= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by SJ0PR10MB4543.namprd10.prod.outlook.com (2603:10b6:a03:2d9::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.24; Wed, 5 Jul 2023 15:23:15 +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.016; Wed, 5 Jul 2023 15:23:15 +0000 Message-ID: <6ac04399-9c17-b036-5b14-92eadb65522b@oracle.com> Date: Wed, 5 Jul 2023 10:22:52 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v4 03/13] arm/kexec: refactor for kernel/Kconfig.kexec Content-Language: en-US To: Arnd Bergmann , Russell King , Catalin Marinas , Will Deacon , Huacai Chen , Geert Uytterhoeven , Thomas Bogendoerfer , "James E . J . Bottomley" , Helge Deller , Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , 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: WANG Xuerui , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , gor@linux.ibm.com, Alexander Gordeev , borntraeger@linux.ibm.com, Sven Schnelle , "H. Peter Anvin" , Kees Cook , "Paul E. McKenney" , Peter Zijlstra , Frederic Weisbecker , Andrew Morton , Ard Biesheuvel , Sami Tolvanen , Juerg Haefliger , Russell King , Linus Walleij , Sebastian Reichel , Mike Rapoport , "Kirill A. Shutemov" , Anshuman Khandual , Zi Yan , Masahiro Yamada , Nick Desaulniers , Masami Hiramatsu , Miguel Ojeda , Zhen Lei , Xin Li , Tejun Heo , Greg Kroah-Hartman , tsi@tuyoix.net, Baoquan He , hbathini@linux.ibm.com, sourabhjain@linux.ibm.com, Boris Ostrovsky , Konrad Rzeszutek Wilk References: <20230705142004.3605799-1-eric.devolder@oracle.com> <20230705142004.3605799-4-eric.devolder@oracle.com> <09f70de6-9409-4fa4-b9ea-831078d914e7@app.fastmail.com> From: Eric DeVolder In-Reply-To: <09f70de6-9409-4fa4-b9ea-831078d914e7@app.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0325.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18c::6) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|SJ0PR10MB4543:EE_ X-MS-Office365-Filtering-Correlation-Id: 34216371-cbe4-46ac-62f8-08db7d6bc07b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pR0vymp7wbySYYYlTHiBt7QOFpqHXAi7/MdNQaLfno9TxZUfA/pPUws6V/m1nsmL7pLI9Vx+9713PPSe8JHBNzBTYZ4muZhpd+YvjnnhQ4+htF85xh3ilbWc1YdNmiLIUc/OEiWyxzDxk6NPx4XrM1BkfUvvI0lMd5I9qpUyCv/xRHfuymxt1oL3rWC1g6Xm96pkZPSO0crgtF0NB5EWH1WVrk2gNZB2qjc2rQRiW+u7vh0nawWI4grlHCebUDW3gmnAB0Zc4T0BHLobHrbWZ7ckbXEHhIH/keUEZ4E+tA7nfv/nWdb1RRzP2ivjc4tpX55rqf2NSxdkPuSSBeuBgXSlNbOleoEkGWsgpy5iPWdV0eOCubvGgrjaLLQE9aOcjq5sG3Y8gccyiUfppWdtA2jBkgpf31uKJJPz2MsJeShoYdyIgGsaS3np51ba7bj827yVSLEYisHlBHds47i/89sNHjZJsAAgNKhLOcatj9A63v/93J3aXe8K+Fps5xmhpSrH2OjSVQTEXrX14pgCbzTHYnnGz5ClP+EocxrryVBDuX/1AKmDM3f9uKYbc6YNUeI1FQ1Pfj/olAa0KosHNh1So0gvDLBIT914PUBaR800IlegzWxlXa5BoL4nDFE7yebpoLX10+CN0kuZGlXp5n9RTvEP3jUuPhFHm/og5/Y= 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)(136003)(376002)(366004)(346002)(39860400002)(396003)(451199021)(66476007)(54906003)(110136005)(316002)(66556008)(8676002)(41300700001)(4326008)(8936002)(66946007)(921005)(38100700002)(53546011)(6506007)(31686004)(7366002)(6512007)(107886003)(478600001)(7406005)(5660300002)(7416002)(26005)(186003)(6486002)(6666004)(31696002)(86362001)(83380400001)(36756003)(2906002)(2616005)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OUQvanY4djRyOFdHcWRFQlYzVjZmcGJheUpsRkRIMFFFQTFSUFVSaCtKZ2NZ?= =?utf-8?B?OUtkTzBqR0VoWk90aXh5MUs0cTZ1NFlNS0daeGthQVRFUmJtSER5WTlHMkx3?= =?utf-8?B?S2NJOWlZZXBxVEJOc2MvNWFMQ095THY4TW5EZGlvcGxUeG9GZHM2aWpXdHl1?= =?utf-8?B?ZERMUmdXY2ZwTUgwbUpzanBhWFZLMDZVUVdBQzIxbVdKZ3RvVnExQUIrQ3pD?= =?utf-8?B?eWZLYUMzUG54ZlI1YTErNWtFOVFLdXdUaUU0R2RTQmJrMjFoMTQwRnFxSk9x?= =?utf-8?B?U3lCLytpRVBWYWYrcHlGNzhHVDNHWG55dTJSZFpnRC9DajhRYlN1d1p4SUpp?= =?utf-8?B?c2t6dlprNTlSY0lhYnV5dlhkKzVrd0hnQWtnSDVqZjBPdk42YVlWMVI3WjEz?= =?utf-8?B?UXVJckVxeEJVdzFINmJHZk9wd3FuclJuaVlUZWRLRU1yRHAxWUppazZwODRy?= =?utf-8?B?Q0ZCa1JTYzZtSTV6YjJvYU9pMytDSW9McHRIY1pKalozSkdhb3EzUDh3dW8v?= =?utf-8?B?NThNb0J0cXhhK3RyOWFFS1VyWXB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gE1TGav1Nbibwx8Vwo1p9cqgpWfiFyvWxjZg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34216371-cbe4-46ac-62f8-08db7d6bc07b X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2023 15:23:15.0715 (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: DSVzQaINmzjvV9s4XlpR+G238SHDHWzhrdIPalUhmIrdtYih1Ecg+MYDABMShE9i4qFxsWEZaOhmlx822pqiL5dsaYgA8t+QxYk746YHIr8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB4543 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-05_07,2023-07-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=749 suspectscore=0 spamscore=0 mlxscore=0 adultscore=0 phishscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307050139 X-Proofpoint-GUID: sqfXT74lvJ9i0IYdyL5aPqqpyPs4B9i8 X-Proofpoint-ORIG-GUID: sqfXT74lvJ9i0IYdyL5aPqqpyPs4B9i8 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 7/5/23 10:05, Arnd Bergmann wrote: > On Wed, Jul 5, 2023, at 16:19, Eric DeVolder wrote: >> 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 > >> +config ARCH_SUPPORTS_KEXEC >> + def_bool (!SMP || PM_SLEEP_SMP) && MMU >> >> config ATAGS_PROC >> bool "Export atags in procfs" >> @@ -1668,17 +1656,8 @@ config ATAGS_PROC >> Should the atags used to boot the kernel be exported in an "atags" >> file in procfs. Useful with kexec. >> >> -config CRASH_DUMP >> - bool "Build kdump crash kernel (EXPERIMENTAL)" >> - 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 >> - >> - For more details see Documentation/admin-guide/kdump/kdump.rst >> +config ARCH_SUPPORTS_CRASH_DUMP >> + def_bool y >> > > I see this is now in linux-next, and it caused a few randconfig > build issues, these never happened in the past: Arnd, Thanks for looking at this! I received randconfig errors from Andrew Morton's machinery. When investigating I found that randconfig was able to specify CRASH_DUMP without KEXEC, and that lead to problems. I believe this situation existed prior to this series as well. Specifically CRASH_DUMP does not have a dependency on KEXEC, or select (only s390 has this hole closed). For CRASH_DUMP, this series now selects KEXEC to close this gap, which is what a sane config would have (ie both CRASH_DUMP and KEXEC). Do you think the changes outlined below are still needed? eric > > * The #ifdef CONFIG_KEXEC check in arch/arm/include/asm/kexec.h > needs to be changed to CONFIG_KEXEC_CORE: > > include/linux/kexec.h:41:2: error: #error KEXEC_SOURCE_MEMORY_LIMIT not defined > > same thing on m68k > > * ARCH_SUPPORTS_CRASH_DUMP needs the same dependency as ARCH_SUPPORTS_KEXEC, > otherwise we seem to run into an obscure assembler error building the kdump > core on architectures that do not support kdump: > > /tmp/ccpYl6w9.s:1546: Error: selected processor does not support requested special purpose register -- `mrs r2,cpsr' > > * Most architectures build machine_kexec.o only when KEXEC is enabled, > this also needs to be changed to KEXEC_CORE: > > --- a/arch/arm/kernel/Makefile > +++ b/arch/arm/kernel/Makefile > @@ -59,7 +59,7 @@ obj-$(CONFIG_FUNCTION_TRACER) += entry-ftrace.o > obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o insn.o patch.o > obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o insn.o patch.o > obj-$(CONFIG_JUMP_LABEL) += jump_label.o insn.o patch.o > -obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o > +obj-$(CONFIG_KEXEC_CORE) += machine_kexec.o relocate_kernel.o > # Main staffs in KPROBES are in arch/arm/probes/ . > obj-$(CONFIG_KPROBES) += patch.o insn.o > obj-$(CONFIG_OABI_COMPAT) += sys_oabi-compat.o > > > Arnd