From patchwork Wed Sep 25 23:24:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Arora X-Patchwork-Id: 13812552 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CD920CCFA06 for ; Wed, 25 Sep 2024 23:34:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=f0X4wMl3YPhGfRvYRntnxnU7wDqzq2ggNFPG5RkSv6E=; b=Tqjrt6X7fpeT+PD8Ko7uAbh8Hk I5Q73tq86j9b7+/6030QwiGyjSCMwlD/Loc4D843LGtq8sFU53H/npf3DhDueNJoYnFm/+H+4Ajm1 GoGPWV0zcpGWy52ZqtizRTMcOh0tT5N7GT3M3E9KLesTkWC7elJZcmX50PI9F52bNhRJtck0yu5yl pxWONDuFioFnlNkUu5NoHkD/bBClbvzwsRBZJmU3ZfETQA58D8SI1z/nvDBLjar6leIuZxc6WQMHr t7AZUvc7sJxg5PjK8uudif9qATbrG9mGXEJ3y4V1ZIpCDCZ9b4onwJH0JgY0w+VJKT7w6HaJhwFVM JnQ5Eq2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stbW5-00000006ln2-1Yi0; Wed, 25 Sep 2024 23:33:53 +0000 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stbNk-00000006kJF-0CP6 for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 23:25:18 +0000 Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48PLnNPW028932; Wed, 25 Sep 2024 23:24:40 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-11-20; bh=f0X4wMl3YPhGfRvYRntnxnU7wDqzq2ggNFPG5RkSv6E=; b= fLTaC9F+8D21GMI7aIxa4sMTOtWya8W1zFsiz6HryB/tH1X1v5zX3vbxxms9f1Ph d5GlBP7eYLvn+5MatFT7BgDn7Onkafw+bhhRFbCSuJVUtIsL7fdPyL9iX/aIYVFf AaUBn7TYVSAtDsSoKEDApUxUArOTcFb7vKCVF8BBTEruURVDvqDnbklFdGIFakCI KUhOd9hYevidoGghIEd4xtt/0SgX0GGn5S5Evm7/tm1ayQ/5U0Lsk9fJ7G6E/vQD 905v91obLAc5/ZobGaFspXEz2mgXFDa8ERx1kQ1a5XH+RL9drxsyBf7g2dPN44N+ 60Jy/38QWSA61QA8+Mg6nA== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 41sp1akkun-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 25 Sep 2024 23:24:39 +0000 (GMT) Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 48PM9nVH031194; Wed, 25 Sep 2024 23:24:38 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2045.outbound.protection.outlook.com [104.47.56.45]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 41tkc7x25k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 25 Sep 2024 23:24:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=l3Yn47E63sKZ45PZhYQWqJa7Sf6OpWwTG6R3JUayNPa1DlRBRLOh0Klyde1t3M5WEbsC73nDT/rx3nbme4E8+nOidy9C2sRnuk5/NZcyNo5O0Vv7TfeWsIjfMxIALeKrjxc04ZF5NtSEIpWIocZa51czBlvrkf0hs6b/9THi7q9iWT5EF7c0gnPhF8DQVXJFOIXjgYFy8Tqr8nIOE9C0G4dA6+jXI4xTB3ZokCOoz5IwOhpcxJUOcDmIPTT+d0zDNByTGpMJ+xRx7O41MD2D1hB/C/eeSw9BOG+ngpAyK6zVks3sQ3rToUfP8UrgA57UyOx/vywX1Ch2t2xAuoM5Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=f0X4wMl3YPhGfRvYRntnxnU7wDqzq2ggNFPG5RkSv6E=; b=DNoURymr6rg2oCQ+PgduGR8KpjtA+petRAF1IQ+KDSyvJSXr9Hxb6ma70uAWHJUluJuLdQYGYQKJUJuF6id8fOkYUeqX1HzvY/moOoxZOvyMUqY+ly9fgCSIlzTDE2Dabrn4V4VQzC1qUkL+HU8gpq523HpDN2UFgw9KfNMRxcgnW5DwnOscPIcZbpJvFVaJ7+n4wL5u7MaMpXpWjFF06UAujAWKvHWbQ8B+16uaG4Za0GddQai42G19hZm0R2ZHo32MdRHjx3k0kxRPmrpeY7I/5MPrDtG2syQzFms809PWklGQCWt63Q4y22slNeHaODnwfjTe2mAS2OPo05HqFA== 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=f0X4wMl3YPhGfRvYRntnxnU7wDqzq2ggNFPG5RkSv6E=; b=fZMWTfbIrmQit2DBJKErn/B+hlnMD33UfcaPk9vzlcAt5S1qWZBN4pLrI7rrq6Pulg1SJNodcncHnoBGBLZp6s2+NWHhLFbMQ1kb2bHFL0sdPLO/1MYQ9M8SWKc5SsehnilYpOVopiDhdoU5L1XTeL7sJGBLxGENR+hQkkLcHAo= Received: from DM8PR10MB5416.namprd10.prod.outlook.com (2603:10b6:8:3f::19) by PH0PR10MB7008.namprd10.prod.outlook.com (2603:10b6:510:287::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.13; Wed, 25 Sep 2024 23:24:35 +0000 Received: from DM8PR10MB5416.namprd10.prod.outlook.com ([fe80::e085:31f:84d1:e51a]) by DM8PR10MB5416.namprd10.prod.outlook.com ([fe80::e085:31f:84d1:e51a%5]) with mapi id 15.20.8005.010; Wed, 25 Sep 2024 23:24:35 +0000 From: Ankur Arora To: linux-pm@vger.kernel.org, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: catalin.marinas@arm.com, will@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, pbonzini@redhat.com, wanpengli@tencent.com, vkuznets@redhat.com, rafael@kernel.org, daniel.lezcano@linaro.org, peterz@infradead.org, arnd@arndb.de, lenb@kernel.org, mark.rutland@arm.com, harisokn@amazon.com, mtosatti@redhat.com, sudeep.holla@arm.com, cl@gentwo.org, misono.tomohiro@fujitsu.com, maobibo@loongson.cn, joao.m.martins@oracle.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com Subject: [PATCH v8 03/11] Kconfig: move ARCH_HAS_OPTIMIZED_POLL to arch/Kconfig Date: Wed, 25 Sep 2024 16:24:17 -0700 Message-Id: <20240925232425.2763385-4-ankur.a.arora@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20240925232425.2763385-1-ankur.a.arora@oracle.com> References: <20240925232425.2763385-1-ankur.a.arora@oracle.com> X-ClientProxiedBy: MW4PR04CA0141.namprd04.prod.outlook.com (2603:10b6:303:84::26) To DM8PR10MB5416.namprd10.prod.outlook.com (2603:10b6:8:3f::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM8PR10MB5416:EE_|PH0PR10MB7008:EE_ X-MS-Office365-Filtering-Correlation-Id: 1d62273d-5421-43b9-8dd6-08dcddb937de X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: 58Hkb5Z3S1snFzk3D/AhZV5aQZVsyg3irPJm4V9n64eFtd8OqB4Lt9T89GivSS+7tOuerev+HFMY3qxGSpTwXt1Vtmie8bow+MqQaro2lxyxVq/YFJT9vMQlDAu97H2f/bMaca1Lcp2prj153ewqw93OmYZ2kIkf4qCT+KjgRcSGq6Ypd7q3JVRe6FZ9QX2vd4sdE12rl89LOCXJhTp9Ugn5rqCMuRxTadVVJZHtYcikuSz/LhGiH16Gd1r+y2Hw8ihh7mMqGgLX0K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Y:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM8PR10MB5416.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(376014)(366016)(1800799024);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: t9n/cerADIsZF95NtO7ArRZfCXA8Bf+L+9hjxc/ZHl2qIWTYCcSg2zLTcLxY2eh7ccJ4B8ZEa+uWkHISK9XJt4rgoY+cyYEVIK9nya/8JZOrZofsjoAQYNkfIVqk+vFWuwtESAqs4JylacZ1UqQLLrrI2IjUm6NljDIzQzw2wB4jqnijKbOmHu6JGlDsTerbYjKCI1/jEU5yCERJtw5EoWRt8AyqUwJeQ4/j79U/GrcC4sija+MwHkSxbg2saWSpwVHj2Ya7JTFV12nJ9TUBziDdyjQWUvh0LH7YxzASmMRI4NIF2NzyV0YdvvMqzkP/NtgnRM+GS1M7Oy3IfkUvY5TDXposjpDk+mUwFMvdaLcIklxOnZxv9MPecf342bI+ZuK9vmAe9FrwsGoKzvVL3rwlGRjL4fGR5iLQRTNrKpIbh3pVeI80wH/ZFtMpN8urVWhxr1PVwK3GW9LiYxfLVDYatfZuJPpqQ+FQmk52bNz4TkjP7tQcApuVqBJ90vCSVK5otD3xWX/7zdhZVsOblyzSErBJP3Wq3yTNLCVbB3UHgQ3IKp7AR91deTsUeKXdqh8apYDKzlaPVCRX1y62BcyGKUZaQJXfUIbysQ4hCUbNToBRZ6w57LEvz34ekhs0kRHZFAOVk8jy0JLgXNgTmDbMtrlEP7enDkf/FePsEA0JBaBilVeNsXMfpWOasaRQkPYdHPVnYsF/y95EKRVJQ9krhG1BAMBDMcEgoEpQ9OgzRq2QD1zK45jbiJiSr5jqyGVVWbfOLwNBMDUUyteYkdeI7eHbN5QWXbJUjQv2pEKwfIPGcs0mj/wIyBeN48WtVbyntQDUefugaKwawuilIZ/Dp/2i7pyrcXb7LPd+V5ZDPN8Cc+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HK0IF10g7+Yp3deZoL/32t/WfKLLv2NI4hQTWvDc8SmZGabyQp+1Xc9YpK3fSnkNJ4bVHjCi4dEm0XzPq1dfjW5tjGOitBcEtrGTiIxSyku/L1QuYySR5KHtZ89ZZQDixXczXCNvt4hJPO2VqwWLvoLwNtQbQ4rZ07tYwmWpJBMeeTsmm2udtndhbvDVRkCskjhO2KB+/NtDeNvuaYd3YrbmTnMSX0GoBOp6yegxGCBUUxIb+hPvRYEBdgPAGf/oLG4WqyU7xQb3BhzYz/ISbN+56WBYqmF/bUMlJTqTHLteDg6EzdGn3writ96FYqpQ7Xli+P7lq4e5H7UxF0of847+gDGClGpitC89Kfjla3r+0= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d62273d-5421-43b9-8dd6-08dcddb937de X-MS-Exchange-CrossTenant-AuthSource: DM8PR10MB5416.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2024 23:24:35.6990 (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: DfNQy+wlH7M+ipXyGOxnR65grwzJUImPh1CY+DLg7us84Q54adeckL8oF6VoJGlX1FR2RE6PX1Rg6bVgzSJ8mxpnnx2Cwv3Q1lYAay6cRhs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB7008 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-25_14,2024-09-25_02,2024-09-02_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=999 phishscore=0 bulkscore=0 adultscore=0 mlxscore=0 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2408220000 definitions=main-2409250164 X-Proofpoint-ORIG-GUID: ABpAFr3SAWhC1S41HqtlyxxS2iqdle_z X-Proofpoint-GUID: ABpAFr3SAWhC1S41HqtlyxxS2iqdle_z X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_162516_159963_9D1473D1 X-CRM114-Status: GOOD ( 15.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Joao Martins ARCH_HAS_OPTIMIZED_POLL gates selection of polling while idle in poll_idle(). Move the configuration option to arch/Kconfig to allow non-x86 architectures to select it. Note that ARCH_HAS_OPTIMIZED_POLL should probably be exclusive with GENERIC_IDLE_POLL_SETUP (which controls the generic polling logic in cpu_idle_poll()). However, that would remove boot options (hlt=, nohlt=). So, leave it untouched for now. Signed-off-by: Joao Martins Signed-off-by: Mihai Carabas Signed-off-by: Ankur Arora --- arch/Kconfig | 3 +++ arch/x86/Kconfig | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index 405c85ab86f2..cee60ddee5cf 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -273,6 +273,9 @@ config HAVE_ARCH_TRACEHOOK config HAVE_DMA_CONTIGUOUS bool +config ARCH_HAS_OPTIMIZED_POLL + bool + config GENERIC_SMP_IDLE_THREAD bool diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 555871e7e3b2..272ec653a8cd 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -138,6 +138,7 @@ config X86 select ARCH_WANTS_NO_INSTR select ARCH_WANT_GENERAL_HUGETLB select ARCH_WANT_HUGE_PMD_SHARE + select ARCH_HAS_OPTIMIZED_POLL select ARCH_WANT_LD_ORPHAN_WARN select ARCH_WANT_OPTIMIZE_DAX_VMEMMAP if X86_64 select ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP if X86_64 @@ -378,9 +379,6 @@ config ARCH_MAY_HAVE_PC_FDC config GENERIC_CALIBRATE_DELAY def_bool y -config ARCH_HAS_OPTIMIZED_POLL - def_bool y - config ARCH_HIBERNATION_POSSIBLE def_bool y