Displaying 1 50 of 269,297 commits (0.077s)

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

Automatically allocate an ic_intrs array for nexus when it registers;
nexus isn't described in the fdt data which usually triggers allocation.

FreeBSD — head/cddl/contrib/opensolaris/cmd/zpool zpool_main.c

Output boot code warning when zpool upgrade -a is used to add features.

In the case where new features where enabled by a zpool upgrade -a the
boot code warning wasn't output.

Submitted by:        Jan Kokemueller
MFC after:        3 days

FreeBSD — projects/bhyve_svm/sys/amd64/vmm vmm_stat.c vmm_stat.h

Get rid of unused stat VMM_HLT_IGNORED.

FreeBSD — projects/ipfw/sys/modules/ipfw Makefile, projects/ipfw/sys/netpfil/ipfw dxr_fwd.c dxr_algo.c

Add pre-alfa version of DXR lookup module.
It does build but (currently) does not work.

This change is not intended to be merged along with other ipfw changes.

FreeBSD — head/contrib/llvm/patches patch-r271024-llvm-r216989-r216990-fix-movw-armv6.diff patch-r271282-clang-r200797-r200798-r200805-debug-info-crash.diff

Add a few missing llvm/clang patches, update the other ones to be able
to apply with the same patch options onto a fresh upstream llvm/clang
3.4.1 checkout, and use approximately the same header tempate for them.

MFC after:        3 days

FreeBSD — head/sys/cam/ctl ctl_cmd_table.c

Allow SUBPAGE CODE field in MODE SENSE commands.
Delta File
+2 -2 head/sys/cam/ctl/ctl_cmd_table.c
+2 -2 1 file

FreeBSD — stable/10/usr.sbin/ctld ctld.c

MFC r271797:  Make kernel to update LUN size from the backing storage
on configuration reload also if that size was not specified in the new
configuration.

Previously it happened only if size was explicitly changed in config.

Approved by:        re (delphij)
Delta File
+2 -1 stable/10/usr.sbin/ctld/ctld.c
+2 -1 1 file

FreeBSD — stable/10/sys/cam/ctl ctl_backend_block.c

MFC r271794: When updating device media size use cached cdevsw pointer.

Using pointer from the cdev directly is dangerous since we have no
reference on it, and it may change any time.  That caused panic if
device has gone.

While there, report capacity change only if it really changed.

Approved by:        re (dephij)

FreeBSD — head/sys/fs/autofs autofs.c

Turns out -1 is a perfectly valid error number, ERESTART.  Remove useless
code written under assumption that it wasn't.

Sponsored by:        The FreeBSD Foundation
Delta File
+1 -11 head/sys/fs/autofs/autofs.c
+1 -11 1 file

FreeBSD — head/share/man/man4 ada.4

Mention read_ahead tunables/sysctls.

MFC after:        1 month
Delta File
+5 -3 head/share/man/man4/ada.4
+5 -3 1 file

FreeBSD — stable/10/sys/vm vnode_pager.c

MFC r271586:
Fix mis-spelling of bits and types names in the vnode_pager_putpages().

Approved by:        re (delphij)
Delta File
+6 -10 stable/10/sys/vm/vnode_pager.c
+6 -10 1 file

FreeBSD — head/sys/amd64/amd64 fpu.c trap.c

Update and clarify comments.  Remove the useless counter for impossible, but
seen in wild situation (on buggy hypervisors).

In collaboration with:        bde
MFC after:        1 week

FreeBSD — head/sys/net route.h

Fix build.
Delta File
+2 -0 head/sys/net/route.h
+2 -0 1 file

FreeBSD — projects/bhyve_svm/sys/amd64/amd64 pmap.c

The memory type bits (PAT, PCD, PWT) associated with a nested PTE or PDE
are identical to the traditional x86 page tables.

FreeBSD — head/sbin/routed routed.8

Fix a typo.
Delta File
+1 -1 head/sbin/routed/routed.8
+1 -1 1 file

FreeBSD — head/sys/netinet in.c

Add a change missing in r271916.
Delta File
+2 -2 head/sys/netinet/in.c
+2 -2 1 file

