Displaying 1 50 of 270,776 commits (0.013s)

FreeBSD — stable/10/contrib/openpam/lib/libpam openpam_readword.c

MFH (r273273): Merge upstream r825: fix line continuation in whitespace

FreeBSD — stable/10/share/misc scsi_modes, stable/10/sys/cam/scsi scsi_da.h

MFC r273072:  Add LBPERE mode bit definition.

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

MFC r273046:
Don't confuse frontend with zero length data moves, just return immediately.
Delta File
+9 -9 stable/10/sys/cam/ctl/ctl.c
+9 -9 1 file

FreeBSD — stable/10/sys/cam/ctl ctl.c ctl_cmd_table.c, stable/10/sys/cam/scsi scsi_da.h

MFC r273038:  Add support for READ DEFECT DATA (10/12) commands.

SPC-4 r2 allows to return empty defect list if the list is not supported.
We don't reallu support defect data lists, but this suppresses some errors.

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

MFC r273029:
Report physical block size for file-backed LUNs, using vattr.va_blocksize.

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

MFC r273008: Remove stale comments.
Delta File
+0 -10 stable/10/sys/cam/ctl/scsi_ctl.c
+0 -10 1 file

FreeBSD — stable/10/sys/cam/ctl ctl.c, stable/10/usr.sbin/ctladm ctladm.c ctladm.8

MFC r272978: Improve and document `ctladm portlist` subcommand.

Make this subcommand less FC-specific, reporting target and port addresses
in more generic way.  Also make it report list of connected initiators in
unified way, working for both FC and iSCSI, and potentially others.

FreeBSD — stable/10/sys/cam/ctl ctl_frontend_iscsi.c scsi_ctl.c

MFC r272947: Give physical and virtual ports numbers some more meaning.

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

MFC r272939:  Shorten frontend name.
Delta File
+1 -1 stable/10/sys/cam/ctl/scsi_ctl.c
+1 -1 1 file

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

MFC r272938:  Filter out duplicate AC_PATH_REGISTERED async events.

Queued async events handling in CAM opened race, that may lead to duplicate
AC_PATH_REGISTERED events delivery during boot.  That was not happening
before r272935 because the driver was initialized later.  After that change
it started create duplicate ports in CTL.
Delta File
+39 -45 stable/10/sys/cam/ctl/scsi_ctl.c
+39 -45 1 file

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

MFC r272935:  Mark CTL frontend's CAM driver as CAM_PERIPH_DRV_EARLY.

Target mode operation does not depend on the initiator mode scan process.
This change allows the target driver to attach earlier and receive some
async events (like AC_CONTRACT) that could be lost otherwise.
Delta File
+2 -1 stable/10/sys/cam/ctl/scsi_ctl.c
+2 -1 1 file

FreeBSD — stable/10/sys/cam/ctl ctl_backend_block.c ctl_cmd_table.c, stable/10/usr.sbin/ctladm ctladm.c

MFC r272911:
Make ctld start even if some LUNs are unable to open backing storage.

Such LUNs will be visible to initiators, but return "not ready" status
on media access commands.  If backing storage become available later,
`ctladm modify ...` or `service ctld reload` can trigger its reopen.

FreeBSD — stable/10/sys/cam/ctl ctl.c ctl_private.h

MFC r272893:
Store persistent reservation keys as uint64_t instead of uint8_t[8].

This allows to simplify the code and save 512KB of RAM per LUN (8%)
by removing no longer needed "registered" keys flags.

FreeBSD — stable/10/sys/cam/ctl ctl_frontend_iscsi.c, stable/10/sys/dev/iscsi icl.c icl.h

MFC r272812: Make iSCSI connection close somewhat less aggressive.

It allows to push out some final data from the send queue to the socket
before its close.  In particular, it increases chances for logout response
to be delivered to the initiator.

FreeBSD — stable/10/sys/cam/ctl ctl.c ctl_private.h, stable/10/usr.sbin/ctladm ctladm.8

MFC r272748:
Implement software (mode page) and hardware (config) write protection.

FreeBSD — stable/10/sys/cam/ctl ctl.c ctl_cmd_table.c, stable/10/sys/cam/scsi scsi_all.h

