Displaying 1 50 of 278,129 commits (0.129s)

FreeBSD — head/sys/powerpc/booke machdep.c

CCSRBAR_VA is mpc85xx-specific, so add guards, and include the proper header
file for it.

MFC after:        1 month
Delta File
+6 -0 head/sys/powerpc/booke/machdep.c
+6 -0 1 file

FreeBSD — head/sys/dev/nand nfc_fsl.c

machine/fdt.h no longer exists for powerpc.

MFC after:        1 month
Delta File
+0 -1 head/sys/dev/nand/nfc_fsl.c
+0 -1 1 file

FreeBSD — head/tools/build/mk OptionalObsoleteFiles.inc

- Remove more files when MK_ZONEINFO == no

MFC after:        1 week
Reviewed by:        ngie
Approved by:        ngie
Differential Revision:        D1600

FreeBSD — head/tools/build/mk OptionalObsoleteFiles.inc

- Remove more files when MK_LEGACY_CONSOLE == no

MFC after:        1 week
Reviewed by:        ngie
Approved by:        ngie
Differential Revision:        D1600

FreeBSD — head/tools/build/mk OptionalObsoleteFiles.inc

- Remove more files when MK_KERBEROS_SUPPORT == no

MFC after:        1 week
Reviewed by:        ngie
Approved by:        ngie
Differential Revision:        D1600

FreeBSD — head/tools/build/mk OptionalObsoleteFiles.inc

- Remove more files when MK_KDUMP == no

MFC after:        1 week
Reviewed by:        ngie
Approved by:        ngie
Differential Revision:        D1600

FreeBSD — head/tools/build/mk OptionalObsoleteFiles.inc

- Remove more files when MK_JAIL == no

MFC after:        1 week
Reviewed by:        ngie
Approved by:        ngie
Differential Revision:        D1600

FreeBSD — head/release/tools ec2.conf

It would help if I committed the right patch...
Delta File
+1 -1 head/release/tools/ec2.conf
+1 -1 1 file

FreeBSD — head/tools/build/mk OptionalObsoleteFiles.inc

- Remove more files when MK_CASPER == no

MFC after:        1 week
Reviewed by:        ngie
Approved by:        ngie
Differential Revision:        D1600

FreeBSD — head/cddl/contrib/opensolaris/lib/libdtrace/common dt_consume.c

Fix a misparenthesization that could cause a crash if TERM is not set.

Reported by:        Coverity (internal)
MFC after:        3 days
Sponsored by:        EMC / Isilon Storage Division

FreeBSD — head/release/tools gce.conf

Partially revert r278118 now that the required logic for deciding whether
freebsd-update can be useful has moved into the firstboot_freebsd_update
script.
Delta File
+1 -8 head/release/tools/gce.conf
+1 -8 1 file

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

Provide workaround for a performance issue with the popcnt instruction
on Intel processors.  Clear spurious dependency by explicitely xoring
the destination register of popcnt.

Use bitcount64() instead of re-implementing SWAR locally, for
processors without popcnt instruction.

Reviewed by:        jhb
Discussed with:        jilles (previous version)
Sponsored by:        The FreeBSD Foundation
Delta File
+24 -17 head/sys/amd64/amd64/pmap.c
+24 -17 1 file

FreeBSD — head/release Makefile.vm, head/release/tools ec2.conf

Add bits for building EC2 disk images.  Make logic for uploading these
to create EC2 AMIs will come in a later commit.

FreeBSD — head/sys/dev/cxgbe/tom t4_cpl_io.c

cxgbe/tom: return rx credits promptly if the socket buffer's low water
mark cannot be reached because the window advertised to the peer isn't
wide enough.  While here, tweak the normal credit return too.

MFC after:        1 month
Delta File
+14 -8 head/sys/dev/cxgbe/tom/t4_cpl_io.c
+14 -8 1 file

FreeBSD — stable/9/sys/amd64/amd64 trap.c

MFC r280780:
The #ss fault handler erronously does not check for the fault
originated from the return to usermode. #ss must be handled same as
#np.
Delta File
+0 -2 stable/9/sys/amd64/amd64/trap.c
+0 -2 1 file

FreeBSD — stable/10/sys/amd64/amd64 machdep.c

MFC r280781:
Make it possible for the signal handler to act on #ss.  Load the
canonical user data segment' selector into %ss when calling the
handler.

