Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (2h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 12:08:42 UTC Now

2018-10-24 06:53:26 UTC MAIN commitmail json YAML

only include ata_recovery.c with atabus (same as ata.c which provides
ata_thread_run() used here)

(jdolecek)

2018-10-24 03:59:33 UTC MAIN commitmail json YAML

2018-10-24 03:51:21 UTC MAIN commitmail json YAML

When returning a cached shared irq event value, DTRT

(cherry)

2018-10-23 22:26:14 UTC MAIN commitmail json YAML

Avoid conflicts with "our" (the FreeBSD) nvpair/nvlist implementation by
prefixing all symbols with "opensolaris_".

(christos)

2018-10-23 22:25:21 UTC MAIN commitmail json YAML

prefix all nv* symbols with opensolaris_

(christos)

2018-10-23 22:05:01 UTC MAIN commitmail json YAML

add support for DIOCCACHESYNC (!), and DIOCGCACHE; code adapted from ccd(4)

tested with Intel ATA Raid

(jdolecek)

2018-10-23 20:09:40 UTC MAIN commitmail json YAML

make the section about In-System umass a 'NOTES' rather than 'BUGS'

(jdolecek)

2018-10-23 19:58:53 UTC MAIN commitmail json YAML

2018-10-23 16:49:13 UTC MAIN commitmail json YAML

Apply revisions 1.21, 1.22 from OpenBSD:

In re_fastputc(), set lastline to the new line, not the previous
line so it gets initialized properly.  Fixes a crash in bc with
MALLOC_OPTIONS=UJ.  OK deraadt@, committing on behalf of yasuoka@

Initialize "old" screen buffer lines before use; otherwise, they would
never get NUL-terminated and cause read buffer overruns.
This fixes for example segfaults in sftp(1) that could be triggered
by typing in an extremely long string (more than one line - the longer,
the likelier to crash), then hitting backspace once.
Problem reported and patch OK'ed by sthen@.

XXX: pullup-8

(christos)

2018-10-23 15:44:42 UTC MAIN commitmail json YAML

Tidy up a bit.

- Quote the opening paragraph from netbsd.org.
- Set the suggested commands in teletype.
- Give pointers in a more active voice.
- Omit trailing whitespace.
- Mention the relation of the Git mirror to the main CVS repository.
- Use a list rather than juxtaposition for the final links.

(riastradh)

2018-10-23 10:13:34 UTC MAIN commitmail json YAML

Expose SMBIOS table pointer via machdep.smbios sysctl

(jmcneill)

2018-10-23 10:13:00 UTC MAIN commitmail json YAML

If an SMBIOS3 table is found, pass the address to the kernel via /chosen
"netbsd,smbios-table" property.

(jmcneill)

2018-10-23 09:30:09 UTC MAIN commitmail json YAML

note that rc.conf:flushroutes may be useful.  bump date.

(mrg)

2018-10-23 09:25:33 UTC MAIN commitmail json YAML

only flush routes in stop routine if flushroutes is true, same as
the start up.

(mrg)

2018-10-23 09:23:46 UTC MAIN commitmail json YAML

update the BUGS statement to say that xhci is mostly functional.

(mrg)

2018-10-23 09:19:02 UTC MAIN commitmail json YAML

Do not complain if the _AEI method is not found, just skip installing the
interrupt handler.

(jmcneill)

2018-10-23 09:15:36 UTC MAIN commitmail json YAML

2018-10-23 08:38:18 UTC MAIN commitmail json YAML

2018-10-23 05:30:58 UTC MAIN commitmail json YAML

Xr to ahcisata(4), ther is no ahci(4)

(jdolecek)

2018-10-23 03:56:48 UTC MAIN commitmail json YAML

Clamp timeout to INT_MAX to avoid the bad kind of integer truncation.

XXX pullup-7
XXX pullup-8

(riastradh)

2018-10-23 03:56:33 UTC MAIN commitmail json YAML

DELAY takes microseconds, not ticks.

XXX pullup-7
XXX pullup-8

(riastradh)

2018-10-23 01:49:37 UTC MAIN commitmail json YAML

Make USB port iteration code consistent, always startint at port #1

This complements change in revision 1.140

(manu)

2018-10-22 22:36:41 UTC MAIN commitmail json YAML

2018-10-22 22:36:19 UTC MAIN commitmail json YAML

Add driver for ACPI Generic Event Device

(jmcneill)

2018-10-22 22:29:35 UTC MAIN commitmail json YAML

2018-10-22 21:40:45 UTC MAIN commitmail json YAML

first disestablish interrupt, then release

(jdolecek)

2018-10-22 21:25:23 UTC MAIN commitmail json YAML

remove the note for dump, moral equivalent is done and biodone() most
certainly should not be done

(jdolecek)

2018-10-22 21:24:18 UTC MAIN commitmail json YAML

remove the wd* at umass? entry (comment moved to umass_isdata.c and manpage)

remove MSI for ahcisata(4), siisata(4) - these were done

(jdolecek)

2018-10-22 21:23:16 UTC MAIN commitmail json YAML

add a note this needs to be retested

(jdolecek)

2018-10-22 21:04:53 UTC MAIN commitmail json YAML

enable MSI support where available

(jdolecek)

2018-10-22 20:57:07 UTC MAIN commitmail json YAML

enable MSI support where available, blatantly copied from jmcneill's msk(4)

(jdolecek)

2018-10-22 20:30:52 UTC MAIN commitmail json YAML

move mvsata(4) related items from ata/TODO.ncq to dev/ic/mvsata.c, it's
unlikely this will ever be done, but still good to note somewhere

(jdolecek)

2018-10-22 20:23:28 UTC MAIN commitmail json YAML

move the section about In-System Design to BUGS and note that it very
likely doesn't actually work any more

(jdolecek)

2018-10-22 20:13:47 UTC MAIN commitmail json YAML

Merge jdolecek-ncqfixes branch

- ata_xfer's are dynamicall allocated as needed using a pool, no longer
  limited to number of possible openings supported by controller; dump
  and recovery paths use dedicated pre-allocated storage
- moved callouts and condvars from ata_xfer to queue or channel, so that
  ata_xfer does not need special initialization
- slot allocation now done when xfer is being activated, uncoupled
  from memory allocation; active slots are no longer tracked by controller
  code
- channel and drive reset is done always via the atabus thread, and
  now executes with channel locked the whole time
- NCQ recovery moved to shared function, and run via the thread also
- added some workarounds for buggy error recovery AHCI emulation in QEMU
  and Parallels

designed to primarily fix kern/52614, but might also help with kern/47041
and kern/53183

(jdolecek)

2018-10-22 19:53:26 UTC MAIN commitmail json YAML

note that mvsata(4) is unlikely to receive any further changes, and
remove the falsely promising 'yet's

(jdolecek)

2018-10-22 19:38:06 UTC MAIN commitmail json YAML

2018-10-22 19:36:28 UTC MAIN commitmail json YAML

no need for <sys/malloc.h> here

(jdolecek)

2018-10-22 13:19:42 UTC MAIN commitmail json YAML

Adjust whitespace to look more like assignment than comparison. NFC

(maya)

2018-10-22 08:49:00 UTC MAIN commitmail json YAML

Use space on both sides of the pipe symbol, for readability

(pgoyette)

2018-10-22 08:42:54 UTC MAIN commitmail json YAML

Add more links.

(wiz)

2018-10-22 07:42:27 UTC netbsd-8 commitmail json YAML

Ammend ticket #1066 for additional pullups

(martin)

2018-10-22 07:41:12 UTC netbsd-8 commitmail json YAML

Additionally pull up r1.131 for ticket #1066 (requested by knakahara):

Use a different psz for a different lock. Patch from riastradh, reviewed
by ozaki-r.

(martin)

2018-10-21 21:25:53 UTC MAIN commitmail json YAML

Add a README.md.

This document attempts to describe some commonly needed use-cases.
The build.sh command is opinionated but it's for the sake of having
a command that can be copied and probably works without needing to
inform the user about what various options do.

Discussed in tech-toolchain. I've added some links suggested by kamil
and switched to calling arm64 'aarch64' as requested by richard earnshaw.

(maya)

2018-10-21 21:18:59 UTC MAIN commitmail json YAML

2018-10-21 21:18:41 UTC MAIN commitmail json YAML

2018-10-21 19:16:48 UTC jdolecek-ncqfixes commitmail json YAML

testing done (including PMP on siisata(4) and ATAPI cd(4) on ahcisata/siisata)

(jdolecek)

2018-10-21 18:32:23 UTC MAIN commitmail json YAML

Add acpibut at acpi, acpilid at acpi

(jmcneill)

2018-10-21 18:31:58 UTC MAIN commitmail json YAML

Add support for GPIO interrupt signaled ACPI events.

(jmcneill)

2018-10-21 18:31:14 UTC MAIN commitmail json YAML

Allow bus glue to reserve pins for private use

(jmcneill)

2018-10-21 18:13:14 UTC jdolecek-ncqfixes commitmail json YAML

decouple siisata_reset_channel() from siisata_reinit_port(); the former
now needs channel lock, but we don't have it in siisata_init_port()
during attach

instead call siisata_reset_channel() when siisata_reinit_port() fails,
and ignore the error during attach

(jdolecek)

2018-10-21 13:41:15 UTC MAIN commitmail json YAML

Add ACPI PCI link devices to ignored ids on arm64

(jmcneill)

2018-10-21 13:34:33 UTC MAIN commitmail json YAML

Don't make assumptions about the order of MADT subtables. Ensure that we
attach CPUs before the interrupt controller driver.

(jmcneill)

2018-10-21 12:47:33 UTC MAIN commitmail json YAML

curses: ensure attributes are correctly set for each character

Another fix for PR# 30978.

(roy)

2018-10-21 12:26:59 UTC MAIN commitmail json YAML

2018-10-21 12:26:38 UTC MAIN commitmail json YAML

2018-10-21 12:12:51 UTC netbsd-8 commitmail json YAML

2018-10-21 12:10:23 UTC netbsd-8 commitmail json YAML

src/doc/3RDPARTY@1.1444.2.18 / diff / nxr@1.1444.2.18
src/external/public-domain/tz/dist/CONTRIBUTING@1.1.1.3.6.3 / diff / nxr@1.1.1.3.6.3
src/external/public-domain/tz/dist/Makefile@1.1.1.17.4.5 / diff / nxr@1.1.1.17.4.5
src/external/public-domain/tz/dist/NEWS@1.1.1.18.4.5 / diff / nxr@1.1.1.18.4.5
src/external/public-domain/tz/dist/README@1.1.1.5.6.2 / diff / nxr@1.1.1.5.6.2
src/external/public-domain/tz/dist/TZDATA_VERSION@1.8.4.5 / diff / nxr@1.8.4.5
src/external/public-domain/tz/dist/africa@1.1.1.11.4.5 / diff / nxr@1.1.1.11.4.5
src/external/public-domain/tz/dist/antarctica@1.1.1.8.4.3 / diff / nxr@1.1.1.8.4.3
src/external/public-domain/tz/dist/asia@1.1.1.16.4.5 / diff / nxr@1.1.1.16.4.5
src/external/public-domain/tz/dist/australasia@1.1.1.11.4.5 / diff / nxr@1.1.1.11.4.5
src/external/public-domain/tz/dist/backward@1.1.1.7.4.2 / diff / nxr@1.1.1.7.4.2
src/external/public-domain/tz/dist/backzone@1.1.1.11.4.4 / diff / nxr@1.1.1.11.4.4
src/external/public-domain/tz/dist/etcetera@1.1.1.2.6.1 / diff / nxr@1.1.1.2.6.1
src/external/public-domain/tz/dist/europe@1.1.1.17.4.5 / diff / nxr@1.1.1.17.4.5
src/external/public-domain/tz/dist/factory@1.1.1.2.6.1 / diff / nxr@1.1.1.2.6.1
src/external/public-domain/tz/dist/leap-seconds.list@1.1.1.7.4.3 / diff / nxr@1.1.1.7.4.3
src/external/public-domain/tz/dist/leapseconds@1.1.1.8.4.3 / diff / nxr@1.1.1.8.4.3
src/external/public-domain/tz/dist/leapseconds.awk@1.1.1.5.8.2 / diff / nxr@1.1.1.5.8.2
src/external/public-domain/tz/dist/northamerica@1.1.1.16.4.4 / diff / nxr@1.1.1.16.4.4
src/external/public-domain/tz/dist/pacificnew@1.1.1.1.20.1 / diff / nxr@1.1.1.1.20.1
      :
(more 9 files)
Sync the following with current, requested by kre in ticket #1068

external/public-domain/tz/dist/CONTRIBUTING    up to 1.1.1.6
external/public-domain/tz/dist/Makefile        up to 1.1.1.22
external/public-domain/tz/dist/NEWS            up to 1.1.1.23
external/public-domain/tz/dist/README          up to 1.1.1.7
external/public-domain/tz/dist/TZDATA_VERSION  up to 1.13
external/public-domain/tz/dist/africa          up to 1.1.1.16
external/public-domain/tz/dist/antarctica      up to 1.1.1.11
external/public-domain/tz/dist/asia            up to 1.1.1.21
external/public-domain/tz/dist/australasia      up to 1.1.1.16
external/public-domain/tz/dist/backward        up to 1.1.1.9
external/public-domain/tz/dist/backzone        up to 1.1.1.15
external/public-domain/tz/dist/etcetera        up to 1.1.1.3
external/public-domain/tz/dist/europe          up to 1.1.1.22
external/public-domain/tz/dist/factory          up to 1.1.1.3
external/public-domain/tz/dist/leap-seconds.list up to 1.1.1.10
external/public-domain/tz/dist/leapseconds      up to 1.1.1.11
external/public-domain/tz/dist/leapseconds.awk  up to 1.1.1.7
external/public-domain/tz/dist/northamerica    up to 1.1.1.20
external/public-domain/tz/dist/pacificnew      up to 1.1.1.2
external/public-domain/tz/dist/southamerica    up to 1.1.1.15
external/public-domain/tz/dist/systemv          up to 1.1.1.2
external/public-domain/tz/dist/theory.html      up to 1.1.1.5
external/public-domain/tz/dist/version          up to 1.1.1.10
external/public-domain/tz/dist/yearistype.sh    up to 1.1.1.2
external/public-domain/tz/dist/zishrink.awk    up to 1.1.1.4
external/public-domain/tz/dist/zone.tab        up to 1.1.1.15
external/public-domain/tz/dist/zone1970.tab    up to 1.1.1.17
external/public-domain/tz/dist/zoneinfo2tdf.pl  up to 1.1.1.2
doc/3RDPARTY 1.1568 (patch

Import tzdata2018f from ftp://ftp.iana.org/tz/releases/tzdata2018f.tar.gz

  Volgograd moves from +03 to +04 on 2018-10-28.
  Fiji ends DST 2019-01-13, not 2019-01-20.
  Most of Chile changes DST dates, effective 2019-04-06.

  Plus corrections to North Korea's 2018-05-05 and China's April 1988
  updates (getting the actual time/date of the transition correct)
  Corrections for Macau pre 1992, Japan in late 1940's - early 1950's,
  and China (Shanghai) 1940's.  The Phillipines get their timezone
  name abbreviations back.

(martin)

2018-10-21 12:07:47 UTC MAIN commitmail json YAML

2018-10-21 12:06:22 UTC MAIN commitmail json YAML

Some parts of the ACPI subsystem depend on a valid PCI chipset tag in the
ACPI softc. Provide one here, and assume segment 0.

(jmcneill)

2018-10-21 12:00:33 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #1067):

bin/sh/mkinit.sh: revision 1.9

Dynamically detect the way the shell matches \ in a pattern,
and use whatever works for the sh running this script.  Previously
we were using the (broken, and incorrect) method that worked in
old broken NetBSD sh's (and some others) and not the method that
works with the current (fixed) /bin/sh and other correct shells
(like bash).  (For an exotic reason, in the particular use case,
both methods work with ksh93, but it is also generally correct).

This hasn't really mattered, as the difference is only significant
(only causes actual issues - the build fails) when compiling with DEBUG
enabled, which is something that most sane humans would never do, if they
want to retain that sanity.

The problem was detected by Patrick Welche when looking for an
unrelated problem, which was once considered to be a possible sh
problem, but turned out to be something entirely different.

XXX pullup -8

(martin)

2018-10-21 11:56:26 UTC MAIN commitmail json YAML

Do not add PCI link references until the bus has been mapped

(jmcneill)

2018-10-21 11:55:54 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1066):

sys/net/if_vlan.c: revision 1.133
sys/net/if_gif.h: revision 1.32
sys/net/if_ipsec.c: revision 1.18
sys/net/if_ipsec.h: revision 1.4
sys/net/if_gif.c: revision 1.144
sys/net/if_l2tp.h: revision 1.6
sys/net/if_l2tp.c: revision 1.30

Fix panic when doing ioctl to multiple pseudo interfaces. Pointed out by k-goda@IIJ.

XXX pullup-8

(martin)

2018-10-21 11:09:20 UTC MAIN commitmail json YAML

2018-10-21 11:05:24 UTC MAIN commitmail json YAML

Only configure PCI bus if _DSM rev 1 func 5 ("Ignore PCI boot configuration") returns 1

(jmcneill)

2018-10-21 11:04:26 UTC MAIN commitmail json YAML

Add a function to report whether the operating system may ignore the boot
configuration of PCI resources for a given bus.

(jmcneill)

2018-10-21 07:08:40 UTC MAIN commitmail json YAML

2018-10-21 05:32:39 UTC MAIN commitmail json YAML

Fix sense of test in fdtbus_intr_disestablish.

Reported by yarl-baudig on port-arm.

(skrll)

2018-10-21 00:57:38 UTC MAIN commitmail json YAML

2018-10-21 00:56:44 UTC MAIN commitmail json YAML

Remove FDT support for AMD Seattle platform. This SoC is supported in ACPI
mode.

(jmcneill)

2018-10-21 00:51:12 UTC MAIN commitmail json YAML

2018-10-21 00:42:06 UTC MAIN commitmail json YAML

2018-10-21 00:26:24 UTC MAIN commitmail json YAML

detect clang instead of bundling it with Darwin

(christos)

2018-10-20 21:08:23 UTC jdolecek-ncqfixes commitmail json YAML

hold lock during drive reset (new locking protocol)

erase xfer before each reuse for read/write port commands

(jdolecek)

2018-10-20 14:09:47 UTC MAIN commitmail json YAML

Do not assume size_t == unsigned long

(martin)

2018-10-20 08:47:03 UTC MAIN commitmail json YAML

Remove trailing whitespace. Fix a macro.

(wiz)

2018-10-20 08:29:11 UTC MAIN commitmail json YAML

2018-10-20 08:26:10 UTC MAIN commitmail json YAML

2018-10-20 08:24:11 UTC MAIN commitmail json YAML

2018-10-20 06:58:47 UTC pgoyette-compat commitmail json YAML

2018-10-20 06:35:34 UTC MAIN commitmail json YAML

2018-10-20 06:25:46 UTC MAIN commitmail json YAML

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.

(macallan)

2018-10-20 06:18:18 UTC MAIN commitmail json YAML

changes of r1.14 was incomplete. use bootconfig.dram[] to resolve valid memory range.
pmap(1) failed to access kvm on some environment.

(ryo)

2018-10-20 05:58:34 UTC MAIN commitmail json YAML

2018-10-20 05:53:22 UTC MAIN commitmail json YAML

- fix AP spinup on bcm283x
- "brcm,bcm2836-smp" is a enable-method for only 32bit bcm2836.

(ryo)

2018-10-20 05:38:27 UTC MAIN commitmail json YAML

add missing .ap_mpstart for rk3399

(ryo)

2018-10-20 03:23:05 UTC MAIN commitmail json YAML

match "i2c-at34c02", found in various sparc64 boxes

(macallan)

2018-10-20 02:30:43 UTC MAIN commitmail json YAML

Don't try to drop privileges twice, it produces a spurious error message
in the forked child.

(christos)

2018-10-19 23:07:31 UTC MAIN commitmail json YAML

2018-10-19 23:06:59 UTC MAIN commitmail json YAML

belatedly bump ntp and bump tzcode

(christos)

2018-10-19 23:05:35 UTC MAIN commitmail json YAML

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.)

