android_kernel_xiaomi_sm7250/arch/x86_64
Clemens Ladisch 5f819949ee [PATCH] hpet-RTC: fix timer config register accesses
Make sure that the RTC timer is in non-periodic mode; some stupid BIOS might
have initialized it to periodic mode.

Furthermore, don't set the SETVAL bit in the config register.  This wouldn't
have any effect unless the timer was in period mode (which it isn't), and then
the actual timer frequency would be half that of the desired one because
incrementing the comparator in the interrupt handler would be done after the
hardware has already incremented it itself.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:29 -08:00
..
boot [PATCH] x86-64: Fix gcc 4 warnings about pointer signedness 2005-09-12 10:50:56 -07:00
crypto [PATCH] x86_64: add MODULE_ALIAS for aes 2005-08-08 15:29:13 -07:00
ia32 [PATCH] Remove orphaned TIOCGDEV compat ioctl 2005-10-30 17:37:25 -08:00
kernel [PATCH] hpet-RTC: fix timer config register accesses 2005-10-30 17:37:29 -08:00
lib [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
mm [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci [PATCH] x86-64: Use ACPI PXM to parse PCI<->node assignments 2005-09-12 10:49:57 -07:00
defconfig [PATCH] x86-64: Update defconfig 2005-09-12 10:49:55 -07:00
Kconfig [PATCH] update URL for HPET spec. 2005-09-21 10:12:18 -07:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile kbuild: alpha,x86_64 use generic asm-offsets.h support 2005-09-09 21:28:48 +02:00