FreeBSD — stable/10/sys/amd64/amd64 trap.c

MFC r280780:
The #ss fault handler erronously does not check for the fault
originated from the return to usermode. #ss must be handled same as
#np.
Delta File
+0 -2 stable/10/sys/amd64/amd64/trap.c
+0 -2 1 file

FreeBSD — stable/10/sys/x86/iommu intel_gas.c

MFC r280435:
When mapping an allocated entry, use the entry size, instead of the
requested size.  If tag restrictions caused split entry, its size is
less then requsted.

FreeBSD — stable/10/sys/x86/iommu intel_idpgtbl.c

MFC r280434:
Assert that the mapping loop makes progress.

FreeBSD — head/sys/kern kern_timeout.c, head/sys/sys callout.h

Adopt jhb's suggested changes, updated comments and callout_migration() moving
to kern/kern_timeout.c

This does *not* address his -1 -> NOCPU comment.

Sponsored by:        Netflix Inc.

FreeBSD — head/sys/sys _callout.h

Change the c_iflags and c_flags fields to short rather then int. This
allows us to keep the KPI the same.

Discussed and brain-stormed with imp (thanks for the help Warner!)
Sponsored by:        Netflix Inc.
Delta File
+2 -2 head/sys/sys/_callout.h
+2 -2 1 file

FreeBSD — head/contrib/libarchive/libarchive archive_read_disk_posix.c

Fix --one-file-system to include the directory encountered rather than
excluding it.  This was broken in 3.0.4 (r238856).

Obtained from:        https://github.com/libarchive/libarchive/commit/fa9e61
MFC after:        3 days
Sponsored by:        EMC / Isilon Storage Division

FreeBSD — head/sys/kern vnode_if.src, head/sys/vm vnode_pager.c

Catch up on r271387 and remove unused parameter from
VOP_GETPAGES_ASYNC().

FreeBSD — head/sys/arm/arm cpufunc.c

Restore setting cpufuncs on arm1176, it was removed by accident with the
arm1136 code.

Reviewed by:        ian
Delta File
+1 -0 head/sys/arm/arm/cpufunc.c
+1 -0 1 file

FreeBSD — head/contrib/llvm/patches patch-11-llvm-r231227-aarch64-tls-relocs.diff

Add llvm patch corresponding to r280865.

FreeBSD — head/sys/amd64/amd64 mp_machdep.c, head/sys/i386/i386 mp_machdep.c

Wait 100 microseconds for a local APIC to dispatch each startup-related IPI
rather than 20.  The MP 1.4 specification states in Appendix B.2:

  "A period of 20 microseconds should be sufficient for IPI dispatch to
   complete under normal operating conditions".

(Note that this appears to be separate from the 10 millisecond (INIT) and
200 microsecond (STARTUP) waits after the IPIs are dispatched.)  The
Intel SDM is silent on this issue as far as I can tell.

At least some hardware requires 60 microseconds as noted in the PR, so
bump this to 100 to be on the safe side.

PR:                197756
Reported by:        zaphod at berentweb.com
MFC after:        1 week

FreeBSD — head/contrib/llvm/lib/Target/AArch64 AArch64ISelLowering.cpp AArch64AsmPrinter.cpp, head/contrib/llvm/lib/Target/AArch64/Utils AArch64BaseInfo.h

llvm: Backport upstream r229195 to fix arm64 TLS relocations

  As is described at http://llvm.org/bugs/show_bug.cgi?id=22408, the GNU
  linkers ld.bfd and ld.gold currently only support a subset of the
  whole range of AArch64 ELF TLS relocations. Furthermore, they assume
  that some of the code sequences to access thread-local variables are
  produced in a very specific sequence.  When the sequence is not as the
  linker expects, it can silently mis-relaxe/mis-optimize the
  instructions.
  Even if that wouldn't be the case, it's good to produce the exact
  sequence, as that ensures that linkers can perform optimizing
  relaxations.

  This patch:

  * implements support for 16MiB TLS area size instead of 4GiB TLS area
    size. Ideally clang would grow an -mtls-size option to allow support
    for both, but that's not part of this patch.
  * by default doesn't produce local dynamic access patterns, as even
    modern ld.bfd and ld.gold linkers do not support the associated
    relocations. An option (-aarch64-elf-ldtls-generation) is added to
    enable generation of local dynamic code sequence, but is off by
    default.
  * makes sure that the exact expected code sequence for local dynamic
    and general dynamic accesses is produced, by making use of a new

    [7 lines not shown]