(christos)

2018-10-19 22:51:13 UTC MAIN commitmail json YAML

2018-10-19 21:47:03 UTC MAIN commitmail json YAML

add Tomatillo ESTAR and GPIO registers

(macallan)

2018-10-19 21:09:10 UTC MAIN commitmail json YAML

2018-10-19 20:33:23 UTC MAIN commitmail json YAML

Fix MP AP spinup on Seattle (OverDrive 1000) in Device Tree mode.

from skrll@

(jakllsch)

2018-10-19 18:21:55 UTC MAIN commitmail json YAML

#ifdef DIAGNOSTIC should not cause functional differences (even if
minor or cosmetic)

(martin)

2018-10-19 16:16:21 UTC MAIN commitmail json YAML

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.

(maya)

2018-10-19 15:29:00 UTC MAIN commitmail json YAML

Fix BCM2835 console support.

(jmcneill)

2018-10-19 14:11:12 UTC MAIN commitmail json YAML

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.

(martin)

2018-10-19 14:06:13 UTC MAIN commitmail json YAML

Fix table offset when walking MCFG allocation subtables

(jmcneill)

2018-10-19 13:40:33 UTC MAIN commitmail json YAML

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.

(tsutsui)

2018-10-19 11:40:27 UTC MAIN commitmail json YAML

2018-10-19 11:11:03 UTC MAIN commitmail json YAML

Store the ACPI Processor UID in struct cpu_info

(jmcneill)

2018-10-19 08:30:57 UTC MAIN commitmail json YAML

Fix build for non-generic start kernels

(skrll)

2018-10-19 06:27:03 UTC MAIN commitmail json YAML

note armv7 GENERIC

(skrll)

2018-10-19 06:24:35 UTC MAIN commitmail json YAML

2018-10-19 06:16:14 UTC MAIN commitmail json YAML

2018-10-19 06:10:55 UTC MAIN commitmail json YAML

Fix typo ... 2018f no 2017f!

(kre)

2018-10-19 05:04:45 UTC MAIN commitmail json YAML

2018-10-19 04:35:08 UTC MAIN commitmail json YAML

tzdata 2018f incorporated.

(kre)

2018-10-19 04:32:14 UTC MAIN commitmail json YAML

2018-10-19 00:33:27 UTC MAIN commitmail json YAML

Make USB port numbers display consistent

Make sure USB ports numbers are displayed with the first one as number one
and not number zero when rescanning bus. The change makes the display
consistent with the display at boot time USB discovery.

While we are there, make port iteration consistent everywhere in the code,
always starting at one instead of zero.

(manu)

2018-10-19 00:32:47 UTC MAIN commitmail json YAML

