Home | History | Annotate | Download | only in mca
History log of /src/sys/dev/mca/ed_mca.c
RevisionDateAuthorComments
 1.68  25-Sep-2022  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.67  03-Sep-2018  riastradh Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER! Some subsystems have

#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
 1.66  14-Jul-2016  msaitoh branches: 1.66.16; 1.66.18;
- Use aprint*() instead of printf() in xxx_attach().
- Add missing aprint_naive("\n");
- KNF
 1.65  11-Jul-2016  msaitoh KNF. No functional change.
 1.64  26-Apr-2015  mlelstv Use C99-style initializers for struct dkdriver.
 1.63  13-Apr-2015  riastradh Convert sys/dev to use <sys/rndsource.h>.
 1.62  02-Jan-2015  christos We have three sets of DTYPE_ constants in the kernel:
altq Drop Type
disklabel Disk Type
file Descriptor Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.
 1.61  31-Dec-2014  christos make more drivers use disk_ioctl, and add a dev parameter to it so that
we can merge the "easy" disklabel ioctls to it. Ultimately all this will
go do dk_ioctl once all the drivers have been converted.
 1.60  31-Dec-2014  christos Centralize wedge ioctls in disk_ioctl.
 1.59  09-Nov-2014  mlelstv branches: 1.59.2;
support DIOCMWEDGES ioctl
 1.58  10-Aug-2014  tls Merge tls-earlyentropy branch into HEAD.
 1.57  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.56  25-Jul-2014  dholland Add d_discard to all struct bdevsw instances I could find.

I've set them all to nodiscard. Some of them (wd, dk, vnd, ld,
raidframe, maybe cgd) should be implemented for real.
 1.55  20-Mar-2014  skrll branches: 1.55.2;
Mechanically replace simplelock with kmutex_t.
 1.54  16-Mar-2014  dholland 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.53  27-Oct-2012  chs branches: 1.53.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.52  31-Jul-2012  bouyer branches: 1.52.2;
Apply back changes that were reverted on Jul 24 and Jul 26 (general ata/wdc
cleanup and SATA PMP support), now that I'm back to fix the fallouts.
 1.51  24-Jul-2012  jakllsch Revert dsl@'s changes of Sun, 15 Jul 2012 10:55:35 +0000 and
Sun, 15 Jul 2012 10:56:50 +0000, excepting the kernel version bump.
First step in reverting regressions to ata(4) subsystem during the addition of
port multiplier support.
 1.50  15-Jul-2012  dsl Some namespace protection (and add greppablity).
Prefix the DRIVE_ and DRIVET_ constants from atavar.h with ATA_.
Don't use an enum for drive_type - you don't know how big it will be.
Move driver_type to avoid implicit structure padding (esp on arm).
This change is purely lexical and mechanical.

Update to 6.99.9 - this wasn't done when the SATA PMP changes
were made - I'm sure they warranted a bump.
 1.49  02-Feb-2012  tls 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.48  07-Aug-2011  rmind branches: 1.48.2; 1.48.6;
Replace some wakeup_one(9) uses with mutex(9) or plain wakeup(9).
 1.47  12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.46  12-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.45  14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.44  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.43  13-Jan-2009  yamt branches: 1.43.2;
g/c BUFQ_FOO() macros and use bufq_foo() directly.
 1.42  08-Jun-2008  tsutsui branches: 1.42.6;
Replace device_lookup() with device_lookup_private() on getting softc
for future device_t/softc spilt.
 1.41  04-May-2008  martin branches: 1.41.2;
Move to standard TNF 2 clause license
 1.40  08-Apr-2008  cegger branches: 1.40.2; 1.40.4;
use aprint_*_dev and device_xname
 1.39  19-Oct-2007  ad branches: 1.39.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.38  08-Oct-2007  ad branches: 1.38.2;
Merge disk init changes from the vmlocking branch. These seperate init /
destroy of 'struct disk' from attach / detach.
 1.37  29-Jul-2007  ad branches: 1.37.4; 1.37.6; 1.37.8; 1.37.10;
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
 1.36  21-Jul-2007  ad Replace some uses of lockmgr().
 1.35  04-Mar-2007  christos branches: 1.35.2; 1.35.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.34  16-Nov-2006  christos branches: 1.34.4;
