Message ID | 1691581193-8416-6-git-send-email-mihai.carabas@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2801758vqr; Wed, 9 Aug 2023 06:30:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG09H0pNU+A/oB7mBizIQvZcHFEX5zcA6WN/7PVQYhHKV6iHijV/AQnybw7J6C6GjUS4K8u X-Received: by 2002:aa7:d68f:0:b0:51d:fa7c:c330 with SMTP id d15-20020aa7d68f000000b0051dfa7cc330mr2493288edr.26.1691587818466; Wed, 09 Aug 2023 06:30:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691587818; cv=none; d=google.com; s=arc-20160816; b=b48psH9X1fxx1YFgX29h9XnjVfFdR/MN9LqONF8+Y4wE2R/JfRs+oqeUpwLlrbwamj J0UHh+CWh0EgyjNi5TrxaT5JjcqcSnUeygB2LjD3V0CBx5BHHO0KMW8Tdc6IAjW2kaTJ jMV548queKPS8/Y/nTTBX1D58yNH4NOhHpC1kUnXmhf3tP4GgfDpAG0HOXF/E3YpMNdE Tj29IHIofvnge/2hHp+ocYXM/N3nnnt9uVlV2XsdfVmFQ0UKfTEUmthi59nQKNy7cENQ 74rvJzQuga3SfTHKus55zUkZZVLeHb3ULvAzYh9GF2vjcu0jwBsjlXWETQeGQVcJ5vRR +zEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:in-reply-to:message-id:date :subject:cc:from:dkim-signature; bh=F2lfrzJlWT849Hq5g4+oLQ9l0eG3oorZOJZ0GrdTMjc=; fh=4Nw8JGbfaJjHaiuIE0mktwMXM0BfTCTfVI0T+Yeb3UU=; b=T1B8U/irJJkWsAJhGlbhorIToQaZ2Y6JpFbjyG0DL44waEth975hCIiZBt+B5y3JwU 68kusKnNMd/8XXENouXEm7aq6FPb5ui54gFprXBi0ugm97Jw/wP+xUaAorH+zBEO4Rza T6svuEYMYvK1NP9H82zcJ6f3Gk90miDAsft8RQT1j3mIgyZ/RQApqkwoNtp5zf6bBw0F GyveOfVHveXdYQMsb8xKNK0L8XXLSxzpobnStKwWpiOJmIB83l3rdDD2LNUGH147G/iQ Q//TEvNAi5sClHTlvhZTvxlNxmmBqFB5z5rt7SO7mHSKeXAUMPu7WBDvI3+eVcU+gaKs ZeEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@oracle.com header.s=corp-2023-03-30 header.b=jyR98brk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g9-20020a50ee09000000b00523282a8f4asi4729700eds.263.2023.08.09.06.29.54; Wed, 09 Aug 2023 06:30:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@oracle.com header.s=corp-2023-03-30 header.b=jyR98brk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232725AbjHIMzO (ORCPT <rfc822;aaronkmseo@gmail.com> + 99 others); Wed, 9 Aug 2023 08:55:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232710AbjHIMzK (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Aug 2023 08:55:10 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6C00212B; Wed, 9 Aug 2023 05:55:06 -0700 (PDT) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 379CrGlY007796; Wed, 9 Aug 2023 12:54:18 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; s=corp-2023-03-30; bh=F2lfrzJlWT849Hq5g4+oLQ9l0eG3oorZOJZ0GrdTMjc=; b=jyR98brkXNH5hxIgoV/+lYc+OSjfV9SE3ZFD/r09ocUGAmabLsK6dmwhL9y3AE4YaWAB x7/e07+yEr1Aj3XJZgxf1MBoei6muNI+hVpAJkpjY62CGM31yrAL7U9rI52MS6MIw2oz LSyZS+w+k6lnaXDTGToO4aD8fT1bp9jvGeB5WD8KLICYENmK6rWQfZkJaHcPCmXhSvHN IREWCS2OV7Ge7cjfQQRxfWU84mctxrxbpevxeWIAcHbLRNkb5jbRlNtQNNTB3BBBg8OK ekZkXvwKjjPslzceBAJeQghleHHKbETZhKCakAYLIsmaR9yrnDBnA5wOsbGDNsys3z49 SQ== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3s9cuerfyd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 09 Aug 2023 12:54:18 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 379CIABH021532; Wed, 9 Aug 2023 12:54:01 GMT Received: from pps.reinject (localhost [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3s9cvdygxd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 09 Aug 2023 12:54:01 +0000 Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 379CqCGN027258; Wed, 9 Aug 2023 12:54:00 GMT Received: from mihai.localdomain (ban25x6uut25.us.oracle.com [10.153.73.25]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTP id 3s9cvdyf90-6; Wed, 09 Aug 2023 12:54:00 +0000 From: Mihai Carabas <mihai.carabas@oracle.com> Cc: Joao Martins <joao.m.martins@oracle.com>, Mihai Carabas <mihai.carabas@oracle.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>, Paolo Bonzini <pbonzini@redhat.com>, Wanpeng Li <wanpengli@tencent.com>, Vitaly Kuznetsov <vkuznets@redhat.com>, "Rafael J. Wysocki" <rafael@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Andrew Morton <akpm@linux-foundation.org>, Kees Cook <keescook@chromium.org>, Peter Zijlstra <peterz@infradead.org>, Petr Mladek <pmladek@suse.com>, Ard Biesheuvel <ardb@kernel.org>, Sami Tolvanen <samitolvanen@google.com>, Nicholas Piggin <npiggin@gmail.com>, Juerg Haefliger <juerg.haefliger@canonical.com>, =?utf-8?q?Micka=C3=ABl_Sal?= =?utf-8?q?a=C3=BCn?= <mic@digikod.net>, Arnd Bergmann <arnd@arndb.de>, Ankur Arora <ankur.a.arora@oracle.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 5/7] arm64: Select ARCH_HAS_CPU_RELAX Date: Wed, 9 Aug 2023 14:39:39 +0300 Message-Id: <1691581193-8416-6-git-send-email-mihai.carabas@oracle.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1691581193-8416-1-git-send-email-mihai.carabas@oracle.com> References: <1691581193-8416-1-git-send-email-mihai.carabas@oracle.com> X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-09_10,2023-08-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 malwarescore=0 spamscore=0 adultscore=0 mlxlogscore=985 bulkscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308090114 X-Proofpoint-ORIG-GUID: HUfDo3ON1mHD58lOUhvjKcDv8NUVytAY X-Proofpoint-GUID: HUfDo3ON1mHD58lOUhvjKcDv8NUVytAY X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773758388314987534 X-GMAIL-MSGID: 1773758388314987534 |
Series |
[1/7] cpuidle-haltpoll: Make boot_option_idle_override check X86 specific
|
|
Commit Message
Mihai Carabas
Aug. 9, 2023, 11:39 a.m. UTC
From: Joao Martins <joao.m.martins@oracle.com> cpu_relax() is necessary to allow cpuidle poll-state to be used, so select it from ARM64 kconfig. Signed-off-by: Joao Martins <joao.m.martins@oracle.com> Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com> --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+)
Comments
On Wed, Aug 09, 2023 at 02:39:39PM +0300, Mihai Carabas wrote: > From: Joao Martins <joao.m.martins@oracle.com> > > cpu_relax() is necessary to allow cpuidle poll-state to be used, > so select it from ARM64 kconfig. > > Signed-off-by: Joao Martins <joao.m.martins@oracle.com> > Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com> > --- > arch/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 87ade6549790..7c47617b5722 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -105,6 +105,7 @@ config ARM64 > select ARCH_WANT_LD_ORPHAN_WARN > select ARCH_WANTS_NO_INSTR > select ARCH_WANTS_THP_SWAP if ARM64_4K_PAGES > + select ARCH_HAS_CPU_RELAX > select ARCH_HAS_UBSAN_SANITIZE_ALL > select ARM_AMBA > select ARM_ARCH_TIMER Uh what ?! cpu_relax() is assumed present on all archs, no?
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 87ade6549790..7c47617b5722 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -105,6 +105,7 @@ config ARM64 select ARCH_WANT_LD_ORPHAN_WARN select ARCH_WANTS_NO_INSTR select ARCH_WANTS_THP_SWAP if ARM64_4K_PAGES + select ARCH_HAS_CPU_RELAX select ARCH_HAS_UBSAN_SANITIZE_ALL select ARM_AMBA select ARM_ARCH_TIMER