summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* MFC r316433:ae2017-04-171-0/+5
| | | | | | | Add the log formatting for an external action opcode. Obtained from: Yandex LLC Sponsored by: Yandex LLC
* MFC r316434:ae2017-04-174-13/+40
| | | | | | | | | | | | | | | Add O_EXTERNAL_DATA opcode support. This opcode can be used to attach some data to external action opcode. And unlike to O_EXTERNAL_INSTANCE opcode, this opcode does not require creating of named instance to pass configuration arguments to external action handler. The data is coming just next to O_EXTERNAL_ACTION opcode. The userlevel part currenly supports formatting for opcode with ipfw_insn size, by default it expects u16 numeric value in the arg1. Obtained from: Yandex LLC Sponsored by: Yandex LLC
* MFC r316461:ae2017-04-1710-14/+18
| | | | | | | | | | | Remove "IPFW static rules" rmlock. Make PFIL's lock global and use it for this purpose. This reduces the number of locks needed to acquire for each packet. Obtained from: Yandex LLC Sponsored by: Yandex LLC Differential Revision: https://reviews.freebsd.org/D10154
* MFC r307686:mmel2017-04-161-1/+1
| | | | | Use MACHINE_ARCH rather than TARGET_ARCH which has no meaning outside of Makefile.inc1
* MFC r309538:mmel2017-04-163-18/+89
| | | | | | | | | Fixes for NVIDIA Tegra124 clocks: - EMC clock have standard peripheral clock block. Use it. - Implement full frequency set method for PLLD2. This PLL is used as HDMI pixel clock so we must be able to set it to wide range of frequencies, within 5% tolerance allowed by HDMI specification. Due to this, full state space search (over m, n, p fields) is necessary.
* MFC r308286,r308287:mmel2017-04-165-124/+471
| | | | | | | | | r308286: TEGRA: Add basic driver for memory controller. For now, it only reports memory and SMMU access errors. r308287: TEGRA: Fix numerous issues in clock code. Define and export clocks related to XUSB driver.
* MFC r310593,r310599:mmel2017-04-164-0/+210
| | | | | | | | | | | | | | r310593: Fix late monitor hotplug event. If system starts without attached monitor, DRM create framebuffer for VT console. Later, when monitor is attached, the hotplug event must issue full modeset procedure to setup CRTC. In original code, this was done in drm_fb_helper_set_par(), but we don't have this function implemented yet. Use unrolled version of drm_fb_helper_set_par() to ensure same functionality. r310599: Import drm_patform.c, an implementation of non-PCI based attachment for graphics drivers. It will be used in upcoming driver for Nvidia Tegra boards.
* MFC r309532,r310674:mmel2017-04-164-1/+15
| | | | | | | | | | r309532: Add IDs for HDA codecs found on Nvidia Tegra SoCs. r310674: Limit number of stripes supported by HDA codec to maximum number announced by HDA controller. Incorrectly implermented HDA codec may report support for more stripes that HDA controller already have. Due to this, always limit number of enabled stripes by global controller maximum.
* MFC r309537:mmel2017-04-161-5/+7
| | | | | | | Clock framework fixes: - The clk_test_freq() (aka CLK_SET_DRYRUN) doesn't change frequency, don't cache it result. - Fix busy condition for clk_set_freq().
* MFC r308612,r308614:mmel2017-04-166-40/+221
| | | | | | | | | | r308612: Allow DRM2 code to be built on platforms without AGP. This patch is taken from original drm-3.8 code. r308614: Allow embeding DRM2 code into kernel. It's usefull for development (for netboot) and it also helps to boot FreeBSD on some embeded platforms (where we must boot kernel directly, without standard boot loader).
* MFC r306703:mmel2017-04-161-1/+1
| | | | | | ARM: Disconnect elf_trampoline.c from ARMv6 build. The trampoline code never functioned properly for Cortex CPUs, and its functionality is already provided by ubldr.
* MFC r306442,r306444,r306445,r306550:mmel2017-04-164-3/+3
| | | | | | | | | | | | | r306442: TEGRA: Add support for MULTIDELAY option. r306444: TEGRA: Don't include files already included by system or arch configs. r306445: TEGRA: Return back kern_clocksource.c into tegra config file. It was removed in r306444 by mistake. r306550: TEGRA: Extend timeout for PLLs lock to 5 ms. Real lock time for PLLA has been very near to old limit.
* MFC r315900,r315973,r315974:mmel2017-04-1610-221/+221
| | | | | | | | | | | | | | | r315900: Cleanup structures related to VFP and/or mcontext_t. - in mcontext_t, rename newer used 'union __vfp' to equaly sized 'mc_spare'. Space allocated by 'union __vfp' is too small and cannot hold full VFP context. - move structures defined in fp.h to more appropriate headers. - remove all unused VFP structures. r315973: Save VFP state on fork(). Update the copy of VFP state in PCB before it is cloned for new process. r315974: Preserve VFP state across signal delivery.
* MFC r303261,r315059:mmel2017-04-1612-886/+1039
| | | | | | | | r303261: Add more UEFI/e820 memory types from latest specifications. r315059: Split overbloated machep.c to multiple files and do basic cleanup of these fragments.
* 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.
OpenPOWER on IntegriCloud