2018-10-19 00:24:57 UTC MAIN commitmail json YAML

2018-10-19 00:13:56 UTC MAIN commitmail json YAML

2018-10-19 00:12:56 UTC MAIN commitmail json YAML

2018-10-19 00:11:48 UTC MAIN commitmail json YAML

2018-10-18 22:09:57 UTC pgoyette-compat commitmail json YAML

2018-10-18 22:04:23 UTC pgoyette-compat commitmail json YAML

Add requirement for compat_util (even though it is currently built-in for
all kernels) since there are references.

(pgoyette)

2018-10-18 19:02:46 UTC MAIN commitmail json YAML

2018-10-18 17:34:10 UTC MAIN commitmail json YAML

Revert a VPRINTF to printf

(skrll)

2018-10-18 16:44:37 UTC MAIN commitmail json YAML

2018-10-18 14:30:54 UTC MAIN commitmail json YAML

Apply suggested fix from https://gitlab.isc.org/isc-projects/bind9/issues/589.
This would on NetBSD prevent UDP replies > 1432 bytes in size
transported over IPv4, because an IPv6 control message is applied
on an IPv4 socket, which will subsequently be refused.  Therefore,
apply that control mssage only on IPv6 sockets.

(he)

2018-10-18 13:33:10 UTC MAIN commitmail json YAML

