Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4798903ooa; Tue, 14 Aug 2018 10:42:24 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxIKSF8GCD3Jh44yVKtQc/d6ow6kn2cd/bTrHWGeJkXQeC8kFAyEWVYID8z1E+lPdM4Db6f X-Received: by 2002:a63:5660:: with SMTP id g32-v6mr22411105pgm.227.1534268544051; Tue, 14 Aug 2018 10:42:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534268544; cv=none; d=google.com; s=arc-20160816; b=njXDlmM5HncOU3M3ZVzWCOtzwHp53F2BFE/Yt6exQWKyAVZhBl3boqnczq8jrjojsU lXDDa1ydPls+l5HM+zfPU/OH+tmveKP6TXqEuPWRuFCs8nJn/xs8Wv2RMuvvycV6k6qH DVK0QNfer66MKS+BH9XmGVQbxDh1KKCc7vkC5RzoM8fYkha4WtJTmXzVm9VEltvhGcOt iIZURUzNOFpjEtc8yUzT1N8JwzzFj65SNqFVhNqAcu1scbU6WJz+NOkBaIW0jEySy9/p rco50MfxsSPgwVd382E7FEqfXihgPpV4vDisdiCYK+hXFxtQS7mBTEp8YYFcSlUYENkE eABA== 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=WlqrUcQlyBrj6YRnbm82Km4BQWfIYCHtaJr9Gid1CqM=; b=vgeJukqUvQhqOCaa6kRR4slm1RJ7RlEGSxv7f9jioHLd2JAuVrVBmOVDYJwiNGJQD7 S6u0TcWHiOlyaB18inZaU9epbJIbHyCrp5EI4+7oeMw4LhEl8SfaJjPfkeyPI2GA/uWq zgZZ6wG0GdezWHry8Y27nwpWliBIX5V6UxK/C6YCjKZlvw136MXxpPsqIQk3o7cGO765 nhw/u1OdXe5FdAOzB7htA4qCKw3MZD7L4e/asgk4d7TRpQkAAhYEy8FRcCkK/PM14WmP QeqkJP+5/wJJxi/fIZdmdod3vS8i0rvrvEL1eMAOlrh240XIVyC9VBxdNcAorpVegiR3 CQpQ== 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 y71-v6si21303784pgd.223.2018.08.14.10.42.09; Tue, 14 Aug 2018 10:42:24 -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 S2389970AbeHNU31 (ORCPT + 99 others); Tue, 14 Aug 2018 16:29:27 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:58996 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730587AbeHNU30 (ORCPT ); Tue, 14 Aug 2018 16:29:26 -0400 Received: from localhost (unknown [194.244.16.108]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 4206DD20; Tue, 14 Aug 2018 17:41:16 +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 , David Woodhouse Subject: [PATCH 4.9 043/107] x86/cpu/AMD: Remove the pointless detect_ht() call Date: Tue, 14 Aug 2018 19:17:06 +0200 Message-Id: <20180814171523.504366235@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180814171520.883143803@linuxfoundation.org> References: <20180814171520.883143803@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.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Thomas Gleixner commit 44ca36de56d1bf196dca2eb67cd753a46961ffe6 upstream 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: David Woodhouse 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 @@ -805,10 +805,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)