Commit Graph

264654 Commits

Author SHA1 Message Date
jmcneill
f9c08fdbcf Add Amlogic Meson RTC driver (FDT version) 2019-01-20 17:58:22 +00:00
jmcneill
96e4c98280 Add rtc node (non-standard bindings) 2019-01-20 17:57:29 +00:00
jmcneill
d07861fae1 Add operating points and clocks for CPUs 2019-01-20 17:29:04 +00:00
jmcneill
69b0424a71 Add support for changing CPU frequency 2019-01-20 17:28:34 +00:00
jmcneill
bce8d6d72a Add CLK_SET_RATE_PARENT for mux clocks and add MESON_CLK_PLL_RATE which is like MESON_CLK_PLL but accepts a custom set_rate function 2019-01-20 17:28:00 +00:00
jmcneill
c4f6d95afe Always honour MESON_CLK_DIV_SET_RATE_PARENT 2019-01-20 17:27:30 +00:00
maxv
116f85b12d Improvements in NVMM
* Handle the FPU differently, limit the states via the given mask rather
   than via XCR0. Align to 64 bytes. Provide an initial gXCR0, to be sure
   that XCR0_X87 is set. Reset XSTATE_BV when the state is modified by
   the virtualizer, to force a reload from memory.

 * Hide RDTSCP.

 * Zero-extend RBX/RCX/RDX when handling the NVMM CPUID signature.

 * Take ECX and not RCX on MSR instructions.
2019-01-20 16:55:21 +00:00
jmcneill
f4728349c8 Re-add support for awge0.mac-address, fb.scale, and fb.depth cmdline options 2019-01-20 16:02:32 +00:00
jmcneill
deba12f9c1 Only enable RX interrupts if the device is open. Previously interrupts were
enabled unconditionally, which caused the interrupt handler to consume
input before WSDISPLAY_MULTICONS had a change to poll for data.
2019-01-20 15:56:40 +00:00
gson
0bd23f10c8 Call rump_pub_lwproc_newlwp() in the lfs cleaner thread to make its
rump system calls all use the same lwp.  Hopefully this will fix
PR kern/53884.  Also call rump_pub_lwproc_releaselwp() at the end.
2019-01-20 14:50:58 +00:00
jmcneill
e23248decd Remove unused file. 2019-01-20 13:07:28 +00:00
skrll
4893317e26 G/C 2019-01-20 11:09:11 +00:00
skrll
2922428b48 G/C VEXPRESS_A15 2019-01-20 10:50:06 +00:00
skrll
1521ad8a22 Another kernel bites te dust.
Remove ODROID-C1 as it is now replaced by GENERIC. Thanks jmcneill.
2019-01-20 10:18:03 +00:00
jmcneill
4442a22185 Add mesonsdhc 2019-01-20 00:44:17 +00:00
jmcneill
fb172c8ae3 Add Amlogic Meson SDHC driver (non-standard bindings) 2019-01-20 00:44:01 +00:00
jmcneill
7d8490f2e6 Add (non-standard) fb node for meson8b 2019-01-19 21:44:02 +00:00
jmcneill
83f9c13a0b Add Meson (FDT) framebuffer support. 2019-01-19 21:43:43 +00:00
jmcneill
fa17d71214 Add WSDISPLAY_MULTICONS 2019-01-19 21:43:07 +00:00
rmind
e44cc34f66 Mention NPF improvements. 2019-01-19 21:36:09 +00:00
rmind
3d9a792dd8 Major NPF improvements:
- Convert NPF connection table to thmap.  State lookup is now lock-free.
- Improve connection state G/C: it is now incremental and tunable.
- Add support for dynamic NAT address.  Translation addresses can now be
  selected from a pool of addresses.  There are two selection algorithms,
  "ip-hash" and "round-robin" (see the man page).
- Translation address can be specified as e.g. ifaddrs(wm0) in npf.conf
  to dynamically choose an IP from the interface address(es).