Make it compile with debugging enabled

(martin)

2018-10-18 12:58:19 UTC MAIN commitmail json YAML

Move MAC soft reset to sunxi_emac_init_locked. Since the MAC can get stuck
in reset state with no link, ignore reset timeouts and continue with
initializing the device.

Fixes "soft reset timeout" issue at boot with no network cable plugged in.

(jmcneill)

2018-10-18 11:34:54 UTC MAIN commitmail json YAML

fix panic when do ifconfig -vlanif and ifconfig vlanif again. advised by ozaki-r@.

e.g. do the following commands.
    ====================
    # ifconfig vlan0 create
    # ifconfig vlan0 vlan 100 vlanif wm0
    # ifconfig vlan0 -vlanif wm0
    # ifconfig vlan0 vlan 100 vlanif wm0
    ====================

ATF net/if_vlan do this type of test, however it cannot detect this bug.
Because the shmif(4)'s ifp->if_hwdl is always NULL as shmif(4)'s ethernet
address is set U/L bit.
See: https://nxr.netbsd.org/xref/src/sys/net/if_ethersubr.c#997

(knakahara)

2018-10-18 09:01:54 UTC MAIN commitmail json YAML

Provide generic start code that assumes the MMU is off and caches are
disabled as per the linux booting protocol for ARMv6 and ARMv7 boards.
u-boot image type should be changed to 'linux' for correct behaviour.