__unused removal on arguments; approved by core.
 1.33  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.32  29-Mar-2006  thorpej branches: 1.32.8; 1.32.10;
Use device_private().
 1.31  11-Dec-2005  christos branches: 1.31.4; 1.31.6; 1.31.8; 1.31.10; 1.31.12;
merge ktrace-lwp.
 1.30  15-Oct-2005  yamt - change the way to specify a bufq strategy. (by string rather than by number)
- rather than embedding bufq_state in driver softc,
have a pointer to the former.
- move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c.
- rename method to strategy for consistency.
- move some definitions which don't need to be exposed to the rest of kernel
from sys/bufq.h to sys/bufq_impl.h.
(is it better to move it to kern/ or somewhere?)
- fix some obvious breakage in dev/qbus/ts.c. (not tested)
 1.29  27-Feb-2005  perry branches: 1.29.4;
nuke trailing whitespace
 1.28  04-Feb-2005  perry de-__P
 1.27  28-Oct-2004  yamt branches: 1.27.4; 1.27.6;
move buffer queue related stuffs from buf.h to their own header, bufq.h.
 1.26  25-Sep-2004  thorpej Can't actually auto-discover wedges here yet, because ed drives are
not attached with interrupts enabled, meaning we can't do the required
I/O. Add a comment to this effect.
 1.25  25-Sep-2004  thorpej Add support for wedges to the MCA ESDI disk driver.
 1.24  01-Sep-2004  drochner use a submatch function for drive attachment, and pass locators
just for sanity
 1.23  13-Aug-2004  thorpej WDCDEBUG -> ATADEBUG.
 1.22  29-Jun-2003  fvdl branches: 1.22.2;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.21  28-Jun-2003  darrenr Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
 1.20  10-May-2003  thorpej Change bounds_check_with_label() to take a pointer to the disk structure,
rather than the label itself. This paves the way for some future changes.
 1.19  02-May-2003  dsl Change return type of readdisklabel() to const char *
I hope I've found all the correct places!
 1.18  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.17  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.16  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.15  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.14  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.13  21-Jul-2002  hannken Rename bufq_init() to bufq_alloc().
Add bufq_free() to remove a buffer queue.
Avoid MALLOC while holding a spinlock.

From Chuck Silvers.
 1.12  20-Jul-2002  hannken Convert to new device buffer queue interface.
 1.11  29-Mar-2002  jdolecek branches: 1.11.2;
no need to splbio() while manipulating sc_q - it's accessed from
process context only (edcworker())
 1.10  23-Nov-2001  jdolecek Convert over to use the new MCA DMA facilities, which encapsulate
the MCA DMA controller access. This also means we gain >16MB RAM support.

While here, overhaul the driver to saner state, especially:
* simplify and clean the attach code a lot, and support the 'drive'
locator
* pass proper dev_t to readdisklabel() - formerly, the passed value was
completely broken (used incorrect major and wrong minor), but worked
by accident
* worker thread is now spawned per controller, rather than per-drive;
i/o cannot be done concurrently by different drivers, only one
i/o can be pending at any time
* simplify the command queue code, just sleep appropriately when
!poll case, g/c 'async' code formerly needed, move the bio code
from ed_mca.c to edc_mca.c:edc_bio()
* put all string arrays used by edc_dump_status_block() within #ifdef EDC_DEBUG,
and use numbers instead if it's not defined; this cuts object size by 5KB
* other misc cleanups
 1.9  13-Nov-2001  lukem add RCSID
 1.8  03-Sep-2001  sommerfeld branches: 1.8.2;
Don't spinlockinit a simple_lock; simple_lock_init it instead.
 1.7  14-May-2001  jdolecek branches: 1.7.2; 1.7.4;
remove //-commented debugging stuff
 1.6  04-May-2001  jdolecek Implement polled command mode, and use it for writing system dump
and for initial autoconf probes; the latter eliminates need for
deferred configuration (and makes dmesg a bit nicer).

g/c EDF_IODONE flag - protect against interrupt by calling tsleep()
at splbio in worker thread

g/c unneeded stuff, improve some autoconf messages
 1.5  23-Apr-2001  jdolecek Compact autoconf info by printing the IRQ number together
