From patchwork Tue Nov 7 21:56:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Arora X-Patchwork-Id: 13449372 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C849C4332F for ; Tue, 7 Nov 2023 21:59:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 435688D0062; Tue, 7 Nov 2023 16:58:49 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3C1C18D005E; Tue, 7 Nov 2023 16:58:49 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 100368D0063; Tue, 7 Nov 2023 16:58:48 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id CDB758D005E for ; Tue, 7 Nov 2023 16:58:48 -0500 (EST) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id A844CB5826 for ; Tue, 7 Nov 2023 21:58:48 +0000 (UTC) X-FDA: 81432523536.25.1D33BD5 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf30.hostedemail.com (Postfix) with ESMTP id 5A3E48000F for ; Tue, 7 Nov 2023 21:58:45 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=KUrP8Wwx; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=AdJADNUH; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=oracle.com; spf=pass (imf30.hostedemail.com: domain of ankur.a.arora@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=ankur.a.arora@oracle.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1699394325; a=rsa-sha256; cv=pass; b=ibSiAaOwoyjFL1OwseCnTCqkTfGX8xxGfwX4R66LhqaqVVOrKChqHLQUftIfFgcgn9t1j3 LXik3BjFXSriPTenfUSuMnmBTMEQwWNAXt46jugtxZnt7HXpHTiu7ON17jKqCYbu7wHINE l154v1oDb0GDqYVbVbEhDHL3siT6X/s= ARC-Authentication-Results: i=2; imf30.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=KUrP8Wwx; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=AdJADNUH; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=oracle.com; spf=pass (imf30.hostedemail.com: domain of ankur.a.arora@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=ankur.a.arora@oracle.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1699394325; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=f1SAlYhp0paKZ4VGIKby0nu/nWD1InjWF9RcOLJuOCQ=; b=nXi6aAPah33xykPpuieEb267+KOtg0hSwkYoz7vSU6EzjNhh3KZR/iBpNQY4ijO80HVX5A d7oe8StH7izNvBn0vNEDaSPAmC4B9pkxbB96z7yUgJpUUdIaFWEweaeYLOQvAS5LTLXZUR eR7MpaCZZN/6e9uQ4uZLLoPKY1zflu8= Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7LJe1j005455; Tue, 7 Nov 2023 21:58: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=f1SAlYhp0paKZ4VGIKby0nu/nWD1InjWF9RcOLJuOCQ=; b=KUrP8WwxWpNRmE9gQOvlToA2XwCAWL4Z+X1XPnb+jrF4v1PG8yFe0P4KroRLEww4uShr riY921aWRRNkTE7FFM/KzeZtFwCO8DoLqWXspQ8usJvj1/GNpKnFrDZmc5cAL0BYVwSD DIHNxByX8wdqhzRWRsqYOg11NeOUop+NlQsuYvDMOXgUEbZQhZLZzVmmQZE2rOSKbfNU SSqxqE9jASLvdeES4XH1dqPWC4Fhhi9s/Kl9fdq8xOA5zp5FCJd59NHl3E5iiWglf/nR FDRTRroLCLKu1vruIKRIRKK4OUMmiKmeN4DfOEUkKJbhzbUyxKz+jTtR86M7a6yIteb9 fQ== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3u7w23g2ac-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:58:21 +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 3A7LIrHe003903; Tue, 7 Nov 2023 21:58:20 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2100.outbound.protection.outlook.com [104.47.55.100]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3u7w1vshdn-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:58:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LA4Pp9Qnm/KpMw7Lcj++GdKvyu5aupfurAVhzNFrku67N0r+u+BdJFl7HwXFlN0RjH5WExWlzSVVOYgOnEBJIz3bf4eyL1v4KMhm8gYOhHUxkhy4QUYcEWlat7brxsICWnp/qF5VIwZ5KSHm8kdNtDZ/2NkplN3Y/KCbUfBrfgJzFH46Bi3ASmTRcVnYPvv97SiqVR8T1u8bDs76bHp4U3wv7z4wgX0lpgjp/Dv4okbsLn0huQdixSWbRHb+aqTKSOvzrbhhP8scbpkqjRXOYgITkl6P1Hh+cjPpG67jBQO9vGTjzwd/Wzo23m1+u6P3JBHm5tFHh4u3P0WiVha8Pw== 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=f1SAlYhp0paKZ4VGIKby0nu/nWD1InjWF9RcOLJuOCQ=; b=CbBU36ROAKr6cVbP1LcCf+sx7jhS4486XCPbrV2gacI5rDaq6LcaQyDejsoP+aggUVbYu6ts+nQYyOBHti4V2QuTOBsvImEiwxUcNYZZuk3W0d8uAQolO4ivu80rwyfFusKUqHTv7Pdlf7/WWz0WXNlDBCpxMRAEL+9yjtHG5dJbe47pmjFcNGhYqLdL4DoHz+vsMJZbSgD444mUKnLUIXoKyZ8k+9PfWnyuCNBwaSmg5Goe66xgmrCwcnZq1HKT3H1N2E5/LULSC5shz0gPeb+2voLDfUwGZBlSr7eaIzyKGHNoCBCZoB8qWViDzLZJA3PoptP38lZjm8/uTGvTKg== 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=f1SAlYhp0paKZ4VGIKby0nu/nWD1InjWF9RcOLJuOCQ=; b=AdJADNUHpg+r3u5nLipZ+Q12/tzGre+48qh2rFFXQchk1k51YzwExuC0CCShPCO9JYP3PdV2JrHMdWTm8FLYy00J6XbTYXD9mhSFgvdq+gierIMq4b+k8DbOfQnUG7IlDv9CV8+3HvAR35x4JA6FJK5N3/9wMobj2/lG5i/I+GA= Received: from CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) by CYYPR10MB7651.namprd10.prod.outlook.com (2603:10b6:930:bc::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.29; Tue, 7 Nov 2023 21:58:06 +0000 Received: from CO6PR10MB5409.namprd10.prod.outlook.com ([fe80::1ce3:4a8c:4c99:acea]) by CO6PR10MB5409.namprd10.prod.outlook.com ([fe80::1ce3:4a8c:4c99:acea%7]) with mapi id 15.20.6954.028; Tue, 7 Nov 2023 21:58:06 +0000 From: Ankur Arora To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, peterz@infradead.org, torvalds@linux-foundation.org, paulmck@kernel.org, linux-mm@kvack.org, x86@kernel.org, akpm@linux-foundation.org, luto@kernel.org, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, willy@infradead.org, mgorman@suse.de, jon.grimm@amd.com, bharata@amd.com, raghavendra.kt@amd.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, jgross@suse.com, andrew.cooper3@citrix.com, mingo@kernel.org, bristot@kernel.org, mathieu.desnoyers@efficios.com, geert@linux-m68k.org, glaubitz@physik.fu-berlin.de, anton.ivanov@cambridgegreys.com, mattst88@gmail.com, krypton@ulrich-teichert.org, rostedt@goodmis.org, David.Laight@ACULAB.COM, richard@nod.at, mjguzik@gmail.com, Ankur Arora Subject: [RFC PATCH 08/86] Revert "arm64: Support PREEMPT_DYNAMIC" Date: Tue, 7 Nov 2023 13:56:54 -0800 Message-Id: <20231107215742.363031-9-ankur.a.arora@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20231107215742.363031-1-ankur.a.arora@oracle.com> References: <20231107215742.363031-1-ankur.a.arora@oracle.com> X-ClientProxiedBy: MW4PR03CA0131.namprd03.prod.outlook.com (2603:10b6:303:8c::16) To CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO6PR10MB5409:EE_|CYYPR10MB7651:EE_ X-MS-Office365-Filtering-Correlation-Id: 8616256d-8b7a-494b-72b7-08dbdfdc9f71 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9xQr28nJWqMPiXOYXsv4xdi0FyHnh3yLlfSr1H1ByGFPcCzKSvIBYavKjs2Kb3XLVsFRqMtP1jLrUTqbSVURD8c4sN/9IkZ7Hl+iSIR+/NoEP7PwW/lCAACr7j3XOcZ9At/1oOPq3bcadMIjTs635FNcOS3VGGL2GNN09HENlaghtBr3sk4KG+6wV+YI96mTJxTED3I34D2Iza0ApJzWCaIgpBB4cQI3sCwT65uPZoYulrzMGDbR9HEyzVyYb5H/3MG4+1rNtc+2adh3XAqUPNeSzpkr5jN4rUV1K/G8T7h+g33blRE8VE3D7Nf4vd9BQF2SEJZD4tp7j63kJ5KTsN/ZG/Jtq0+3yp7K+u4o1hh3l01yxnewQZUqmWlIkW8rDHlU16F9wlS8Xgugf6cFtkd6BJFDjv9eG9M2CbmVlDYPCyURZ1uBQOsucTJTMxUTLJVZ6Qoy2iTFqKovZDG1XwyJe2+TTOJxzB+gxJ1FFRhRod3lVO9vGI0eFjZvJLvjjL4jC6gKf7/Nvsvcp0YVePMKWse9VntIqLHnxiBUsyG2OFKpbF28l/vf4E31Cejt X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO6PR10MB5409.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(376002)(366004)(39860400002)(136003)(396003)(230922051799003)(186009)(451199024)(1800799009)(64100799003)(6916009)(41300700001)(66556008)(66946007)(83380400001)(7406005)(7416002)(66476007)(316002)(478600001)(8676002)(6486002)(2906002)(6666004)(5660300002)(4326008)(8936002)(6506007)(6512007)(26005)(1076003)(38100700002)(2616005)(107886003)(86362001)(103116003)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AxKMmqd1Us5/3hk0JWx+JAHK1K75L71u+tIjikfBz4Tfide2IcN8/xAaAAjNfwWk1N3efwseXmZhxhExU8qd4QiMavS2bTyiHeaAXkJpJPb6yuCI6zYGZ/CHewwx9qvNAV997zAf8SY9R44pNURucr4c4UJrSiMMsF32Hf3lg2V40tEc5Cqt1MrSv4dvNKFVMCEu5i92R4hfuAqC1RE/SjFkQ9IvUvw2kL4//f52tRYaiZi4uzE1ayGKx8BL83/mUO1e4IaZcqdzrGLYhID9O2OIfKnvYm7IrOnDB2gbJPvH3bPb4opzA3o24ox4bh4nyqgNj8McWeBrjk324z/PXw2eEYGH7jacjDn0OxpW0X/HM74W9Yz5oY3nX8IjyRLcWug8Ti6k+fQTL29FqzU59EpOGbJLKeSLvLpMq4Ehvdc4EBbJ6DNCqzyVcQcDGxYp0oNF4C3YiVfd9Bmk5qMOEkrZPh7EuNJAvqXi7OWTA1thUQnZ2s3aY/GSwkF3PvhjBMjpY4X2cGotzJviF0XAkJ8pGmTI9JFdZQz+Ae+a9RVZe9A7xdLvMYuI0VcU6YwqdbdtpvKb00QOjk6wZY4JYH3vnB/w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gMA4H1oNa8z/ewYyX4z+Xd+CV4a0yqSEo/WrrDh1LwVFLQEeqQofXxGpC9zSOxbwsS7BhfAR4T5CGPOuT6ThZY+3JW1kJo/4TTxs/iP/cFO4ycrQcEew+A8WaLe5JqXuly7hEFUadGi4vst741Jd3viYKhRNkv3u5oSFJB4Ok3ZC/Qv4VALm6HUCMTV0+VEMBE617V6Oex1Ywx9TxcaF3S5wVXsSCuE+E9RFIO3OpHqHv3qqsc9sKRVR6gBmWYenn1PadYgebabegJA39WKR/Z7tZ5CU4Me8zAzI+leiWpPhD7jHXUQs4c0PvwMBbS6C9QYu3xOcgA/X5p0qfvZPshtBEUwRWVxNDzLNufOecIFa5RTZAICrquhF2M1G6WMCfjOwFLqZwnzx8+DoVfLMO7Ad9IK2vq5CHM1bMyhnrOeH4XLNiW59HuT+7wwTFwi+3VSvs1H3i5vnn8Qa78ydexRIBMx/tgEbk9uMcFP9GxsK0vTPirkSw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8616256d-8b7a-494b-72b7-08dbdfdc9f71 X-MS-Exchange-CrossTenant-AuthSource: CO6PR10MB5409.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2023 21:58:06.6650 (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: Wfnm/tw3JZpFQwfil+YMw2Ww8lTKbLdbgnzjVuqGe328pZdF9eQyHyfW1l4F+vX7d0XjFmuBtdw9z702GhbVuva0MozVppS8ORHwCGkbTfM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYYPR10MB7651 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-07_13,2023-11-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 phishscore=0 suspectscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311070182 X-Proofpoint-GUID: SrFnkSXOXV5UpO6UZimtmdt5rdMnnxQq X-Proofpoint-ORIG-GUID: SrFnkSXOXV5UpO6UZimtmdt5rdMnnxQq X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 5A3E48000F X-Stat-Signature: 1hryj1fna3gm8pgjwt11j35m9paap36u X-HE-Tag: 1699394325-282436 X-HE-Meta: U2FsdGVkX18CWzDdp9uGyg24HINH9lfapmFXB14eoxCLl/kZOEASVoFGo4/NQsow1RjFwsJUyPRwkMW/uQFyT5ESwyReP+rekyYLgkA7OVFgDs0FybOIQ4dEnMT71Afhi0SsiNq2WH89MWdOWdW/9g98fhyAnRJx9bhpAIo6zOhT92w8klwuyOHRW/DiTTwYGtw6csCYBn+d3uCygIhEUJtjnmM8axUaQHynN7/l54+IvLwCwyNySlUzlBGwM7DAqhNbxJoQkj7bb+IyEEbV2qePcP5nPN6CVPzv7YTNoZSoGONFuu7Eim8T1+ZxVs5IvV5ORAeehf1pXdLMbZjPHXWRuZReBOUAARDQDIZbTJZzL8B5mMoRlq8Lycyq/JK9DRnVOtZalsKVlkwhC+q1l6hUNw83Ghrpct808A0n7QRjkSuNY+I1Rg78qHOBmzyXhxbWxGj+SVNaCk+J4DLTp+VTXgWqAKXR/qvnnh+RAO5Nyb+wE2n2wUTwmYbmXJfEIdmuVNJA9cc/LuP0h2q+LUDZ89h394kSeHnhCwub7TlZ7PL6o8W4wsad6DEGhO2W+qUB8wT/fsSYWS/LkOneBX/T5nb6obJQbcamXa2k0InEzfJmBRpvhxqRV5eJlSEeQh2vbjyEhINynWCya7jc/CvtIr94SOhm4MkNO6xY0H7skIOlBien4GDCD99nCk5MG6PFUiTXgMwxJmAFazgzYolKGLnqgULAvHjT6ZXOFV+4gGzLQ0uI1NK2tp+BfKLOGOEcJUsEEJdA5FZUKqBlVQ+g8eB1cskJp0IX8U/9Qbxt9O4sMjw2f0E0P5DX+Yz75vz/5VZ31lVBrPCfVCxlafUPgUWuhKYyVQCltn0XMpIUQjenpRBSqFrwlmdm3ioImRqaNBKt9Pbq6a7hBEFgjIJrBLt591nzRiZQUAv3BFCePyuJVZ8FeBrFp9kBWg3yE8API+XKYWk4wCrB6GK CAq6cLnl OHmn8XA7JJpVfRtoJb3GNGE0GgEhQJ/rGUk+uwl/0pmkMgfzjNvFdSehJH08EAQvORz+OESLcwdxg6bMEmhN6jk+z79noA5p1ZrqoaHGBjJzJ+4iPoGW6ai36zCx+33hfL0fbcdmZWvbTOns1/BbJqpm0wWRnhg8lev2EOvSt9t0Y9fERE46RXJ6rVUuEt8sbGUGQ/x53gzqhf72vCveyTevpks7r7WZ7lwIEx7I3+P2Tb+WSq+2BnJcq0oZME1kNB7BLQrbK7QWmyLSr/zKYofzpASsAUTUOIFNERElgRMQMdeATMeRgUB/jpNAgLiE/dOgT5umI+GRVKDgIdY/FaglTZmk+YXuMYwyCMbcRRMHCnUqZFdAjrhDYSa9+mUhzMJ7Iy8jJPxLxhxSMLCBxoP8aTCvfU5Ys9jbsKMkBHRxIMX1QKui5+x2dZuMxjmHhT+PTe2VWCKpHNJDgoawS1k0eeg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: This reverts commit 1b2d3451ee50a0968cb9933f726e50b368ba5073. Signed-off-by: Ankur Arora --- arch/arm64/Kconfig | 1 - arch/arm64/include/asm/preempt.h | 19 ++----------------- arch/arm64/kernel/entry-common.c | 10 +--------- 3 files changed, 3 insertions(+), 27 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 78f20e632712..856d7be2ee45 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -221,7 +221,6 @@ config ARM64 select HAVE_PERF_EVENTS_NMI if ARM64_PSEUDO_NMI select HAVE_PERF_REGS select HAVE_PERF_USER_STACK_DUMP - select HAVE_PREEMPT_DYNAMIC_KEY select HAVE_REGS_AND_STACK_ACCESS_API select HAVE_POSIX_CPU_TIMERS_TASK_WORK select HAVE_FUNCTION_ARG_ACCESS_API diff --git a/arch/arm64/include/asm/preempt.h b/arch/arm64/include/asm/preempt.h index 0159b625cc7f..e83f0982b99c 100644 --- a/arch/arm64/include/asm/preempt.h +++ b/arch/arm64/include/asm/preempt.h @@ -2,7 +2,6 @@ #ifndef __ASM_PREEMPT_H #define __ASM_PREEMPT_H -#include #include #define PREEMPT_NEED_RESCHED BIT(32) @@ -81,24 +80,10 @@ static inline bool should_resched(int preempt_offset) } #ifdef CONFIG_PREEMPTION - void preempt_schedule(void); +#define __preempt_schedule() preempt_schedule() void preempt_schedule_notrace(void); - -#ifdef CONFIG_PREEMPT_DYNAMIC - -DECLARE_STATIC_KEY_TRUE(sk_dynamic_irqentry_exit_cond_resched); -void dynamic_preempt_schedule(void); -#define __preempt_schedule() dynamic_preempt_schedule() -void dynamic_preempt_schedule_notrace(void); -#define __preempt_schedule_notrace() dynamic_preempt_schedule_notrace() - -#else /* CONFIG_PREEMPT_DYNAMIC */ - -#define __preempt_schedule() preempt_schedule() -#define __preempt_schedule_notrace() preempt_schedule_notrace() - -#endif /* CONFIG_PREEMPT_DYNAMIC */ +#define __preempt_schedule_notrace() preempt_schedule_notrace() #endif /* CONFIG_PREEMPTION */ #endif /* __ASM_PREEMPT_H */ diff --git a/arch/arm64/kernel/entry-common.c b/arch/arm64/kernel/entry-common.c index 0fc94207e69a..5d9c9951562b 100644 --- a/arch/arm64/kernel/entry-common.c +++ b/arch/arm64/kernel/entry-common.c @@ -225,17 +225,9 @@ static void noinstr arm64_exit_el1_dbg(struct pt_regs *regs) lockdep_hardirqs_on(CALLER_ADDR0); } -#ifdef CONFIG_PREEMPT_DYNAMIC -DEFINE_STATIC_KEY_TRUE(sk_dynamic_irqentry_exit_cond_resched); -#define need_irq_preemption() \ - (static_branch_unlikely(&sk_dynamic_irqentry_exit_cond_resched)) -#else -#define need_irq_preemption() (IS_ENABLED(CONFIG_PREEMPTION)) -#endif - static void __sched arm64_preempt_schedule_irq(void) { - if (!need_irq_preemption()) + if (!IS_ENABLED(CONFIG_PREEMPTION)) return; /*