- Add support for the NETMAP algorithm with static NAT for net-to-net
  translation (it is equivalent to iptables NETMAP logic).
- Convert 'ipset' tables to use thmap; the table lookup is now lock-free.
- Misc improvements, bug fixes and more unit tests.
- Bump NPF_VERSION (will also bump libnpf).
2019-01-19 21:19:31 +00:00
jmcneill
912cfa1495 Add support for (FDT-ized) Amlogic Meson8b. 2019-01-19 20:56:03 +00:00
jmcneill
7dce442724 Add support for Meson8b 2019-01-19 20:53:32 +00:00
jmcneill
f6548d2286 Remove hard requirement for "offset" property on Cortex-A5. This is not required w/ FDT. 2019-01-19 20:52:26 +00:00
jmcneill
77ff9a803a Set initial regulator states at attach time 2019-01-19 20:51:12 +00:00
jmcneill
50f51e36d6 Add a helper to search the tree for a node with the specified property 2019-01-19 20:50:48 +00:00
rmind
c2307f9cf2 thmap: use KM_NOSLEEP for now; might revisit later. 2019-01-19 20:42:54 +00:00
mrg
cba7a6aaf9 make includes works now.
pull out more data needed for headers and fix gthr-defaults.h.

libgcc_s has multiple symbols.
2019-01-19 20:02:06 +00:00
mrg
40c539ae8c first cut mknative-gcc for gcc7 amd64. i've hand edited some
libgcc files to ease mknative updates.

not functional yet.
2019-01-19 17:11:52 +00:00
mrg
ac39157870 begin to handle new unwind.h and gthr-default.h stuff.
put gthr stuff in a common makefile.

remove ancient unused Makefile.srcs.
2019-01-19 17:11:02 +00:00
mrg
e521445bd8 also pull out these variables:
enable_execute_stack
	unwind_header
	md_unwind_header
	sfp_machine_header
	thread_header
2019-01-19 17:08:39 +00:00
mrg
1887939342 regen these for <GCC 7.4.0. 2019-01-19 17:04:06 +00:00
dholland
0691ca8da8 i915drmkms requires firmload. PR 53892 2019-01-19 16:58:29 +00:00
kre
66ac24c3bf When we exit from running off the end of the input file (which
includes typing ^D) make sure LINENO is set to indicate the last
(actually one past last) line in the input file, rather than
whatever it was set to by the last command that was actually
executed (which could be some line in a function defined in
some other file).

No effect on exit via an explicit exit command - that would already
set the line number correctly.
2019-01-19 14:20:22 +00:00
kre
f04239a697 Allow the decimal radix character '.' to work, regardless of
what the current locale's radix character happens to be,
while still allowing locale specific entry of fractional
seconds (ie: if you're in locale where the radix character
is ',' you san use "sleep 2.5" or "sleep 2,5" and they
accomplish the same thing).

This avoids issues with the "sleep 0.05" in rc.subr which
generated usage messages when a locale that does not use
'.' as its radix character was in use.

Reported on netbsd-users by Dima Veselov, with the problem
diagnosed by Martin Husemann

While here, tighten the arg validity checking (3+4 is
no longer permitted as a synonym of 3) and allow 0.0
to mean the same thing as 0 rather than being an error.

Also, make the SIGINFO reports a little nicer (IMO).

The ATF tests for sleep all pass (not that that means a lot).
2019-01-19 13:27:12 +00:00
martin
101948139d PR kern/53893: add missing #ifdef DDB around db_printf calls. 2019-01-19 13:17:32 +00:00
kre
cf75e20323 Add some error checking, and stop assuming what the input
will necessarily contain.   Allow defined nodes to use any
intN_t or unintN_t (as well as plain old int) data types
in fields (along with the others that are permitted).

Note: this script is a part of the build procedure for /bin/sh,
the modified version generates the exact same output files
(for the unaltered input specifications) as the previous one
did, hence no visible change is expected (or even possible).

