Displaying 1 50 of 266,820 commits (0.018s)

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

MFC r258436: Refactor amd64 startup SMAP parsing

  Extracted from the projects/uefi branch, this change is a reasonable
  cleanup and will reduce the diffs to review when bringing in the
  UEFI work.
Delta File
+44 -33 stable/10/sys/amd64/amd64/machdep.c
+44 -33 1 file

FreeBSD — stable/10 UPDATING

Add an UPDATING entry for the __FreeBSD_version bump related
to r269398.
Delta File
+5 -0 stable/10/UPDATING
+5 -0 1 file

FreeBSD — stable/10/sys/sys param.h

Bump __FreeBSD_version for r269398, since it changes the
internal interfaces between the NFS related modules.
This is a direct commit to stable/10.
Delta File
+1 -1 stable/10/sys/sys/param.h
+1 -1 1 file

FreeBSD — stable/10/etc/mtree BSD.usr.dist

MFC r266902: Add missing libexec/bsdconfig subdirectories
Delta File
+4 -0 stable/10/etc/mtree/BSD.usr.dist
+4 -0 1 file

FreeBSD — stable/10/sys/conf files, stable/10/sys/fs/nfs nfs.h nfsproto.h

MFC: r268115
Merge the NFSv4.1 server code in projects/nfsv4.1-server over
into head. The code is not believed to have any effect
on the semantics of non-NFSv4.1 server behaviour.
It is a rather large merge, but I am hoping that there will
not be any regressions for the NFS server.

FreeBSD — stable/10/share/examples/bhyve vmrun.sh

MFC 256657,257423,264837,267559:
Sync vmrun.sh with HEAD:
- Add -e option to vmrun.sh passed to bhyveload(8) to set loader
  environment variables.
- Stop passing unused -I option to bhyve(8).
- Reformat the usage to fit in 80 colums and other cleanups.
- Add -C option to specify the console device.
- Add -H option to pass a host path to bhyveload(8).
- Support for multiple disk and tap devices.
Delta File
+94 -34 stable/10/share/examples/bhyve/vmrun.sh
+94 -34 1 file

FreeBSD — head/sys/netinet sctp_sysctl.h sctp_sysctl.c

Remove the asconf_auth_nochk sysctl. This was off by default and only
existed to be able to test with non-compliant peers a long time ago.

FreeBSD — head/sys/arm/ti ti_smc.S

Tell the assembler we're building for armv7a with security extensions,
so that the 'smc' (secure monitor call) opcode is valid.

Submitted by:        Stepan Dyatkovskiy <stpworld at narod.ru>
Delta File
+2 -1 head/sys/arm/ti/ti_smc.S
+2 -1 1 file

FreeBSD — head/contrib/binutils/gas/config tc-arm.c

Teach as(1) to handle the arm .arch_extension pseudo-op, which accepts
the same values as the -march= command line option.  Add support for the
"sec" extension (security extensions).

We've been getting away without support for the sec extension because
it's bogusly enabled even on arches where its presence is optional.  This
support for .arch_extension is being added mainly so that we can use the
right directives in our source code, and that helps folks using external
toolchains (and will help us when we finally update our toolchain).

FreeBSD — head/contrib/binutils/gas/config tc-arm.c

Fix an bug in as(1) parsing of arm -march=arch+ext options.  Compare the
arch name to just the characters before the '+' in 'arch+ext'.

FreeBSD — head/etc/defaults rc.conf

Like with /usr/lib + /usr/lib/compat, add the optional /usr/lib32/compat
to the ldconfig32 default path.  /usr/lib32 is the 32 bit versions of
*current* libraries, while old versions should be able to be in
/usr/lib32/compat, like with /usr/lib/compat.  The separation is meant to
keep the compile time default search paths cleaner.
Delta File
+2 -1 head/etc/defaults/rc.conf
+2 -1 1 file

FreeBSD — head/sys/netinet in_rss.c

Fix byte ordering in default RSS key.

The rss_key[] array in netinet/in_rss.c has the bytes in incorrect
order. This results in the RSS test vectors in the Microsft RSS spec
and Intel NIC specs giving incorrect results, and making it difficult
to verify correct hash operation when RSS functionality is added to
new NICs.

CR:                https://phabric.freebsd.org/D516
Reviewed by:        adrian
Delta File
+5 -5 head/sys/netinet/in_rss.c
+5 -5 1 file

FreeBSD — head/sys/arm/arm cpufunc_asm_xscale.S cpufunc_asm_xscale_c3.S, head/sys/arm/include asm.h

