Page MenuHomeFreeBSD

dev/uart: Support 8-byte register access
ClosedPublic

Authored by andrew on Jan 9 2024, 2:29 PM.
Tags
None
Referenced Files
F96934690: D43374.diff
Fri, Sep 27, 5:53 AM
Unknown Object (File)
Thu, Sep 26, 7:02 PM
Unknown Object (File)
Thu, Sep 26, 9:00 AM
Unknown Object (File)
Thu, Sep 26, 2:52 AM
Unknown Object (File)
Wed, Sep 25, 12:54 PM
Unknown Object (File)
Wed, Sep 25, 8:31 AM
Unknown Object (File)
Tue, Sep 24, 4:16 PM
Unknown Object (File)
Mon, Sep 23, 11:35 PM
Subscribers
None

Details

Summary

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.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 55324
Build 52213: arc lint + arc unit