Commit Graph

263697 Commits

Author SHA1 Message Date
thorpej 98ec1b8df8 Make i2c_acquire_bus() / i2c_release_bus() real symbols. 2018-12-10 00:31:45 +00:00
jakllsch d4dd955a40 Remove incorrect printout of CH340/CH341 part.
CH341 and CH340 can't be differentiated by the chip's USB firmware version.
2018-12-10 00:29:47 +00:00
jakllsch 4467ea1b14 Don't accumulate RX data into packets on CH341. 2018-12-10 00:22:13 +00:00
jakllsch 9e122cdce8 Note the instance of the driver in register access trace debug messages. 2018-12-10 00:03:11 +00:00
maya 3de9aa6327 New wpa_supplicant out. 2018-12-09 23:18:41 +00:00
mlelstv 784e861daf Handle the case when a CPU is assigned to a set it is already a member of.
Previously this would trigger an assertion failure.
2018-12-09 23:05:02 +00:00
christos a391bfdb6d add new file (Robert Swindells) 2018-12-09 21:39:48 +00:00
jdolecek 2386f90fa2 for direct map case, avoid PGO_NOBLOCKALLOC when writing, it makes
genfs_getpages() return unallocated pages using the zero page and
PG_RDONLY; the old code relied on fault logic to get it allocated, which
the direct case can't rely on

instead just allocate the blocks right away; pass PGO_JOURNALLOCKED
so that code wouldn't try to take wapbl lock, this code path is called
with it already held

this should fix KASSERT() due to PG_RDONLY on write with wapbl

towards resolution of PR kern/53124
2018-12-09 20:45:37 +00:00
jdolecek 2241f5514d update comment - PGO_JOURNALLOCKED now supported for 'get' too 2018-12-09 20:33:04 +00:00
jdolecek 5f7e430114 support flag PGO_JOURNALLOCKED also for genfs_getpages() 2018-12-09 20:32:37 +00:00
christos dda6d8cae4 fix grammar. 2018-12-09 20:29:53 +00:00
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