Commit Graph

262676 Commits

Author SHA1 Message Date
jmcneill 89e5088df3 Add ACPI PCI link devices to ignored ids on arm64 2018-10-21 13:41:15 +00:00
jmcneill 1c57613583 Don't make assumptions about the order of MADT subtables. Ensure that we
attach CPUs before the interrupt controller driver.
2018-10-21 13:34:33 +00:00
roy 9588a9422e curses: ensure attributes are correctly set for each character
Another fix for PR# 30978.
2018-10-21 12:47:33 +00:00
jmcneill fb4557ab45 Add virtio at acpi 2018-10-21 12:26:59 +00:00
jmcneill e8df8d972d Add ACPI attach glue for virtio_mmio. 2018-10-21 12:26:38 +00:00
jmcneill f19913ebd0 Add qemufwcfg at acpi 2018-10-21 12:07:47 +00:00
jmcneill eccd3af4d6 Some parts of the ACPI subsystem depend on a valid PCI chipset tag in the
ACPI softc. Provide one here, and assume segment 0.
2018-10-21 12:06:22 +00:00
jmcneill 3d4bf5bad9 Do not add PCI link references until the bus has been mapped 2018-10-21 11:56:26 +00:00
jmcneill da36a39e18 Fix boot messages 2018-10-21 11:09:20 +00:00
jmcneill afb4efc12a Only configure PCI bus if _DSM rev 1 func 5 ("Ignore PCI boot configuration") returns 1 2018-10-21 11:05:24 +00:00
jmcneill 16d1d11300 Add a function to report whether the operating system may ignore the boot
configuration of PCI resources for a given bus.
2018-10-21 11:04:26 +00:00
skrll c4336712ef Sort 2018-10-21 07:08:40 +00:00
skrll 88f463399d Fix sense of test in fdtbus_intr_disestablish.
Reported by yarl-baudig on port-arm.
2018-10-21 05:32:39 +00:00
jmcneill b416cffbd4 Enable ACPI support. 2018-10-21 00:57:38 +00:00
jmcneill 1b64a2bd6e Remove FDT support for AMD Seattle platform. This SoC is supported in ACPI
mode.
2018-10-21 00:56:43 +00:00
jmcneill 4902d174f3 Enable MSI support where available. 2018-10-21 00:51:12 +00:00
jmcneill 187fa5a9c2 Add support for PCI MSI using ARM GICv2m. 2018-10-21 00:42:05 +00:00
christos 2d7f932be5 detect clang instead of bundling it with Darwin 2018-10-21 00:26:24 +00:00
martin 38f575d125 Do not assume size_t == unsigned long 2018-10-20 14:09:47 +00:00
wiz c4b443aca0 Remove trailing whitespace. Fix a macro. 2018-10-20 08:47:03 +00:00
skrll af02aed8ed Sort 2018-10-20 08:29:11 +00:00
skrll 72e140f563 Whitespace 2018-10-20 08:26:10 +00:00
skrll 105b90ee57 a bit of sorting 2018-10-20 08:24:11 +00:00
skrll b206c0dbbe Clean up around cpu_ttb and fix a bunch of builds 2018-10-20 06:35:34 +00:00
macallan 824617f4e2 support for jbus-i2c found in US-IIIi machines
this needs help from schizo to access its registers, which is suboptimal and
should go away. So, for now this is for documentation purposes only.
2018-10-20 06:25:46 +00:00
ryo adac65575b changes of r1.14 was incomplete. use bootconfig.dram[] to resolve valid memory range.
pmap(1) failed to access kvm on some environment.
2018-10-20 06:18:18 +00:00
skrll 0bf83a9b8c Use __nothing 2018-10-20 05:58:34 +00:00
ryo d2507ff6dc - fix AP spinup on bcm283x
- "brcm,bcm2836-smp" is a enable-method for only 32bit bcm2836.
2018-10-20 05:53:22 +00:00
ryo 3f058ce2d1 add missing .ap_mpstart for rk3399 2018-10-20 05:38:27 +00:00
macallan d33396435d match "i2c-at34c02", found in various sparc64 boxes 2018-10-20 03:23:05 +00:00
christos 1f68464dbb Don't try to drop privileges twice, it produces a spurious error message
in the forked child.
2018-10-20 02:30:43 +00:00
christos 240d2a8b15 new tzcode 2018-10-19 23:07:31 +00:00
christos e3cd11d329 belatedly bump ntp and bump tzcode 2018-10-19 23:06:59 +00:00
christos b2b04f7e8a Update to 2018f:
Changes to code

    zic now always generates TZif files where time type 0 is used for
    timestamps before the first transition.  This simplifies the
    reading of TZif files and should not affect behavior of existing
    TZif readers because the same set of time types is used; only
    their internal indexes may have changed.  This affects only the
    legacy zones EST5EDT, CST6CDT, MST7MDT, PST8PDT, CET, MET, and
    EET, which previously used nonzero types for these timestamps.

    Because of the type 0 change, zic no longer outputs a dummy
    transition at time -2**59 (before the Big Bang), as clients should
    no longer need this to handle historical timestamps correctly.
    This reverts a change introduced in 2013d and shrinks most TZif
    files by a few bytes.

    zic now supports negative time-of-day in Rule and Leap lines, e.g.,
    "Rule X min max - Apr lastSun -6:00 1:00 -" means the transition
    occurs at 18:00 on the Saturday before the last Sunday in April.
    This behavior was documented in 2018a but the code did not
    entirely match the documentation.

    localtime.c no longer requires at least one time type in TZif
    files that lack transitions or have a POSIX-style TZ string.  This
    future-proofs the code against possible future extensions to the
    format that would allow TZif files with POSIX-style TZ strings and
    without transitions or time types.

    A read-access subscript error in localtime.c has been fixed.
    It could occur only in TZif files with timecnt == 0, something that
    does not happen in practice now but could happen in future versions.

    localtime.c no longer ignores TZif POSIX-style TZ strings that
    specify only standard time.  Instead, these TZ strings now
    override the default time type for timestamps after the last
    transition (or for all time stamps if there are no transitions),
    just as DST strings specifying DST have always done.

    leapseconds.awk now outputs "#updated" and "#expires" comments,
    and supports leap seconds at the ends of months other than June
    and December.  (Inspired by suggestions from Chris Woodbury.)

  Changes to documentation

    New restrictions: A Rule name must start with a character that
    is neither an ASCII digit nor "-" nor "+", and an unquoted name
    should not use characters in the set "!$%&'()*,/:;<=>?@[\]^`{|}~".
    The latter restriction makes room for future extensions (a
    possibility noted by Tom Lane).

    tzfile.5 now documents what time types apply before the first and
    after the last transition, if any.

    Documentation now uses the spelling "timezone" for a TZ setting
    that determines timestamp history, and "time zone" for a
    geographic region currently sharing the same standard time.

    The name "TZif" is now used for the tz binary data format.

    tz-link.htm now mentions the A0 TimeZone Migration utilities.
    (Thanks to Aldrin Martoq for the link.)
