From: Sean Christopherson <seanjc@google.com>
To: Ricardo Koller <ricarkol@google.com>
Cc: kvm@vger.kernel.org, maz@kernel.org, bgardon@google.com,
andrew.jones@linux.dev, kvmarm@lists.linux.dev,
pbonzini@redhat.com, axelrasmussen@google.com,
kvmarm@lists.cs.columbia.edu, dmatlack@google.com
Subject: Re: [PATCH v10 00/14] KVM: selftests: Add aarch64/page_fault_test
Date: Wed, 19 Oct 2022 23:47:35 +0000 [thread overview]
Message-ID: <Y1CMl3pkulxyjbfw@google.com> (raw)
In-Reply-To: <20221017195834.2295901-1-ricarkol@google.com>
On Mon, Oct 17, 2022, Ricardo Koller wrote:
> This series adds a new aarch64 selftest for testing stage 2 fault handling
> for various combinations of guest accesses (e.g., write, S1PTW), backing
> sources (e.g., anon), and types of faults (e.g., read on hugetlbfs with a
> hole, write on a readonly memslot). Each test tries a different combination
> and then checks that the access results in the right behavior (e.g., uffd
> faults with the right address and write/read flag). Some interesting
> combinations are:
...
> Ricardo Koller (14):
> KVM: selftests: Add a userfaultfd library
> KVM: selftests: aarch64: Add virt_get_pte_hva() library function
> KVM: selftests: Add missing close and munmap in
> __vm_mem_region_delete()
> KVM: selftests: aarch64: Construct DEFAULT_MAIR_EL1 using sysreg.h
> macros
> tools: Copy bitfield.h from the kernel sources
> KVM: selftests: Stash backing_src_type in struct userspace_mem_region
> KVM: selftests: Add vm->memslots[] and enum kvm_mem_region_type
> KVM: selftests: Fix alignment in virt_arch_pgd_alloc() and
> vm_vaddr_alloc()
> KVM: selftests: Use the right memslot for code, page-tables, and data
> allocations
> KVM: selftests: aarch64: Add aarch64/page_fault_test
> KVM: selftests: aarch64: Add userfaultfd tests into page_fault_test
> KVM: selftests: aarch64: Add dirty logging tests into page_fault_test
> KVM: selftests: aarch64: Add readonly memslot tests into
> page_fault_test
> KVM: selftests: aarch64: Add mix of tests into page_fault_test
One alignment nit in the first patch, but definitely not worthy of a v11. If it
gets fixed up when applying, yay. If not, no big deal.
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
WARNING: multiple messages have this Message-ID (diff)
From: Sean Christopherson <seanjc@google.com>
To: Ricardo Koller <ricarkol@google.com>
Cc: kvm@vger.kernel.org, kvmarm@lists.linux.dev,
kvmarm@lists.cs.columbia.edu, andrew.jones@linux.dev,
pbonzini@redhat.com, maz@kernel.org, alexandru.elisei@arm.com,
eric.auger@redhat.com, oupton@google.com, reijiw@google.com,
rananta@google.com, bgardon@google.com, dmatlack@google.com,
axelrasmussen@google.com
Subject: Re: [PATCH v10 00/14] KVM: selftests: Add aarch64/page_fault_test
Date: Wed, 19 Oct 2022 23:47:35 +0000 [thread overview]
Message-ID: <Y1CMl3pkulxyjbfw@google.com> (raw)
Message-ID: <20221019234735.pw3CtxRS3Pf55yxBmx24LUYwMQdeVdnP00v9dY8a25Q@z> (raw)
In-Reply-To: <20221017195834.2295901-1-ricarkol@google.com>
On Mon, Oct 17, 2022, Ricardo Koller wrote:
> This series adds a new aarch64 selftest for testing stage 2 fault handling
> for various combinations of guest accesses (e.g., write, S1PTW), backing
> sources (e.g., anon), and types of faults (e.g., read on hugetlbfs with a
> hole, write on a readonly memslot). Each test tries a different combination
> and then checks that the access results in the right behavior (e.g., uffd
> faults with the right address and write/read flag). Some interesting
> combinations are:
...
> Ricardo Koller (14):
> KVM: selftests: Add a userfaultfd library
> KVM: selftests: aarch64: Add virt_get_pte_hva() library function
> KVM: selftests: Add missing close and munmap in
> __vm_mem_region_delete()
> KVM: selftests: aarch64: Construct DEFAULT_MAIR_EL1 using sysreg.h
> macros
> tools: Copy bitfield.h from the kernel sources
> KVM: selftests: Stash backing_src_type in struct userspace_mem_region
> KVM: selftests: Add vm->memslots[] and enum kvm_mem_region_type
> KVM: selftests: Fix alignment in virt_arch_pgd_alloc() and
> vm_vaddr_alloc()
> KVM: selftests: Use the right memslot for code, page-tables, and data
> allocations
> KVM: selftests: aarch64: Add aarch64/page_fault_test
> KVM: selftests: aarch64: Add userfaultfd tests into page_fault_test
> KVM: selftests: aarch64: Add dirty logging tests into page_fault_test
> KVM: selftests: aarch64: Add readonly memslot tests into
> page_fault_test
> KVM: selftests: aarch64: Add mix of tests into page_fault_test
One alignment nit in the first patch, but definitely not worthy of a v11. If it
gets fixed up when applying, yay. If not, no big deal.
next prev parent reply other threads:[~2022-10-19 23:47 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-17 19:58 [PATCH v10 00/14] KVM: selftests: Add aarch64/page_fault_test Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-17 19:58 ` [PATCH v10 01/14] KVM: selftests: Add a userfaultfd library Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-19 23:39 ` Sean Christopherson
2022-10-19 23:39 ` Sean Christopherson
2022-10-17 19:58 ` [PATCH v10 02/14] KVM: selftests: aarch64: Add virt_get_pte_hva() library function Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-17 19:58 ` [PATCH v10 03/14] KVM: selftests: Add missing close and munmap in __vm_mem_region_delete() Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-17 19:58 ` [PATCH v10 04/14] KVM: selftests: aarch64: Construct DEFAULT_MAIR_EL1 using sysreg.h macros Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-17 19:58 ` [PATCH v10 05/14] tools: Copy bitfield.h from the kernel sources Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-17 19:58 ` [PATCH v10 06/14] KVM: selftests: Stash backing_src_type in struct userspace_mem_region Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-17 19:58 ` [PATCH v10 07/14] KVM: selftests: Add vm->memslots[] and enum kvm_mem_region_type Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-17 19:58 ` [PATCH v10 08/14] KVM: selftests: Fix alignment in virt_arch_pgd_alloc() and vm_vaddr_alloc() Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-17 19:58 ` [PATCH v10 09/14] KVM: selftests: Use the right memslot for code, page-tables, and data allocations Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-17 19:58 ` [PATCH v10 10/14] KVM: selftests: aarch64: Add aarch64/page_fault_test Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-17 19:58 ` [PATCH v10 11/14] KVM: selftests: aarch64: Add userfaultfd tests into page_fault_test Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-17 19:58 ` [PATCH v10 12/14] KVM: selftests: aarch64: Add dirty logging " Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-17 19:58 ` [PATCH v10 13/14] KVM: selftests: aarch64: Add readonly memslot " Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-17 19:58 ` [PATCH v10 14/14] KVM: selftests: aarch64: Add mix of " Ricardo Koller
2022-10-17 19:58 ` Ricardo Koller
2022-10-19 23:47 ` Sean Christopherson [this message]
2022-10-19 23:47 ` [PATCH v10 00/14] KVM: selftests: Add aarch64/page_fault_test Sean Christopherson
2022-11-10 19:13 ` Marc Zyngier
2022-11-10 19:13 ` Marc Zyngier
2023-02-03 14:49 ` Mark Brown
2023-02-03 15:36 ` Ricardo Koller
2023-02-03 17:27 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y1CMl3pkulxyjbfw@google.com \
--to=seanjc@google.com \
--cc=andrew.jones@linux.dev \
--cc=axelrasmussen@google.com \
--cc=bgardon@google.com \
--cc=dmatlack@google.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=kvmarm@lists.linux.dev \
--cc=maz@kernel.org \
--cc=pbonzini@redhat.com \
--cc=ricarkol@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.