with 'at mca0 slot foo' info.
 1.4  22-Apr-2001  jdolecek Introduce machdep mca_disk_[un]busy(), which turn on/off disk LED.
Call as appropriate from the ESDI disk driver
 1.3  22-Apr-2001  jdolecek Fix serious bug in bounce buf handling - the EDF_BOUNCEBUF flag needs
to be cleared always in edmcadone(), otherwise if there is a write
via bounce buffer followed by read directly to buf, the read operation
would return trashed data (the buf data would get overwritten
by contents of bounce buffer in edmcadone()).
Reset b_resid as necessary when the i/o is done, too.

g/c some unneeded stuff, use lockmgr()-style locking in ed_[un]lock(),
better avoid some deadlocks

These changes make the driver quite a bit more stable. It's actually
reliable enough to be possible to newfs the drive and use it for
read/write filesystem now.
 1.2  19-Apr-2001  jdolecek branches: 1.2.2;
Use "edc" instead of "dasd". As pointed out by Soren, dasd doesn't
mean anything special in IBM-talk. And edc better matches prior art, too.
 1.1  19-Apr-2001  jdolecek Add a driver for IBM ESDI disk controllers. Tested with IBM Integ. ESDI Fixed
Disk & Controller only at the moment.

This driver still needs some touchup (error recovery is not quite
good, MCA DMA controller goo should be moved to driver independant
location), but is working enough to be usable for others. And I
want this under CVS control :)

Thanks to Scott Telford <st@epcc.ed.ac.uk> for providing me docs for
these devices (IBM DASD Storage Interface Specification for MCA rev. 2.2).
 1.2.2.3  23-Apr-2001  bouyer Sync with HEAD.
 1.2.2.2  21-Apr-2001  bouyer Sync with HEAD
 1.2.2.1  19-Apr-2001  bouyer file ed_mca.c was added on branch thorpej_scsipi on 2001-04-21 17:48:52 +0000
 1.7.4.5  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.7.4.4  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.7.4.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.7.4.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.4.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.7.2.10  11-Nov-2002  nathanw Catch up to -current
 1.7.2.9  18-Oct-2002  nathanw Catch up to -current.
 1.7.2.8  17-Sep-2002  nathanw Catch up to -current.
 1.7.2.7  01-Aug-2002  nathanw Catch up to -current.
 1.7.2.6  17-Apr-2002  nathanw Catch up to -current.
 1.7.2.5  08-Jan-2002  nathanw Catch up to -current.
 1.7.2.4  14-Nov-2001  nathanw Catch up to -current.
 1.7.2.3  21-Sep-2001  nathanw Catch up to -current.
 1.7.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.7.2.1  14-May-2001  nathanw file ed_mca.c was added on branch nathanw_sa on 2001-06-21 20:03:59 +0000
 1.8.2.3  01-Oct-2001  fvdl Catch up with -current.
 1.8.2.2  26-Sep-2001  fvdl * add a VCLONED vnode flag that indicates a vnode representing a cloned
