From nobody Fri May 17 06:43:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+86313+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+86313+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1643738589; cv=none; d=zohomail.com; s=zohoarc; b=marpAshJtTc5SbM/jK8G1yu6ewuPHIEzs3GNSa0gqfERasV+ySJciKRnJaLJ+2nn5DDgqOpP9rUtyvOmVKM2Qu0GOhqYsk8ZVQi2bZvdtubrhAnABMJg7oV/O/1gX9HLcKUgaRGz4svyYBrO0AIji9Vp2Dhc3u7rctt0FF9JOtI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643738589; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=jzZdC4ixvWRlAOviICpN9S6schYDannjWKSRyX4TKsc=; b=ZUbgJN+Ic5a7uH+oE2VD2kUpzkjBnfhkiwjDK5PQ0lss6h9gbbo8jy6p24D7pf22ZW547XeLdwDfwc/YPAFhbecC1uUSDx6mTklF/RhCb9iEIpb/M9HSUzIaqvoQo1caJdDLkJ/Pc9NChTyk3EyZY77bc9UZJiRYep+hWY4wa/0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+86313+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1643738589956756.4072554160966; Tue, 1 Feb 2022 10:03:09 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id WwwVYY1788612xYqFfGLgQE2; Tue, 01 Feb 2022 10:03:09 -0800 X-Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web12.51982.1643738588422902426 for ; Tue, 01 Feb 2022 10:03:08 -0800 X-Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C649361419; Tue, 1 Feb 2022 18:03:07 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A390C340EB; Tue, 1 Feb 2022 18:03:05 +0000 (UTC) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: pierre.gondois@arm.com, leif@nuviainc.com, Ard Biesheuvel Subject: [edk2-devel] [PATCH] ArmVirtPkg/ArmVirtKvmTool: wire up configurable timeout Date: Tue, 1 Feb 2022 19:03:02 +0100 Message-Id: <20220201180302.743162-1-ardb@kernel.org> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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 X-Gm-Message-State: uvhLweC6bTBpgwzBw7SIb4WZx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1643738589; bh=+tAIZoBHJW5aBxSu0RIXYLbBJU/gNtJq/VUTJc0PJto=; h=Cc:Date:From:Reply-To:Subject:To; b=FNn5KpcxKC0nyYDsF7yc2Uf1/b2l5cQ3Mnqf1daeAm7gqkpt4HWJRz110C5f8Oa6zCa 09HDcqAenNwhtQ9f6PjAbOdWQywu0FHuIPx8vw8/MPJlM3q3pJnp4P194FZcMs9vcjYAR O2ZS1dSGET7ap24b+JGdkJtwR7ChWvL8hWk= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1643738592693100003 Content-Type: text/plain; charset="utf-8" Use the correct PCD type for PcdPlatformBootTimeOut so it gets wired up to the Timeout EFI variable automatically, which is how the boot manager stores the timeout preference. Signed-off-by: Ard Biesheuvel Reviewed-by: Pierre Gondois Reviewed-by: Sami Mujawar --- ArmVirtPkg/ArmVirtKvmTool.dsc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ArmVirtPkg/ArmVirtKvmTool.dsc b/ArmVirtPkg/ArmVirtKvmTool.dsc index a1bf4b9be87b..3bd3ebd6e0b3 100644 --- a/ArmVirtPkg/ArmVirtKvmTool.dsc +++ b/ArmVirtPkg/ArmVirtKvmTool.dsc @@ -170,9 +170,10 @@ [PcdsPatchableInModule.common] =20 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x0 =20 +[PcdsDynamicHii] + gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVar= iableGuid|0x0|5 + [PcdsDynamicDefault.common] - gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3 - gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0 gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x0 gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x0 --=20 2.30.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#86313): https://edk2.groups.io/g/devel/message/86313 Mute This Topic: https://groups.io/mt/88839170/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-