Page MenuHomeFreeBSD

make arm64 identcpu use an sbuf
ClosedPublic

Authored by jmg on Aug 12 2018, 2:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 30, 1:57 AM
Unknown Object (File)
Thu, Nov 21, 4:45 PM
Unknown Object (File)
Thu, Nov 21, 4:45 PM
Unknown Object (File)
Thu, Nov 21, 4:45 PM
Unknown Object (File)
Thu, Nov 21, 4:24 PM
Unknown Object (File)
Tue, Nov 5, 4:32 AM
Unknown Object (File)
Oct 4 2024, 8:34 PM
Unknown Object (File)
Oct 4 2024, 5:53 PM
Subscribers

Details

Summary

On my A64-LTS, I get interleaved output w/ other console messages, using an sbuf
will ensure that lines are printed together, and not intermixed...

Previously:

CPU  0: ARM Cortex-A53 r0p4mmc0: Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
 affinity:ACMD42 failed, RESULT: 4
  0mmc0: 
 Instruction Set Attributes 0 = <Card at relative address 43690 failed to set bus width
AES+PMULL,SHA1,SHA2,CRC32>

After:

CPU  0: ARM Cortex-A53 r0p4 affinity:  0
Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
mmc0:  Instruction Set Attributes 0 = <AES+PMULL,SHA1,SHA2,CRC32>
ACMD42 failed, RESULT: 4

Notice how affinity: 0, and the attributes are now all on the same line, where previously
they had other console messages in the middle of them.

the mmc0: broken lines are due to device_printf not using sbuf, and I will create another rev w/ that change.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18737
Build 18416: arc lint + arc unit