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 BFCD0C27C40 for ; Thu, 24 Aug 2023 04:56:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239574AbjHXEzb (ORCPT ); Thu, 24 Aug 2023 00:55:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239413AbjHXEzS (ORCPT ); Thu, 24 Aug 2023 00:55:18 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 282E01702 for ; Wed, 23 Aug 2023 21:55:04 -0700 (PDT) Received: from nazgul.tnic (unknown [78.130.214.203]) (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 461AB1EC014A; Thu, 24 Aug 2023 06:55:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1692852903; 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=O+ueU8rToZviomdXW6WPY/SINTgDG7dQWhSOJWeZoEQ=; b=hqRFJYhUYcs+GwpjTpTnZhIKuAsqCUAx+ZxaVyUiaSgsPehM+BtmxMDSF5RBhSGEWjrTMQ T7V56Qw14777nDtpLmFEUYi4IjTwF4PfdLloIo9llFM5sw1DpRuJ1e57cO9TAL53xzhQ4k N9d/95QOgehrDGEttiggKws8vOw1MPM= Date: Thu, 24 Aug 2023 06:55:15 +0200 From: Borislav Petkov To: Josh Poimboeuf Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Babu Moger , Paolo Bonzini , Sean Christopherson , David.Kaplan@amd.com, Andrew Cooper , Nikolay Borisov , gregkh@linuxfoundation.org, Thomas Gleixner Subject: Re: [PATCH 11/22] x86/srso: Slight simplification Message-ID: <20230824045515.GEZObisz++bg1CabRj@fat_crate.local> References: <18b18b8709b72625b60156545a705b052646667c.1692580085.git.jpoimboe@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <18b18b8709b72625b60156545a705b052646667c.1692580085.git.jpoimboe@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 20, 2023 at 06:19:08PM -0700, Josh Poimboeuf wrote: > Subject: Re: [PATCH 11/22] x86/srso: Slight simplification Commit title needs a verb and a more descriptive title. Strictly speaking, we should use the IBPB selected as the retbleed mitigation for SRSO only when the SRSO microcode has been applied so moving this inside the "has_microcode" branch makes sense. But even if it is outside that branch, we will still say "no microcode" so basically it boils down to the same thing. But sure, ok, slight simplification. :) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette