Commit Graph

270945 Commits

Author SHA1 Message Date
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
manu
6868572cf3 Fix multiboot1 header detection
Specification states it	must be must be longword (32-bit) aligned
2019-10-18 01:04:24 +00:00
manu
805b565b8f Make sure no bioscall is issued when booting off UEFI system 2019-10-18 01:00:24 +00:00
manu
efa7e16ae0 Fix EFI system table mapping in virtual space
Previous version was annoted as untested, and indeed it did not work.
New version uses the same approach as for ACPI table mapping.
2019-10-18 00:56:25 +00:00
manu
68181cad3f Add UEFI boot services and I/O method protoypes 2019-10-18 00:54:48 +00:00
jmcneill
5648f9b3a4 evbarm: Add support for Amazon Graviton "a1.metal" instances. 2019-10-17 23:10:23 +00:00
bad
64f68ffbad back out r1.26. it makes the pinebook fail to boot. 2019-10-17 21:52:26 +00:00
mrg
3675c7a1d7 move usbnet and mcx entries from CHANGES to CHANGES.prev.
there may be others that should also move.. i'm not sure.
2019-10-17 20:48:44 +00:00
christos
f2cca13bde remove LD_WRAP 2019-10-17 16:53:06 +00:00
christos
aad57e395b new bind 2019-10-17 16:48:12 +00:00
christos
a979df4dfb merge conflicts 2019-10-17 16:46:57 +00:00
christos
a92be1735d --- 9.14.7 released ---
5299.	[security]	A flaw in DNSSEC verification when transferring
			mirror zones could allow data to be incorrectly
			marked valid. (CVE-2019-6475) [GL #16P]

5298.	[security]	Named could assert if a forwarder returned a
			referral, rather than resolving the query, when QNAME
			minimization was enabled. (CVE-2019-6476) [GL #1051]

5297.	[bug]		Check whether a previous QNAME minimization fetch
			is still running before starting a new one; return
			SERVFAIL and log an error if so. [GL #1191]

5294.	[func]		Fallback to ACE name on output in locale, which does not
			support converting it to unicode.  [GL #846]

5293.	[bug]		On Windows, named crashed upon any attempt to fetch XML
			statistics from it. [GL #1245]

5292.	[bug]		Queue 'rndc nsec3param' requests while signing inline
			zone changes. [GL #1205]

	--- 9.14.6 released ---

5289.	[bug]		Address NULL pointer dereference in rpz.c:rpz_detach.
			[GL #1210]

5286.	[contrib]	Address potential NULL pointer dereferences in
			dlz_mysqldyn_mod.c. [GL #1207]

5285.	[port]		win32: implement "-T maxudpXXX". [GL #837]

5283.	[bug]		When a response-policy zone expires, ensure that
			its policies are removed from the RPZ summary
			database. [GL #1146]

5282.	[bug]		Fixed a bug in searching for possible wildcard matches
			for query names in the RPZ summary database. [GL #1146]

5281.	[cleanup]	Don't escape commas when reporting named's command
			line. [GL #1189]

5280.	[protocol]	Add support for displaying EDNS option LLQ. [GL #1201]

5279.	[bug]		When loading, reject zones containing CDS or CDNSKEY
			RRsets at the zone apex if they would cause DNSSEC
			validation failures if published in the parent zone
			as the DS RRset.  [GL #1187]
2019-10-17 16:25:39 +00:00
maya
6c344acc92 correct bind location. new bind 2019-10-17 16:21:02 +00:00
msaitoh
b008d88a98 Use unsigned to avoid undefined behavior. Found by kUBSan. 2019-10-17 15:57:56 +00:00
maya
e40e833ed6 correct error handling.
from Ilja Van Sprundel, thanks.
2019-10-17 14:33:02 +00:00
maxv
ed6d73e306 Make sure we're dealing with a static binary. Otherwise we could crash if
the user mistakenly tries to boot a KASLR kernel with 'boot' instead of
'pkboot'. Now we fail cleanly. Reported by cryo@.
2019-10-17 14:00:28 +00:00
jmcneill
ad122cfd79 Amazon Graviton support is in 9.0, remove the changes entry. 2019-10-17 09:38:07 +00:00
jmcneill
0cfe09bbd6 evbarm: Add support for Amazon Graviton "a1.metal" instances. 2019-10-17 09:34:10 +00:00
msaitoh
46a9017a9b - Match a lot of Cicada and Vitesse devices correctly. This change also fixes
a bug that ciphy_fixup() didn't work.
- Match VSC8221, VSC8234 and VSC8641.
2019-10-17 09:22:49 +00:00
msaitoh
12230c0f48 Regen. 2019-10-17 09:22:00 +00:00
msaitoh
27a2a5f3ee - All of Cicada and Vitesse devices' OUI are not bit-reversed, so use "xx".
- Rename CS82xx -> CIS82xx
- Add Vitesse VSC8224, VSC8234, VSC8641 and VSC8501.
2019-10-17 09:21:40 +00:00
msaitoh
c012d312b0 alc(4): Add support for Killer E2400 and E2500. 2019-10-17 09:14:50 +00:00
msaitoh
b4093656b6 Add support for Killer E2400 and E2500. 2019-10-17 09:13:48 +00:00
msaitoh
b9c7716433 Some alc(4) fixes:
- Apply FreeBSD r218141:
 > alc_rev was used without initialization such that it failed to
 > apply AR8152 v1.0 specific initialization code. Fix this bug by
 > explicitly reading PCI device revision id via PCI accessor.
 >
 > Reported by:	Gabriel Linder ( linder.gabriel <> gmail dot com )
- Apply FreeBSD r304574:
 > Correct DMA channel number selection on AR816x family of
 > controllers. For Gigabit Ethernet version of AR816x, AR813x/AR815x
 > except L1D controller, use vendor recommended ASPM parameters.
 > While here, increase alc_dma_burst array size.  Broken H/W can
 > return bogus value in theory.
- Use static.
- Whitespace fix. Remove extra backslash.
2019-10-17 09:12:12 +00:00
maxv
3d07030363 Sentence begins with capital letter ("yes or no?"). Also add a few french
sentences, to make it less awful, but not complete. Not tested.
2019-10-17 08:54:50 +00:00
msaitoh
b122847e9e Add rdpru. 2019-10-17 06:58:48 +00:00
msaitoh
85b146c0e3 Fix order of m_freem(). Found by kASan. OK'd by jdolecek and mrg. 2019-10-17 05:55:18 +00:00
maya
cede1cc99c Switch files copyright Reinoud Zandijk from BSD 4 clause to BSD 2 clause.
OK'd by reinoud in email (from 4 Feb 2019).
2019-10-16 21:52:22 +00:00