<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-skiboot/core/test/run-timer.c, branch master</title>
<subtitle>Talos™ II skiboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-skiboot/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-skiboot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/'/>
<updated>2017-12-21T04:15:36+00:00</updated>
<entry>
<title>lock: Add additional lock auditing code</title>
<updated>2017-12-21T04:15:36+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2017-12-20T02:16:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=76d9bcdca58936d761458f8f05960239c4dd8dec'/>
<id>urn:sha1:76d9bcdca58936d761458f8f05960239c4dd8dec</id>
<content type='text'>
Keep track of lock owner name and replace lock_depth counter
with a per-cpu list of locks held by the cpu.

This allows us to print the actual locks held in case we hit
the (in)famous message about opal_pollers being run with a
lock held.

It also allows us to warn (and drop them) if locks are still
held when returning to the OS or completing a scheduled job.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Reviewed-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;
[stewart: fix unit tests]
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>Convert important polling loops to spin at lowest SMT priority</title>
<updated>2017-06-06T10:49:06+00:00</updated>
<author>
<name>Nicholas Piggin</name>
<email>npiggin@gmail.com</email>
</author>
<published>2017-05-22T05:53:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=05b8834b5a4ff9bd14548594700d354bc4486c5c'/>
<id>urn:sha1:05b8834b5a4ff9bd14548594700d354bc4486c5c</id>
<content type='text'>
The pattern of calling cpu_relax() inside a polling loop does
not suit the powerpc SMT priority instructions. Prefrred is to
set a low priority then spin until break condition is reached,
then restore priority.

Signed-off-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;
[stewart@linux.vnet.ibm.com: fixup lpc-uart wait_tx_room() and unit test]
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>Timebase quirk for slow simulators like AWAN and SIMICS</title>
<updated>2016-07-06T09:30:48+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2016-06-24T22:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=7e4d14b364956b6756b62fc5e6ae4b1487e1bc3c'/>
<id>urn:sha1:7e4d14b364956b6756b62fc5e6ae4b1487e1bc3c</id>
<content type='text'>
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 &lt;benh@kernel.crashing.org&gt;
Acked-by: Michael Neuling &lt;mikey@neuling.org&gt;
[stewart@linux.vnet.ibm.com: move cfam_chipid cleanup into own patch]
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>slw/timer: SBE based timer support</title>
<updated>2015-09-11T06:42:17+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@au1.ibm.com</email>
</author>
<published>2015-09-10T00:09:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=9af5751a00faf9ad3fe4b52f56de9bd7835d9bb7'/>
<id>urn:sha1:9af5751a00faf9ad3fe4b52f56de9bd7835d9bb7</id>
<content type='text'>
Recent HostBoot &amp; SBE firmware provide a HW timer facility that can
be used to implement OPAL timers and thus limit the reliance on the
Linux heartbeat.

This implements support for it. The side effect is that i2c from Centaurs
is now usable.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
[stewart@linux.vnet.ibm.com: fix run-timer unit test]
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>timer: Pass current timer to timer callbacks</title>
<updated>2015-09-11T06:32:37+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2015-09-10T00:08:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=b5f05ac337b3495cf506f5492fd053e90ae0bda3'/>
<id>urn:sha1:b5f05ac337b3495cf506f5492fd053e90ae0bda3</id>
<content type='text'>
The caller usually has it and it avoids additional mftb() which
can be expensive.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
[stewart@linux.vnet.ibm.com: fix run-timer unit test]
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>core/test: Fix timer test case</title>
<updated>2014-11-21T21:25:13+00:00</updated>
<author>
<name>Vasant Hegde</name>
<email>hegdevasant@linux.vnet.ibm.com</email>
</author>
<published>2014-11-19T10:06:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=b5cbf94faeafad94ee77f48c7142630897f27517'/>
<id>urn:sha1:b5cbf94faeafad94ee77f48c7142630897f27517</id>
<content type='text'>
Commit b54d1a8 broke timer test case.

core/test/run-timer.c: In function ‘main’:
core/test/run-timer.c:52:3: error: too few arguments to function ‘check_timers’
check_timers();
      ^
In file included from core/test/run-timer.c:16:0:
core/test/../timer.c:201:6: note: declared here
void check_timers(bool from_interrupt)
      ^
make: *** [core/test/run-timer] Error 1

This patch fixes above compilation issue.

Signed-off-by: Vasant Hegde &lt;hegdevasant@linux.vnet.ibm.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>timer: Add scheduled timer facility</title>
<updated>2014-11-07T04:54:22+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2014-11-06T23:02:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=ffecdd630b4ff48c8d5b94da1c8044e0c927c6f2'/>
<id>urn:sha1:ffecdd630b4ff48c8d5b94da1c8044e0c927c6f2</id>
<content type='text'>
For now running off the event pollers, that will improve once we get
delayed interrupts from the SLW

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
</feed>
