Displaying 1 50 of 273,475 commits (0.341s)

FreeBSD — head Makefile.inc1

Update the text for building texinfo with build-tools to reflect the fact
that make install is being called as well

MFC after: 1 week
X-MFC with: r276052
Delta File
+1 -1 head/Makefile.inc1
+1 -1 1 file

FreeBSD — head Makefile.inc1

Build selective portions of gnu/usr.bin/texinfo as part of build-tools to
ensure that building on a host without makeinfo (i.e. a host where
make delete-old -DWITHOUT_INFO was run), then building with MK_INFO == yes
doesn't manifest in build errors when building info pages

This manifested itself like the following when I was build testing an MFC
change on stable/10:

  makeinfo --no-split -I /usr/src/gnu/lib/libregex/doc -I /usr/src/gnu/lib/libregex/doc 
regex.texi  -o regex.info
  makeinfo: not found
  *** [regex.info] Error code 127

make[6]: stopped in /usr/src/gnu/lib/libregex/doc
1 error

Tested on a head VM without makeinfo installed and by building with MK_INFO=yes

MFC after: 1 week
Delta File
+15 -0 head/Makefile.inc1
+15 -0 1 file

FreeBSD — stable/10 Makefile.inc1

MFC r275622:

  Add makewhatis to ITOOLS if MK_MAN != no

  This will fix installation with differing host targets in installworld, so
  one can build i386/i386 on an amd64 host, then install to an i386/i386 target

  Reported by: alfred
  Phabric: D1280
Delta File
+5 -0 stable/10/Makefile.inc1
+5 -0 1 file

FreeBSD — stable/10/share/mk bsd.test.mk

MFC r273803,r273810:

r273803:

  Filter out TESTS_SUBDIRS already added to SUBDIR instead of blindly
  appending the TESTS_SUBDIRS variable to SUBDIR

  Duplicate directory entries can cause unexpected side effects, like
  installing the same files multiple times. This can be easily
  reproduced via the following testcase prior to this commit:

    SUBDIR= dir
    TESTS_SUBDIRS+= dir

    .include <bsd.test.mk>

  Sponsored by: EMC / Isilon Storage Division

r273810:

  Fix the logic inversion in the previous commit by ensuring that the matched
  expression (:M) is empty, not the not matched (:N) is empty. The former case
  means we have not found the TEST_SUBDIR value in SUBDIR

  Reported by: rodrigc

    [2 lines not shown]
Delta File
+4 -2 stable/10/share/mk/bsd.test.mk
+4 -2 1 file

FreeBSD — head/sys/arm/ti ti_i2c.c

Replace the clock divisor terms with values that also result in a 1 MHz
clock, but actually work on real hardware, unlike the original set of
values I chose.

PR:                195009
Submitted by:        Scott Ellis <jumpnowtek at gmail.com>
Delta File
+1 -1 head/sys/arm/ti/ti_i2c.c
+1 -1 1 file

FreeBSD — stable/10/share/mk bsd.progs.mk

MFC r273186,r273873:

r273186:

  Don't define rules based on PROGS if PROGS is empty.

  Reviewed by:        sjg, ngie
  Sponsored by:        EMC / Isilon Storage Division

r273873:

  Use the right depend file for each program.

  bsd.progs.mk generates a separate depend file for every program being
  built, but then it does not properly tell each submake to use those
  individual files.  Properly propagate the depend file to use.

  Discovered while preparing the update of atf to 0.21 and noticing that
  the test programs were not being relinked to the new library.

  This change is "make tinderbox" clean.
Delta File
+8 -2 stable/10/share/mk/bsd.progs.mk
+8 -2 1 file

FreeBSD — head/sys/arm/allwinner std.a10, head/sys/arm/allwinner/a20 std.a20

Add -march=armv7a to the kernel compile for all ARM systems which are v7a.

Submitted by:        Michal Meloun <meloun at miracle.cz>

FreeBSD — head/contrib/netbsd-tests/lib/libc/stdlib t_hsearch.c

Add __FreeBSD_version guards around hsearch_r to ease MFCing the code to
stable/10

It was added when __FreeBSD_version was ~1100027

FreeBSD — head/contrib/gcc/config/arm arm.c

Allow -march=armv7a on the gcc command line, for compatibility with clang.
This will result in __ARM_ARCH_7A__ being defined during the compile.

When compiling with gcc, it will still only generate armv6 opcodes itself,
but should pass the arch to gas so that inline asm can use v7 opcodes.
Delta File
+2 -0 head/contrib/gcc/config/arm/arm.c
+2 -0 1 file

FreeBSD — projects/paravirt/sys/conf files.i386 files.amd64, projects/paravirt/sys/x86/include kvm.h

Add KVM clock support

Only system time (timecounter) is currently implemented. Wall clock
support will be added later.

FreeBSD — projects/paravirt/sys/conf files.i386 files.amd64, projects/paravirt/sys/x86/include kvm.h vmware.h

