Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4780136ooa; Tue, 14 Aug 2018 10:26:28 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx33Jtn9r/61b42xym4lFWy1/tN0wZm45776IbLpRJScmRMNBbPl4AYNW4gZn65AtKmEipi X-Received: by 2002:a65:5304:: with SMTP id m4-v6mr21613717pgq.250.1534267588680; Tue, 14 Aug 2018 10:26:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534267588; cv=none; d=google.com; s=arc-20160816; b=OEHb+YxJHJ1FxF1zlgHAMy6k2+t47LegsuZSIJfQOVFF+1uTJ00rGFtZb9lIeMCQ5/ eq7Ymf+UISlfnZ+TnsVjUwNRN1iIwRiPiEGRvplHAApAzGbEQWdP8MYq55DCw1Jp+JFM ogPmZt15C1d6Fa1BIkuDnXfD3QcU4DXhs65smUXnktom6r02ANtNEH32zlTMfZb40+mo IdjVZE6uD0cAAmI4usQaPRZLlNtzsAeoibxFxI/pC5TiwdZJk3yTnMoaCGlzuP4KfZhG GRc45dNLAD1kTZ3jMa9UTRU9sxUHn+mCOsgGuDWeK7WZfM55iRZXA+7zi5h62WLLQrnv 8xQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=3u/Tu9ETQ9xNrZIFMFtKNoLuHGso5yIv1eQEGeP8F4M=; b=VoPTe1YDsQGzTZDQeCMJMtgRTSEd/Sysybtj2fXNvAqSaV9UiinYAILK6/kTiyvBl6 4K+Dl5s+SiTS0PXJTmbsOHl7JzXlUk7MXeH6RxHbjgpKHVId7pOzwalijlZkt3KgSdxc J5moTEWp/EXlU6K7rMMvBH8Jf1PVNLBtO1IPatzdXPi27JWjv//snSVy+f1WIc4OG1YM cSQHzYNf27Y+EWtpY2UM9BxPiFRjf1almq/IZyCORDI4Ga0jWWoOFcq+fp8LY7N8yw6n 4eLnpTa47+Ync1VJsobm40M11Jm/sNPFTP7w1iQsgRO57iCjXSza31LyamaBbrgai1sA fuNw== 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 d2-v6si18093205pge.404.2018.08.14.10.26.13; Tue, 14 Aug 2018 10:26:28 -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 S2388019AbeHNUMy (ORCPT + 99 others); Tue, 14 Aug 2018 16:12:54 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:51454 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387747AbeHNUMx (ORCPT ); Tue, 14 Aug 2018 16:12:53 -0400 Received: from localhost (unknown [194.244.16.108]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 83F19C5C; Tue, 14 Aug 2018 17:24:47 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thomas Gleixner , Konrad Rzeszutek Wilk , Ingo Molnar Subject: [PATCH 4.18 21/79] x86/cpu/AMD: Remove the pointless detect_ht() call Date: Tue, 14 Aug 2018 19:16:40 +0200 Message-Id: <20180814171337.615482939@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180814171336.799314117@linuxfoundation.org> References: <20180814171336.799314117@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Thomas Gleixner Real 32bit AMD CPUs do not have SMT and the only value of the call was to reach the magic printout which got removed. Signed-off-by: Thomas Gleixner Reviewed-by: Konrad Rzeszutek Wilk Acked-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- arch/x86/kernel/cpu/amd.c | 4 ---- 1 file changed, 4 deletions(-) --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c @@ -857,10 +857,6 @@ static void init_amd(struct cpuinfo_x86 srat_detect_node(c); } -#ifdef CONFIG_X86_32 - detect_ht(c); -#endif - init_amd_cacheinfo(c); if (c->x86 >= 0xf)