Displaying 1 50 of 306,589 commits (0.062s)

FreeBSD — head/sys/dev/hyperv/storvsc hv_storvsc_drv_freebsd.c

hyperv/storvsc: Minor style changes; no functional changes.

Reported by:        rpokala
MFC after:        1 week
Sponsored by:        Microsoft

FreeBSD — stable/11/sys/powerpc/include cpufunc.h

MFC r309167:

  Add an isync to after mtsrin, required by the MPC750 errata

FreeBSD — head/sys/dev/hyperv/storvsc hv_storvsc_drv_freebsd.c

hyperv/storvsc: Fix the SCSI disk attachment issue.

On pre-WS2016 Hyper-V, if the only LUNs > 7 are used, then all disks
fails to attach.  Mainly because those versions of Hyper-V do not set
SRB_STATUS properly and deliver junky INQUERY responses.

Submitted by:        Hongjiang Zhang <honzhan microsoft com>
Reported by:        Hongxiong Xian <v-hoxian microsoft com>
MFC after:        1 week
Sponsored by:        Microsoft
Differential Revision:        https://reviews.freebsd.org/D8724

FreeBSD — head/sys/dev/cxgbe t4_main.c t4_netmap.c

cxgbe(4): netmap does not set IFCAP_NETMAP in an ifnet's if_capabilities
any more (since r307394).  Do it in the driver instead.

MFC after:        1 week

FreeBSD — stable/10/sys/conf files, stable/10/sys/dev/cxgbe t4_main.c

MFC 309613: cxgbe(4): Update firmwares from version 1.16.12.0 to 1.16.22.0.

Sponsored by:        Chelsio Communications

FreeBSD — head/usr.sbin/nfsd nfsd.c

Patch the nfsd so that it doesn't register with rpcbind for an NFSv4 only
server.

This patch uses the sysctl vfs.nfsd.server_min_nfsvers to determine
if/what versions of NFS service should be registered with rpcbind.
For NFSv4 only, it does not register at all, since NFSv4 always uses 2049
and does not require rpcbind.
For NFSv3 minimum, it registers NFSv3 but not NFSv2.

Tested by:        jmader2 at gmu.edu
Submitted by:        jmader2 at gmu.edu (earlier version)
MFC after:        2 weeks
Differential Revision:        https://reviews.freebsd.org/D8696
Delta File
+80 -25 head/usr.sbin/nfsd/nfsd.c
+80 -25 1 file

FreeBSD — head/contrib/llvm/lib/Analysis LazyValueInfo.cpp

Pull in r281586 from upstream llvm trunk (by Wei Mi):

  Add some shortcuts in LazyValueInfo to reduce compile time of
  Correlated Value Propagation.

  The patch is to partially fix PR10584. Correlated Value Propagation
  queries LVI to check non-null for pointer params of each callsite. If
  we know the def of param is an alloca instruction, we know it is
  non-null and can return early from LVI. Similarly, CVP queries LVI to
  check whether pointer for each mem access is constant. If the def of
  the pointer is an alloca instruction, we know it is not a constant
  pointer. These shortcuts can reduce the cost of CVP significantly.

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

This significantly reduces memory usage and compilation time when
compiling a particular C++ source file of the graphics/colmap port.

PR:                215136
MFC after:        3 days

FreeBSD — head/sys/dev/usb/wlan if_rsureg.h

rsu: fix incorrect register addresses.
Delta File
+5 -5 head/sys/dev/usb/wlan/if_rsureg.h
+5 -5 1 file

FreeBSD — head/usr.sbin/bsdinstall/scripts wlanconfig

Functions in their own section

FreeBSD — head/usr.sbin/bsdinstall/scripts wlanconfig

Remove unnecessary trailing backslashes

FreeBSD — head/cddl/usr.sbin/dtrace/tests/tools exclude.sh

err.D_PROC_CREATEFAIL.many.d passes, so remove the EFAIL annotation.

MFC after:        1 week
Sponsored by:        Dell EMC Isilon

FreeBSD — head/sys/net route.c

Fix the typos and style(9) in comment.

MFC after:        2 weeks
Sponsored by:        Rubicon Communications, LLC (Netgate)
Delta File
+2 -3 head/sys/net/route.c
+2 -3 1 file