Add detection of VMware and KVM to the hypervisor interface

While here, relocate the code for the VMware TSC frequency into
the VMware implementation. Eventually we should probably grow a
hypervisor interface for this.

FreeBSD — projects/paravirt/sys/kern subr_param.c, projects/paravirt/sys/sys systm.h

Add KVM VM guest enum type

FreeBSD — stable/9/usr.bin/truncate truncate.c

MFC r267265: truncate: Detect integer overflow, fix relative sizes.

The change to expand_number (r204654) broke detection of too large sizes and
relative sizes ('+'/'-').

There are no tests in the MFC because stable/9 lacks the test framework.

PR:                190735
Submitted by:        Kirk Russell

FreeBSD — projects/paravirt/sys/conf files.i386 files.amd64, projects/paravirt/sys/x86/include hypervisor.h

Add a simple and rough hypervisor interface

Pull out the existing CPUID based hypervisor detection into a formal
interface so that we can later use it to detect multiple hypervisors.

Similar duplicate code exists in XEN and HYPERV, and should eventually
be consolidated.

This commit breaks the existing VMware detection which will be fixed
in a subsequent commit.

FreeBSD — projects/paravirt/sys/amd64/include pvclock.h, projects/paravirt/sys/conf files.amd64 files.i386

Generalized parts of the XEN timer code into pvclock

This will later be used to support KVM clock. Until I can sort out
how to best include the pvclock.h header in the generic XEN headers,
use ugly casts in the XEN code to keep it compiling.

FreeBSD — head/bin/sh error.c trap.c

sh: Move some code from onint() to onsig(), making onint() noreturn.

As a result, the INTON macro which is used many times generates fewer
bytes of code.

FreeBSD — head/bin/sh expand.c eval.c

sh: Remove EXP_REDIR.

EXP_REDIR was supposed to generate pathnames in redirection if exactly one
file matches, as permitted but not required by POSIX in interactive mode. It
is unlikely this will be implemented.

No functional change is intended.

MFC after:        1 week

FreeBSD — projects/arm_intrng/sys/arm/arm gic.c

Fix a mis-merge

FreeBSD — projects/arm_intrng/sys/arm/arm intrng.c

Clean up a little:
 * Place brackets around variables in macros
 * Correctly exit the loop when we have found the irq handler
 * Fix the build when DEBUG is enabled
 * Add a KASSERT to check arm_ipi_pic is set when adding an ipi
 * Remove an unneeded ';'
 * Use OF_node_from_xref to translate the xref

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

Fix the unwinder to get past functions with no stack but may cause an
exception. In this case no registers will be updated but the link register
will be copied to the program counter to be used to find the calling
function. In this case the program counter may be updated and we should
continue with the trace.
Delta File
+8 -1 head/sys/arm/arm/db_trace.c
+8 -1 1 file

FreeBSD — head/sys/arm/arm intr.c nexus.c, head/sys/arm/include intr.h

Pull out the fdt mapping code into intr.c. The arm_intrng branch also
defines this function allowing the mapping method to change when we move
to it.

FreeBSD — head/sys/dev/beri/virtio virtio.c

Eliminate a "cast discards qualifiers" warning when building with gcc.
Delta File
+2 -1 head/sys/dev/beri/virtio/virtio.c
+2 -1 1 file

FreeBSD — head/sys/arm/at91 at91_machdep.c

Eliminate a redundant declaration.
Delta File
+0 -2 head/sys/arm/at91/at91_machdep.c
+0 -2 1 file

FreeBSD — head/sys/arm/ti ti_wdt.c

Remove a volatile qualifier on return type that is ignored and results in
a -Wreturn-type warning when compiled with gcc.
Delta File
+1 -1 head/sys/arm/ti/ti_wdt.c
+1 -1 1 file

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

Further reduce the diff between the arm_intrng gic driver and the version
in head.
Delta File
+29 -31 head/sys/arm/arm/gic.c
+29 -31 1 file

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

Switch zfsboot installer force 4K option to use vfs.zfs.min_auto_ashift=12

Previously we used gnop(8) to fake 4K sector size disks but ZFS now has a
sysctl to control this when creating new top level vdev's so use that
instead.

Differential Revision:        D566
MFC after:        1 month
Sponsored by:        Multiplay

FreeBSD — head/sys/boot/uboot/common main.c

Allow whitspace to appear between device name and unit number in loaderdev.
This allows the same value to be used in u-boot commands and the loaderdev
env var that gets passed to ubldr, for example 'fatload mmc 1 ${bootfile}".
Delta File
+5 -4 head/sys/boot/uboot/common/main.c
+5 -4 1 file

FreeBSD — projects/arm_intrng/sys/arm/arm gic.c, projects/arm_intrng/sys/dev/ahci ahci.c ahci.h

Merge to 276024

FreeBSD — projects/arm_intrng/sys/arm/lpc lpc_intc.c

Add guards to the read/write macros

FreeBSD — head/sys/arm/lpc lpc_intc.c

