Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp450671imn; Thu, 28 Jul 2022 05:56:15 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ux9ZfAr9zB9oxruJPbB9LqA9WsMSM+hAvFOhrzQiPngIXhefs9GAqaG/mCzuvV6KUyQT5o X-Received: by 2002:aa7:c843:0:b0:43c:d6f0:7d6e with SMTP id g3-20020aa7c843000000b0043cd6f07d6emr4059142edt.337.1659012975399; Thu, 28 Jul 2022 05:56:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659012975; cv=none; d=google.com; s=arc-20160816; b=e+KBx9I6fqYKUluZUGMD83InrfMmcgKRCVdfSa4MytRuGQ3JbMQHYNqwIVGKS8D5+N V/psYcgXQSrryARQjdHagBVXh1PL2Gn9KC4uJmACBhoxx4SXYsjhoS2IdE/+jSy5I+XA g2saskI5QrvBPc24qc7wUIRrISKgHfH6LwPAK334+IEOOJMokQRhALo/vbDuqECvyZ9R xQA25OAewG/Qi/JWjNbQ/LMk3COVVXluMl5/jnB/abac+luRRVCsFHVAteV0cslmGQ8b VDRmIUokVISQLKiyEgNyQIoUdOgfQzUoaFFbynrhIau8CdzTvnxgMwmczA2NrtHF5H2/ j7ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=75Fs+7OtzhiiwfyqgBMScoOSkC52NZRQ6WT06XCbCYs=; b=VHsxcLhkwbi9IAvZcwzLwCISq/q7OvllaH4cIIbLggcwto8TXp4+Ldn16plAPlxDTz CoO7H/4keFJpu0+T2wGvxkgMZdh5QDB23xp26i9ai0//DOZvBupHTAmJIJBW5k6BPwmr a776YX7/zC9cnPjGxwOZY5Dq92RJlp5MVuxCANWx7vXGPKp0/XA7KvlBS6DF8xtJ181j GhJzwR3UQ3+7j9hFOUlFWQ+OUQYarncLJxUJN26MCoEw8rJl9tzkVVgQoyaklCyMKrJf H4NQIZdg36VugU9oRINN/0MRKbrQ1ux3W7pc59UTZChn5vVgtRdmElnIf/cDVBdemGR/ O+tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=rrqjLi5E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o13-20020a056402438d00b0043bdfc0853esi664908edc.619.2022.07.28.05.55.50; Thu, 28 Jul 2022 05:56:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=rrqjLi5E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238773AbiG1Mja (ORCPT + 99 others); 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: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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