Fix unwind-info errors in our hand-written arm assembler code.

We have functions nested within functions, and places where we start a
function then never end it, we just jump to the middle of something else.
We tried to express this with nested ENTRY()/END() macros (which result
in .fnstart and .fnend directives), but it turns out there's no way to
express that nesting in ARM EHABI unwind info, and newer tools treat
multiple .fnstart directives without an intervening .fnend as an error.

These changes introduce two new macros, EENTRY() and EEND().  EENTRY()
creates a global label you can call/jump to just like ENTRY(), but it
doesn't emit a .fnstart.  EEND() is a no-op that just documents the
conceptual endpoint that matches up with the same-named EENTRY().

This is based on patches submitted by Stepan Dyatkovskiy, but I made some
changes and added the EEND() stuff, so blame any problems on me.

Submitted by:        Stepan Dyatkovskiy <stpworld at narod.ru>

FreeBSD — projects/pciehp Makefile.inc1 ObsoleteFiles.inc, projects/pciehp/bin/chio chio.1

merge @269363

FreeBSD — head/sys/powerpc/aim mmu_oea.c mmu_oea64.c

Simplify the selection of the pvo_head and pvo allocation zone in
moea_enter_locked() and moea64_enter().

Eliminate an unused variable from moea64_enter().

FreeBSD — head/contrib/llvm/tools/clang/lib/Driver ToolChain.cpp Tools.cpp

Update the ARMv6 core clang targets to be an arm1176jzf-s. This brings us
in line with gcc in base as this makes llvm generate code for the armv6k
variant of the instruction set.

FreeBSD — projects/ipfw/sbin/ipfw tables.c ipfw2.c, projects/ipfw/sys/netinet ip_fw.h

* Permit limiting number of items in table.

Kernel changes:
* Add TEI_FLAGS_DONTADD entry flag to indicate that insert is not possible
* Support given flag in all algorithms
* Add "limit" field to ipfw_xtable_info
* Add actual limiting code into add_table_entry()

Userland changes:
* Add "limit" option as "create" table sub-option. Limit modification
  is currently impossible.
* Print human-readable errors in table enry addition/deletion code.

FreeBSD — head/sys/arm/conf CHROMEBOOK-SPRING CHROMEBOOK-SNOW, head/sys/boot/fdt/dts/arm exynos5250-chromebook-snow.dts exynos5250-snow.dts

Rename files: keep codename only to make it shorter.

FreeBSD — stable/9/share/man/man9 rman.9, stable/9/sys/kern subr_rman.c

MFC r268780

Nuke the never-used RF_TIMESHARE feature, reducing the complexity of the
code.  The consensus on arch@ is that this feature might have been useful
in the distant past, but is now just unnecessary bloat.

The int_rman_activate_resource() and int_rman_deactivate_resource()
functions become trivial, so manually inline them.

The special deferred handling of RF_ACTIVE is no longer needed in
reserve_resource_bound(), so eliminate the associated code at the
end of the function.

These changes reduce the object file size by more than 500 bytes on i386.

Update the rman.9 man page to reflect the removal of the RF_TIMESHARE
feature.

FreeBSD — stable/10/share/man/man9 rman.9, stable/10/sys/kern subr_rman.c

MFC r268780

Nuke the never-used RF_TIMESHARE feature, reducing the complexity of the
code.  The consensus on arch@ is that this feature might have been useful
in the distant past, but is now just unnecessary bloat.

The int_rman_activate_resource() and int_rman_deactivate_resource()
functions become trivial, so manually inline them.

The special deferred handling of RF_ACTIVE is no longer needed in
reserve_resource_bound(), so eliminate the associated code at the
end of the function.

These changes reduce the object file size by more than 500 bytes on i386.

Update the rman.9 man page to reflect the removal of the RF_TIMESHARE
feature.

FreeBSD — projects/arm64/sys/arm/arm gic.c, projects/arm64/sys/conf files.arm64

Alos use the GICv2 driver on arm64. No interrupts are working yet as we
are still missing the code to handle the correct exception.

FreeBSD — projects/arm64/sys/arm64/conf GENERIC

Add FDT to the kernel now it's supported.

FreeBSD — projects/arm64/sys/arm64/arm64 nexus.c

Use the memmap_bus tag in nexus

FreeBSD — projects/arm64/sys/arm64/arm64 bus_machdep.c bus_space_asm.S, projects/arm64/sys/conf files.arm64

Add entries for all bus_space functions, most are still NULL.

FreeBSD — projects/arm64/sys/arm64/include bus.h

