OPNSense/core 0abc31dsrc/etc/inc services.inc

services: for full consistency

NetBSD/src Hk1JPBMlib/libc/sys sigaction.2

   Remove reference to itself.
VersionDeltaFile
1.51+1-2lib/libc/sys/sigaction.2
+1-21 files

OPNSense/core 32aad85src/etc rc.reload_all, src/etc/inc interfaces.inc

interfaces: unwind inverted call stack, interfaces_configure() can do less

OpenBSD/ports 2IkvCX8databases/kdb/patches patch-src_CMakeLists_txt

   unbreak build

   Forgot to delete patch. Notice by kiki@ Thanks!

FreeBSD/ports 470596head/textproc/py-docutils Makefile pkg-plist

textproc/py-docutils: Fix/improve console scripts packaging

Remove custom script symlink/packaging routine (and pkg-plist) that adds
versions without .py filename suffix, in favour of what upstream provides by
default.

The manually maintained script list in the port was incomplete, so not all
scripts were processed, producing an inconsistent experience (if not POLA
violation) for users, and proves the mechanism itself is difficult to keep
up-to-date and accurate. Additionally, all upstream documentation refers to
these tools by their suffixed names.

While I'm here:

- Pet potlint (USES/USE_* order)
- Add test target to make future QA easier/more thorough.

Approved by: koobs (python, maintainer)

FreeBSD/ports 470595head/sysutils/k3b Makefile

sysutils/k3b: Add some more bunring dependencies

PR:            228408

OPNSense/core 66bd3dbsrc/opnsense/scripts/shell setports.php

rc: fix syntax

FreeBSD/src 334019head/usr.sbin/bhyve atkbdc.c

Include atkbdc header where there are declared the prototype functions
atkbdc_event and atkbdc_init.

MFC after:      4 weeks.
Sponsored by:   iXsystems Inc.

OPNSense/core 145ff37. plist, src/etc rc.reload_interfaces

rc: remove unused script

FreeBSD/ports 470594head/textproc/py-rst2html5 Makefile files, head/textproc/py-rst2html5/files patch-setup.py

textproc/py-rst2html: Fix conflict with textproc/py-docutils

docutils 0.13.1 release included a new rst2html5 frontend, adding
rst2html5{.py} to LOCALBASE/bin. This conflicts with files already
packages with textproc/py-rst2html [1][2], resulting in a packging error.

Also affected (not currently packaged in FreeBSD Ports), is the
rst2html5-tools PyPI package [2].

Rename the conflicting script accordingly.

While I'm here:

- Fix *_DEPENDS versions to match upstream
- Remove unecessary limit to Python 2.x
- Enable concurrent installation

[1] https://bitbucket.org/andre_felipe_dias/rst2html5/issues/27/
[2] https://github.com/getnikola/nikola/issues/2657
[3] https://github.com/marianoguerra/rst2html5/issues/87

PR:            228414
Reported by:    roflik (via IRC)
Approved by:    koobs (python,  maintainer)
MFH:           2018Q2

OPNSense/core 3c38c26src/opnsense/scripts/shell setports.php

rc: reload filter as well in previous

FreeBSD/src 334018head/sys/i386/i386 trap.c, head/sys/i386/include pcpu.h

fix i386 builds after r334005 and r334009

r334005: add pc_ibpb_set as it is now referenced by common code
(although presumably not needed on i386 since it has been there
since the first spectre mitigation work on amd64)

r334009: there is no amd64 rflags -> i386 eflags

LLVM/llvm 332949www/trunk/devmtg/2017-10 index.html

 remove dead links.

LLVM/llvm 332948www/trunk/devmtg/2017-10 index.html

Add links to lightning talk video and slides above.

LLVM/llvm 332947llvm/trunk/lib/Target/WebAssembly WebAssemblyFastISel.cpp WebAssemblyMachineFunctionInfo.h, llvm/trunk/test/CodeGen/WebAssembly fast-isel-i256.ll fast-isel-i24.ll

[WebAssembly] Fix fast-isel lowering illegal argument and return types.

For both argument and return types, promote illegal types like i24 to i32,
and if a type can't be easily promoted, clear out the signature before
bailing out, so avoid leaving it in a partially complete state.

Fixes PR37546.

FreeBSD/ports 470593head/graphics/ocrad Makefile pkg-descr, head/graphics/ocrad/files patch-Makefile.in

graphics/ocrad: Install the header and the library

Port changes:
* Take maintainership
* Remove do-install because project's makefile installs files fine
* Adjust CONFIGURE_ARGS for man/info paths
* Add USE_LDCONFIG
* Remove MKDIR where it is not needed
* Unsilence the install command

