Commit Graph

265833 Commits

Author SHA1 Message Date
skrll
b638978987 Trailing whitespace 2019-03-03 16:29:00 +00:00
jmcneill
542af1bab1 Retroactively add some missing changes:
arm: Add support for Allwinner A64 SoC.
arm: Add support for Allwinner A13 and R8 SoCs.
arm: Add support for Allwinner H5 SoC.
arm: Add support for NextThing GR8 SoC.
arm: Add SMP support for Allwinner multi-cluster SoCs (A83T, A80)
arm: Update Amlogic S805 SoC support to use FDT based configuration.
2019-03-03 14:05:41 +00:00
jmcneill
282b06ad17 arm: Add support for Amlogic S905 SoC. 2019-03-03 13:46:39 +00:00
jmcneill
9663dc4745 Reset device at attach and fix eMMC 1.8V flags 2019-03-03 12:54:58 +00:00
jmcneill
125256724f Add eMMC reset sequence provider 2019-03-03 12:54:07 +00:00
jmcneill
64fbb2204e Add Amlogic dtb files to arm64.img 2019-03-03 11:44:18 +00:00
mrg
8424868662 build constlist.c for new mkfontscale. 2019-03-03 09:26:04 +00:00
mrg
c9490d547e define HAVE_INET_ATON for new xhost. 2019-03-03 09:19:02 +00:00
maxv
d8c443bc3d Add KASAN use-after-scope detection in aarch64, tested by Ryo Shimizu,
thanks.
2019-03-03 07:04:40 +00:00
maxv
40a4d78bcc Choose which CPUID bits to allow, rather than which bits to disallow. This
is clearer, and also forward compatible with future CPUs.

While here be more consistent when allowing the bits, and sync between
nvmm-amd and nvmm-intel. Also make sure to disallow AVX, because the guest
state we provide is only x86+SSE. Fixes a CentOS panic when booting on
NVMM, reported by Jared McNeill, thanks.
2019-03-03 07:01:09 +00:00
mrg
51102cfc35 - smart vendor support now does try to guess the vendor,
adjust the BUGS to suit
- claim some copyright
2019-03-03 04:51:57 +00:00
mrg
37b18b6d27 add a samsung specific SMART table with:
235 - POR Recovery Count
	243 - SATA Downshift Count
	244 - Thermal Throttle Status
	245 - Timed Workload Media Wear
	251 - NAND Writes

all 5 turn up on newer samsung SSDs, though 3 of them all
read 65535 for me across muliplte devices.
2019-03-03 04:48:19 +00:00
jnemeth
487d107169 Make it clear when displaying data from the MBR. 2019-03-03 03:20:42 +00:00
jnemeth
f23b40fcf3 add some more FAT file system types 2019-03-03 02:28:14 +00:00
christos
7c2e947942 Fix the build by merging duplicate "init" sections. 2019-03-03 02:21:07 +00:00
gutteridge
4e4fac16d4 cvs.1 & cvs.texinfo: add details about "init"
Add a section about the "init" command that has been missing all this
time. Part of the basic description is resurrected from r. 1.20 of
cvs.1 (in its prior incarnation in the CVS project tree under /man
rather than /doc), contributed by Tom Lees back in 1999. The caveat
about the history file is copied from elsewhere in the current
cvs.texinfo file. Additional fragments written by me. Addresses the
PR bin/45446.
2019-03-02 21:30:40 +00:00
jmcneill
9fd3794014 ODROID-C1 kernel is no more 2019-03-02 19:59:06 +00:00
jakllsch
4a71e72f53 Validate burst and width arguments.
Also add some more register definitions, and a (disabled) example of
how to set the DMA flow control mode.
2019-03-02 16:55:13 +00:00
christos
08012305cd Catch up with MI pci changes. 2019-03-02 14:21:19 +00:00
jmcneill
c6c83c514a Add support for Meson GXBB 2019-03-02 13:21:08 +00:00
jmcneill
35e039beae Fix IRQ trigger type for macirq, from upstream. 2019-03-02 12:25:15 +00:00
jmcneill
e8f1247c58 Setup RGMII mode for Meson DWMAC 2019-03-02 12:24:44 +00:00
jmcneill
79892c9da1 When acquiring a GPIO, disable any conflicting pinctrl function groups 2019-03-02 11:15:55 +00:00
jakllsch
84ca289a77 Implement support for multi-segment transfers.
Make more efficent use of DMA descriptor table memory.
2019-03-02 03:21:17 +00:00
kamil
adcf58e010 Refactor signal6-8 tests in t_ptrace_wait*
Transform original tests into new ones:
 - fork_singalmasked
 - fork_singalignored
 - vfork_singalmasked
 - vfork_singalignored
 - vforkdone_singalmasked
 - vforkdone_singalignored

All the signalignored ones pass, the remaining ones of them fail.
2019-03-02 01:01:20 +00:00
jakllsch
e91c24419b Fix whitespace. (In the source code, not in the functionality.) 2019-03-01 23:20:13 +00:00
jakllsch
64ae72b8b2 Underline when the attribute say underline, not when it says to reverse. 2019-03-01 23:17:05 +00:00
jakllsch
1278bae26e Reset 'height' before underlining in rasops32_putchar_aa().
Prevents segfault when underlining whitespace in the upper left cell.
2019-03-01 23:14:13 +00:00
martin
f239a04691 msg_prompt_win: allow automatic window height calculation (by passing
height = -1).
2019-03-01 17:02:21 +00:00
christos
c8d11eb8cc Use getfsspecname() to fill the filesystem argument in dumpdates.
While here, make sure that the error strings terminate with newline
consistently, and add a function that adds the system error string.
2019-03-01 16:42:11 +00:00
skrll
b14a651935 Handle processor private interrupts better and add support for the PMU
interrupt.

