From patchwork Mon Jun 26 16:13:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric DeVolder X-Patchwork-Id: 13293155 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9796C00528 for ; Mon, 26 Jun 2023 16:15:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231841AbjFZQPj (ORCPT ); Mon, 26 Jun 2023 12:15:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231854AbjFZQPC (ORCPT ); Mon, 26 Jun 2023 12:15:02 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBA1010F5; Mon, 26 Jun 2023 09:14:36 -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 35QBO232012817; Mon, 26 Jun 2023 16:14:11 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=MPkfeFAKDwMPV4ZFrgKlXRutuX09usuRabIfA+n7RpM=; b=uR2YSjOqPqbJPKoZ+Rjg/QIa4DMcSmBImzdZD/GsvJ4MMhDyD93yAq282QWMTtq5nPCG qazY0yP6hMwIjsJI2nzOkkzsTFGgery10ofQ2K6IekbLll4xktDyVwmGxHLqMRnKqh34 XjiTvi6M7CC4d9SeVT8YYmw5pQQ3IFOizVwJsITUWjAKFo9ST2UN9nO4Ky8btZPsFW/S z7l8VjUizpDy9qULHNZA1Ing1nGo3iXrhYoKOAsApAL1Kvb0KncgFZ7jj50g3tFA0pKC cgsfn3HIT7wztH+sXakPxmGgsqLAgCHRr2MKJLOPTr47ieF9ouP3o4eCwzbEM6+0kQtK sg== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3rdpwdb2xc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Jun 2023 16:14:11 +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 35QFkohq018965; Mon, 26 Jun 2023 16:14:09 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2171.outbound.protection.outlook.com [104.47.55.171]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3rdpx3hqjg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Jun 2023 16:14:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RD0V2kl5u/kpdk6AQmxqxIvVKZ/YyaC2VRga8yNEm1QIy0FoTIBp73r5lIQgm1qbSWlD7mJYyJv0Sb3YgcyUOrKkakpYY18v2ZxgRtqFh0BPrKtxqq6De5T/XF+hVMkSW0OmpZXW2OuTtDrmR/S0xQSSkRqf6TtF3FVZutifXjUqbrDnZO/PdJU/xBwGPJd4Z2JD/hJvrADExNzEp4QzlFfr91K2aBnvmUwXWEIhuum1NAp2XWyZ7PMxYd4kBC0eyHhPG9j262OZWmKwu8JE/HSJUoWLZFwBw6vJwnAMEWFeNt0nFRMGkn7knSg0CHBODVcxSePBHH6tWe8kBWy9JQ== 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=MPkfeFAKDwMPV4ZFrgKlXRutuX09usuRabIfA+n7RpM=; b=RZwojk/WYvLabmR4LOiQfNR/KGK1XFP5d57qDtYn2+D11cdZSTQN8w6AYER8Ro/UU57O0aEiECYmPtGlXOnoL1sEdH0wS06SvHhdiFtRqh/edio610eCccAystRYZ7kREFEVuaErIuQjiHAaRL1x9rTbmVBZNth2/YdEZ9/tMVtT8zbScd6wnYl9/azv1p0Pgxy0sHYFbE8is5limTDU9VCV1LDLpIE9cV8e/WJIs1Hq86js7XIuxKDxYkUFg1vHOB/Z0KajCfPM5CPLF3Whk/CHm8ZBE1znqtCv7jXpMOywrEtEM5Gu456QJW9wlG8PfduBn6h6VnMh+7sJWDx0TA== 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=MPkfeFAKDwMPV4ZFrgKlXRutuX09usuRabIfA+n7RpM=; b=p6n9YqvZ2JSnGEW7KUVoiJ/KKWFyiLfZ4upIqm86thml/Hr3SN3h8QBcDirrOw7tbD+F6GVBm4ni9T6c+ghoUMiwTe+/CCdlbQ6AKYTuM4E70twDHD44My3rUs8Dv/FmUc9c2+ZubG75OUXfbxEFSt6RODa4ae9Z64iOQlRmnfA= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by CO6PR10MB5585.namprd10.prod.outlook.com (2603:10b6:303:144::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Mon, 26 Jun 2023 16:14:05 +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.6521.024; Mon, 26 Jun 2023 16:14:05 +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 v3 08/13] mips/kexec: refactor for kernel/Kconfig.kexec Date: Mon, 26 Jun 2023 12:13:27 -0400 Message-Id: <20230626161332.183214-9-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230626161332.183214-1-eric.devolder@oracle.com> References: <20230626161332.183214-1-eric.devolder@oracle.com> X-ClientProxiedBy: SA9PR13CA0070.namprd13.prod.outlook.com (2603:10b6:806:23::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_|CO6PR10MB5585:EE_ X-MS-Office365-Filtering-Correlation-Id: 6bae35c3-6878-47ec-ee4c-08db76605d13 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D6kxhUg6DIwQKu12X4Grh5rpFm5vp7zYZElA8E3i3vQ9Zm2TpC6eQB8Z4ukOA/v0xId0M4EwvPpZBOdYgQfKlieCVep0XhpY0kecxRn4SKVYuR9CyW557qUP7gy9QtYre3D5yEaMz7TTsFuGVoH6h3M5vux8BDmfrcZUfzeBr1HuAIHDa+cla2LFnSlrL+Bwv1No9ioP1mCUwzO63C//4npPqMZK9e3UMgfCtzuUvM7vXhbrKPDZsZ2KgqQlEalW4XfdyEWpAdPGE7DFV3h2p4kxCPR7nISBo+KZy6WiAc0O7sL1yY9/S0gCyPZtTQEBqUh1F2OycDZ8HffBzv6nAOwOhUjusMHT6Qnq1EgoAc205faLVQakTzWOGrM8ygHAdQgl+Y1WD2iJqQYFXbmq7KLwqY7AOoguS6Gy6bQAgvGcwyVlxv2bLw8Hun5fMU7wmG3zkn3qb2UTlhPpQljkTlSofWK1U0+2wzSqwKwDkpl4cuf30zi7w5AxXWDAYybcxq5+LsK7Ojchuo7XGEbL/w5nfLZcnq4ww0LMavMgFWtKTQmog2OQfNV26y4yfi10fqrswP+ta2BoNY/m3MOCCRkw0FPcCMtYRQUM0s5K+rk= 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)(376002)(346002)(136003)(396003)(39860400002)(451199021)(2906002)(6486002)(107886003)(38100700002)(6666004)(921005)(2616005)(83380400001)(6512007)(6506007)(1076003)(26005)(186003)(41300700001)(86362001)(478600001)(316002)(36756003)(66946007)(4326008)(66476007)(66556008)(7406005)(7366002)(7416002)(5660300002)(8676002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Av5gHOe1zbZLzv54kKgqybeuHxiY9UP/2F5cmHttswnpFDcAcaEtmhGVQfI1XSsRriI0DMJelfdZ1AINSJyuFWJAvoy/M8eBykSs3gmmUsz/GnMWG7UCRWpuNZ7VIKIv5sYVn0JycT2mam2TIXfcEaI3sDJ47vi1VjJOPFCfBJD6c7rq5DPPP3rM+30ppuY0dJp4MHRHSlmz7v2EnDBB8Hda0Qg7hl2SFj3+KmTuUu2jwpq++5LdBQ9yXSAxyivLeW7Hriz3nuCnqtVp8U8dY7w/+G+HhebwrK7fpfAGwcvQYj3IkQbofJYNUgnbUjwr2Q6b4AFEjSZWeejYksC/Uw8Xpq3pO4REGwawK9XCsS2/qcBz9qis2/cM8dO95aJm4W8F3H+Y3q2Rfl2YNUyUlVF3pS5cgjis32zpSbtv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nbx/cTpo3zvUKfaP4xSy9+TKz8hxEkHD+cJzH3L22anFHMsMTSMPEtHDVoU9O1EJb08H2nWz831nyxfGjEse/qGGbdhsXZxtjecIsU3+KVkqCTTdU0PsuxiN8YjhuzbejJ39Qjy30hKLiLEmaUSO6t4ZBLgUyRiSUz7Vxh2YtufvKODLH3UidTqplpEcblmaBfMhGwlEhlXFcXyPCW48fClSgW/tP99VMpEbbK9jM0rgem38HSj0jawHqAtrlrWZkRvG5qtuA6ZEdYpDEkKj9Vz4DdW9CTnUb7+p5ajgwW/fMM34tVRtjB5isbsiiHPNMXi2Cz+wUm6BfSnqqJUqubVIXjW2efieq9SgA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6bae35c3-6878-47ec-ee4c-08db76605d13 X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2023 16:14:05.5444 (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: QRtWjyadBGj+XyFWuK2Vj/Hp+zA55ZkW/u0oM4ok1OY6pucvMIcwe4JPOFXq0+fLXfzt3YcSRqtYsLvjsWFQz+PJSz7eGdLx+6+4PMTo4NI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR10MB5585 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-26_14,2023-06-26_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 mlxscore=0 phishscore=0 malwarescore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306260148 X-Proofpoint-GUID: l5H2bLmumQnqmTnsi46CkCzGQIODps-5 X-Proofpoint-ORIG-GUID: l5H2bLmumQnqmTnsi46CkCzGQIODps-5 Precedence: bulk List-ID: X-Mailing-List: linux-sh@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 Acked-by: Thomas Bogendoerfer --- arch/mips/Kconfig | 32 +++++--------------------------- 1 file changed, 5 insertions(+), 27 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 675a8660cb85..3d9960942cbd 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2873,33 +2873,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"