FreeBSD/src 334017head/lib/libpmcstat libpmcstat.h, head/usr.sbin/pmcstat pmcpl_callgraph.c pmcstat.c

pmcstat: add option to not decode the leaf function in top mode

-I will allow the user to see the hot instruction in question
as opposed getting the name of the function

LLVM/llvm 332946www/trunk/devmtg/2017-10 index.html

Add lightning talk slides.

NetBSD/src kTbgQ24tests/kernel t_trapsignal.sh h_segv.c

   Extend ATF tests in t_trapsignal.sh to verify software breakpoint traps

   There are at least four types of SIGTRAP events:
    - software/hardware single step (trace trap)
    - software breakpoint
    - hardware breakpoint/watchpoint
    - kernel event (exec, fork, vfork, vfork-done, lwp-create, lwp-exit)

   A program can execute software breakpoint without the context of being
   traced and this is a regular crash signal emitting SIGTRAP (TRAP_BRKPT).

   Rename original trap_* tests (trap_simple, trap_handle, trap_mask,
   trap_handle_recurse and trap_ignore) to segv_* tests and restrict them for
   SIGSEGV.

   Add new tests: trap_* testing the same scenarios as segv_ ones, however
   verifying the software breakpoint trap (SIGTRAP).

   Keep the original name of h_segv.c, and extend it for software breakpoint
   events.

   The purpose of these tests is to verify SIGTRAP kernel paths without the
   ptrace(2) context.

   All tests pass.

    [2 lines not shown]
VersionDeltaFile
1.3+92-18tests/kernel/t_trapsignal.sh
1.4+46-11tests/kernel/h_segv.c
+138-292 files

LLVM/llvm 332945llvm/trunk/test/TableGen GlobalISelEmitter.td, llvm/trunk/utils/TableGen GlobalISelEmitter.cpp

[GlobalISel][InstructionSelect] Removing redundant num operands and nested def operands 
checks, perf patch 2

