public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] UefiCpuPkg: ApicLib
@ 2017-07-01  0:41 Leo Duran
  2017-07-01  0:41 ` Leo Duran
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Duran @ 2017-07-01  0:41 UTC (permalink / raw)
  To: edk2-devel; +Cc: Leo Duran

Now that we have a function to detect AMD processors:
1) SendInitSipiSipi ()
   Skip repeating SendIpi () on AMD processor.
    
2) SendInitSipiSipiAllExcludingSelf ()
   Skip repeating SendIpi () on AMD processor.
    
3) GetProcessorLocationByApicId ()
   Adjust InitialApicId to properly concatenate Package on AMD processor.
   Clean-ups on C Coding standards.

Leo Duran (1):
  UefiCpuPkg: ApicLib

 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c     | 50 ++++++++++++++--------
 .../BaseXApicX2ApicLib/BaseXApicX2ApicLib.c        | 48 +++++++++++++--------
 2 files changed, 61 insertions(+), 37 deletions(-)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH] UefiCpuPkg: ApicLib
@ 2017-08-01 19:35 Leo Duran
  2017-08-01 19:35 ` Leo Duran
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Duran @ 2017-08-01 19:35 UTC (permalink / raw)
  To: edk2-devel; +Cc: Leo Duran

Ths patch uses the max possible thread count on AMD processors to
decode location data without modification of the InitialApicId.
Functionality scales better, and the code is much easier to understand.

Leo Duran (1):
  UefiCpuPkg: ApicLib

 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c     | 64 ++++++----------------
 .../BaseXApicX2ApicLib/BaseXApicX2ApicLib.c        | 64 ++++++----------------
 2 files changed, 32 insertions(+), 96 deletions(-)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-04  5:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-01  0:41 [PATCH] UefiCpuPkg: ApicLib Leo Duran
2017-07-01  0:41 ` Leo Duran
  -- strict thread matches above, loose matches on Subject: below --
2017-08-01 19:35 Leo Duran
2017-08-01 19:35 ` Leo Duran
2017-09-04  5:09   ` Gao, Liming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox