Up to [cvs.NetBSD.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.18 / (download) - annotate - [select for diffs], Thu Apr 14 19:47:14 2022 UTC (9 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Changes since 1.17: +3 -3
lines
Diff to previous 1.17 (colored)
Revert "viornd(4): Process host entropy in softint context." Apparently this has the effect of sometimes making the network hang on Google Compute Engine as used by syzbot, which has held up all the syzkaller testing for weeks now. Let's revert this for now, and separately try to figure out what's wrong with it.
Revision 1.17 / (download) - annotate - [select for diffs], Wed Mar 23 23:23:25 2022 UTC (10 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.16: +3 -3
lines
Diff to previous 1.16 (colored)
viornd(4): Process host entropy in softint context. Samples added to the entropy pool in hard interrupt context are only buffered, never processed directly, and if they fill the buffer, the sample is dropped -- this serves to encourage taking timing samples in hard interrupt context because it's cheap, and we have no idea how many samples we really need for full entropy so it's safer to err on the side of `as many as we can get'. But for viornd(4), we assume the host has full entropy so we only need a single 32-byte sample, and we want to avoid dropping it so we get full entropy ASAP. Entering the sample in a soft interrupt rather than hard interrupt achieves this.
Revision 1.16 / (download) - annotate - [select for diffs], Sat Mar 19 16:20:45 2022 UTC (10 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored)
viornd(4): Revert IPL change for lock. This lock is taken in hard interrupt context, so it needs to remain at IPL_VM.
Revision 1.15 / (download) - annotate - [select for diffs], Sat Mar 19 11:37:06 2022 UTC (10 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.14: +4 -4
lines
Diff to previous 1.14 (colored)
rnd(9): Adjust IPL of locks used by rndsource callbacks. These no longer ever run from hard interrupt context or with a spin lock held, so there is no longer any need to have them at IPL_VM to block hard interrupts. Instead, lower them to IPL_SOFTSERIAL.
Revision 1.13.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:49 2021 UTC (22 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.13: +2 -2
lines
Diff to previous 1.13 (colored) next main 1.14 (colored)
Sync with HEAD.
Revision 1.14 / (download) - annotate - [select for diffs], Wed Jan 20 19:46:48 2021 UTC (2 years ago) by reinoud
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Changes since 1.13: +2 -2
lines
Diff to previous 1.13 (colored)
Add VirtIO PCI v1.0 attachments and fix the drivers affected. The vioif, ld, scsi, viornd and viomb devices were adjusted when needed and tested both in legacy 0.9 and v1.0 attachments trough PCI on amd64, sparc64, aarch64 and aarch64-eb. ACPI/FDT attachments also tested on aarch64/aarch64-eb. Known issues * viomb on aarch64 works only with ACPI/FDT attachment but not with PCI attachment. PCI and ACPI/FDT attachment works on aarch64-eb. * virtio on sparc64 attaches but is it not functioning though not a regression.
Revision 1.13 / (download) - annotate - [select for diffs], Thu Apr 30 03:40:53 2020 UTC (2 years, 9 months ago) by riastradh
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.12: +1 -2
lines
Diff to previous 1.12 (colored)
rnd_attach_source calls the callback itself now. No need for every driver to explicitly call it to prime the pool. Eliminate now-unused <sys/rndpool.h>.
Revision 1.11.14.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:26:01 2018 UTC (4 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.11: +1 -4
lines
Diff to previous 1.11 (colored) next main 1.12 (colored)
Sync with HEAD
Revision 1.12 / (download) - annotate - [select for diffs], Sun Jun 10 14:59:23 2018 UTC (4 years, 7 months ago) by jakllsch
Branch: MAIN
CVS Tags: phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Changes since 1.11: +1 -4
lines
Diff to previous 1.11 (colored)
remove irrelevant pci(9) #includes from virtio child drivers
Revision 1.11.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:29 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.11.12.1: +256 -0
lines
Diff to previous 1.11.12.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)
update from HEAD
Revision 1.5.2.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:25 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.3: +32 -33
lines
Diff to previous 1.5.2.3 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)
Sync with HEAD
Revision 1.9.2.2 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:22 2017 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.9.2.1: +32 -33
lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)
Sync with HEAD
Revision 1.10.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:51 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.10: +32 -33
lines
Diff to previous 1.10 (colored) next main 1.11 (colored)
Sync with HEAD
Revision 1.11.12.1, Sat Mar 25 18:02:06 2017 UTC (5 years, 10 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.11: +0 -256
lines
FILE REMOVED
file viornd.c was added on branch tls-maxphys on 2017-12-03 11:37:29 +0000
Revision 1.11 / (download) - annotate - [select for diffs], Sat Mar 25 18:02:06 2017 UTC (5 years, 10 months ago) by jdolecek
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-compat-base,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: tls-maxphys,
pgoyette-compat
Changes since 1.10: +32 -33
lines
Diff to previous 1.10 (colored)
reorganize the attachment process for virtio child devices, so that more common code is shared among the drivers, and it's possible for the drivers to be correctly dynamically loaded; forbid direct access to struct virtio_softc from the child driver code
Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:40 2017 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.9: +1 -2
lines
Diff to previous 1.9 (colored)
Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
Revision 1.5.2.3 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:16 2016 UTC (6 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.2: +1 -2
lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored)
Sync with HEAD
Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 30 01:36:38 2016 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.9: +1 -2
lines
Diff to previous 1.9 (colored)
Don't call virtio_enqueue_abort when virtio_enqueue_reserve fails. Pointed out by uwe@
Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:57 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.1: +6 -3
lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)
Sync with HEAD (as of 26th Dec)
Revision 1.1.2.3 / (download) - annotate - [select for diffs], Fri Nov 6 22:52:55 2015 UTC (7 years, 3 months ago) by riz
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1
Changes since 1.1.2.2: +2 -2
lines
Diff to previous 1.1.2.2 (colored) next main 1.2 (colored)
Pull up following revision(s) (requested by riastradh in ticket #995): sys/dev/pci/viornd.c: revision 1.3 disable debug print by default
Revision 1.9 / (download) - annotate - [select for diffs], Tue Oct 27 16:04:19 2015 UTC (7 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.8: +6 -3
lines
Diff to previous 1.8 (colored)
Print the negotiated feature bits
Revision 1.5.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:12 2015 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5: +4 -3
lines
Diff to previous 1.5 (colored)
Sync with HEAD
Revision 1.8 / (download) - annotate - [select for diffs], Tue May 5 10:56:13 2015 UTC (7 years, 9 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921,
nick-nhusb-base-20150606
Changes since 1.7: +2 -2
lines
Diff to previous 1.7 (colored)
Use NULL for initialization of sc_config_change
Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 13 16:33:25 2015 UTC (7 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.6: +2 -2
lines
Diff to previous 1.6 (colored)
Convert sys/dev to use <sys/rndsource.h>.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Apr 8 13:47:06 2015 UTC (7 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.5: +2 -1
lines
Diff to previous 1.5 (colored)
Don't forget to bus_dmamap_unload.
Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 6 01:42:01 2014 UTC (8 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406,
nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.4: +3 -1
lines
Diff to previous 1.4 (colored)
put the "asked for" print also behind VIORNG_DEBUG
Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 6 01:29:25 2014 UTC (8 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
Abort only actually initialized slots.
Revision 1.3 / (download) - annotate - [select for diffs], Thu Nov 6 00:42:18 2014 UTC (8 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored)
disable debug print by default
Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 6 00:41:33 2014 UTC (8 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.1: +4 -1
lines
Diff to previous 1.1 (colored)
Print attachment \n's so that we don't get junky lines (this driver now matches ld)
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Nov 2 10:09:44 2014 UTC (8 years, 3 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Changes since 1.1.2.1: +249 -0
lines
Diff to previous 1.1.2.1 (colored)
Pull up following revision(s) (requested by tls in ticket #174): doc/CHANGES: revision 1.2005 sys/dev/pci/viornd.c: revision 1.1 sys/dev/pci/files.pci: revision 1.372 sys/arch/amd64/conf/GENERIC: revision 1.401 share/man/man4/viornd.4: revision 1.1 Add viornd(4), a driver for the VirtIO entropy source available on QEMU, KVM, and Google Compute Engine. From OpenBSD.
Revision 1.1.2.1, Sun Oct 26 18:43:18 2014 UTC (8 years, 3 months ago) by martin
Branch: netbsd-7
Changes since 1.1: +0 -249
lines
FILE REMOVED
file viornd.c was added on branch netbsd-7 on 2014-11-02 10:09:44 +0000
Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 26 18:43:18 2014 UTC (8 years, 3 months ago) by tls
Branch: MAIN
Branch point for: netbsd-7
Add viornd(4), a driver for the VirtIO entropy source available on QEMU, KVM, and Google Compute Engine. From OpenBSD.