qemu-e2k/hw
Stafford Horne 557e37071d hw/openrisc: Initialize timer time at startup
The last_clk time was initialized at zero, this means when we calculate
the first delta we will calculate 0 vs current time which could cause
unnecessary hops.

This patch moves timer initialization to the cpu reset.  There are two
resets registered here:

 1. Per cpu timer mask (ttmr) reset.
 2. Global cpu timer (last_clk and ttcr) reset, attached to the first
    cpu only.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
2022-09-04 07:02:57 +01:00
..
9pfs
acpi acpi/nvdimm: Define trace events for NVDIMM and substitute nvdimm_debug() 2022-07-26 10:37:46 -04:00
adc hw/adc: Make adci[*] R/W in NPCM7XX ADC 2022-07-18 13:20:14 +01:00
alpha
arm hw: Add compat machines for 7.2 2022-08-25 21:59:04 +02:00
audio
avr
block virtio-scsi: fix race in virtio_scsi_dataplane_start() 2022-08-17 07:07:37 -04:00
char
core hw: Add compat machines for 7.2 2022-08-25 21:59:04 +02:00
cpu
cris
cxl hw/cxl: Correctly handle variable sized mailbox input payloads. 2022-08-17 13:08:11 -04:00
display xlnx_dp: drop unsupported AUXCommand in xlnx_dp_aux_set_command 2022-08-08 11:40:06 +02:00
dma
gpio
hppa lasips2: remove legacy lasips2_initfn() function 2022-07-18 19:28:46 +01:00
hyperv
i2c
i386 util: accept iova_tree_remove_parameter by value 2022-09-02 10:22:39 +08:00
ide
input pckbd: remove legacy i8042_mm_init() function 2022-07-18 19:28:46 +01:00
intc hw/intc/ppc-uic: Convert ppc-uic to a PPC4xx DCR device 2022-08-31 14:08:06 -03:00
ipack
ipmi ipmi:smbus: Add a check around a memcpy 2022-08-01 06:40:50 -05:00
isa
loongarch hw/loongarch: remove acpi-build.c unused variable 'aml_len' 2022-08-05 10:02:07 -07:00
m68k goldfish_rtc: Add big-endian property 2022-09-04 07:02:56 +01:00
mem
microblaze
mips hw/mips/malta: turn off x86 specific features of PIIX4_PM 2022-08-08 23:23:11 +02:00
misc hw/misc/grlib_ahb_apb_pnp: Support 8 and 16 bit accesses 2022-08-08 23:43:11 +02:00
net net: tulip: Restrict DMA engine to memories 2022-09-02 10:22:39 +08:00
nios2 hw/nios2: virt: pass random seed to fdt 2022-07-22 19:01:44 +02:00
nubus
nvme hw/nvme: do not enable ioeventfd by default 2022-08-01 12:01:21 +02:00
nvram
openrisc hw/openrisc: Initialize timer time at startup 2022-09-04 07:02:57 +01:00
pci
pci-bridge
pci-host ppc/pnv: fix QOM parenting of user creatable root ports 2022-08-31 14:08:06 -03:00
pcmcia
ppc ppc patch queue for 2022-08-31: 2022-09-01 13:53:20 -04:00
rdma
remote
riscv
rtc goldfish_rtc: Add big-endian property 2022-09-04 07:02:56 +01:00
rx hw/rx: pass random seed to fdt 2022-07-22 19:01:44 +02:00
s390x s390x/cpumodel: add stfl197 processor-activity-instrumentation extension 1 2022-08-25 21:59:04 +02:00
scsi scsi: Reject commands if the CDB length exceeds buf_len 2022-09-01 07:42:37 +02:00
sd
sensor
sh4
smbios
sparc
sparc64
ssi
timer
tpm
tricore
usb scsi: Add buf_len parameter to scsi_req_new() 2022-09-01 07:42:37 +02:00
vfio
virtio vdpa: Delete CVQ migration blocker 2022-09-02 10:22:39 +08:00
watchdog
xen
xenpv
xtensa
Kconfig
meson.build