Page MenuHomeFreeBSD

make arm64 identcpu use an sbuf
ClosedPublic

Authored by jmg on Aug 12 2018, 2:57 AM.
Tags
None
Referenced Files
F170694612: D16689.id46584.diff
Sun, Sep 6, 1:49 AM
F170651040: D16689.diff
Sat, Sep 5, 7:55 PM
F170643851: D16689.id46947.diff
Sat, Sep 5, 7:01 PM
F170606984: D16689.id46584.diff
Sat, Sep 5, 3:05 PM
F170569544: D16689.id.diff
Sat, Sep 5, 11:09 AM
F170563445: D16689.id46947.diff
Sat, Sep 5, 10:33 AM
F170553113: D16689.id.diff
Sat, Sep 5, 9:22 AM
Unknown Object (File)
Fri, Sep 4, 6:04 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 Not Applicable
Unit
Tests Not Applicable