OpenBSD src changes summary for 2017-02-25 ==========================================
distrib/miniroot gnu gnu/usr.bin/binutils-2.17 gnu/usr.bin/clang lib/libcxxabi regress/bin regress/lib regress/libexec regress/misc regress/sys sys/arch/arm64/arm64 sys/arch/arm64/conf sys/arch/arm64/dev sys/arch/arm64/include sys/dev/acpi usr.sbin/ocspcheck == distrib =========================================================== 01/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib miniroot ~ install.sub > Localize _OPT as it is not used as a global variable. > OK tb@ (rpe@) == gnu =============================================================== 02/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu gnu ~ llvm/tools/lld/ELF/OutputSections.cpp > Make sure the .eh_frame ends with a terminator. This avoids creating a > zero-sized .eh_frame section, which confuses the strip from our > frankenbinutils. > With this diff lld seems to be usable as the arm64 system linker. > ok patrick@, jsg@ (kettenis@) ~ llvm/tools/clang/lib/Basic/Targets.cpp > Fix the types used on aarch64 to match what we have in <sys/types.h>. > From Brad Smith. (kettenis@) ~ llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp > Disable loop idiom recognition for _libc_memset and _libc_memcpy. These > are > the internal names we use in libc for memset and memcpy and having the > compiler optimize them as calls to memset and memcpy will lead to infinite > recursion. > This is a temporary solution while guenther@ tries to figure out a better > way to force calls from inside libc via identifiers that are of hidden > visibility. > ok jsg@, patrick@ (kettenis@) usr.bin/binutils-2.17 ~ bfd/bfd-in2.h ~ bfd/elf32-arm.c ~ bfd/libbfd.h ~ bfd/reloc.c ~ gas/config/tc-arm.c > Implement support for generating movw/movt relocations on arm in gas(1). > Ported from FreeBSD's GPLv2 version of binutils. > ok guenther@ (kettenis@) usr.bin/clang ~ clang/clang.1 > sync clang.1 with clang.rst > Generated with gmake and py-sphinx installed via > cd /usr/src/gnu/llvm/tools/clang/docs && gmake -f Makefile.sphinx man > ok patrick@ (jsg@) == lib =============================================================== 03/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libcxxabi + shlib_version > Provide libc++abi as shared library as well. Discussed and requested > due to ports build failures. > ok kettenis@ (patrick@) == regress =========================================================== 04/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress bin ~ ksh/vi/sh.h > Add missing includes to avoid implicit function declarations. (jsg@) lib ~ libc/dirname/dirname_test.c ~ libc/ifnameindex/ifnitest.c ~ libc/locale/setlocale/setlocale.c ~ libc/strtod/strtodtest.c ~ libedit/chared/test_gets.c ~ libutil/fmt_scaled/fmt_test.c > Add missing includes to avoid implicit function declarations. (jsg@) libexec ~ ld.so/constructor/libab/ab.C ~ ld.so/lazy/libfoo/foo.c ~ ld.so/lazy/prog/prog.c > Add missing includes to avoid implicit function declarations. (jsg@) misc ~ X11/blt/blt.c > Add missing includes to avoid implicit function declarations. (jsg@) sys ~ kern/bind/bind.c > Add missing includes to avoid implicit function declarations. (jsg@) == sys =============================================================== 05/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/arm64/arm64 ~ intr.c > MSI interrupts are established in a different way as well. Instead of > simply hooking up the interrupt handler and returning an MD cookie, we > need to pass back information for the PCI controller to configure its > interrupt correctly. For this, add another establish routine into the > FDT-based interrupt API which looks up msi-controller nodes and calls > their MSI-specific establish function if requested. > ok kettenis@ (patrick@) arch/arm64/conf ~ files.arm64 > Implement ampintcmsi(4) in ampintc(4) to support MSI. The GICv2M is an > extension to the GIC controller, which is represented as subnode in the > device tree. There can be multiple GICv2Ms, so it makes sense to attach > those to ampintc(4) as some kind of simplebus. The GICv2M is simply an > interrupt generator that can be used by PCIe devices to ring the door > bell. There is no need for further configuration, we only need to find > out which SPIs we are allowed to use for MSI and to register an edge > triggered interrupt on a (randomly) allocated SPI. > ok kettenis@ (patrick@) ~ GENERIC ~ RAMDISK > Enable ampintcmsi(4), pciecam(4), ppb(4) and virtio(4). (patrick@) arch/arm64/dev ~ ampintc.c > Implement support for interrupt types. The GIC only seems to support > level triggered active-high or egdge triggered low-to-high interrupts. > We currently always configure them to be level triggered, which is a > sane default for most controllers. Since MSI interupts on the GIC are > edge triggered, we need to be able to parse the type information and to > configure the interrupt correspondingly. > ok kettenis@ (patrick@) ~ ampintc.c > Implement ampintcmsi(4) in ampintc(4) to support MSI. The GICv2M is an > extension to the GIC controller, which is represented as subnode in the > device tree. There can be multiple GICv2Ms, so it makes sense to attach > those to ampintc(4) as some kind of simplebus. The GICv2M is simply an > interrupt generator that can be used by PCIe devices to ring the door > bell. There is no need for further configuration, we only need to find > out which SPIs we are allowed to use for MSI and to register an edge > triggered interrupt on a (randomly) allocated SPI. > ok kettenis@ (patrick@) arch/arm64/include ~ intr.h > MSI interrupts are established in a different way as well. Instead of > simply hooking up the interrupt handler and returning an MD cookie, we > need to pass back information for the PCI controller to configure its > interrupt correctly. For this, add another establish routine into the > FDT-based interrupt API which looks up msi-controller nodes and calls > their MSI-specific establish function if requested. > ok kettenis@ (patrick@) dev/acpi ~ acpireg.h ~ acpithinkpad.c > attach acpithinkpad to LEN0268 HID found on newer thinkpads (jcs@) ~ acpiasus.c ~ acpireg.h ~ acpithinkpad.c ~ acpitoshiba.c ~ atk0110.c > move vendor HIDs into their drivers, clean up some unused defines > ok kettenis (jcs@) == usr.sbin ========================================================== 06/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin ocspcheck ~ ocspcheck.c > pledge stdio before parsing the http response > ok tb@ (beck@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