FreeBSD — head/usr.sbin/bsdinstall/scripts wlanconfig

Add support for "hidden" Wi-Fi networks

PR:                bin/214933
Submitted by:        Maxim Filimonov <che at bein.link>
Reviewed by:        dteske, allanjude, adrian
MFC after:        6 days
X-MFC-with:        Follow-up commit for style

FreeBSD — head/sys/mips/ingenic jz4780_codec.c jz4780_codec.h

Add jz4780 internal codec initialization driver.

Sponsored by:        DARPA, AFRL

FreeBSD — head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zio.c

Fix spa_alloc_tree sorting by offset in r305331.

Original commit "7090 zfs should improve allocation order" declares alloc
queue sorted by time and offset.  But in practice io_offset is always zero,
so sorting happened only by time, while order of writes with equal time was
completely random.  On Illumos this did not affected much thanks to using
high resolution timestamps.  On FreeBSD due to using much faster but low
resolution timestamps it caused bad data placement on disks, affecting
further read performance.

This change switches zio_timestamp_compare() from comparing uninitialized
io_offset to really populated io_bookmark values.  I haven't decided yet
what to do with timestampts, but on simple tests this change gives the
same peformance results by just making code to work as declared.

MFC after:        1 week

FreeBSD — stable/11/sbin/ipfw ipfw2.c

MFC r309281:

Fix 'ipfw delete set N':
do not emit meaningless 'rule 0 not found' warning if set was already empty.
Delta File
+1 -1 stable/11/sbin/ipfw/ipfw2.c
+1 -1 1 file

FreeBSD — head/sys/dev/drm2/i915 i915_gem.c

Use the populate() driver paging method for i915 driver.

In particular, the fault access type is accounted for when the
aperture page is moved to GTT domain.  On the other hand, the current
pager structure is left intact, most important, only one page is
instantiated per populate call.

Reviewed by:        alc
Sponsored by:        The FreeBSD Foundation
MFC after:        3 weeks
Delta File
+19 -52 head/sys/dev/drm2/i915/i915_gem.c
+19 -52 1 file

FreeBSD — head/sys/vm phys_pager.c

Implement the populate() pager method for phys pager.

It allows to provide configurable agressive prefaulting and useful
hints to page daemon about memory allocations, on faults for pages
managed by phys pager.  In fact, this implementation is superior to
the MAP_SHARED_PHYS hack from my Postgresql paper, while giving
similar benefits of reducing the page faults numbers on SysV shared
memory mappings.

Reviewed by:        alc
Tested by:        pho
Sponsored by:        The FreeBSD Foundation
MFC after:        3 weeks
Delta File
+84 -11 head/sys/vm/phys_pager.c
+84 -11 1 file

FreeBSD — head/sys/vm vm_fault.c device_pager.c

Add a new populate() pager method and extend device pager ops vector
with cdev_pg_populate() to provide device drivers access to it.  It
gives drivers fine control of the pages ownership and allows drivers
to implement arbitrary prefault policies.

The populate method is called on a page fault and is supposed to
populate the vm object with the page at the fault location and some
amount of pages around it, at pager's discretion.  VM provides the
pager with the hints about current range of the object mapping, to
avoid instantiation of immediately unused pages, if pager decides so.
Also, VM passes the fault type and map entry protection to the pager,
allowing it to force the optimal required ownership of the mapped
pages.

Installed pages must contiguously fill the returned region, be fully
valid and exclusively busied.  Of course, the pages must be compatible
with the object' type.

After populate() successfully returned, VM fault handler installs as
many instantiated pages into the process page tables as it sees
reasonable, while still obeying the correct semantic for COW and vm
map locking.

The method is opt-in, pager sets OBJ_POPULATE flag to indicate that
the method can be called.  If pager' vm objects can be shadowed, pager

    [13 lines not shown]

FreeBSD — head/sys/vm vm_fault.c

Move map_generation snapshot value into struct faultstate.

Reviewed by:        alc
Tested by:        pho
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week
Delta File
+4 -3 head/sys/vm/vm_fault.c
+4 -3 1 file

FreeBSD — head/sys/vm phys_pager.c

Style.

Reviewed by:        alc
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week
Delta File
+4 -10 head/sys/vm/phys_pager.c
+4 -10 1 file

