zephyr/drivers
Enjia Mai dcda15d17d drivers: timer: use sys_read64 to read HPET counter on 64 bits cpu
For 32 bit processor to read the 64 bits hpet counter, the HPET spec
2.4.7 suggest to read HPET counter high and low then checking the
high bits to decide if it rollovers or not.

But this logic seems to cause problem for 64 bits processor under SMP,
there is a possible one tick earier under tickless mode. It is likely
to be the cache coherence issue, because a mfence instruction before
reading the timer works.

So we change to read the 64 bits counter by sys_read64 on 64bit
processor to prevent this issue.

Fixes #49611

Signed-off-by: Enjia Mai <enjia.mai@intel.com>
2022-10-12 18:47:19 +09:00
..
adc drivers: adc: stm32: removed duplicated code 2022-10-03 10:20:21 +02:00
audio includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
bbram drivers: bbram: Update Kconfig 2022-08-16 18:08:42 -05:00
bluetooth includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
cache cache: Fix build warning 'No SOURCES given to Zephyr library' 2022-08-24 10:36:40 +00:00
can drivers: Correct tx and rx error counts in mcan 2022-09-28 20:34:36 +00:00
clock_control drivers: clock_control: mcux_syscon: fix define collision 2022-10-11 18:05:17 +02:00
console init: s/ARCH/EARLY, call it just before arch kernel init 2022-10-12 17:16:27 +09:00
coredump
counter arm: add missing includes 2022-10-11 18:37:53 -04:00
crypto drivers: crypto: Update Kconfig 2022-08-30 10:43:12 +00:00
dac drivers: dac: gd32: use clock control API 2022-09-06 09:57:25 +02:00
dai drivers: dai: intel: dmic: misc fixes and changes 2022-10-05 12:41:45 +02:00
debug
disk drivers: disk: sdmmc: Enable STM32L5X support 2022-09-09 09:56:51 +00:00
display include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
dma dma: gpdma: fix channel config 2022-09-30 15:18:20 +00:00
ec_host_cmd_periph include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
edac includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
eeprom include: add missing errno.h include 2022-10-11 18:05:17 +02:00
entropy include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
espi driver: eSPI: drop interrupts enabling during driver initialization 2022-10-07 10:01:09 +02:00
ethernet include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
flash include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
fpga
gpio drivers: gpio: xlnx: add missing headers 2022-10-12 17:41:11 +09:00
hwinfo drivers: hwinfo: add Andes hwinfo driver 2022-08-26 11:55:55 +02:00
i2c include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
i2s drivers: i2s: Update drivers to use devicetree Kconfig symbol 2022-08-25 15:03:11 -05:00
i3c i3c: add I3C controller driver for MCUX 2022-09-09 17:42:33 -04:00
ieee802154 drivers: ieee802154: rf2xx: Add support to Sub-Giga 2022-09-09 10:31:35 -07:00
interrupt_controller intel_adsp: add missing headers 2022-10-11 18:37:53 -04:00
ipm ipm: intel_adsp: use memory window from DTS 2022-10-11 08:28:25 -04:00
kscan driver: kscan: npcx: add driver support for kscan 2022-10-03 10:14:51 +02:00
led includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
led_strip includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
lora drivers: lora: Return error from lora_send() 2022-09-14 09:34:40 +00:00
mbox
mdio include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
memc drivers: memc: Introduce Atmel SAM SMC/EBI driver 2022-08-16 12:53:50 +02:00
mipi_dsi drivers: mipi_dsi: Update Kconfig 2022-08-12 10:23:31 -05:00
misc includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
mm intel_adsp: ace: rename namespace: MTL -> ACE 2022-10-11 12:50:05 -04:00
modem drivers: gsm_ppp: fix modem_cmd_handler_tx_lock 2022-09-27 14:12:57 +00:00
net net: context: properly namespace can-related methods 2022-09-05 14:35:17 +00:00
neural_net
pcie pcie: shell: Add help and argument check 2022-08-25 21:14:51 +00:00
peci arm: add missing includes 2022-10-11 18:37:53 -04:00
pinctrl drivers: pinctrl: it8xxx2: add missing chip_chipregs.h 2022-10-11 18:05:17 +02:00
pinmux include: add missing errno.h include 2022-10-11 18:05:17 +02:00
pm_cpu_ops drivers: pm_cpu_ops: Update Kconfig 2022-08-12 11:34:10 +02:00
power_domain include: fix files using legacy include paths 2022-08-31 06:49:00 -04:00
ps2 arm: add missing includes 2022-10-11 18:37:53 -04:00
ptp_clock
pwm drivers: gpio: it8xxx2: add missing chip_chipregs.h/soc_common.h 2022-10-11 18:05:17 +02:00
regulator drivers: regulator: add regulator shell 2022-10-10 13:13:27 -05:00
reset include: add missing limits.h include 2022-10-11 18:05:17 +02:00
sdhc include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
sensor arm: add missing includes 2022-10-11 18:37:53 -04:00
serial drivers: serial: gecko: fix impmlicit declaration of IRQ_CONNECT 2022-10-11 21:25:59 -04:00
spi include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
syscon include: add missing errno.h include 2022-10-11 18:05:17 +02:00
timer drivers: timer: use sys_read64 to read HPET counter on 64 bits cpu 2022-10-12 18:47:19 +09:00
usb include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
usbc
video includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
virtualization
w1 drivers/w1: driver for ds2485 1-Wire master 2022-09-09 14:11:30 +00:00
watchdog arm: add missing includes 2022-10-11 18:37:53 -04:00
wifi modules: mbedtls: Replace select statement with depends on for EC 2022-10-07 15:12:42 +02:00
xen
CMakeLists.txt drivers: i3c: introduce I3C API for controllers 2022-09-09 17:42:33 -04:00
Kconfig drivers: i3c: introduce I3C API for controllers 2022-09-09 17:42:33 -04:00