History log of /openbsd/sys/arch/riscv64/include/bus.h (Results 1 – 6 of 6)
Revision Date Author Comments
# a3fd9ccd 27-Mar-2024 kettenis <kettenis@openbsd.org>

The RISC-V architecture specification says that memory read/writes are
not ordered with respect to mmio read/writes. This appears to happen on
T-Head C920 cores as I'm seeing interrupts being enable

The RISC-V architecture specification says that memory read/writes are
not ordered with respect to mmio read/writes. This appears to happen on
T-Head C920 cores as I'm seeing interrupts being enabled before the lock
is released in mtx_leave() despite program order releasing the lock
before enabling interrupts. This is fixed by adding the necessary fences
in more or less the same places where Linux uses them.

ok patrick@, jca@

show more ...


# d48e5b04 29-Dec-2022 kettenis <kettenis@openbsd.org>

Avoid doing cache flush/invalidate operations for DMA memory allocated with
the BUS_DMA_COHERENT flag.

ok miod@


# 380aa7b9 12-May-2021 jsg <jsg@openbsd.org>

add OpenBSD rcs ids


# 68b10e9f 05-May-2021 jsg <jsg@openbsd.org>

use fence iorw,iorw for bus_space_barrier()

ok kettenis@


# 1dfe7d0d 24-Apr-2021 kettenis <kettenis@openbsd.org>

Sync with arm64 version fixing bugs in some of the more obscure bus_space(9)
functions.

ok patrick@


# baed8f06 23-Apr-2021 drahn <drahn@openbsd.org>

Initial import of OpenBSD/riscv64

This work is based on the effort:
https://www.openbsd.org/papers/Porting_OpenBSD_to_RISCV_FinalReport.pdf
"Porting OpenBSD to RISC-V ISA"
by
Brian Bamsch <bbamsch@g

Initial import of OpenBSD/riscv64

This work is based on the effort:
https://www.openbsd.org/papers/Porting_OpenBSD_to_RISCV_FinalReport.pdf
"Porting OpenBSD to RISC-V ISA"
by
Brian Bamsch <bbamsch@google.com>
Wenyan He <wenyan.he@sjsu.edu>
Mars Li <mengshi.li.mars@gmail.com>
Shivam Waghela <shivamwaghela@gmail.com>

With additional work by Dale Rahn <drahn@openbsd.org>

show more ...