device.
* rename REVOKEALL to REVOKEALIAS, and add a REVOKECLONE flag, to pass
to VOP_REVOKE
* the revoke system call will revoke all aliases, as before, but not the
clones
* vdevgone is called when detaching a device, so make it use REVOKECLONE
to get rid of all clones as well
* clean up all uses of VOP_OPEN wrt. locking.
* add a few VOPS to spec_vnops that need to do something when it's a
clone vnode (access and getattr)
* add a copy of the vnode vattr structure of the original 'master' vnode
to the specinfo of a cloned vnode. could possibly redirect getattr to
the 'master' vnode, but this has issues with revoke
* add a vdev_reassignvp function that disassociates a vnode from its
original device, and reassociates it with the specified dev_t. to be
used by cloning devices only, in case a new minor is allocated.
* change all direct references in drivers to v_devcookie and v_rdev
to vdev_privdata(vp) and vdev_rdev(vp). for diagnostic purposes
when debugging race conditions that still exist wrt. locking and
revoking vnodes.
* make the locking state of a vnode consistent when passed to
d_open and d_close (unlocked). locked would be better, but has
some deadlock issues
 1.8.2.1  07-Sep-2001  thorpej Commit my "devvp" changes to the thorpej-devvp branch. This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).
 1.11.2.2  29-Aug-2002  gehenna catch up with -current.
 1.11.2.1  16-May-2002  gehenna Add the block/character device switches.
 1.22.2.10  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.22.2.9  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.22.2.8  04-Feb-2005  skrll Sync with HEAD.
 1.22.2.7  02-Nov-2004  skrll Sync with HEAD.
 1.22.2.6  19-Oct-2004  skrll Sync with HEAD
 1.22.2.5  21-Sep-2004  skrll Fix the sync with head I botched.
 1.22.2.4  18-Sep-2004  skrll Sync with HEAD.
 1.22.2.3  03-Sep-2004  skrll Sync with HEAD
 1.22.2.2  25-Aug-2004  skrll Sync with HEAD.
 1.22.2.1  02-Jul-2003  darrenr Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
 1.27.6.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.27.6.1  12-Feb-2005  yamt sync with head.
 1.27.4.1  29-Apr-2005  kent sync with -current
 1.29.4.4  27-Oct-2007  yamt sync with head.
 1.29.4.3  03-Sep-2007  yamt sync with head.
 1.29.4.2  30-Dec-2006  yamt sync with head.
 1.29.4.1  21-Jun-2006  yamt sync with head.
 1.31.12.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.31.10.1  19-Apr-2006  elad sync with head.
 1.31.8.1  01-Apr-2006  yamt sync with head.
 1.31.6.1  22-Apr-2006  simonb Sync with head.
 1.31.4.1  09-Sep-2006  rpaulo sync with head
 1.32.10.2  10-Dec-2006  yamt sync with head.
 1.32.10.1  22-Oct-2006  yamt sync with head
 1.32.8.1  18-Nov-2006  ad Sync with head.
 1.34.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.35.10.1  15-Aug-2007  skrll Sync with HEAD.
 1.35.2.5  23-Oct-2007  ad Sync with head.
 1.35.2.4  09-Oct-2007  ad Sync with head.
 1.35.2.3  20-Aug-2007  ad - Alter disk attach/detach to fix a panic when closing a vnd device.
- Sync with HEAD.
 1.35.2.2  19-Aug-2007  ad - Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).
 1.35.2.1  13-May-2007  ad - Pass the error number and residual count to biodone(), and let it handle
setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.
 1.37.10.2  29-Jul-2007  ad It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
 1.37.10.1  29-Jul-2007  ad file ed_mca.c was added on branch matt-mips64 on 2007-07-29 12:50:22 +0000
 1.37.8.1  14-Oct-2007  yamt sync with head.
 1.37.6.1  06-Nov-2007  matt sync with HEAD
 1.37.4.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.38.2.1  25-Oct-2007  bouyer Sync with HEAD.
 1.39.16.3  17-Jan-2009  mjf Sync with HEAD.
 1.39.16.2  29-Jun-2008  mjf Sync with HEAD.
 1.39.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.40.4.3  16-May-2009  yamt sync with head
 1.40.4.2  04-May-2009  yamt sync with head.
 1.40.4.1  16-May-2008  yamt sync with head.
 1.40.2.2  17-Jun-2008  yamt sync with head.
 1.40.2.1  18-May-2008  yamt sync with head.
 1.41.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.42.6.2  28-Apr-2009  skrll Sync with HEAD.
 1.42.6.1  19-Jan-2009  skrll Sync with HEAD.
 1.43.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.48.6.1  18-Feb-2012  mrg merge to -current.
 1.48.2.3  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.48.2.2  30-Oct-2012  yamt sync with head
 1.48.2.1  17-Apr-2012  yamt sync with head
 1.52.2.3  03-Dec-2017  jdolecek update from HEAD
 1.52.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.52.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.53.2.1  18-May-2014  rmind sync with head
 1.55.2.2  10-Aug-2014  tls Rebase.
 1.55.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.59.2.3  05-Oct-2016  skrll Sync with HEAD
 1.59.2.2  06-Jun-2015  skrll Sync with HEAD
 1.59.2.1  06-Apr-2015  skrll Sync with HEAD
 1.66.18.1  10-Jun-2019  christos Sync with HEAD
 1.66.16.1  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

RSS XML Feed