zephyr/tests/kernel
Andy Ross 39b2a09f38 drivers/timer: New xtensa timer with tickless support
Rewritten Xtensa CCOUNT driver along the lines of all the other new
drivers.  The new API permits much smaller code.

Notably: The Xtensa counter is a 32 bit up-counter with a comparator
register.  It's in some sense the archetype of this kind of timer as
it's the simplest of the bunch (everything else has quirks: NRF is
very slow and 24 bit, HPET has a runtime frequency detection, RISC-V
is 64 bit...).  I should have written this one first.

Note also that this includes a blacklist of the xtensa architecture on
the tests/driver/ipm test.  I'm getting spurious failures there where
a k_sem_take() call with a non-zero timeout is being made out of the
console output code in interrupt context.  This seems to have nothing
to do with the timer; I suspect it's because the old timer drivers
would (incorrectly!) call z_clock_announce() in non-interrupt context
in some contexts (e.g. "expiring really soon").  Apparently this test
(or something in the IPM or Xtensa console code) was somehow relying
on that on Xtensa.  But IPM is a Quark thing and there's no particular
reason to run this test there.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-11-13 17:10:07 -05:00
..
alert/alert_api samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
arm_irq_vector_table samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
arm_runtime_nmi samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
boot_page_table samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
common drivers/timer: Add a standard workaround for known qemu issues 2018-11-13 17:10:07 -05:00
context drivers/timer: New xtensa timer with tickless support 2018-11-13 17:10:07 -05:00
critical samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
device tests: kernel: test force suspend of device 2018-11-10 13:50:42 -05:00
early_sleep samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
errno samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
fatal samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
fifo samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
fp_sharing samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
gen_isr_table samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
init samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
interrupt tests/kernel/interrupt: Shrink very long k_busy_wait() argument 2018-11-13 17:10:07 -05:00
irq_offload samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
lifo samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
mbox samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
mem_heap/mheap_api_concept samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
mem_pool samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
mem_protect tests: kernel: userspace: minor typo fixes 2018-11-06 16:14:41 -05:00
mem_slab samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
mp samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
msgq/msgq_api samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
mutex samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
obj_tracing samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
pending samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
pipe samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
poll kernel: Change k_poll_signal api 2018-11-04 11:37:24 -05:00
profiling/profiling_api samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
queue samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
sched drivers/timer: Add a standard workaround for known qemu issues 2018-11-13 17:10:07 -05:00
semaphore samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
sleep drivers/timer: Add a standard workaround for known qemu issues 2018-11-13 17:10:07 -05:00
smp samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
spinlock samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
stack samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
static_idt samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
threads tests: kernel: Validate set thread name to current thread 2018-10-29 10:17:10 -04:00
tickless tests: kernel: tickless: Bugfix for POSIX arch in TICKLESS 2018-11-13 09:19:03 -05:00
timer drivers/timer: Add a standard workaround for known qemu issues 2018-11-13 17:10:07 -05:00
workq drivers/timer: Add a standard workaround for known qemu issues 2018-11-13 17:10:07 -05:00
xip samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00