jmcneill
5f932b1ac4
Add TCON0 clock
2019-11-23 12:29:20 +00:00
jmcneill
074bff2107
Allow bus glue to setup DDC clocks
2019-11-23 12:28:44 +00:00
tkusumi
7d3af7ae88
autofs: Fix a comment on autofs_args
...
mount_autofs(8) also uses this.
mount_autofs(8) was added by NetBSD as an optional command (not needed to use autofs).
2019-11-23 08:30:39 +00:00
tkusumi
5957c9625e
autofs: u_int -> unsigned int
2019-11-23 08:00:59 +00:00
tkusumi
24b3b34668
autofs: Drop unused autofs_mount field which originates from FreeBSD
...
Taken-from: DragonFlyBSD
2019-11-23 07:38:03 +00:00
macallan
39745b2a06
don't invalidate sensors every time we fail to read fan speeds
2019-11-23 05:13:11 +00:00
jakllsch
b770b2aad5
Store the flags passed to SUNXI_CCU_FRACTIONAL macro.
...
Previously the macro dropped the flags argument entirely, and did not
initialize the structure with it.
2019-11-23 03:59:39 +00:00
ad
d78c5707f7
Add a comment.
2019-11-22 23:38:15 +00:00
ad
6e1e41dfe9
- On-demand zeroing pages with MOVNTI is crazy. It empties L1/L2/L3.
...
- Disable zeroing in the idle loop. That needs a cache-friendly strategy.
Result: 3 to 4% reduction in kernel build time on my test system.
Inspired by a discussion with Mateusz Guzik and David Maxwell.
2019-11-22 23:36:25 +00:00
ad
c8d15fa565
Fix crash(8). Will revisit.
2019-11-22 23:01:49 +00:00
ad
398a7522b9
sched_tick: examine the correct LWP, and lock it.
2019-11-22 20:07:53 +00:00
ad
3cec1e7660
Minor correction to previous.
2019-11-22 20:04:03 +00:00
jmcneill
49d3434b0e
Enable TMDS clock
2019-11-22 19:48:58 +00:00
jmcneill
5782d46f0d
Fix CLK_BUS_HDMI bit
2019-11-22 19:46:38 +00:00
pgoyette
1fc74345e4
Use __diagused
2019-11-22 15:57:49 +00:00
christos
54e278d262
more regen stuff.
2019-11-22 14:57:01 +00:00
martin
8d3fc0a7e0
Make this files compilable w/o options DIAGNOSTIC
2019-11-22 14:30:58 +00:00
maxv
ce425234cc
Ah, strcat/strchr/strrchr are ASM functions, so instrument them.
2019-11-22 14:28:46 +00:00
martin
9d445e0761
Document NETBSD_OFFICIAL_RELEASE and add it to /etc/release - it is
...
important information when trying to reproduce a build.
2019-11-22 13:30:19 +00:00
nonaka
d2e3340d93
hvn(4), hvkbd(4): Only need to poll when cold.
2019-11-22 12:40:07 +00:00
nonaka
c0318f0b96
vmbus(4), hvn(4), hvkbd(4): Fixed wait time for tsleep(9).
2019-11-22 12:30:32 +00:00
maxv
6f40daa312
Several improvements. In particular, reduce CS.limit, because Intel CPUs
...
perform strict sanity checks, and the previous (too high) limit caused the
VM entry to fail.
2019-11-22 10:26:32 +00:00
martin
dfe0881265
Bump space for ramdisk image
2019-11-22 08:09:26 +00:00
mlelstv
15ccc8ee48
Make cache operations available early.
2019-11-22 05:21:19 +00:00
macallan
57ada224c3
report fan speeds
...
disclaimer:
this is guesswork obtained from watching temperatures, listening to fan noise
and staring at register dumps. Use with caution.
2019-11-22 05:16:54 +00:00
rin
6df93363ad
Fix regression introduced to ptrace_regs() in rev 1.27:
...
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/sys_ptrace_common.c#rev1.27
Size of registers should be determined from tracer, NOT tracee.
Now, 64-bit tracer can manipulate registers of 32-bit tracee again.
gdb for amd64 works for i386 binaries to some extent.
XXX
pullup to netbsd-9 and -8.
2019-11-22 05:01:44 +00:00
christos
01b509c1c7
regen x86_64 for i386 support
2019-11-22 01:52:20 +00:00
christos
356e78ed45
add missing files for 32 bit debugging on 64 bit host.
2019-11-22 01:49:20 +00:00
christos
e1c84f8601
Support for compat-32 type shared library paths.
2019-11-22 01:48:50 +00:00
alnsn
819cf7d8ba
If gpt label "cgd.conf" contains a valid /etc/cgd file system,
...
try mounting gpt label "cgdroot" as a root filesystem first and
only mount /dev/cgd0a if that gpt label doesn't exist or fails
to mount.
XXX pullup to 8 and 9.
2019-11-22 00:27:30 +00:00
nakayama
b7b6f4ad9a
Fix PR/54074 and PR/54093 completely.
...
More similar to the ld.elf_so logic, it is necessary to align with
p_align first. Also, invert the #ifdef condition for consistency.
Should fix regression for static linking binaries:
http://releng.netbsd.org/b5reports/sparc/commits-2019.11.html#2019.11.10.23.39.03
http://releng.netbsd.org/b5reports/sparc64/commits-2019.11.html#2019.11.16.04.10.33
2019-11-21 23:06:15 +00:00
joerg
8e4a7b2e22
Merge amd64's UEFI logic back into the generic bootimage handling.
2019-11-21 22:29:03 +00:00
macallan
ac797d2386
ga_iot = 0 -> normal_memt
...
now a Challenge S should work again
from George Harvey
2019-11-21 22:05:09 +00:00
ad
e92da7bc17
x86 TLB shootdown IPI changes:
...
- Shave some time off processing.
- Reduce cacheline/bus traffic on systems with many CPUs.
- Reduce time spent at IPL_VM.
2019-11-21 21:48:33 +00:00
mrg
2a440dd580
apply the strncmp hack only to !clang. requested by tnn.
2019-11-21 21:45:34 +00:00
ad
b5034f0391
Minor improvements to select/poll:
...
- Increase the maximum number of clusters from 32 to 64 for large systems.
kcpuset_t could potentially be used here but that's an excursion I don't
want to go on right now. uint32_t -> uint64_t is very simple.
- In the case of a non-blocking select/poll, or where we won't block
because there are events ready to report, stop registering interest in
the back-end objects early.
- Change the wmesg for poll back to "poll".
2019-11-21 21:42:30 +00:00
ad
c825105bdc
- Don't give up kpriority boost in preempt(). That's unfair and bad for
...
interactive response. It should only be dropped on final return to user.
- Clear l_dopreempt with atomics and add some comments around concurrency.
- Hold proc_lock over the lightning bolt and loadavg calc, no reason not to.
- cpu_did_preempt() is useless - don't call it. Will remove soon.
2019-11-21 20:51:05 +00:00
ad
67c4c227e5
mi_userret(): take care of calling preempt(), set spc_curpriority directly,
...
and remove MD code that does the same.
2019-11-21 19:57:23 +00:00
ad
0e70dcbe0f
lwp_setlock(): return pointer to the kmutex_t that we replaced
2019-11-21 19:47:21 +00:00
ad
e79eee7958
x86: abort pageidlezero unconditionally if there is something to run.
2019-11-21 19:27:54 +00:00
ad
8d31b01840
mi_userret(): take care of calling preempt(), set spc_curpriority directly,
...
and remove MD code that does the same.
2019-11-21 19:23:58 +00:00
martin
d690403a01
Pass the set suffix (either .tgz or .tar.xz) from the makefile.
...
Document the rescue set.
2019-11-21 19:23:16 +00:00
ad
19a5f3bbac
alpha_ipi_ast: use ci_data.cpu_onproc, not ci_curlwp.
2019-11-21 19:02:43 +00:00
ad
faff59d5f7
Sleep queues & turnstiles:
...
- Avoid false sharing.
- Make the turnstile hash function more suitable.
- Increase turnstile hash table size.
- Make amends by having only one set of system wide sleep queue hash locks.
2019-11-21 18:56:55 +00:00
martin
60689e2f59
Add missing .bullet) and replace some versions (more todo later)
2019-11-21 18:46:40 +00:00
ad
f15dda4bcb
lwp_create:
...
- Don't need to check for PK_SYSTEM when inheriting an affinity mask.
- Inherit processor set ID under proc_lock, to sync with pset syscalls.
2019-11-21 18:22:05 +00:00
ad
e57dd2ba56
- lwp_need_userret(): only do it if ONPROC and !curlwp, and explain why.
...
- Use signotify() in a couple more places.
2019-11-21 18:17:36 +00:00
ad
298a9247c2
Break the slow path for callout_halt() out into its own routine.
...
No functional change.
2019-11-21 17:57:40 +00:00
ad
bec282a611
Simplify pset locking, making it easier to sync with LWP creation, etc.
2019-11-21 17:54:04 +00:00
ad
b2d41f4afd
calcru: ignore running softints, unless softint_timing is on.
...
Fixes crazy times reported for proc0.
2019-11-21 17:50:49 +00:00