This patch continues a series of patches that decrease time spent by
GlobalISel in its InstructionSelect pass by roughly 60% for -O0 builds
for large inputs as measured on sqlite3-amalgamation
(http://sqlite.org/download.html) targeting AArch64.

This commit specifically removes number of operands checks that are
redundant if the instruction's opcode already guarantees that number
of operands (or more), and also avoids any kind of checks on a def
operand of a nested instruction as everything about it was already
checked at its use.

The expected performance implication is about 3% off InstructionSelect
comparing to the baseline (before the series of patches)

This patch also contains a bit of NFC changes required for further
patches in the series.

Every commit planned shares the same Phabricator Review.

Reviewers: qcolombet, dsanders, bogner, aemerson, javed.absar

Reviewed By: qcolombet

    [4 lines not shown]

LLVM/llvm 332944www/trunk/devmtg/2017-10/slides Reagan-Porting OpenVMS Using LLVM.pdf Jain-LLVM based Loop Profiler.pdf

add lightning talks

HardenedBSD/hardenedbsd 84740basys/amd64/amd64 trap.c machdep.c, sys/i386/i386 trap.c machdep.c

Merge remote-tracking branch 'origin/hardened/current/master' into 
hardened/current/unstable

* origin/hardened/current/master:
  Add an IPMI attachment for PowerNV systems
  Add a comment explaining the need of a global temporary variable
  Basic OPAL sensor support for POWER9 platforms
  top(1): unbreak build with gcc7; fix varargs
  Cleanups related to debug exceptions on x86.

LLVM/llvm 332943llvm/branches/release_60/lib/Target/X86 X86InstrArithmetic.td

[X86] Add hasSideEffects=0 back to ADOX instructions. Partial cherrypick from r328952.

This flag was present before the cherrypick of 328945. This matches what happened on 
trunk. I've left out the scheduling changes from r328952 to minimize changes from 6.0.1.

LLVM/llvm 332942www/trunk/devmtg/2017-10 index.html

Fix up links.

HardenedBSD/hardenedbsd 921c1dasys/amd64/amd64 trap.c machdep.c, sys/i386/i386 trap.c machdep.c

Merge branch 'freebsd/current/master' into hardened/current/master

* freebsd/current/master:
  Add an IPMI attachment for PowerNV systems
  Add a comment explaining the need of a global temporary variable
  Basic OPAL sensor support for POWER9 platforms
  top(1): unbreak build with gcc7; fix varargs
  Cleanups related to debug exceptions on x86.

FreeBSD/src 334016head/usr.sbin/bhyve pci_emul.c

We must free the variable str.

Spotted by:     clang's static analyzer
Submitted by:   Tom Rix <trix_juniper.net>
Reviewed by:    grehan
MFC after:      4 weeks
Sponsored by:   iXsystems Inc.
Differential Revision:  https://reviews.freebsd.org/D10009

LLVM/llvm 332941www/trunk/devmtg/2017-10 index.html

Add slides and more links to videos.

FreeBSD/src 334015head/sys/conf files.powerpc, head/sys/powerpc/powernv opal_ipmi.c opal.h

Add an IPMI attachment for PowerNV systems

IPMI access on PowerNV systems is done through the OPAL firmware.  This adds a
simple attachment for communicating with the FSP/BMC on these machines.  This
has been tested on a Talos POWER9 workstation, only in the bootup phase, noting
the successful attachment messages:

...
ipmi0: IPMI device rev. 0, firmware rev. 2.00, version 2.0, device support mask 0
ipmi0: Number of channels 2
...

The ipmi device has not been added to GENERIC64, but may be after further
testing.  It may also eventually be added to the ipmi module at that point.

HardenedBSD/hardenedbsd 0712c8csys/conf files.powerpc, sys/powerpc/powernv opal_ipmi.c opal.h

Add an IPMI attachment for PowerNV systems

IPMI access on PowerNV systems is done through the OPAL firmware.  This adds a
simple attachment for communicating with the FSP/BMC on these machines.  This
has been tested on a Talos POWER9 workstation, only in the bootup phase, noting
the successful attachment messages:

...
ipmi0: IPMI device rev. 0, firmware rev. 2.00, version 2.0, device support mask 0
ipmi0: Number of channels 2
...

The ipmi device has not been added to GENERIC64, but may be after further
testing.  It may also eventually be added to the ipmi module at that point.

Linux/linux a048a07arch/powerpc/include/asm exception-64s.h feature-fixups.h, arch/powerpc/kernel security.c exceptions-64s.S

powerpc/64s: Add support for a store forwarding barrier at kernel entry/exit

On some CPUs we can prevent a vulnerability related to store-to-load
forwarding by preventing store forwarding between privilege domains,
by inserting a barrier in kernel entry and exit paths.

This is known to be the case on at least Power7, Power8 and Power9
powerpc CPUs.

Barriers must be inserted generally before the first load after moving
to a higher privilege, and after the last store before moving to a
lower privilege, HV and PR privilege transitions must be protected.

Barriers are added as patch sections, with all kernel/hypervisor entry
points patched, and the exit points to lower privilge levels patched
similarly to the RFI flush patching.

Firmware advertisement is not implemented yet, so CPU flush types
are hard coded.

Thanks to Michal Suchánek for bug fixes and review.

Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
Signed-off-by: Mauricio Faria de Oliveira <mauricfo at linux.vnet.ibm.com>
Signed-off-by: Michael Neuling <mikey at neuling.org>

    [3 lines not shown]

HardenedBSD/hardenedbsd 5c65332sys/powerpc/pseries xics.c

Add a comment explaining the need of a global temporary variable

cpu_xirr is used only as a temporary location for the OPAL call in
PIC_DISPATCH().

Requested by:   nwhitehorn

FreeBSD/src 334014head/sys/powerpc/pseries xics.c

Add a comment explaining the need of a global temporary variable

cpu_xirr is used only as a temporary location for the OPAL call in
PIC_DISPATCH().

Requested by:   nwhitehorn

FreeBSD/src 334013svnadmin/conf access mentors

Welcome Leandro Lupori (luporl@) to the ranks of src committers

Leandro has tackled some of the more difficult bugs in low level POWER
bringup, and will continue his work on powerpc stability and performance
improvements.

Nathan Whitehorn (nwhitehorn) and I will mentor.

Approved by:    core

FreeBSD/src 334012svnadmin/conf access mentors

Welcome Breno Leitao (leitao@) to the ranks of src committers.

Breno has been working on POWER9 bringup, and will start his src journey in
the powerpc world.

Nathan Whitehorn (nwhitehorn) and I will be his mentors.

Approved by:    core

PC-BSD/trueos 48d7707. Jenkinsfile-master

When uploading ports, we want to try and keep ABI_DIR set on the
CDN. Make sure to get it from a built copy of /bin/sh
DeltaFile
+2-2Jenkinsfile-master
+2-21 files

NetBSD/src ibJrKbWlib/libc/sys sigaction.2

   Minor improvement in sigaction(2)

   Note that SIGCHLD covers process continued event.

   Sponsored by <The NetBSD Foundation>
VersionDeltaFile
1.50+3-3lib/libc/sys/sigaction.2
+3-31 files

LLVM/llvm 332940llvm/branches release_60, llvm/branches/release_60/lib/Target/X86 X86FlagsCopyLowering.cpp

Merge r332389 to pick up the fix for PR37431, a regression w/ the new EFLAGS lowering.

Required switching $regname to %regname in the MIR test and regenerating the
CHECKs for the other test.

PC-BSD/trueos f71e454. Jenkinsfile-master

Before building new base pkgs, clear out the old ones
DeltaFile
+1-0Jenkinsfile-master
+1-01 files

PC-BSD/trueos 3800030. Jenkinsfile-master

Upload ports / base to their correct locations
DeltaFile
+2-2Jenkinsfile-master
+2-21 files

LLVM/llvm 332939llvm/branches/release_60/lib/Target/X86 X86FlagsCopyLowering.cpp, llvm/branches/release_60/test/CodeGen/X86 flags-copy-lowering.mir copy-eflags.ll

Merge r330269 to fix egregiously bad codegeneration in the new EFLAGS lowering
that was defferred to a follow-up commit by me not understanding how part of
the x86 backend worked.

LLVM/llvm 332938llvm/branches release_60, llvm/branches/release_60/lib/Target/X86 X86FlagsCopyLowering.cpp

Merge r330264 for the fix to PR37100, a regression introduced with the new
EFLAGS lowering.

FreeNAS/freenas 5b576f2. Jenkinsfile, jenkins Jenkinsfile-PR Jenkins-depends.sh

Merge pull request #1220 from freenas/proper-pipeline

Add first pass attempt at a Jenkins pipeline which removes ixbuild

NetBSD/src LWIhy1eshare/misc acronyms

   Add M&O, ROM, and SWOT
VersionDeltaFile
1.273+4-1share/misc/acronyms
+4-11 files

LLVM/llvm 332937llvm/branches release_60, llvm/branches/release_60/lib/Target/X86 X86FlagsCopyLowering.cpp

Merge r329771, fixing $regname to be %regname.

LLVM/llvm 332936compiler-rt/trunk/cmake/Modules CompilerRTUtils.cmake

[CMake] Silence unused variable warning in compiler check

This is breaking the compiler check.

LLVM/llvm 332935lld/trunk/Common Args.cpp, lld/trunk/ELF Driver.cpp DriverUtils.cpp

Handle --plugin-opt= options as alias options.

Previously, we had a loop to iterate over options starting with
`--plugin-opt=` and parse them by hand. But we can make OptTable
do that job for us.

Differential Revision: https://reviews.llvm.org/D47167

LLVM/llvm 332934llvm/branches/release_60/lib/Target/X86 X86InstrInfo.td X86RegisterInfo.td, llvm/branches/release_60/lib/Target/X86/Disassembler X86Disassembler.cpp

Merge r329673, fixing test case to use %regname instead of $regname.

LLVM/llvm 332933llvm/branches/release_60/lib/Target/X86 X86FlagsCopyLowering.cpp, llvm/branches/release_60/test/CodeGen/X86 mul-i1024.ll flags-copy-lowering.mir

Merge r329657.

This is the main patch that introduced the new EFLAGS lowering infrastructure.
All the source merges were clean, but the tests required help to merge.
Specifically, I had to regenerate the CHECK lines in the tests (using the trunk
update_llc_test_checks.py script) because trunk has copy propagation that the
branch doesn't. I also had to update the MIR test to use the old MIR syntax for
physical registers (%name instead of $name).

NetBSD/src xPlI6tEshare/misc acronyms

   Fix spelling
VersionDeltaFile
1.272+3-3share/misc/acronyms
+3-31 files

FreeBSD/src 334011head/sys/conf files.powerpc, head/sys/powerpc/powernv opal_sensor.c opal.h

Basic OPAL sensor support for POWER9 platforms

Summary:
PowerNV architectures (in the test case POWER9) export sensors via the device
tree, which are accessed via OPAL calls.  This adds sysctl nodes for each
device in a generic fashion.  New sysctl nodes are:

dev.opal_sensor.N.sensor
dev.opal_sensor.N.sensor_min
dev.opal_sensor.N.sensor_max
dev.opal_sensor.N.type
dev.opal_sensor.N.label

These are rooted at a parent attachment under opal, called opalsens.  This does
not add support for the "sensor groups" defined in the device tree.

Reviewed by:    breno.leitao_gmail.com
Differential Revision: https://reviews.freebsd.org/D15362