Message ID | 20240430183730.561960-3-ankur.a.arora@oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A3A317BB1E; Tue, 30 Apr 2024 18:38:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.165.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714502308; cv=fail; b=eorCZI8f6X4r/eQ3LrbwV9ziKYpKBnI8wembQWpTx4dhReAHdlXRUngYEl72GMmtsyMPc2RWdPRGIhBF3Bc2x38EWdcqWyM/97QRslJD960eq54uww+kZUSr86XOUtATFI/A3BvKS6bQeMLUE+MHJSlxPRUgfj0Fq27wnGZUu/E= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714502308; c=relaxed/simple; bh=RB25v8iDSmKsZ4TrmsbTOiWNYMVuW+7I0GPPGgOpr3w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=g8AqqXzr+AeupSXjUtT1iIWMSTgla0yM0mf+HZTnkMEShm6TMJEAUUOwmTUhsVh2LtOYus1iExF1fqr+LQC7FUUARJH/1xI7WaqEUR4DS7dQYoVe8Sc7wSSuxcCqPvd/mc1qvZn+aSCnCAEF5Fb9u9w4zC1FY1/cJjnlNgwG2yc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=PBZj239P; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=dspAs57H; arc=fail smtp.client-ip=205.220.165.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="PBZj239P"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="dspAs57H" 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 43UHIgfI015489; Tue, 30 Apr 2024 18:37: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=3KL0ovtz5J1V9K6QyEbhTNrrab1knK22ZJGGfS7NQtI=; b=PBZj239Ph2o5iNs3hmzxTgjKRY9d4TodkyCHRRjmrZrSbtYg3JtiVSXpYLazrKWGs/YR BscfiOj51bBteY+yljhuygX5l6gsgY56Jgj8ryewHyZVCf3PLq+kBgoBxRTehRuVVhI+ 5ApIHARvOft67nUtx1IuOMmk66bxLfajME+3LrwoPdcpAOYfmzezqpVZSlnGyonhzf0W 17M8vkAufFF84LGmi3Ceo8fcuNMIQNJZFBP0U4Fo9m/3BMyT9tgt0A4z6sGr9NevRzHc WXUmTffV1mzVOTckjfRCF5Jnih5KNYIgO2AaeQQlmT3k43Tv7RBdyFUOqhSLl9hLY73o +Q== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3xrr9cnxfp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Apr 2024 18:37:40 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 43UI09Gw011468; Tue, 30 Apr 2024 18:37:39 GMT Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam02lp2041.outbound.protection.outlook.com [104.47.51.41]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3xrqt8ceyp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Apr 2024 18:37:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RQ0gIxWvbcctVC6z8qZGggnN/+b7LPuRarGTUk56qh1627+eEHVErVU7+a9Yty28aH9r4+EvfLxds9kBCnbSZFnG0YyVMfDdvDBOSwKaJ+zAaebX9YtlTtbNTXBBq4Oxyl6zhtEviy+axIGGTRBcrmRDdOvq2RwEtLadypFv5Xl7xoXVaB0DUGNS9L7zJ3Rp5Cyceif44G5T517BkAy4v+WoK6N/QQkRG17YXGJ8jIxsOricblajDpydf5U9v7kow6PQhaqVcVn60IO0WImv1RSeL0p9Hm5gWLgeu9SxvuIlIAIlOklFMPYJGvs3Yc0vmQxMmYj8XsGekW5An9S4pg== 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=3KL0ovtz5J1V9K6QyEbhTNrrab1knK22ZJGGfS7NQtI=; b=e6Q7Zd3zQqdDSGPp0QK3g5GYbjRhvDyqthlpnTMN9Ba3/q8TSTVIjErdqWDX1cxqiygUS2A06nUvzCdo3GGmbvgs0zhcEXjkc9CIkdp/5vP4c1I9GSn/PUSLtrFp15m2R0nbn82vPTOTt1TrijNZ8fT8dnOwArQOQ66UZ8o4PcNaJKbhk7U2z26hGJweQiEcnDJdSJ5XazTkUfwGj0S4s5vMemXpRfLrM6hL79jK+KhgQfw/ex3Pt/x3bEc4dXSx3f15BrAwAq3wfzzA8/0ujzBgNrJ7kWfJUz7SBZxTSTVZTu1xlHW3MsHTFAtWUZAixUNyjlZe05Nr3AqdmduK8w== 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=3KL0ovtz5J1V9K6QyEbhTNrrab1knK22ZJGGfS7NQtI=; b=dspAs57Hi/JznBOVJR5sN5f3qJeAZpgKxA2tg4N9uIX+SGXdHuVNnLGv2do3KEa2qUA1ljCSMjo88+1JW3M7Q7/TlWoEd43H5YhQwl9c2Y3fk5EpWgcFWvioPYrFyLQk1oCCtg0KqMHk1bj5oF1l+Ca/K3A4D5SwNMbW4WXSm7g= Received: from CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) by SJ0PR10MB4733.namprd10.prod.outlook.com (2603:10b6:a03:2ae::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.35; Tue, 30 Apr 2024 18:37:36 +0000 Received: from CO6PR10MB5409.namprd10.prod.outlook.com ([fe80::4104:529:ba06:fcb8]) by CO6PR10MB5409.namprd10.prod.outlook.com ([fe80::4104:529:ba06:fcb8%7]) with mapi id 15.20.7519.031; Tue, 30 Apr 2024 18:37:36 +0000 From: Ankur Arora <ankur.a.arora@oracle.com> 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, 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, joao.m.martins@oracle.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, ankur.a.arora@oracle.com Subject: [PATCH 2/9] Kconfig: move ARCH_HAS_OPTIMIZED_POLL to arch/Kconfig Date: Tue, 30 Apr 2024 11:37:23 -0700 Message-Id: <20240430183730.561960-3-ankur.a.arora@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20240430183730.561960-1-ankur.a.arora@oracle.com> References: <20240430183730.561960-1-ankur.a.arora@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW4PR04CA0138.namprd04.prod.outlook.com (2603:10b6:303:84::23) To CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: <kvm.vger.kernel.org> List-Subscribe: <mailto:kvm+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:kvm+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO6PR10MB5409:EE_|SJ0PR10MB4733:EE_ X-MS-Office365-Filtering-Correlation-Id: 92e1e601-464b-48f2-c745-08dc69449b4f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|376005|7416005|366007; X-Microsoft-Antispam-Message-Info: 4goZLogfzvalpY1oxe+U4aHf6IS4GCUl/lO33HWLsLkVxqI9cErwi5I0FNyui9ZAKz/dOoHZoq3J5ASMxa2LbRIO6qelB4Efw7pWEyDiNtqc81zOgVfmfEuCpx+fH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Rr3yXgh40ser0WgyRbMYUMlp86NRFtFd5HobBSsutpTHuW1Liv4lkHcH0xBv57mASfDk7dg6xj+BsbLGof2/C17sHTIU4ie6WZIHOQ== 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)(1800799015)(376005)(7416005)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: O9pnGEr8HXfxjz0gvQxxit++cjaE7lkt2ZkROYRgyZzSfwjmXzpvmBw+xG3MLpj/Sx9jZIjTuh/yHDvA8Bz0yBbFKhLSFms2qbJWl8/JZQcAtVjutPmwt2ORiHIeuj4lhVHrL5TIAs/UzmwgdJYOdrLUAr/BYAn1rY1FDQzomD1MlXQFQAyFFDqLXfs4KodCKLHUgjqcvldNfQeKjxSNOIscYiOd/c4vnjC3zMjUMVEGNlgfuELG4u37iQz+u/YfwuUXTuYGRdzX3LdosgPRiwy+ka+Nt/peDQ4R52k+wLgBPqPa2j1UMrVt7eQeZVGMm2kYsr+Gxi0jzZTs1gfVs57UR+Qc6Twrq7EAFadztfzh+zv+sJ1FopysbYyB5RYe1fEuCXQVIOaL1v5FdhXUsLHcrOXXxSlxEjGj+MRWLoiiimwlX3mn7waI1c8utq9U+GTydeTpUg7jgviEAm/tvDKA+oSsd2iL7snewOAT5QyrYANrIw0/IW3GXYHlVSp3AoVH3NzEnJuAOs695mRwtMHhJstRjwZpyZN4mQz3lRMn9ZncF7rD2kvAhg6efORKfIk0TX2rJuwC5xwB2lgi9yyIWy0Ts49TKPRh/3JgeNkWm7Yem1Z76QTSfIZW5tLR7rkXyFl8lH4vSM13Lx6bKxvY5VigVQTTiCWjf49VVk+a/bmWp92qKT2pEj5bbo69FXLCsqRXQZIXyHIZ4mlIOfcPdPGYFGcxsPM4C7SJs1C7W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v/yKIJS9S5Jm42pBX0Y+boi68Ap+B0Qw8G+E6/mA/gbZTuHhCUZ6a0tKvsMY7k0jitDe3hBPxuwYWg11jrC2LlDOlqHIq7IufKf2E/1ZnKoNiBVt299pZQzvbpn+djPKSNtSojO7Y2QcZFA8ZbxYzX5DokQSW6MXG7XSs8D6FulUFcZSY2GbJ4mQKu60uIRhAJJcnuga7PV6hWjN7CtoFUQPHmjXIx0Te/GKTAbSatwLjnIu+HPFhh5RqahgJWJQhMB9qqy5g02KZrQUyuQnZFKO/T6o7HhRc4ittD8AtR7+OJinqfr4pngEZSZ0huoxP0BHwJb4sbdiW6YhMtIRCg4FwWX+3kbgpoWsMyP4js9xU8bk6bN6UEkmyOVGwZScBFQmMNnWTUdhE6P5wiyP8rGJ7FFHpA285awrA+71rhJZpOW7jBxyD1pIIZondxEHA+olkIm6yXseS9k68qFyYNT+Ys5rpe788hg= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92e1e601-464b-48f2-c745-08dc69449b4f X-MS-Exchange-CrossTenant-AuthSource: CO6PR10MB5409.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Apr 2024 18:37:36.5817 (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: re5leCCu+TRX+XgLBul1aqdzpuUd0U5HKUc0HlGZ7qGZRecqvPBmqlBvdFCgQvRCo9XhGqY+SP7s6a19ah8E+TMubzaRji/uLYGflSZ5tjc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB4733 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-30_11,2024-04-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 malwarescore=0 adultscore=0 mlxscore=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404300134 X-Proofpoint-GUID: CLA18znf-xxv9ApHPjPuEpq6z09K-fkY X-Proofpoint-ORIG-GUID: CLA18znf-xxv9ApHPjPuEpq6z09K-fkY |
Series |
Enable haltpoll for arm64
|
expand
|
diff --git a/arch/Kconfig b/arch/Kconfig index 65afb1de48b3..6d918c19a099 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -256,6 +256,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 b238c874875a..670ec5d5d923 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -131,6 +131,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 @@ -368,9 +369,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