Commit Graph

276845 Commits

Author SHA1 Message Date
sevan fc68174c1c Add Margaret Hamilton, Florian Schneider, Ron Hardy, Little Richard 2020-05-18 20:57:06 +00:00
sevan b28c03fb6f BMP, DGEMM, DIB, GEMM, WMF 2020-05-18 20:28:44 +00:00
sevan dc34a600e7 Heads up on Bell patents
P21 on https://minnie.tuhs.org/Archive/Documentation/AUUGN/AUUGN-V01.1.pdf
2020-05-18 20:19:08 +00:00
christos 10d4c4e928 remove debugging, it is just clutter. 2020-05-18 19:55:42 +00:00
christos e59d6517f7 Fix EPERM vs EACCES return. 2020-05-18 19:42:16 +00:00
wiz 80892d06ff Whitespace fixes and a serial comma. 2020-05-18 16:42:05 +00:00
riastradh 9b4b6c52ed Adjust entropy estimate for the Octeon.
We are hedging in serial and in parallel, and more conservative than
the Linux driver from Cavium seems to be, so although I don't know
exactly what the thermal jitter of the device is, this seems like a
reasonable compromise.
2020-05-18 16:05:09 +00:00
rkujawa a633cc7887 Remove misleading comment.
I've successfully transferred 16-byte command. I've checked scsipi source and
see no reason for this limitation.
2020-05-18 09:52:30 +00:00
jdc 2f8e1da7e4 Add a basic manual page for tadpmu. 2020-05-18 08:40:44 +00:00
hannken e8c811e929 Regen. 2020-05-18 08:30:06 +00:00
hannken 0476c79b09 VOP_STRATEGY() may still deadlock with devices.
Change FSTRANS from LAZY to NO.
2020-05-18 08:29:34 +00:00
hannken 3e262909c5 Assert ufs_strategy() always gets used while current thread
holds a fstrans lock.
2020-05-18 08:28:44 +00:00
hannken 2c8f728944 vrele_flush(): yield() every 100ms like we do it in vflush(). 2020-05-18 08:27:54 +00:00
msaitoh af38bc1427 Fix typo in comment. 2020-05-18 05:47:54 +00:00
christos f6a91933fb No ACL support for install media (SMALLPROG) 2020-05-17 23:34:11 +00:00
chs 17e5d3c866 Mask all the MMC counter interrupts if the MMC module is present. 2020-05-17 21:50:47 +00:00
riastradh 114199b404 Use rnd_add_data_sync from the callback.
(Doesn't make a difference in HEAD but this is the stated API
contract and it matters if we want to pull this up.)
2020-05-17 20:29:39 +00:00
riastradh b510cd1667 Rockchip crypto engine RNG driver.
As found on the rk3288 and rk3399.  This driver only supports the
TRNG, not the rest of the crypto engine, although it uses the AES unit
to do a self-test at attach time to verify that the engine works.

There seem to be two versions of the Rockchip crypto engine, v1 and
v2; this one is for v1.  Can't name a driver `rkcryptov1' so we'll
clumsily call it `rkv1crypto' instead to leave room for `rkv2crypto'
later on.

The crypto binding derived from the Rockchip BSP Linux kernel, in the
location it appears on the rk3399, is in rk3399-crypto.dtsi, since
there doesn't seem to be a better place to put it at the moment among
this twisty maze of inclusions, all different.
2020-05-17 19:57:25 +00:00
ad c3cbbd5eb0 Minor correction to previous. 2020-05-17 19:43:31 +00:00
ad 5c373ea86c PR kern/55268: tmpfs is slow
tmpfs_getpages(): handle the PGO_LOCKED case and implement lazy update of
atime/mtime.
2020-05-17 19:39:15 +00:00
ad ff872804dc Start trying to reduce cache misses on vm_page during fault processing.
- Make PGO_LOCKED getpages imply PGO_NOBUSY and remove the latter.  Mark
  pages busy only when there's actually I/O to do.

- When doing COW on a uvm_object, don't mess with neighbouring pages.  In
  all likelyhood they're already entered.

- Don't mess with neighbouring VAs that have existing mappings as replacing
  those mappings with same can be quite costly.

- Don't enqueue pages for neighbour faults unless not enqueued already, and
  don't activate centre pages unless uvmpdpol says its useful.

Also:

- Make PGO_LOCKED getpages on UAOs work more like vnodes: do gang lookup in
  the radix tree, and don't allocate new pages.

