From patchwork Fri Aug 30 22:28:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Arora X-Patchwork-Id: 13785703 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 F396CCA101B for ; Fri, 30 Aug 2024 22:43:33 +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=ffXvkV+mRWAxyKYRSz1YPBNnPlHXfBa9sCaF3inIVgA=; b=nK3kbfTN6vmp8o2jyGPR3zn+Nn eU+jA8Hanp5GYBnGZpQMhLDgfNfnp1KGgvE/IPyHblENpp7b2c/evC3OYdOfE/WFd8wTAfHxKNhVU NpCAKGRlfu3jLo6eWzTUOm6PhCgtZzzPNrmhCEJwZvQ/8IC5i0iUFIAhH6ov2vmiAuXCfoj15WMyx vtMSN8+xwtH4ZpwMoy6bgGSWvLVlU4ThTdo+rfg0flR79Tlc+c4vBjkAkbfwa5ndQ8fR97cN5eRKZ 7fLDfHRs/7iMAI+wZooB07XFzWY5esK+F22ji+BvJx6ak0u85L1kmudIa4nzcqPqbTFGjYyvXnY7o EoRkor+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1skAKs-00000007wDJ-4AnG; Fri, 30 Aug 2024 22:43:19 +0000 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1skADM-00000007uec-0ofR for linux-arm-kernel@lists.infradead.org; Fri, 30 Aug 2024 22:35:33 +0000 Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47UMSuj8017381; Fri, 30 Aug 2024 22:35:08 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=ffXvkV+mRWAxyKYRSz1YPBNnPlHXfBa9sCaF3inIVgA=; b= PzN8l/4s3QhMt03ChciPi7mPIZDeFFV1t7zUF7r6kGJ/1GNVazca2RT8G24suvbV HU3VaxlrSrZsQE58dsT5pdCG5vXh4nYVYoWNlLIokWPKElmJL3p84xJlDkCxasDr liPoexsAplclYyrwTtpyCZONa/ydKMyzcBRTzQE/G7NyFUTq/UBPbIEO0Bn0P68a A7vmgx8os7bPCbMkYlHZKUB8TooyS2BHK+8gkcggxGrS/RlJcwqZPk9Z3+lt29Mv DosM0VHxYD2zwkCA/uDwxlTgT4sPQJLzSOrxQrCY+NuUMkjV/Sy6LwdkuwpsWUUy ji/9Kpl3UgfyxUoXX/cQXQ== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 41bpwcr061-6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 30 Aug 2024 22:35:08 +0000 (GMT) Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 47ULHxTj020212; Fri, 30 Aug 2024 22:29:12 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 418j8sb2dp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 30 Aug 2024 22:29:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QD1s5ZvJACyZMT8PvjU478UMO8s4wRcRxaJmeiGl35Hu+zP3QjIVV0QJo9WmAvjGUft2od07A0W9eYO79lUpv3tUwylZbo+ZWM1DRXoKG+QDxP26c26pdvE2pWLzMJJZTcbwsQI8onv/AHL+TZB1gjk413+/1mCzhVcPFvuZ9u6rVbum41Lidc80Aw0twlqcLwGHqUDcZeZlEymMXh0mGtKShhSZSbkPrIGWaLSF8wNzbpAYtOsT3WaOUzkR372nr5XcjmQgagbrWATPzgdbV+o6W1sNzUCn7rFNF1c/1iLRX2lk8qLAp0UcipmZkmiY9nB4Bk/sKfzYmrQxSwcrXw== 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=ffXvkV+mRWAxyKYRSz1YPBNnPlHXfBa9sCaF3inIVgA=; b=uxK30aKwyjpMZaxNw5XSVMi/G6fBlXYcrcw9wBNllmDqcsVlNISv8MQhDofZl1MvzoiZabb9GNpovjD/76OL6DEbQ09xgEM+5H3pvvHvP+G67QgoRuxg1K0IWrtgWlRWWqG18EgvqLaViiJdJNmrWI8jOHiUiyhLi/UbQ9HwhTntOsbkb6v5cGoRvxM5jjBbgVMbyojTel5SboMJoXmC1s8BHO89XNt7Lu6a2UPK8nHFisBQAewHzrqavQ5fnrh9YVs0cKua5WCylrQoyzpNIFRWLpGy/HAZ77Cj3P+N3NgRGBaepVoPJgHVNANsoP/sYHVMeZVXdz4hfgn0cnF97Q== 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=ffXvkV+mRWAxyKYRSz1YPBNnPlHXfBa9sCaF3inIVgA=; b=HUEMw/sCS4Solk+tvqpqxNpDGN7NWJzoaiFfxhiFXpSq121cxuWPwzf4BIs8yAncbT969n2sQfnhBvf84lFDQojONBPbJ2e0a3rhdPdVOj4O9DIfmOTTXJWfy4/Hx2Rh8iMp4VNGiXuRJD35Lr6LoDv6sBFmMXbxHYckXcSyMlA= Received: from CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) by BN0PR10MB5077.namprd10.prod.outlook.com (2603:10b6:408:12e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.20; Fri, 30 Aug 2024 22:29:09 +0000 Received: from CO6PR10MB5409.namprd10.prod.outlook.com ([fe80::25a9:32c2:a7b0:de9e]) by CO6PR10MB5409.namprd10.prod.outlook.com ([fe80::25a9:32c2:a7b0:de9e%3]) with mapi id 15.20.7918.020; Fri, 30 Aug 2024 22:29:09 +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 v7 08/10] arm64: idle: export arch_cpu_idle Date: Fri, 30 Aug 2024 15:28:42 -0700 Message-Id: <20240830222844.1601170-9-ankur.a.arora@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20240830222844.1601170-1-ankur.a.arora@oracle.com> References: <20240830222844.1601170-1-ankur.a.arora@oracle.com> X-ClientProxiedBy: MW4PR03CA0234.namprd03.prod.outlook.com (2603:10b6:303:b9::29) To CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO6PR10MB5409:EE_|BN0PR10MB5077:EE_ X-MS-Office365-Filtering-Correlation-Id: 5e57c8b1-885a-4ad1-d6a6-08dcc9432a76 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|7416014|366016; X-Microsoft-Antispam-Message-Info: xwSXXdCq5/K1PO52MpQIks/agYERE2M6Mlt8NaoH6M6bkRUTmSnltDf7fGFoTBTGxpwYF0BEbp1iUYx6qid581oDgskNRKDFhYluFvMfXAf+M35pB2fjxQniNhLhkyePIIcS5v65TR1IKekqiDp0yjrskGlijoXGx4tbIJN70C/C8sfosRGeya9R++r1tjgXk3/eG8iZJKTcrP++f5/DXqtr0PJfVucKLkomUAPmY3ouJqbelbuC4NtzcROx/1vhk8B8HP8h3C/ZP2izJZ5D/kieYUlPezOiwfUIz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-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:(13230040)(1800799024)(376014)(7416014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: l0mg05IQraz8fHX++Z8CEGl48IgKlxHJxjKMIMqGmAhpOMmOHIyljzP9xUMWaSxBXfOMNTuEkaFN0gfBXxVV6BXC4E6k3SAtfgh9Vm6h2tFE5lAPECLeNJRz+DyQq3KIUT5ZlVIHYoZEuDmsWP6ApIQjoYtYMql3LCsSA+XERE8ZIYhuSAvbapbQtvThMuxRlzJA0Vm5BMsUvDKpqdN3ah6Kt8Sqt/ZEEI2QPicS4+S0CsokD9aPrYviY+jG1qAhRl3zhJEdpNR9z7Z1SGX6cNzDI3RyFQGYUlqTsaDcyZ1bYU6anbpIkDjLbYva03XGTkdfhJPcisbetZKz2jxtL4T6JOhnr83fo6oRlPBWU0zygi/wmfUs+RotFl8luBcDzSzNBdoh1km6PJK4MVFe2pSqp/XLtw7p2zPQiKfm01oF/YPabtvPKvEPOo+NxeCPjKK8dl3aVJKdDpB0+388B8kXF1Ttv2owWqRsBC1cAey4lS16MgNShnYjVzZiBL1i7V+d1NbsmlAHmWa5qQCQl9LFOWc+hWdpWoVVhl6Q/dApT9POk5DrcGtQTmsqkLLrZVl9yUSx8yvOi4rxprKS428cgLWO0Kg0TubGNmKi7g9MGdqwyBvLVmKHVuloUE7Rbws057mAD7wyt6ObDk++8n/wHsymmZWDaBxOU7hQ5yahXy5E04fsK4eG00CDe6tc+Gfz2el6ZXelBcCia5A3RF/6AWr4jdty9xshJcUvWrlEe8p8xYd0E4GeKpfLdUX8C6FR6o1EwemuV5nG2M8HBJ/bcNPyQClHLK1Kzq9hLkXlQiDiGxmeJSX2pQelSCErAJG54CkggD+jgKTqNjT9B608wtr+0N4M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RRdPhlYHMGJJhNvaop085mhKnOdFuFBlSyVUrSj9tAtoq+Auwnh8CROiJU4YRKzffAb2Q+rR2OPKKDUam95inZ28B/50k+praQ8Ele5u/cd2aYR8BWlUmIpZ4ulXWgJAL8PlOf75eYeaQmnhWGdbQeWABiwDwFuJEOjv7ry5V6QCOdJol8wha7ud250crNtQwujHG8A5LCyRJa3koeLFFAB9VRf+s5DE5IeqNvGi3wZyXsz9rvprmQk2i7f0Rfv1n1saWPonca8lE9RgcFK+2TK7KlmLtaUAW8AaVv/nH49XURTfxG63D4yuC4tnQiNmUlGt6W5gRTc/yIneFV3bpPO4/x+rMCSTURyvgocTdaNY9b2N9s= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e57c8b1-885a-4ad1-d6a6-08dcc9432a76 X-MS-Exchange-CrossTenant-AuthSource: CO6PR10MB5409.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2024 22:29:09.6285 (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: g4vu2W7WzanWYY5JXB0eLfWBkDTP+8A+2HUAjn+Xzt/NgcWq6+GUoHJvDqxRMPTIt6tsd9VBlgSicmj+WuRVQ2zUGVz0GfpyFhMCn/U+pzA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5077 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-30_12,2024-08-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=999 adultscore=0 mlxscore=0 spamscore=0 malwarescore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2407110000 definitions=main-2408300174 X-Proofpoint-ORIG-GUID: b2gMZpWzuaXb4eg-8K9uTMApnjqhrvW- X-Proofpoint-GUID: b2gMZpWzuaXb4eg-8K9uTMApnjqhrvW- X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240830_153532_369369_C80D7615 X-CRM114-Status: GOOD ( 11.38 ) 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 Needed for cpuidle-haltpoll. Signed-off-by: Ankur Arora Acked-by: Will Deacon --- arch/arm64/kernel/idle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kernel/idle.c b/arch/arm64/kernel/idle.c index 05cfb347ec26..b85ba0df9b02 100644 --- a/arch/arm64/kernel/idle.c +++ b/arch/arm64/kernel/idle.c @@ -43,3 +43,4 @@ void __cpuidle arch_cpu_idle(void) */ cpu_do_idle(); } +EXPORT_SYMBOL_GPL(arch_cpu_idle);