diff options
author | Jacob Pan <jacob.jun.pan@intel.com> | 2009-09-02 10:37:17 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-24 14:01:21 -0500 |
commit | bb24c4716185f6e116c440462c65c1f56649183b (patch) | |
tree | 70af8cb5932207d0b16330f47829bbf084f7b04e /arch/x86/Kconfig | |
parent | cf089455966e21aeb8e4cd2669e0c1885667b04e (diff) |
x86, apbt: Moorestown APB system timer driver
Moorestown platform does not have PIT or HPET platform timers. Instead it
has a bank of eight APB timers. The number of available timers to the os
is exposed via SFI mtmr tables. All APB timer interrupts are routed via
ioapic rtes and delivered as MSI.
Currently, we use timer 0 and 1 for per cpu clockevent devices, timer 2
for clocksource.
Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
LKML-Reference: <43F901BD926A4E43B106BF17856F0755A318D2D2@orsmsx508.amr.corp.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index eb4092568f9e..0ab2dcef7d84 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -390,6 +390,7 @@ config X86_MRST | |||
390 | bool "Moorestown MID platform" | 390 | bool "Moorestown MID platform" |
391 | depends on X86_32 | 391 | depends on X86_32 |
392 | depends on X86_EXTENDED_PLATFORM | 392 | depends on X86_EXTENDED_PLATFORM |
393 | select APB_TIMER | ||
393 | ---help--- | 394 | ---help--- |
394 | Moorestown is Intel's Low Power Intel Architecture (LPIA) based Moblin | 395 | Moorestown is Intel's Low Power Intel Architecture (LPIA) based Moblin |
395 | Internet Device(MID) platform. Moorestown consists of two chips: | 396 | Internet Device(MID) platform. Moorestown consists of two chips: |
@@ -612,6 +613,16 @@ config HPET_EMULATE_RTC | |||
612 | def_bool y | 613 | def_bool y |
613 | depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y) | 614 | depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y) |
614 | 615 | ||
616 | config APB_TIMER | ||
617 | def_bool y if MRST | ||
618 | prompt "Langwell APB Timer Support" if X86_MRST | ||
619 | help | ||
620 | APB timer is the replacement for 8254, HPET on X86 MID platforms. | ||
621 | The APBT provides a stable time base on SMP | ||
622 | systems, unlike the TSC, but it is more expensive to access, | ||
623 | as it is off-chip. APB timers are always running regardless of CPU | ||
624 | C states, they are used as per CPU clockevent device when possible. | ||
625 | |||
615 | # Mark as embedded because too many people got it wrong. | 626 | # Mark as embedded because too many people got it wrong. |
616 | # The code disables itself when not needed. | 627 | # The code disables itself when not needed. |
617 | config DMI | 628 | config DMI |