Thanks to jmcneill for review and suggestions.
2019-03-01 14:53:12 +00:00
nonaka
6d3a7524b0 fix typo. pointed out by pgoyette@n.o. 2019-03-01 12:25:09 +00:00
nonaka
fc714bd7bf commented out hvkvp entry. 2019-03-01 12:23:10 +00:00
pgoyette
8c2f80f160 Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.
2019-03-01 11:06:55 +00:00
nonaka
209264f340 Remove unused definition. 2019-03-01 10:02:33 +00:00
isaki
ae06bb460e Fix return value. or_and_fetch should return new value. 2019-03-01 09:57:32 +00:00
msaitoh
7977047465 - Almost all ppbreg.h's definitions are also in pcireg.h. Remove duplicated
definitions from ppbreg.h and move some definitions from ppbreg.h to
  pcireg.h.
- Change fast back-to-back "capable" to "enable" in pci_subr.c.
- Print Primary Discard Timer, Secondary Discard Timer, Discard Timer Status
  and Discard Timer SERR# Enable bit in pci_subr.c.
- PCI_BRIDGE_PREFETCHBASE32_REG and PCI_BRIDGE_PREFETCHLIMIT32_REG are
  "upper" 32bit registers, rename to *UP32_REG to avoid confusion.
- Use macro.
2019-03-01 09:25:59 +00:00
mlelstv
6ddf27dbe6 Fix build for i386.
The acpi_intr_establish function should really take an AD_HANDLE parameter.
2019-03-01 09:21:06 +00:00
hannken
72421a1974 Move pointer to fstrans private data into "struct lwp".
Ride NetBSD 8.99.35
2019-03-01 09:02:03 +00:00
nonaka
38df7c851b Update Hyper-V related drivers description. 2019-03-01 08:17:51 +00:00
mrg
adef1dae34 #if 0 the x and y symbols in GLIBCXX_3.4 namespace. they cause
duplicate symbols on netbsd.  see PR#54027.

with this disabled, turn on using the symver-config.h for the
gnu.ver processing so that other defines are handled.

fix some depends for gnu.ver processing.
2019-03-01 08:15:23 +00:00
skrll
91ad2de258 Sprinkle static 2019-03-01 08:05:46 +00:00
msaitoh
c53d252e23 KNF. No functional change. 2019-03-01 07:02:56 +00:00
kre
8d9b075152 The previous commit was obviously made by a broken mindless automoton
with an IQ that underflows when one attempts to enter it as an
unnormalised 160 bit long long double...

Whoever would believe that (~0 & anything) was a meaningful thing
to write?   And three times in one #define.   That could not possibly
have been me, could it?

Simplify, simplify, simplify.		NFC.
2019-03-01 06:15:01 +00:00
isaki
3bbf8c07ee Add missing alias for __atomic_fetch_nand_N.
XXX I'm not sure why does llvm/sparc call __atomic instead of
    __sync though.
XXX atomic_*_cas.c should be more symmetric...
2019-03-01 06:14:52 +00:00
msaitoh
05fee1d2e6 No functional change:
- u_int* -> uint*
 - KNF.
2019-03-01 05:41:56 +00:00
isaki
4229f721ac Revert previous hack.
Now all libc have __sync_and_and_fetch functions.
2019-03-01 05:39:01 +00:00
kre
f2dc75406d Inspired by (really the need for) Maya's patch to pkgsrc/shells/bash
to allow bash to build fdflags on Solaris 10, here are some mods that
fix that, and some other similar issues in the NetBSD version of fdflags.

The bash implementation of fdflags is based upon the one Christos did for
the NetBSD sh, so the issues are similar ... the NetBSD sh cannot yet
(easily anyway) build on anything except NetBSD, so this change makes
no current difference at all (just adds some compile time tests (#ifdef)
which always work out the way things did before, when built on NetBSD).

However, there is no system on which any modern shell can hope to work
which does not support close on exec, or fcntl(F_SETFD,...) to set it.
The O_CLOEXEC and FD_CLOEXEC definitions might not exist, but close on
exec can still be manipulated.   Since the primary rationale for
the fdflags builtin was to be able to manipulate that state bit from
scripts, it would be annoying to lose that one, and keep all the (less
important) others, just because O_CLOEXEC is not defined, so do the
fix (workaround) a different way than was done in the bash patch.

Further, more than fdflags() will fail if O_CLOEXEC is not defined,
so handle that as well.

Also fix another oddity ... (noticed by reading the code) - if
fcntl(F_GETFL,...) returned any bits set that we don't understand,
the code was supposed to simply print their values as a hex constant,
when fdflags is run with -v.    However, the getflags() function was
clearing all bits that the code did not know about ... so there is
no way any unknown bit could ever make it out to be printed.  Handle
that a different way - instead of clearing unknown bits, clear any
bits that get returned which we understand, but do not want to deal
with (stuff like O_WRONLY, which should not be returned from the
fcntl(), but who knows...)   Leave any unknown bits that happen to be
set, set, so that printone() can display them if appropriate.
(This is most likely to happen when running an older shell on a new
kernel where the kernel supports some new flag that the shell has
not been taught to understand).

NFCI that anyone should notice anytime soon.
2019-03-01 05:23:35 +00:00
mrg
aa60f6a327 add ./usr/include/ofppc for ofppc builds.
(how many more builds will i find like this?  the end result
is that i think we should generate the ./usr/include/$MACHINE
entry, i think, but i have to survey many ports.)
2019-03-01 04:39:37 +00:00
mrg
c4218079dc fix a typo in a comment 2019-03-01 04:29:20 +00:00