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 347F6D80D4E for ; Fri, 24 May 2024 05:45:38 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=uW8hcPNeJcAowoT8384dqFQN5jQXeEWq7Lemt56rbUQ=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: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=1716529536; v=1; b=4vCEKf9WV2OFbuiLUsVdiXT9BDjIK5gYELnF3cU0hHRlL2Z9kz+WPGxD1oZ+087ugi0U/UEn TLm0VzvL+AgSU/l6VBZT6jr/lSQudSWeXUCab8WhJ0x07MtIIkdHOTZ9mETV5c8AYXeE1Uk+/+g cc9iX9/5OOPz8rFFXkZ7rCM1Ld7d5K0IUozE5v089ysucm9Uas+oCR7St8xqLv+UMrKTnNsf2Of q8h83A9RrrVuMC5J3YpyD6IrSJPyvc43i7E055F2pYtBfGT4UnNhVsenDzL6lv/0EpzmNhmM85Z 8ipBgJns2Do221Rszjs+k7Ju7rGZ1Ap6vOmj1welHWQDQ== X-Received: by 127.0.0.2 with SMTP id 636cYY7687511xZswQd55gpV; Thu, 23 May 2024 22:45:36 -0700 X-Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by mx.groups.io with SMTP id smtpd.web10.9224.1716529530073979504 for ; Thu, 23 May 2024 22:45:30 -0700 X-Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-65894e58b8aso2481342a12.0 for ; Thu, 23 May 2024 22:45:30 -0700 (PDT) X-Gm-Message-State: xyTcRneL5bbidx8CXOkGmArEx7686176AA= X-Google-Smtp-Source: AGHT+IEY3Y9elRi1w7+Ds5PgkvvJGCWLYpgXsuIP973IGsOjN9d/4PTZJ9k8RWGYyy95SjDsjJ5PsA== X-Received: by 2002:a05:6a20:3d95:b0:1ad:7ff5:cb38 with SMTP id adf61e73a8af0-1b212f94555mr1852108637.60.1716529529353; Thu, 23 May 2024 22:45:29 -0700 (PDT) X-Received: from localhost.localdomain (c-67-160-15-86.hsd1.wa.comcast.net. [67.160.15.86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f8fcfe64a4sm471919b3a.158.2024.05.23.22.45.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 22:45:28 -0700 (PDT) From: "Doug Flick via groups.io" X-Google-Original-From: Flickdm To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Sami Mujawar Subject: [edk2-devel] [PATCH v3 15/20] ArmVirtPkg: Move PcdMonitorConduitHvc Date: Thu, 23 May 2024 22:45:07 -0700 Message-Id: <20240524054512.523329-16-douglas.flick@microsoft.com> In-Reply-To: <20240524054512.523329-1-douglas.flick@microsoft.com> References: <20240524054512.523329-1-douglas.flick@microsoft.com> 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: Thu, 23 May 2024 22:45:30 -0700 Resent-From: dougflick@microsoft.com Reply-To: devel@edk2.groups.io,dougflick@microsoft.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: 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=4vCEKf9W; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=groups.io This moves the PcdMonitorConduitHvc from PcdsFeatureFlag.Common to PcdsFixedAtBuild.Common This is a follow on to the previous commit: ArmPkg: Allow SMC/HVC monitor conduit to be specified at runtime ArmVirtQemu may execute at EL2, in which case monitor calls are generally made using SMC instructions instead of HVC instructions. Whether or not this is the case can only be decided at runtime, and so the associated PCD needs to be settable at runtime, if the platform definition chooses so. This implies a boolean PCD, given that a feature PCD is build-time configurable only. Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Sami Mujawar Signed-off-by: Doug Flick [MSFT] --- ArmVirtPkg/ArmVirtKvmTool.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArmVirtPkg/ArmVirtKvmTool.dsc b/ArmVirtPkg/ArmVirtKvmTool.dsc index 20da331966..ae0dd1497f 100644 --- a/ArmVirtPkg/ArmVirtKvmTool.dsc +++ b/ArmVirtPkg/ArmVirtKvmTool.dsc @@ -126,8 +126,6 @@ # Use MMIO for accessing RTC controller registers.=0D gPcAtChipsetPkgTokenSpaceGuid.PcdRtcUseMmio|TRUE=0D =0D - gArmTokenSpaceGuid.PcdMonitorConduitHvc|TRUE=0D -=0D [PcdsFixedAtBuild.common]=0D gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F=0D =0D @@ -167,6 +165,8 @@ #=0D gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16=0D =0D + gArmTokenSpaceGuid.PcdMonitorConduitHvc|TRUE=0D +=0D [PcdsPatchableInModule.common]=0D #=0D # This will be overridden in the code=0D --=20 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119242): https://edk2.groups.io/g/devel/message/119242 Mute This Topic: https://groups.io/mt/106276867/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-