Re: [PATCH 07/14] KVM: arm64: Enable UBSAN_BOUNDS for the both the kernel and hyp/nVHE

2020-10-01 Thread Andrew Scull
On Mon, Sep 14, 2020 at 05:27:43PM +, George-Aurelian Popescu wrote: > From: George Popescu > > If an out of bounds happens inside the hyp/nVHE code, the > ubsan_out_of_bounds handler stores the logging data inside the > kvm_ubsan_buffer. The one responsible for printing is the kernel > ubsan

[PATCH 07/14] KVM: arm64: Enable UBSAN_BOUNDS for the both the kernel and hyp/nVHE

2020-09-14 Thread George-Aurelian Popescu
From: George Popescu If an out of bounds happens inside the hyp/nVHE code, the ubsan_out_of_bounds handler stores the logging data inside the kvm_ubsan_buffer. The one responsible for printing is the kernel ubsan_out_of_bounds handler. The process of decapsulating the data happens in kvm_ubsan_bu