FreeBSD — head/sbin/routed routed.8 input.c

Fix a bug which could make routed(8) daemon exit by sending a special RIP
query from a remote machine, and disable accepting it by default.  This
requests a routed(8) daemon to dump routing information base for debugging
purpose.  An -i flag to enable it has been added.

FreeBSD — head/sys/net if_gre.c if_gre.h, head/sys/netinet ip_gre.c

- Virtualize interface cloner for gre(4).  This fixes a panic when destroying
  a vnet jail which has a gre(4) interface.

- Make net.link.gre.max_nesting vnet-local.

FreeBSD — head/sys/net if_gif.c

Virtualize interface cloner for gif(4).  This fixes a panic when destroying
a vnet jail which has a gif(4) interface.
Delta File
+37 -23 head/sys/net/if_gif.c
+37 -23 1 file

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

Make net.add_addr_allfibs vnet-local.
Delta File
+5 -5 head/sys/net/route.c
+3 -1 head/sys/net/route.h
+8 -6 2 files

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

Don't register as an interrupt controller until after resource allocation
and all the other up-front things that could fail.

FreeBSD — projects/arm_intrng/sys/arm/arm intrng.c pic_if.m, projects/arm_intrng/sys/arm/include intr.h

Add method for binding interrupt to CPU in PIC interface (currently unused)
and mechanism for unified caching and translating FDT cells describing
interrupt to actual IRQ number through PIC kobj interface.

FreeBSD — head/sys/dev/ixl ixl_txrx.c

Hide LRO code under #ifdef INET/INET6 to allow NOIP kernel to compile.

While the code comments indicate that LRO is currently only supported
for IPv4/TCP, we'll still compile it in for IPv6.

MFC after:        3 days
Delta File
+12 -1 head/sys/dev/ixl/ixl_txrx.c
+12 -1 1 file

FreeBSD — projects/bhyve_svm/sys/amd64/include vmm.h, projects/bhyve_svm/sys/amd64/vmm vmm_msr.c vmm_msr.h

IFC r271888.

Restructure MSR emulation so it is all done in processor-specific code.

FreeBSD — head/sbin/ping6 ping6.c Makefile

Fix a problem that reply packets are not received when -i T option is set
and (T < RTT).

- Use select(2) for timeout instead of interval timer. Remove poll(2) support.
- Use sigaction(2) instead of signal(3).
- Exit in SIGINT handler when two signals are received and doing reverse DNS
  lookup as ping(8) does.
- Remove redundant variables used for getaddrinfo(3).

PR:        151023
Delta File
+162 -228 head/sbin/ping6/ping6.c
+1 -1 head/sbin/ping6/Makefile
+163 -229 2 files

FreeBSD — head/sbin/ping6 ping6.c

Revert changes in r269180.  It could cause -c N option to enter an
infinite loop if no reply packet is received.

PR:        151023
Delta File
+2 -8 head/sbin/ping6/ping6.c
+2 -8 1 file

FreeBSD — head/sys/netgraph/bluetooth/include ng_btsocket_rfcomm.h ng_btsocket_l2cap.h, head/sys/netgraph/bluetooth/socket ng_btsocket_l2cap.c ng_btsocket_rfcomm.c

Use callout(9) instead of timeout(9).

Reviewed by:        emax

FreeBSD — head/share/man/man4/man4.arm cgem.4 Makefile

Add a man page for the cgem(4) driver.

Submitted by:        Thomas Skibo <ThomasSkibo at sbcglobal.net>
Reviewed by:        wkoszek@, Yonghyeon PYUN <pyunyh at gmail.com>

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

Make the ARM MPCore Timer driver work with published standard FDT bindings.