MFC r272734:
Add support for WRITE ATOMIC (16) command and report SBC-4 compliance.

Atomic writes are only supported for ZVOLs in "dev" mode.  In other cases
atomicity can not be guarantied and so the command is blocked.

FreeBSD — stable/10/sys/cam/ctl ctl_frontend_iscsi.c ctl_frontend_iscsi.h

MFC r272613:
Add support for MaxBurstLength and Expected Data transfer Length parameters.

Before this change target could send R2T request for write transfer of any
size, that could violate iSCSI RFC, which allows initiator to limit maximum
R2T size by negotiating MaxBurstLength connection parameter.

Also report an error in case of write underflow, when initiator provides
less data than initiator expects.  Previously in such case our target
sent R2T request for non-existing data, violating the RFC, and confusing
some initiators.  SCSI specs don't explicitly define how write underflows
should be handled and there are different oppinions, but reporting error
is hopefully better then violating iSCSI RFC with unpredictable results.

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

MFC r272597: Fix length of Extended INQUIRY Data VPD page.
Delta File
+1 -3 stable/10/sys/cam/ctl/ctl.c
+1 -3 1 file

FreeBSD — stable/10/sys/cam cam_xpt.c

MFC r271718 (by bdrewery): Correct a comment
Delta File
+1 -1 stable/10/sys/cam/cam_xpt.c
+1 -1 1 file

FreeBSD — stable/10/sys/cam/ctl ctl_frontend_iscsi.c, stable/10/sys/dev/iscsi iscsi.c

MFC r271395 (by trasz):
Make sure we handle less than zero timeouts in iSCSI initiator and target
in a reasonable way.

Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/9/sys/dev/mii e1000phy.c

MFC r271073:
  Do not blindly announce 1000baseT half-duplex capability in
  autonegotiation.  Some controllers like cgem(4) do not support
  half-duplex at gigabit speeds.
Delta File
+16 -9 stable/9/sys/dev/mii/e1000phy.c
+16 -9 1 file

FreeBSD — stable/10/sys/dev/mii e1000phy.c

MFC r271073:
  Do not blindly announce 1000baseT half-duplex capability in
  autonegotiation.  Some controllers like cgem(4) do not support
  half-duplex at gigabit speeds.
Delta File
+16 -9 stable/10/sys/dev/mii/e1000phy.c
+16 -9 1 file

FreeBSD — releng/10.1/sys/kern vfs_bio.c

MFS10 r273272 (r273143 in head):
Remove setting BIO_DONE flag for BIOs that have done() method.

This fixes use-after-free, caused by geom_disk, completing same BIO twice
to save extra allocation, and getting BIO_DONE set after the first.

Approved by:        re (hrs)
Delta File
+1 -3 releng/10.1/sys/kern/vfs_bio.c
+1 -3 1 file

FreeBSD — releng/10.1/sys/netinet sctp_input.c sctp_header.h

MFC10 r273275 (r273168 in head):
Fix the reported streams in a SCTP_STREAM_RESET_EVENT, if a
sent incoming stream reset request was responded with failed
or denied.
Thanks to Peter Bostroem from Google for reporting the issue.

Approved by: re (hrs)
Sponsored 2y:

FreeBSD — stable/10/sys/dev/asmc asmc.c asmcvar.h

MFC r271975:
 Improvements to asmc(4):

 1. changed the code so that 2**16 keys are supported
 2. changed the number of possible fans in a system from 2 to 6
 3. added write support for some fan sysctls
 4. added a new sysctl which shows the ID of the fan
 5. added four more apple models with their temperature keys
 6. changed the maxnumber of temperature keys from 36 to 80
 7. replaced several fixed buf sizes to sizeof buf

 Obtained from:             Denis Ahrens denis at h3q.com

FreeBSD — head/etc rc.firewall

Fix a typo.

Spotted by:        O. Hartmann
Delta File
+2 -1 head/etc/rc.firewall
+2 -1 1 file

FreeBSD — releng/10.1/sys/dev/vt vt_core.c

MFS10 r273296 (r273219 in HEAD):

  Do nothing in vt_upgrade if there is no vt driver

  Previously, if no drivers attached at boot we would panic with
  "vtbuf_fill_locked begin.tp_row 0 must be < screen height 0".

