From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3586C433FE for ; Fri, 4 Nov 2022 21:52:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229645AbiKDVwf (ORCPT ); Fri, 4 Nov 2022 17:52:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230205AbiKDVwY (ORCPT ); Fri, 4 Nov 2022 17:52:24 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D94450F29; Fri, 4 Nov 2022 14:52:15 -0700 (PDT) Received: from zn.tnic (p200300ea9733e7a4329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9733:e7a4:329c:23ff:fea6:a903]) (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 9E6B81EC02DD; Fri, 4 Nov 2022 22:52:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1667598733; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=gAo7a0ZYJob8toTFhefpXsLRABn4m7TXaunFS9hPqZI=; b=ZeHuOmys74umhJ8KAC8i6EmDDkhCOyZIFbDgWtVK2BSJOTXuW2l0r1wccRDCa2HMQsVUtI 4Q4jzHTYfQR6nMG592CEhu3zs/o5sSKAwYk+CEAYRri8/o4WtxnTnlPQc22MzwD8MO+MV7 CbxaDH9IMf2q/CdIRRSoY23lA33f/8M= Date: Fri, 4 Nov 2022 22:52:13 +0100 From: Borislav Petkov To: Kim Phillips Cc: x86@kernel.org, Boris Ostrovsky , Dave Hansen , "H. Peter Anvin" , Ingo Molnar , Joao Martins , Jonathan Corbet , Konrad Rzeszutek Wilk , Paolo Bonzini , Sean Christopherson , Thomas Gleixner , David Woodhouse , Greg Kroah-Hartman , Juergen Gross , Peter Zijlstra , Tony Luck , Babu Moger , Tom Lendacky , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] x86/speculation: Support Automatic IBRS Message-ID: References: <20221104213651.141057-1-kim.phillips@amd.com> <20221104213651.141057-3-kim.phillips@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221104213651.141057-3-kim.phillips@amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Fri, Nov 04, 2022 at 04:36:50PM -0500, Kim Phillips wrote: > - Allow for spectre_v2=autoibrs in the kernel command line, > reverting to auto-selection if the feature isn't available. Why? What the whole logic here should do is enable autoibrs when detected automatically, without the need for the user to even select it as it is the superior mitigation. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette