From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id D512E78003C for ; Thu, 25 Jan 2024 10:53:06 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=ek8SY8kvSQgFVE25j1g8lDREHgz4h4okHPhIgNfrc1w=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; s=20140610; t=1706179985; v=1; b=d09RJZkEFdU3Yrwi/9PGtXTDqNx7ay1oiApU1TUcjVbKmNffv+pbPUNsSPDTuu6dEKZMRBeJ f8Ri6AJhlxHUl5gM0f42YbLRpF+rytOqcnNFeDcEp8k2PDyjzRfyia+qyN05+VIO02OrYhHbrC0 4Qqanzv5FLQfgphh6XHQO1kk= X-Received: by 127.0.0.2 with SMTP id VSIPYY7687511xkL5lcdT4Kx; Thu, 25 Jan 2024 02:53:05 -0800 X-Received: from mail-vs1-f49.google.com (mail-vs1-f49.google.com [209.85.217.49]) by mx.groups.io with SMTP id smtpd.web10.14740.1706179984866092815 for ; Thu, 25 Jan 2024 02:53:05 -0800 X-Received: by mail-vs1-f49.google.com with SMTP id ada2fe7eead31-46afeb936afso869424137.1 for ; Thu, 25 Jan 2024 02:53:04 -0800 (PST) X-Gm-Message-State: 9njsRSC5T5DrIemUI1LfFbDwx7686176AA= X-Google-Smtp-Source: AGHT+IGQCaAzH3A6ESa2TEJ988PinobfcZ4zTVdpfaRt57e3gwBkTe56WThLRbIKFd5txNquWfyVt5YUoETEaNsJy2o= X-Received: by 2002:a05:6102:4193:b0:469:9856:9eee with SMTP id cd19-20020a056102419300b0046998569eeemr623389vsb.59.1706179983703; Thu, 25 Jan 2024 02:53:03 -0800 (PST) MIME-Version: 1.0 References: <20240125082311.310203-1-kraxel@redhat.com> <20240125082311.310203-2-kraxel@redhat.com> In-Reply-To: <20240125082311.310203-2-kraxel@redhat.com> From: "Pedro Falcato" Date: Thu, 25 Jan 2024 10:52:52 +0000 Message-ID: Subject: Re: [edk2-devel] [PATCH v2 1/4] OvmfPkg/Sec: Setup MTRR early in the boot process. To: devel@edk2.groups.io, kraxel@redhat.com Cc: Ard Biesheuvel , Laszlo Ersek , Erdem Aktas , Michael Roth , Min Xu , Jiewen Yao , Tom Lendacky , Oliver Steffen Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pedro.falcato@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=d09RJZkE; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Thu, Jan 25, 2024 at 8:23=E2=80=AFAM Gerd Hoffmann w= rote: > > Specifically before running lzma uncompress of the main firmware volume. > This is needed to make sure caching is enabled, otherwise the uncompress > can be extremely slow. > > Adapt the ASSERTs and MTRR setup in PlatformInitLib to the changes. > > Background: Depending on virtual machine configuration kvm may uses EPT > memory types to apply guest MTRR settings. In case MTRRs are disabled > kvm will use the uncachable memory type for all mappings. Here is the > linux kernel function handling this: It might not be wise to blat out GPLv2 source code in a commit message :) Not that it's a violation of the GPL (we're not linking against it, neither can the patch be considered a derivative work), but it might just be a little too grey-area for a !GPL project. --=20 Pedro -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#114385): https://edk2.groups.io/g/devel/message/114385 Mute This Topic: https://groups.io/mt/103950478/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-