Received: by 10.223.176.46 with SMTP id f43csp2041643wra; Sun, 21 Jan 2018 09:52:41 -0800 (PST) X-Google-Smtp-Source: AH8x225Hq7YTcJog/9CICSkcmhCry1awAEngmb7FZUaeYVfxteTljcWnKZgp9pOgySDPSrMtgA2l X-Received: by 10.99.124.89 with SMTP id l25mr5110299pgn.38.1516557161301; Sun, 21 Jan 2018 09:52:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516557161; cv=none; d=google.com; s=arc-20160816; b=WAZRGIu+9stsgTGk6cwYUV0Wqco0Cy6ev8r/mZ4gxpCEwPxMAvmAlkUdj/bglPj4z0 X+OGsVlRTzFKqAtsjn+Gn0n7iz/q5k8UKusPmttTcU4fVoU5Gel5Gejf+35ErjtQyl1Y rbS1694ezKVwdfQv7lxpV7yXTNOFU1WIsSa82az5orhWTleSzt3PytOPrQ2yVypSaLqe rkCwRZJscB08ioVSAcVEUe7pXdk9digyMccAkWs2OewuAjr6xWOajblDbOYpmXuYlpWf du4GBMBJE6SOv+MIMzOLQMUGobFLsDr0ZABawCrOLtBXzFWjI234UfADj5/N0XvPzw2u La5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=STC76N8UJ0oja0DMNoTZW2Vkf+GZtiMtcRlxE4+KpD0=; b=P/uC6wFpr2LRfxpnh4IoWd7Y8W6sX3Z4cP5cK+ToNiot+D8gkeAtfV0amO1ow+BdE6 WgkcFHVevrHJHeKafivcT4ylic0mwyZN17KNz3yxLD4pxRunJfutSZ/GtXW/epxlhanl cm1FnW8ReuaCVsgvqCftD20LRe5iJfZ74vy7NgILl2e7hEAHETH0R3agI2Lz6/SjC/tv 6NwuRIfeClIqrofmx2ZOcOF+4IBLHibx8deyX4XmiimvhXHDvWBT1GanSQ+8RiSA4ZHH BFWRgooGnQy9jktcfahIrXzmWGDvur5f/V+7vAhVRnWfmnSh2gH2vZs2l/4/F+XaQnjf wSjg== 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 z25si831408pge.393.2018.01.21.09.52.26; Sun, 21 Jan 2018 09:52:41 -0800 (PST) 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 S1751386AbeAURvm (ORCPT + 99 others); Sun, 21 Jan 2018 12:51:42 -0500 Received: from mail.skyhub.de ([5.9.137.197]:48950 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750925AbeAURvl (ORCPT ); Sun, 21 Jan 2018 12:51:41 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id G_f-4A8lOECx; Sun, 21 Jan 2018 18:51:40 +0100 (CET) Received: from pd.tnic (p200300EC2BEE1B001C757E499366AA02.dip0.t-ipconnect.de [IPv6:2003:ec:2bee:1b00:1c75:7e49:9366:aa02]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id DBEE41EC02C4; Sun, 21 Jan 2018 18:51:39 +0100 (CET) Date: Sun, 21 Jan 2018 18:51:29 +0100 From: Borislav Petkov To: Tom Lendacky Cc: David Woodhouse , David Woodhouse , arjan@linux.intel.com, tglx@linutronix.de, karahmed@amazon.de, x86@kernel.org, linux-kernel@vger.kernel.org, tim.c.chen@linux.intel.com, peterz@infradead.org, pbonzini@redhat.com, ak@linux.intel.com, torvalds@linux-foundation.org, gregkh@linux-foundation.org Subject: Re: [PATCH 2/4] x86/cpufeatures: Add AMD feature bits for Prediction Command Message-ID: <20180121175129.mfyafhlbbgyyogmc@pd.tnic> References: <1516449813-7654-1-git-send-email-dwmw@amazon.co.uk> <1516449813-7654-3-git-send-email-dwmw@amazon.co.uk> <20180121121638.jpwyk4npxjcgqzar@pd.tnic> <4eb681c76b549ddad43544f2b487106c.squirrel@twosheds.infradead.org> <2b3e25cc-286d-8bd0-aeaf-9ac4aae39de8@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2b3e25cc-286d-8bd0-aeaf-9ac4aae39de8@amd.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 21, 2018 at 11:36:32AM -0600, Tom Lendacky wrote: > >>> +#define X86_FEATURE_AMD_PRED_CMD ( 7*32+17) /* Prediction Command MSR > >>> (AMD) */ > > You should use the existing 0x80000008 EBX entry for this. Right, and is the bit called "PredCmd" or so or simply "IBPB" ? -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.