Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/evbarm/dev/plcom.c
RevisionDateAuthorComments
 1.69  11-Apr-2023  riastradh evbarm/plcom(4): Note ttylock in comment, not tty_lock.
 1.68  11-Apr-2023  riastradh evbarm/plcom(4): Sync some recent changes from com(4).

- Nix quirky `integrate' macro.
- Omit needless spltty in plcomstart.
- Comment on lock order.
- Update confusing comment about hangup delay.
- Add include guards.
 1.67  24-Jan-2023  mlelstv Add support for FIFOs and hardware flow-control to plcom driver.
Add a PLCOM_TYPE_GENERIC_UART variant to match SBSA requirements.
 1.66  26-Oct-2022  riastradh ddb/db_active.h: New home for extern db_active.

This can be included unconditionally, and db_active can then be
queried unconditionally; if DDB is not in the kernel, then db_active
is a constant zero. Reduces need for #include opt_ddb.h, #ifdef DDB.
 1.65  27-Sep-2022  skrll malloc -> kmem
 1.64  20-Oct-2021  jmcneill - microtime -> microuptime
- avoid kpause with timeo=0
 1.63  17-Oct-2021  jmcneill plcom: speed up close with HUPCL set

Instead of incurring a 1s penalty on close of a plcom device with HUPCL set,
defer the sleep until the next open, and only sleep if necessary.
 1.62  19-Oct-2020  tnn remove superfluous parentheses in PREAD4/PWRITE4 macros
 1.61  25-Apr-2020  jmcneill plcom_common_putc: do not wait for FIFO to train after writing data
 1.60  10-Nov-2019  chs in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.59  23-Jul-2019  jmcneill Add cn_halt function, disable interrupts when halting
 1.58  23-Jul-2019  skrll Don't busy wait for a character in plcom_common_getc, but instead
return -1 if there are no characters available.

Fixes WSDISPLAY_MULTICONS for RaspberryPI and GENERIC.

Thanks to jmcneill@ for the hint
 1.57  23-Jul-2019  skrll Trailing whitespace
 1.56  23-Oct-2018  jmcneill Fix blank line printed at attach on ACPI
 1.55  12-Oct-2018  jmcneill Don't write FBRD/IBRD if ref clk frequency is unknown
 1.54  12-Oct-2018  jmcneill If rate or frequency are unspecified, assume "use firmware configuration" for clocks
 1.53  07-Nov-2017  skrll branches: 1.53.2; 1.53.4;
Fix the "wait for any pending transmission to finish" - doesn't really
matter at the moment as the fifo is disabled.
 1.52  13-Apr-2015  riastradh MD rnd.h cleanups. Please let me know if I broke anything!
 1.51  15-Nov-2014  christos branches: 1.51.2;
centralize the call unit / dialout macros
 1.50  10-Aug-2014  tls Merge tls-earlyentropy branch into HEAD.
 1.49  25-Jul-2014  dholland Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.48  16-Mar-2014  dholland branches: 1.48.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.47  14-Dec-2013  skrll Sprinkle __unused.
 1.46  05-Sep-2013  skrll Whitespace
 1.45  01-May-2013  mlelstv branches: 1.45.4;
For a polled console incoming characters are buffered on output.
The buffer is never passed to the regular tty routines and can
survive from early boot to halt where it is read by the "press
any continue to reboot" loops.
As a workaround, just kill the read-ahead buffer when switching
from and to polled mode.
 1.44  03-Mar-2013  mlelstv fix build for KGDB
 1.43  10-Oct-2012  skrll Fix #if 0'ed code.

From chuq
 1.42  17-Aug-2012  skrll branches: 1.42.2;
Backout previous - it breaks rpi console for me and jak.
 1.41  12-Aug-2012  reinoud Improve support for transmit fifo support for plcom.

As Nick, Michiel and I concluded this driver needs a big overhaul since its
logic is modelled on the standard com.c driver which doesn't have the plcom's
treshold interrupt at al.

On Nicks request, the HW FIFO support hasn't been enabled by default on the
RPi though.

Tested with the RPi.
 1.40  25-Jul-2012  skrll Add support for the PL011 to plcom. Pull across a bunch of fixes from
com(4) while I'm here and do some other tidyup.

Tested on a RaspberryPi.

PL010 not tested.
 1.39  05-Jul-2012  skrll Fix locking botch introduced in 1.36.
 1.38  20-May-2012  skrll device_t/softc split
struct device * -> device_t
struct cfdata * -> cfdata_t
 1.37  20-May-2012  skrll DOH. Replace a line that got accidently deleted in the last commit.
 1.36  20-May-2012  skrll Replace the simple_lock with a kmutex_t. Update the locking to match
com(4) in the few places it didn't already.
 1.35  14-May-2012  skrll Rename register values. No functional change - same code before and after.

Existing names are prefixed with PL01X_ where they're common between the
PL010 and the PL011. The PL010_/PL011_ prefixes are added where they're
found only on the respective chips.
 1.34  06-Apr-2012  bsh avoid warning with options PLCOM_DEBUG for INTEGRATOR.
 1.33  02-Feb-2012  tls branches: 1.33.2;
Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
avoid expensive operations on disabled entropy sources; make the
rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
system events, and skew between clocks, with a sample implementation
for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files). Tested with release
builds on amd64 and evbarm and live testing on amd64.
 1.32  24-Apr-2011  rmind branches: 1.32.4; 1.32.8;
Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency. Remove some unnecessary malloc.h inclusions as well.
 1.31  06-Dec-2009  dyoung branches: 1.31.4; 1.31.6;
Simplify the device-activation hook. Move some of the device
deactivation to the detachment routine, where it belongs.
 1.30  21-Nov-2009  rmind Use lwp_getpcb() on ARM (and acorn26/32), clean from struct user usage.
 1.29  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.28  11-Jun-2008  cegger branches: 1.28.4; 1.28.10;
use device_lookup_private to get softc
 1.27  28-Apr-2008  martin branches: 1.27.2; 1.27.4;
Remove clause 3 and 4 from TNF licenses
 1.26  21-Apr-2008  ad branches: 1.26.2;
Make ntp, pmc, reboot, sysarch, time syscalls MPSAFE.
 1.25  05-Jan-2008  ad branches: 1.25.6; 1.25.8;
Make compile.
 1.24  19-Nov-2007  ad branches: 1.24.6;
- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
 1.23  17-Oct-2007  garbled branches: 1.23.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.22  11-Jul-2007  he branches: 1.22.6; 1.22.8; 1.22.10; 1.22.14;
Remove a spurious brace.
 1.21  09-Jul-2007  ad Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.20  04-Mar-2007  christos branches: 1.20.2; 1.20.4; 1.20.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.19  01-Oct-2006  elad branches: 1.19.4;
More from Matt Fleming:

Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
 1.18  01-Oct-2006  elad Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
 1.17  23-Jul-2006  ad branches: 1.17.4; 1.17.6;
Use the LWP cached credentials where sane.
 1.16  14-May-2006  elad integrate kauth.
 1.15  28-Mar-2006  thorpej Use device_unit().
 1.14  20-Feb-2006  thorpej branches: 1.14.2; 1.14.4; 1.14.6;
Use device_is_active() rather than testing dv_flags for DVF_ACTIVE
directly.
 1.13  27-Dec-2005  chs branches: 1.13.2; 1.13.4; 1.13.6;
remove the COM_MPLOCK option. always include the spinlock in the softc
and always call the simple_* locking functions. the locking functions
are compiled out if they are not needed anyway, so a separate option
for this doesn't gain anything.

this also fixes the serial console on my alpha ES40 (which doesn't make much
sense since the com driver should still be under the big lock on alpha,
but whatever).
 1.12  11-Dec-2005  christos merge ktrace-lwp.
 1.11  06-Sep-2005  kleink Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
 1.10  04-Jun-2005  rearnsha branches: 1.10.2;
Fix shaddowed declarations of cn_trapped.
 1.9  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.8  15-Jul-2003  lukem __KERNEL_RCSID()
 1.7  23-Jun-2003  martin branches: 1.7.2;
Make sure to include opt_foo.h if a defflag option FOO is used.
 1.6  08-Mar-2003  he Initialize the two new members of "struct consdev" to NULL so that
this file compiles again.
 1.5  23-Oct-2002  jdolecek merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.4  06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.3  17-Mar-2002  atatat branches: 1.3.4;
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.2  20-Nov-2001  lukem branches: 1.2.2;
- pull in opt_kgdb.h where necessary
- replace opt_kgdb_machdep.h with opt_kgdb.h
- defparam opt_kgdb.h:
KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
- move from opt_ddbparam.h to opt_ddb.h:
DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE
- replace KGDBDEV with KGDB_DEV
- replace KGDBADDR with KGDB_DEVADDR
- replace KGDBMODE with KGDB_DEVMODE
- replace KGDBRATE with KGDB_DEVRATE
- use `9600' instead of `0x2580' for 9600 baud rate
- use correct quotes for options KGDB_DEVNAME="\"com\""
- use correct quotes for options KGDB_DEV="17*256+0"
- remove unnecessary dependancy on Makefile for kgdb_stub.o
- minor whitespace cleanup
 1.1  27-Oct-2001  rearnsha branches: 1.1.2;
