Commit Graph

263786 Commits

Author SHA1 Message Date
jdolecek
1ffd64e38d try to detach on shutdown; for now the only practical reason is to test that
the driver detach paths work
2018-12-09 19:21:16 +00:00
jdolecek
d5bb209457 convert to pci_intr_alloc() to possibly allow MSI/MSI-X; has no effect
on my system, where the device only supports INTx
2018-12-09 19:16:10 +00:00
christos
7521fc28e7 Don't hard-code the path 2018-12-09 19:03:42 +00:00
christos
ddcb7de5af fix printf warnings. 2018-12-09 18:01:01 +00:00
christos
f5cba070b3 Address of packed member might not be aligned. 2018-12-09 17:52:48 +00:00
christos
eb31074ab5 comment out unused. 2018-12-09 17:33:38 +00:00
thorpej
951ce6f817 sparc64 doesn't have a scalar bus_space_handle_t, so cope with this.
Also, add a comment about why we're using the dummy / nil space handle
in the first place.
2018-12-09 16:00:40 +00:00
alnsn
ba6c776636 Install aarch64/sljit_machdep.h. 2018-12-09 15:08:05 +00:00
jdolecek
d53d735aa4 remove 'NOT WORKING' for ena(4) - while it was not yet confirmed working
on x86, it already is confirmed working on aarm64 so chances are high
it will work for x86 too
2018-12-09 11:52:11 +00:00
jdolecek
f2279a5214 use pci_intr_establish_xname()
XXX due to 2008-01-17 '10 gigabit Chelsio cards now compile and work, although
XXX not very well yet' commit this looks like having worked in past, but since
XXX ~2010 received only mechanical updates, and currently it's unreferenced
XXX and uncompilable - does it make sense to keep the driver around?
2018-12-09 11:49:06 +00:00
jdolecek
d375d3180a use pci_intr_establish_xname() 2018-12-09 11:22:35 +00:00
jdolecek
d3cda6139a use pci_intr_establish_xname() everywhere 2018-12-09 11:14:01 +00:00
jdolecek
624cebb0b9 make compile on 64-bit archs after acpi_mem ar_length was changed
from uint32_t to bus_size_t in rev. 1.77 of acpivar.h
2018-12-09 11:12:58 +00:00
jdolecek
717243571b put back the intr establish to ath_pci_resume() to avoid possibility of
functionality change, but add XXX comment that it shouldn't be necessary
2018-12-09 10:38:53 +00:00
jdolecek
f01e9d6e92 use pci_intr_establish_xname()
upon code inspection, remove intr re-establish from ath_pci_resume() -
not needed to re-establish interrupt there, no other driver does this,
and very likely it would actually fail nowadays
2018-12-09 10:06:56 +00:00
mrg
4be3232b88 remove XXXKALSR that became MI. 2018-12-09 00:45:18 +00:00
christos
deb6f0161a Add engines infrastructure, not hooked to the build:
1. sets needs to be fixed
2. need to decide if I am going to add engine.so.MAJOR or use engine.so
   like OpenSSL wants
3. padlock is MD (x86) needs asm to be added, and conditionally built
2018-12-08 23:24:01 +00:00
christos
72d6e35e50 new OpenSSL 2018-12-08 22:38:06 +00:00
christos
bf8eace1c0 Merge conflicts 2018-12-08 22:35:42 +00:00
christos
f4f044c4b1 Changes between 1.1.1 and 1.1.1a [20 Nov 2018]
*) Timing vulnerability in DSA signature generation

     The OpenSSL DSA signature algorithm has been shown to be vulnerable to a
     timing side channel attack. An attacker could use variations in the signing
     algorithm to recover the private key.

     This issue was reported to OpenSSL on 16th October 2018 by Samuel Weiser.
     (CVE-2018-0734)
     [Paul Dale]

  *) Timing vulnerability in ECDSA signature generation

     The OpenSSL ECDSA signature algorithm has been shown to be vulnerable to a
     timing side channel attack. An attacker could use variations in the signing
     algorithm to recover the private key.

     This issue was reported to OpenSSL on 25th October 2018 by Samuel Weiser.
     (CVE-2018-0735)
     [Paul Dale]

  *) Added EVP_PKEY_ECDH_KDF_X9_63 and ecdh_KDF_X9_63() as replacements for
     the EVP_PKEY_ECDH_KDF_X9_62 KDF type and ECDH_KDF_X9_62(). The old names
     are retained for backwards compatibility.
     [Antoine Salon]

  *) Fixed the issue that RAND_add()/RAND_seed() silently discards random input
     if its length exceeds 4096 bytes. The limit has been raised to a buffer size
     of two gigabytes and the error handling improved.

     This issue was reported to OpenSSL by Dr. Falko Strenzke. It has been
     categorized as a normal bug, not a security issue, because the DRBG reseeds
     automatically and is fully functional even without additional randomness
     provided by the application.