Adjust a comment to put the words in the correct order

FreeBSD — projects/lwref/sys/amd64/amd64 lwref.S apic_vector.S, projects/lwref/sys/conf files files.amd64

Drop into subversion the proof-of-concept unfinished and dirty
implementation of light weight reference counting mechanism.

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

Cleanup sctp_send_initiate() and sctp_send_initiate_ack() to be
in sync as much as possible. This simplifies upcoming changes.

FreeBSD — projects lwref

Create branch for light weight reference counting mechanism.
Delta File
+0 -0 projects/lwref/
+0 -0 1 file

FreeBSD — projects counters

Delete branch that was dedicated to pre-head counter(9) development.
Delta File
+0 -0 projects/counters/
+0 -0 1 file

FreeBSD — projects/arm64/sys/arm64/arm64 machdep.c, projects/arm64/sys/boot/arm64/efi bootinfo.c

Allow us to set verbose boot, along with the other flags loaders boot
command takes.

FreeBSD — projects/ipfw/sys/netpfil/ipfw ip_fw_table_algo.c

Do not perform memset() on ta_buf in algo callbacks:
  it is already zeroed by base code.

FreeBSD — projects/ipfw/sys/netpfil/ipfw ip_fw_table_algo.c

Simplify radix operations: use unified tei_to_sockaddr_ent() to generate
  keys for add/delete calls.

FreeBSD — projects/ipfw/sys/netpfil/ipfw ip_fw_table.c ip_fw_table.h

* Use TA_FLAG_DEFAULT for default algorithm selection instead of
  exporting algorithm structures directly.

* Pass needed state buffer size in algo structures as preparation
  for tables add/del requests batching.

FreeBSD — head/sys/arm/conf CHROMEBOOK-PEACH-PIT EXYNOS5.common, head/sys/arm/samsung/exynos exynos5_xhci.c exynos5_pad.c

Add support for Chromebook2 -- next-generation 8-core
(4 in operation), 4GB ram (3.5 usable) ARM machine.

Support covers device drivers for:
- Serial Peripheral Interface (SPI)
- Chrome Embedded Controller (EC) - SPI-based version
- XHCI and USB 3.0 dual-role device PHY

Also:
- Add support for Exynos5420 in Pad module
- Move power-related functions to separate driver --
  Power Management Unit (PMU)
- Enable XHCI for Chromebook1

Special thanks to grehan@ for hardware, and to
hselasky@ for r269139.

FreeBSD — head/sys/powerpc/aim mmu_oea.c, head/sys/powerpc/include pmap.h

Retire PVO_EXECUTABLE.  It's neither used nor set correctly.

FreeBSD — stable/10/sys/kern kern_proc.c

MFC r269205:
Simplify the expression.
Delta File
+1 -1 stable/10/sys/kern/kern_proc.c
+1 -1 1 file

FreeBSD — head/sys/modules/cxgbe/if_cxgbe Makefile, head/sys/modules/cxgbe/iw_cxgbe Makefile

List one file per line in the Makefiles.  This makes it easier to read
diffs when a file is added or removed.

MFC after:        2 weeks

FreeBSD — head/sys/powerpc/aim mmu_oea64.c mmu_oea.c

Correct a long-standing problem in moea{,64}_pvo_enter() that was revealed
by the combination of r268591 and r269134: When we attempt to add the
wired attribute to an existing mapping, moea{,64}_pvo_enter() do nothing.
(They only set the wired attribute on newly created mappings.)

Tested by:        andreast

FreeBSD — head/sys/modules/cxgbe Makefile, head/sys/modules/cxgbe/if_cxgbe Makefile

Improve compliance with style.Makefile(5).

MFC after:        2 weeks

FreeBSD — head/tools/tools/nanobsd nanobsd.sh

NANO_OBJ shouldn't end with a '/', so remove it here. This makes the
pathnames printed not have the dreaded // which makes it hard to cut
and paste into an emacs find file command...

MFC After: 3 days

FreeBSD — head/tools/tools/nanobsd nanobsd.sh

Use rm -x only on FreeBSD 10 and newer. Many people still build from
older hosts, which still works, so don't break that gratuitously.

MFC After: 3 days
Delta File
+21 -12 head/tools/tools/nanobsd/nanobsd.sh
+21 -12 1 file

FreeBSD — head/lib/libstand pkgfs.c stand.h, head/sys/boot/libstand32 Makefile

Add pkgfs, a file system implementation for reading files out of a
compressed tarball, aka package. The file system assumes that the
files are layed-out in the same order as needed to allow for the
package to be streamed. As such, it does not read an entire package
into memory first.

