[PW_SID:958854] KVM: selftests: Convert to kernel-style types#365
[PW_SID:958854] KVM: selftests: Convert to kernel-style types#365linux-riscv-bot wants to merge 11 commits into
Conversation
Replace all occurrences of vm_vaddr_t with gva_t to align with KVM code
and with the conversion helpers (e.g. addr_gva2hva()). Also replace
vm_vaddr in function names with gva to align with the new type name.
This commit was generated with the following command:
git ls-files tools/testing/selftests/kvm | \
xargs sed -i 's/vm_vaddr_/gva_/g'
Then by manually adjusting whitespace to make checkpatch.pl happy.
No functional change intended.
Signed-off-by: David Matlack <dmatlack@google.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Replace all occurrences of vm_paddr_t with gpa_t to align with KVM code
and with the conversion helpers (e.g. addr_hva2gpa()). Also replace
vm_paddr in function names with gpa to align with the new type name.
This commit was generated with the following command:
git ls-files tools/testing/selftests/kvm | \
xargs sed -i 's/vm_paddr_/gpa_/g'
Then by manually adjusting whitespace to make checkpatch.pl happy.
No functional change intended.
Signed-off-by: David Matlack <dmatlack@google.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Fix various Hyper-V selftests to use gpa_t for variables that contain guest physical addresses, rather than gva_t. No functional change intended. Signed-off-by: David Matlack <dmatlack@google.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Use u64 instead of uint64_t to make the KVM selftests code more concise and more similar to the kernel (since selftests are primarily developed by kernel developers). This commit was generated with the following command: git ls-files tools/testing/selftests/kvm | xargs sed -i 's/uint64_t/u64/g' Then by manually adjusting whitespace to make checkpatch.pl happy. Also include <linux/types.h> in include/x86/pmu.h to avoid compilation failure. No functional change intended. Signed-off-by: David Matlack <dmatlack@google.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Use s64 instead of int64_t to make the KVM selftests code more concise and more similar to the kernel (since selftests are primarily developed by kernel developers). This commit was generated with the following command: git ls-files tools/testing/selftests/kvm | xargs sed -i 's/int64_t/s64/g' Then by manually adjusting whitespace to make checkpatch.pl happy. No functional change intended. Signed-off-by: David Matlack <dmatlack@google.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Use u32 instead of uint32_t to make the KVM selftests code more concise and more similar to the kernel (since selftests are primarily developed by kernel developers). This commit was generated with the following command: git ls-files tools/testing/selftests/kvm | xargs sed -i 's/uint32_t/u32/g' Then by manually adjusting whitespace to make checkpatch.pl happy. No functional change intended. Signed-off-by: David Matlack <dmatlack@google.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Use s32 instead of int32_t to make the KVM selftests code more concise and more similar to the kernel (since selftests are primarily developed by kernel developers). This commit was generated with the following command: git ls-files tools/testing/selftests/kvm | xargs sed -i 's/int32_t/s32/g' Then by manually adjusting whitespace to make checkpatch.pl happy. No functional change intended. Signed-off-by: David Matlack <dmatlack@google.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Use u16 instead of uint16_t to make the KVM selftests code more concise and more similar to the kernel (since selftests are primarily developed by kernel developers). This commit was generated with the following command: git ls-files tools/testing/selftests/kvm | xargs sed -i 's/uint16_t/u16/g' Then by manually adjusting whitespace to make checkpatch.pl happy. No functional change intended. Signed-off-by: David Matlack <dmatlack@google.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Use s16 instead of int16_t to make the KVM selftests code more concise and more similar to the kernel (since selftests are primarily developed by kernel developers). This commit was generated with the following command: git ls-files tools/testing/selftests/kvm | xargs sed -i 's/int16_t/s16/g' Then by manually adjusting whitespace to make checkpatch.pl happy. No functional change intended. Signed-off-by: David Matlack <dmatlack@google.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Use u8 instead of uint8_t to make the KVM selftests code more concise and more similar to the kernel (since selftests are primarily developed by kernel developers). This commit was generated with the following command: git ls-files tools/testing/selftests/kvm | xargs sed -i 's/uint8_t/u8/g' Then by manually adjusting whitespace to make checkpatch.pl happy. No functional change intended. Signed-off-by: David Matlack <dmatlack@google.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[01/10] KVM: selftests: Use gva_t instead of vm_vaddr_t" |
|
Patch 1: "[01/10] KVM: selftests: Use gva_t instead of vm_vaddr_t" |
|
Patch 1: "[01/10] KVM: selftests: Use gva_t instead of vm_vaddr_t" |
|
Patch 1: "[01/10] KVM: selftests: Use gva_t instead of vm_vaddr_t" |
|
Patch 1: "[01/10] KVM: selftests: Use gva_t instead of vm_vaddr_t" |
|
Patch 1: "[01/10] KVM: selftests: Use gva_t instead of vm_vaddr_t" |
|
Patch 1: "[01/10] KVM: selftests: Use gva_t instead of vm_vaddr_t" |
|
Patch 1: "[01/10] KVM: selftests: Use gva_t instead of vm_vaddr_t" |
|
Patch 1: "[01/10] KVM: selftests: Use gva_t instead of vm_vaddr_t" |
|
Patch 1: "[01/10] KVM: selftests: Use gva_t instead of vm_vaddr_t" |
|
Patch 1: "[01/10] KVM: selftests: Use gva_t instead of vm_vaddr_t" |
|
Patch 1: "[01/10] KVM: selftests: Use gva_t instead of vm_vaddr_t" |
|
Patch 2: "[02/10] KVM: selftests: Use gpa_t instead of vm_paddr_t" |
|
Patch 2: "[02/10] KVM: selftests: Use gpa_t instead of vm_paddr_t" |
|
Patch 2: "[02/10] KVM: selftests: Use gpa_t instead of vm_paddr_t" |
|
Patch 2: "[02/10] KVM: selftests: Use gpa_t instead of vm_paddr_t" |
|
Patch 2: "[02/10] KVM: selftests: Use gpa_t instead of vm_paddr_t" |
|
Patch 2: "[02/10] KVM: selftests: Use gpa_t instead of vm_paddr_t" |
|
Patch 2: "[02/10] KVM: selftests: Use gpa_t instead of vm_paddr_t" |
|
Patch 8: "[08/10] KVM: selftests: Use u16 instead of uint16_t" |
|
Patch 8: "[08/10] KVM: selftests: Use u16 instead of uint16_t" |
|
Patch 8: "[08/10] KVM: selftests: Use u16 instead of uint16_t" |
|
Patch 9: "[09/10] KVM: selftests: Use s16 instead of int16_t" |
|
Patch 9: "[09/10] KVM: selftests: Use s16 instead of int16_t" |
|
Patch 9: "[09/10] KVM: selftests: Use s16 instead of int16_t" |
|
Patch 9: "[09/10] KVM: selftests: Use s16 instead of int16_t" |
|
Patch 9: "[09/10] KVM: selftests: Use s16 instead of int16_t" |
|
Patch 9: "[09/10] KVM: selftests: Use s16 instead of int16_t" |
|
Patch 9: "[09/10] KVM: selftests: Use s16 instead of int16_t" |
|
Patch 9: "[09/10] KVM: selftests: Use s16 instead of int16_t" |
|
Patch 9: "[09/10] KVM: selftests: Use s16 instead of int16_t" |
|
Patch 9: "[09/10] KVM: selftests: Use s16 instead of int16_t" |
|
Patch 9: "[09/10] KVM: selftests: Use s16 instead of int16_t" |
|
Patch 9: "[09/10] KVM: selftests: Use s16 instead of int16_t" |
|
Patch 10: "[10/10] KVM: selftests: Use u8 instead of uint8_t" |
|
Patch 10: "[10/10] KVM: selftests: Use u8 instead of uint8_t" |
|
Patch 10: "[10/10] KVM: selftests: Use u8 instead of uint8_t" |
|
Patch 10: "[10/10] KVM: selftests: Use u8 instead of uint8_t" |
|
Patch 10: "[10/10] KVM: selftests: Use u8 instead of uint8_t" |
|
Patch 10: "[10/10] KVM: selftests: Use u8 instead of uint8_t" |
|
Patch 10: "[10/10] KVM: selftests: Use u8 instead of uint8_t" |
|
Patch 10: "[10/10] KVM: selftests: Use u8 instead of uint8_t" |
|
Patch 10: "[10/10] KVM: selftests: Use u8 instead of uint8_t" |
|
Patch 10: "[10/10] KVM: selftests: Use u8 instead of uint8_t" |
|
Patch 10: "[10/10] KVM: selftests: Use u8 instead of uint8_t" |
|
Patch 10: "[10/10] KVM: selftests: Use u8 instead of uint8_t" |
4d9ad71 to
625be03
Compare
PR for series 958854 applied to workflow__riscv__fixes
Name: KVM: selftests: Convert to kernel-style types
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=958854
Version: 1