Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32e8d186 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

Merge branches 'timers/clocksource', 'timers/hpet', 'timers/hrtimers',...

Merge branches 'timers/clocksource', 'timers/hpet', 'timers/hrtimers', 'timers/nohz', 'timers/ntp', 'timers/posixtimers' and 'timers/rtc' into timers/core
Loading
+1 −1
Original line number Diff line number Diff line
@@ -482,7 +482,7 @@ config HPET_TIMER
         The HPET provides a stable time base on SMP
         systems, unlike the TSC, but it is more expensive to access,
         as it is off-chip.  You can find the HPET spec at
         <http://www.intel.com/hardwaredesign/hpetspec.htm>.
         <http://www.intel.com/hardwaredesign/hpetspec_1.pdf>.

         You can safely choose Y here.  However, HPET will only be
         activated if the platform and the BIOS support this feature.
+4 −3
Original line number Diff line number Diff line
@@ -811,7 +811,7 @@ int __init hpet_enable(void)

out_nohpet:
	hpet_clear_mapping();
	boot_hpet_disable = 1;
	hpet_address = 0;
	return 0;
}

@@ -834,9 +834,10 @@ static __init int hpet_late_init(void)

		hpet_address = force_hpet_address;
		hpet_enable();
	}

	if (!hpet_virt_address)
		return -ENODEV;
	}

	hpet_reserve_platform_timers(hpet_readl(HPET_ID));

+2 −0
Original line number Diff line number Diff line
@@ -168,6 +168,8 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_31,
			 ich_force_enable_hpet);
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH8_1,
			 ich_force_enable_hpet);
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH8_4,
			 ich_force_enable_hpet);
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH9_7,
			 ich_force_enable_hpet);

+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@
/*
 * The High Precision Event Timer driver.
 * This driver is closely modelled after the rtc.c driver.
 * http://www.intel.com/hardwaredesign/hpetspec.htm
 * http://www.intel.com/hardwaredesign/hpetspec_1.pdf
 */
#define	HPET_USER_FREQ	(64)
#define	HPET_DRIFT	(500)
+5 −5
Original line number Diff line number Diff line
@@ -57,11 +57,6 @@ u32 acpi_pm_read_verified(void)
	return v2;
}

static cycle_t acpi_pm_read_slow(void)
{
	return (cycle_t)acpi_pm_read_verified();
}

static cycle_t acpi_pm_read(void)
{
	return (cycle_t)read_pmtmr();
@@ -88,6 +83,11 @@ static int __init acpi_pm_good_setup(char *__str)
}
__setup("acpi_pm_good", acpi_pm_good_setup);

static cycle_t acpi_pm_read_slow(void)
{
	return (cycle_t)acpi_pm_read_verified();
}

static inline void acpi_pm_need_workaround(void)
{
	clocksource_acpi_pm.read = acpi_pm_read_slow;
Loading