summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r272356, r275639, r276638:ian2015-02-136-142/+894
| | | | | | | | Split syscall handling out to a separate file. Include sys/kernel.h to pick up the definition of hz in syscall.c Add a new trap-v6.c which has support for all armv7 exceptions.
* MFC r276525, r276596:ian2015-02-1314-26/+31
| | | | | | | Put in a workaround for bug 196407 (arm modules cause crashes & panics). (Don't allow movw/movt insn in modules.) Fix alignment directives in arm asm code after clang 3.5 import.
* MFC r278526:gjb2015-02-131-3/+2
| | | | | | Fix a rendering issue in the nullfs(5) manual page. Sponsored by: The FreeBSD Foundation
* MFC 272315 272757 274091 274902sbruno2015-02-137-12/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | r272315 Explicitly return None for negative event indices. Prior to this, eventat(-1) would return the next-to-last event causing the back button to cycle back to the end of an event source instead of stopping at the start. r272757 Add schedgraph traces for callout handlers. Specifically, a callwheel logs a running event each time it executes a callout function. The event includes the function pointer, argument, and whether or not it was run from hardware interrupt context. The callwheel is marked idle when each handler completes. This effectively logs the duration of each callout routine in the graph. r274091 Bind Ctrl-Q as a global hotkey to exit. Bind Ctrl-W as a hotkey to close dialogs. r274902 Add a new thread state "spinning" to schedgraph and add tracepoints at the start and stop of spinning waits in lock primitives. Reviewed by: jhb
* MFC r276519:ian2015-02-133-1/+5
| | | | | Define a WFI macro that expands to the right form of wait-for-interrupt depending on the architecture.
* MFC r276518: Rework vfp code so it will compile on clang 3.4 and 3.5.ian2015-02-131-50/+62
|
* MFC r276444, r276445, r276470:ian2015-02-132-8/+8
| | | | | | | | | Fix a paste-o in dcache_inv_pou_all(). Change the order of operations for the initial cache setup. A couple small fixes to make clang 3.5 happy... Move END(sigcode) and other misplace ENTRY/END macros.
* MFC r276394, r276397:ian2015-02-132-564/+54
| | | | | | Add armv6 implementations of the startup-time cache maintenence functions. Create a new locore.S that includes locore-v4 or locore-v6 as needed.
* MFC r276395, r276396: Rename locore.S to locore-v4.S and add a new locore-v6.S.ian2015-02-124-27/+1135
|
* MFC r276306: Use proper markup for quotes.ian2015-02-121-2/+3
|
* MFC r276247, r276333, r276334, r276335, r276336, r276340, r276350:ian2015-02-128-1/+816
| | | | | | | | | | | | | | | | | | | | | | | | Include acle-compat.h directly rather than getting it via sysreg.h. Add new code to read and parse cpu identification data using the new CPUID mechanism defined for armv7. Add new TLB and cache maintainence functions for armv6 and armv7. Eliminate an unused macro whose name clashes now with a function in the new cpu-v6.h Add cache maintenance functions which will be used by startup code to initially set up the MMU. Fix a "decl is not a prototype" error noticed by gcc (but not clang). Update comments (r4 is not used anywhere), use non-profiling entry macros. Add arm option ARM_NEW_PMAP, to allow us to begin adding the new pmap code alongside the existing implementation Add armv6 implementations of cache operations to avoid duplication
* MFC r272209, r272300, r276212, r276213:ian2015-02-123-33/+288
| | | | | | | | | Add machine/sysreg.h to simplify accessing the system control coprocessor registers and use it in the ARMv7 CPU functions. Add macros for asm barrier instructions with arch-specific implementations. Define only the CP15 register operations that are valid for the architecture.
* MFC r276206:ian2015-02-123-8/+12
| | | | | | For data and instruction prefetch aborts, call the same handler in the C code, passing a 0/1 flag that indicates which type of abort it was. This sets the stage for unifying the handling of page faults in a single routine.
* MFC r276196, r276197, r276198, r276202, r276203, r276204:ian2015-02-122-44/+56
| | | | | | | | | | | | | Change the style of the DO_AST macro to match the others Remove _PROF_PROLOGUE from the EENTRY() macros. Stylish changes... put tabs where they need to be in macros, move lines around so that related things are more grouped together, rewrite comments. Fix the GLOBAL macro so it works (upper vs lowercase X), use it in _EENTRY. Create 'L' variants of all the ENTRY macros for file-static/local symbols.
* MFC 277710:jhb2015-02-121-2/+4
| | | | | Pass a valid Dx state variable to PCIB_POWER_FOR_SLEEP() in pcib_resume() instead of NULL.
* MFC r276191: Display correct value for cache level-of-coherency (needs +1).ian2015-02-121-1/+1
|
* MFC r278268:ae2015-02-121-1/+2
| | | | Print IPv6 address in log message instead of address of pointer.
* MFC r278004:dim2015-02-122-9/+9
| | | | | | | | | | | | | | | | | | | | Constify a number of accesses in drm2's radeon drivers to avoid -Wcast-qual warnings. No functional change. Reviewed by: dumbbell Differential Revision: https://reviews.freebsd.org/D1727 MFC r278438: After r278004 was committed, Bruce Evans noted that the casts were actually completely unnecessary, here: https://lists.freebsd.org/pipermail/svn-src-all/2015-February/098478.html Remove the casts, and just assign &xxx_io_mc_regs[0][0] directly. Reviewed by: dumbbell Differential Revision: https://reviews.freebsd.org/D1748
* MFC r276187, r276190, r271422:ian2015-02-1217-279/+173
| | | | | | | | | | Rename pmap_kenter_temp to pmap_kenter_temporary to be consistent with the other architectures with this function. Eliminate unnecessary references to pte.h internals by using the standard pmap_kenter_temporary() to map pages while dumping. Cleanup up ARM *frame structures.
* MFC r271394, r271398:ian2015-02-1228-86/+116
| | | | | | | Add more register values to armreg.h and remove CPU_CONTROL_32BP_ENABLE from asm.h as they were already defined in armreg.h. Unify interrupts bit definition and usage. While here remove PSR_C_bit.
* MFC r272519:ian2015-02-121-0/+6
| | | | | Add movw and movt relocations to the list of relocations against function names that must not be adjusted.
* MFC r276162: Don't assume required FDT properties are present.ian2015-02-121-3/+11
|
* MFC r275779, r275963, r276101, r276161, r276297:ian2015-02-128-17/+2129
| | | | | | | | | | | Move ofw_cpu.c to sys/dev/ofw so that it can be used by other architectures. Add driver for CPU frequency/voltage control on the Raspberry Pi. On initialization, do not use bcm_mbox_intr() to read the pending messages. This fixes the hang that happens on boot while initializing the cpufreq on Raspberry Pi.
* MFC r276145: Convert lingering NO_FORTH conditionals to test MK_FORTH.ian2015-02-112-2/+2
|
* MFC r276079, r276087:ian2015-02-1113-29/+81
| | | | | | | | Add a divisor parameter to twiddle() so that callers can request that output only happen on every Nth call. Add a new loader(8) variable, twiddle_divisor, allowing control over the output frequency of the "twiddle" IO progress indicator.
* MFC r276047: Add -march=armv7a to the kernel compile for all v7a ARM systems.ian2015-02-1113-0/+13
|
* MFC r266943, r266950, r267390:ian2015-02-1113-227/+627
| | | | | Add support for Exynos 5420 Octa - 8-core (big.LITTLE) ARM machine Enable SMP for both Exynos5 models we support.
* Remove etc/rc.d/accounting from FILESngie2015-02-111-1/+0
|
* MFC r277736:ngie2015-02-112-0/+5
| | | | | | | | r277736: Honor MK_ACCT with etc/rc.d/accounting Sponsored by: EMC / Isilon Storage Division
* MFC r278209:kib2015-02-111-0/+39
| | | | Add ddb command 'show clocksource'.
* MFC r277828:kib2015-02-117-12/+80
| | | | | | | | | | | | | Update mtime for tmpfs files modified through memory mapping. MFC r277969: Update both ctime and mtime for writes to tmpfs files. MFC r277972: Remove single-use boolean. MFC r278151: Remove duplicated assignment.
* MFC r277741:ngie2015-02-112-2/+4
| | | | | | | | r277741: Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slave Sponsored by: EMC / Isilon Storage Division
* MFC r278182:ngie2015-02-116-3/+22
| | | | | | | | | r278182: Conditionalize building radius support into libpam, ppp, etc via MK_RADIUS_SUPPORT Sponsored by: EMC / Isilon Storage Division
* MFC: r278173bapt2015-02-111-1/+5
| | | | | | Test the return of fetchParseURL(3) CID: 1125811
* MFC: r278172bapt2015-02-111-4/+10
| | | | | | | | Plug resources leak CID: 1125813 CID: 1125807 CID: 1125808
* Regen src.conf(5)ngie2015-02-111-7/+35
|
* MFC r264515:ngie2015-02-111-0/+3
| | | | | | r264515 (by imp): Document WITHOUT_GPL_DTC too.
* MFC r277728:ngie2015-02-118-8/+51
| | | | | | | | r277728: Add MK_AUTOFS knob for building and installing autofs(4), et al Sponsored by: EMC / Isilon Storage Division
* MFC r277727:ngie2015-02-118-3/+34
| | | | | | | | r277727: Add MK_BHYVE knob for building and installing bhyve(4), et al Sponsored by: EMC / Isilon Storage Division
* MFC r277725:ngie2015-02-116-9/+37
| | | | | | | | r277725: Add MK_HAST knob for building and installing hastd(8), et al Sponsored by: EMC / Isilon Storage Division
* MFC r277675,r277726,r278070:ngie2015-02-119-14/+52
| | | | | | | | | | | | | | | | | | | | | | r277675: Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernel modules, etc Sponsored by: EMC / Isilon Storage Division r277726: Build sbin/iscontrol again if MK_ISCSI != no Pointyhat to: me r278070: Remove duplicate MK_ISCSI block and sort the conditional blocks so this error won't crop up again in the future Reported by: gjb
* MFC r277663:ngie2015-02-114-1/+27
| | | | | | | | r277663: Add MK_EE knob to control installing edit, ee, etc Sponsored by: EMC / Isilon Storage Division
* MFC r277854:cy2015-02-111-1/+0
| | | | | | | | | ipfilter 5.1.2 (vs 4.1.28 in previous releases of FreeBSD) stores IPv4 and IPv6 rules in a single table. ipf -6 -Fa will flush the whole table, including IPv4 rules. This patch removes the redundant ipf -I -6 -Fa statement. PR: 188318
* MFC: r276469marius2015-02-101-7/+43
| | | | | | | | | | - Switching the mode of Ricoh R5CE823 to SD2.0 causes their PCI device ID to change to 0xe822, which may be persistent across reboots and, thus, confuse other OSes. Therefore, restore the original mode and frequency setting on detach and shutdown. - Report Ricoh R5CE822 as such. - According to Linux, Ricoh R5CE822 also need SDHCI_QUIRK_LOWER_FREQUENCY. - Nuke an unused softc member.
* MFC 277709:jhb2015-02-101-13/+11
| | | | | | | | Use an sbuf to generate the output of the net.inet.tcp.hostcache.list sysctl to avoid a possible buffer overflow if the cache grows while the text is being generated. PR: 172675
* MFC: r273050marius2015-02-101-4/+0
| | | | | class, subclass and progif were never used, so don't bother setting them.
* MFC 273800:jhb2015-02-107-134/+187
| | | | | | | | | | | | | Rework virtual machine hypervisor detection. - Move the existing code to x86/x86/identcpu.c since it is x86-specific. - If the CPUID2_HV flag is set, assume a hypervisor is present and query the 0x40000000 leaf to determine the hypervisor vendor ID. Export the vendor ID and the highest supported hypervisor CPUID leaf via hv_vendor[] and hv_high variables, respectively. The hv_vendor[] array is also exported via the hw.hv_vendor sysctl. - Merge the VMWare detection code from tsc.c into the new probe in identcpu.c. Add a VM_GUEST_VMWARE to identify vmware and use that in the TSC code to identify VMWare.
* MFC r278105:hselasky2015-02-101-7/+22
| | | | | | Separate out detection of prevent and allow medium removal quirk. PR: 185747
* Append to the MFC of r278103 that we also pass along the M_FLOWID flag.hselasky2015-02-101-2/+2
| | | | Sponsored by: Mellanox Technologies
* MFC r278103:hselasky2015-02-101-0/+4
| | | | | | | | | The flowid and hashtype should be copied from the originating packet when fragmenting IP packets to preserve the order of the packets in a stream. Else the resulting fragments can be sent out of order when the hardware supports multiple transmit rings. Sponsored by: Mellanox Technologies
OpenPOWER on IntegriCloud