Commit Graph

271714 Commits

Author SHA1 Message Date
nonaka
60a4c738d7 hvs(4), hvn(4): Set correct size for bus_dmamap_sync(9). 2019-11-25 08:53:39 +00:00
msaitoh
26698fa111 Modify PHY initialization code. This change fix a bug that SK-9D21 doesn't
detect MII PHY.
 - Add error check to bge_miibus_writereg().
 - Change return value of bge_miibus_readreg() when a read error occurred.
   It also add error message using with aprint_debug_dev(). This error occurs
   on some devices while detecting MII devices.
 - Move the location of BGE_MI_MODE register's initialization to next to
   bge_chipinit().
 - Set BGE_MAC_MODE before calling ifmedia_init() and/or mii_attach().
 - Add retry code for mii_attach() failed. Same as FreeBSD.
2019-11-25 05:35:26 +00:00
msaitoh
c862b7608a - Use *_FLUSH() more. The main purpose is to wait following delay() correctly.
- Add missing DELAY(80) after writing BGE_MI_MODE register.
2019-11-25 05:18:59 +00:00
msaitoh
16a2f9ca37 Fix a bug that SK-9D41 can't detect fiber media. Check the subsystem ID
correctly. This bug was added in if_bge.c rev. 1.161.
2019-11-25 04:52:27 +00:00
hkenken
9aa9031aef Fixed bug.
* typo
2019-11-25 00:54:47 +00:00
uwe
6f79198e17 Quote long .Ss2 title to avoid troff's limitation.
Troff is limited to 9 macro parameters and this title is 10 words, so
we lose the last word here when we pass arguments around.  We have
more titles like that but for now I wanted to commit only one just to
flag the problem.
2019-11-24 23:26:43 +00:00
christos
dcfcf77388 Import bind 9.14.8 (security fix -- limits on concurrent TCP queries)
--- 9.14.8 released ---

