public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Nate DeSimone" <nathaniel.l.desimone@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"benjamin.doron00@gmail.com" <benjamin.doron00@gmail.com>,
	"Ma, Hua" <hua.ma@intel.com>
Subject: Re: [edk2-devel] [PATCH] UefiPayloadPkg: Add macro to enable selection of timer
Date: Wed, 10 Jan 2024 01:28:08 +0000	[thread overview]
Message-ID: <MW4PR11MB58212CB14D2811E1D52A4AB9CD692@MW4PR11MB5821.namprd11.prod.outlook.com> (raw)
In-Reply-To: <24957.1704844092297415916@groups.io>

[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]

Hi Benjamin,

We consider using the LAPIC as a timer to be technically superior because it is closer to the CPU. The HPET is a PCH device, which means all access to the timer needs go from CPU -> Home Agent -> Fabric/IO Ring -> DMI Controller -> PCH. Using the LAPIC cuts this path to just the Home Agent. That reduces access latency, which for a timer means higher resolution.

Hope that helps,
Nate

From: devel@edk2.groups.io <devel@edk2.groups.io> on behalf of Benjamin Doron <benjamin.doron00@gmail.com>
Date: Tuesday, January 9, 2024 at 3:48 PM
To: Ma <>, Ma, Hua <Hua.Ma@intel.com>, devel@edk2.groups.io <devel@edk2.groups.io>
Subject: Re: [edk2-devel] [PATCH] UefiPayloadPkg: Add macro to enable selection of timer
Hi,
Are there platforms that will use this? What advantages does using the LAPIC as a timer offer? Thanks.

Regards,
Benjamin



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#113504): https://edk2.groups.io/g/devel/message/113504
Mute This Topic: https://groups.io/mt/103538255/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 4692 bytes --]

  reply	other threads:[~2024-01-10  1:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-05  5:38 [edk2-devel] [PATCH] UefiPayloadPkg: Add macro to enable selection of timer Ma, Hua
2024-01-09 23:48 ` Benjamin Doron
2024-01-10  1:28   ` Nate DeSimone [this message]
2024-01-10  2:09     ` Benjamin Doron
2024-01-10  1:27 ` Nate DeSimone
     [not found] <17A75CEA85AC7172.16812@groups.io>
2024-01-05  6:19 ` Ma, Hua
2024-01-05  8:20   ` Guo, Gua

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MW4PR11MB58212CB14D2811E1D52A4AB9CD692@MW4PR11MB5821.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox