Commit Graph

271080 Commits

Author SHA1 Message Date
jmcneill
0517767c44 Add AM335x DVFS support. 2019-10-28 21:16:47 +00:00
jmcneill
a5c41a8d26 enumerate devices under child "clocks" node 2019-10-28 21:16:10 +00:00
jmcneill
8fc8ad9a31 Add fdtbus_clock_count to count the number of clock references on a given node 2019-10-28 21:15:34 +00:00
jmcneill
cb202e7c36 Add support for platform specific opp table filters. 2019-10-28 21:14:58 +00:00
jmcneill
a0504a86f5 enumerate devices under child "clocks" node 2019-10-28 21:13:48 +00:00
christos
511f85a37d Rewrite the floppy selection logic, and fix an always false condition. 2019-10-28 21:11:23 +00:00
christos
2565656c4b another vax -O1 2019-10-28 18:41:23 +00:00
christos
c60e3bd895 another vax optimizer hack. 2019-10-28 18:38:54 +00:00
joerg
213b3c28ff Fix operand priority of bit op vs ternary operator. 2019-10-28 18:38:43 +00:00
joerg
b1d9e9345f Format string annotation for strdisasm_printf 2019-10-28 18:15:25 +00:00
joerg
1113fdccbf Add operand that GNU as considers optional, but LLVM doesn't. 2019-10-28 18:14:38 +00:00
joerg
deaca1c738 Mark local-only function as static to save space. 2019-10-28 18:13:40 +00:00
joerg
165a21a871 Merge 85acd57c8a288ce92f42bcf62737eebe385bce90 from Heimdal on Github:
Fix the numeric error value comparison performed by error_cmp().
2019-10-28 18:12:54 +00:00
joerg
7e53a6c032 Annotate a covering switch as such to avoid warnings about missing
returns.
2019-10-28 18:12:17 +00:00
joerg
3fa00e0306 Avoid warnings for tautological shifts as sole conditional. 2019-10-28 18:11:15 +00:00
joerg
ed08d30824 Avoid warnings about tautological left shifts as conditional. 2019-10-28 18:10:22 +00:00
joerg
19861c4632 Fix aarch64 set for !gcc build 2019-10-28 18:08:44 +00:00
christos
f3b58f9273 vaxinate sanitizer_file.cc against the optimizer virus. 2019-10-28 16:25:05 +00:00
pgoyette
adfb392104 Continue to build the filemon module, but don't install it. Hopefully
this will help us detect any additional bit-rot that might occur.

XXX It might be a good idea to modify the file permissions on /dev/filemon
XXX to prevent auto-loading of the driver module by non-privileged users.
2019-10-28 16:03:55 +00:00
pgoyette
e372fea7cc Add debug entry for newly introduced nvmmctl utility. 2019-10-28 15:42:07 +00:00
tsutsui
0239d27890 Make sure to clear bss before jumping to a kernel copied from load buffer.
This will fix yet another boot failure issue
"screen white-out after loading a kernel"
 https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg000072.html

Should be pulled up to netbsd-8 and netbsd-9.
2019-10-28 15:26:09 +00:00
maxv
3ed59424a4 should be fork(2), noticed by wiz 2019-10-28 14:20:28 +00:00
wiz
af4377dd96 Sort SEE ALSO. 2019-10-28 13:44:42 +00:00
wiz
d1b0fb4965 Macro tidyness. 2019-10-28 13:43:42 +00:00
wiz
ca05e4ffba "file system" police. 2019-10-28 13:43:10 +00:00
wiz
74ae0cee76 Sort SEE ALSO. "file system" police. 2019-10-28 13:42:28 +00:00
wiz
fb89dfc245 Use Nx. Improve wording. Sort SEE ALSO. 2019-10-28 13:41:31 +00:00
wiz
78ec798ef6 Sort SEE ALSO. 2019-10-28 13:38:03 +00:00
maya
087d862b47 Disable filemon.
It isn't suited for general use (that is, it poses security risks),
but the existence of the module means it is auto-loaded when /dev/filemon
is opened, which can be done by any user.

Thanks Ilja van Sprundel for the heads up.
2019-10-28 13:19:50 +00:00
maxv
a8c6c0bf54 Add nvmmctl, with two commands for now. 2019-10-28 13:04:18 +00:00
jmcneill
f2feb5edb1 Skip nodes with an "opp-suspend" property and fix tables that have disabled
nodes in the middle.
2019-10-28 10:43:08 +00:00
maxv
94f2363060 Add nram in struct nvmm_ctl_mach_info. 2019-10-28 09:00:08 +00:00
maxv
a5a9b7903f A few changes:
- Use smaller types in struct nvmm_capability.
 - Use smaller type for nvmm_io.port.
 - Switch exitstate to a compacted structure.
2019-10-28 08:30:49 +00:00
mlelstv
153c45e06e More code from OpenBSD
no need to splnet() when enqueing packets
explicit structure padding
make internal functions static

also prepare for GPIO interrupts.
2019-10-28 06:37:51 +00:00
mlelstv
cafba4bc33 regen 2019-10-28 06:32:10 +00:00
mlelstv
c83c8c73f9 Whitespace police 2019-10-28 06:31:39 +00:00
mlelstv
00e2b502a8 Missing commit for sdio abort function. 2019-10-28 06:26:19 +00:00
mlelstv
34287373fa Simplyfy sdmmc_io_set_blocklen function signature by dropping the
extra softc pointer. Aligns with OpenBSD.
2019-10-28 06:20:01 +00:00
mlelstv
c301b5e4e9 Add and use sdmmc_pause to avoid long-term busy waits.
Add sdio abort function.
Additional error messages.
Print parameters for SDIO devices.
Minor cosmetics.
2019-10-28 06:16:46 +00:00
mlelstv
f0d950ca00 Skip setting power when the voltage doesn't change.
Also increase some timeouts.
2019-10-28 06:00:14 +00:00
ozaki-r
922788dbc7 Note vio9p(4) addition and mount_9p(8) update 2019-10-28 03:01:55 +00:00
ozaki-r
d5f459f5b9 Add vio9p to some kernel configs 2019-10-28 03:01:11 +00:00
ozaki-r
1dfe73716b mount_9p: enable to communicate with vio9p via its character device file
With this feature, we can mount an exported filesystem by a VM host via
virtio-9p.
2019-10-28 02:59:25 +00:00
ozaki-r
b2358a5409 Implement a front-end driver of virtio-9p called vio9p
In conjunction with mount_9p, it enables a NetBSD system running as a VM guest
to mount an exported filesystem by the host via virtio-9p.  It exports a 9p
end-point of virtio-9p via a character device file for mount_9p.

Reviewed by yamaguchi@
2019-10-28 02:56:40 +00:00
ozaki-r
24531cce63 Allow including numbers in %XXX_chr% parameter (for upcoming vio9p driver) 2019-10-28 02:53:29 +00:00
sevan
31c9b97559 Chris' happiest moment
http://bbc.co.uk/programmes/b09b1zbb
2019-10-27 23:31:15 +00:00
jmcneill
cdb78bc497 Get mac address from DT 2019-10-27 23:25:38 +00:00
bad
6001bebafa white space police. 2019-10-27 21:39:50 +00:00
jmcneill
7b46fbe309 Switch to GENERIC kernels only. 2019-10-27 21:38:58 +00:00
jmcneill
788bc7b217 No support for tegra210 in armv7 kernel 2019-10-27 21:35:02 +00:00