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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
apus_pci.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
apus_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bseip.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ccm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chestnut.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
chestnut.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chrp_pci.c [PATCH] ppc32: remove some unnecessary includes of bootmem.h 2005-06-25 16:24:27 -07:00
chrp_pegasos_eth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chrp_setup.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
chrp_smp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev64260.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev64260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gemini_prom.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gemini_serial.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gemini_setup.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
gemini.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hdpu.c [PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions 2005-09-09 14:03:48 -07:00
hdpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hermes.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip860.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ivms8.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lite5200.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lite5200.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lopec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lopec.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lwmon.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] ppc32: add support for Marvell EV64360BP board 2005-09-05 00:05:59 -07:00
mbx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc885ads.h [PATCH] ppc32: add Freescale MPC885ADS board support 2005-07-05 19:18:59 -07:00
mpc5200.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mvme5100.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
mvme5100.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pal4_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pal4_serial.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pal4_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pal4.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pcu_e.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmac_backlight.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmac_cache.S [PATCH] ppc32: Workaround a cache flush issue on sleep 2005-05-01 18:22:34 -07:00
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 [PATCH] ppc iomem annotations: pmac_low_i2c 2005-04-25 07:55:58 -07:00
pmac_nvram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pplus.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
pplus.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pq2ads.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pq2ads.h [PATCH] ppc32: Support for 82xx PQII on-chip PCI bridge 2005-05-28 16:46:15 -07:00
prep_pci.c [PATCH] ppc32: Make the Powerstack II Pro4000 boot again 2005-04-16 15:24:26 -07:00
prep_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prpmc750.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
prpmc750.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prpmc800.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
prpmc800.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
radstone_ppc7d.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
radstone_ppc7d.h [PATCH] ppc32: fix for misreported SDRAM size on Radstone PPC7D platform 2005-05-01 08:58:40 -07:00
residual.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpx8260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpxclassic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpxhiox.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpxlite.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sandpoint.c [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
sandpoint.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbc82xx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbc82xx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbs8260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
spruce.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
spruce.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00