android_kernel_xiaomi_sm8350/arch/ppc/platforms
Benjamin Herrenschmidt 23cb8c297e [PATCH] ppc: Fix timekeeping with HZ=250 on some Mac models
Older Macs which uses the VIA chip timers to calibrate the timebase used
some code that wouldn't work if HZ wasn't divisible by 100...

This fixes it at least for 250.  Not totally perfect but should be
enough for now (so it at least works with the default value which is now
250).

There is still a potential issue with the core using CLOCK_TICK_RATE to
maintain xtime and CLOCK_TICK_RATE value on ppc32 is pure crap, but that
is a different problem, this patch at least brings us back to our
previous situation.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-05 07:33:42 -07:00
..
4xx [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
83xx [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
85xx [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
apus_pci.c
apus_pci.h
apus_setup.c
bseip.h
ccm.h
chestnut.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
chestnut.h
chrp_pci.c [PATCH] ppc32: remove some unnecessary includes of bootmem.h 2005-06-25 16:24:27 -07:00
chrp_pegasos_eth.c
chrp_setup.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
chrp_smp.c
chrp_time.c [PATCH] ppc32: remove use of asm/segment.h 2005-09-13 08:22:28 -07:00
cpci690.c [PATCH] ppc32: cpci690 updates 2005-09-05 00:06:01 -07:00
cpci690.h [PATCH] ppc32: cpci690 updates 2005-09-05 00:06:01 -07:00
est8260.h
ev64260.c
ev64260.h
ev64360.c [PATCH] ppc32: add support for Marvell EV64360BP board 2005-09-05 00:05:59 -07:00
ev64360.h [PATCH] ppc32: add support for Marvell EV64360BP board 2005-09-05 00:05:59 -07:00
fads.h [PATCH] ppc32: add Freescale MPC885ADS board support 2005-07-05 19:18:59 -07:00
gemini_pci.c
gemini_prom.S
gemini_serial.h
gemini_setup.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
gemini.h
hdpu.c [PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions 2005-09-09 14:03:48 -07:00
hdpu.h
hermes.h
ip860.h
ivms8.h
katana.c [PATCH] ppc32: katana updates 2005-09-05 00:06:00 -07:00
katana.h [PATCH] ppc32: katana updates 2005-09-05 00:06:00 -07:00
lantec.h
lite5200.c
lite5200.h
lopec.c
lopec.h
lwmon.h
Makefile [PATCH] ppc32: add support for Marvell EV64360BP board 2005-09-05 00:05:59 -07:00
mbx.h
mpc885ads.h [PATCH] ppc32: add Freescale MPC885ADS board support 2005-07-05 19:18:59 -07:00
mpc5200.c
mvme5100.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
mvme5100.h
pal4_pci.c
pal4_serial.h
pal4_setup.c
pal4.h
pcu_e.h
pmac_backlight.c
pmac_cache.S
pmac_cpufreq.c [PATCH] pmac: fix cpufreq for old tipb 550Mhz 2005-09-30 17:20:20 -07:00
pmac_feature.c [PATCH] ppc32: Add new iBook 12" to PowerMac models table 2005-10-01 17:01:48 -07:00
pmac_low_i2c.c
pmac_nvram.c
pmac_pci.c [PATCH] ppc32: remove some unnecessary includes of bootmem.h 2005-06-25 16:24:27 -07:00
pmac_pic.c [PATCH] swsusp: fix remaining u32 vs. pm_message_t confusion 2005-09-05 00:06:15 -07:00
pmac_pic.h
pmac_setup.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
pmac_sleep.S [PATCH] ppc32: support hotplug cpu on powermacs 2005-09-10 10:15:11 -07:00
pmac_smp.c [PATCH] ppc32: support hotplug cpu on powermacs 2005-09-10 10:15:11 -07:00
pmac_time.c [PATCH] ppc: Fix timekeeping with HZ=250 on some Mac models 2005-10-05 07:33:42 -07:00
powerpmc250.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
powerpmc250.h
pplus.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
pplus.h
pq2ads.c
pq2ads.h [PATCH] ppc32: Support for 82xx PQII on-chip PCI bridge 2005-05-28 16:46:15 -07:00
prep_pci.c
prep_setup.c
prpmc750.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
prpmc750.h
prpmc800.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
prpmc800.h
radstone_ppc7d.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
radstone_ppc7d.h
residual.c
rpx8260.h
rpxclassic.h
rpxhiox.h
rpxlite.h
sandpoint.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
sandpoint.h
sbc82xx.c
sbc82xx.h
sbs8260.h
spruce.c
spruce.h
tqm8xx.h [PATCH] ppc32: Remove board support for SM850 2005-09-05 00:05:55 -07:00
tqm8260_setup.c [PATCH] ppc32: Fix building of TQM8260 board 2005-07-27 16:25:56 -07:00
tqm8260.h