While there is a tiny chance that some host shell will fail
to be able to run this script while building, the script still
uses nothing even slightly exotic, and is much more conservative
than other scripts used during the build process, so there should
be no issues there either.
2019-01-19 13:08:50 +00:00
mrg
ea47ee7d4a add basic gcc-7 support in sets lists and filesystem. mips gained
a header.  assumes it's otherwise mostly the same as gcc-7.
2019-01-19 13:06:50 +00:00
mrg
0b4f44e237 obsolete gcc 5 support.
add gcc 7 support.  call it "nb1 20190119"
2019-01-19 12:58:37 +00:00
mrg
56f09d6642 gcc 7 will use gcc-7 subdir. 2019-01-19 12:57:32 +00:00
mrg
62ffddee45 disable new s-selftest rule that relies upon missing testsuite. 2019-01-19 12:32:06 +00:00
mrg
a41324a9f3 first pass at merging GCC 7.4.0. unlikely to compile.. 2019-01-19 12:10:03 +00:00
mrg
b17d1066a7 import GCC 7.4.0. main changes include:
The non-standard C++0x type traits has_trivial_default_constructor,
has_trivial_copy_constructor and has_trivial_copy_assign have been
removed.

On ARM targets (arm*-*-*), a bug introduced in GCC 5 that affects
conformance to the procedure call standard (AAPCS) has been fixed.

Many optimiser improvements

DWARF-5 support.

Many new and enhanced warnings.

Warnings about format strings now underline the pertinent part of
the string, and can offer suggested fixes.

Several new warnings related to buffer overflows and buffer
truncation.

New __builtin_add_overflow_p, __builtin_sub_overflow_p,
__builtin_mul_overflow_p built-ins added that test for overflow.

The C++ front end has experimental support for all of the current
C++17 draft.

The -fverbose-asm option has been expanded to prints comments
showing the source lines that correspond to the assembly.

The gcc and g++ driver programs will now provide suggestions for
misspelled arguments to command-line options.


AArch64 specific:

GCC has been updated to the latest revision of the procedure call
standard (AAPCS64) to provide support for parameter passing when
data types have been over-aligned.

The ARMv8.2-A and ARMv8.3-A architecture are now supported.

ARM specific:

Support for the ARMv5 and ARMv5E architectures has been
deprecated (which have no known implementations).

A new command-line option -mpure-code has been added. It does not
allow constant data to be placed in code sections.

x86 specific:

Support for the AVX-512 4FMAPS, 4VNNIW, VPOPCNTDQ and Software
Guard Extensions (SGX) ISA extensions has been added.

PPC specific:

GCC now diagnoses inline assembly that clobbers register r2.

RISC-V specific:

Support for the RISC-V instruction set has been added.

SH specific:

Support for SH5/SH64 has been removed.

Support for SH2A has been enhanced.
2019-01-19 10:13:58 +00:00
skrll
cf574490c6 Increase MSGBUFSIZE 2019-01-19 09:11:55 +00:00
christos
3f3dbbcd73 add a range and a repeat regex test. 2019-01-19 01:02:12 +00:00
christos
d7ebb8dfb4 PR/53885: Martijn Dekker: Add ERE support from
https://opensource.apple.com/tarballs/awk/awk-24.tar.gz
2019-01-19 00:37:41 +00:00
macallan
3c64c6cf95 allow font loading, resizing etc. 2019-01-19 00:16:43 +00:00
mrg
529b231fc9 link in libexecinfo. 2019-01-18 23:05:30 +00:00
skrll
8c499c7d34 Add support for "bootargs" environment variable from jmcneill@
Doesn't work with some (all?) u-boots.
2019-01-18 19:41:03 +00:00
jdolecek
ce95c4acc1 revert rev 1.73 - while it apparently helped Christos case, it re-broke
the disk detection on several other systems, so need something else
2019-01-18 19:16:50 +00:00