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 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 17:13:27 UTC Now

2019-10-18 06:58:06 UTC MAIN commitmail json YAML

2019-10-18 06:51:02 UTC MAIN commitmail json YAML

2019-10-18 06:50:08 UTC MAIN commitmail json YAML

2019-10-18 06:13:38 UTC MAIN commitmail json YAML

2019-10-18 04:33:53 UTC MAIN commitmail json YAML

in6: reset the temporary address timer on a change of the interval period

(ozaki-r)

2019-10-18 04:13:56 UTC MAIN commitmail json YAML

2019-10-18 04:09:03 UTC MAIN commitmail json YAML

2019-10-18 01:38:28 UTC MAIN commitmail json YAML

Multiboot2 kernel support for i386

That implementation works either with BIOS or UEFI bootstrap

This requires the following kernel changes:

Add UEFI boot services and I/O method protoypes
src/sys/arch/x86/include/efi.h 1.8 - 1.9

Fix EFI system table mapping in virtual space
src/sys/arch/x86/x86/efi.c 1.19 - 1.20

Make sure no bioscall is issued when booting off UEFI system
src/sys/arch/i386/i386/machdep.c 1.821 - 1.822
src/sys/arch/i386/pci/piixpcib.c 1.22 - 1.23

And the following bootstrap changes:

Add kernel symbols for multiboot1
src/sys/arch/i386/stand/lib/exec_multiboot1.c 1.2 - 1.3
src/sys/arch/i386/stand/lib/libi386.h 1.45 - 1.47

Fix kernel symbols for multiboot2
src/sys/arch/i386/stand/lib/exec_multiboot2.c 1.2 - 1.3

(manu)

2019-10-18 01:24:51 UTC MAIN commitmail json YAML

Remove prototype added twice by mistake

(manu)

2019-10-18 01:19:00 UTC MAIN commitmail json YAML

Fix multiboot1 kernel symbol load

ELF_Shdr's sh_type field is a value, not a flag field

(manu)

2019-10-18 01:15:54 UTC MAIN commitmail json YAML

Fix kernel symbols for multiboot2

Previous version just provided the ELF section table, which is correct
as far as the multiboot 2 specification is concerned.

But in order to retreive kernel symboles, the NetBSD kernelneeds symbol
table and string table sections to be loaded in memory, and have an
address set in the section table.

Requires change: Add kernel symbols for multiboot1
src/sys/arch/i386/stand/lib/exec_multiboot1.c 1.2 - 1.3
src/sys/arch/i386/stand/lib/libi386.h 1.45 - 1.46

(manu)

2019-10-18 01:09:47 UTC MAIN commitmail json YAML

2019-10-18 01:04:24 UTC MAIN commitmail json YAML

Fix multiboot1 header detection

Specification states it must be must be longword (32-bit) aligned

(manu)

2019-10-18 01:00:25 UTC MAIN commitmail json YAML

Make sure no bioscall is issued when booting off UEFI system

(manu)

2019-10-18 00:56:25 UTC MAIN commitmail json YAML

Fix EFI system table mapping in virtual space

Previous version was annoted as untested, and indeed it did not work.
New version uses the same approach as for ACPI table mapping.

(manu)

2019-10-18 00:54:48 UTC MAIN commitmail json YAML

Add UEFI boot services and I/O method protoypes

(manu)

2019-10-17 23:10:24 UTC MAIN commitmail json YAML

evbarm: Add support for Amazon Graviton "a1.metal" instances.

(jmcneill)

2019-10-17 21:52:27 UTC MAIN commitmail json YAML

back out r1.26. it makes the pinebook fail to boot.

(bad)

2019-10-17 20:48:44 UTC MAIN commitmail json YAML

move usbnet and mcx entries from CHANGES to CHANGES.prev.

there may be others that should also move.. i'm not sure.

(mrg)

2019-10-17 19:39:31 UTC netbsd-9 commitmail json YAML

2019-10-17 19:34:23 UTC netbsd-9 commitmail json YAML

src/doc/3RDPARTY@1.1640.2.6 / diff / nxr@1.1640.2.6
src/external/mpl/bind/bin/dnssec/dnssec-verify/Makefile@1.1.6.1 / diff / nxr@1.1.6.1
src/external/mpl/bind/bind2netbsd@1.3.4.1 / diff / nxr@1.3.4.1
src/external/mpl/bind/dist/CHANGES@1.1.1.4.4.2 / diff / nxr@1.1.1.4.4.2
src/external/mpl/bind/dist/README@1.1.1.4.4.2 / diff / nxr@1.1.1.4.4.2
src/external/mpl/bind/dist/README.md@1.1.1.4.4.2 / diff / nxr@1.1.1.4.4.2
src/external/mpl/bind/dist/bin/check/win32/checkconf.vcxproj.in@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/external/mpl/bind/dist/bin/check/win32/checktool.vcxproj.in@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/external/mpl/bind/dist/bin/check/win32/checkzone.vcxproj.in@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/external/mpl/bind/dist/bin/confgen/win32/confgentool.vcxproj.in@1.1.1.1.6.1 / diff / nxr@1.1.1.1.6.1
src/external/mpl/bind/dist/bin/confgen/win32/ddnsconfgen.vcxproj.in@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/external/mpl/bind/dist/bin/confgen/win32/rndcconfgen.vcxproj.in@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/external/mpl/bind/dist/bin/delv/win32/delv.vcxproj.in@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/external/mpl/bind/dist/bin/dig/dighost.c@1.4.4.2 / diff / nxr@1.4.4.2
src/external/mpl/bind/dist/bin/dig/win32/dig.vcxproj.in@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/external/mpl/bind/dist/bin/dig/win32/dighost.vcxproj.in@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/external/mpl/bind/dist/bin/dig/win32/host.vcxproj.in@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/external/mpl/bind/dist/bin/dig/win32/nslookup.vcxproj.in@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/external/mpl/bind/dist/bin/dnssec/dnssec-dsfromkey.c@1.5.4.1 / diff / nxr@1.5.4.1
src/external/mpl/bind/dist/bin/dnssec/win32/cds.vcxproj.in@1.1.1.1.4.1 / diff / nxr@1.1.1.1.4.1
      :
(more 254 files)
Pull up the following revisions, requested by maya in ticket #351:

