Commit Graph

268363 Commits

Author SHA1 Message Date
jmcneill
5966f2f487 Use ARM_PCI_INTR_* definitions from pci_machdep.h instead of own copies 2019-06-23 22:06:03 +00:00
alnsn
a4de20e324 Fix a typo. 2019-06-23 17:17:18 +00:00
jmcneill
aee85a11d0 Pass correct EventID to MOVI and INV commands 2019-06-23 16:19:51 +00:00
jmcneill
f79afc7658 Enable MSI and MSI-X 2019-06-23 16:15:43 +00:00
jmcneill
880b8831c6 Remove unused variable (build fix) 2019-06-23 16:04:52 +00:00
sevan
d2a9f75e1d ALSA DDI DKI EDSAC EDVAC ENIAC NDIS ODI UDI 2019-06-23 16:04:34 +00:00
jmcneill
b9cba0fdb8 Ensure that the "size" parameter of MAPD matches the size of the ITT being
mapped and subtract the LPI base from EventID. Fixes multi-vector MSI/MSI-X
on RK3399.
2019-06-23 16:03:30 +00:00
martin
1c49228872 Ignore corrupt GPTs 2019-06-23 11:47:08 +00:00
martin
d8297eb873 Menu 0 does not exist anymore (it is now OPT_NOMENU), so emit an empty
menu defintion for it.
2019-06-23 11:31:10 +00:00
martin
5908298eb7 Use OPT_NOMENU as error return for new_menu (instead of old hard coded -1).
Update man page for the OPT_NOMENU change.
2019-06-23 11:22:48 +00:00
tsutsui
70fdd0ac9b Add a missing newline in an error message. Noticed in PR/54205 2019-06-23 06:33:17 +00:00
tsutsui
1fc600cbe0 Fix "mvsata:0:0:1: buffer load failed: error=27" failure. PR/54205
Ok'ed by jdolecek@.
Should be pulled up to netbsd-8.
2019-06-23 06:29:22 +00:00
mrg
aefaaa77aa make cdce(4) and ure(4) usb and mpsafe:
- introduce locking ala smsc(4)/axen(4) style
- convert to mpsafe interfaces
- add tick task to cdce(4) to deal with missing watchdog, and
  actually make the watchdog do something
- convert DELAY() to usbd_delay_ms() in cdce(4) and don't increase
  the time in a potentially unbounded way
- remove spl calls

tested with network cable and usb adapter pullouts, reboots and
many many GBs of data transferred in either direction under load.
2019-06-23 02:14:14 +00:00
isaki
8f999f47c1 Restore sysctl_teardown which was unintentionally dropped. 2019-06-23 01:46:56 +00:00
christos
c8ad2fbe87 More fat trimming defines and we managed to feat in our tight jeans. 2019-06-22 23:42:44 +00:00
christos
4a69030bcd trim down error checking if we are small. 2019-06-22 23:40:53 +00:00
christos
9bedb72e28 make this compile again with -DNO_PROGRESS 2019-06-22 23:40:33 +00:00
christos
d33bb7af26 Add an empty fmtcheck 2019-06-22 22:50:39 +00:00
sevan
59bac1f441 bsd-family-tree++ 2019-06-22 22:49:18 +00:00
sevan
9ffe271afd sync with FreeBSD r349295 2019-06-22 22:47:01 +00:00
christos
ce713491ff no need to initialize fields that are already 0. 2019-06-22 20:46:07 +00:00
christos
4cd30f5b0c Conserve space: make ints to shorts and make OPT_NOMENU 0 instead of -1
so we don't require initializing it.
2019-06-22 20:44:54 +00:00
jmcneill
4ed488bfc3 Finish the job 2019-06-22 19:47:27 +00:00
jmcneill
0514b24577 Use bus_dmatag_subregion to get a 32-bit tag 2019-06-22 19:35:40 +00:00
jakllsch
088c49a92b Restore previous range of aa_dmat.
Should fix ahcisata_acpi on OverDrive 1000, which has no DRAM below 4GiB.
2019-06-22 17:57:10 +00:00
pgoyette
ca4502da41 Set WARNS=3 - signed-vs-unsigned integer compare 2019-06-22 17:57:01 +00:00
pgoyette
ec5b4915f3 Add the if_media_80 source file to the module. The module's initialization
code was already updated.
2019-06-22 17:37:45 +00:00
hannken
8d122c4997 Bring back two lines deleted by accident. From Kamil Rytarowski. 2019-06-22 14:40:33 +00:00
hannken
aa8b5122a1 Update tools/compat/configure for new path of "rpc/types.h".
Remove intermediate patch from rpcgen/Makefile.