FreeBSD — head/contrib/libc++/include type_traits

Pull in r233552 from upstream libc++ trunk (by Eric Fiselier):

  [libcxx] Fix PR22771 - Support access control SFINAE in the library
  version of is_convertible.

  Summary:
  Currently the conversion check does not take place in a context where
  access control SFINAE is applied. This patch changes the context of
  the test expression so that SFINAE occurs if access control does not
  permit the conversion.

  Related bug: https://llvm.org/bugs/show_bug.cgi?id=22771

  Reviewers: mclow.lists, rsmith, dim

  Reviewed By: dim

  Subscribers: dim, rodrigc, emaste, cfe-commits

  Differential Revision: http://reviews.llvm.org/D8461

This fixes building clang, and other programs using libc++, with newer
versions of gcc (specifically, gcc 4.8 and higher).

Reported by:        rodrigc
MFC after:        1 week

FreeBSD — projects/em_mq/share/man/man4 em.4, projects/em_mq/sys/conf options NOTES

Capture the current state of Phabricator Review D1994.

em(4) has multiqueue support, toggle the right compile bits
to enable the support. Update man page with instructions and flush
out missing hw.em tuneables.

Increase the number of MSI-X vectors to 5 for 82574L when used in MQ
mode. (erj@)

Add RSS logic and turn it on in h/w. Inspired and taken from DragonFly emx(4)
driver.

Break up the RX and TX queues into seperate configuration entities.  It
is desireable in some cases to have these as seperate knobs.  It may be
required on certain adapters for this functionality to work.

FreeBSD — head/lib/libthr/arch/aarch64 include, head/lib/libthr/arch/aarch64/include pthread_md.h

Add pthread_md.h for arm64.

Differential Revision:        https://reviews.freebsd.org/D2137
Reviewed by:        kib
Sponsored by:        The FreeBSD Foundation
Delta File
+84 -0 head/lib/libthr/arch/aarch64/include/pthread_md.h
+0 -0 head/lib/libthr/arch/aarch64/include/
+84 -0 2 files

FreeBSD — head/release/tools/arm crochet-BEAGLEBONE.conf crochet-PANDABOARD.conf

Sigh.  s/AutoSize/Growfs/ following upstream commit r761.

MFH:                3 days
Sponsored by:        The FreeBSD Foundation

FreeBSD — projects em_mq

Branch head for work on Intel em(4) MultiQueue work as it is requiring some
structural revisiting of the driver.
Delta File
+0 -0 projects/em_mq/
+0 -0 1 file

FreeBSD — head/gnu/usr.bin/binutils Makefile, head/usr.bin Makefile

Switch to ELF toolchain readelf(1)

ELF toolchain readelf lacked some functionality at the time other tools
(like size, strip, nm, etc.) were switched over to the ELF toolchain
versions. That has been addressed as of the last update, so we can add
it to the list.

PR:                198950 [exp-run]
Reviewed by:        bapt, imp, rpaulo
Relnotes:        yes
Sponsored by:        The FreeBSD Foundation
Differential Revision:        https://reviews.freebsd.org/D2156

FreeBSD — head/sys/sys elf_common.h

Fill out arm64 dynamic relocation #defines

Sponsored by:        The FreeBSD Foundation
Delta File
+4 -0 head/sys/sys/elf_common.h
+4 -0 1 file

FreeBSD — head/lib/msun/aarch64 fenv.h

Correct mrs_fpcr and mrs_fpsr macros in arm64 fenv.h

Submitted by:        andrew
Sponsored by:        The FreeBSD Foundation
Delta File
+22 -21 head/lib/msun/aarch64/fenv.h
+22 -21 1 file

FreeBSD — stable/10/sys/amd64/conf GENERIC

Revert accidental(?) change in r280455 and do not compile hwpmc statically
into GENERIC by default.  This change is not present in HEAD and was not
made in the two commits to HEAD that r280455 merged.
Delta File
+0 -1 stable/10/sys/amd64/conf/GENERIC
+0 -1 1 file

FreeBSD — projects/sendfile/sys/kern uipc_syscalls.c

This shouldn't have leaked into svn.

FreeBSD — projects/sendfile/sys/kern uipc_syscalls.c

nios should be volatile.

FreeBSD — head/lib/libcompiler_rt Makefile

compiler-rt: Build additional quad precision floating point builtins