external/mpl/bind/dist/bin/tests/system/checkzone/zones/bad-cdnskey.db up to 1.1.1.1
external/mpl/bind/dist/bin/tests/system/checkzone/zones/bad-cds.db up to 1.1.1.1
external/mpl/bind/dist/bin/tests/system/checkzone/zones/good-cdnskey.db up to 1.1.1.1
external/mpl/bind/dist/bin/tests/system/checkzone/zones/good-cds.db up to 1.1.1.1
external/mpl/bind/dist/bin/tests/system/forward/ns1/sld.tld.db up to 1.1.1.1
external/mpl/bind/dist/bin/tests/system/forward/ns2/tld.db up to 1.1.1.1
external/mpl/bind/dist/bin/tests/system/forward/ns8/named.conf.in up to 1.1.1.1
external/mpl/bind/dist/bin/tests/system/forward/ns8/root.db up to 1.1.1.1
external/mpl/bind/dist/bin/tests/system/rpz/ns5/expire.conf.in up to 1.1.1.1
external/mpl/bind/dist/bin/tests/system/rpz/ns5/fast-expire.db.in up to 1.1.1.1
external/mpl/bind/dist/doc/arm/notes-bug-fixes.xml up to 1.1.1.1
external/mpl/bind/dist/doc/arm/notes-download.xml up to 1.1.1.1
external/mpl/bind/dist/doc/arm/notes-eol.xml    up to 1.1.1.1
external/mpl/bind/dist/doc/arm/notes-intro.xml  up to 1.1.1.1
external/mpl/bind/dist/doc/arm/notes-license.xml up to 1.1.1.1
external/mpl/bind/dist/doc/arm/notes-new-features.xml up to 1.1.1.1
external/mpl/bind/dist/doc/arm/notes-numbering.xml up to 1.1.1.1
external/mpl/bind/dist/doc/arm/notes-platforms.xml up to 1.1.1.1
external/mpl/bind/dist/doc/arm/notes-sec-fixes.xml up to 1.1.1.1
external/mpl/bind/dist/doc/arm/notes-thankyou.xml up to 1.1.1.1
external/mpl/bind/dist/bin/pkcs11/Makefile      delete
external/mpl/bind/dist/bin/tests/pkcs11/benchmarks/Makefile delete
external/mpl/bind/dist/bin/tests/pkcs11/Makefile delete
external/mpl/bind/dist/bin/tests/system/dlzexternal/ns1/dlzs.conf delete
external/mpl/bind/dist/bin/tests/system/glue/ns1/cache.in delete
external/mpl/bind/dist/bin/tests/system/glue/ns1/mil.db delete
external/mpl/bind/dist/bin/tests/system/glue/xx.good delete
external/mpl/bind/dist/bin/tests/system/glue/yy.good delete
external/mpl/bind/dist/bin/tests/virtual-time/Makefile delete
external/mpl/bind/dist/bin/tests/virtual-time/conf.sh delete
external/mpl/bind/dist/lib/dns/tests/tkey_test.c delete
external/mpl/bind/dist/lib/samples/Makefile-postinstall delete
external/mpl/bind/dist/contrib/scripts/zone-edit.sh delete
external/mpl/bind/dist/contrib/scripts/check-secure-delegation.pl delete
external/mpl/bind/dist/unit/unittest.sh        delete
external/mpl/bind/bind2netbsd                  up to 1.4
external/mpl/bind/bin/dnssec/dnssec-verify/Makefile up to 1.2
external/mpl/bind/dist/CHANGES                  up to 1.1.1.6
external/mpl/bind/dist/README                  up to 1.1.1.6
external/mpl/bind/dist/README.md                up to 1.1.1.6
external/mpl/bind/dist/config.h.in              up to 1.7
external/mpl/bind/dist/configure                up to 1.7
external/mpl/bind/dist/configure.ac            up to 1.1.1.5
external/mpl/bind/dist/srcid                    up to 1.1.1.6
external/mpl/bind/dist/version                  up to 1.1.1.6
external/mpl/bind/dist/bin/check/win32/checkconf.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/check/win32/checktool.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/check/win32/checkzone.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/confgen/win32/confgentool.vcxproj.in up to 1.1.1.2
external/mpl/bind/dist/bin/confgen/win32/ddnsconfgen.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/confgen/win32/rndcconfgen.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/delv/win32/delv.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/dig/dighost.c        up to 1.6
external/mpl/bind/dist/bin/dig/win32/dig.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/dig/win32/dighost.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/dig/win32/host.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/dig/win32/nslookup.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/dnssec/dnssec-dsfromkey.c up to 1.6
external/mpl/bind/dist/bin/dnssec/win32/cds.vcxproj.in up to 1.1.1.2
external/mpl/bind/dist/bin/dnssec/win32/dnssectool.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/dnssec/win32/dsfromkey.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/dnssec/win32/importkey.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/dnssec/win32/keyfromlabel.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/dnssec/win32/keygen.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/dnssec/win32/revoke.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/dnssec/win32/settime.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/dnssec/win32/signzone.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/dnssec/win32/verify.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/named/config.c      up to 1.6
external/mpl/bind/dist/bin/named/main.c        up to 1.6
external/mpl/bind/dist/bin/named/server.c      up to 1.8
external/mpl/bind/dist/bin/named/statschannel.c up to 1.5
external/mpl/bind/dist/bin/named/zoneconf.c    up to 1.5
external/mpl/bind/dist/bin/named/win32/named.vcxproj.in up to 1.1.1.4
external/mpl/bind/dist/bin/named/win32/os.c    up to 1.6
external/mpl/bind/dist/bin/nsupdate/win32/nsupdate.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/pkcs11/win32/pk11destroy.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/pkcs11/win32/pk11keygen.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/pkcs11/win32/pk11list.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/pkcs11/win32/pk11tokens.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/rndc/win32/rndc.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/rndc/win32/rndcutil.vcxproj.in up to 1.1.1.2
external/mpl/bind/dist/bin/tests/optional/nsecify.c up to 1.4
external/mpl/bind/dist/bin/tests/pkcs11/benchmarks/create.c up to 1.4
external/mpl/bind/dist/bin/tests/pkcs11/benchmarks/find.c up to 1.4
external/mpl/bind/dist/bin/tests/pkcs11/benchmarks/genrsa.c up to 1.4
external/mpl/bind/dist/bin/tests/pkcs11/benchmarks/login.c up to 1.4
external/mpl/bind/dist/bin/tests/pkcs11/benchmarks/privrsa.c up to 1.4
external/mpl/bind/dist/bin/tests/pkcs11/benchmarks/pubrsa.c up to 1.4
external/mpl/bind/dist/bin/tests/pkcs11/benchmarks/session.c up to 1.4
external/mpl/bind/dist/bin/tests/pkcs11/benchmarks/sha1.c up to 1.4
external/mpl/bind/dist/bin/tests/pkcs11/benchmarks/sign.c up to 1.4
external/mpl/bind/dist/bin/tests/pkcs11/benchmarks/verify.c up to 1.4
external/mpl/bind/dist/bin/tests/system/conf.sh.common up to 1.1.1.3
external/mpl/bind/dist/bin/tests/system/conf.sh.win32 up to 1.1.1.5
external/mpl/bind/dist/bin/tests/system/runall.sh up to 1.1.1.3
external/mpl/bind/dist/bin/tests/system/digdelv/tests.sh up to 1.1.1.5
external/mpl/bind/dist/bin/tests/system/dnssec/tests.sh up to 1.1.1.6
external/mpl/bind/dist/bin/tests/system/dnssec/ns2/sign.sh up to 1.1.1.5
external/mpl/bind/dist/bin/tests/system/forward/setup.sh up to 1.1.1.3
external/mpl/bind/dist/bin/tests/system/forward/tests.sh up to 1.1.1.4
external/mpl/bind/dist/bin/tests/system/forward/ns1/named.conf.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/system/forward/ns2/named.conf.in up to 1.1.1.4
external/mpl/bind/dist/bin/tests/system/glue/clean.sh up to 1.1.1.3
external/mpl/bind/dist/bin/tests/system/glue/setup.sh up to 1.1.1.2
external/mpl/bind/dist/bin/tests/system/glue/ns1/named.conf.in up to 1.1.1.2
external/mpl/bind/dist/bin/tests/system/glue/ns1/root.db up to 1.1.1.2
external/mpl/bind/dist/bin/tests/system/idna/tests.sh up to 1.1.1.4
external/mpl/bind/dist/bin/tests/system/keymgr/tests.sh up to 1.1.1.4
external/mpl/bind/dist/bin/tests/system/resolver/tests.sh up to 1.1.1.5
external/mpl/bind/dist/bin/tests/system/resolver/ns6/delegation-only.db up to 1.1.1.2
external/mpl/bind/dist/bin/tests/system/rpz/clean.sh up to 1.1.1.4
external/mpl/bind/dist/bin/tests/system/rpz/setup.sh up to 1.1.1.5
external/mpl/bind/dist/bin/tests/system/rpz/tests.sh up to 1.1.1.6
external/mpl/bind/dist/bin/tests/system/rpz/ns3/named.conf.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/system/rpz/ns5/named.conf.in up to 1.1.1.2
external/mpl/bind/dist/bin/tests/system/statschannel/tests.sh up to 1.1.1.6
external/mpl/bind/dist/bin/tests/system/win32/bigkey.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/system/win32/feature-test.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/system/win32/gencheck.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/system/win32/keycreate.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/system/win32/keydelete.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/system/win32/pipequeries.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/system/xfer/tests.sh up to 1.1.1.5
external/mpl/bind/dist/bin/tests/win32/backtrace_test.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/win32/inter_test.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/win32/makejournal.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/win32/rwlock_test.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/win32/shutdown_test.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/win32/sock_test.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/win32/task_test.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tests/win32/timer_test.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tools/mdig.c        up to 1.5
external/mpl/bind/dist/bin/tools/win32/arpaname.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tools/win32/journalprint.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tools/win32/mdig.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tools/win32/nsec3hash.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/tools/win32/rrchecker.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/win32/BINDInstall/AccountInfo.cpp up to 1.1.1.2
external/mpl/bind/dist/bin/win32/BINDInstall/BINDInstall.rc up to 1.1.1.2
external/mpl/bind/dist/bin/win32/BINDInstall/BINDInstall.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/bin/win32/BINDInstall/BINDInstallDlg.cpp up to 1.1.1.3
external/mpl/bind/dist/bin/win32/BINDInstall/DirBrowse.cpp up to 1.1.1.2
external/mpl/bind/dist/bin/win32/BINDInstall/VersionInfo.cpp up to 1.1.1.2
external/mpl/bind/dist/bin/win32/BINDInstall/resource.h up to 1.3
external/mpl/bind/dist/contrib/dlz/modules/mysqldyn/dlz_mysqldyn_mod.c up to 1.4
external/mpl/bind/dist/doc/arm/Bv9ARM-book.xml  up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.ch01.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.ch02.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.ch03.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.ch04.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.ch05.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.ch06.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.ch07.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.ch08.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.ch09.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.ch10.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.ch11.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.ch12.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.html      up to 1.1.1.6
external/mpl/bind/dist/doc/arm/Bv9ARM.pdf      up to 1.2
external/mpl/bind/dist/doc/arm/Makefile.in      up to 1.1.1.2
external/mpl/bind/dist/doc/arm/man.arpaname.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.ddns-confgen.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.delv.html    up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dig.html    up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dnssec-cds.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dnssec-checkds.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dnssec-coverage.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dnssec-dsfromkey.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dnssec-importkey.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dnssec-keyfromlabel.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dnssec-keygen.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dnssec-keymgr.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dnssec-revoke.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dnssec-settime.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dnssec-signzone.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dnssec-verify.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.dnstap-read.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.filter-aaaa.html up to 1.1.1.5
external/mpl/bind/dist/doc/arm/man.host.html    up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.mdig.html    up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.named-checkconf.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.named-checkzone.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.named-journalprint.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.named-nzd2nzf.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.named-rrchecker.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.named.conf.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.named.html  up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.nsec3hash.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.nslookup.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.nsupdate.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.pkcs11-destroy.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.pkcs11-keygen.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.pkcs11-list.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.pkcs11-tokens.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.rndc-confgen.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.rndc.conf.html up to 1.1.1.6
external/mpl/bind/dist/doc/arm/man.rndc.html    up to 1.1.1.6
external/mpl/bind/dist/doc/arm/notes.html      up to 1.1.1.6
external/mpl/bind/dist/doc/arm/notes.pdf        up to 1.1.1.6
external/mpl/bind/dist/doc/arm/notes.txt        up to 1.1.1.6
external/mpl/bind/dist/doc/arm/notes.xml        up to 1.1.1.6
external/mpl/bind/dist/fuzz/dns_rdata_fromwire_text.c up to 1.3
external/mpl/bind/dist/lib/bind9/win32/libbind9.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/lib/dns/api              up to 1.1.1.6
external/mpl/bind/dist/lib/dns/dnssec.c        up to 1.5
external/mpl/bind/dist/lib/dns/dst_api.c        up to 1.5
external/mpl/bind/dist/lib/dns/ecdb.c          up to 1.4
external/mpl/bind/dist/lib/dns/message.c        up to 1.7
external/mpl/bind/dist/lib/dns/name.c          up to 1.5
external/mpl/bind/dist/lib/dns/nsec.c          up to 1.4
external/mpl/bind/dist/lib/dns/openssldh_link.c up to 1.4
external/mpl/bind/dist/lib/dns/opensslrsa_link.c up to 1.5
external/mpl/bind/dist/lib/dns/rbt.c            up to 1.4
external/mpl/bind/dist/lib/dns/rcode.c          up to 1.5
external/mpl/bind/dist/lib/dns/resolver.c      up to 1.7
external/mpl/bind/dist/lib/dns/rpz.c            up to 1.6
external/mpl/bind/dist/lib/dns/sdb.c            up to 1.4
external/mpl/bind/dist/lib/dns/ttl.c            up to 1.4
external/mpl/bind/dist/lib/dns/zone.c          up to 1.7
external/mpl/bind/dist/lib/dns/zoneverify.c    up to 1.3
external/mpl/bind/dist/lib/dns/include/dns/message.h up to 1.6
external/mpl/bind/dist/lib/dns/rdata/generic/opt_41.c up to 1.5
external/mpl/bind/dist/lib/dns/tests/Kyuafile  up to 1.1.1.3
external/mpl/bind/dist/lib/dns/tests/Makefile.in up to 1.1.1.4
external/mpl/bind/dist/lib/dns/tests/rbt_serialize_test.c up to 1.5
external/mpl/bind/dist/lib/dns/win32/gen.vcxproj.in up to 1.1.1.2
external/mpl/bind/dist/lib/dns/win32/libdns.vcxproj.in up to 1.1.1.5
external/mpl/bind/dist/lib/irs/win32/libirs.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/lib/irs/win32/resconf.c  up to 1.3
external/mpl/bind/dist/lib/isc/api              up to 1.1.1.6
external/mpl/bind/dist/lib/isc/lex.c            up to 1.6
external/mpl/bind/dist/lib/isc/ratelimiter.c    up to 1.4
external/mpl/bind/dist/lib/isc/siphash.c        up to 1.4
external/mpl/bind/dist/lib/isc/sockaddr.c      up to 1.6
external/mpl/bind/dist/lib/isc/include/isc/siphash.h up to 1.3
external/mpl/bind/dist/lib/isc/include/isc/socket.h up to 1.5
external/mpl/bind/dist/lib/isc/tests/hmac_test.c up to 1.4
external/mpl/bind/dist/lib/isc/tests/md_test.c  up to 1.3
external/mpl/bind/dist/lib/isc/tests/queue_test.c up to 1.5
external/mpl/bind/dist/lib/isc/tests/random_test.c up to 1.5
external/mpl/bind/dist/lib/isc/tests/siphash_test.c up to 1.3
external/mpl/bind/dist/lib/isc/tests/task_test.c up to 1.5
external/mpl/bind/dist/lib/isc/unix/resource.c  up to 1.4
external/mpl/bind/dist/lib/isc/unix/socket.c    up to 1.12
external/mpl/bind/dist/lib/isc/win32/file.c    up to 1.4
external/mpl/bind/dist/lib/isc/win32/libisc.vcxproj.in up to 1.1.1.5
external/mpl/bind/dist/lib/isc/win32/ntgroups.c up to 1.4
external/mpl/bind/dist/lib/isc/win32/socket.c  up to 1.5
external/mpl/bind/dist/lib/isc/win32/time.c    up to 1.4
external/mpl/bind/dist/lib/isc/win32/include/isc/stdatomic.h up to 1.4
external/mpl/bind/dist/lib/isccc/win32/libisccc.vcxproj.in up to 1.1.1.4
external/mpl/bind/dist/lib/isccfg/api          up to 1.1.1.6
external/mpl/bind/dist/lib/isccfg/namedconf.c  up to 1.7
external/mpl/bind/dist/lib/isccfg/parser.c      up to 1.6
external/mpl/bind/dist/lib/isccfg/win32/libisccfg.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/lib/ns/api              up to 1.1.1.6
external/mpl/bind/dist/lib/ns/client.c          up to 1.7
external/mpl/bind/dist/lib/ns/win32/libns.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/lib/samples/win32/async.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/lib/samples/win32/gai.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/lib/samples/win32/nsprobe.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/lib/samples/win32/request.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/lib/samples/win32/resolve.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/lib/samples/win32/update.vcxproj.in up to 1.1.1.3
external/mpl/bind/dist/lib/win32/bindevt/bindevt.vcxproj.in up to 1.1.1.2
external/mpl/bind/dist/unit/unittest.sh.in      up to 1.1.1.3
external/mpl/bind/dist/win32utils/Configure    up to 1.1.1.6
external/mpl/bind/dist/win32utils/bind9.sln.in  up to 1.1.1.4
external/mpl/bind/dist/win32utils/build.txt    up to 1.1.1.4
external/mpl/bind/dist/win32utils/readme1st.txt up to 1.1.1.3
external/mpl/bind/include/config.h              up to 1.8
doc/3RDPARTY (apply patch)