The new start code builds a minimal "bootstrap" L1PT with cached access
disabled and uses the same table for all processors.  AP startup is
performed in less steps and more code is written in C.

The bootstrap tables and stack are placed into an (orphaned) section
"_init_memory" which is given to uvm when it is no longer used.

Various kernels have been converted to use this code and tested.  Some
boards were provided by TNF. Thanks!

The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS
kernels. The GENERIC kernel will also work on RPI2 using u-boot.

Thanks to martin@ and aymeric@ for testing on parallella and nanosoc
respectively

(skrll)

2018-10-18 07:53:13 UTC MAIN commitmail json YAML

curses: don't optimize stdout buffer for non BSD platforms

The way BSD setvbuf works is not portable and should not be relied on.
This is only important if curses is started, stopped and started in the
same session which is how portable applications handle terminal resizing.

(roy)

2018-10-18 07:35:15 UTC MAIN commitmail json YAML

2018-10-18 07:17:47 UTC MAIN commitmail json YAML

2018-10-18 07:12:57 UTC MAIN commitmail json YAML

2018-10-18 06:36:53 UTC MAIN commitmail json YAML

2018-10-18 05:44:19 UTC MAIN commitmail json YAML

KNF. No functional change.

(msaitoh)

2018-10-18 05:28:45 UTC MAIN commitmail json YAML

Delete the old style (no longer used) DEBUG mode TRACE compat macro
definitions (just to avoid any temptation to ever use them again).

Update a comment which would make no sense without following the
preceding comment which is being deleted with the macros it describes.

While here, remove another comment that referred to events that have
long past as if they were still to come.  Also a grammatical comment
correction - paragraphs start with capital letters...

NFC (even with DEBUG defined).

(kre)

2018-10-18 05:20:06 UTC MAIN commitmail json YAML

Fix output of Cache type in PPTT.

(msaitoh)

2018-10-18 05:04:44 UTC MAIN commitmail json YAML

Don't print X_PM_TMR_BLK if the address value is 0.

(msaitoh)

2018-10-18 04:52:00 UTC MAIN commitmail json YAML

Don't print PM_TMR_BLK if the value is 0 (see also acpi_timer.c rev. 1.23).

(msaitoh)

2018-10-18 04:44:27 UTC MAIN commitmail json YAML

Remove a DEBUG mode transition mechanism (for the transition from
the ancient DEBUG TRACE() method, to the newer CTRACE() et. al.)
that turns out never really needed committing - the mechanism, and
the code that obsoleted it, were committed together (May 2017).
[It was useful to me while getting to that state...]

NFC.  Not even with DEBUG shells.

(kre)

2018-10-18 04:29:44 UTC MAIN commitmail json YAML

Decode Generic Timer Description Table(GTDT) and Processor Properties Topology
Table(PPTT). Cosmetic changes and fixes might be required. Testesd by jmcneill.

(msaitoh)

2018-10-18 04:25:35 UTC MAIN commitmail json YAML

Print SPCR's Interface Type and ARMH GIC Interrupt Type.

(msaitoh)

2018-10-18 04:24:43 UTC MAIN commitmail json YAML

Dynamically detect the way the shell matches \ in a pattern,
and use whatever works for the sh running this script.  Previously
we were using the (broken, and incorrect) method that worked in
old broken NetBSD sh's (and some others) and not the method that
works with the current (fixed) /bin/sh and other correct shells
(like bash).  (For an exotic reason, in the particular use case,
both methods work with ksh93, but it is also generally correct).

This hasn't really mattered, as the difference is only significant
(only causes actual issues - the build fails) when compiling with DEBUG
enabled, which is something that most sane humans would never do, if they
want to retain that sanity.

The problem was detected by Patrick Welche when looking for an
unrelated problem, which was once considered to be a possible sh
problem, but turned out to be something entirely different.

XXX pullup -8

(kre)

2018-10-18 04:22:22 UTC MAIN commitmail json YAML

Use memory allocated for the ldt, not the idt.

This must have been a typo that we got away with because we were not
using the idt[] so far.

