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 24FC0D80281 for ; Tue, 19 Sep 2023 11:20:29 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=xmKHDLFoXDJEVLPpVgI9u0OUElCR0l+lLFpVZCI6OuQ=; 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:Content-Type; s=20140610; t=1695122428; v=1; b=gCqS/6L9S/6iP9ro+LsuAbfISSwPyKul4w8xIna2/Idu194laWzTcFSoG8my0hZpl8wzfvl8 AbDmER6e1SZKpTLxrL2IySiK4sugOZuRuZPXNMkuLr9PPIRpZrNjC8XAoDmeAquK2B4jFEjuyna d3h32WxHJI6UJGPxpnf4RxR0= X-Received: by 127.0.0.2 with SMTP id CDrkYY7687511xd5c86IO3bZ; Tue, 19 Sep 2023 04:20:28 -0700 X-Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by mx.groups.io with SMTP id smtpd.web10.5886.1695122428161969440 for ; Tue, 19 Sep 2023 04:20:28 -0700 X-Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38J9GAbL024874; Tue, 19 Sep 2023 11:20:24 GMT X-Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t78upg6yb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Sep 2023 11:20:24 +0000 X-Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38JBKOWC016850 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Sep 2023 11:20:24 GMT X-Received: from qc-i7.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Tue, 19 Sep 2023 04:20:22 -0700 From: "Leif Lindholm" To: CC: Peter Maydell , Ard Biesheuvel , Sami Mujawar Subject: [edk2-devel] [PATCH 0/2] ArmPkg/ArmVirtPkg: handle FEAT_VHE NS-EL2 virtual timer Date: Tue, 19 Sep 2023 12:20:13 +0100 Message-ID: <20230919112015.229479-1-quic_llindhol@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-GUID: QX_McEIKRtfu99yG40y1Q_mvW_3CI9I_ X-Proofpoint-ORIG-GUID: QX_McEIKRtfu99yG40y1Q_mvW_3CI9I_ 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,quic_llindhol@quicinc.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: CL1O7eg6aPZHzhlmPi3e1jUdx7686176AA= Content-Transfer-Encoding: 8bit Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="gCqS/6L9"; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=quicinc.com (policy=none) An ASSERT trips when we try to add the NS-EL2 virtual timer to qemu mach-virt. Add a new Pcd for the new private peripheral interrupt id, PcdArmArchTimerHypVirtIntrNum. Update ArmVirtTimerFdtClientLib to: - Only assert on receiving less information that required through DT. - Set PcdArmArchTimerHypVirtIntrNum if provided through DT. Reported-by: Peter Maydell Cc: Ard Biesheuvel Cc: Sami Mujawar Leif Lindholm (2): ArmPkg: add EL2 virtual timer interrupt Pcd ArmVirtPkg: handle virtual EL2 timer in DT ArmPkg/ArmPkg.dec | 1 + ArmVirtPkg/ArmVirtQemu.dsc | 1 + ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.inf | 1 + ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.c | 13 +++++++++---- 4 files changed, 12 insertions(+), 4 deletions(-) -- 2.30.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108823): https://edk2.groups.io/g/devel/message/108823 Mute This Topic: https://groups.io/mt/101453745/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/xyzzy [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-