diff options
author | Sunil V L <sunilvl@ventanamicro.com> | 2023-06-24 03:41:57 +0530 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-01-11 12:07:42 +0000 |
commit | f91029947b748d16e07d7bc68e94ba6f5dcd528b (patch) | |
tree | 8881d0388dfbed4a3f9793ddf475bcb03191c4c9 /OvmfPkg | |
parent | 8ae17a71afc31410e50d86d008c2a7b9df1a7d22 (diff) | |
download | edk2-f91029947b748d16e07d7bc68e94ba6f5dcd528b.zip edk2-f91029947b748d16e07d7bc68e94ba6f5dcd528b.tar.gz edk2-f91029947b748d16e07d7bc68e94ba6f5dcd528b.tar.bz2 |
UefiCpuPkg/CpuTimerDxeRiscV64: Add support for Sstc
Sstc extension allows to program the timer and receive the interrupt
without using an SBI call. This reduces the latency to generate the timer
interrupt. So, detect whether Sstc extension is supported and use the
stimecmp register directly to program the timer interrupt.
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Andrei Warkentin <andrei.warkentin@intel.com>
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Andrei Warkentin <andrei.warkentin@intel.com>
Reviewed-by: Dhaval Sharma <dhaval@rivosinc.com>
Diffstat (limited to 'OvmfPkg')
0 files changed, 0 insertions, 0 deletions