This fix should now allow -current i386 XEN to boot, as before.

(cherry)

2018-10-18 04:17:18 UTC MAIN commitmail json YAML

Zero out page table memory for IDT before use.
To copy the IDT entry before registration, de-reference the indexed
value, not the first entry.
Add a MAX_XEN_IDT value for max entries we expect and KASSERT() for
this as a sanity check.

(cherry)

2018-10-18 04:14:07 UTC MAIN commitmail json YAML

Make compile-time type differentiation more explicit.

(cherry)

2018-10-18 04:11:14 UTC MAIN commitmail json YAML

Whitespace self-police.

(cherry)

2018-10-17 23:36:58 UTC MAIN commitmail json YAML

Move compatibility for pre-2.0 ELF binaries into separate file.
Early ELF binaries defined dlopen and friends in crt0.o by
using function pointers in the object handle passed from rtld.
This contract wastes space when many shared objects are allocated
and ties dynamic linker and rest of the system tightly together.
Fake the entry points in a static object and restrict them to the
platforms that had working ELF support at the time. Keep the magic and
version field used by modern crt0.o for all architectures. The checks
will be removed from crt0.o in a follow-up step.

(joerg)

2018-10-17 18:03:27 UTC jdolecek-ncqfixes commitmail json YAML

rechecked bad block handling under Parallels and it really doesn't set
any error bits in any of the registers (neither IS nor SERR) for out-of-range
block read nor write, while it works just fine under VMware, so not our bug

(jdolecek)

2018-10-17 16:56:40 UTC MAIN commitmail json YAML

lock/unlock I2C bus around transfers as required by API

(jmcneill)

2018-10-17 13:51:53 UTC netbsd-8 commitmail json YAML

2018-10-17 13:50:25 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #1065):

etc/mtree/NetBSD.dist.base: revision 1.174
distrib/sets/lists/base/mi: revision 1.1186

add /var/chroot/nsd/var/run

-

fix the build
add mssing directory to sets list

(martin)

2018-10-17 13:46:58 UTC netbsd-8 commitmail json YAML

2018-10-17 13:45:31 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #1064):

sys/dev/pci/aac_pci.c: revision 1.39
sys/dev/pci/pcidevs: revision 1.1348

Add Adaptec RAID 2445 and 2805.
From Dima Veselov.

(martin)

2018-10-17 13:38:04 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1045):

sys/netinet/ip_reass.c: revision 1.19-1.21

Hold ip_off and ip_len in the fragment entry, instead of always reading
the associated mbuf (and converting to host order). This reduces the
cache/TLB misses when processing long lists.

-

Kick fragments that would introduce several !MFFs in a reassembly chain.

The problem arises if we receive three fragments of the kind
        3.  A -> has MFF
        1.  B -> doesn't have MFF
        2.  C -> doesn't have MFF

Because of the received order B->C->A, we don't see that B is !MFF, and
therefore that there is a problem in this chain.

Now we do two checks, and drop us if:

* there is a fragment preceding us, and this fragment is !MFF, or
* there is a fragment following us, and we are !MFF

Spotted a long time ago.

-

Force ip_off to zero when the reassembly is complete. This was lost in my
rev1.19 - before that the IP struct was clobbered for the reassembly, but
it actually implicitly guaranteed that the first fragment of the packet
would end up with ip_off = 0, and this was a desired behavior.

(martin)

2018-10-17 06:19:22 UTC MAIN commitmail json YAML

2018-10-17 05:30:24 UTC MAIN commitmail json YAML

2018-10-17 03:43:24 UTC MAIN commitmail json YAML

The known_mpsafe parameter is used by intr.c:intr_establish_xname()
especially in the non -D MULTIPROCESSOR case. We used it incorrectly.

Fix this.

(cherry)

2018-10-17 01:16:51 UTC MAIN commitmail json YAML

PCI_QUIRK_HASEXTCNF is no longer required for AMD Seattle PCHB

(jmcneill)

2018-10-17 01:16:23 UTC MAIN commitmail json YAML

Allow access to PCI configuration space for devices without extended
config support.

ok nonaka@

(jmcneill)

2018-10-17 00:04:07 UTC MAIN commitmail json YAML

2018-10-17 00:03:47 UTC MAIN commitmail json YAML

Add ACPI glue for DesignWare I2C controller.

(jmcneill)

2018-10-16 22:29:43 UTC MAIN commitmail json YAML

Ignore SCI and don't try to setup ACPI fixed hardware interfaces in HW-reduced mode

(jmcneill)

2018-10-16 21:44:38 UTC MAIN commitmail json YAML

FACS is optional if the HW_REDUCED_ACPI flag is set in the FADT.

(jmcneill)

2018-10-16 16:38:22 UTC MAIN commitmail json YAML

Fix size calculation in acpi_md_OsUnmapMemory

(jmcneill)

2018-10-16 16:18:15 UTC MAIN commitmail json YAML

Only attach to usable processors

(jmcneill)

2018-10-16 13:18:25 UTC MAIN commitmail json YAML