These are needed for arm64

Sponsored by:        The FreeBSD Foundation
Differential Revision:        https://reviews.freebsd.org/D2160
Delta File
+6 -0 head/lib/libcompiler_rt/Makefile
+6 -0 1 file

FreeBSD — head/tools/build/mk OptionalObsoleteFiles.inc

- Remove more files when MK_INET6 == no

MFC after:        1 week
Reviewed by:        ngie
Approved by:        ngie
Differential Revision:        D1600

FreeBSD — head/tools/build/mk OptionalObsoleteFiles.inc

- Remove more files when MK_FORTH == no

MFC after:        1 week
Reviewed by:        ngie
Approved by:        ngie
Differential Revision:        D1600

FreeBSD — head/sys/kern subr_vmem.c

Periodically wake up threads waiting for vmem(9) resources, so they could
ask for resource reclamation again.

This is kind of dirty hack, but as last resort this is better then stuck
indefinitely because of KVA fragmentation, waiting until some random event
free something sufficient.  OpenSolaris also has this hack in its vmem(9).

MFC after:        2 weeks
Delta File
+6 -0 head/sys/kern/subr_vmem.c
+6 -0 1 file

FreeBSD — head/contrib/ntp CommitLog configure, head/contrib/ntp/adjtimed Makefile.in Makefile.am

MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284)

Thanks to roberto for providing pointers to wedge this into HEAD.

Approved by:        roberto
Delta File
+174,676 -8,203 head/contrib/ntp/CommitLog
+23,446 -11,397 head/contrib/ntp/configure
+23,204 -7,149 head/contrib/ntp/sntp/configure
+6,374 -3,601 head/contrib/ntp/ltmain.sh
+6,374 -3,601 head/contrib/ntp/sntp/ltmain.sh
+4,428 -2,037 head/contrib/ntp/ntpd/ntp_config.c
+195,461 -93,640 1052 files not shown
+433,963 -129,628 1058 files

FreeBSD — head/sys/dev/ofw openfirm.c

Fix bug in xrefinfo_find() for 64-bit platforms

uintptr_t may be 64-bit on some platforms, therefore when
finding xrefinfo by pointer to device the high word is being
cut off due to cast to phandle_t which is 32-bit long by definition.
Due to that we loose the high word of the address to compare with
xi->dev's address.
To fix that, first argument of xrefinfo_find() is extended to
uintptr_t and is being cast to appropriate type (phandle_t)
when compared.

Submitted by:  Zbigniew Bodek <zbb at semihalf.com>
Reviewed by:   nwhitehorn
Obtained from: Semihalf
Delta File
+4 -4 head/sys/dev/ofw/openfirm.c
+4 -4 1 file

FreeBSD — head/sys/arm/arm cpufunc.c elf_trampoline.c, head/sys/arm/include cpuconf.h cpufunc.h

Remove support for CPU_XSCALE_80200. None of our configs support it, and
there wasn;t an option to enable it.

While here remove a check for CPU_ARM10 being defined as it has also been
removed.

FreeBSD — head/release/tools vmimage.subr

Improve check for whether ${DESTDIR}/dev is mounted.

Submitted by:        gcooper
Delta File
+1 -1 head/release/tools/vmimage.subr
+1 -1 1 file

FreeBSD — head/sys/cam/ata ata_da.c

Add some additional quirks for various Western Digital Caviar MHDDs

Submitted by:        Jeremy Chadwick
PR:                188685
MFC After:        1 month
Delta File
+16 -1 head/sys/cam/ata/ata_da.c
+16 -1 1 file

FreeBSD — head/sys/dev/uart uart_bus_pci.c

And it turns out someone beat me to it....

PR:                199013
Delta File
+0 -2 head/sys/dev/uart/uart_bus_pci.c
+0 -2 1 file

FreeBSD — head/sys/dev/uart uart_bus_pci.c

Add support for "MosChip MCS9922 PCIe to Peripheral Controller" to uart

Submitted by:        <mlsemon35 at gmail.com>
PR:                199013
MFC After:        1 month
Delta File
+2 -0 head/sys/dev/uart/uart_bus_pci.c
+2 -0 1 file

FreeBSD — head/sys/arm/arm cpufunc.c elf_trampoline.c, head/sys/arm/include cpuconf.h cpufunc.h

Remove support for CPU_FA626TE. It's unused by any of our kernel configs.