Displaying 1 50 of 5,102,781 commits (0.264s)

FreeBSD — head/sbin/kldstat kldstat.c

kldstat: align "Size" to the right

This change also makes alignment and spacing an explicit number rather
than a bunch of spaces.

Reviewed by:        mmacy
Requested by:        Yuri Pankov <yuripv at yuripv.net>
Delta File
+2 -2 head/sbin/kldstat/kldstat.c
+2 -2 1 file

FreeBSD — head/sys/powerpc/aim moea64_native.c, head/sys/powerpc/include hid.h

On POWER9 clear the HID0_RADIX before enabling the page tables

POWER9 supports Radix page tables in addition to Hashed page tables.  When
Radix page tables are in use, the TLB is cut in half, so that half of the
TLB is used for the page walk cache.  This is the default behavior, however
FreeBSD currently does not support Radix tables.  Clear this bit so that we
can use the full TLB.  Do this in the MMU logic so that configuration can be
localized to the specific translation format.  Once we do support Radix
tables, the setup for that will be localized to the Radix MMU kobj.

FreeBSD — head/sys/powerpc/powernv opal_sensor.c

Fix a typo missed in r334232

LLVM — llvm/trunk/test/Assembler thinlto-bad-summary2.ll thinlto-bad-summary1.ll, llvm/trunk/test/Bitcode thinlto-function-summary-refgraph.ll thinlto-alias.ll

[ThinLTO] Fix a few more test match issues

Fix a few more bot failures due to r333335:
- don't match path other than file name, since the delimiter is
different for Windows
- The summary IDs in thinlto-function-summary-refgraph.ll may vary
and therefore can't be matched exactly, because the ordering depends
on the iteration order of the index map which is keyed by GUID. The GUID
for private values will depend on the path.

LLVM — llvm/trunk/test/Bitcode thinlto-function-summary-refgraph.ll

[ThinLTO] Fix another bot failure due to test mismatch

Don't try to match the exact GUID for private symbols, as the
hashed name includes the file path.

FreeBSD — head/sys/vm vm_fault.c

Use pmap_enter(..., psind=1) in vm_fault_populate() on amd64.  While
superpage mappings were already being created by automatic promotion in
vm_fault_populate(), this change reduces the cost of creating those
mappings.  Essentially, one pmap_enter(..., psind=1) call takes the place
of 512 pmap_enter(..., psind=0) calls, and that one pmap_enter(...,
psind=1) call eliminates the allocation of a page table page.

Reviewed by:        kib
MFC after:        10 days
Differential Revision:        https://reviews.freebsd.org/D15572
Delta File
+38 -18 head/sys/vm/vm_fault.c
+38 -18 1 file

HardenedBSD — sys/vm vm_fault.c

Use pmap_enter(..., psind=1) in vm_fault_populate() on amd64.  While
superpage mappings were already being created by automatic promotion in
vm_fault_populate(), this change reduces the cost of creating those
mappings.  Essentially, one pmap_enter(..., psind=1) call takes the place
of 512 pmap_enter(..., psind=0) calls, and that one pmap_enter(...,
psind=1) call eliminates the allocation of a page table page.

Reviewed by:        kib
MFC after:        10 days
Differential Revision:        https://reviews.freebsd.org/D15572
Delta File
+38 -18 sys/vm/vm_fault.c
+38 -18 1 file

LLVM — llvm/trunk/lib/IR AsmWriter.cpp

[ThinLTO] Fix bot failures from r333335

Change value in vector from StringRef to std::string to avoid errors
when trying to initialize from a std::string.
Delta File
+1 -1 llvm/trunk/lib/IR/AsmWriter.cpp
+1 -1 1 file

HardenedBSD — sys/powerpc/powernv opal_sensor.c

Correct a typo for opal temperature sensor type constant
Delta File
+2 -2 sys/powerpc/powernv/opal_sensor.c
+2 -2 1 file

FreeBSD — head/sys/powerpc/powernv opal_sensor.c

Correct a typo for opal temperature sensor type constant

LLVM — llvm/trunk/docs LangRef.rst, llvm/trunk/include/llvm/IR ModuleSummaryIndex.h

[ThinLTO] Print module summary index to assembly

Summary:
Implements AsmWriter support for printing the module summary index to
assembly with the format discussed in the RFC "LLVM Assembly format for
ThinLTO Summary".

Implements just enough of the parsing support to recognize and ignore
the summary entries. As agreed in the RFC thread, this will be the
behavior when assembling the IR. A follow on change will implement
parsing/assembling of the summary entries for use by tools that
currently build the summary index from bitcode.

Reviewers: dexonsmith, pcc

Subscribers: inglorion, eraman, steven_wu, dblaikie, llvm-commits

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

LLVM — cfe/trunk/lib/Sema SemaAttr.cpp

Test commit; please ignore.
Delta File
+1 -1 cfe/trunk/lib/Sema/SemaAttr.cpp
+1 -1 1 file

LLVM — llvm/trunk/tools/llvm-symbolizer llvm-symbolizer.cpp

[llvm-symbolizer] Simplify

LLVM — llvm/trunk/lib/Analysis MemorySSAUpdater.cpp MemorySSA.cpp

[MemorySSA] Reflow comments + clean up control flow; NFC

Style guide says `else`s after returns are iffy, and I agree. I also
don't know what broke the comments here and in CFLAA, but *shrug*.

LLVM — llvm/trunk/lib/Analysis CFLGraph.h

[CFLAA] Reflow comments; NFC

FreeBSD Ports — head/misc/freebsd-release-manifests pkg-plist Makefile, head/misc/freebsd-release-manifests/files/MANIFESTS amd64-amd64-11.2-BETA3 powerpc-powerpc64-11.2-BETA3

Add MANIFEST files for 11.2-BETA3.

Approved by:        bdrewery (maintainer, implicit, re blanket)
Sponsored by:        The FreeBSD Foundation

pkgsrc — doc CHANGES-2018

Updated cross/arm-none-eabi-gcc to 8.1.0
Delta File
+2 -1 doc/CHANGES-2018
+2 -1 1 file

pkgsrc — cross/arm-none-eabi-gcc PLIST distinfo

Update to 8.1.0

Update to latest GCC release.

FreeBSD Ports — branches/2018Q2/www/waterfox Makefile, branches/2018Q2/www/waterfox/files patch-bug1463244 patch-bug1462682

MFH: r470877

www/waterfox: apply some FF61 fixes

Approved by:        ports-secteam blanket

FreeBSD Ports — head/www/waterfox Makefile, head/www/waterfox/files patch-bug1463244 patch-bug1462682

www/waterfox: apply some FF61 fixes

FreeBSD Ports — head/emulators/citra distinfo Makefile

emulators/citra: update to s20180525

Changes:        https://github.com/citra-emu/citra/compare/e35c634f...03209efe

FreeBSD Ports — head/emulators/wine-devel pkg-plist distinfo

Update to Wine 3.9.  This includes the following changes:
 - OpenGL core contexts enabled by default in Direct 3D.
 - Beginnings of Direct 3D 12 implementation using vkd3d.
   (This is inactive for now due to a non-existant dependency, and hidden
   behind a new option VKD3D which is always off.)
 - More support for the Task Scheduler.
 - Some more Task Dialog support.
 - Better arrow support in GdiPlus.
 - Various bug fixes.

ext-ms-win-uxtheme-themes-l1-1-0.dll and feclient.dll which in the past were
available only via the Wine Staging patchset are now part of mainstream Wine.

HardenedBSD — sys/net iflib.h iflib.c

iflib: Add new shared flag: IFLIB_ADMIN_ALWAYS_RUN

ixl(4)'s nvmupdate utility expects the nvmupdate process to run
while the interface is down; these nvm update commands use the
admin queue, so the admin queue needs to be able to generate
interrupts and be processed while the interface is down.

So add a flag that ixl(4) sets that lets the entire admin task
run even when the interface is marked down/IFF_DRV_RUNNING isn't set.

With this change, nvmupdate should function like it did pre-iflib.

Reviewed by:        gallatin@, sbruno@
MFC after:        1 week
Sponsored by:        Intel Corporation
Differential Revision:        https://reviews.freebsd.org/D15575
Delta File
+4 -1 sys/net/iflib.h
+2 -1 sys/net/iflib.c
+6 -2 2 files

FreeBSD — head/sys/net iflib.h iflib.c

iflib: Add new shared flag: IFLIB_ADMIN_ALWAYS_RUN

ixl(4)'s nvmupdate utility expects the nvmupdate process to run
while the interface is down; these nvm update commands use the
admin queue, so the admin queue needs to be able to generate
interrupts and be processed while the interface is down.

So add a flag that ixl(4) sets that lets the entire admin task
run even when the interface is marked down/IFF_DRV_RUNNING isn't set.

With this change, nvmupdate should function like it did pre-iflib.

Reviewed by:        gallatin@, sbruno@
MFC after:        1 week
Sponsored by:        Intel Corporation
Differential Revision:        https://reviews.freebsd.org/D15575
Delta File
+4 -1 head/sys/net/iflib.h
+2 -1 head/sys/net/iflib.c
+6 -2 2 files

HardenedBSD — sys/powerpc/aim moea64_native.c

Only crop the VPN on POWER4 and derivatives for TLBIE operations

Summary:
PowerISA 2.03 and later require bits 14:65 in the RB register argument,
which is the full value of the vpn argument post-shift.  Only POWER4, POWER4+,
and PPC970* need the upper 16 bits cropped.

