[osv-dev] [PATCH] aarch64: move kernel to 63rd GB of virtual memory

2022-04-20 Thread Waldemar Kozaczuk
This patch modifies the aarch64 port to move the kernel from the 2nd to 63rd GB or virtual memory. It also adjusts the early preboot and boot assembly to dynamically adjust the early phys/virt mapping tables to make it work regardless where in physical memory the kernel and DTB is loaded. This allo

[osv-dev] [PATCH] aarch64: fix atomic_fetchadd_int and atomic_fetchadd_long

2022-04-20 Thread Waldemar Kozaczuk
This patch fixes a subtle yet critical bug in the implementation of the atomic_fetchadd_* functions used in the bsd subtree of OSv source code. This bug is a root cause of the issues #1189 and #1190 and affects stability of ZFS and networking stack on aarch64. The atomic_fetchadd_*() are implement