Commit Graph

259690 Commits

Author SHA1 Message Date
sevan
1bb226fbbf An acronym entry needs to be all uppercase.
Thanks to Thorsten Glaser
2018-06-20 21:53:15 +00:00
jdolecek
c5bd683ff6 as a stop-gap, make fpuinit_mxcsr_mask() for native independant of
XSAVE as it should be, only xen case checks the flag now; need to
investigate further why exactly the fault happens for the xen
no-xsave case

pointed out by maxv
2018-06-20 20:43:20 +00:00
jmcneill
b49c704e08 Add missing return in error path 2018-06-20 20:12:51 +00:00
thorpej
3448be6035 Revert previous. 2018-06-20 19:11:01 +00:00
maxv
a79f020658 Use PMAP_DIRECT_UNMAP. 2018-06-20 11:57:22 +00:00
maxv
bb09e40cae Add and use bootspace.smodule. Initialize it in locore/prekern to better
hide the specifics from the "upper" layers. This allows for greater
flexibility.
2018-06-20 11:49:37 +00:00
maxv
3debc574fe Put these arrays in .rodata, they aren't supposed to be executable. 2018-06-20 11:45:25 +00:00
msaitoh
e593c26021 Regen. 2018-06-20 09:10:52 +00:00
msaitoh
f63a82f385 Add nSYS Technologies. 2018-06-20 09:10:33 +00:00
hkenken
0988119362 Add l2cc support. 2018-06-20 08:03:55 +00:00
hkenken
8b06bd99ec Move intr_establish() before imxuart_attach_subr(). 2018-06-20 07:08:35 +00:00
hkenken
da71e27bf3 Modified CCM register defines. 2018-06-20 07:05:37 +00:00
hkenken
c59f041792 Rename a9tmr to arma9tmr. 2018-06-20 05:59:22 +00:00
thorpej
a6ccc291a7 In fdtbus_print(), aprint_normal the path to the device (rather than
aprint_debug).  This info is every bit as useful as, say, PCI device
locations.
2018-06-20 05:59:17 +00:00
hkenken
f0cd4794fa Fix typo. 2018-06-20 05:53:19 +00:00
hkenken
42ade95dce Support Cortex-A9 (addr_d > addr_c). 2018-06-20 05:50:09 +00:00
msaitoh
e1de590d3d Style fix. No functional change. 2018-06-20 05:19:12 +00:00
hkenken
706c652852 Use mpcaa_off1 parameter for mapping subregion. 2018-06-20 05:01:39 +00:00
msaitoh
d6138c5ea5 Whitespace fix. No functional change. 2018-06-20 04:04:50 +00:00
maya
216c3542f7 Add test case for PR lib/50646.
Make sure that cabsl (aka __c99_cabsl) is usable from C++.
2018-06-20 03:51:27 +00:00
maya
c017cf6e31 Strip -Wsystem-headers from CXXFLAGS.
GCC's C++ headers are not clean (yet). They are trying, but haven't got there
yet.

Necessary for including <atf-c++.hpp> which uses <sstream>.
2018-06-20 02:15:13 +00:00
jmcneill
517d79ffbb Disable threshhold mode for TX/RX DMA and ignore tx_delay/rx_delay props
for now. Fixes GMAC on RK3328.
2018-06-19 23:43:11 +00:00
uwe
c9265f9539 Make the error message from pms_alps_probe_init() an error again now
that we don't misidentify almost anything as an ALPS device.  Reset if
E6 check failed as well.
2018-06-19 23:25:59 +00:00
uwe
8d0c8bff34 Don't pass response buffer to the reset command since we are not
interested in it (pckbport_poll_cmd() is smart enough).
2018-06-19 23:03:28 +00:00
uwe
2b77c4cdd5 If the first byte of E7 signature is not 0x73, it's not an ALPS
device, so don't complain we failed to initialize it.  Still need a
reset, b/c the E7 check will be interpreted as normal commands by a
normal device.
2018-06-19 22:53:17 +00:00
jmcneill
a4c07ed004 dwcmmc: set ciu clock rate rather than assuming fixed input rate 2018-06-19 22:44:33 +00:00
uwe
13f76e26c2 When E6 signature is checked, ignore pressed buttons. 2018-06-19 21:47:28 +00:00
uwe
cd9108c6ed Use PMS_SEND_DEV_STATUS for E9 instead of PMS_GET_SCALE (also defined
as E9).  This is more readable and is congruent with other drivers.
Same object code is generated.
2018-06-19 21:21:04 +00:00
jdolecek
18191e00de actually Xen XSAVE support itself is bigger deal than the AVX alone, so mention
that more prominently
2018-06-19 19:57:45 +00:00
jdolecek
d213fd807f note the Xen AVX fix 2018-06-19 19:53:42 +00:00
jdolecek
9f41b66436 fix FPU initialization on Xen to allow e.g. AVX when supported by hardware;
only use XSAVE when the the CPUID OSXSAVE bit is set, as this seems to be
reliable indication

