timer: Add High Precision Event Timers (HPET) support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest posting 2/22 patches 0 repliesNew
- v6 posting 1/21 patch 0 repliesSuperseded
- v52 patches 0 repliesSuperseded
Earlier versions · 10
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 posting 2/2 | 1 patch | 0 replies | Superseded | |
| v4 posting 1/2 | 1 patch | 0 replies | Superseded | |
| v2 posting 5/5 | 1 patch | 0 replies | Superseded | |
| v2 posting 4/5 | 1 patch | 0 replies | Superseded | |
| v2 posting 3/5 | 1 patch | 0 replies | Superseded | |
| v3 posting 2/2 | 1 patch | 0 replies | Superseded | |
| v3 posting 1/2 | 1 patch | 0 replies | Superseded | |
| v2 posting 2/5 | 1 patch | 0 replies | Superseded | |
| v2 posting 1/5 | 1 patch | 0 replies | Superseded | |
| v1 | 1 patch | 0 replies | Superseded |
Changes in v6 from the cover letter
Added TSC-specific timer functions to use instead of early timer in the code that specifically needs TSC.
Patches in v6 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86: Add TSC-specific timer functionsarch/ arch/ arch/ +1 more | +32 | 3 replies | |
| 1/2 | x86: Add TSC-specific timer functions | +0 | 1 reply | |
| 1/2 | x86: Add TSC-specific timer functions | +0 | 3 replies | |
| 2/2 | timer: Add High Precision Event Timers (HPET) supportarch/ arch/ arch/ +5 more | +257 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.
Cover letter [U-Boot] [PATCH v6 0/2] timer: Add High Precision Event Timers (HPET) support
Add HPET driver as an alternative timer for x86 (default is TSC). HPET counter has constant frequency and does not need calibration. This change also makes TSC timer driver optional on x86. New HPET driver can also be selected as the early timer on x86.
v6:
Added TSC-specific timer functions to use instead of early timer in the code that specifically needs TSC.
v5:
Using readq() and writeq() for main counter access.
v3:
Added early timer choice in x86 Kconfig.
Ivan Gorinov (2):
x86: Add TSC-specific timer functions
timer: Add High Precision Event Timers (HPET) support
arch/Kconfig | 1 + arch/x86/Kconfig | 21 ++++ arch/x86/cpu/coreboot/timestamp.c | 2 +- arch/x86/cpu/quark/mrc_util.c | 13 ++- arch/x86/dts/hpet.dtsi | 7 ++ arch/x86/include/asm/u-boot-x86.h | 2 +- common/Kconfig | 1 + drivers/timer/Kconfig | 9 ++ drivers/timer/Makefile | 1 + drivers/timer/hpet_timer.c | 209 ++++++++++++++++++++++++++++++++++++++ drivers/timer/tsc_timer.c | 39 +++++-- 11 files changed, 288 insertions(+), 17 deletions(-) create mode 100644 arch/x86/dts/hpet.dtsi create mode 100644 drivers/timer/hpet_timer.c
Signature · 1 line
2.7.4