Support for the PrimeCell PL010 UART. Similar in behaviour to
the normal com driver, but with competely different bit and register
assignments.
 1.1.2.5  11-Nov-2002  nathanw Catch up to -current
 1.1.2.4  17-Sep-2002  nathanw Catch up to -current.
 1.1.2.3  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.2  08-Jan-2002  nathanw Catch up to -current.
 1.1.2.1  27-Oct-2001  nathanw file plcom.c was added on branch nathanw_sa on 2002-01-08 00:24:12 +0000
 1.2.2.4  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.1  20-Nov-2001  thorpej file plcom.c was added on branch kqueue on 2002-01-10 19:42:02 +0000
 1.3.4.1  19-May-2002  gehenna Add device switch.
Replace the access to devsw table and the hard-coded majors with devsw API.
 1.7.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.7.2.4  17-Jan-2005  skrll Adapt to branch.
 1.7.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.7.2.1  03-Aug-2004  skrll Sync with HEAD
 1.10.2.5  21-Jan-2008  yamt sync with head
 1.10.2.4  07-Dec-2007  yamt sync with head
 1.10.2.3  03-Sep-2007  yamt sync with head.
 1.10.2.2  30-Dec-2006  yamt sync with head.
 1.10.2.1  21-Jun-2006  yamt sync with head.
 1.13.6.2  01-Jun-2006  kardel Sync with head.
 1.13.6.1  22-Apr-2006  simonb Sync with head.
 1.13.4.1  09-Sep-2006  rpaulo sync with head
 1.13.2.1  01-Mar-2006  yamt sync with head.
 1.14.6.2  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.14.6.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.14.4.4  13-May-2006  elad sprinkle some #include <sys/kauth.h> in files that use kauth kpi but