We've always considered the mpcore timers to be a single monolithic device
and we defined our own fdt binding for it with our own compat string.  The
published bindings treat the timers as two separate devices, a global
timer and a "timer-watchdog" device for the per-cpu private timers.  Thus
our binding has two tuples in the regs property, one set of registers for
the global timer and one for the private timers.  The published bindings
have two separate devices, each with a single set of registers.  (Note that
we don't use the optional watchdog feature of the hardware.)

These changes add the compat strings for the published bindings.  If our
own compat string appears, we expect to get two sets of memory resources.
For the published bindings, there's only one set of memory resources, and
only the private timers have an associated interrupt.

The other major change is that there can no longer be a single global var
for the softc pointer because now there may be multiple devices at
runtime.  Since the global timer is used only as a timecounter and the
private timers only as eventtimers, and there will only be one of each,
those are now the pointers which are global, and the priv fields of those
structures backlink to the device softc.
Delta File
+183 -106 head/sys/arm/arm/mpcore_timer.c
+183 -106 1 file

FreeBSD — stable/10/sys/amd64/amd64 pmap.c, stable/10/sys/i386/i386 pmap.c

MFC r271716:
Presence of any VM_PROT bits in the permission argument on x86 implies
that the entry is readable and valid.

Approved by:        re (gjb)

FreeBSD — stable/10/sys/cam/ctl ctl_tpc.c

MFC r271702:
Fix tpc_create_token() introduced in r269497 to encode CREATOR LOGICAL
UNIT DESCRIPTOR field as Identification Descriptor CSCD descriptor, not
just as Identification Descriptor.

Approved by:        re (gjb)
Delta File
+7 -2 stable/10/sys/cam/ctl/ctl_tpc.c
+7 -2 1 file

FreeBSD — stable/10/sys/cam/scsi scsi_all.h

MFC r271700: Fix typo in defined ROD types in r269497.

Approved by:        re (gjb)
Delta File
+5 -5 stable/10/sys/cam/scsi/scsi_all.h
+5 -5 1 file

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

MFC r256800: pathchk: Ensure bytes >= 128 are considered non-portable
characters.

This was not broken on architectures such as ARM where char is unsigned.

Also, remove the first non-portable character from the output. POSIX does
not require this, and printing the first byte may yield an invalid byte
sequence with UTF-8.

PR:                165988
Reported by:        Nicolas Rachinsky
Relnotes:        yes

FreeBSD — head/sys/arm/allwinner a10_clk.c

Fix typo in comment.
Disable AHB clock gate for ehci0.

Approved by:        stas (mentor)
Delta File
+2 -1 head/sys/arm/allwinner/a10_clk.c
+2 -1 1 file

FreeBSD — head/sys/dev/ixl if_ixl.c if_ixlv.c

Properly hide calls to ARP under #ifdef INET to allow IPv6-only
kernels to compile.

MFC atfer:        3 days

FreeBSD — head/sys/dev/vt vt_buf.c

Make gcc happy by initialising the variable only set in a couple of
case statements without a default.

MFC after:        2 days
X-MFC with:        r271871
Delta File
+1 -0 head/sys/dev/vt/vt_buf.c
+1 -0 1 file

FreeBSD — stable/8/sys/dev/usb/serial u3g.c

MFC r271492:
Workaround for receiving Voice Calls using the E1750 dongle from
Huawei. It might appear as if the firmware is allocating memory blocks
according to the USB transfer size and if there is initially a lot of
data, like at the answering machine prompt, it simply dies without any
apparent reason. The simple workaround for this is to force a zero
length packet at hardware level after every 512 bytes of data. This
will force the other side to use smaller memory blocks aswell.
Delta File
+14 -3 stable/8/sys/dev/usb/serial/u3g.c
+14 -3 1 file

FreeBSD — stable/9/sys/dev/usb/serial u3g.c

MFC r271492:
Workaround for receiving Voice Calls using the E1750 dongle from
Huawei. It might appear as if the firmware is allocating memory blocks
according to the USB transfer size and if there is initially a lot of
data, like at the answering machine prompt, it simply dies without any
apparent reason. The simple workaround for this is to force a zero
length packet at hardware level after every 512 bytes of data. This
will force the other side to use smaller memory blocks aswell.
Delta File
+14 -3 stable/9/sys/dev/usb/serial/u3g.c
+14 -3 1 file

FreeBSD — stable/10/sys/dev/usb/serial u3g.c

MFC r271492:
Workaround for receiving Voice Calls using the E1750 dongle from
Huawei. It might appear as if the firmware is allocating memory blocks
according to the USB transfer size and if there is initially a lot of
data, like at the answering machine prompt, it simply dies without any
apparent reason. The simple workaround for this is to force a zero
length packet at hardware level after every 512 bytes of data. This
will force the other side to use smaller memory blocks aswell.

Approved by:    re, gjb
Delta File
+14 -3 stable/10/sys/dev/usb/serial/u3g.c
+14 -3 1 file

FreeBSD — head/etc/rc.d Makefile, head/tools/build/mk OptionalObsoleteFiles.inc

Don't install /etc/rc.d/ftp-proxy unless MK_PF == yes

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

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

IFC @r271887

FreeBSD — head/etc/rc.d Makefile, head/tools/build/mk OptionalObsoleteFiles.inc

Don't install /etc/rc.d/rwho unless MK_RCMDS == yes

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

FreeBSD — head/etc/rc.d Makefile

Sort the optional rc.d scripts by their knobs

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Delta File
+11 -11 head/etc/rc.d/Makefile
+11 -11 1 file

FreeBSD — head/sys/amd64/vmm vmm.c, head/sys/amd64/vmm/io vlapic.c

Add some more KTR events to help debugging.

FreeBSD — head/sys/amd64/vmm/intel vmx.c

MSR_KGSBASE is no longer saved and restored from the guest MSR save area. This
behavior was changed in r271888 so update the comment block to reflect this.

MSR_KGSBASE is accessible from the guest without triggering a VM-exit. The
permission bitmap for MSR_KGSBASE is modified by vmx_msr_guest_init() so get
rid of redundant code in vmx_vminit().
Delta File
+0 -7 head/sys/amd64/vmm/intel/vmx.c
+0 -7 1 file

FreeBSD — head/sys/dev/acpica acpi.c acpi_pci.c

Populate the device info string with _PXM (proximity domain) information.

This is primarily useful for debugging right now - it'll show up in
devinfo.

Reviewed by:        jhb

FreeBSD — head/sys/amd64/include vmm.h, head/sys/amd64/vmm vmm_msr.c vmm_msr.h

Restructure the MSR handling so it is entirely handled by processor-specific
code. There are only a handful of MSRs common between the two so there isn't
too much duplicate functionality.

The VT-x code has the following types of MSRs:

- MSRs that are unconditionally saved/restored on every guest/host context
  switch (e.g., MSR_GSBASE).

- MSRs that are restored to guest values on entry to vmx_run() and saved
  before returning. This is an optimization for MSRs that are not used in
  host kernel context (e.g., MSR_KGSBASE).

- MSRs that are emulated and every access by the guest causes a trap into
  the hypervisor (e.g., MSR_IA32_MISC_ENABLE).

Reviewed by:        grehan

FreeBSD — head/sys/dev/ath if_ath.c if_ath_rx_edma.c

Fix up the EDMA RX setup path to correctly initialise and reset the RX FIFO.

The original code was .. well, slightly more than incorrect.

It showed up as stalled RX queues if the NIC needed to be frequently
reinitialised (eg during scans.)

This is inspired by work done by Matt Dillon over at the DragonflyBSD
project.

So:

* track when EDMA RX has been stopped and when the MAC has been reset;
* re-initialise the ring only after a reset;
* track whether RX has been stopped/started - just for debugging now;
* don't bother with the RX EOL stuff for EDMA - we don't need the
  interrupt at all.  We also don't need to disable/enable the interrupt
  or start DMA - once new frames are pushed into the ring via the
  normal RX path, it'll just restart RX DMA on its own.

Tested:

* AR9380, STA mode
* AR9380, AP mode
* AR9485, STA mode
* AR9462, STA mode

FreeBSD — head/sys/contrib/dev/ath/ath_hal/ar9300 ar9300_freebsd.c

Quieten the AR9300 HAL attach a little - the setupXTxDesc method
is only called during attach now.

The EDMA TX path never calls this - only the legacy TX path does.