From: "Liming Gao" <liming.gao@intel.com>
To: "Kuo, Donald" <donald.kuo@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>,
"lersek@redhat.com" <lersek@redhat.com>,
"Dong, Eric" <eric.dong@intel.com>
Cc: "Ni, Ray" <ray.ni@intel.com>, "Zeng, Star" <star.zeng@intel.com>,
"Chan, Amy" <amy.chan@intel.com>,
"Chaganty, Rangasai V" <rangasai.v.chaganty@intel.com>,
"Lai, Luke" <luke.lai@intel.com>,
"Li, Kevin Y" <kevin.y.li@intel.com>,
"leif.lindholm@linaro.org" <leif.lindholm@linaro.org>,
"afish@apple.com" <afish@apple.com>,
"Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] [PATCH] UefiCpuPkg: Adding a new TSC library by using CPUID(0x15) TSC leaf
Date: Tue, 20 Aug 2019 11:56:29 +0000 [thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4D7D9D@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <FDA095DBC50560498153B1BF30526B9FA14F5F35@SHSMSX108.ccr.corp.intel.com>
Donald:
Thanks for your update. If no other comment, I will help push this patch tomorrow.
Thanks
Liming
> -----Original Message-----
> From: Kuo, Donald
> Sent: Tuesday, August 20, 2019 3:22 PM
> To: Gao, Liming <liming.gao@intel.com>; devel@edk2.groups.io; lersek@redhat.com; Dong, Eric <eric.dong@intel.com>
> Cc: Ni, Ray <ray.ni@intel.com>; Zeng, Star <star.zeng@intel.com>; Chan, Amy <amy.chan@intel.com>; Chaganty, Rangasai V
> <rangasai.v.chaganty@intel.com>; Lai, Luke <luke.lai@intel.com>; Li, Kevin Y <kevin.y.li@intel.com>; leif.lindholm@linaro.org;
> afish@apple.com; Kinney, Michael D <michael.d.kinney@intel.com>
> Subject: RE: [edk2-devel] [PATCH] UefiCpuPkg: Adding a new TSC library by using CPUID(0x15) TSC leaf
>
> Hi Liming,
>
> Done.
>
> Patch is attached to https://bugzilla.tianocore.org/show_bug.cgi?id=1909
>
> Another BZ to apply CpuTimerLib will be tracking on: https://bugzilla.tianocore.org/show_bug.cgi?id=2096
>
> Thanks,
> Donald
>
> > -----Original Message-----
> > From: Gao, Liming
> > Sent: Tuesday, August 20, 2019 2:51 PM
> > To: Kuo, Donald <donald.kuo@intel.com>; devel@edk2.groups.io;
> > lersek@redhat.com; Dong, Eric <eric.dong@intel.com>
> > Cc: Ni, Ray <ray.ni@intel.com>; Zeng, Star <star.zeng@intel.com>; Chan,
> > Amy <amy.chan@intel.com>; Chaganty, Rangasai V
> > <rangasai.v.chaganty@intel.com>; Lai, Luke <luke.lai@intel.com>; Li, Kevin
> > Y <kevin.y.li@intel.com>; leif.lindholm@linaro.org; afish@apple.com; Kinney,
> > Michael D <michael.d.kinney@intel.com>
> > Subject: RE: [edk2-devel] [PATCH] UefiCpuPkg: Adding a new TSC library by
> > using CPUID(0x15) TSC leaf
> >
> > Donald:
> > Please also attach the patch linker in BZs.
> >
> > And, please submit another BZ for edk2-
> > platforms\Platform\Intel\KabylakeOpenBoardPkg to apply this new library
> > instance.
> >
> > Thanks
> > Liming
> > >-----Original Message-----
> > >From: Kuo, Donald
> > >Sent: Tuesday, August 20, 2019 10:44 AM
> > >To: devel@edk2.groups.io; lersek@redhat.com; Gao, Liming
> > ><liming.gao@intel.com>; Dong, Eric <eric.dong@intel.com>
> > >Cc: Ni, Ray <ray.ni@intel.com>; Zeng, Star <star.zeng@intel.com>; Chan,
> > >Amy <amy.chan@intel.com>; Chaganty, Rangasai V
> > ><rangasai.v.chaganty@intel.com>; Lai, Luke <luke.lai@intel.com>; Li,
> > >Kevin Y <kevin.y.li@intel.com>; leif.lindholm@linaro.org;
> > >afish@apple.com; Kinney, Michael D <michael.d.kinney@intel.com>
> > >Subject: RE: [edk2-devel] [PATCH] UefiCpuPkg: Adding a new TSC library
> > >by using CPUID(0x15) TSC leaf
> > >
> > >Thanks Laszlo help to review and great feedbacks. That we did miss to fulfil
> > BZ.
> > >
> > >I had updated Bugzilla
> > >https://bugzilla.tianocore.org/show_bug.cgi?id=1909
> > >for more documentation.
> > >
> > >As I know for the edk2-platforms should be consumed as KBL (7th
> > >Generation) platform in Client, and this feature based on SDM is
> > >supported on SKL (6th Generation, Family 06h) onwards. So it's ok to
> > >use as TimerLib instances for edk2-platforms.
> > >
> > >And I think the library is new instances for TimerLib for supported
> > >CPU, and those non-supported CPU will still keep using AcpiTimerlib as
> > >TimerLib instances.
> > >
> > >Thanks,
> > >Donald
> > >
> > >> -----Original Message-----
> > >> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> > >> Laszlo Ersek
> > >> Sent: Saturday, August 17, 2019 4:40 AM
> > >> To: Gao, Liming <liming.gao@intel.com>; Kuo, Donald
> > >> <donald.kuo@intel.com>; Dong, Eric <eric.dong@intel.com>;
> > >> devel@edk2.groups.io
> > >> Cc: Ni, Ray <ray.ni@intel.com>; Zeng, Star <star.zeng@intel.com>;
> > >> Chan, Amy <amy.chan@intel.com>; Chaganty, Rangasai V
> > >> <rangasai.v.chaganty@intel.com>; Lai, Luke <luke.lai@intel.com>; Li,
> > >> Kevin Y <kevin.y.li@intel.com>; leif.lindholm@linaro.org;
> > >> afish@apple.com;
> > >Kinney,
> > >> Michael D <michael.d.kinney@intel.com>
> > >> Subject: Re: [edk2-devel] [PATCH] UefiCpuPkg: Adding a new TSC
> > >> library by using CPUID(0x15) TSC leaf
> > >>
> > >> On 08/16/19 18:16, Laszlo Ersek wrote:
> > >> > On 08/15/19 06:02, Gao, Liming wrote:
> > >> >> Donald: This change is a new feature. Now, it is not in edk2
> > >> >> feature planning list. If you want to catch it into 201908 stable
> > >> >> tag, please get approve from Stewards first. I have cc this mail to all
> > Stewards.
> > >> > - I don't mind adding a new feature, as long as it gets properly
> > >> > reviewed by package owners before we enter the soft feature freeze.
> > >> >
> > >> > - Looking at the BZ
> > >> > <https://bugzilla.tianocore.org/show_bug.cgi?id=1909>, a bit more
> > >> > documentation would be nice.
> > >> >
> > >> > - On the negative side, I'm very much *not* a fan of adding
> > >> > features to the open source edk2 tree without actually *consuming*
> > >> > the feature in an open source tree. Are the new library instances
> > >> > going to be put to use in edk2-platforms, perhaps?
> > >> >
> > >> > We discussed this topic earlier on some of the stewards' calls. On
> > >> > one hand, it's not uncommon to see library instances from Intel
> > >> > enter core
> > >> > edk2 packages without any dependent platform code, or even a
> > >> > detailed problem statement / purpose description (see e.g. commit
> > >> > 5c9bb86f171c and its surrounding commits). On the other hand,
> > >> > attempts in the past, to add libraries with well demonstrated and
> > >> > direct in-tree use cases, to
> > >> > edk2 core, have been rejected, from other submitters. (Here's one
> > >> > example: <https://bugzilla.tianocore.org/show_bug.cgi?id=957>.) I'm
> > >> > not prying at proprietary platform information, but a new library
> > >> > added to
> > >> > edk2 core *should* be well-justified.
> > >> >
> > >> > The commit message on this patch is empty. It only references
> > >> > <https://bugzilla.tianocore.org/show_bug.cgi?id=1909>. And if I
> > >> > open the BZ, this is all I get:
> > >> >
> > >> > Need a new TSC library to check the CPUID leaf (EAX=0x15) for TSC.
> > >> > For new platform (start from SKL) can use CPUID and retire/remove
> > >> > the current override from AcpiTimerLib.
> > >> >
> > >> > Does this read like an actual feature request? (TimerLib is an
> > >> > MdePkg library class, so not exactly "niche".)
> > >>
> > >> In comparison, the following email does read like a feature request:
> > >>
> > >> [edk2-devel] Determining TSC frequency programmatically
> > >> https://edk2.groups.io/g/devel/message/45750
> > >> http://mid.mail-archive.com/8EC14D0D-DFA5-412D-A4E1-
> > >> 4D641576D58E@protonmail.com
> > >>
> > >> If the posting is related to TianoCore#1909, then I urge the BZ
> > >> assignee to please reference the message in the TianoCore BZ.
> > >>
> > >> Thanks
> > >> Laszlo
> > >>
> > >>
next prev parent reply other threads:[~2019-08-20 11:56 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-13 10:53 [PATCH] UefiCpuPkg: Adding a new TSC library by using CPUID(0x15) TSC leaf Donald Kuo
2019-08-15 2:45 ` [edk2-devel] " Dong, Eric
2019-08-15 3:02 ` Donald Kuo
2019-08-15 4:02 ` Liming Gao
2019-08-15 4:40 ` Donald Kuo
2019-08-16 16:16 ` Laszlo Ersek
2019-08-16 20:40 ` Laszlo Ersek
2019-08-20 2:43 ` Donald Kuo
2019-08-20 6:51 ` Liming Gao
2019-08-20 7:21 ` Donald Kuo
2019-08-20 11:56 ` Liming Gao [this message]
2019-08-20 14:00 ` Zeng, Star
2019-08-21 13:45 ` Liming Gao
2019-08-21 14:54 ` Donald Kuo
-- strict thread matches above, loose matches on Subject: below --
2019-08-15 4:37 Donald Kuo
2019-08-15 7:20 ` [edk2-devel] " Vitaly Cheptsov
2019-08-15 8:40 ` Donald Kuo
2019-08-15 12:09 ` Vitaly Cheptsov
2019-08-15 16:23 ` Michael D Kinney
2019-08-16 6:56 ` Donald Kuo
2019-08-16 8:07 ` Vitaly Cheptsov
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=4A89E2EF3DFEDB4C8BFDE51014F606A14E4D7D9D@SHSMSX104.ccr.corp.intel.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