2018-12-08 22:33:03 +00:00
thorpej
7266b92d32 Remove the COM_REGMAP option -- just use it all the time. While here,
garbage-collect the COM_FUNCMAP and COM_AU1X00 options, as there are
not used anywhere.
2018-12-08 21:14:36 +00:00
thorpej
6d4870476f Clean up initialization of com_regs structure, in preparation for
some additional changers.
2018-12-08 17:46:09 +00:00
christos
0ef48146df Put back devcrypto (what was called cryptodev) engine support. 2018-12-08 17:07:27 +00:00
jdolecek
83226ad34f support multi-vector MSI-X
tested and confirmed working by Masanobu SAITOH on C3000
2018-12-08 15:31:30 +00:00
jmcneill
e23c320eaa Add support for decoding PCI ID mappings using IO remapping tables (IORT). 2018-12-08 15:04:40 +00:00
jmcneill
4f305a76f5 acpimcfg_configure_bus_cb can support 16-bit addresses now 2018-12-08 15:02:06 +00:00
msaitoh
937ff12903 Don't call callout_halt() if it's not initialzied. 2018-12-08 14:57:11 +00:00
sevan
861b7e9a71 Spelling 2018-12-08 14:55:53 +00:00
bouyer
c0f69c43f3 Don't try to handle interrupts for a detached device. Should fix
panic on shutdown reported by Stefan Hertenberger on current-users.
2018-12-08 13:31:31 +00:00
wiz
e1f1a9870c Improve man page. 2018-12-08 12:18:37 +00:00
mlelstv
7165232755 Add machdep.cpu.frequency.available node to support estd.
While the RPI can run at many intermediate clock frequencies,
this is sufficient for estd and is known to work with every
firmware revision.
2018-12-08 06:53:11 +00:00
sevan
23472bf8b1 Include ztest(1) in builds. 2018-12-08 01:47:21 +00:00
sevan
ee544a8d7f Add a draft manual for ztest(1), based on the comments from zfstest.c (WIP). 2018-12-08 01:28:27 +00:00
jdolecek
639fa15b19 add optional hook for intr establish when active port is attached, export
ahci_intr_port() in form suitable for interrupt hanlder, and probe for GHC
MRSM flag as courtesy for use by the intr hook

towards multi-vector MSI/MSI-X support
2018-12-07 22:22:12 +00:00
jdolecek
1d8d40bf6e save some notes from my two years old hacking on ext3/ext4 support with
our ext2fs
2018-12-07 21:28:03 +00:00
jakllsch
719b9b8549 Add speeds B500000 to B4000000 in increments of 500000.
Motivated by picocom checking for the existance of these at compile
time, and therefor previously not being able able to use picocom to
access the consoles of modern Rockchip SoCs (for example RK3399) running
at B1500000.
2018-12-07 19:01:11 +00:00
ryo
60c9286434 add simple stack overflow checker for debugging 2018-12-07 18:46:27 +00:00
jakllsch
c2323eb1dc reindent "standard speeds" in preparation for 7-digit bauds 2018-12-07 18:45:13 +00:00
ryo
0d469143b3 modifying curlwp->l_md_ktf, curlwp->l_md_cpacr, and curlwp should be protected by a critical section. 2018-12-07 18:27:03 +00:00
sevan
874c81780f Continuing with ZFS 2018-12-07 17:58:29 +00:00
kamil
d249bd0470 Add new entry in TODO.sanitizers for NetBSD tar(1) enhancement request
Added:
 - NetBSD tar: handle character escaping in file names (\\ \), needed in
   check-lld (lld::reproduce-backslash.s)
2018-12-07 17:57:22 +00:00
jakllsch
20fc3148e0 fix a paste-o in a panic message 2018-12-07 17:56:41 +00:00
sevan
0a2c5d1e09 Add some ZFS related acronyms.
While here, replace spaces with a tab for ZFS entry.
2018-12-07 16:36:30 +00:00
maxv
ac147c2a99 Add an option to have a static kernel memory layout. This option is
disabled by default - that is to say, KASLR remains enabled by default.
2018-12-07 15:47:11 +00:00
mlelstv
40d825b97a interlock isn't taken when cleaning up. 2018-12-07 14:59:19 +00:00
roy
9aebb96254 inet6: match NS nonce to any interface
This allows the same address to exist on many interfaces on the same
prefix, matching the inet behaviour.
2018-12-07 14:47:24 +00:00
msaitoh
0d6a6f842d - defflag PPB_USEINTR
- Print "interrupting at "
2018-12-07 09:36:26 +00:00
ozaki-r
60afc5cb5b tests: check error messages strictly 2018-12-07 09:29:01 +00:00
ozaki-r
fba119d2aa tests: reduce repeated phrases... (NFC) 2018-12-07 09:28:31 +00:00
knakahara
d2e69c9963 ipsecif(4) should not increment drop counter by errors not related to if_snd. Pointed out by ozaki-r@n.o, thanks. 2018-12-07 09:11:04 +00:00