Import bind 9.14.7

(martin)

2019-10-17 19:17:46 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #350):

sys/external/bsd/drm2/linux/linux_dma_buf.c: revision 1.6

correct error handling.
from Ilja Van Sprundel, thanks.

(martin)

2019-10-17 19:15:24 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #349):

doc/CHANGES: revision 1.2599

evbarm: Add support for Amazon Graviton "a1.metal" instances.

(martin)

2019-10-17 19:09:14 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #348):

sys/dev/pci/ixgbe/ixgbe.c: revision 1.214

Apply FreeBSD r353599:
> ixgbe: Disable EEE for backplane X550EM_X
>
> From Zach:
> Intel documentation indicates that backplane X550EM_X KR devices do not
> support Energy Efficient Ethernet. Prior to this patch, X552 devices
> (device ID 0x15AB) will crash the system when transitioning EEE state
> via sysctl.
>
> Signed-off-by: Zach Vargas <zvargas@xes-inc.com>
>
> PR: 240320
> Submitted by: Zach Vargas <zvargas@xes-inc.com>
> Reviewed by: erj@
> MFC after: 3 days
> Differential Revision: https://reviews.freebsd.org/D21673

(martin)

2019-10-17 19:06:58 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #347):

sys/dev/mii/ciphy.c: revision 1.35
sys/dev/mii/rgephy.c: revision 1.56
sys/dev/mii/rgephy.c: revision 1.57

Make new rgephy_linkup() function and share it like FreeBSD.
No functional change intended.

- Indicate master mode if the negotiated result say so.
- KNF

(martin)

2019-10-17 19:02:55 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #346):

sys/dev/pci/if_et.c: revision 1.27

Fix a bug that multicast address filter doesn't work correctly.
XXX pullup-[789].

(martin)

2019-10-17 18:58:33 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #345):

sys/dev/pci/if_vgereg.h: revision 1.5
sys/dev/pci/if_vge.c: revision 1.75

Copy vge_clrwol() from FreeBSD and call it in vge_attach() to recover from
powerdown mode. Fixes PR kern/41525 reported by Aran Clauson.

(martin)

2019-10-17 18:56:25 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #344):

sys/arch/x86/include/specialreg.h: revision 1.154
sys/arch/x86/include/specialreg.h: revision 1.155
usr.sbin/cpuctl/arch/i386.c: revision 1.107
sys/arch/x86/x86/procfs_machdep.c: revision 1.34

- Add definitions of AMD's CPUID Fn8000_001f Encrypted Memory features.
- Add definition of AMD's CPUID Fn8000_000a %edx bit 11 "GMET".
- Define CPUID_AMD_SVM_PFThreshold correctly.
- Modify comment a bit for consistency.

Fix AMD Fn8000_0001f %eax bit 0's name.

Add rdpru.

(martin)

2019-10-17 18:53:26 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by bad in ticket #343):

sys/dev/usb/if_ure.c: revision 1.32
sys/dev/usb/if_ure.c: revision 1.33

read mac address of ure version 4c10 from URE_PLA_IDR, save as 4c00.
from ganbold@freebsd r346052.
XXX pullup-9

-

allocate a random mac address if on-chip mac is all zeroes.
helps ure(4) on NanoPi R1.
partly from ganbold@freebsd r346052.
XXX pullup-9

(martin)

2019-10-17 18:48:55 UTC netbsd-9 commitmail json YAML

2019-10-17 18:47:48 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by bad in ticket #341):

sys/arch/evbarm/conf/GENERIC: revision 1.54
sys/arch/arm/dts/sun8i-h3-nanopi-r1.dts: revision 1.1
sys/arch/arm/dts/sun8i-h3-nanopi-r1.dts: revision 1.2
sys/arch/arm/dts/sun8i-h3-nanopi-duo2.dts: revision 1.1

Add sun8i-h3-nanopi-r1.dts and sun8i-h3-nanopi-duo2.dts.

