git: 4f2ca36c7bec - main - arm64: Disable coverage sanitization of `pmap_update_strided`
Date: Fri, 11 Oct 2024 16:53:44 UTC
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=4f2ca36c7becd20b21ce5ef7256bbd42f732dafe commit 4f2ca36c7becd20b21ce5ef7256bbd42f732dafe Author: Zhuo Ying Jiang Li <zhuoyingjiangli@gmail.com> AuthorDate: 2024-10-11 16:41:49 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2024-10-11 16:52:53 +0000 arm64: Disable coverage sanitization of `pmap_update_strided` The break-before-make update invalidates PTEs, including the PTE pointing to curthread, causing a fault in `trace_pc`. This addresses a similar issue in 01bb9a2a3557bc9389f628d301cd691e08266f1d. Reviewed by: markj MFC after: 1 week --- sys/arm64/arm64/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/arm64/pmap.c b/sys/arm64/arm64/pmap.c index 6f758b7ff10c..2c8f8b416a9e 100644 --- a/sys/arm64/arm64/pmap.c +++ b/sys/arm64/arm64/pmap.c @@ -4618,7 +4618,7 @@ pmap_update_entry(pmap_t pmap, pd_entry_t *ptep, pd_entry_t newpte, /* * Performs a break-before-make update of an ATTR_CONTIGUOUS mapping. */ -static void +static void __nosanitizecoverage pmap_update_strided(pmap_t pmap, pd_entry_t *ptep, pd_entry_t *ptep_end, pd_entry_t newpte, vm_offset_t va, vm_offset_t stride, vm_size_t size) {