5315.	[bug]		Apply the inital RRSIG expiration spread fixed
			to all dynamically created records in the zone
			including NSEC3. Also fix the signature clusters
			when the server has been offline for prolonged
			period of times. [GL #1256]

5314.	[func]		Added a new statistics variable "tcp-highwater"
			that reports the maximum number of simultaneous TCP
			clients BIND has handled while running. [GL #1206]

5313.	[bug]		The default GeoIP2 database location did not match
			the ARM.  'named -V' now reports the default
			location. [GL #1301]

5310.	[bug]		TCP failures were affecting EDNS statistics. [GL #1059]

5308.	[bug]		Don't log DNS_R_UNCHANGED from sync_secure_journal()
			at ERROR level in receive_secure_serial(). [GL #1288]

5307.	[bug]		Fix hang when named-compilezone output is sent to pipe.
			Thanks to Tony Finch. [GL !2481]

5306.	[security]	Set a limit on the number of concurrently served
			pipelined TCP queries. (CVE-2019-6477) [GL #1264]

5305.	[bug]		NSEC Aggressive Cache ("synth-from-dnssec") has been
			disabled by default because it was found to have
			a significant performance impact on the recursive
			service. [GL #1265]

5304.	[bug]		"dnskey-sig-validity 0;" was not being accepted.
			[GL #876]

5302.	[bug]		Fix checking that "dnstap-output" is defined when
			"dnstap" is specified in a view. [GL #1281]

5301.	[bug]		Detect partial prefixes / incomplete IPv4 address in
			acls. [GL #1143]
2019-11-24 19:56:50 +00:00
pgoyette
1d918f8ef9 Add "Oxford comma" 2019-11-24 16:16:21 +00:00
ad
7812221f71 Correction to previous. 2019-11-24 15:53:47 +00:00
ad
b1bd2e8943 Add IPI_AST. 2019-11-24 15:49:12 +00:00
ad
6be4e5bd82 Make ci_want_resched a u_int. 2019-11-24 15:40:24 +00:00
ad
d1e0de1556 Typo. 2019-11-24 15:37:39 +00:00
ad
bacf374405 lwp_start(): don't try to change the target CPU. Fixes potential panic
in setrunnable(). Oops, experimental change that escaped.
2019-11-24 13:23:57 +00:00
ad
7b708f2a89 Put section attribute for turnstile0 in the correct place. For LLVM. 2019-11-24 13:14:23 +00:00
jmcneill
d71e64cd35 Reclaim bootloader FB memory for CMA pool. 2019-11-24 12:21:14 +00:00
rin
dc583ed503 part of PR port-arm/54702
Make sure that md_march32 and ep_machine_arch have same size.

XXX
pullup to netbsd-9
2019-11-24 11:45:00 +00:00
rin
79f5deac48 part of PR port-arm/54702
Having md_march32 unconditionally in struct mdproc, in order to
make libkvm happy.

XXX
pullup to netbsd-9
2019-11-24 11:28:40 +00:00
skrll
04c826dde0 corect #include order 2019-11-24 11:23:16 +00:00
martin
3e4f9a7f75 Modernize release notes:
- use https where possible
 - adapt to cdn/nycdn and our current auto-build conventions
 - automate where possible
Many thanks to uwe for lots of *roff help.
2019-11-24 11:15:31 +00:00
skrll
a4cf85ef47 Remove unnecessary cast and wrap a long line. 2019-11-24 11:10:12 +00:00
skrll
a0274bde1f Use PRIxBUSADDR 2019-11-24 11:07:19 +00:00
jmcneill
3f2065651c Try to avoid changing hardware settings when the "nomodeset" kernel arg
is present.
2019-11-24 10:27:37 +00:00
skrll
fa806e687a Fix KERNHIST build (and simplify) 2019-11-24 09:37:05 +00:00
skrll
1658f66e58 Fix build 2019-11-24 09:34:38 +00:00
rin
197cf882e7 PR port-arm/54702
Add support for earmv6hf binaries on COMPAT_NETBSD32 for aarch64:

- Emulate ARMv6 instructions with cache operations register (c7), that
  are deprecated since ARMv7, and disabled on ARMv8 with LP64 kernel.

- ep_machine_arch (default: earmv7hf) is copied from executables, as we
  do for mips64. "uname -p" reports earmv6hf if compiled for earmv6hf;
  configure scripts etc can determine the appropriate architecture.

Many thanks to ryo@ for helping me to add support of Thumb-mode,
as well as providing exhaustive test cases:

  https://github.com/ryo/mcr_test/

We've confirmed:

- Emulation works in Thumb-mode.
- T32 16-bit length illegal instruction results in SIGILL, even if
  it is located nearby a boundary b/w mapped and unmapped pages.
- T32 32-bit instruction results in SIGSEGV if it is located across
  a boundary b/w mapped and unmapped pages.

XXX
pullup to netbsd-9
2019-11-24 04:08:36 +00:00
jmcneill
8add6aa962 Enable HDMI and HDMI audio 2019-11-24 02:06:16 +00:00
jmcneill
ee462562b8 Do not assume the cursor pitch is the same as the primary fb 2019-11-23 23:47:57 +00:00
jmcneill
3153dc2c99 Set video PLLs to 297MHz 2019-11-23 22:46:53 +00:00
ad
c9afc9987a Pull in sys/atomic.h. 2019-11-23 22:35:08 +00:00
jmcneill
677e8e0311 Support non-zero fb start pixels. 2019-11-23 21:40:57 +00:00
jmcneill
fa0a625456 Set pre-divider M to 0 in fractional mode, as noted in user manual. Spotted by jak. 2019-11-23 21:30:41 +00:00
ad
ec95a3aa5d Redo previous differently. 2019-11-23 20:37:49 +00:00
ad
0c0994602d Fix compiler warning. 2019-11-23 20:37:05 +00:00
jmcneill
42e1f94979 Use actual hw mode, not proposed mode. 2019-11-23 20:27:39 +00:00
jmcneill
7de6f600d4 Do not assume that an fb's pitch is width * 4 bytes. 2019-11-23 20:24:12 +00:00
ad
e1ebacd1d3 Update to match recent changes. 2019-11-23 19:46:38 +00:00
ad
11ba4e1830 Minor scheduler cleanup:
- Adapt to cpu_need_resched() changes. Avoid lost & duplicate IPIs and ASTs.
  sched_resched_cpu() and sched_resched_lwp() contain the logic for this.
- Changes for LSIDL to make the locking scheme match the intended design.
- Reduce lock contention and false sharing further.
- Numerous small bugfixes, including some corrections for SCHED_FIFO/RT.
- Use setrunnable() in more places, and merge cut & pasted code.
2019-11-23 19:42:52 +00:00
ad
115c1bc097 cpu_need_resched():
- Remove all code that should be MI, leaving the bare minimum under arch/.
- Make the required actions very explicit.
- Pass in LWP pointer for convenience.
- When a trap is required on another CPU, have the IPI set it locally.
- Expunge cpu_did_resched().
2019-11-23 19:40:34 +00:00
jmcneill
a44072499c Set TCON1 parent to PLL_VIDEO1(1X) 2019-11-23 18:57:36 +00:00
jmcneill
ab6de37f60 Set pixel clock on mode set 2019-11-23 18:55:08 +00:00
jmcneill
287b7fffbc Need to initialize the PHY before HPD sense and DDC will work 2019-11-23 18:54:26 +00:00
jmcneill
f820582004 Use fdtbus_get_reg to read "reg" property 2019-11-23 18:53:05 +00:00
jmcneill
7f565443c5 Honour SUNXI_CCU_FRACTIONAL_SET_ENABLE in fractional mode 2019-11-23 18:52:09 +00:00
martin
dbb7e355c4 "rv" is only used on some boards and only with options DIAGNOSTIC.
So move the declaration into the proper #ifdef block.
2019-11-23 18:03:57 +00:00
ad
f2bb4c20d1 - Increase the default number of buffers, and scale it by ncpu.
- Stop tracing when the device is closed.
2019-11-23 17:32:10 +00:00
tkusumi
1e27ac1351 autofs: Remove unused autofs_node::an_vnode_lock
Unlike FreeBSD and DragonFlyBSD, this is unused in NetBSD.
2019-11-23 17:13:46 +00:00
ad
314896ed30 Looks like sparc clears want_ast with interrupts enabled, so check+clear it
and call mi_userret() in a loop.
2019-11-23 16:50:39 +00:00
ad
27c7e48ae9 For this case during build.sh:
rw_enter(lock, RW_READ);

Having instrumented it, it turns out that >99.5% of the time the lock is
completely unknowned.  Make this assumption in the assembly stub for
rw_enter(), and avoid the initial read of the lock word.  Where there are
existing read holds, we'll do an additional CMPXCHG but should already have
the cache line in the EXCLUSIVE state.
2019-11-23 16:36:38 +00:00
tkusumi
b5c5b66961 autofs: Don't calculate dirent reclen twice
Taken-from: DragonFlyBSD
2019-11-23 15:17:46 +00:00
jmcneill
b06e1df8e8 HDMI PHY and TX share the same clocks. Do not enable clocks until both
reset resources have been deasserted. Explicitly set DDC clock dividers.
2019-11-23 12:30:45 +00:00