summaryrefslogtreecommitdiffstats
path: root/include/chip.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-06-25 08:47:35 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-06 19:30:48 +1000
commit7e4d14b364956b6756b62fc5e6ae4b1487e1bc3c (patch)
tree822c2d8da19528bbb0ded69234cce0e4655b84dd /include/chip.h
parentfb43f202ddd86131acf14542c34fbcb9adab45f2 (diff)
downloadblackbird-skiboot-7e4d14b364956b6756b62fc5e6ae4b1487e1bc3c.tar.gz
blackbird-skiboot-7e4d14b364956b6756b62fc5e6ae4b1487e1bc3c.zip
Timebase quirk for slow simulators like AWAN and SIMICS
This will internally pretend the timebase is running 1000 times slower, which reduces some otherwise really terrible delays in some simulators. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Michael Neuling <mikey@neuling.org> [stewart@linux.vnet.ibm.com: move cfam_chipid cleanup into own patch] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/chip.h')
-rw-r--r--include/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/chip.h b/include/chip.h
index 0038814d..45413685 100644
--- a/include/chip.h
+++ b/include/chip.h
@@ -127,6 +127,7 @@ enum proc_chip_quirks {
QUIRK_NO_PBA = 0x00000008,
QUIRK_NO_OCC_IRQ = 0x00000010,
QUIRK_SIMICS = 0x00000020,
+ QUIRK_SLOW_SIM = 0x00000040,
} proc_chip_quirks;
static inline bool chip_quirk(unsigned int q)
OpenPOWER on IntegriCloud