#
abdc5d02 |
| 08-Apr-2025 |
Andrew Jones <andrew.jones@linux.dev> |
Merge branch 'arm/queue' into 'master'
arm/arm64: Default to 'max' cpu type and add MTE test
See merge request kvm-unit-tests/kvm-unit-tests!76
|
#
1b59c632 |
| 27-Feb-2025 |
Vladimir Murzin <vladimir.murzin@arm.com> |
arm64: Add basic MTE test
Test tag storage access and tag mismatch for different MTE modes.
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Reviewed-by: Alexandru Elisei <alexandru.elisei@
arm64: Add basic MTE test
Test tag storage access and tag mismatch for different MTE modes.
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
80e8b3d8 |
| 10-Jun-2021 |
Cornelia Huck <cohuck@redhat.com> |
header guards: clean up some stragglers
Some headers had been missed during the initial header guard standardization.
Signed-off-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Laurent Vivier <l
header guards: clean up some stragglers
Some headers had been missed during the initial header guard standardization.
Signed-off-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210610135937.94375-2-cohuck@redhat.com>
show more ...
|
#
74ff0e96 |
| 18-May-2021 |
Paolo Bonzini <bonzini@gnu.org> |
Merge branch 'arm/queue' into 'master'
arm/arm64: target-efi prep
This series mostly prepares kvm-unit-tests/arm for targeting EFI platforms. The actually EFI support will come in another series, b
Merge branch 'arm/queue' into 'master'
arm/arm64: target-efi prep
This series mostly prepares kvm-unit-tests/arm for targeting EFI platforms. The actually EFI support will come in another series, but these patches are good for removing assumptions from our memory maps and about our PSCI conduit, even if we never merge EFI support.
See merge request kvm-unit-tests/kvm-unit-tests!8
show more ...
|
#
e97e1c82 |
| 11-Nov-2020 |
Andrew Jones <drjones@redhat.com> |
arm/arm64: mmu: Stop mapping an assumed IO region
By providing a proper ioremap function, we can just rely on devices calling it for each region they need (as they already do) instead of mapping a b
arm/arm64: mmu: Stop mapping an assumed IO region
By providing a proper ioremap function, we can just rely on devices calling it for each region they need (as they already do) instead of mapping a big assumed I/O range. We don't require the MMU to be enabled at the time of the ioremap. In that case, we add the mapping to the identity map anyway. This allows us to call setup_vm after io_init. Why don't we just call setup_vm before io_init, I hear you ask? Well, that's because tests like sieve want to start with the MMU off, later call setup_vm, and all the while have working I/O. Some unit tests are just really demanding...
While at it, ensure we map the I/O regions with XN (execute never), as suggested by Alexandru Elisei.
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com> Tested-by: Alexandru Elisei <alexandru.elisei@arm.com> Signed-off-by: Andrew Jones <drjones@redhat.com>
show more ...
|
#
e36a9c28 |
| 03-Oct-2019 |
Alexandru Elisei <alexandru.elisei@arm.com> |
lib: arm64: Add missing ISB in flush_tlb_page
Linux commit d0b7a302d58a made it abundantly clear that certain CPU implementations require an ISB after a DSB. Add the missing ISB to flush_tlb_page. N
lib: arm64: Add missing ISB in flush_tlb_page
Linux commit d0b7a302d58a made it abundantly clear that certain CPU implementations require an ISB after a DSB. Add the missing ISB to flush_tlb_page. No changes are required for flush_tlb_all, as the function already had the ISB.
Reviewed-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> Signed-off-by: Andrew Jones <drjones@redhat.com>
show more ...
|
#
f8891de2 |
| 17-Jan-2018 |
Andrew Jones <drjones@redhat.com> |
arm/arm64: flush page table cache when installing entries
This fixes the use of non-identity mapped page table entries for arm32 and AArch32 unit tests.
Signed-off-by: Andrew Jones <drjones@redhat.
arm/arm64: flush page table cache when installing entries
This fixes the use of non-identity mapped page table entries for arm32 and AArch32 unit tests.
Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
show more ...
|
#
c2a95639 |
| 23-Oct-2017 |
Paolo Bonzini <pbonzini@redhat.com> |
arm: make pgtable.h private to mmu.c
The pgd/pmd/pud definitions are not needed outside the architecture- dependent MMU functions. In fact, it probably would be simpler to have completely different
arm: make pgtable.h private to mmu.c
The pgd/pmd/pud definitions are not needed outside the architecture- dependent MMU functions. In fact, it probably would be simpler to have completely different files for 32-bit and 64-bit ARM. However, as a first and possibly less controversial step, hide them inside that file.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
4b5caf0c |
| 06-Nov-2015 |
Alex Bennée <alex.bennee@linaro.org> |
lib/arm: add flush_tlb_page mmu function
This introduces a new flush_tlb_page function which does exactly what you expect. It's going to be useful for the future TLB torture test.
Signed-off-by: Al
lib/arm: add flush_tlb_page mmu function
This introduces a new flush_tlb_page function which does exactly what you expect. It's going to be useful for the future TLB torture test.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Andrew Jones <drjones@redhat.com> Message-Id: <1446769483-21586-13-git-send-email-drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
db328a24 |
| 10-Dec-2014 |
Andrew Jones <drjones@redhat.com> |
arm64: enable mmu
Implement asm_mmu_enable and flush_tlb_all, and then make a final change to mmu.c in order to link it into arm64. The final change is to map the code read-only. This is necessary b
arm64: enable mmu
Implement asm_mmu_enable and flush_tlb_all, and then make a final change to mmu.c in order to link it into arm64. The final change is to map the code read-only. This is necessary because armv8 forces all writable code shared between EL1 and EL0 to be PXN.
Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
39ac3f84 |
| 10-Dec-2014 |
Andrew Jones <drjones@redhat.com> |
arm64: initial drop
This is the initial drop of the arm64 test framework and a first test that just checks that setup completed (a selftest). kvm isn't needed to run this test unless testing with sm
arm64: initial drop
This is the initial drop of the arm64 test framework and a first test that just checks that setup completed (a selftest). kvm isn't needed to run this test unless testing with smp > 1.
Try it out with yum install gcc-aarch64-linux-gnu ./configure --cross-prefix=aarch64-linux-gnu- --arch=arm64 make QEMU=[qemu with aarch64, mach-virt, and chr-testdev] ./run_tests.sh
Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|