With this change FreeBSD can boot to multi-user on POWER9.

Reviewed by:        nwhitehorn
Differential Revision: https://reviews.freebsd.org/D15581
Delta File
+14 -1 sys/powerpc/aim/moea64_native.c
+14 -1 1 file

FreeBSD — head/sys/powerpc/aim moea64_native.c

Only crop the VPN on POWER4 and derivatives for TLBIE operations

Summary:
PowerISA 2.03 and later require bits 14:65 in the RB register argument,
which is the full value of the vpn argument post-shift.  Only POWER4, POWER4+,
and PPC970* need the upper 16 bits cropped.

With this change FreeBSD can boot to multi-user on POWER9.

Reviewed by:        nwhitehorn
Differential Revision: https://reviews.freebsd.org/D15581
Delta File
+14 -1 head/sys/powerpc/aim/moea64_native.c
+14 -1 1 file

NetBSD — etc/rc.d sshd

    Silence ssh-keygen output when host keys are generated. Instead, print only
    key fingerprints. This replaces dozens of lines out ASCII art output with
    something more reasonable:
    
    armv7# service sshd start
    ssh-keygen: 1024 SHA256:ynP4BQ2B0Fknnf9PfF4QoUDlYi0+7rNfYXTOYP2cDic root at armv7 (DSA)
    ssh-keygen: 521 SHA256:Eoj382aaJNlSxuq/aYj3AXgxfMJAkyVPoCQd2BNjJiA root at armv7 (ECDSA)
    ssh-keygen: 256 SHA256:+e9/qTbbN/g6xvkadtHsmIQ+Pc0afZRxbXJsk2HKIzY root at armv7 
(ED25519)
    ssh-keygen: 2048 SHA256:urNaF/m6oiCe5hXFZBxGLW2PvLz0ibtRFrqYw6R+qTw root at armv7 (RSA)
    ssh-keygen: 256 SHA256:Su2Nal2W3vrFz8ukpcSXngl1/bu6xUm1nSvbxTHe9Js root at armv7 (XMSS)
    Starting sshd.
Delta File
+3 -2 etc/rc.d/sshd
+3 -2 1 file

LLVM — libcxx/trunk/test/libcxx/atomics diagnose_nonnull.fail.cpp

Fix GCC handling of ATOMIC_VAR_INIT

r333325 from D47225 added warning checks, and the test was written to be C++11 correct by 
using ATOMIC_VAR_INIT (note that the committee fixed that recently...). It seems like GCC 
can't handle ATOMIC_VAR_INIT well because it generates 'type 'std::atomic<int>' cannot be 
initialized with an initializer list' on bot libcxx-libcxxabi-x86_64-linux-ubuntu-cxx03. 
Drop the ATOMIC_VAR_INITs since they weren't required to test the diagnostics.

LLVM — cfe/trunk/include/clang/StaticAnalyzer/Checkers Checkers.td, cfe/trunk/lib/StaticAnalyzer/Checkers CheckSecuritySyntaxOnly.cpp

[analyzer] Add security checks for bcmp(), bcopy(), bzero().

These functions are obsolete. The analyzer would advice to replace them with
memcmp(), memcpy() or memmove(), or memset().

Patch by Tom Rix!

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

LLVM — libcxx/trunk/include atomic __config, libcxx/trunk/test/libcxx/atomics diagnose_nonnull.fail.cpp

Add nonnull; use it for atomics

Summary:
The atomic non-member functions accept pointers to std::atomic / std::atomic_flag as well 
as to the non-atomic value. These are all dereferenced unconditionally when lowered, and 
therefore will fault if null. It's a tiny gotcha for new users, especially when they pass 
in NULL as expected value (instead of passing a pointer to a NULL value). We can therefore 
use the nonnull attribute to denote that:

  - A warning should be generated if the argument is null
  - It is undefined behavior if the argument is null (because a dereference will segfault)

This patch adds support for this attribute for clang and GCC, and sticks to the subset of 
the syntax both supports. In particular, work around this GCC oddity:
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60625

The attributes are documented:

  - https://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Function-Attributes.html
  - https://clang.llvm.org/docs/AttributeReference.html#nullability-attributes

I'm authoring a companion clang patch for the __c11_* and __atomic_* builtins, which 
currently only warn on a subset of the pointer parameters.

In all cases the check needs to be explicit and not use the empty nonnull list, because 

    [9 lines not shown]

LLVM — cfe/trunk/include/clang/AST ASTContext.h

Fix typo + reflow comment; NFC

Reflow brings said comment below 80 cols

LLVM — llvm/trunk/include/llvm/Transforms/Scalar SCCP.h, llvm/trunk/lib/Transforms/IPO SCCP.cpp

Revert r333268: [IPSCCP] Use PredicateInfo to propagate facts from...