- Fix many assertion failures around faults/loans with tmpfs.
2020-05-17 19:38:16 +00:00
christos 013f352853 fix sun2 build 2020-05-17 19:37:15 +00:00
ad 88356b7b21 Reorganise the locking and allocation of fstrans_lwp_info slightly, to
reduce contention.  "please go ahead" hannken@.
2020-05-17 19:34:07 +00:00
christos 965581664f reverse the order for sun2 2020-05-17 18:59:02 +00:00
christos 627b2779c6 Fix sun2 build. Still there are some duplicate symbols in the rump libraries
that make this awkward.
2020-05-17 18:52:43 +00:00
christos ab0d77c491 put librumpvfs_nofifofs after librumpvfs for the benefit of sun2 2020-05-17 18:25:11 +00:00
ad c28f10c162 Don't set PG_AOBJ on a page unless UVM_OBJ_IS_AOBJ(), otherwise it can
catch pages from e.g. uvm_loanzero_object.
2020-05-17 17:12:28 +00:00
riastradh 13416a707b pool_cache_prime, not pool_cache_lowat, as suggested by nick. 2020-05-17 16:01:06 +00:00
riastradh 1530ae8163 Missed a spot. 2020-05-17 15:42:10 +00:00
martin 1af5bcc972 Fix lists for RUMP-less builds 2020-05-17 15:28:27 +00:00
ad 8545b637a5 - If the hardware provided NUMA info, then use it to decide how to set up
the allocator's buckets, instead of doing round robin distribution.  There
  are open questions here but this is better than doing nothing.

- Kernel reserve pages are for the kernel not realtime threads.
2020-05-17 15:11:57 +00:00
ad f080bee543 Mark amappl with PR_LARGECACHE. 2020-05-17 15:07:22 +00:00
ad 5351e0b6c5 Flag EOI on TLB shootdown IPIs after the shootdown has been processed. 2020-05-17 14:15:55 +00:00
ad 972d99cea6 softint_disestablish(): use a high priority xcall to determine that the
handler is no longer running.
2020-05-17 14:11:30 +00:00
ad 8b4ce5d40a Install sparc/intr.h 2020-05-17 13:49:37 +00:00
rillig 08808cd251 usr.bin/make: demonstrate actual behavior of .INCLUDEDFROMFILE 2020-05-17 12:36:26 +00:00
ad 8d5e5064ef comments 2020-05-17 12:11:11 +00:00
nonaka 535cda6ea5 Fixed a problem that caused a page fault when attaching vmbus(4).
Dynamically allocate a page of memory with uvm_km_alloc(kernel_map, ...)
for Hyper-V hypercall.  However, this method can no longer be used to
make an executable page.
So we prevent it by using statically allocated memory for text segment.
2020-05-17 11:54:39 +00:00
mlelstv d2f40a1873 With the recent change of the EC address space handler, we no longer get
an ACPI_INTEGER in host byte order but a byte sized buffer with little
endian data.

Extract only the low 8 bits from buffer to get the fan speed again.
2020-05-17 11:32:51 +00:00
rillig 58281fc596 usr.bin/make: fix test for dollar and backslash at eol
The previous version of this test relied on the way how the shell
interprets a lonely backslash at the end of the line.  The NetBSD and
FreeBSD shells print the backslash, while Bash doesn't.

While here, make the escaping a bit simpler and align the test
descriptions with the actual test data.
2020-05-17 09:37:48 +00:00
skrll fc761c7001 Copyright maintenance 2020-05-17 08:38:37 +00:00
skrll 6c89025969 Use BUS_ADDR_{LO,HI}32. NFCI. 2020-05-17 08:35:15 +00:00
martin 4c93143bb5 __HAVE_CPU_DATA_FIRST is still true for sparc64 (which shares this file) 2020-05-17 06:30:44 +00:00
riastradh 9c94f9d816 Remove obsolete paragraph. 2020-05-17 01:00:34 +00:00
riastradh 4a110e6211 Rework hifn(4) RNG logic.
Previously we would read 34 bits of entropy into the pool and stop,
never to try again.  This change finishes the conversion to an
on-demand source, although we still use a callout to (a) try again in
another second if the 7811 FIFO was emptied, and (b) wait at least
0.4 sec after we start the RNG to read anything from it as the
alleged documentation allegedly recommends.
2020-05-17 00:54:05 +00:00
riastradh a073e276b1 Tweak locking and use a pool cache for commands and dmamaps.
This is enough to get the crypto decelerator working in LOCKDEBUG;
previously it would crash the moment you looked at it.
2020-05-17 00:53:09 +00:00
riastradh 3c02d445b7 Merge updates from OpenBSD's hifn(4) crypto decelerator driver.
Highlights:

- Apply a ten-year-old fix to the driver's misuse of previously
  exposed ciphertext as IV for the next ciphertext with CBC.

  (Someone^TM should make sure there are no other drivers still doing
  this...)

- Various zeroing of buffers.

- Various minor cosmetic changes.
2020-05-17 00:52:31 +00:00
riastradh ac37df7c08 Reduce diffs from OpenBSD hifn(4) header files. 2020-05-17 00:51:27 +00:00
riastradh 49e032cddd Remove bogus comment. 2020-05-17 00:50:24 +00:00
riastradh f368828fd1 De-#ifdef __OpenBSD__ify hifn7751.c.
Not really helpful; we can just use diff3 to merge updates.
2020-05-17 00:49:28 +00:00