238791 Commits

Author SHA1 Message Date
phx
f7fdbac6c0 Update loadbsd to 2.17, which can load ELF kernels.
Remove obsolete loadbsd binaries from installation/misc as they
have become useless (and can only load a.out kernels).
2015-11-11 16:13:55 +00:00
phx
272a1c3817 Build instructions and Makefile for loadbsd 3.0.
Submitted by Gunther Nikl.
2015-11-11 16:08:52 +00:00
jmcneill
36039cde22 fix RB_POWERDOWN test 2015-11-11 14:50:08 +00:00
jakllsch
5886266433 enable cd(4) in JETSONTK1 2015-11-11 14:04:12 +00:00
jmcneill
317868fba7 make VDD_CPU programming a bit easier to understand, and while here, actually program it to 1.4V as intended instead of 1.39V 2015-11-11 12:49:10 +00:00
jmcneill
578cf4f763 support RB_POWERDOWN using the AMS AS3722 PMIC when available 2015-11-11 12:37:52 +00:00
jmcneill
6c9f612895 add support for optional RB_POWERDOWN handler 2015-11-11 12:37:13 +00:00
jmcneill
ed128037ab enable as3722pmic 2015-11-11 12:35:40 +00:00
jmcneill
6163890252 Add basic driver for AMS AS3722 power management IC 2015-11-11 12:35:22 +00:00
jmcneill
b63e88b170 only send repeat start if we are doing write-then-read 2015-11-11 12:28:15 +00:00
jmcneill
c2d1bfbdc1 fix i2c periph clock, send repeat start for write-then-read xfers 2015-11-11 11:32:01 +00:00
skrll
0eca66f9fd Fix XEN build - does XEN really want/need pmap_pv_track? 2015-11-11 08:51:33 +00:00
skrll
0ab5498d57 Remove #if 0 / #endif includes 2015-11-11 08:22:36 +00:00
skrll
b70033bc21 Split out the pmap_pv_track stuff for use by others.
Discussed with riastradh@
2015-11-11 08:20:22 +00:00
ozaki-r
3637fb5284 Add tests for RA
From s-yamaguchi@IIJ (with some tweaks by me)
2015-11-11 07:52:57 +00:00
ozaki-r
0bc5ae37c7 Introduce rump.rtadvd
It is used to write ATF tests for RA.

From s-yamaguchi@IIJ.
2015-11-11 07:48:41 +00:00
snj
e055a12f26 add an entry for netbsd-7-0 2015-11-11 06:53:36 +00:00
knakahara
fd06f20054 fix CID 980463 2015-11-11 03:57:57 +00:00
snj
2fba4b1be0 Note that the netbsd-5{,-1,-2} branches have been terminated.
Goodbye, dear friends.
2015-11-11 03:14:34 +00:00
knakahara
e96c855269 fix panic after "ifconfig gifX tunnel src dst" failed for the reason of address pair duplication.
e.g.
    ====================
    # ifconfig gif0 create
    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.2
    # ifconfig gif0 inet 172.16.0.1/24 172.16.0.2
    # route add 10.1.0.0/24 172.16.0.1

    # ifconfig gif1 create
    # ifconfig gif1 tunnel 192.168.0.1 192.168.0.3

    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.3
    ifconfig: SIOCSLIFPHYADDR: Can't assign requested address # expected
    # ping 10.1.0.1
    (panic)
    ====================
2015-11-11 02:57:17 +00:00
jakllsch
5eed5f1c78 Only sync and unload dma map in ahci_atapi_complete() if appropriate.
Fixes ahcisata atapi cd(4) on arm (specifically, JETSONTK1), which insists
that a zero-length dmamap can not be synced.
2015-11-11 02:43:09 +00:00
marty
4e4a2ffcb4 Fix typo that prevented CONADDR from being defined for XU4 2015-11-11 00:58:21 +00:00
jmcneill
53440a6d3d use NetBSD-inv.xpm for CTWM_WELCOME_FILE 2015-11-10 23:57:00 +00:00
marty
5b32da839b small cleanup of odroid_start.S
removed attempt to 'rescue bootargs' that was causing a hang and isn't needed
anyway.

changed calls to XPUTC to use text constants rather than ascii decimal
equivalents.

adopted some of the techniques used in awin_start.s for reducing code and
improving performance.

polluted the namespace with _XPUTC so that xputc can be used from C code
before early console is enabled.  (Due to tracking a bug in early console
initialization.)

replaced a hardwired constant with the proper mannifest in the definition
of TEMP_L1_TABLE

