OpenGrok
Cross Reference: octeon_rnmreg.h
xref
: /
src
/
sys
/
arch
/
mips
/
cavium
/
dev
/
octeon_rnmreg.h
Home
|
History
|
Annotate
|
Download
|
only in
dev
History log of
/src/sys/arch/mips/cavium/dev/octeon_rnmreg.h
Revision
Date
Author
Comments
1.5
22-Jun-2020
simonb
Remove unused snprintb format strings.
1.4
18-Jun-2020
simonb
General code cleanup:
- use generic macros for building IO and IOBDMA addresses instead
of many different variations of the same theme.
- use #define's for CVMSEG addresses instead of magic numbers.
- use __BIT/__BITS/__SHIFTIN/__SHIFTOUT in most places, instead of
foo_SHIFT defines or (worse) shifting by magic numbers.
No functional changes.
1.3
13-May-2020
riastradh
Rework octeon_rnm(4) random number generator driver.
- Do a little on-line self-test for fun.
- Draw raw samples from the ring oscillators.
- Draw substantially more samples:
=> early RO samples seem to have considerably lower entropy
=> consecutive RO samples are not independent
- Make sure to use rnd_add_data_sync in the callback.
=> not technically needed in HEAD, but would be needed for pullup
1.2
12-May-2020
simonb
Add a few more bits.
XXX convert to __BITS.
1.1
29-Apr-2015
hikaru
branches: 1.1.2; 1.1.18; 1.1.26;
Initial import of Cavium Octeon and Octeon Plus SoC and
specifically Ubiquiti Networks EdgeRouter LITE support.
Currently the ethernet and uart are worked.
This support was contributed by Internet Initiative Japan Inc.
1.1.26.1
19-May-2020
martin
Pull up following revision(s) (requested by simonb in ticket #918):
sys/arch/mips/cavium/dev/octeon_rnm.c: revision 1.3
sys/arch/mips/cavium/dev/octeon_rnm.c: revision 1.4
sys/arch/mips/cavium/dev/octeon_rnm.c: revision 1.5
sys/arch/mips/cavium/dev/octeon_rnm.c: revision 1.6 (+ patch)
sys/arch/mips/cavium/dev/octeon_rnmreg.h: revision 1.2
sys/arch/mips/cavium/dev/octeon_rnmreg.h: revision 1.3
sys/arch/mips/cavium/octeonvar.h: revision 1.7
Add a few more bits.
XXX convert to __BITS.
--
If bus_space_map fails, just don't attach the driver instead of panicing.
Check RNG built in self test, don't attach if that fails too.
--
Oceton RNG/RNM driver modernisation to fit new entropy world order by
riastradh@, with some tweaks to get working in RNG mode.
XXX TODO: work out how to get raw entropy mode working.
--
Rework octeon_rnm(4) random number generator driver.
- Do a little on-line self-test for fun.
- Draw raw samples from the ring oscillators.
- Draw substantially more samples:
=3D> early RO samples seem to have considerably lower entropy
=3D> consecutive RO samples are not independent
- Make sure to use rnd_add_data_sync in the callback.
=3D> not technically needed in HEAD, but would be needed for pullup
--
Adjust entropy estimate for the Octeon.
We are hedging in serial and in parallel, and more conservative than
the Linux driver from Cavium seems to be, so although I don't know
exactly what the thermal jitter of the device is, this seems like a
reasonable compromise.
1.1.18.2
03-Dec-2017
jdolecek
update from HEAD
1.1.18.1
29-Apr-2015
jdolecek
file octeon_rnmreg.h was added on branch tls-maxphys on 2017-12-03 11:36:27 +0000
1.1.2.2
06-Jun-2015
skrll
Sync with HEAD
1.1.2.1
29-Apr-2015
skrll
file octeon_rnmreg.h was added on branch nick-nhusb on 2015-06-06 14:40:01 +0000
Indexes created Wed Oct 15 03:09:54 GMT 2025