Reduce the diff between the lpc interrupt controller in head and arm_intrng
Delta File
+23 -19 head/sys/arm/lpc/lpc_intc.c
+23 -19 1 file

FreeBSD — projects/arm_intrng/sys/arm/ti aintc.c

Add proper guards to the read/write macros and fix a mismerge

FreeBSD — head/sys/arm/ti aintc.c

Reduce the diff in the Ti aintc between head and arm_intrng
Delta File
+20 -16 head/sys/arm/ti/aintc.c
+20 -16 1 file

FreeBSD — stable/10/sys/dev/ahci ahci.c

MFC r272223:
Prevent possible use after free in ahci direct mode

Sponsored by:        Multiplay
Delta File
+8 -2 stable/10/sys/dev/ahci/ahci.c
+8 -2 1 file

FreeBSD — head/sys/dev/ahci ahci.c

style (9) nits

Use return (val); instead of return val;

Differential Revision:        D838
MFC after:        2 weeks
Sponsored by:        Multiplay
Delta File
+7 -7 head/sys/dev/ahci/ahci.c
+7 -7 1 file

FreeBSD — projects/arm_intrng/sys/arm/broadcom/bcm2835 bcm2835_intr.c

Add proper guards to the read/write macros

FreeBSD — head/sys/arm/broadcom/bcm2835 bcm2835_intr.c

Reduce the diff between head and arm_intrng with the bcm2835 interrupt
controller.

FreeBSD — head/sys/dev/ahci ahci.c

Return the error from ahci_setup_interrupt in ahci_attach

Previously ahci_attach returned a hard coded ENXIO instead of the value
from ahci_setup_interrupt. This is effectively a NOOP change as currently
ahci_setup_interrupt only ever returns 0 or ENXIO, so just there to protect
against any future changes to that.

Differential Revision:        D838
MFC after:        2 weeks
Sponsored by:        Multiplay
Delta File
+2 -2 head/sys/dev/ahci/ahci.c
+2 -2 1 file

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

Reduce the diff to the arm_intrng project branch by having the read/write
macros take the softc they are accessing.
Delta File
+49 -42 head/sys/arm/arm/gic.c
+49 -42 1 file

FreeBSD — projects/arm_intrng/sys/arm/arm gic.c

Fix a few mismerge and style issues

FreeBSD — head/sys/dev/ahci ahci.c

Clamp ahci max irq's to AHCI_MAX_IRQS

This prevents the possiblity of any overruns on the statically allocated
struct irqs field.

Differential Revision:        D838
MFC after:        2 weeks
X-MFC-With:        r276012
Sponsored by:        Multiplay
Delta File
+8 -0 head/sys/dev/ahci/ahci.c
+8 -0 1 file

FreeBSD — head/sys/dev/ahci ahci.h

Add a constant AHCI_MAX_IRQS removing magic number

Sponsored by:        Multiplay
Delta File
+2 -1 head/sys/dev/ahci/ahci.h
+2 -1 1 file

FreeBSD — projects/arm_intrng ObsoleteFiles.inc Makefile.inc1, projects/arm_intrng/bin/csh Makefile

Merge to r276009

FreeBSD — stable/10/sys/dev/oce oce_if.c

MFC r268156:
Various bugfixes from Stefano GarzarellaA

This has been proved to fix reproducable panics on 10.x.

Sponsored by:        Multiplay
Delta File
+1 -5 stable/10/sys/dev/oce/oce_if.c
+1 -5 1 file

FreeBSD — head/sys/netinet sctputil.c

Don't check twice that inp is not NULL.

Reported by:        Coverity
CID:                748671
MFC after:        3 days
Delta File
+3 -12 head/sys/netinet/sctputil.c
+3 -12 1 file

FreeBSD — head/sys/kern kern_sig.c vfs_vnops.c, head/sys/sys vnode.h

Add VN_OPEN_NAMECACHE flag for vn_open_cred(9), which requests that
the created file name was cached.  Use the flag for core dumps.

Requested by:        rpaulo
Tested by:        pho (previous version)
Sponsored by:        The FreeBSD Foundation
MFC after:        2 weeks

FreeBSD — head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c, head/sys/fs/ext2fs ext2_vnops.c

Handle MAKEENTRY cnp flag in the VOP_CREATE().  Curiously, some
fs, e.g. smbfs, already did it.

Tested by:        pho (previous version)
Sponsored by:        The FreeBSD Foundation
MFC after:        2 weeks

FreeBSD — head/lib/libc/gen posix_spawn.3 ftw.3, head/lib/libc/net sctp_recvmsg.3 getaddrinfo.3

Various mdoc fixes and a few EOL whitespace removals.

Found with:        mandoc -Tlint

FreeBSD — head/share/man/man5 pf.os.5 services.5

Various mdoc fixes.

Found with:        mandoc -Tlint

FreeBSD — head/sys/arm/conf DREAMPLUG-1001 DOCKSTAR

Fix the indentation to simplify comparing the ARM config files.