don't include it yet. hopefully this will prevent some fallout.
 1.14.4.3  19-Apr-2006  elad sync with head - hopefully this will work
 1.14.4.2  10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.14.4.1  08-Mar-2006  elad Adapt to kernel authorization KPI.

I expect *some* lossage here...
 1.14.2.3  11-Aug-2006  yamt sync with head
 1.14.2.2  24-May-2006  yamt sync with head.
 1.14.2.1  01-Apr-2006  yamt sync with head.
 1.17.6.1  22-Oct-2006  yamt sync with head
 1.17.4.1  18-Nov-2006  ad Sync with head.
 1.19.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.20.10.1  03-Oct-2007  garbled Sync with HEAD
 1.20.4.1  11-Jul-2007  mjf Sync with head.
 1.20.2.2  03-Dec-2007  ad Sync with HEAD.
 1.20.2.1  15-Jul-2007  ad Sync with head.
 1.22.14.1  21-Nov-2007  bouyer Sync with HEAD
 1.22.10.2  09-Jan-2008  matt sync with HEAD
 1.22.10.1  06-Nov-2007  matt sync with HEAD
 1.22.8.1  21-Nov-2007  joerg Sync with HEAD.
 1.22.6.2  28-Feb-2008  rjs Sync with HEAD.
 1.22.6.1  26-Dec-2007  rjs Sync with HEAD.
 1.23.2.2  18-Feb-2008  mjf Sync with HEAD.
 1.23.2.1  08-Dec-2007  mjf Sync with HEAD.
 1.24.6.1  08-Jan-2008  bouyer Sync with HEAD
 1.25.8.2  17-Jun-2008  yamt sync with head.
 1.25.8.1  18-May-2008  yamt sync with head.
 1.25.6.2  29-Jun-2008  mjf Sync with HEAD.
 1.25.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.26.2.3  11-Mar-2010  yamt sync with head
 1.26.2.2  04-May-2009  yamt sync with head.
 1.26.2.1  16-May-2008  yamt sync with head.
 1.27.4.1  18-Jun-2008  simonb Sync with head.
 1.27.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.28.10.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.28.4.1  28-Apr-2009  skrll Sync with HEAD.
 1.31.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.31.4.1  31-May-2011  rmind sync with head
 1.32.8.3  02-Jun-2012  mrg sync to latest -current.
 1.32.8.2  29-Apr-2012  mrg sync to latest -current.
 1.32.8.1  18-Feb-2012  mrg merge to -current.
 1.32.4.4  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.32.4.3  30-Oct-2012  yamt sync with head
 1.32.4.2  23-May-2012  yamt sync with head.
 1.32.4.1  17-Apr-2012  yamt sync with head
 1.33.2.1  09-Aug-2012  jdc Pull up revisions:
