zephyr/boards/x86
Andy Ross 25863549be kernel: Remove clock_always_on control from k_busy_wait()
This feature was a useless noop based on mistaken API understanding.

The idea seems to have been that k_busy_wait() included guards to
ensure "clock_always_on" was true duing the loop, presumably because
the original author was afraid that "turning the clock off" would
affect the operation of k_cycle_get_32().

Then later someone came around and "optimized" this for Quark SE,
where the cycle counter is the RTC and unrelated to the timer driver
used by the clock_always_on feature.  (Except even there it presumably
should have been done at the SoC level and not just in the C1000
devboard -- note that Arduino 101 never would have gotten this).

But it was all a mistake: "clock_always_on" has nothing to do with
en/disabling the system cycle timer (which never happens when the
system is active, that's a feature of idle), it's a control over the
delivery of timer interrupts.  And needless to say we don't care about
timer interrupts when we're spinning on a cycle counter.

Yank the whole mess.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-10-16 15:03:10 -04:00
..
arduino_101 boards: x86: Convert boards to use device tree for LEDs & Buttons 2018-10-09 11:48:54 -04:00
common/scripts boards/x86: scripts: extend build_grub.sh for 64-bit UEFI 2018-07-17 16:27:52 -04:00
galileo boards: Remove redundant "select HAS_DTS_I2C" 2018-09-27 05:54:54 +05:30
minnowboard dts: Use new DT_SIZE_{K,M} macros 2018-09-15 09:23:07 -05:00
qemu_x86 boards/qemu_x86: Rename dts.fixup to dts_fixup.h 2018-10-10 13:57:02 +03:00
quark_d2000_crb boards: x86: Convert boards to use device tree for LEDs & Buttons 2018-10-09 11:48:54 -04:00
quark_se_c1000_devboard kernel: Remove clock_always_on control from k_busy_wait() 2018-10-16 15:03:10 -04:00
tinytile boards: x86: Convert boards to use device tree for LEDs & Buttons 2018-10-09 11:48:54 -04:00
up_squared DT: Rename from dts.fixup to dts_fixup.h 2018-10-08 11:38:56 -04:00
x86_jailhouse dts: Use new DT_SIZE_{K,M} macros 2018-09-15 09:23:07 -05:00
index.rst