tested with Xen 4.2.6 DOM0/DOMU on Intel CPU, without and with no-xsave flag,
so should work also on those AMD CPUs, which have XSAVE disabled by default;
also tested with Xen DOM0 4.8.3

fixes PR kern/50332 by Torbjorn Granlund; sorry it took three years to address

XXX pullup netbsd-8
2018-06-19 19:50:19 +00:00
jmcneill
7a2303fd1d Install RK3328 .dtb files to the correct location 2018-06-19 15:13:51 +00:00
jmcneill
81171f787d Increase reserved space at start of image from 4MB to 16MB to make room
for Rockchip bootloaders.
2018-06-19 15:12:05 +00:00
jmcneill
14738837cf Use symbolic names for chip revision. NFC. 2018-06-19 10:36:41 +00:00
maxv
f9e8f3a48f When using EagerFPU, create the fpu state in execve at IPL_HIGH.
A preemption could occur in the middle, and we don't want that to happen,
because the context switch would use the partially-constructed fpu state.

The procedure becomes:

	splhigh
	unbusy the current cpu's fpu
	create a new fpu state in memory
	install the state on the current cpu's fpu
	splx

Disabling preemption also ensures that x86_fpu_eager doesn't change in
the middle.

In LazyFPU mode we drop IPL_HIGH right away.

Add more KASSERTs.
2018-06-19 09:25:13 +00:00
gson
036399b6f4 No semicolon after macro do ... while (0) wrapper. 2018-06-19 09:20:46 +00:00
maxv
c6e8e773a7 Explicitly clear l2's pcb_fpcpu when forking.
A context switch (preemption) could occur between

	fpusave_lwp(l1, true);
and
	memcpy(pcb2, pcb1, sizeof(struct pcb));

In this case, l1's FPU state is re-installed on the current CPU, and
pcb1->pcb_fpcpu becomes non NULL. While it's fine to have l1's state
installed, we don't want to indicate l2's state is installed too.

With lazy fpu this was not a problem, because the context-switch would
not re-install the state, so pcb1->pcb_fpcpu was NULL.

Should fix PR/53383.
2018-06-19 07:23:44 +00:00
msaitoh
c838c9bb48 Regen. 2018-06-19 05:14:36 +00:00
msaitoh
08d559b1e2 All of 88E151[0248]'s model number is 0x001d. 2018-06-19 05:14:16 +00:00
thorpej
31877e2554 Sigh, fix another stupid mistake in previous that squeaked by because,
again, I booted the wrong test kernel.
2018-06-19 04:10:51 +00:00
thorpej
4081e2be7c Use the device_compatible_entry mechanism rather than of_compat_data;
all of the OF / FDT data we need is already in the i2c_attach_args.
2018-06-19 02:08:12 +00:00
jmcneill
ded90cc051 rk_cru_composite_set_rate: allow selection of parent clocks in different
domains
2018-06-19 01:24:17 +00:00
jmcneill
73ce40490c Write MAC address high register before low register. Apparently the
hardware updates the filter when the low register is written.
2018-06-18 23:50:35 +00:00
pgoyette
b1b8d8175c The whole point of my recent addition of the specificdata(9) man page
was so it could be cross-referenced here.  So, add the xref.
2018-06-18 23:40:14 +00:00
jmcneill
d65d289e05 Clear IFF_RUNNING | IFF_OACTIVE when stopping interface. 2018-06-18 22:57:18 +00:00
maxv
5e51f3eb96 Add more KASSERTs, see if they help PR/53383. 2018-06-18 20:20:27 +00:00
christos
a2ee17b347 Keep things portable (requested by joerg) by not depending on reallocarr
and instead doing the overflow check ourselves.
2018-06-18 18:33:31 +00:00
thorpej
4f9e5a443e - Rename iic_compat_match() to iic_compatible_match() and change it
to use the new device_compatible_match() routine.  A pointer to
  the matching device_compatible_entry is returned if a match is
  found.
- Adjust iic_use_direct_match() accordingly.
- i2c drivers now provide device_compatible_entry tables when performing
  direct-config matching.
- In the dsrtc driver, take advantage of this new capability to greatly
  simplify model selection.

(I'm coming for you next, of_compat_data...)
2018-06-18 17:07:07 +00:00
thorpej
bd0f6c9df4 Fix a silly mistake in device_compatible_entry_matches() that I made
while re-factoring this from a prior version.

(I booted the wrong kernel when testing, oops.)
2018-06-18 16:31:42 +00:00
thorpej
3afafc8ac9 Add device_compatible_match(), a generalized routine for weighted
matching of device_compatible_entry data to a device's "compatible"
strings.
2018-06-18 15:36:54 +00:00