PR:                192248
Approved by:        re
Delta File
+2 -0 releng/10.1/sys/dev/vt/vt_core.c
+2 -0 1 file

FreeBSD — projects/bhyve_svm/sbin/ping6 ping6.c ping6.8, projects/bhyve_svm/sys/amd64/vmm/amd svm_support.S

IFC @r273214

FreeBSD — head/sys/boot/fdt fdt_loader_cmd.c

The U-Boot README says fdt_addr_r is the right env var for fdt data
loaded into ram, but vendors also use fdtaddr and fdt_addr.  Check the
recommended variable first and fall back to the others.

FreeBSD — releng/10.1/share/man/man4 vt.4

MFS10 r273294 (r273178 in HEAD):

  Update vt(4) for UEFI defaults and special keys

  vt(4) is the default console for UEFI boot [1], and the bitmapped
  kern.vt.spclkeys sysctl has been replaced with individual kern.vt.kbd_*
  enable sysctls.

PR:                193710
Approved by:        re
Delta File
+42 -9 releng/10.1/share/man/man4/vt.4
+42 -9 1 file

FreeBSD — stable/10/sys/dev/vt vt_core.c

MFC r273219: Do nothing in vt_upgrade if there is no vt driver

  Previously, if no drivers attached at boot we would panic with
  "vtbuf_fill_locked begin.tp_row 0 must be < screen height 0".

PR:                192248
Delta File
+2 -0 stable/10/sys/dev/vt/vt_core.c
+2 -0 1 file

FreeBSD — head/sbin/ping ping.c Makefile, head/sbin/ping6 ping6.c Makefile

WARNS=3 and style fixes.  No functionality change.

FreeBSD — stable/10/share/man/man4 vt.4

MFC r273178: Update vt(4) for UEFI defaults and special keys

  vt(4) is the default console for UEFI boot [1], and the bitmapped
  kern.vt.spclkeys sysctl has been replaced with individual kern.vt.kbd_*
  enable sysctls.

PR:                193710
Delta File
+42 -9 stable/10/share/man/man4/vt.4
+42 -9 1 file

FreeBSD — head/cddl/lib/libdtrace tcp.d

Update the TCP structure used by DTrace to show the smoothed RTT.
This will allow similar functionality to SIFTR to be built with DTrace.

Submitted by:        Grenville Armitage
MFC after:        2 weeks
Delta File
+2 -0 head/cddl/lib/libdtrace/tcp.d
+2 -0 1 file

FreeBSD — projects/bhyve_svm ObsoleteFiles.inc, projects/bhyve_svm/bin/sh parser.c jobs.c

IFC @r273206

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

Don't advertise the "OS visible workarounds" feature in cpuid.80000001H:ECX.
bhyve doesn't emulate the MSRs needed to support this feature at this time.

Don't expose any model-specific RAS and performance monitoring features in
cpuid leaf 80000007H.

Emulate a few more MSRs for AMD: TSEG base address, TSEG address mask and
BIOS signature and P-state related MSRs.

This eliminates all the unimplemented MSRs accessed by Linux/x86_64 kernels
2.6.32, 3.10.0 and 3.17.0.

FreeBSD — stable/10/lib/libc/stdtime strptime.c

MFC r272562,r272678,r272679

1) Fix the case we have less arguments for format string than we expected.
2) Return error on unsupported format specs.
(both according to POSIX)
3) For %Z format, understand "UTC" name too.

PR:     93197

FreeBSD — projects/routing/sys/net rt_nhops.c if_ethersubr.c, projects/routing/sys/netinet ip_output.c if_ether.c

Switch IPv4 output path to use new routing api.

The goals of the new API is to provide consumers with minimal
  needed information, but as fast as possible. So we provide
  full nexthop info copied into alighed on-cache structure
  instead of rte/ia pointers, their refcounts and locks.
  This does not provide solution for protecting from egress
  ifp destruction, but does not make it any worse.

Current changes:

nhops:
Add fib4_lookup_prepend() function which stores either full
L2+L3 prepend info (e.g. MAC header in case of plain IPv4) or
L3 info with NH_FLAGS_L2_INCOMPLETE flag indicating that no valid L2
info exists and we have to take "slow" path.

