Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp681814ybb; Wed, 25 Mar 2020 07:39:12 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvJ4j7AsqFv1mQtxt0VS7BUG68dLTeyX+R8j5eDzceqV8jIOM9N3mdrw7Lvv9pj7MWUe38Z X-Received: by 2002:a05:6830:616:: with SMTP id w22mr2594090oti.215.1585147152245; Wed, 25 Mar 2020 07:39:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585147152; cv=none; d=google.com; s=arc-20160816; b=wy+d11bHcNM3b8juhxC8quvq80qrVIRkb86WfdqVLhkaehy2YMKTmnGWScYOrLTj8c JWQcfnobmwnR4jSg7/qt4ZkLiITSVQmi9zoF+YvxawjIHUBsygNJDNXA0qlm1MM5JM/W KPOUshcM+g/7SZYWkjB6zglT9HTcHUEvSf5MZuhGHlJAL2KCE80NLhhP6ebHSvHOjIus yfqHzU1gRg1+7qOWytp5etAnhug7y9NKhGxNf7WyFT0mobE+Mr4uYebNmdFJlzgiIsUE TiVX7cFvVtSh9W4CvqlpQh5yn5yI+434uxHLEw/eQGy5dfwaek5YbDhw0nnckMZUxnuG 7MNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=Usfj1MHnm+2602/ET334vDR9tWBUvF//x98yMAW3DxY=; b=FFpnXxY7HRBNJafDojo+wYr4GBsnn07NfHx2c5Oa4Gv6vUMP9ekmZLY/VrkyzHWd5m LHaAHrm9PA60rSeAJdrtnxDz4wtpdqEyTvIZJeBT2XnKeXz51P8jNwjPv8yc/OKhSkAg z9VFl856Hyl1v7o3tmEDE1b54wH7dCgSwgB3vmE4P2qy+BeZVWWx020huzp4X6uSiGGG emveso0LAYbrzysPrgHy0ebRSyZALllr2YgA203dayS+tFiTsiBCoak/cv/CRrJJs1qc n2M0AhlZUG0l3sR+vfWHAAQ7WkTLP2oqDmx2A/rld7mHsih/sVi9AbNt0YzMTsOwOGI5 pDqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w83si10289913oie.244.2020.03.25.07.38.50; Wed, 25 Mar 2020 07:39:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727751AbgCYOiV (ORCPT + 99 others); Wed, 25 Mar 2020 10:38:21 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:48193 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727653AbgCYOiV (ORCPT ); Wed, 25 Mar 2020 10:38:21 -0400 Received: from p5de0bf0b.dip0.t-ipconnect.de ([93.224.191.11] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jH7AI-0003iG-I4; Wed, 25 Mar 2020 15:37:54 +0100 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id ADD15100C51; Wed, 25 Mar 2020 15:37:53 +0100 (CET) From: Thomas Gleixner To: hpa@zytor.com, Andrew Cooper , LKML Cc: Ingo Molnar , Borislav Petkov , x86@kernel.org, Jan Kiszka , James Morris , David Howells , Matthew Garrett , Josh Boyer , Zhenzhong Duan , Steve Wahl , Mike Travis , Dimitri Sivanich , Arnd Bergmann , "Peter Zijlstra \(Intel\)" , Giovanni Gherdovich , "Rafael J. Wysocki" , Len Brown , Kees Cook , Martin Molnar , Pingfan Liu , jailhouse-dev@googlegroups.com Subject: Re: [PATCH] x86/smpboot: Remove 486-isms from the modern AP boot path In-Reply-To: <601E644A-B046-4030-B3BD-280ABF15BF53@zytor.com> References: <20200325101431.12341-1-andrew.cooper3@citrix.com> <601E644A-B046-4030-B3BD-280ABF15BF53@zytor.com> Date: Wed, 25 Mar 2020 15:37:53 +0100 Message-ID: <87r1xgxzy6.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hpa@zytor.com writes: > On March 25, 2020 3:14:31 AM PDT, Andrew Cooper wrote: >>@@ -1118,7 +1121,7 @@ static int do_boot_cpu(int apicid, int cpu, >>struct task_struct *idle, >> } >> } >> >>- if (x86_platform.legacy.warm_reset) { >>+ if (!APIC_INTEGRATED(boot_cpu_apic_version)) { >> /* >> * Cleanup possible dangling ends... >> */ > > We don't support SMP on 486 and haven't for a very long time. Is there > any reason to retain that code at all? Not that I'm aware off. Thanks, tglx