From https://github.com/armbian/build/blob/master/patch/kernel/sunxi-next/xxx-add-nanopi-r1-and-duo2.patch
Cherry pick a few changes from the armbian u-boot patch.

Makes my NanoPi R1 boot reliably.

From https://github.com/armbian/build/blob/master/patch/u-boot/u-boot-sunxi/add-nano+pi-r1-and-duo2.patch
Add sun8i-h3-nanopi-duo2.dts and sun8i-h3-nanopi-r1.dts.

The former is untested.

(martin)

2019-10-17 18:41:27 UTC netbsd-8 commitmail json YAML

2019-10-17 18:39:42 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1408):

sys/dev/pci/ixgbe/ixgbe.c: revision 1.214

Apply FreeBSD r353599:
> ixgbe: Disable EEE for backplane X550EM_X
>
> From Zach:
> Intel documentation indicates that backplane X550EM_X KR devices do not
> support Energy Efficient Ethernet. Prior to this patch, X552 devices
> (device ID 0x15AB) will crash the system when transitioning EEE state
> via sysctl.
>
> Signed-off-by: Zach Vargas <zvargas@xes-inc.com>
>
> PR: 240320
> Submitted by: Zach Vargas <zvargas@xes-inc.com>
> Reviewed by: erj@
> MFC after: 3 days
> Differential Revision: https://reviews.freebsd.org/D21673

(martin)

2019-10-17 18:36:44 UTC netbsd-8 commitmail json YAML

Pull up the following revision, requested by msaitoh in ticket #1407:

sys/dev/pci/if_et.c 1.27 via patch

Fix a bug that multicast address filter doesn't work correctly.

(martin)

2019-10-17 18:27:36 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1406):

sys/dev/pci/if_vgereg.h: revision 1.5
sys/dev/pci/if_vge.c: revision 1.75

Copy vge_clrwol() from FreeBSD and call it in vge_attach() to recover from
powerdown mode. Fixes PR kern/41525 reported by Aran Clauson.

(martin)

2019-10-17 16:53:06 UTC MAIN commitmail json YAML

2019-10-17 16:48:12 UTC MAIN commitmail json YAML

2019-10-17 16:47:02 UTC MAIN commitmail json YAML

merge conflicts

(christos)

2019-10-17 16:21:02 UTC MAIN commitmail json YAML

correct bind location. new bind

(maya)

2019-10-17 15:57:56 UTC MAIN commitmail json YAML

Use unsigned to avoid undefined behavior. Found by kUBSan.

(msaitoh)

2019-10-17 14:33:02 UTC MAIN commitmail json YAML

correct error handling.

from Ilja Van Sprundel, thanks.

(maya)

2019-10-17 14:00:28 UTC MAIN commitmail json YAML

Make sure we're dealing with a static binary. Otherwise we could crash if
the user mistakenly tries to boot a KASLR kernel with 'boot' instead of
'pkboot'. Now we fail cleanly. Reported by cryo@.

(maxv)

2019-10-17 09:38:07 UTC MAIN commitmail json YAML

Amazon Graviton support is in 9.0, remove the changes entry.

(jmcneill)

2019-10-17 09:34:10 UTC MAIN commitmail json YAML

evbarm: Add support for Amazon Graviton "a1.metal" instances.

(jmcneill)

2019-10-17 09:22:49 UTC MAIN commitmail json YAML

- Match a lot of Cicada and Vitesse devices correctly. This change also fixes
  a bug that ciphy_fixup() didn't work.
- Match VSC8221, VSC8234 and VSC8641.

(msaitoh)

2019-10-17 09:22:00 UTC MAIN commitmail json YAML

2019-10-17 09:21:40 UTC MAIN commitmail json YAML

- All of Cicada and Vitesse devices' OUI are not bit-reversed, so use "xx".
- Rename CS82xx -> CIS82xx
- Add Vitesse VSC8224, VSC8234, VSC8641 and VSC8501.

(msaitoh)

2019-10-17 09:14:50 UTC MAIN commitmail json YAML

alc(4): Add support for Killer E2400 and E2500.

(msaitoh)

2019-10-17 09:13:48 UTC MAIN commitmail json YAML

2019-10-17 09:12:12 UTC MAIN commitmail json YAML

Some alc(4) fixes:

- Apply FreeBSD r218141:
> alc_rev was used without initialization such that it failed to
> apply AR8152 v1.0 specific initialization code. Fix this bug by
> explicitly reading PCI device revision id via PCI accessor.
>
> Reported by: Gabriel Linder ( linder.gabriel <> gmail dot com )
- Apply FreeBSD r304574:
> Correct DMA channel number selection on AR816x family of
> controllers. For Gigabit Ethernet version of AR816x, AR813x/AR815x
> except L1D controller, use vendor recommended ASPM parameters.
> While here, increase alc_dma_burst array size.  Broken H/W can
> return bogus value in theory.
- Use static.
- Whitespace fix. Remove extra backslash.

(msaitoh)

2019-10-17 08:54:50 UTC MAIN commitmail json YAML

Sentence begins with capital letter ("yes or no?"). Also add a few french
sentences, to make it less awful, but not complete. Not tested.

(maxv)

2019-10-17 06:58:48 UTC MAIN commitmail json YAML

2019-10-17 05:55:19 UTC MAIN commitmail json YAML

Fix order of m_freem(). Found by kASan. OK'd by jdolecek and mrg.

(msaitoh)

2019-10-16 21:52:22 UTC MAIN commitmail json YAML

2019-10-16 20:49:59 UTC MAIN commitmail json YAML

Mention support for FriendlyElec NanoPi R1 and Duo2.

(bad)

2019-10-16 20:43:18 UTC MAIN commitmail json YAML

Provide sysconf(_SC_RTSIG_MAX) = SIGRTMAX - SIGRTMIN

Thanks nros@ for the correct definition

(maya)

2019-10-16 19:52:09 UTC MAIN commitmail json YAML

use aprint_normal_dev() for the capacity message, same as e.g. wd(4) and sd(4)

(jdolecek)

2019-10-16 19:38:13 UTC MAIN commitmail json YAML

don't try to read disklabel for attached xbd* disk from (effectively) always
xbd0a device, there is no need for it and it is just wrong

same problem as PR kern/41704 for cgd

XXX perhaps xbd should use native block size passed from dom0 rather then
XXX recomputing in DEV_BSIZE

(jdolecek)

2019-10-16 19:03:53 UTC MAIN commitmail json YAML

Do the 'dkctl makewedges' dance to drop any wedges assoicated the
destroyed GPT.

(jnemeth)

2019-10-16 18:29:49 UTC MAIN commitmail json YAML

2019-10-16 17:43:35 UTC netbsd-9 commitmail json YAML

2019-10-16 17:41:40 UTC netbsd-9 commitmail json YAML

Pull up the following revisions, requested by roy in ticket #340:

external/bsd/dhcpcd/dist/src/defs.h            up to 1.1.1.32
external/bsd/dhcpcd/dist/src/dhcp.c            up to 1.29
external/bsd/dhcpcd/dist/src/dhcpcd.c          up to 1.28
external/bsd/dhcpcd/dist/src/ipv6.c            up to 1.6
src/doc/3RDPARTY (manually edited)

Import dhcpcd-8.1.1 with the following changes:

* IPv6: Fix a potential crash when learning interface addresses.
* DHCP: Fix fallout from dhcpcd-8.1.0 for checksum calculation.

(martin)

2019-10-16 17:32:17 UTC netbsd-9 commitmail json YAML

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

sys/arch/x86/include/cpufunc.h: revision 1.35

