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 276BA7803E5 for ; Tue, 19 Sep 2023 14:14:17 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=aVDp32F1ERZ+N8zV6WypKWnQDWeHs/yBgifdKYcqz9k=; 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; s=20140610; t=1695132856; v=1; b=eV9i6JcQBocYpgOgD2/e4dZyuI6ZQNAmU1kUk9ZjbKUvwF4JpcAzIclmCfT9bK0qusD49jAf Sv1AqabUhl8pWlfzFcHk5OneQew96YA1UWZYp1YO1S8Y4ltOsiMfiKSHtnkVDCqRpICg74ATnTE 4DIyO1MEa84H3glzO4bY5jJU= X-Received: by 127.0.0.2 with SMTP id nplZYY7687511x9xq5nak0X8; Tue, 19 Sep 2023 07:14:16 -0700 X-Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by mx.groups.io with SMTP id smtpd.web10.9551.1695132855894523251 for ; Tue, 19 Sep 2023 07:14:16 -0700 X-Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 0FB73CE129B for ; Tue, 19 Sep 2023 14:14:13 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 559CFC433CB for ; Tue, 19 Sep 2023 14:14:11 +0000 (UTC) X-Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2bffe2840adso42015331fa.2 for ; Tue, 19 Sep 2023 07:14:11 -0700 (PDT) X-Gm-Message-State: Pamnnel0x2D5H3PEQ835ESKcx7686176AA= X-Google-Smtp-Source: AGHT+IHZnHHCIjbBvW3TXTAcBQ/FGLdf6pL9lfMJEjoKA/RjrXY1ccxB1fRl34/zOflTOoiXobYf/dhKByE31VjD85c= X-Received: by 2002:a2e:5c86:0:b0:2bc:c21d:311f with SMTP id q128-20020a2e5c86000000b002bcc21d311fmr7630966ljb.52.1695132849565; Tue, 19 Sep 2023 07:14:09 -0700 (PDT) MIME-Version: 1.0 References: <20230919112015.229479-1-quic_llindhol@quicinc.com> In-Reply-To: <20230919112015.229479-1-quic_llindhol@quicinc.com> From: "Ard Biesheuvel" Date: Tue, 19 Sep 2023 16:13:58 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] [PATCH 0/2] ArmPkg/ArmVirtPkg: handle FEAT_VHE NS-EL2 virtual timer To: devel@edk2.groups.io, quic_llindhol@quicinc.com Cc: Peter Maydell , Ard Biesheuvel , Sami Mujawar 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,ardb@kernel.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=eV9i6JcQ; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=kernel.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 On Tue, 19 Sept 2023 at 13:20, Leif Lindholm wrote: > > 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 > Reviewed-by: Ard Biesheuvel > 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 (#108837): https://edk2.groups.io/g/devel/message/108837 Mute This Topic: https://groups.io/mt/101453745/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-