Reverting this to see if this is causing the failures of the
clang-with-thin-lto-ubuntu bot.

[IPSCCP] Use PredicateInfo to propagate facts from cmp instructions.

This patch updates IPSCCP to use PredicateInfo to propagate
facts to true branches predicated by EQ and to false branches
predicated by NE.

As a follow up, we should be able to extend it to also propagate additional
facts about nonnull.

Reviewers: davide, mssimpso, dberlin, efriedma

Reviewed By: davide, dberlin

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

LLVM — lldb/trunk/lldb.xcodeproj project.pbxproj

Fix Xcode build broken by SystemInitializerFull.h move

HardenedBSD — sys/cam cam_iosched.c

MFC r323829
  cam iosched: Add a handler for the quanta sysctl to enforce valid
               values

MFC r323831
    cam iosched: Schedule cam_iosched_ticker() quanta times per second

PR:                221956 221957
Submitted by:        imp
Approved by:        re (marius)
Delta File
+27 -6 sys/cam/cam_iosched.c
+27 -6 1 file

FreeBSD — stable/11/sys/cam cam_iosched.c

MFC r323829
  cam iosched: Add a handler for the quanta sysctl to enforce valid
               values

MFC r323831
    cam iosched: Schedule cam_iosched_ticker() quanta times per second

PR:                221956 221957
Submitted by:        imp
Approved by:        re (marius)
Delta File
+27 -6 stable/11/sys/cam/cam_iosched.c
+27 -6 1 file

FreeBSD Ports — head/www/fabio distinfo Makefile

Update www/fabio to 1.5.9

Submitted by:        seanc
Reviewed by:        mat
Approved by:        mat, maintainer
Sponsored by:        Joyent, Inc.
Differential Revision:        https://reviews.freebsd.org/D15464

NetBSD — sys/arch/powerpc/include cpu.h, sys/arch/powerpc/oea cpu_subr.c

copy HID1 from the boot CPU to secondary CPUs as well on 64bit CPUs
now the 2nd CPU on my G5s runs at full speed

LLVM — cfe/trunk/include/clang/Basic BuiltinsX86.def

[X86] Add const to another builtin that was missed from r331814.

FreeBSD Ports — head/sysutils/mcelog distinfo Makefile, head/sysutils/mcelog/files patch-memdb.c

* Updated to v158

FreeBSD Ports — head/textproc/py-parso distinfo Makefile

* Updated to 0.2.1

LLVM — cfe/trunk/include/clang/Basic BuiltinsX86.def

[X86] Correct the target features on two avx512bw builtins that were incorrectly labeled 
as avx512f.

LLVM — cfe/trunk/lib/CodeGen CGDebugInfo.cpp CGDebugInfo.h, cfe/trunk/test/CodeGen md5-checksum-crash.c

Revert "[DebugInfo] Don't bother with MD5 checksums of preprocessed files."

This reverts commit d734f2aa3f76fbf355ecd2bbe081d0c1f49867ab.
Also known as r333311.  A very small but nonzero number of bots fail.

LLVM — cfe/trunk/include/clang/Basic BuiltinsX86.def

[X86] Mark a few more builtins const that were missed in r331814.

HardenedBSD — lib/libpmcstat Makefile

META_MODE: Fix trying to rebuild jevents due to missing .meta file.

The tool is built separately in buildworld in a subdirectory rather than
how other build-tools are done.  Subdirectory builds in lib/libpmcstat
remain broken since the tool cannot be auto-built from here.
Delta File
+3 -0 lib/libpmcstat/Makefile
+3 -0 1 file

FreeBSD — head/lib/libpmcstat Makefile

META_MODE: Fix trying to rebuild jevents due to missing .meta file.

The tool is built separately in buildworld in a subdirectory rather than
how other build-tools are done.  Subdirectory builds in lib/libpmcstat
remain broken since the tool cannot be auto-built from here.
Delta File
+3 -0 head/lib/libpmcstat/Makefile
+3 -0 1 file

HardenedBSD — lib/libpmcstat Makefile

Use proper BTOOLSPATH for build-tools path.
Delta File
+1 -5 lib/libpmcstat/Makefile
+1 -5 1 file

FreeBSD — head/lib/libpmcstat Makefile

Use proper BTOOLSPATH for build-tools path.
Delta File
+1 -5 head/lib/libpmcstat/Makefile
+1 -5 1 file

FreeBSD Ports — head/graphics/seexpr Makefile

- seexpr is not compatible with python3
- fix build with DEFAULT_VERSIONS=python=3.x
Delta File
+2 -1 head/graphics/seexpr/Makefile
+2 -1 1 file

FreeBSD — head/lib/libpmcstat/pmu-events Makefile

Cleanup style

HardenedBSD — lib/libpmcstat/pmu-events Makefile

Cleanup style