Some properties of the file system:
o   Files that start with '+' are silently skipped. These are found
    in FreeBSD package files.
o   Files smaller than or equal to 4KB will be cached in memory and
    as such allow for some flexibility in accessing files out of
    order.
o   Files with the .tgz suffix are assumed to be (sub-)packages and
    signal the end for a directory scan.

Obtained from:        Juniper Networks, Inc.

FreeBSD — head/cddl/contrib/dtracetoolkit/Apps shellsnoop

Update shellsnoop to work on FreeBSD.

Contributed by: skreuzer

FreeBSD — stable/9/tools/tools/cxgbetool cxgbetool.c

MFC r269106:
Add a 'raw' parameter to the 'modinfo' subcommand.  This is handy when
trying to figure out why a QSFP+/SFP+ connector or cable wasn't
identified correctly by cxgbe(4).  Its output looks like this:

# cxgbetool t5nex0 modinfo 0 raw
00:  03 04 21 00  00 00 00 00  ..!. ....
08:  04 00 00 00  67 00 00 00  .... g...
10:  00 00 05 00  41 6d 70 68  .... Amph
18:  65 6e 6f 6c  20 20 20 20  enol
20:  20 20 20 20  00 41 50 48       .APH
28:  35 37 31 35  34 30 30 30  5715 4000
30:  33 20 20 20  20 20 20 20  3
38:  4b 20 20 20  01 00 00 fa  K    ....
40:  00 00 00 00  41 50 46 31  .... APF1
48:  30 30 34 30  30 33 30 30  0040 0300
50:  30 33 20 20  31 30 30 31  03   1001
58:  33 30 20 20  00 00 00 97  30   ....

FreeBSD — stable/9/sys/dev/cxgbe t4_sge.c adapter.h

MFC r268971:
Simplify r267600, there's no need to distinguish between allocated and
inlined mbufs.

FreeBSD — stable/10/tools/tools/cxgbetool cxgbetool.c

MFC r269106:

Add a 'raw' parameter to the 'modinfo' subcommand.  This is handy when
trying to figure out why a QSFP+/SFP+ connector or cable wasn't
identified correctly by cxgbe(4).  Its output looks like this:

# cxgbetool t5nex0 modinfo 0 raw
00:  03 04 21 00  00 00 00 00  ..!. ....
08:  04 00 00 00  67 00 00 00  .... g...
10:  00 00 05 00  41 6d 70 68  .... Amph
18:  65 6e 6f 6c  20 20 20 20  enol
20:  20 20 20 20  00 41 50 48       .APH
28:  35 37 31 35  34 30 30 30  5715 4000
30:  33 20 20 20  20 20 20 20  3
38:  4b 20 20 20  01 00 00 fa  K    ....
40:  00 00 00 00  41 50 46 31  .... APF1
48:  30 30 34 30  30 33 30 30  0040 0300
50:  30 33 20 20  31 30 30 31  03   1001
58:  33 30 20 20  00 00 00 97  30   ....

FreeBSD — stable/10/sys/dev/cxgbe t4_main.c t4_sge.c

MFC r268971 and r269032.

r268971:
Simplify r267600, there's no need to distinguish between allocated and
inlined mbufs.

r269032:
cxgbe(4):  Keep track of the clusters that have to be freed by the
custom free routine (rxb_free) in the driver.  Fail MOD_UNLOAD with
EBUSY if any such cluster has been handed up to the kernel but hasn't
been freed yet.  This prevents a panic later when the cluster finally
needs to be freed but rxb_free is gone from the kernel.

FreeBSD — head/tools/tools/nanobsd/dhcpd README

Fix a typo in the example script.

FreeBSD — head/usr.sbin/bsdconfig/share common.subr

Update command and add check for edge-case.

FreeBSD — head/sys/cam/scsi scsi_sa.c

Fix breakage introduced by r256843: removing the SA_CCB_WAITING bit
left some of the decisions based on its counterpart, SA_CCB_BUFFER_IO
being random.  As a result, propagation of the residual information
for the SPACE command was broken, so the number of filemarks
encountered during a SPACE operation was miscalculated.  Consequently,
systems relying on properly tracked filemark counters (like Bacula)
fell apart.

The change also removes a switch/case in sadone() which r256843
degraded to a single remaining case label.

PR:                192285
Approved by:        ken
MFC after:        2 weeks
Delta File
+69 -83 head/sys/cam/scsi/scsi_sa.c
+69 -83 1 file