scripts: Fix capstan release upload

We can no longer use "--delete-removed" because the S3 bucket hosts
Capstan executables and access logs.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
mmu: remove unused function debug_count_ptes

Signed-off-by: Gleb Natapov <gleb@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
ring_spsc: revert the previous commit to push()

It's ok to load _begin with relaxed ordering (in the size()) since
store to _ring[end & MaxSizeMask] may not be reordered with it due to
control dependency (see Documentation/memory-barriers.txt in the
Linux tree).

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
mmu: call correct unmap() callback for huge pages in unpopulate class

Signed-off-by: Gleb Natapov <gleb@cloudius-systems.com>
Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
aarch64: implement lock adapter for arch_fpu

this fixes AArch64 build broken by #202b2ccc

Cc: Avi Kivity <avi@cloudius-systems.com>
Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
aarch64: update to latest Mach-Virt addresses

until we have the ACPI ported, we have to follow mach-virt.
Its addresses for the GIC have been recently changed.

Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
elf: move arch-specific relocation enums to arch

also add a per-arch jump slot define for pltgot relocation.

Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
elf: aarch64: relocate rela, pltgot

this adds basic support for AArch64
object::relocate_rela()
object::relocate_pltgot()
object::resolve_pltgot()

includes support for lazy binding.

Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
elf: implement R_AARCH64_ABS64, and workaround for _Unwind_Resume

implement R_AARCH64_ABS64 relocation and add a workaround
for the _Unwind_Resume symbol.

Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
build.mk: aarch64: add --nomount to cmdline

don't try to mount zfs in our first simplified loader image.

Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
XXX add tests/tst-hello.so to the bootfs.manifest.skel

could find no way to do it better.

Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>