This still needs MP support added but it should continue to work for XU3
while starting to work for XU4
2015-11-10 23:47:08 +00:00
jmcneill
25e55d52d9 fix default pixmap search directory 2015-11-10 23:09:13 +00:00
jmcneill
2245cb5c5d Add vblank support 2015-11-10 22:14:05 +00:00
christos
f5dda10488 fix compilation/lint 2015-11-10 20:56:20 +00:00
christos
f16c72ecb3 Apply patch by Jouni Malinen. We don't have CONFIG_EAP_PWD enabled so we are
not affected:

EAP-pwd peer error path failure on unexpected Confirm message

Published: November 10, 2015
Identifier: CVE-2015-5316
Latest version available from: http://w1.fi/security/2015-8/

Vulnerability

A vulnerability was found in EAP-pwd peer implementation used in
wpa_supplicant. If an EAP-pwd Confirm message is received unexpectedly
before the Identity exchange, the error path processing ended up
dereferencing a NULL pointer and terminating the process.

For wpa_supplicant with EAP-pwd enabled in a network configuration
profile, this could allow a denial of service attack by an attacker
within radio range.

Vulnerable versions/configurations

wpa_supplicant v2.3-v2.5 with CONFIG_EAP_PWD=y in the build
configuration (wpa_supplicant/.config) and EAP-pwd enabled in a network
profile at runtime.

Possible mitigation steps

- Merge the following commits and rebuild wpa_supplicant:

  EAP-pwd peer: Fix error path for unexpected Confirm message

  This patch is available from http://w1.fi/security/2015-8/

- Update to wpa_supplicant v2.6 or newer, once available

- Remove CONFIG_EAP_PWD=y from build configuration

- Disable EAP-pwd in runtime configuration
2015-11-10 18:39:40 +00:00
christos
04542e546d correct mistake in previous 2015-11-10 18:22:46 +00:00
christos
e700dcfbcd CID 1338516: Handle svc_run() returning. 2015-11-10 18:13:01 +00:00
christos
9a91ff6ff5 CID 1338520: Check NULL
CID 1338521: Fix error (realloc returns different pointer)
2015-11-10 18:11:05 +00:00
christos
aa158b270c CID 1338517: Check negative returns 2015-11-10 18:08:05 +00:00
christos
69deaff196 CID 1338515: Make it clear that the pfd variable can't be NULL 2015-11-10 18:06:53 +00:00
christos
a21a8a4ef3 CID 1338514: Check NULL returns 2015-11-10 18:04:51 +00:00
christos
5d9565aab9 CID 1338513: Check listen(2) return 2015-11-10 18:01:16 +00:00
christos
fa11598f4c CID 980463: Provide common error path for rollback. Remove extra check for
success.
2015-11-10 17:59:37 +00:00
tnn
4db8cd7033 Add "pseudo-device iscsi" to ALL and as a commented out hint in XEN3_* 2015-11-10 13:01:41 +00:00
tnn
c9f8274c3f fix iSCSI RFC number 2015-11-10 12:41:18 +00:00
jmcneill
69661fefd3 support disabling the HDMI output 2015-11-10 00:33:39 +00:00
jmcneill
5d748b8bc6 allow either crtc to be used with hdmi encoder 2015-11-10 00:04:04 +00:00
jmcneill
1dadc0e100 If the "is_console" property is already specified, do not overwrite it. 2015-11-09 23:11:18 +00:00
jmcneill
056d7a1bf3 Port the Tegra (2D) display drivers to the DRM framework.
tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.
2015-11-09 23:05:58 +00:00
jmcneill
4c7cdde22d only clear agp hook on last close when agp is in use, from riastradh@ 2015-11-09 22:04:53 +00:00
christos
a31d08b00c Use PRIx64 and %# requested by phone@ 2015-11-09 20:26:15 +00:00
christos
b1528c6989 explain why the int cast works (suggested by kre) 2015-11-09 17:52:59 +00:00
christos
f095feefbc Return ENXIO if the get ioctl exceeds the number of configured devices.
XXX: pullup-7
2015-11-09 17:41:24 +00:00
christos
8f21cd691f Since now the kernel returns ENXIO again for devices exceeding the
number of devices configured in the kernel, use that instead of
scanning /dev.
XXX: pullup to 7 together with the kernel change.
2015-11-09 17:39:20 +00:00
christos
09d8214348 disable debugging 2015-11-09 16:54:26 +00:00
christos
646ed23fbb Simplify ioctl handling a little. 2015-11-09 16:52:09 +00:00
christos
ab2f8d0338 fix return type 2015-11-09 15:12:12 +00:00