ip_output:
Currently ip[ 46]_output consumers use 'struct route' for
the following purposes:
  1) double lookup avoidance(route caching)
  2) plain route caching
  3) get path MTU to be able to notify source.
The former pattern is mostly used by various tunnels
 (gif, gre, stf). (Actually, gre is the only remaining,

    [35 lines not shown]

FreeBSD — head/sys/arm/arm locore.S

Allow the armv6 kernel to be build with PHYSADDR undefined. The kernel
will now find the virtual to physical mapping for libkvm to use at
runtime. This makes PHYSADDR redundant, however keep it around to give
everyone a chance to update their libkvm.

MFC after:        1 week
Delta File
+19 -1 head/sys/arm/arm/locore.S
+19 -1 1 file

FreeBSD — head/sys/conf Makefile.arm

Only build the ARM tranpoline when KERNPHYSADDR is defined as it is
otherwise unneeded in armv6 kernels.

MFC after:        1 week
Delta File
+2 -0 head/sys/conf/Makefile.arm
+2 -0 1 file

FreeBSD — stable/10 ObsoleteFiles.inc, stable/10/etc/rc.d Makefile

MFC r273285:

- Honer MK_KERBEROS for Heimdal rc.d scripts.
- Add rc.c/kerberos to OLD_FILES.

FreeBSD — head ObsoleteFiles.inc, head/etc/rc.d Makefile

- Honer MK_KERBEROS for Heimdal rc.d scripts.
- Add rc.c/kerberos to OLD_FILES.
Delta File
+11 -4 head/etc/rc.d/Makefile
+2 -0 head/ObsoleteFiles.inc
+13 -4 2 files

FreeBSD — head/lib/libkvm kvm_arm.c, head/sys/arm/arm dump_machdep.c

Allow libkvm to get the kernel va to pa delta without the need for
physaddr. This should allow for a kernel where PHYSADDR and KERNPHYSADDR
are both undefined.

For now libkvm will use the old method of reading physaddr and kernaddr
to allow it to work with old kernels. This could be removed in the future
when enough time has passed.

Differential Revision:        https://reviews.freebsd.org/D939
MFC after:        1 week

FreeBSD — head/sys/arm/freescale/imx imx6_anatop.c

Attach this driver during BUS_PASS_BUS and move the cpu init code to a
bus_new_pass() handler so it doesn't happen until BUS_PASS_CPU.  This allows
the anatop driver to outbid the generic simplebus driver (which the FDT
data describes as compatible).

Some day when we handle power regulators, this driver may actually
become a functional simplebus and attach the regulators as children, as
described in the FDT data.

FreeBSD — head/sys/dev/fdt simplebus.c

Fail to probe on simplebus nodes that lack a "ranges" property.

Increasingly, FDT data has the "simple-bus" compatible string on nodes
that have children, but we wouldn't consider them to be busses.  If the
node lacks a ranges property then we will fail to attach successfully,
so fail to probe as well.
Delta File
+7 -1 head/sys/dev/fdt/simplebus.c
+7 -1 1 file

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

Style changes as pointed out by stas@.

MFC after:        1 week
Delta File
+5 -1 head/sys/arm/ti/ti_wdt.c
+5 -1 1 file

FreeBSD — head/sys/dev/cxgb/common cxgb_ael1002.c

cxgb(4): reset the PHY if it generates an interrupt for no apparent reason.

MFC after:        1 week

FreeBSD — head/sys/cam/ata ata_da.c, head/sys/cam/scsi scsi_da.c

Add new quirks for the latest Samsung SSD, model 850.

Submitted by:        sbruno
MFC after:        2 weeks

FreeBSD — head/sys/arm/altera/socfpga files.socfpga, head/sys/arm/conf SOCKIT-BERI

Add driver for BERI soft processor 'ring buffer' device.
Ring device provides a way for communicate to BERI
peripherals such as BERI debug unit and console.

Sponsored by:        DARPA, AFRL

FreeBSD — stable/10 ObsoleteFiles.inc, stable/10/contrib/opie opie.h

Restore ABI compatibility with 10.0-RELEASE, so that stable/10 users can use
official freebsd packages