Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp541401imn; Thu, 28 Jul 2022 08:20:40 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u0VyHDetm25D7mnR2N9guaYdvqCcVDg1rFE3UXrZ+l4Dctgszbtlfh/3GilqwbZsQJ+13j X-Received: by 2002:a63:496:0:b0:41b:3c10:a2f4 with SMTP id 144-20020a630496000000b0041b3c10a2f4mr8588688pge.343.1659021639809; Thu, 28 Jul 2022 08:20:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659021639; cv=none; d=google.com; s=arc-20160816; b=vIJzbSnZQH30AXwoeuTCkQSH30wMgVL0o0z2qTK1YnxFb+7V+GeHOGjPer7xwPIy2N WDH/E6wch2ew1hJFMJtJKbANPaAHzIB5yQ3NwUnMlXiSU8y9h5ebnxITzjUMHzy4Fm5a /4WhEvX8lI71AXleMF3EqbCU/9rfo5DZnna0jM/AG217oh/44gfbRk2WVt36lI7aKPza 0buZ0n626wXJkFcePdPqUws+TeVIbLnwkaoWrbnY5wczzvVS3cLjo48GjPMA6YZtygPb G4MiC9XPPN+QlSjCkH2wO5LQuAzw3T0xiHib4xEzaHqg7A6ppb2HDvcRxsNA0s7UbhuQ x10Q== 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=RFFgyhldhcIGPI4uosV2Lk0agZN008XdlmOLfQBHDwI=; b=Zn9aYyIwwMDktGEuOmOuNYVW+c0DI1SGV2+zeIzfBK9m5HhsFHu2VyOKxv+J92b1Co +Z8BPCHoXBjJCnF21xJLPgPByyG3Ylb5z6TZE7B94VRutlyL0aHHNsknLSTfplnuK0OK XqKCSygE5VmvHgmFWQZHCt1YsqVyVP+nVwKh/yNYgPRenh91fWMPBNXxe4JUeeekKJN/ CZ87Eh94SKBjNFASCSrasJP0p/zuNC09T9dRbJ5uS44SREckaDg7GtNxAT5InCFywSxI TBivDOjTDE0nAPGtZRAf3VGppb15zjMsBjcJhs4vEdJHpDY2JoA3qzWRwOdIm8GNXgsp 4EQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=IXY5tKY2; 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=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q21-20020a637515000000b00419ffb91859si1388678pgc.442.2022.07.28.08.20.22; Thu, 28 Jul 2022 08:20:39 -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=@alien8.de header.s=dkim header.b=IXY5tKY2; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231588AbiG1PS4 (ORCPT + 99 others); Thu, 28 Jul 2022 11:18:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231775AbiG1PSw (ORCPT ); Thu, 28 Jul 2022 11:18:52 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD70B6050B for ; Thu, 28 Jul 2022 08:18:40 -0700 (PDT) Received: from zn.tnic (p57969665.dip0.t-ipconnect.de [87.150.150.101]) (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 361861EC0567; Thu, 28 Jul 2022 17:18:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1659021515; 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=RFFgyhldhcIGPI4uosV2Lk0agZN008XdlmOLfQBHDwI=; b=IXY5tKY2fhce9cZyBx/2LwD6jSvP4zibbUINYX2Y8OWPXBsQNI8AyVaVYO6q+Jj0rbt8zR miRpI3YCr7RFJc2+KPQedbpflLR5ERjOEyy7F2wZJ57KD18QCXN0F2WdGDjxXjYZKh6ZNo 9bK3hc1ARgwwsFdy+P3SHZZEb9EBkGw= Date: Thu, 28 Jul 2022 17:18:31 +0200 From: Borislav Petkov To: Dimitri John Ledkov , Thadeu Lima de Souza Cascardo Cc: linux-kernel@vger.kernel.org, x86@kernel.org, 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=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 03:33:35PM +0100, Dimitri John Ledkov wrote: > Azure public cloud (so it is Azure custom hyper-v hypervisor) these > instance types https://docs.microsoft.com/en-us/azure/virtual-machines/dav4-dasv4-series Thank you both for the info. Virt is an awful piece of sh*t when it goes and emulates all kinds of imaginary CPUs. And AMD machine *without* an IBPB which is affected by retbleed. Well, f*ck that. Does that say somewhere on azure that those guests need to even enable the mitigation or does the HV mitigate it for them? Because I wouldn't mind to simply disable the mitigation when on a hypervisor which doesn't support IBPB. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette