[PATCH v6 10/14] riscv: misaligned: add a function to check misalign trap delegability

ALOK TIWARI alok.a.tiwari at oracle.com
Thu Apr 24 11:18:46 PDT 2025



On 24-04-2025 23:01, Clément Léger wrote:
> +	/*
> +	 * Either we successfully requested misaligned traps delegation for all
> +	 * CPUS or the SBI does not implemented FWFT extension but delegated the


"CPUS" -> corrected to "CPUs" (case and plural form).
"does not implemented" -> corrected to "does not implement"
"CPUs, or the SBI does not implement the FWFT extension"

> +	 * exception by default.
> +	 */
> +	return misaligned_traps_delegated ||
> +	       all_cpus_unaligned_scalar_access_emulated();
> +}


Thanks,
Alok



More information about the kvm-riscv mailing list