summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r306704,r308406:mmel2017-04-163-15/+6
| | | | | | | r306704: ARM: Remove next bunch of unused cpu_functions from ARMv6. r308406: Only include sys/boot.h if LINUX_BOOT_ABI is defined
* MFC r306631,r306640,r306641,r306650,r306656:mmel2017-04-164-119/+44
| | | | | | | | | | | | | | | | | | r306631: Use C99 designated initializers to create the armv6 cpu_functions structs. This will help with a later cleanup of what functions we implement. r306640: Only define the CF_* macros on ARMv4/v5. They are unused on armv6. r306641: Remove the parts of cpu_functions from armv6 that are unused on that architecture. r306650: Add the Cortex-A{53,57,72} ID register values. These can all run 32-bit code so could run a 32-bit kernel. r306656: Use the cortex functions when booting on one of the Cortex-A ARMv8 CPUs. This list is incomplete, however we don't have the ID values for the missing Cortex-A32 or A35.
* MFC r316427, r316428: Add Log directory and SATA NCQ Send and Receive Log.mav2017-04-161-5/+22
| | | | Those are used at least by Linux guests to detect queued TRIM support.
* MFC r313873:mmel2017-04-161-0/+5
| | | | Publish fp[get][set]sticky() for ARMv6.
* MFC r313823,r313866:mmel2017-04-164-1/+61
| | | | | | | r313823: Pull in r285478 from upstream compiler-rt trunk (by Saleem Abdulrasool): r313866: Publish __aeabi_uidiv and __aeabi_idiv as compatible symbols from libc.
* MFC r315501:dchagin2017-04-154-106/+33
| | | | To reduce code duplication move socket defines to the MI path.
* MFC r316395:dchagin2017-04-151-3/+0
| | | | Remove excess tv_nsec test as this is done by linux_to_native_timespec().
* MFC r316394:dchagin2017-04-151-1/+1
| | | | The value in the tv_nsec field should be in the range 0 to 999999999.
* MFC r316393:dchagin2017-04-151-2/+1
| | | | | | As noted by bde@ negative tv_sec values are not checked for overflow, so overflow can still occur. Fix that. Also remove the extra check for tv_sec size as under COMPAT_LINUX32 it is always true.
* MFC r315498:dchagin2017-04-151-1/+1
| | | | | Check for negative nanoseconds. Linux do that in timespec_valid().
* MFC r316599:dchagin2017-04-151-2/+2
| | | | | Prevent ushort values overflow when convert new Linux 64-bit ipc struct to the old Linux ipc struct.
* MFC r314868:dchagin2017-04-151-0/+2
| | | | | Linux semop system call return EINVAL in case when the invalid nsops or semid values specified.
* MFC r314867:dchagin2017-04-151-1/+2
| | | | | Linux kernel does not export to the user space ipc_perm.mode values other than S_IRWXUGO (0777).
* MFC r314866:dchagin2017-04-157-510/+258
| | | | | | | | | | | | | Reduce code duplication between MD Linux code by moving SYSV IPC 64-bit related struct definitions out into the MI path. Invert the native ipc structs to the Linux ipc structs convesion logic. Since 64-bit variant of ipc structs has more precision convert native ipc structs to the 64-bit Linux ipc structs and then truncate 64-bit values into the non 64-bit if needed. Unlike Linux, return EOVERFLOW if the values do not fit. Fix SYSV IPC for 64-bit Linuxulator which never sets IPC_64 bit.
* MFC r314648:dchagin2017-04-151-12/+12
| | | | Style(9).
* MFC r314647:dchagin2017-04-151-11/+2
| | | | | | | | Remove attribute __packed from some IPC struct definition since Linuxulator is x86 only. The only notable differences in algnment for an LP64 64-bit system when compared to a 32-bit system is an eight or large byte types alignment.
* MFC r315948:dchagin2017-04-15104-3235/+13890
| | | | | | | | | | | | | | | | | | | | | Update tcsh to 6.20.00 MFC r315952: Update tcsh to vendor git b605cb561d Vendor changes: 1. PR/471: Daiki Ueno: Delay interpreting arginp until we've processed our startup files (which can change the NLS environment). 2. Fix type of read in prompt confirmation (eg. rmstar) (David Kaspar). 3. Fix out of bounds read (Brooks Davis) (reproduce by starting tcsh and hitting tab at the prompt). 4. Don't play pointer tricks that are undefined in modern c (Brooks Davis).
* MFC 316644:avatar2017-04-153-3/+6
| | | | | | | | | | Trying to be more compatible with Linux if.h definitions: - renaming l_ifreq::ifru_metric to l_ifreq::ifru_ivalue; - adding a definition for ifr_ifindex which points to l_ifreq::ifru_ivalue. A quick search indicates that Linux already got the above changes since 2.1.14. Reviewed by: kib, marcel, dchagin
* MFC r316313, r316328:smh2017-04-143-19/+23
| | | | | | | | Allow explicitly assigned IPv4 & IPv6 loopback addresses to be used in jails. Relnotes: Yes Sponsored by: Multiplay
* MFC r303863:smh2017-04-145-739/+868
| | | | | | Move IPv4 & IPv6 specific jail functions to netinet and netinet6 files. Sponsored by: Multiplay
* MFC r315852: zfs: add zio_buf_alloc_nowait and use it in vdev_queue_aggregateavg2017-04-143-7/+28
|
* MFC r315853: zfs_putpages: use TXG_WAITavg2017-04-141-7/+1
|
* MFC r315858: aacraid: rework r315083 for a clean build with and without ↵avg2017-04-141-6/+2
| | | | AACRAID_DEBUG
* MFC r316017,r316020: add SMT detection for newer AMD processorsavg2017-04-141-4/+19
|
* MFC r315960: dtrace sched:::preempt should fire only when there is preemptionavg2017-04-141-1/+5
|
* MFC r315851: move thread switch tracing from mi_switch to sched_switchavg2017-04-144-19/+34
|
* MFC r315078: uma: fix pages <-> items conversions at several placesavg2017-04-141-6/+8
|
* MFC r315077: uma: eliminate uk_slabsize fieldavg2017-04-143-15/+12
|
* MFC r314638: add a module that provides support for DRAM ECC error injectionavg2017-04-143-0/+253
| | | | on AMD CPUs
* MFC r314636,r314700: MCA: add AMD Error Thresholding supportavg2017-04-142-30/+214
|
* MFC r314398: Local APIC: add support for extended LVT entries found in AMD ↵avg2017-04-143-18/+179
| | | | processors
* MFC r316593:brooks2017-04-141-1/+7
| | | | | | | | | | | | Point out that -F probably does not do what the user expects. Users attempting to create images from mtree METALOG files created by installworld often use -F when they should be passing the METALOG file in place of a directory. This is often produces difficult to debug error reports. Reviewed by: emaste Sponsored by: DARPA, AFRL
* MFC r316066:bdrewery2017-04-131-0/+1
| | | | Release ccb if mode_buffer allocation fails.
* MFC r315459:bdrewery2017-04-131-1/+1
| | | | kmod: Fix depending on ILINKS for tracked DEPENDOBJS.
* MFC r315461:bdrewery2017-04-131-0/+7
| | | | META_MODE: Fix not using .depend files when no OBJDIR is present.
* MFC r315691:bdrewery2017-04-131-5/+5
| | | | Rename _cc to _gcc to be more clear.
* MFC r315211:bdrewery2017-04-131-6/+6
| | | | hier(7): Fix entry location for /usr/share/vt.
* MFC r315460:bdrewery2017-04-131-0/+1
| | | | kmod: Fix building assym.o not building missing dependencies.
* Temporarily revert r315602.pfg2017-04-131-0/+8
| | | | | | | | | | | Bring back the definition for the GCC __nonnull() attribute. Old versions of GCC, including the version installed the latest 11-stable snapshot with pkg(8), still carry the old attributes. The issue is easily fixed by rebuilding GCC but there is no need to cause havoc in our user base. The definition by itself is harmless but it should be removed again in the near future.
* MFC r314671 (by cem):dim2017-04-131-1/+3
| | | | | | | newfs_nandfs: Fix unaligned pointer warning PR: 217532 Submitted by: Trond Endrestol <Trond.Endrestol at ximalas.info>
* MFC r316695, MFV r316693:pfg2017-04-131-1/+1
| | | | | | | | | | | | | 8046 Let calloc() do the multiplication in libzfs_fru_refresh https://github.com/illumos/illumos-gate/commit/5697e03e6e3e2697f56ae341c7c8ce79680d6a2e https://www.illumos.org/issues/8046 Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com> Author: Pedro Giffuni <pfg@freebsd.org>
* MFC r316566:kib2017-04-133-35/+10
| | | | Remove spl*() calls from the nfsclient code.
* MFC r316284: elfcopy: remove temporary ELF file when converting from binaryemaste2017-04-131-0/+2
| | | | | | | | | | | Previously a command like objcopy --input-target binary --output-target elf64-x86-64-freebsd \ binary_file object.o would leave a temporary file behind. ELF Tool Chain ticket #543
* MFC r316528:kib2017-04-122-8/+11
| | | | Add V_VMIO flag for vinvalbuf(9).
* MFC r316526:kib2017-04-122-18/+30
| | | | | Extract calculation of ioflags from the vm_pager_putpages flags into a helper.
* MFC r316525:kib2017-04-121-7/+2
| | | | | Some style fixes for vnode_pager_generic_putpages(), in the local declaration block.
* MFC r316524:kib2017-04-121-2/+1
| | | | | | Use int instead of boolean_t for flags argument type in vnode_pager_generic_putpages() prototype; change the argument name to reflect that it is flags.
* MFC r306829, r310286, r311695:markj2017-04-116-148/+338
| | | | Lock the ND prefix list and add refcounting for prefixes.
* MFC r309591:markj2017-04-119-163/+172
| | | | Fix style bugs and remove trailing whitespace in libproc and librtld_db.
* MFC r315208:markj2017-04-111-1/+1
| | | | Fix a backwards comparison in the code to dump a DTrace debug buffer.
OpenPOWER on IntegriCloud