HomeFreeBSD

dev/uart: Support 8-byte register access

Description

dev/uart: Support 8-byte register access

While we only support 4-byte registers in the uart code the physical
access may be to an 8-byte register. Support this as an option on
non-i386. On i386 we lack the needed 8-byte bus_space functions.

ACPI has an option for 8-byte register io width, and FDT can be given
any size. Support these sizes, even if we don't expect to see hardware
with an 8-byte io width.

Reviewed by: imp
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D43374

(cherry picked from commit a9fc9d6d15f006feb6d7ddb036e020d5f9d19fce)

Details

Provenance
andrewAuthored on Jan 9 2024, 1:29 PM
Reviewer
imp
Differential Revision
D43374: dev/uart: Support 8-byte register access
Parents
rGe7d2a96f4f9b: arm64: Mark the armv8 crc32c as supporting BTI
Branches
Unknown
Tags
Unknown