Add a memory barrier on wrmsr, because some MSRs control memory access
rights (we don't use them though). Also add barriers on fninit and clts
for safety.

(martin)

2019-10-16 17:29:50 UTC netbsd-9 commitmail json YAML

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

sys/compat/netbsd32/netbsd32_fs.c: revision 1.83

Fix netbsd32___mount50():
  - zero out fs_args32 to prevent info leaks
  - remove unused and non-functional copyin in NFS (lgtm bot)
  - declare udata, and don't pass kernel pointers to copyout (lgtm bot)
  - make sure data_len is just big enough, to mimic the native behavior
  - don't forget to update *retval with the 32bit value
  - add an XXX for NFS

(martin)

2019-10-16 15:27:39 UTC MAIN commitmail json YAML

Add void * function pointer casts. There are different ways to "fix" those
warnings:
    1. this one: add a void * cast (which I think is the least intrusive)
    2. add pragmas to elide the warning
    3. add intermediate inline conversion functions
    4. change the called function prototypes, adding unused arguments and
      converting some of the pointer arguments to void *.
    5. make the functions varyadic (which defeats the purpose of checking)
    6. pass command line flags to elide the warning
I did try 3 and 4 and I was not pleased with the result (sys_ptrace_common.c)
(3) added too much code and defines, and (4) made the regular use clumsy.

(christos)

2019-10-16 15:08:09 UTC MAIN commitmail json YAML

void * cast the probe functions that take more than 5 uintptr_t arguments
(dtrace_probe takes 5).

(christos)

2019-10-16 15:01:56 UTC MAIN commitmail json YAML

2019-10-16 15:01:10 UTC MAIN commitmail json YAML

add void * casts for the clock interrupt handlers.

(christos)

2019-10-16 14:56:34 UTC MAIN commitmail json YAML

Note import of dhcpcd-8.1.1

(roy)

2019-10-16 14:54:39 UTC MAIN commitmail json YAML

2019-10-16 13:11:16 UTC MAIN commitmail json YAML

allocate a random mac address if on-chip mac is all zeroes.

helps ure(4) on NanoPi R1.

partly from ganbold@freebsd r346052.

XXX pullup-9

(bad)

2019-10-16 13:02:51 UTC MAIN commitmail json YAML

read mac address of ure version 4c10 from URE_PLA_IDR, save as 4c00.

from ganbold@freebsd r346052.

XXX pullup-9

(bad)

2019-10-16 11:16:31 UTC MAIN commitmail json YAML

2019-10-16 09:53:38 UTC netbsd-9 commitmail json YAML

2019-10-16 09:52:38 UTC netbsd-9 commitmail json YAML

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

sys/dev/isa/tpm_isa.c: revision 1.6
sys/dev/ic/tpm.c: revision 1.16
sys/dev/isa/tpm_isa.c: revision 1.7
sys/dev/acpi/tpm_acpi.c: revision 1.10
sys/dev/acpi/tpm_acpi.c: revision 1.11
sys/dev/ic/tpmreg.h: revision 1.5
sys/dev/ic/tpmreg.h: revision 1.6
sys/dev/acpi/tpm_acpi.c: revision 1.9
sys/dev/ic/tpmvar.h: revision 1.5
sys/dev/ic/tpmvar.h: revision 1.6
sys/dev/ic/tpmvar.h: revision 1.7
sys/dev/ic/tpm.c: revision 1.14
share/man/man4/tpm.4: revision 1.5
sys/dev/isa/tpm_isa.c: revision 1.5
sys/dev/ic/tpm.c: revision 1.15

Improvements in tpm(4):
  - Remove interrupt support, do polling only, avoids unnecessary trouble.
  - Simplify a few things.
  - Fix the suspend function, the SaveState command is 0x98, not 0x9C.
  - Make the driver MP-safe.
  - Sync the man page with reality.

-

Add suspend support for TPM 2.0 chips. Check the TPM response also for 1.2
chips. Unfortunately I cannot really test this change since ACPI suspend
does not work on any of my laptops.

-

Provide a better abstraction for the TPM interface. Report it in the ioctl.

(martin)

2019-10-16 09:46:55 UTC netbsd-9 commitmail json YAML

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

sys/net/bpf.c: revision 1.230
sys/net/bpf.c: revision 1.231

Add KASSERT to catch bugs. Something tells me it could easily fire.

-

As I suspected, the KASSERT I added yesterday can fire if we try to process
zero-sized packets. Skip them to prevent a type confusion that can trigger
random page faults later.

(martin)

2019-10-16 07:42:23 UTC MAIN commitmail json YAML

tests: add tests for the validateion of net.inet6.ip6.temppltime

(ozaki-r)

2019-10-16 07:41:28 UTC MAIN commitmail json YAML

Validate ip6_temp_preferred_lifetime (net.inet6.ip6.temppltime) on a change

ip6_temp_preferred_lifetime is used to calculate an interval period to
regenerate temporary addresse by
  TEMP_PREFERRED_LIFETIME - REGEN_ADVANCE - DESYNC_FACTOR
as per RFC 3041 3.5.  So it must be greater than (REGEN_ADVANCE +
DESYNC_FACTOR), otherwise it will be negative and go wrong, for example
KASSERT(to_ticks >= 0) in callout_schedule_locked fails.

(ozaki-r)

2019-10-16 07:40:40 UTC MAIN commitmail json YAML

Reorganize in6_tmpaddrtimer stuffs

- Move the related functions to where in6_tmpaddrtimer_ch exists
- Hide global variable in6_tmpaddrtimer_ch
- Rename ip6_init2 to in6_tmpaddrtimer_init
- Reduce callers of callout_reset
- Use callout_schedule

(ozaki-r)

2019-10-16 07:39:19 UTC MAIN commitmail json YAML

use GCC_NO_STRINGOP_OVERFLOW for charray.c.

this only affects some platforms.

(mrg)

2019-10-16 07:38:04 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/configargs.h@1.13 / diff / nxr@1.13
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/arm-cpu.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/arm-isa.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/configargs.h@1.35 / diff / nxr@1.35
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/defs.mk@1.20 / diff / nxr@1.20
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/gtyp-input.list@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/tm.h@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/arm-cpu.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/arm-isa.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/configargs.h@1.36 / diff / nxr@1.36
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/defs.mk@1.20 / diff / nxr@1.20
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/gtyp-input.list@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/tm.h@1.12 / diff / nxr@1.12
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/arm-cpu.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/arm-isa.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h@1.36 / diff / nxr@1.36
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk@1.19 / diff / nxr@1.19
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/gtyp-input.list@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/arm-cpu.h@1.1 / diff / nxr@1.1
      :
(more 77 files)
regen arm ports for config.gcc fix.

(mrg)

2019-10-16 07:35:14 UTC MAIN commitmail json YAML

make sure to include bpabi.h before arm.h.

(mrg)

2019-10-16 06:57:24 UTC MAIN commitmail json YAML

copy arm-cpu.h and arm-isa.h for arm platforms.

(mrg)

2019-10-16 06:53:34 UTC MAIN commitmail json YAML

Fix missing kpreempt_disable() before softint_schedule() like if_vmx.c:r1.51.

(knakahara)

2019-10-16 06:36:00 UTC MAIN commitmail json YAML

Fix missing kpreempt_disable() before softint_schedule() like if_vmx.c:r1.51.

(knakahara)

2019-10-16 04:07:42 UTC MAIN commitmail json YAML

Apply FreeBSD r353599:

> ixgbe: Disable EEE for backplane X550EM_X
>
> From Zach:
> Intel documentation indicates that backplane X550EM_X KR devices do not
> support Energy Efficient Ethernet. Prior to this patch, X552 devices
> (device ID 0x15AB) will crash the system when transitioning EEE state
> via sysctl.
>
> Signed-off-by: Zach Vargas <zvargas@xes-inc.com>
>
> PR: 240320
> Submitted by: Zach Vargas <zvargas@xes-inc.com>
> Reviewed by: erj@
> MFC after: 3 days
> Differential Revision: https://reviews.freebsd.org/D21673

(msaitoh)

2019-10-16 01:44:48 UTC MAIN commitmail json YAML

2019-10-15 19:44:45 UTC netbsd-9 commitmail json YAML

2019-10-15 19:40:34 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #334):

sys/arch/arm/cortex/gic_v2m.c: revision 1.7
sys/arch/arm/acpi/gicv3_acpi.c: revision 1.5
sys/arch/arm/acpi/files.acpi: revision 1.8
sys/arch/arm/acpi/gic_acpi.c: revision 1.4
sys/arch/arm/cortex/files.cortex: revision 1.13
sys/arch/arm/acpi/gic_v2m_acpi.c: revision 1.1
sys/arch/arm/acpi/gic_v2m_acpi.h: revision 1.1
sys/arch/arm/cortex/gic_v2m.h: revision 1.2

Add support for Amazon's Graviton MSI controller.

Graviton has a GICv3 with a modified GICv2m (!) for MSIs. Instead of
sending messages to a fixed address with the SPI as data, the Graviton's
GICv2m uses a different address for each vector with "don't care" as data.

(martin)

2019-10-15 19:37:58 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #332):

sys/arch/arm/acpi/acpipchb.c: revision 1.10
sys/arch/arm/acpi/acpipchb.c: revision 1.11
sys/arch/arm/acpi/acpipchb.c: revision 1.12
sys/arch/arm/acpi/acpi_pci_machdep.h: revision 1.3
sys/arch/arm/acpi/acpi_pci_machdep.h: revision 1.4
sys/arch/arm/acpi/acpi_pci_machdep.c: revision 1.10
sys/arch/arm/acpi/acpi_pci_machdep.c: revision 1.11

Add quirks for Amazon Graviton PCIe root ports. Configuration space for the
root port is found in a child AMZN0001 resource, not the MCFG table.

-

More Amazon Graviton quirks:
- Ignore devno > 0 on the PCIe root port.
- Fixup PCIe bridge bus number register on the root port.
- Move quirk handling to acpipchb so it can be applied before the bus
  is configured.

-

Fix detection of root port resources for Graviton and remove no longer required bridge fixup

(martin)

2019-10-15 19:33:24 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #331):

sys/dev/pci/pci.c: revision 1.155

The PCI Local Bus Specification says that we should probe devices by
reading PCI_ID_REG. pci_enumerate_bus was incorrectly reading PCI_BHLC_REG
first, which surprisingly has worked for the past 16 years. Unfortunately,
this undefined behavior does the wrong thing on Amazon's Annapurna Labs
PCIe host controller.

(martin)

2019-10-15 19:30:50 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #333):

sys/dev/acpi/acpi_mcfg.c: revision 1.17

The MCFG base address field is the physical address of the base of mmio
space relative to bus 0, not the start bus number specified in the table
entry.

(martin)

2019-10-15 19:29:58 UTC MAIN commitmail json YAML

remove conditional portion that was wrong and always false.

(christos)

2019-10-15 19:28:17 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #330):

sys/kern/kern_sig.c: revision 1.372

Avoid double lwp_exit() in eventswitch()

For the PTRACE_LWP_EXIT event, the eventswitch() call is triggered from
lwp_exit(). In the case of setting the program status to PS_WEXIT, do not
try to demise in place, by calling lwp_exit() as it causes panic.

In this scenario bail out from the function and resume the lwp_exit()
procedure.

(martin)

2019-10-15 19:27:04 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #329):

sys/kern/kern_sig.c: revision 1.371

Fix one the the root causes of unreliability of the ptrace(2)ed threads

In case of sigswitchin away in issignal() and continuing the execution on
PT_CONTINUE (or equivalent call), there is a time window when another
thread could cause the process state to be changed to PS_STOPPING.

In the current logic, a thread would receive signal 0 (no-signal) and exit
from issignal(), returning to userland and never finishing the process of
stopping all LWPs. This causes hangs waitpid() waiting for SIGCHLD and
the callout polling for the state of the process in an infinite loop.

Instead of prompting for a returned signal from a debugger, repeat the
issignal() loop, this will cause checking the PS_STOPPING flag again and
sigswitching away in the scenario of stopping the process.

(martin)

2019-10-15 19:25:12 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #327):

sys/kern/kern_sig.c: revision 1.370

Add sigswitch_unlock_and_switch_away(), extracted from sigswitch()

Use sigswitch_unlock_and_switch_away() whenever there is no need for
sigswitch().

(martin)

2019-10-15 19:23:09 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #328):

sys/kern/kern_sig.c: revision 1.369
sys/sys/signalvar.h: revision 1.97

Refactor sigswitch()

Make the function static as it is now local to kern_sig.c.
Rename the 'relock' argument to 'proc_lock_held' as it is more verbose.

This was suggested by mjg@freebsd. While there this flips the users between
true<->false.

Add additional KASSERT(9) calls here to validate whethe proc_lock is used
accordingly.

(martin)

2019-10-15 19:13:22 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #326):

lib/libc/sys/ptrace.2: revision 1.81

Document PT_STOP, update PT_KILL in the ptrace(2) man-page
Formatting by <mgorny>

(martin)

2019-10-15 19:11:02 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #325):

sys/sys/ptrace.h: revision 1.66
sys/kern/sys_ptrace_common.c: revision 1.66

Introduce new ptrace(2) operation PT_STOP

It works like:
- kill(SIGSTOP) for unstopped tracee
- ptrace(PT_CONTINUE,SIGSTOP) for stopped tracee

The child will be stopped and always possible to be waited (with wait(2)
like calls).

For stopped traccee kill(SIGSTOP) has no effect. PT_CONTINUE+SIGSTOP cannot
be used on an unstopped process (EBUSY).

This operation is modeled after PT_KILL that is similar for the SIGKILL
call. While there, allow PT_KILL on unstopped traced child.
This operation is useful in an abnormal exit of a debugger from a signal
handler, usually followed by waitpid(2) and ptrace(PT_DETACH).

(martin)

2019-10-15 19:08:46 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #324):

sys/kern/kern_sig.c: revision 1.367

Enhance reliability of ptrace(2) in a debuggee with multiple LWPs

Stop competing between threads which one emits event signal quicker and
overwriting the signal from another thread.

This fixes missed in action signals.

NetBSD truss can now report reliably all TRAP_SCE/SCX/etc events without
reports of missed ones.
his was one of the reasons why debuggee with multiple threads misbehaved
under a debugger.

This change is v.2 of the previously reverted commit for the same fix.

This version contains recovery path that stopps triggering event SIGTRAP
for a detached debugger.

(martin)

2019-10-15 19:07:14 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #323):

sys/kern/sys_ptrace_common.c: revision 1.65

Correct the same expression on both sides of |
PR sw-bug/54610 by David Binderman

(martin)

2019-10-15 19:05:38 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #322):

sys/kern/sysv_msg.c: revision 1.76

Avoid -LONG_MIN msgtyp in msgrcv(2) and treat it as LONG_MAX

This logic (found in Linux) avoids undefined behavior.

(martin)

2019-10-15 19:03:20 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #321):

sys/kern/sys_ptrace_common.c: revision 1.63

Add two KASSERTS in the ptrace(2) kernel code

Verify that we will never return empty ptrace_state for CHILD/LWP event.

(martin)

2019-10-15 19:01:06 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #320):

sys/kern/kern_synch.c: revision 1.324
sys/kern/kern_sig.c: revision 1.366
sys/kern/kern_exit.c: revision 1.277
sys/kern/kern_lwp.c: revision 1.204
sys/kern/sys_ptrace_common.c: revision 1.62

Separate flag for suspended by _lwp_suspend and suspended by a debugger

Once a thread was stopped with ptrace(2), userland process must not
be able to unstop it deliberately or by an accident.

This was a Windows-style behavior that makes threading tracing fragile.

(martin)

2019-10-15 18:50:45 UTC MAIN commitmail json YAML

Don't pass null pointer as argument 2 of memcpy(). Same as Linux.
Found by kUBSan.

(msaitoh)

2019-10-15 18:50:44 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #319):

sys/kern/sys_ptrace_common.c: revision 1.61

Remove 2 static asserts from the kernel ptrace code
sizeof(pid) and sizeof(lwp) will unlikely ever change and the check can
confuse.

The assert has been moved to ATF t_ptrace_wait.c r.1.132.

Requested by <christos>

(martin)

2019-10-15 18:48:56 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #318):

sys/sys/lwp.h: revision 1.187

Define LW_DBGSUSPEND in sys/lwp.h

This flag specifies the suspended by debugger property, as used by
PT_SUSPEND in ptrace(2).

(martin)

2019-10-15 18:47:03 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #317):

tests/lib/libc/sys/t_ptrace_wait.c: revision 1.133

Merge PT_GET_PROCESS_STATE checks into traceme_raise ATF ptrace tests

Assert that PT_GET_PROCESS_STATE for !child and !lwp events returns
non-error and zeroed struct ptrace_state.

These checks are not really special to traceme_raise, it's just an
opportunity to reuse them in an existing tests without writing a dedicated
one.

This behavior is needed to maintain in 3rd party software (GDB).

(martin)

2019-10-15 18:43:02 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #315):

tests/lib/libc/sys/t_ptrace_wait.c: revision 1.132

Add a few static asserts in t_ptrace_wait.c for conditions that must be kept
Assert that ptrace_state and siginfo_t's _ptrace_state are synchronized.

(martin)

2019-10-15 18:40:02 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #314):

tests/lib/libc/sys/t_ptrace_wait.c: revision 1.137

Fix race in t_ptrace_wait* LWP tests

Increment the done variable under a mutex. This variable was updated
non-atomically and sometimes not reaching the expected treshold.

(martin)

2019-10-15 18:38:40 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #313):

sys/kern/sys_ptrace_common.c: revision 1.60

Restore the old behavior in PT_GET_PROCESS_STATE
For !child and !lwp events return zeroed struct ptrace_state.

There is code that depends on it (GDB).

Fixes PR toolchain/54590 by martin@

(martin)

2019-10-15 18:36:38 UTC MAIN commitmail json YAML

Add a function cast for enosys

(christos)

2019-10-15 18:35:29 UTC MAIN commitmail json YAML

sup was removed. RIP.

(christos)

2019-10-15 18:34:34 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #312):

tests/lib/libc/sys/t_ptrace_wait.c: revision 1.135

Bump the number of threads in LWP t_ptrace_wait*() tests from to 100

This is a torture, but on purpose to catch LWP_CREATED and LWP_EXITED bugs.
The threads do nothing other than calling sched_yield() in a loop.

MAXLWP is now defined to 2048 on all ports.

This change effects the following tests:
- trace_thread_nolwpevents
- trace_thread_lwpexit
- trace_thread_lwpcreate
- trace_thread_lwpcreate_and_exit

(martin)

2019-10-15 18:33:58 UTC MAIN commitmail json YAML

2019-10-15 18:33:24 UTC MAIN commitmail json YAML

2019-10-15 18:32:59 UTC MAIN commitmail json YAML

2019-10-15 18:32:13 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #311):

sys/sys/siginfo.h: revision 1.34
sys/kern/sys_ptrace_common.c: revision 1.59
sys/kern/sys_lwp.c: revision 1.70
sys/compat/sys/siginfo.h: revision 1.8
sys/kern/kern_sig.c: revision 1.365
sys/kern/kern_lwp.c: revision 1.203
sys/sys/signalvar.h: revision 1.96
sys/kern/kern_exec.c: revision 1.482
sys/kern/kern_fork.c: revision 1.214

Move TRAP_CHLD/TRAP_LWP ptrace information from struct proc to siginfo

Storing struct ptrace_state information inside struct proc was vulnerable
to synchronization bugs, as multiple events emitted in the same time were
overwritting other ones.

Cache the original parent process id in p_oppid. Reusing here p_opptr is
in theory prone to slight race codition.

Change the semantics of PT_GET_PROCESS_STATE, reutning EINVAL for calls
prompting for the value in cases when there wasn't registered an
appropriate event.

Add an alternative approach to check the ptrace_state information, directly
from the siginfo_t value returned from PT_GET_SIGINFO. The original
PT_GET_PROCESS_STATE approach is kept for compat with older NetBSD and
OpenBSD. New code is recommended to keep using PT_GET_PROCESS_STATE.
Add a couple of compile-time asserts for assumptions in the code.

No functional change intended in existing ptrace(2) software.

All ATF ptrace(2) and ATF GDB tests pass.

This change improves reliability of the threading ptrace(2) code.

(martin)

2019-10-15 18:29:32 UTC MAIN commitmail json YAML

2019-10-15 18:29:21 UTC MAIN commitmail json YAML

2019-10-15 18:22:55 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #310):

tests/lib/libc/sys/t_ptrace_wait.c: revision 1.134

Remove ATF t_ptrace_wait test suspend1

The tests verifies that a thread can be suspended by a debugger and later
resumed by a tracee.

This is an unwanted behavior and will be fixed soon.

(martin)

2019-10-15 18:21:47 UTC MAIN commitmail json YAML

2019-10-15 18:21:06 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #309):

sys/kern/sys_ptrace_common.c: revision 1.67

Avoid signed integer overflow for -lwp where lwp is INT_MIN

(martin)

2019-10-15 18:20:44 UTC MAIN commitmail json YAML

Use unsigned to avoid undefined behavior. Found by kUBSan.

(msaitoh)

2019-10-15 18:17:06 UTC netbsd-9 commitmail json YAML

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

external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c: revision 1.21
external/cddl/osnet/dist/uts/common/fs/zfs/dmu_diff.c: revision 1.3
external/cddl/osnet/dist/uts/common/fs/zfs/dmu_diff.c: revision 1.4
external/cddl/osnet/dist/uts/common/fs/zfs/sys/dmu.h: revision 1.4

Change dmu_diff() back to use a "file" instead of a "vnode".

Command "zfs diff" calls it with a pipe, not a plain file.

Fixes PR kern/54541: kernel panic using "zfs diff"

-

Add missing "#ifdef _KERNEL" to fix the build of userland zfs libraries.

(martin)

2019-10-15 18:13:56 UTC netbsd-9 commitmail json YAML

2019-10-15 18:12:25 UTC netbsd-9 commitmail json YAML

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

sys/kern/vnode_if.sh: revision 1.67
sys/kern/vnode_if.src: revision 1.78

As VOP_STRATEGY() usually calls itself on the file system holding "/dev"
it may deadlock on suspension of this file system.

Add fstrans type LAZY and use it for VOP_STRATEGY().

Adress PR kern/53624 (dom0 freeze on domU exit) is still there

(martin)

2019-10-15 18:10:09 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tnn in ticket #306):

sys/arch/amd64/conf/GENERIC: revision 1.536

add mcx(4) to GENERIC

Tested on dual-port ConnectX-4 with 25 Gbit/s AOC

(martin)

2019-10-15 18:08:31 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tnn in ticket #305):

sys/arch/x86/pci/msipic.c: revision 1.18

change bus_space_map to _x86_memio_map

Resolves bus space reservation conflict between MI and MD code.

Discussion:
http://mail-index.netbsd.org/port-amd64/2019/09/28/msg003014.html

(martin)

2019-10-15 17:25:02 UTC MAIN commitmail json YAML

flush the dcache in cpu_enable_psci() before calling psci_cpu_on().

fixes the kernel hanging with multiple "mpstart" on (at least) NanoPi R1.

OK jmcneill@, skrll@

XXX pullup-9

(bad)

2019-10-15 17:19:05 UTC MAIN commitmail json YAML

correct pointer arithmetics

(tnn)

2019-10-15 16:59:16 UTC MAIN commitmail json YAML

Use unsigned to avoid undefined behavior in agpattach(). Found by kUBSan.

(msaitoh)

2019-10-15 16:30:49 UTC MAIN commitmail json YAML

awge: fix issue that caused rx packets to be corrupt with DIAGNOSTIC kernel

It seems the hardware can only reliably do rx DMA to addresses that are
dcache size aligned. This is hinted at by some GMAC data sheets but hard to
find an authoritative source.

on non-DIAGNOSTIC kernels we always implicitly get MCLBYTES-aligned mbuf
data pointers, but with the reintroduction of POOL_REDZONE for DIAGNOSTIC
we can get 8-byte alignment due to redzone padding. So align rx pointers to
64 bytes which should be good for both arm32 and aarch64.

While here change some bus_dmamap_load() to bus_dmamap_load_mbuf() and add
one missing bus_dmamap_sync(). Also fixes the code to not assume that
MCLBYTES == AWGE_MAX_PACKET. User may override MCLSHIFT in kernel config.

(tnn)

2019-10-15 16:17:43 UTC MAIN commitmail json YAML

2019-10-15 16:14:49 UTC MAIN commitmail json YAML

2019-10-15 16:13:40 UTC MAIN commitmail json YAML

src/sys/external/bsd/acpica/dist/compiler/aslcompile.c@1.17 / diff / nxr@1.17
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.h@1.15 / diff / nxr@1.15
src/sys/external/bsd/acpica/dist/compiler/aslerror.c@1.13 / diff / nxr@1.13
src/sys/external/bsd/acpica/dist/compiler/aslfiles.c@1.14 / diff / nxr@1.14
src/sys/external/bsd/acpica/dist/compiler/aslload.c@1.15 / diff / nxr@1.15
src/sys/external/bsd/acpica/dist/compiler/asloptions.c@1.11 / diff / nxr@1.11
src/sys/external/bsd/acpica/dist/compiler/aslsupport.l@1.14 / diff / nxr@1.14
src/sys/external/bsd/acpica/dist/compiler/aslutils.c@1.24 / diff / nxr@1.24
src/sys/external/bsd/acpica/dist/compiler/aslwalks.c@1.13 / diff / nxr@1.13
src/sys/external/bsd/acpica/dist/compiler/aslxref.c@1.15 / diff / nxr@1.15
src/sys/external/bsd/acpica/dist/compiler/dtcompile.c@1.14 / diff / nxr@1.14
src/sys/external/bsd/acpica/dist/compiler/dtcompilerparser.y@1.2 / diff / nxr@1.2
src/sys/external/bsd/acpica/dist/compiler/dtfield.c@1.14 / diff / nxr@1.14
src/sys/external/bsd/acpica/dist/debugger/dbinput.c@1.19 / diff / nxr@1.19
src/sys/external/bsd/acpica/dist/debugger/dbmethod.c@1.13 / diff / nxr@1.13
src/sys/external/bsd/acpica/dist/events/evxface.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/acpica/dist/executer/exconfig.c@1.15 / diff / nxr@1.15
src/sys/external/bsd/acpica/dist/executer/exdump.c@1.14 / diff / nxr@1.14
src/sys/external/bsd/acpica/dist/include/acglobal.h@1.20 / diff / nxr@1.20
src/sys/external/bsd/acpica/dist/include/aclocal.h@1.20 / diff / nxr@1.20
      :
(more 15 files)
merge conflicts

(christos)

2019-10-15 15:59:26 UTC MAIN commitmail json YAML

Move PCIe initiaization code from alc_attach() to alc_init_pcie().
No functional change.

(msaitoh)

2019-10-15 15:58:46 UTC MAIN commitmail json YAML

2019-10-15 15:56:26 UTC MAIN commitmail json YAML

Apply FreeBSD r218141:
> alc_rev was used without initialization such that it failed to
> apply AR8152 v1.0 specific initialization code. Fix this bug by
> explicitly reading PCI device revision id via PCI accessor.
>
> Reported by: Gabriel Linder ( linder.gabriel <> gmail dot com )

(msaitoh)

2019-10-15 15:05:00 UTC MAIN commitmail json YAML

Allow individual lex and yacc sources to override/extend LFLAGS and YFLAGS
respectively.

(christos)

2019-10-15 13:59:57 UTC MAIN commitmail json YAML

Remove the short-circuit lwp_exit() path from sigswitch()

sigswitch() can be called from exit1() through:

  ttywait()->ttysleep()-> cv_timedwait_sig()->sleepq_block()->issignal()->sigswitch()

lwp_exit() called for the last LWP triggers exit1() and this causes a panic.

The debugger related signals have short-circuit demise paths in
eventswitch() and other functions, before calling sigswitch().

This change restores the original behavior, but there is an open question
whether the kernel crash is a red herring of misbehavior of ttywait().

This should fix PR kern/54618 by David H. Gutteridge

(kamil)

2019-10-15 13:27:51 UTC MAIN commitmail json YAML

2019-10-15 13:27:11 UTC MAIN commitmail json YAML

PCIe downstream ports only have a single child device, so limit probing to
dev 0.

(jmcneill)

2019-10-15 13:21:19 UTC MAIN commitmail json YAML

Add Apple adapter, A1433

(ryoon)

2019-10-15 08:36:34 UTC MAIN commitmail json YAML

2019-10-15 06:58:13 UTC MAIN commitmail json YAML

Add missing "#ifdef _KERNEL" to fix the build of userland zfs libraries.

(hannken)

2019-10-15 04:25:44 UTC MAIN commitmail json YAML

Give syspkg's names to xcomp mi files until extensions.

(uki)

2019-10-15 04:24:16 UTC netbsd-8 commitmail json YAML

2019-10-15 00:23:44 UTC MAIN commitmail json YAML

Fix detection of root port resources for Graviton and remove no longer required bridge fixup

(jmcneill)

2019-10-15 00:13:53 UTC MAIN commitmail json YAML

2019-10-14 22:59:15 UTC MAIN commitmail json YAML

More Amazon Graviton quirks:
- Ignore devno > 0 on the PCIe root port.
- Fixup PCIe bridge bus number register on the root port.
- Move quirk handling to acpipchb so it can be applied before the bus
  is configured.

(jmcneill)

2019-10-14 22:53:05 UTC MAIN commitmail json YAML

Remove the A72 errata #859971 detection, it causes an illegal instruction on AWS A1 (virtualized)

(jmcneill)

2019-10-14 19:20:14 UTC netbsd-8 commitmail json YAML

2019-10-14 17:43:58 UTC netbsd-8 commitmail json YAML

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

sys/kern/vnode_if.sh: revision 1.67
sys/kern/vnode_if.src: revision 1.78

As VOP_STRATEGY() usually calls itself on the file system holding "/dev"
it may deadlock on suspension of this file system.

Add fstrans type LAZY and use it for VOP_STRATEGY().

Adress PR kern/53624 (dom0 freeze on domU exit) is still there

(martin)

2019-10-14 17:30:18 UTC MAIN commitmail json YAML

2019-10-14 16:43:04 UTC MAIN commitmail json YAML

Error out if the type is beyond the storage size. No functional change,
since the shift would otherwise 'and' against zero, returning EEXIST.

Reported-by: syzbot+cb68ccdc1ef3aca2d679@syzkaller.appspotmail.com

(maxv)

2019-10-14 16:27:04 UTC MAIN commitmail json YAML

Add a check before the memcpy. memcpy is defined to never take NULL as
second argument, and the compiler is free to perform optimizations knowing
that this argument is never NULL.

In this particular case, it was harmless. But still good to fix.

Reported-by: syzbot+6f504255accb795eb6b7@syzkaller.appspotmail.com

(maxv)

2019-10-14 14:48:48 UTC MAIN commitmail json YAML

added test cases
invalid version specification
salt too short

(jhigh)

2019-10-14 14:37:31 UTC MAIN commitmail json YAML

added versioning tests for argon2

(jhigh)

2019-10-14 13:34:14 UTC MAIN commitmail json YAML

remove masking and cast (requested by kre@)

(christos)

2019-10-14 13:18:00 UTC MAIN commitmail json YAML

Change dmu_diff() back to use a "file" instead of a "vnode".
Command "zfs diff" calls it with a pipe, not a plain file.

Fixes PR kern/54541: kernel panic using "zfs diff"

(hannken)

2019-10-14 11:00:13 UTC MAIN commitmail json YAML

Add support for Amazon's Graviton MSI controller.

Graviton has a GICv3 with a modified GICv2m (!) for MSIs. Instead of
sending messages to a fixed address with the SPI as data, the Graviton's
GICv2m uses a different address for each vector with "don't care" as data.

(jmcneill)

2019-10-14 10:43:40 UTC MAIN commitmail json YAML

Improve nvmm_vcpu_dump().

(maxv)

2019-10-14 10:39:24 UTC MAIN commitmail json YAML

Implement XCHG, add associated tests, and add comments to explain. With
this in place the Windows 95 installer completes successfuly.

Part of PR/54611.

(maxv)

2019-10-14 06:40:40 UTC MAIN commitmail json YAML

removed incorrectly added file

(jhigh)

2019-10-14 03:47:20 UTC MAIN commitmail json YAML

2019-10-14 01:15:32 UTC MAIN commitmail json YAML

2019-10-14 00:20:09 UTC MAIN commitmail json YAML

The PCI Local Bus Specification says that we should probe devices by
reading PCI_ID_REG. pci_enumerate_bus was incorrectly reading PCI_BHLC_REG
first, which surprisingly has worked for the past 16 years. Unfortunately,
this undefined behavior does the wrong thing on Amazon's Annapurna Labs
PCIe host controller.

(jmcneill)

2019-10-14 00:16:29 UTC MAIN commitmail json YAML

Add quirks for Amazon Graviton PCIe root ports. Configuration space for the
root port is found in a child AMZN0001 resource, not the MCFG table.

(jmcneill)

2019-10-14 00:15:13 UTC MAIN commitmail json YAML

The MCFG base address field is the physical address of the base of mmio
space relative to bus 0, not the start bus number specified in the table
entry.

(jmcneill)

2019-10-13 22:32:09 UTC MAIN commitmail json YAML

cast function pointer type. there is already an XXX there...

(christos)

2019-10-13 22:31:32 UTC MAIN commitmail json YAML

2019-10-13 22:31:19 UTC MAIN commitmail json YAML

cast nullop though void *

(christos)

2019-10-13 22:30:52 UTC MAIN commitmail json YAML

Elide function pointer cast errors

(christos)

2019-10-13 21:56:14 UTC MAIN commitmail json YAML

2019-10-13 21:32:07 UTC MAIN commitmail json YAML

make worker thread prototype match the pthread_create signature.

(christos)

2019-10-13 21:24:38 UTC MAIN commitmail json YAML

use GCC_NO_CAST_FUNCTION_TYPE.

(mrg)

2019-10-13 21:18:20 UTC MAIN commitmail json YAML

use sanitizer_platform_limits_netbsd.cc.
link asan with libm so it can find signgam.

basic libasan works now.

(mrg)

2019-10-13 21:12:33 UTC MAIN commitmail json YAML

use strlcpy instead of strncpy.

(christos)

2019-10-13 20:55:04 UTC MAIN commitmail json YAML

prevent sign extension from making expression always false.

(christos)

2019-10-13 20:43:26 UTC MAIN commitmail json YAML

can't happen, but gcc can't figure it out.

(christos)

2019-10-13 20:18:42 UTC MAIN commitmail json YAML

use strlcpy to ensure termination.

the buffer is statically sized so that it works without an
allocator, so truncation is the desired effect here.

(mrg)

2019-10-13 19:39:15 UTC MAIN commitmail json YAML

2019-10-13 17:32:15 UTC MAIN commitmail json YAML

Fix incorrect parsing: the R/M field uses a special GPR map when the
address size is 16 bits, regardless of the actual operating mode. With
this special map there can be two registers referenced at once, and
also disp16-only.

Implement this special behavior, and add associated tests. While here
simplify a few things.

With this in place, the Windows 95 installer initializes correctly.

Part of PR/54611.

(maxv)

2019-10-13 10:12:14 UTC MAIN commitmail json YAML

make GCC_NO_STRINGOP_OVERFLOW apply to gcc 7 too.

(mrg)

2019-10-13 10:07:27 UTC MAIN commitmail json YAML

This previously had -Wno-format-truncation so I am presuming it should
have been converted to GCC_NO_FORMAT_TRUNCATION rather than
GCC_NO_STRINGOP_TRUNCATION which is what happened.  This might unbreak
the build (olr at least get it further).

(kre)

2019-10-13 09:42:15 UTC MAIN commitmail json YAML

Fix race in t_ptrace_wait* LWP tests

Increment the done variable under a mutex. This variable was updated
non-atomically and sometimes not reaching the expected treshold.

(kamil)

2019-10-13 07:46:16 UTC MAIN commitmail json YAML

ifr_name is nul terminated.  make it so.

(mrg)

2019-10-13 07:44:51 UTC MAIN commitmail json YAML

set ADM1026_ADDRMASK as 0x2f, not 0x3f8.

GCC-8 complained about always false condition, which indicated
the bug.  patch from jdc@.

(mrg)

2019-10-13 07:42:57 UTC MAIN commitmail json YAML

adjust a fallthru comment and add a missing break.

(mrg)

2019-10-13 07:42:27 UTC MAIN commitmail json YAML

expand a buffer size to properly handle full-size 64 bit values

(mrg)

2019-10-13 07:28:23 UTC MAIN commitmail json YAML

introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION    -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION  -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW    -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE  -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints.  many
of these are false positives, most of the real bugs are already
commited, or are yet to come.

we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."

(mrg)

2019-10-13 06:11:31 UTC MAIN commitmail json YAML

2019-10-13 06:03:56 UTC MAIN commitmail json YAML

2019-10-13 05:57:14 UTC MAIN commitmail json YAML

2019-10-13 05:56:52 UTC MAIN commitmail json YAML

2019-10-13 04:05:39 UTC MAIN commitmail json YAML

Enable TEST_LWP_ENABLED in t_ptrace_wait*

The LWP events (created, exited) are now reliable in my local tests.

PR kern/51420
PR kern/51995

(kamil)

2019-10-13 04:00:12 UTC MAIN commitmail json YAML

Bump the number of threads in LWP t_ptrace_wait*() tests from to 100

This is a torture, but on purpose to catch LWP_CREATED and LWP_EXITED bugs.
The threads do nothing other than calling sched_yield() in a loop.

MAXLWP is now defined to 2048 on all ports.

This change effects the following tests:

- trace_thread_nolwpevents
- trace_thread_lwpexit
- trace_thread_lwpcreate
- trace_thread_lwpcreate_and_exit

(kamil)

2019-10-13 03:50:26 UTC MAIN commitmail json YAML

Avoid double lwp_exit() in eventswitch()

For the PTRACE_LWP_EXIT event, the eventswitch() call is triggered from
lwp_exit(). In the case of setting the program status to PS_WEXIT, do not
try to demise in place, by calling lwp_exit() as it causes panic.

In this scenario bail out from the function and resume the lwp_exit()
procedure.

(kamil)

2019-10-13 03:19:57 UTC MAIN commitmail json YAML

Fix one the the root causes of unreliability of the ptrace(2)ed threads

In case of sigswitchin away in issignal() and continuing the execution on
PT_CONTINUE (or equivalent call), there is a time window when another
thread could cause the process state to be changed to PS_STOPPING.

In the current logic, a thread would receive signal 0 (no-signal) and exit
from issignal(), returning to userland and never finishing the process of
stopping all LWPs. This causes hangs waitpid() waiting for SIGCHLD and
the callout polling for the state of the process in an infinite loop.

Instead of prompting for a returned signal from a debugger, repeat the
issignal() loop, this will cause checking the PS_STOPPING flag again and
sigswitching away in the scenario of stopping the process.

(kamil)