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 15DE9C04A68 for ; Thu, 28 Jul 2022 12:39:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238777AbiG1Mja (ORCPT ); Thu, 28 Jul 2022 08:39:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238111AbiG1Mj3 (ORCPT ); Thu, 28 Jul 2022 08:39:29 -0400 Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54DB96B25E for ; Thu, 28 Jul 2022 05:39:27 -0700 (PDT) Received: from quatroqueijos (1.general.cascardo.us.vpn [10.172.70.58]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id C80523F3DD; Thu, 28 Jul 2022 12:39:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1659011965; bh=75Fs+7OtzhiiwfyqgBMScoOSkC52NZRQ6WT06XCbCYs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=rrqjLi5E9gacIoNn+yoc4V8aoioxwlrJHfqaLdmaxXRLtxgMW0eMJXd12LvC36A4A +EwbMKPSbzghXkncSGquqYxxTgZzbAMgHt/LljiyeVoVUFNKMZdQVL+j+oQN6Jyh0e 41pGe3t7WNzMqIEGQwvbS127NXwrhc7e/2GSysmBgVZEazoTTLnlvRSiTJSMvtaR3S Kiaj6fkJlB9xsEgLi6GvUIWfck3OS8u1H6KpE3E7hhwEtWUvow+zOsjYyXejBGQT1D LQctTNS6onDOauV15E6ysWFjP9vVwvukUB8HWcUmuS2vdGyx6voGvbIVVS7NY9s2LW NzB1bhKUUrg9w== Date: Thu, 28 Jul 2022 09:39:20 -0300 From: Thadeu Lima de Souza Cascardo To: Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Dimitri John Ledkov , Peter Zijlstra Subject: Re: [PATCH] x86/bugs: Do not enable IBPB at firmware entry when IBPB is not available Message-ID: References: <20220728122602.2500509-1-cascardo@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 28, 2022 at 02:35:48PM +0200, Borislav Petkov wrote: > drop stable@ > > On Thu, Jul 28, 2022 at 09:26:02AM -0300, Thadeu Lima de Souza Cascardo wrote: > > Some cloud hypervisors do not provide IBPB on very recent CPU processors, > > including AMD processors affected by Retbleed. > > Which hypervisors are those? How relevant is that use case? Azure for sure, and I guess AWS would be affected as well. > > How do I reproduce it here? > qemu -cpu host,ibpb=off on an affected AMD processor worked for me. With EFI, so with something like -drive if=pflash,index=0,file=OVMF_CODE_4M.fd -drive if=pflash,index=1,file=OVMF_VARS_4M.fd. Cascardo. > Thx. > > -- > Regards/Gruss, > Boris. > > https://people.kernel.org/tglx/notes-about-netiquette