2018-10-19 23:05:35 +00:00
christos d5a790ba35 add __RCSID 2018-10-19 22:51:13 +00:00
macallan 0abf0eef54 add Tomatillo ESTAR and GPIO registers 2018-10-19 21:47:03 +00:00
jakllsch 450b8daf0f Add amdccp(4) driver for AMD Cryptographic Coprocessor, as found on the
A11xx Opterons.  Driver currently provides RNG service only.
2018-10-19 21:09:09 +00:00
jakllsch 6dc5d68080 Fix MP AP spinup on Seattle (OverDrive 1000) in Device Tree mode.
from skrll@
2018-10-19 20:33:23 +00:00
martin f3d8935f71 #ifdef DIAGNOSTIC should not cause functional differences (even if
minor or cosmetic)
2018-10-19 18:21:55 +00:00
maya 2f4a4de5b9 Pass --without-isl to GCC.
We don't provide one, but if we did the build would fail. This can also
happen if there's a system isl that GCC manages to find.

From mgorny.
2018-10-19 16:16:21 +00:00
jmcneill f451108145 Fix BCM2835 console support. 2018-10-19 15:29:00 +00:00
martin a52a4fdc24 Apply patch from Ian D. Leroux in PR bin/51019:
when unmounting tmpfs file systems at shutdown time, avoid unmounting
a tmpfs created by init on /dev - behaviour overridable from rc.conf.
By default all tmpfs that have device nodes are not mounted.
2018-10-19 14:11:12 +00:00
jmcneill aaeacaa744 Fix table offset when walking MCFG allocation subtables 2018-10-19 14:06:13 +00:00
tsutsui fc7b0964cf Reorganize APbus zs(4) console handling.
- set sccport0a address on early startup and use it for cnputc and cngetc
- explicitly initialize zs chip in the cninit function so that zs console
  can be used even if it is not initialized by PROM firmware

Tested on both news50000 and news4000.
2018-10-19 13:40:33 +00:00
jmcneill 4fb003510a Add support for PCI Segment Groups. 2018-10-19 11:40:27 +00:00
jmcneill 92a57f01d3 Store the ACPI Processor UID in struct cpu_info 2018-10-19 11:11:03 +00:00
skrll 9d9498b64f Fix build for non-generic start kernels 2018-10-19 08:30:57 +00:00
skrll 8afb159888 note armv7 GENERIC 2018-10-19 06:27:02 +00:00
skrll 40b4bda215 Whitespace 2018-10-19 06:24:34 +00:00
skrll 7c468eea11 Sort dts files 2018-10-19 06:16:14 +00:00