FreeBSD — head/sys/net80211 ieee80211_freebsd.h

[net80211] add a field for storing a 64 bit TSC.

FreeBSD — head/sys/net80211 ieee80211_freebsd.h

[net80211] begin fleshing out support for channel survey information to be
pushed back up into net80211.

FreeBSD — head/sys/dev/hyperv/include hyperv.h, head/sys/dev/hyperv/utilities hv_timesync.c vmbus_icreg.h

hyperv/timesync: Support "sent TC" to improve accuracy.

MFC after:        1 week
Sponsored by:        Microsoft
Differential Revision:        https://reviews.freebsd.org/D8723

FreeBSD — head/sys/dev/hyperv/vmbus vmbus_chan.c

hyperv/vmbus: Utilize vmbus_chan_run_task()

MFC after:        1 week
Sponsored by:        Microsoft
Differential Revision:        https://reviews.freebsd.org/D8686

FreeBSD — head/sys/amd64/amd64 pmap.c, head/sys/arm64/arm64 pmap.c

Previously, vm_radix_remove() would panic if the radix trie didn't
contain a vm_page_t at the specified index.  However, with this
change, vm_radix_remove() no longer panics.  Instead, it returns NULL
if there is no vm_page_t at the specified index.  Otherwise, it
returns the vm_page_t.  The motivation for this change is that it
simplifies the use of radix tries in the amd64, arm64, and i386 pmap
implementations.  Instead of performing a lookup before every remove,
the pmap can simply perform the remove.

Reviewed by:        kib, markj
Differential Revision:        https://reviews.freebsd.org/D8708

FreeBSD — stable/10/contrib/libarchive/libarchive archive_write_disk_posix.c, stable/10/contrib/libarchive/tar/test test_symlink_dir.c

Partial MFC r309300:

Apply fix for libarchive issue #821:
  "tar -P" cannot extract hardlinks through symlinks

PR:                213255
Reported by:        Tijl Coosemans <tilj at FreeBSD.org>

FreeBSD — stable/11/contrib/libarchive/libarchive archive_write_disk_posix.c, stable/11/contrib/libarchive/tar/test test_symlink_dir.c

Partial MFC r309300:

Apply fix for libarchive issue #821:
  "tar -P" cannot extract hardlinks through symlinks

PR:                213255
Reported by:        Tijl Coosemans <tilj at FreeBSD.org>

FreeBSD — head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n tst.func.ksh tst.mod.ksh

Use the correct path to date(1).

MFC after:        1 week
Sponsored by:        Dell EMC Isilon

FreeBSD — head/cddl/usr.sbin/dtrace/tests/tools dtest.sh

Run DTrace test scripts with "tst" set to the test script file name.

MFC after:        1 week
Sponsored by:        Dell EMC Isilon

FreeBSD — releng/9.3 UPDATING, releng/9.3/lib/libc/net linkaddr.c

Merge r309688: address regressions in SA-16:37.libc.

PR:                215105
Submitted by:        <jtd2004a sbcglobal.net>
Approved by:        so

FreeBSD — releng/10.1 UPDATING, releng/10.1/lib/libc/net linkaddr.c

Merge r309688: address regressions in SA-16:37.libc.

PR:                215105
Submitted by:        <jtd2004a sbcglobal.net>
Approved by:        so

FreeBSD — head/sys/net80211 ieee80211_superg.c

net80211: remove obsolete comment.

The described LOR should be fixed in r302283.

FreeBSD — releng/10.2 UPDATING, releng/10.2/lib/libc/net linkaddr.c

Merge r309688: address regressions in SA-16:37.libc.

PR:                215105
Submitted by:        <jtd2004a sbcglobal.net>
Approved by:        so

FreeBSD — releng/10.3 UPDATING, releng/10.3/lib/libc/net linkaddr.c

Merge r309688: address regressions in SA-16:37.libc.

PR:                215105
Submitted by:        <jtd2004a sbcglobal.net>
Approved by:        so

FreeBSD — releng/11.0 UPDATING, releng/11.0/lib/libc/net linkaddr.c

Merge r309688: address regressions in SA-16:37.libc.

PR:                215105
Submitted by:        <jtd2004a sbcglobal.net>
Approved by:        so

