Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1838820imm; Sat, 23 Jun 2018 03:58:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI0YAjeIZZ00gn7w6XLtOqnnF/lTm5rKDEuxqS5Sp1JONzXisloosGulfCtxGiqFn4dELQQ X-Received: by 2002:a65:6047:: with SMTP id b7-v6mr4487618pgv.241.1529751529182; Sat, 23 Jun 2018 03:58:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529751529; cv=none; d=google.com; s=arc-20160816; b=zf+CTS876FfWpxmllJ/BB1HZ8tOHeZExidoJVsTrDVngOTAkJ4NY5TsCZ737y801Hq Tf29e4yxpChdJLzUI1iAN2SSMddzZaT9Lh9puFZOLuDczzUm2jlS2kk/AUV/gPSMU7pe +rcIUQOHD7CFdOC5j4UF1BS9wiTfzNYuLeKalPTeW6ydiJfYgOdVLK8Dkc/KJd8No0Yc wwFB5CU2CNj+an81bNGx0J9hMzBiMq+TDtgF1M5+TWcpG7gswtJHc5E5fH0EZ5mg/V1F j1kR5xrYYJOIL3OfBf7ife4B0+DZmGyl0+IsyocHYuKEaUNziCPiCe0vFiwqI+B1ancW lvEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=SaZvgxOUVz35BVvY5pC5R1VvusnAMNRxfRpzRu+vvqY=; b=hOJ515njWX61KoTlV5ihP3rHwTDZnM2PmMoHcueMuHifFp0xqFFdqGnUy5pvZFICkV 3MdVdiAJHAS6a6Wp4l0wJf9nsVfyIJQ5776ZW4kbqXJyJYiD34F1lEe0SU6I4FEB6ZJO iIuyLOEbsbWPzWVooZZhXlxdzmUUuORkJwUGxMy6Y9Mvn/Mgd4YrNv1FGkzK0HBl2vb0 llm/gmPTNO7eVgGSXbgNpmRif0yyGThDtax9wQoVoIJrUiqzMxOr4xScOsHy+LDUJZyY IaSvJtmo866YQEER3XkeoiUst4U1No1genFLQFt3cXtieSI5wsCoFX+F7rF8YhPGptka VjDA== 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 a20-v6si3101216pgb.291.2018.06.23.03.58.21; Sat, 23 Jun 2018 03:58:49 -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 S1751670AbeFWK5W (ORCPT + 99 others); Sat, 23 Jun 2018 06:57:22 -0400 Received: from mondschein.lichtvoll.de ([194.150.191.11]:55311 "EHLO mail.lichtvoll.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751490AbeFWK5V (ORCPT ); Sat, 23 Jun 2018 06:57:21 -0400 Authentication-Results: auth=pass smtp.auth=martin smtp.mailfrom=martin@lichtvoll.de Received: from 127.0.0.1 (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lichtvoll.de (Postfix) with ESMTPSA id C679234C95D; Sat, 23 Jun 2018 12:57:18 +0200 (CEST) From: Martin Steigerwald To: LKML Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org Subject: Linux on Intel x86: How to disable Hyperthreading Date: Sat, 23 Jun 2018 12:57:18 +0200 Message-ID: <1554914.aCy3vs9hif@merkaba> MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="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