From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 9C216740038 for ; Wed, 19 Jun 2024 05:52:56 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=53vsYE+tnLb3q0In60tVzPDZtyHAVHhDKIialZ3l74Q=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1718776376; v=1; b=IZBCzeDuHnzHhwlSdUDcKSlnBqJxWhCyf0ThWo/3TaeW/dGYJpD46fNPCQY0iMx+QzOoM7BN dLLCGvlybGRHBOr1COodbZIbOTwP0gUxRrIg29MvPU2yk07gk/j9bx8WH7jHGwvonn4t87QF8yI +dDmtdXZb9wUc0dF3Jhsvt5iZN/npkMDgDDZ+QcuJwQoxjnM1a65qqwjHVjNmK+dVxAf7ayvV6N Ug+LBxsN95VXimCfpF6SudP38xiC7lfibeAXMssPBea/+h1jkXSRqZtatvk9/Ph7ShVCZdwXNaI ATPXNs1ncn9nFYBuwJMWcP8pM27xacR+qes7fU+zmvcAA== X-Received: by 127.0.0.2 with SMTP id 4i3gYY7687511xjRnk7dxA8D; Tue, 18 Jun 2024 22:52:54 -0700 X-Received: from muminek.juszkiewicz.com.pl (muminek.juszkiewicz.com.pl [213.251.184.221]) by mx.groups.io with SMTP id smtpd.web11.13900.1718776374045913677 for ; Tue, 18 Jun 2024 22:52:54 -0700 X-Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 790F02619A0; Wed, 19 Jun 2024 07:52:51 +0200 (CEST) X-Virus-Scanned: Debian amavis at juszkiewicz.com.pl X-Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavis, port 10024) with ESMTP id s_CA3bkSoAsT; Wed, 19 Jun 2024 07:52:49 +0200 (CEST) X-Received: from applejack.lan (83.11.22.244.ipv4.supernova.orange.pl [83.11.22.244]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id 1622626018C; Wed, 19 Jun 2024 07:52:48 +0200 (CEST) From: "Marcin Juszkiewicz" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Marcin Juszkiewicz Subject: [edk2-devel] [PATCH edk2-platforms 1/1] QemuSbsa: enable WriteCombine for the FrameBuffer Date: Wed, 19 Jun 2024 07:52:43 +0200 Message-ID: <20240619055243.486686-1-marcin.juszkiewicz@linaro.org> MIME-Version: 1.0 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 Resent-Date: Tue, 18 Jun 2024 22:52:54 -0700 Resent-From: marcin.juszkiewicz@linaro.org Reply-To: devel@edk2.groups.io,marcin.juszkiewicz@linaro.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 01vQDTCZFxzEaAcZDmP44M5Hx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=IZBCzeDu; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linaro.org (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io QEMU no longer permits misaligned access to device memory, which breaks QemuVideoDxe on SbsaQemu. c1d1910be6e04a8b1a73090cf2881fb698947a6e commit in EDK2 fixed it by enabling WriteCombine for Framebuffer memory. This change enables that fix. Signed-off-by: Marcin Juszkiewicz --- Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc b/Platform/Qemu/SbsaQemu= /SbsaQemu.dsc index b012eaa34147..11126bcaa1fe 100644 --- a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc +++ b/Platform/Qemu/SbsaQemu/SbsaQemu.dsc @@ -311,6 +311,9 @@ [PcdsFeatureFlag.common] gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE =20 + # Enable WriteCombine for FrameBuffer + gUefiOvmfPkgTokenSpaceGuid.PcdRemapFrameBufferWriteCombine|TRUE + [PcdsFixedAtBuild.common] gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000 --=20 2.45.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119626): https://edk2.groups.io/g/devel/message/119626 Mute This Topic: https://groups.io/mt/106755714/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-