FreeBSD — stable/9/lib/libc/net linkaddr.c

Merge rr309688: address regressions in SA-16:37.libc.

PR:                215105
Submitted by:        <jtd2004a sbcglobal.net>
Delta File
+5 -6 stable/9/lib/libc/net/linkaddr.c
+5 -6 1 file

FreeBSD — stable/10/lib/libc/net linkaddr.c

Merge rr309688: address regressions in SA-16:37.libc.

PR:                215105
Submitted by:        <jtd2004a sbcglobal.net>
Delta File
+5 -6 stable/10/lib/libc/net/linkaddr.c
+5 -6 1 file

FreeBSD — stable/11/lib/libc/net linkaddr.c

Merge rr309688: address regressions in SA-16:37.libc.

PR:                215105
Submitted by:        <jtd2004a sbcglobal.net>
Delta File
+5 -6 stable/11/lib/libc/net/linkaddr.c
+5 -6 1 file

FreeBSD — head/lib/libc/net linkaddr.c

Address regressions in SA-16:37.libc.

PR:                215105
Submitted by:        <jtd2004a sbcglobal.net>
Delta File
+5 -6 head/lib/libc/net/linkaddr.c
+5 -6 1 file

FreeBSD — head/sys/dev/usb/wlan if_run.c

Switch if_run.c to use a bitmap for debug levels rather than arbitrary
values. This more closely matches other wifi drivers in the tree.
The bitmap levels have been based closely on other drivers (primarily
[u]rtwn(4)) in the hope that one day these can be unified into a shared
wifi-debug framework.

This is the first step of several pieces of work I'm planning on doing
with the run(4) driver. I may well adjust and refine some of the debug
bitmaps at a later date.

Reviewed by:        adrian, avos
Differential Revision:        https://reviews.freebsd.org/D8704
Delta File
+166 -94 head/sys/dev/usb/wlan/if_run.c
+166 -94 1 file

FreeBSD — head/sys/dev/ath if_ath_keycache.c, head/sys/dev/mwl if_mwl.c

net80211 + drivers: convert to ieee80211_crypto_get_key_wepidx().

Proposed by:        adrian

FreeBSD — head/sys/netinet sctp_output.c

Silence a warning produced by newer versions of gcc.

MFC after:        1 week
Delta File
+2 -0 head/sys/netinet/sctp_output.c
+2 -0 1 file

FreeBSD — head/sbin/nvmecontrol logpage.c

Fix Typo
Delta File
+1 -1 head/sbin/nvmecontrol/logpage.c
+1 -1 1 file

FreeBSD — head/lib/libc/net sctp_sys_calls.c

Fix a bug in sctp_sendmsgx(), where the sid provided by the user
was hot honored.

MFC after:        3 days

FreeBSD — head/sys/netinet sctp_indata.c sctp_output.c

Cleanup the names of SSN, SID, TSN, FSN, PPID and MID.

This made a couple of bugs visible in handling SSN wrap-arounds
when using DATA chunks. Now bulk transfer seems to work fine...
This fixes the issue reported in
https://github.com/sctplab/usrsctp/issues/111

MFC after:        1 week

FreeBSD — stable/9/release/doc/share/xml security.xml

Fix whitespace nit, not functional changes.

Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/10/release/doc/share/xml security.xml errata.xml, stable/11/release/doc/share/xml errata.xml security.xml

Document EN-16:19, EN-16:20, EN-16:21, SA-16:36, SA-16:37, SA-16:38.

Sponsored by:        The FreeBSD Foundation

FreeBSD — head/contrib/elftoolchain/readelf readelf.c

readelf(1) -S: Include zero index and match binutils' no-name

Include the SHN_UNDEF (zero) index special section in extended-attribute
ELF files, like GNU binutils' readelf.

Additionally, print "<no-name>" for sections without names, like GNU
binutils.

Reviewed by:        kaiw@
Sponsored by:        Dell EMC Isilon
Differential Revision:        https://reviews.freebsd.org/D8707

FreeBSD — head/sys/kern init_sysent.c syscalls.c, head/sys/sys syscall.h syscall.mk

Regnerate system-call definitions following r309677 correcting a whitespace
glitch in syscalls.master.