From patchwork Wed Jul 12 16:15:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric DeVolder X-Patchwork-Id: 13310646 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 903A4C04FE1 for ; Wed, 12 Jul 2023 16:17:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233704AbjGLQRK (ORCPT ); Wed, 12 Jul 2023 12:17:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232599AbjGLQQ5 (ORCPT ); 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 42E43199E; Wed, 12 Jul 2023 09:16:40 -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 36CEiE7w015836; Wed, 12 Jul 2023 16:16:21 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=JvhnF33rFZ8UFXuCLALFgYWqpduByCWDiU9z1oviN0sp8kzwvY56OXWPhQzCYhhs/2re CzmwAVtd6T6VdWF1TC11IDv1wj4V6M4q5m1X92mX3mDIKTcj2rKlJbb0iZvlThMDbvnA Lvr6osQZBgQ8KbV0PqPHrifGmi2ptuJGcHt5v5niqb+q4LbDHnTArOx9OeOdoYlrIx0J FfPWmeU3wSf03546a2vi30+zRyDAzocQZCGghh7Y9Sj/qt09mU9EtY3Wi1/vQUWtLhMR QgU/cWAt+CB0GQsWb6TfeVYpY6w7VEDbPbUHZF7gE8gbr866M5IdIr773i0DduqOep3q 8w== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3rpyud7sxc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 16:16:20 +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 36CF0hcF004209; Wed, 12 Jul 2023 16:16:20 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2171.outbound.protection.outlook.com [104.47.57.171]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3rpx8d4ks9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 16:16:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ciAMEpC3plp8P9Ts7Ym++sb4av1CgIvnjdXAgY7X8okHvidUIaYX87emLpfiheg/aOwaSR8uJWE0heOcq7gFG3d6HIzS4hWD4Y+WKYDH0XnUdwG9jBkGwhuY1UvNZCSuuhYzWgIqRDrnsnB6bIqoX8usoQ5kEM/yTQdN7SDYRUjcuaIv/u7g9wlaG1DDyfs10MecNhp06Qa4QwhNCUtiH96tLqCHt4ihEZPrL8uZZhjnSspYHc7BS93SyEOKMlBLFgdvtV3XJUhc03sEKsp2tBej4O0GtOe5dXM2wuX/LyZkv7RdvkfrU0gCey1/j74tT/W8Tie6d/1Q3glCZbMEtg== 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=kJ+u1oLiX7fWPmBZVPwLn80vx+io3FW7gLwhTDfEwUo5s0xVyzJaWzMN9j4EGoLaeEbA5ag7I6yvkku+viOPDQJ/JsukF7wgxboDGynyRdg6wehUiZVhnTHrSecmMtBGhSZTM0qte6zShry3QW6Iac/ns8scI9iZVNr0yUD1XqcXOrIV1bsDyYLBLr/gXlFdZZiLa/ED/yoDkGPNdvo5mnUnUksPNoGu7tRN1BGaAtlJ26ktyOpLvYUpqcCYP6OWup75ml8KxV+sR4094mSzxe6H2cH+K4E/cA8MOUJj2fcjuQrz64J64sy7nSChE5As4r6Y+PT+GCIOXkKUBwjuRA== 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=wMer49T9BBbyXsboV3EVLks0w5jv6M26A9rHoZnqn7+KsVpXUnECjXTbSyte8E8qJvon/mUjrLQXP8aae+cD8k/pi7FzLQngViZ/zSInJeXlyPyrIYiWHjSTMcyiWBzHji9qXP4hw3z1yXOT+kwwPzY3fhCJlRENYN/Dm3soxI4= 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:16 +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:16 +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 v6 08/14] mips/kexec: refactor for kernel/Kconfig.kexec Date: Wed, 12 Jul 2023 12:15:39 -0400 Message-Id: <20230712161545.87870-9-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> X-ClientProxiedBy: DM6PR11CA0010.namprd11.prod.outlook.com (2603:10b6:5:190::23) 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: 39a1082e-78fc-4537-574c-08db82f351b0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ieKnYATvrUvzBDoijVQKot67k+2kn7NTG4djkTVB7FOxGRYIPoVm7Y0ta0vhGljfJkV3IPMxj4yMc7HKjSv1sf+hU0kL8dzTlVjGUmsJpGWgI6fkZleyfTYlc5u+thC8qSIUo/brNYCwQ3cPL2X9O42IWXVDFLHXMjc63vJbmhbjFEpJir35+gbNSVvqAzFJUCLGToS9VhkzKFMo+RrKItw5iCzljOh+OnbZVtco41xILUPLOJCiYDoAHloIuGzQebt4BILB5ihn3bLNwI2Th1T+OR7MJFjDbp+JtnXf07eRXTuuwoHnli3fChkEDpIepZvOq8GBWUun6/1n8y27Gc1+GvKOuchvfCW/lPgKjFeaeEyqHjeQ/a4zPnRo18b5pc2jEP449He7P+YiCII7OZpennkueJBw9aU5+YVQSjVMtIodlM4/njnp6lBZz4Z6OCxWviYGuXGpg+YrR0RxQO/ntrxRXcOwqD+6S0pvqQF04iDEEZ39c4HQpmZXaj4K4I0SuzITxdFnyZDnpoM9VhguDtJIj9lB/hf690Xfl2p0Cs1t2S8Ko3ZQv+CCsubZaAyi2A2Uceqb6bmAGU/8AUdE4zBTixp+My8G1sYVkPg= 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: WzuzCBrwb0MSYg3f/KqhNobpCYM1Sg2U9NQv1u+NZ5IsJ/RGCE/uBGc/fMWQVMCIu1Q7ISzI4CmIY6guWnrM7BTVd60WNqvNeeq3UFnlPk57eiwDHS5VOEloYXjCBMF+apDcsqUEs2gXk6zm12/gE5eKWtGzPekmlzfVy+TJFdq3Sgw4/epWvbhGeTn2wEHW76pMH9X4FRnES2WN97hS5+wdJgNq61KEokSN45/YwFr1m68whBwM3n8G57U4ZCsUhwVYQb1wZMwwVnQaeGuCZReyZNjZv47YhgXtM0Xm9WBTpIazuGP/8pA2ZuZYuMAmMlVJeJ0+JDczNndX2EKtZ3pjU/EW8FZKmEmNzda3BopNAqBPnzLxm3TQRddD64g3yKBsO9Z6u1MilNGyPOoIhk0pOGb2Cg2aF9pw046IwQbC2fW3iZubHvYp8H6idGDjNVLx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u1rLsgT9gQwXb7Ir9VXi8KKFvq8pdI6KG/Etailx+4M74JF4i4ArVgjFVYOFdrSjOd19NavYjuySQXnGprJ+hDwiihoYnCiGOm/Va9sFudqo1GLfCM2idQ1Y0z7fuBEUGHpiQumBEBk/mXg9nVHWAm37sAjIlHrghHGDMtaKKhHm9jqJtg+rHwISRxAAy+CbA9Yj1oTGTfJL3bZVJn1pV4RzhDmKm4cgX3VennpErG1ucTbyBCKkh8mTSymxdfm7/CtBPXJSnMNy9DN1QiAMMEowrlw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39a1082e-78fc-4537-574c-08db82f351b0 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:16.3607 (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: biJjN63r6Wonthvq+3LGkqw9uUuH9EskbJ+2b7yPLIU4L07xWJZM2M943ID3EtO67+mfYS23aSk4K41IZ7VzjDGLYfmOSAs3MNfwx1taBdQ= 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: shrOTRg6UmS0M4cE_P-QynmxnbYu5zel X-Proofpoint-GUID: shrOTRg6UmS0M4cE_P-QynmxnbYu5zel Precedence: bulk List-ID: X-Mailing-List: linux-mips@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 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"