src/sys/arch/evbarm/dev/plcomreg.h revisions 1.2,1.3,1.4
src/sys/arch/evbarm/conf/INTEGRATOR revision 1.65
src/sys/arch/evbarm/dev/plcom.c revisions 1.34,1.35,1.36,1.37,1.38,1.39,1.40
src/sys/arch/evbarm/ifpga/plcom_ifpga.c revisions 1.12,1.13,1.14
src/sys/arch/evbarm/dev/plcomvar.h revisions 1.9,1.10,1.11
src/sys/arch/evbarm/ifpga/plcom_ifpgavar.h revision 1.2
src/sys/arch/arm/arm/cpufunc.c revisions 1.105,1.108
src/sys/arch/arm/arm32/cpu.c revision 1.79
src/sys/arch/arm/include/armreg.h revisions 1.49,1.54
src/sys/arch/arm/arm32/pmap.c revision 1.229
src/sys/arch/arm/arm32/arm32_machdep.c revision 1.77
src/sys/arch/arm/include/cpu.h revision 1.64
src/sys/arch/arm/arm/cpufunc_asm_arm1136.S revision 1.3
src/sys/arch/arm/arm/cpufunc_asm_arm11x6.S revision 1.1
src/sys/arch/arm/conf/files.arm revision 1.106
src/sys/arch/arm/include/cpufunc.h revision 1.57
src/sys/dev/sdmmc/sdhc.c revisions 1.14,1.24
src/sys/dev/sdmmc/sdhcvar.h revisions 1.7,1.8
src/sys/arch/evbarm/ifpga/ifpgareg.h revision 1.4
src/sys/arch/evbarm/integrator/integrator_machdep.c revision 1.69
src/sys/arch/arm/broadcom/bcm2835_dma.c revision 1.1
src/sys/arch/arm/broadcom/bcm2835_emmc.c revision 1.1
src/sys/arch/arm/broadcom/bcm2835_intr.c revision 1.1
src/sys/arch/arm/broadcom/bcm2835_intr.h revision 1.1
src/sys/arch/arm/broadcom/bcm2835_obio.c revision 1.1
src/sys/arch/arm/broadcom/bcm2835_plcom.c revision 1.1
src/sys/arch/arm/broadcom/bcm2835_pm.c revision 1.1
src/sys/arch/arm/broadcom/bcm2835_pmvar.h revision 1.1
src/sys/arch/arm/broadcom/bcm2835_space.c revision 1.1
src/sys/arch/arm/broadcom/bcm2835_tmr.c revision 1.1
src/sys/arch/arm/broadcom/bcm2835reg.h revision 1.1
src/sys/arch/arm/broadcom/bcm2835var.h revision 1.1
src/sys/arch/arm/broadcom/bcm_amba.h revision 1.1
src/sys/arch/arm/broadcom/files.bcm2835 revision 1.1
src/sys/arch/evbarm/Makefile revision 1.9
src/sys/arch/evbarm/conf/RPI revision 1.1
src/sys/arch/evbarm/conf/files.rpi revision 1.1
src/sys/arch/evbarm/conf/mk.rpi revision 1.1
src/sys/arch/evbarm/conf/std.rpi revision 1.1
src/sys/arch/evbarm/rpi/genassym.cf revision 1.1
src/sys/arch/evbarm/rpi/rpi.h revision 1.1
src/sys/arch/evbarm/rpi/rpi_machdep.c revision 1.1
src/sys/arch/evbarm/rpi/rpi_start.S revision 1.1,1.2
src/etc/etc.evbarm/Makefile.inc revision 1.28
(requested by skrll in ticket #454).

don't mix #define<TAB> and #define<SPACE> in a file.

avoid warning with options PLCOM_DEBUG for INTEGRATOR.

Rename register values. No functional change - same code before and after.

Existing names are prefixed with PL01X_ where they're common between the
PL010 and the PL011. The PL010_/PL011_ prefixes are added where they're
found only on the respective chips.

Replace the simple_lock with a kmutex_t. Update the locking to match
com(4) in the few places it didn't already.

DOH. Replace a line that got accidently deleted in the last commit.

device_t/softc split
struct device * -> device_t
struct cfdata * -> cfdata_t

Add the 'Z' to the 1176 cpu product name.

ok matt@

Fix locking botch introduced in 1.36.

Fix a KASSERT. From/OK'ed by matt@

Fix racy softint dispatch that lead to KASSERT(si->si_active) in
softint_execute

Discussed with matt@. "Looks good to me"

Add the documented ARM11[37]6 Auxiliary control register defines.

Add support for the ARM1176JZS

Add a flag for the lack of LED_ON in HOST_CTL (ti omap3 doesn't do that).

Provide a method for attachments to specify capabilites.

Add support for the PL011 to plcom. Pull across a bunch of fixes from
com(4) while I'm here and do some other tidyup.

Tested on a RaspberryPi.

PL010 not tested.

Initial commit of support for the RaspberryPI (www.raspberrypi.org)

This is enough for serial console via the gpio header pins and to get to
multiuser.

A huge thank you to Matt Thomas for all his help.

Add RPI to KERNEL_SETS

Remove #if 0 code.
 1.42.2.4  03-Dec-2017  jdolecek update from HEAD
 1.42.2.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.42.2.2  23-Jun-2013  tls resync from head
 1.42.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.45.4.1  18-May-2014  rmind sync with head
 1.48.2.2  10-Aug-2014  tls Rebase.
 1.48.2.1  07-Apr-2014  tls Be a little more clear and consistent about harvesting entropy from devices:

1) deprecate RND_FLAG_NO_ESTIMATE

2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE

3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE

4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME|
RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME

5) Make entropy harvesting from environmental sensors a little more generic
and remove it from individual sensor drivers.

6) Remove individual open-coded delta-estimators for values from a few
places in the tree (uvm, environmental drivers).

7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers
that had stubbed out code, other minor cleanups.
 1.51.2.1  06-Jun-2015  skrll Sync with HEAD
 1.53.4.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.53.4.1  10-Jun-2019  christos Sync with HEAD
 1.53.2.2  26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.53.2.1  20-Oct-2018  pgoyette Sync with head

RSS XML Feed