HomeFreeBSD

Allow ddb and dtrace use the DMAP region on arm64

Description

Allow ddb and dtrace use the DMAP region on arm64

When writing to memory on arm64 we may be trying to be accessing a
read-only page. In this case try to access via the DMAP region to
get a writable location.

While here simplify writing data in DDB and stop trashing the size as
it is passed into the cache handling functions.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32053

(cherry picked from commit 3d2533f5c29fbf6e63c5e408ba13c2294a7612fd)

Details

Provenance
andrewAuthored on Sep 21 2021, 5:10 PM
Differential Revision
D32053: Allow ddb and dtrace use the DMAP region on arm64
Parents
rG713b7f1a3b6d: Add atomic_testandset_acq_* on arm64
Branches
Unknown
Tags
Unknown