2018-10-16 11:28:30 UTC MAIN commitmail json YAML

Catch up with armadaxp_start.S:1.5... if only we had generic start code
for arm

(skrll)

2018-10-16 10:25:33 UTC MAIN commitmail json YAML

Rename options ACPI_REDUCED_HARDWARE to ACPI_REDUCED_HW. The former is
a boolean in the acpica build, so use the latter to select the correct
value.

(jmcneill)

2018-10-16 09:23:29 UTC MAIN commitmail json YAML

Handle ENOBUFS better and clean some whitespace.

(roy)

2018-10-16 06:05:38 UTC MAIN commitmail json YAML

Add SOC_THUNDERX (commented out for now as it changes COHERENCY_UNIT)

(skrll)

2018-10-16 00:32:07 UTC MAIN commitmail json YAML

Use ACPI_REDUCED_HARDWARE on arm64 to shrink the kernel

(jmcneill)

2018-10-16 00:30:08 UTC MAIN commitmail json YAML

Add ACPI_REDUCED_HARDWARE defflag (used by ACPICA) and fix acpi build with this option set.

(jmcneill)

2018-10-16 00:10:58 UTC MAIN commitmail json YAML

Set PCI_QUIRK_HASEXTCNF flag for AMD Seattle PCI host bridges

(jmcneill)

2018-10-16 00:08:52 UTC MAIN commitmail json YAML

2018-10-16 00:07:08 UTC MAIN commitmail json YAML

Add AMD Seattle Host Bridge and PCIE root port devices

(jmcneill)

2018-10-15 23:59:36 UTC MAIN commitmail json YAML

2018-10-15 23:59:16 UTC MAIN commitmail json YAML

2018-10-15 23:53:47 UTC MAIN commitmail json YAML

Don't use a4x bus tag

(jmcneill)

2018-10-15 23:50:49 UTC MAIN commitmail json YAML

2018-10-15 22:06:16 UTC pgoyette-compat commitmail json YAML

2018-10-15 21:18:53 UTC jdolecek-ncqfixes commitmail json YAML

2018-10-15 20:09:06 UTC MAIN commitmail json YAML

Handle more plcom-style console types

(jmcneill)

2018-10-15 19:32:48 UTC MAIN commitmail json YAML

use postincrement, like the patch
XXX: pullup-8

(christos)

2018-10-15 18:58:35 UTC MAIN commitmail json YAML

revert previous, arm doesn't have intr_establish_xname()

pointed out by jmcneill

(jdolecek)

2018-10-15 18:37:19 UTC MAIN commitmail json YAML

2018-10-15 17:55:28 UTC MAIN commitmail json YAML

2018-10-15 16:54:55 UTC MAIN commitmail json YAML

2018-10-15 16:29:10 UTC MAIN commitmail json YAML

Apply OpenBSD if_bwfm_pci.c:1.25 by patrick:

Add bus_dmamap_sync(9) calls to bwfm(4) so that we make sure the data
is synced properly before the CPU or the WiFi chip access the supplied
memory.  Makes PCIe-connected bwfm(4) work on ARM-based machines.

(maya)

2018-10-15 12:46:43 UTC MAIN commitmail json YAML

Fix signature for acpimcfg_configure_bus in non-PCI_NETBSD_CONFIGURE case

(jmcneill)

2018-10-15 12:45:53 UTC MAIN commitmail json YAML

2018-10-15 12:27:58 UTC MAIN commitmail json YAML

Define OPENSSL_NO_EC_NISTP_64_GCC_128 for sparc64, the code does
not work there (or maybe any big endian machine).
Fixes PR bin/53670.

(martin)

2018-10-15 11:57:06 UTC pgoyette-compat commitmail json YAML

2018-10-15 11:35:42 UTC MAIN commitmail json YAML

2018-10-15 11:35:03 UTC MAIN commitmail json YAML

2018-10-15 11:33:09 UTC MAIN commitmail json YAML

Do not attach a timecounter when PM_TMR_LEN is 0. According to ACPI 6.2
section 5.2.9 ("Fixed ACPI Description Table (FADT)"), a value of zero
here means that the PM timer is not supported.

(jmcneill)

2018-10-15 10:44:28 UTC pgoyette-compat commitmail json YAML

2018-10-15 10:01:32 UTC MAIN commitmail json YAML

Add acpimcfg_configure_bus, which can be used by MD code to implement
PCI_NETBSD_CONFIGURE using ACPI MCFG tables.

(jmcneill)

2018-10-15 10:00:30 UTC MAIN commitmail json YAML

Add a function to find a PCI root bridge by segment and bus number.

(jmcneill)

2018-10-15 09:51:34 UTC pgoyette-compat commitmail json YAML

2018-10-15 09:27:30 UTC MAIN commitmail json YAML

Add Adaptec RAID 2445 and 2805.
From Dima Veselov.

(uwe)

2018-10-15 09:11:16 UTC MAIN commitmail json YAML

2018-10-15 09:01:56 UTC MAIN commitmail json YAML

Adaptec RAID 2445 and 2805

(uwe)