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 7566E941CC1 for ; Wed, 20 Sep 2023 14:33:28 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=aR35zh4qkaxuiWznK/p72YJe2bhwkDoRA/DBJfX3Bzw=; 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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1695220407; v=1; b=cKZARTX/yKCXd1RIKvHEyiC7/bTD1kFjUylibBWR/5MLwP1sKFPejwHcuRG3eech0y42VOGt PunRubzTvx9en4+gshzO1t2CwmoI97zGOHcInGE6YRysySwRsSAaDU56shfmPOYl2ootNxYPuJ/ rcAj6WLYV4s5owRZmR+4/UyE= X-Received: by 127.0.0.2 with SMTP id tyNIYY7687511xg2XHn5levo; Wed, 20 Sep 2023 07:33:27 -0700 X-Received: from muminek.juszkiewicz.com.pl (muminek.juszkiewicz.com.pl [213.251.184.221]) by mx.groups.io with SMTP id smtpd.web10.41199.1695220405950835287 for ; Wed, 20 Sep 2023 07:33:26 -0700 X-Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 613F52608E0; Wed, 20 Sep 2023 16:33:23 +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 RTbPC8ehxpNS; Wed, 20 Sep 2023 16:33:21 +0200 (CEST) X-Received: from applejack.lan (83.11.3.58.ipv4.supernova.orange.pl [83.11.3.58]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id DD3332601CE; Wed, 20 Sep 2023 16:33:20 +0200 (CEST) From: "Marcin Juszkiewicz" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Graeme Gregory , Marcin Juszkiewicz Subject: [edk2-devel] [PATCH v2 edk2-platforms 0/2] define NS EL2 virtual timer Date: Wed, 20 Sep 2023 16:33:16 +0200 Message-ID: <20230920143318.430456-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 Reply-To: devel@edk2.groups.io,marcin.juszkiewicz@linaro.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: t0ujoT3bod2dwMFVrIwoknupx7686176AA= 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="cKZARTX/"; 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 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Arm BSA (Base System Architecture) specification requires Armv8.1+ cpus to have non-secure EL2 virtual timer. Which we lacked. In previous week I wrote a small patch to QEMU which enabled it for SBSA Reference Platform. Leif Lindholm refactored code around timers to make it more readable. Then he added missing timer into EDK2 ArmPkg and to "virt" platform. This patchset enables NS EL2 virtual timer on SBSA Reference Platform. changes since v1: - GTDT generated from C - NS EL2 virtual timer is disabled for Arm v8.0 cpus=20 Marcin Juszkiewicz (2): Silicon/SbsaQemu: move IORT structures to header file Silicon/SbsaQemu: generate GTDT from C .../Qemu/SbsaQemu/AcpiTables/AcpiTables.inf | 1 - .../SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf | 6 + .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.h | 66 +++++++++ .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 125 ++++++++++++++---- Silicon/Qemu/SbsaQemu/AcpiTables/Gtdt.aslc | 107 --------------- 5 files changed, 174 insertions(+), 131 deletions(-) create mode 100644 Silicon/Qemu/SbsaQemu/Drivers/SbsaQemuAcpiDxe/SbsaQem= uAcpiDxe.h delete mode 100644 Silicon/Qemu/SbsaQemu/AcpiTables/Gtdt.aslc --=20 2.41.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108913): https://edk2.groups.io/g/devel/message/108913 Mute This Topic: https://groups.io/mt/101479611/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-