Patch from Nick Hudson, errors from me.
2019-06-22 13:42:53 +00:00
maxv
d894e04d60 Revamp the TPM driver
* Fix several bugs, and clean up.
 * Drop the "legacy" interface, it relied on an undocumented global
   variable that was never initialized. It likely had never been tested
   either, so good riddance.
 * Add support for TPM 2.0 chips via ACPI. For these we use the TIS1.2
   interface, same as TPM 1.2.
 * Provide an ioctl to fetch TPM information from the driver.

Tested on a Lenovo desktop with ACPI-TPM2.0, an HP laptop ACPI-TPM2.0, a
Dell laptop with ISA-TPM1.2.
2019-06-22 12:57:40 +00:00
sevan
5aa91c9ffd EAV, IRDP 2019-06-22 12:45:55 +00:00
sevan
c7d5ed9eaf WRR 2019-06-22 12:45:28 +00:00
maxv
0e3f83ef93 Dump TPM2. 2019-06-22 12:39:40 +00:00
mrg
e914d846e5 wrap axen_iff() with axen_iff_locked().
add a missing lock exit in error path.
2019-06-22 10:58:39 +00:00
mrg
7c1f464615 mark this driver MPSAFE for usb tasks and pipes, if(4), and callouts.
remove remaining redundant spl calls.
2019-06-22 09:53:56 +00:00
hannken
1a12b22735 Sync with upstream r315983.
FreeBSD splits "zfs_context.h" into:
  "lib/libzpool/common/sys/zfs_context.h" for user space
  "uts/common/fs/zfs/sys/zfs_context.h" for kernel space

Do the same here, move and sync "sys/sys/zfs_context.h" to
"dist/lib/libzpool/common/sys/zfs_context.h" and
"dist/uts/common/fs/zfs/sys/zfs_context.h".

Change "Makefile.zfs" to search includes from "dist/lib"
before "dist/uts" so we get the right include file.

Adapt "usr.sbin/fstyp/Makefile" to get the right include file.
2019-06-22 09:48:39 +00:00
mrg
ed56fb496f re-apply rev 1.44 with a minor bug fix in axen_tick_task().
it introduced a problem when there wasn't a reasonaly constant
stream of incoming packets, and i had a 'nttcp' running against
my test machine constantly, avoiding the bug.
2019-06-22 08:09:08 +00:00
isaki
8931eb3bca Add missing SETBELL() for WSKBDIO_COMPLEXBELL.
wskbd_bell_data structure has value fields and operation bitmask field.
"xset b * * 0" doesn't touch period field (and doesn't initialized it)
and doesn't set DOPERIOD flag (this means that period field should not
be used).  SETBELL() handles this situation appropliately.
This happened during copying wsbell.c from wskbd.c.
Fix PR xsrc/54245.
2019-06-22 08:03:01 +00:00
skrll
aa74d5736f Rename watchdog -> bcmpmwdog and sdhost to bcmsdhost 2019-06-22 07:58:55 +00:00
mrg
d1e6396a98 revert the previous.
i'm fairly postive i tested it, as i tested enabing mpsafe version
on top of this successfully.  however, something happened mid-ssh
with a kernel with mpsafe and my session hung, and since then i've
been unable to boot kernels with the previous revision applied.
2019-06-22 07:17:13 +00:00
maxv
f788e64db5 Fix buffer overflow. Triggerable by plugging a specially-crafted USB key
in the machine (the kernel automatically tries to parse its GPT header).
The check could maybe be appeased to allow bigger sizes, but we've never
done that, so I'm leaving it as-is.
2019-06-22 06:45:46 +00:00
mrg
44e76680c9 s/Static/static/ 2019-06-22 04:45:04 +00:00
mrg
2ec2d544e1 move the software-only parts of cdce(4) out of if_cdcereg.h.
(if_cdcereg.h probably can go entirely.  it's almost empty,
but at least these definitions have some relationship with
the hardware bits.)
2019-06-22 04:35:46 +00:00
sevan
9a98dd643a BFD COA CST DS DSCP IST MAB MCLAG TDR 2019-06-21 22:04:26 +00:00
christos
72ea5dba1a refactor disk ioctl stuff to make it smaller. 2019-06-21 21:54:39 +00:00
kamil
e81678c69d Sync (c) note in GDB:sh-nbsd-tdep.c with upstream
This file is now GPLv3+, not GPLv2+.
2019-06-21 19:20:18 +00:00
martin
c1762e2d7a Use the raw partition for installboot, not the root partition. 2019-06-21 16:57:12 +00:00
pgoyette
df08af8af4 Replicate change in .en as requested by martin@ 2019-06-21 15:59:14 +00:00
pgoyette
a4ce0c87c9 Typo - distinguish has a 'g' not a 'q' 2019-06-21 15:53:16 +00:00
pgoyette
149c8d8910 Typos, grammar. 2019-06-21 15:52:05 +00:00