ozaki-r
a14bf9da9d
vlan: get rid of unnecessary if_ipackets++ in vlan_input
...
It's done by if_input() below now.
Pointed out by msaitoh@
2019-10-21 06:26:12 +00:00
wiz
a7c88536f5
Mark up argon2 description. Restore removed lines/text from previous
...
commit.
2019-10-21 05:16:51 +00:00
jhigh
b302373f87
adding argon2 support to libcrypt. argon2 user authentication now
...
available via MKARGON2=yes (3 variants supported; argon2id recommended)
before using, please read argon2 paper at
https://github.com/P-H-C/phc-winner-argon2
2019-10-21 02:36:48 +00:00
thorpej
818db7dc5a
Add a device tree Overlay for the Orange Pi Zero NAS expansion board for
...
Orange Pi Zero and Orange Pi Zero Plus.
2019-10-20 23:47:14 +00:00
sevan
6827e7dc90
CIA ISMS
2019-10-20 21:53:42 +00:00
wiz
4a4aaff12c
Be consistent in not marking up "GPIO".
2019-10-20 17:45:08 +00:00
christos
d35ed14f2a
opening a symlink with O_NOFOLLOW is expected to fail.
2019-10-20 16:02:11 +00:00
jmcneill
74297fa00a
cpu_hatched_p only for MULTIPROCESSOR
2019-10-20 14:25:14 +00:00
jmcneill
eabed2a835
Use separate cacheline aligned arrays for mbox and hatched as before.
2019-10-20 14:03:51 +00:00
skrll
7848bd4ac4
Avoid overlap between BP and last AP stack. AP stacks are now in order of
...
increasing address order.
Spotted by and idea from mlelstv.
2019-10-20 12:25:43 +00:00
jmcneill
d123fff0f1
Invalidate dcache before polling AP hatched status
2019-10-20 11:17:41 +00:00
tnn
bbae070d2b
gpioctl: implement support for "gpioctl gpioN list". Like pcictl(8).
...
For drivers that name their pins, this can be used to determine how the
logical pins are mapped to physical pins. Example from sunxigpio(4):
# gpioctl gpio0 list
0: PA0
1: PA1
2: PA2
...
2019-10-20 09:41:53 +00:00
tnn
9a3d6b2058
gpio: make GPIOREAD return also the symbolic name of the pin, if it is set
2019-10-20 09:35:18 +00:00
skrll
af0cb0a34c
Define and use VM_PAGEMD_PVLIST_EMPTY_P
2019-10-20 08:29:38 +00:00
skrll
0126296dc0
Whitespace
2019-10-20 07:58:21 +00:00
skrll
5f7d8e837b
Re-order _P() macros to match bit definitions. NFCI
2019-10-20 07:54:29 +00:00
skrll
b6e3ab3307
Whitespace
2019-10-20 07:22:51 +00:00
skrll
8535470345
Remove KASSERT(!VM_PAGEMD_PVLIST_LOCKED_P(mdpg)) - can only assert that it
...
is owned
2019-10-20 07:18:22 +00:00
maxv
e1d43b1e6d
Put back 'default', because llvm apparently doesn't realize that all cases
...
are covered in the switch.
2019-10-19 19:45:10 +00:00
jmcneill
29224e5ead
Increase aarch64 MAXCPUS to 256.
2019-10-19 18:04:26 +00:00
christos
cc53e0eeb8
- factor out common code
...
- use llabs because time_t can be long long.
2019-10-19 15:55:50 +00:00
christos
0854090a8d
fix printf format (llvm)
2019-10-19 15:48:48 +00:00
christos
8451d1ca24
use stdarg, annotate function as __printflike and fix broken formats.
2019-10-19 15:44:31 +00:00
tsutsui
b501e5aaf3
Fix a build error with options VERBOSE_INIT_ARM.
2019-10-19 14:42:30 +00:00
tnn
0817dc97a0
evbarm: add dwcwdt(4) to GENERIC64
2019-10-19 13:09:57 +00:00
tnn
849f0a348f
dwcwdt: make this work correctly
...
- sysmon_wdog.smw_period is seconds, not milliseconds
- tickle the watchdog before enabling it
2019-10-19 13:08:52 +00:00
tnn
560ec699fa
rk3399: add definition for the watchdog timer clock gate
...
The watchdog timer clock gate is a bit special because it's a secure
gate that can only be accessed from EL3. We still need a dummy gate
definition for it so that dwcwdt(4) can infer the frequency via the
parent clock. The gate is enabled by default by U-Boot.
2019-10-19 12:55:21 +00:00
tnn
5e68d55213
awge: drop redundant m_adj(). Handled via uipc_mbuf.c r1.235 instead.
2019-10-19 06:40:20 +00:00
tnn
4d0eb0fca4
mcl_cache: align items to COHERENCY_UNIT
...
Because we do cache incoherent DMA to/from mbufs we cannot safely share
share cache lines with adjacent items that may be concurrently accessed.
2019-10-19 06:36:47 +00:00
msaitoh
480b09a72e
From OpenBSD:
...
- Mark ETHERCAP_VLAN_MTU.
- Clear the powerdown mode. Fixes PR kern/24911 reported by Werner Backes.
- Set proper LED modes.
2019-10-18 23:08:29 +00:00
msaitoh
a8baf8a20c
- Add missing splnet()/splx() around mii_tick(). Same as OpenBSD rev. 1.23
...
- Use device_printf() instead of aprint_error_dev)() in bce_watchdog().
- Remove unneccesary inclusion.
2019-10-18 23:06:57 +00:00
maya
9d2ecddf3f
Fix typo. from vezhlys
2019-10-18 20:42:10 +00:00
christos
626e72c16b
print which process asked for an unsupported event so we can fix it.
2019-10-18 19:43:49 +00:00
tnn
ceced892ee
ahcisata: make sure bus mastering and memory space are actually enabled
...
This makes the "ROCKPro64 PCI-e to Dual SATA-II Interface Card" work.
2019-10-18 17:16:50 +00:00
maxv
1cd598a9a2
Remove unused call to savectx().
2019-10-18 16:26:38 +00:00
hannken
7130117523
Add missing include -- kernel ALL/i386 compiles.
2019-10-18 15:00:15 +00:00
hannken
3862fec894
Make compile with "options DEBUG".
2019-10-18 14:59:22 +00:00
hkenken
2b791420b0
Modified atphy(4)
...
* Support CLK_25M clock out.
* Support internal delay for RGMII interface.
2019-10-18 12:53:08 +00:00
hannken
62dd7866ca
When the MFT record size is lower than the cluster size we have
...
to read consecutive clusters to fill the MFT record.
Should fix PR kern/54598: mount ntfs panic
2019-10-18 08:19:33 +00:00
hannken
5bde8f1cdb
It is not possible to call vflush() from xxx_mount().
...
Replace with a vnode iterator and use vrecycle().
2019-10-18 08:18:40 +00:00
skrll
be5f8c7ee9
Use PRIxBUSADDR
2019-10-18 06:50:08 +00:00
skrll
d3f45d9f81
Use PRIxBUSADDR
2019-10-18 06:13:38 +00:00
ozaki-r
5fd0d56def
in6: reset the temporary address timer on a change of the interval period
2019-10-18 04:33:53 +00:00
msaitoh
cc630f1fc3
Fix typos.
2019-10-18 04:13:56 +00:00
msaitoh
c56890eeef
s/initalize/initialize/ in comment or printf message.
2019-10-18 04:09:01 +00:00
manu
b2a4053feb
Multiboot2 kernel support for i386
...
That implementation works either with BIOS or UEFI bootstrap
This requires the following kernel changes:
Add UEFI boot services and I/O method protoypes
src/sys/arch/x86/include/efi.h 1.8 - 1.9
Fix EFI system table mapping in virtual space
src/sys/arch/x86/x86/efi.c 1.19 - 1.20
Make sure no bioscall is issued when booting off UEFI system
src/sys/arch/i386/i386/machdep.c 1.821 - 1.822
src/sys/arch/i386/pci/piixpcib.c 1.22 - 1.23
And the following bootstrap changes:
Add kernel symbols for multiboot1
src/sys/arch/i386/stand/lib/exec_multiboot1.c 1.2 - 1.3
src/sys/arch/i386/stand/lib/libi386.h 1.45 - 1.47
Fix kernel symbols for multiboot2
src/sys/arch/i386/stand/lib/exec_multiboot2.c 1.2 - 1.3
2019-10-18 01:38:28 +00:00
manu
1281ec5b00
Remove prototype added twice by mistake
2019-10-18 01:24:51 +00:00
manu
4d1fe8d8ef
Fix multiboot1 kernel symbol load
...
ELF_Shdr's sh_type field is a value, not a flag field
2019-10-18 01:19:00 +00:00
manu
25313e1c19
Fix kernel symbols for multiboot2
...
Previous version just provided the ELF section table, which is correct
as far as the multiboot 2 specification is concerned.
But in order to retreive kernel symboles, the NetBSD kernelneeds symbol
table and string table sections to be loaded in memory, and have an
address set in the section table.
Requires change: Add kernel symbols for multiboot1
src/sys/arch/i386/stand/lib/exec_multiboot1.c 1.2 - 1.3
src/sys/arch/i386/stand/lib/libi386.h 1.45 - 1.46
2019-10-18 01:15:54 +00:00
manu
2902349762
Add kernel symbols for multiboot1
2019-10-18 01:09:46 +00:00