From mboxrd@z Thu Jan 1 00:00:00 1970 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 14D30C0755A for ; Mon, 27 Nov 2023 14:44:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7fXNmcBWCH6p6U1vztvWySXpCkoGM4QhBDvMww4ETXY=; b=JoZXzwujMnuY4c bBzy53b7xJJMbR2ABIw/9nP87pbU1PXoAFWPWaxSuVz42XvJy9e3oMOV1U546sIM6OLATZ/LaXWJA fW0d/WoY1HcvjL6Hvc3beK6WDw75z0Ed3CClvCf4p8nRICDIcX1KhydmM1C6Ur5sQbdwL6ZLf3V2S DZYzzaSytYTb0LqmOKWeLH2Dc9yM/NTNVh6WIaFEoO6UnUDY0n/WH56IMazMgo9atLwxQkMp88FZF XgCI2KxXcweA4CmvAbyYLUJfOm3TVHP23d/Hd7mniK0c77s5a/r+l+Td+WlXTREHqk9rmdYJXv6uX 7DbfCkh4sdoH+68WZAUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7cqM-002jCB-35; Mon, 27 Nov 2023 14:44:14 +0000 Received: from smtp-out2.suse.de ([2a07:de40:b251:101:10:150:64:2]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r7cqK-002jAs-1O for linux-arm-kernel@lists.infradead.org; Mon, 27 Nov 2023 14:44:13 +0000 Received: from relay2.suse.de (unknown [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 2F22A1FD66; Mon, 27 Nov 2023 14:44:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1701096247; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/EIUmcxqSgQwR4h8SpanHMweNQIyGH/GNtp1VB6r9BU=; b=Wi/9CQiV+1JjyObULZrfGvMIUo08Fe24MCed3hduQTi9M1+j2YbDl7R/VBbhjm6AOrnDnX Pjb3F66pw9WOH5HBSlg1Y70VR+D+atS5eU4h7JRDPQjE/c9DjBHh5C44OvWz07QVHzmGuB q1btyyvK0QLgIcK9VEcp3W6nfXLwgvU= Received: from suse.cz (pmladek.udp.ovpn2.prg.suse.de [10.100.201.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 6F0962C16B; Mon, 27 Nov 2023 14:44:04 +0000 (UTC) Date: Mon, 27 Nov 2023 15:44:03 +0100 From: Petr Mladek To: Mihai Carabas Cc: linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, 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, akpm@linux-foundation.org, peterz@infradead.org, dianders@chromium.org, npiggin@gmail.com, rick.p.edgecombe@intel.com, joao.m.martins@oracle.com, juerg.haefliger@canonical.com, mic@digikod.net, arnd@arndb.de, ankur.a.arora@oracle.com Subject: Re: [PATCH 1/7] x86: Move ARCH_HAS_CPU_RELAX to arch Message-ID: References: <1700488898-12431-1-git-send-email-mihai.carabas@oracle.com> <1700488898-12431-2-git-send-email-mihai.carabas@oracle.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1700488898-12431-2-git-send-email-mihai.carabas@oracle.com> X-Spamd-Bar: +++++++++++++++++++++ X-Rspamd-Server: rspamd1 Authentication-Results: smtp-out2.suse.de; dkim=none; spf=fail (smtp-out2.suse.de: domain of pmladek@suse.com does not designate 149.44.160.134 as permitted sender) smtp.mailfrom=pmladek@suse.com; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=suse.com (policy=quarantine) X-Rspamd-Queue-Id: 2F22A1FD66 X-Spamd-Result: default: False [21.50 / 50.00]; RDNS_NONE(1.00)[]; SPAMHAUS_XBL(0.00)[149.44.160.134:from]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[149.44.160.134:from]; HFILTER_HELO_IP_A(1.00)[relay2.suse.de]; HFILTER_HELO_NORES_A_OR_MX(0.30)[relay2.suse.de]; R_RATELIMIT(0.00)[ip(RLkk1mdgxgu4i4849a6y),rip(RLa6h5sh378tcam5q78u)]; MX_GOOD(-0.01)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(2.20)[]; MIME_TRACE(0.00)[0:+]; BAYES_HAM(-0.00)[13.92%]; RDNS_DNSFAIL(0.00)[]; ARC_NA(0.00)[]; R_SPF_FAIL(1.00)[-all]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[suse.com : No valid SPF, No valid DKIM,quarantine]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(3.00)[1.000]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(3.50)[1.000]; RCPT_COUNT_TWELVE(0.00)[27]; FUZZY_BLOCKED(0.00)[rspamd.com]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_CC(0.00)[lists.infradead.org,vger.kernel.org,arm.com,kernel.org,linutronix.de,redhat.com,alien8.de,zytor.com,tencent.com,linaro.org,linux-foundation.org,infradead.org,chromium.org,gmail.com,intel.com,oracle.com,canonical.com,digikod.net,arndb.de]; RCVD_COUNT_TWO(0.00)[2]; HFILTER_HOSTNAME_UNKNOWN(2.50)[] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231127_064412_638474_957A0475 X-CRM114-Status: GOOD ( 14.20 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon 2023-11-20 16:01:32, Mihai Carabas wrote: > From: Joao Martins > > ARM64 is going to use it for haltpoll support (for poll-state) > so move the definition to be arch-agnostic and allow architectures > to override it. This says that the definition is moved. > diff --git a/arch/Kconfig b/arch/Kconfig > index 4a85a10b12fd..92af0e9bc35e 100644 > --- a/arch/Kconfig > +++ b/arch/Kconfig > @@ -1371,6 +1371,9 @@ config RELR > config ARCH_HAS_MEM_ENCRYPT > bool > > +config ARCH_HAS_CPU_RELAX > + bool > + > config ARCH_HAS_CC_PLATFORM > bool > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index d1c362f479d9..0c77670d020e 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -73,6 +73,7 @@ config X86 > select ARCH_HAS_CACHE_LINE_SIZE > select ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION > select ARCH_HAS_CPU_FINALIZE_INIT > + select ARCH_HAS_CPU_RELAX > select ARCH_HAS_CURRENT_STACK_POINTER > select ARCH_HAS_DEBUG_VIRTUAL > select ARCH_HAS_DEBUG_VM_PGTABLE if !X86_PAE But the definion is only added here. I would expect that the patch also removes the original definion. Best Regards, Petr _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel