ƒ³c266311 180 1674 161 214 762 237 127 115 204 145 181 187 263 205 112 157 165 196 158 156 250 273 743 198 223 134 179 736 508 812 276 1643 170 194 194 159 214 734 350 385 300 130 775 833 136 222 222 146 164 163 259 226 319 151 166 232 145 249 162 158 286 271 417 850 425 166 249 157 157 386 154 164 168 221 816 544 165 289 368 261 370 134 200 538 370 165 137 167 282 301 388 388 320 148 156 148 340 197 210 232 169 253 139 399 292 207 577 457 266 384 182 319 367 336 367 155 455 201 155 185 201 201 170 168 560 560 168 168 168 177 177 343 395 122 586 153 195 389 1151 143 424 201 156 156 258 150 142 161 161 161 214 214 319 376 1289 207 259 288 229 158 236 248 248 340 274 391 390 662 161 166 162 1551 452 185 209 161 161 161 240 240 164 K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T13:53:38.288358Z K 7 svn:log V 1580 MFC 262952, 262958, 262966, 262979, 262980, 262986, 262987, 262995, 262997, 263030, 263033, 263034, 263056, 263057, Remove all the redundant external declarations of exception vectors and runtime setting of the pointers that's scattered around various places. Remove all traces of support for ARM chips prior to the arm9 series. Make the default exception handler vectors point to where I thought they were already pointing: the default handlers (not a panic that says there is no default handler). Eliminate irq_dispatch.S. Move the data items it contained into arm/intr.c and the functionality it provided into arm/exception.S. Move the exception vector table (so-called "page0" data) into exception.S and eliminate vectors.S. Change the way the asm GET_CURTHREAD_PTR() macro is defined so that code using it doesn't have to have an "AST_LOCALS" macro somewhere in the file. Arrange for arm fork_trampoline() to return to userland via the standard swi_exit code in exception.S instead of having its own inline expansion of the DO_AST and PULLFRAME macros. Now that the PUSHFRAME and PULLFRAME macros are used only in the swi entry/exit code, they don't need to be macros. Except that didn't work and the whole change was reverted. Remove some unnecessary indirection and jump right to the handler functions. Use panic rather than printf to "handle" an arm26 address exception (should never happen on arm32). Remove the unreferenced DATA() macro. Remove #include from files that don't need it. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T13:59:11.429887Z K 7 svn:log V 69 MFC 263036, 263059: delete advertising clause in licenses, renumber. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T14:03:46.317069Z K 7 svn:log V 121 MFC 263199, 263207 Fix error mesasge in dtc. Add tmpfs, mbr, and bsdlabel options back to wandboard kernel config. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T14:22:37.008136Z K 7 svn:log V 669 MFC 262989, 263210, 263230, 263231, 263239, 263242, 263243, Export _libc_arm_fpu_present as a private symbol to be used by other system libraries, for example libm. On armv6 access both the softfloat and, when available, the vfp to get and set the floating-point environment. Build fenv-vfp.c with the softfp float abi. Without this gcc generates an incorrect assembly file that doesn't allow for vfp instructions. Only build the vfp/softfp switching code on armv6 as we don't support vfp on anything earlier than this. This should fix the armeb and arm builds when using gcc. Add an optimised version of the float and double helper functions. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-05-17T14:35:18.014493Z K 7 svn:log V 144 MFC r265850 About 9% of the pmap_protect() calls being performed by vm_map_copy_entry() are unnecessary. Eliminate the unnecessary calls. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2014-05-17T14:39:40.364450Z K 7 svn:log V 31 Implement eventfd system call. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2014-05-17T14:41:18.998004Z K 7 svn:log V 19 Regen for r266316. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-17T14:57:34.909933Z K 7 svn:log V 108 Mark the i.MX51 and i.MX53 boards as compatible with the i.MX51 and i.MX53 respectively. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-17T15:07:00.378512Z K 7 svn:log V 53 Make GEOM DISK to account also BIO_FLUSH operations. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-17T15:26:08.442468Z K 7 svn:log V 89 Add -o option to gstat to display "other" operatins (e.g. BIO_FLUSH). MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2014-05-17T16:00:25.134109Z K 7 svn:log V 90 MFC r228162: Use C99 initializers for members of evtchn_devsw. Submitted by: wolfskill END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-17T16:11:06.287096Z K 7 svn:log V 170 Use 'RESOURCE' instead of the more generic 'TYPE' for the resource name column header when displaying resource usage. This more closely matches other procstat displays. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-17T16:12:50.834064Z K 7 svn:log V 112 Add descriptions of the display formats for -e, -l, -r, and -x. Fix a few typos in indent settings while here. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-17T16:22:25.235047Z K 7 svn:log V 20 MFC r265845: Style. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-17T16:26:59.416729Z K 7 svn:log V 65 MFC r246872 (by davidxu): Simplify code by using flag O_EXLOCK. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-17T16:28:29.107822Z K 7 svn:log V 73 MFC r246894 (by davidxu): Make more code be protected by internal mutex. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-17T16:29:39.595105Z K 7 svn:log V 103 MFC r265847: Fix sem_unlink(3) to properly invalidate the semaphores name cache. PR: standards/189353 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T16:46:15.736147Z K 7 svn:log V 66 MFC 263245: Make all the comments '# ' and align to same column. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T16:57:17.690197Z K 7 svn:log V 64 MFC 263246: Align all comments in config files on same column. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T17:18:35.286976Z K 7 svn:log V 157 MFC 261357, 261358, 261421: Enable SCHED_ULE for ppc book-e. Add driver for the ADT7460/ADT7467 fan controller found in later PowerBooks and iBooks. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T17:34:37.938071Z K 7 svn:log V 180 MFC 263301 In kernel config files, it is supposed to be 'options' not 'options', per long standing (but recently not so strictly enforced) convention. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T17:54:38.222536Z K 7 svn:log V 650 MFC 263250, 263251, 263424, 263425, 263426, 263427, 263430, 263431 Use the same cache terminology as the ARM docs in comments. No functional changes. Use armv7 TLB flush code, not arm11, for cortex-a processors. Exynos/ Arndale... - Disable debugging by default. - Add display-related and clk devices to the tree - Prevent resources intersection with EHCI driver - Add display-related and clk devices to the tree - Prevent resources intersection with EHCI driver - Add driver for Display Controller. - Add support for Samsung Chromebook (ARM Cortex A15 machine). - Rename mct and ehci drivers files to match common naming. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-17T18:02:46.119288Z K 7 svn:log V 102 Add FDT_PLATFORM_DEF2 for when there are multiple platforms needing to use the same platform methods. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-17T18:35:22.591185Z K 7 svn:log V 127 Move the Ti SoCs to use the ARM platform. This should help allowing a single kernel to work on both PandaBoard and BeagleBone. END K 10 svn:author V 5 lwhsu K 8 svn:date V 27 2014-05-17T18:40:43.359394Z K 7 svn:log V 40 ADd axge(4) to LINT Approved by: markj END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-17T18:52:20.502765Z K 7 svn:log V 84 Allow us to compile the Ti iic driver for both OMAP4 and AM335x. MFC after: 1 week END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T18:53:36.939209Z K 7 svn:log V 643 MFC 263631, 263637, 263664, 263676, 263679, 263698, 263711, Implement __flt_rounds for ARMv6 hard-float. The fpscr register stores the current rounding mode used by the VFP unit. Simplify how we build MACHINE_ARCH. There are 3 options that may be set however only arm, armeb, armv6, and soon armv6hf will be used. Add the llvm/clang patch for r263619. Reorder the pmap macros so "ARM_MMU_V6 + ARM_MMU_V7" is first. As they are identical this allows us to build for both v6 and v7 together. Add code for enabling second CPU core for A20 SoC. Enable SMP on Cubieboard2. Switch to freebsd.org emal address in copyright. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-17T19:06:46.088973Z K 7 svn:log V 414 Adds the ADC driver for TI AM3xxx SoC family. The ADC has a 12bit resolution and its raw output can be read via sysctl(8) interface. The driver allows the setup of ADC clock, samples average and open delay (the number of clock cycles to wait before start the conversion). The TSC_ADC module is set in the general purpose mode (no touchscreen support). Tested on Beaglebone-black. Written based on AM335x TRM. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-17T19:11:08.702665Z K 7 svn:log V 719 MFC 259641,259863,259924,259937,259961,259978,260380,260383,260410,260466, 260531,260532,260550,260619,261170,261453,261621,263280,263290,264516: Add support for local APIC hardware-assist. - Restructure vlapic access and register handling to support hardware-assist for the local APIC. - Use the 'Virtual Interrupt Delivery' and 'Posted Interrupt Processing' feature of Intel VT-x if supported by hardware. - Add an API to rendezvous all active vcpus in a virtual machine and use it to support level triggered interrupts with VT-x 'Virtual Interrupt Delivery'. - Use a cheaper IPI handler than IPI_AST for nested page table shootdowns and avoid doing unnecessary nested TLB invalidations. Reviewed by: neel END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-17T19:16:45.133080Z K 7 svn:log V 182 MFC r265013 Revert r258678. Make the led gpio-specifier match again the #gpio-cells settings from the GPIO controller, which i had broken in r258678. Restore the active-low flag. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T19:37:04.802674Z K 7 svn:log V 1549 MFC 263910, 263913, 263914, 263933, 263934, 263935, 263936, 263981, 263982, Add more flags for the fpexc register from the ARM1176JZF-S Manual Initialise fpscr to a sane value when we create the pcb. This sets NaNs to be the default NaN and for denormalised numbers to be flushed to zero. VFP fixes/cleanups for ARM11: * Save the required VFP registers on context switch. If the exception bit is set we need to save and restore the FPINST register, and if the fp2v bit is also set we need to save and restore FPINST2. * Move saving and restoring the floating point control registers to C. * Clear the fpexc exception and fp2v flags on a floating-point exception. * Signal a SIGFPE if the fpexc exception flag is set on an undefined instruction. This is how the ARM core signals to software there is a floating-point exception. Add Cortex-A15 cpu id revisions. Exynos/Arndale... - Merge SoC-common parts - Enable iicbus device - Directly call kmem_alloc_contig to allocate framebuffer memory and pass VM_MEMATTR_UNCACHEABLE (no-cache, no-buffer). This fixes screen refreshing problem when data is updated too slowly. - Add support for keyboard used in Samsung Chromebook (ARM machine) Support covers device drivers for: - Interrupt Combiner - gpio/pad, External Interrupts Controller (pad) - I2C Interface - Chrome Embedded Controller - Chrome Keyboard - Use new gpio dev class in EHCI driver - Expand device tree information - Release i2c bus on detach. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-17T19:45:23.938461Z K 7 svn:log V 78 Document r266209, pmcstat(8) '-l' flag. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-17T19:45:40.221923Z K 7 svn:log V 101 Document r266165, power management bug with Intel Turbo Boost. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-17T19:45:55.643714Z K 7 svn:log V 101 Document r266167, power management bug with Intel Turbo Boost. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-17T19:45:58.205618Z K 7 svn:log V 67 Document r266269, xenhvm.ko. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-17T19:59:46.403643Z K 7 svn:log V 121 Reword r266269 text, based on feedback from cperciva. Mention the kld module name. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T20:10:12.494338Z K 7 svn:log V 641 MFC 264019, 264041, 264048, 264049, 264050, 264051 Add support for event timers whose clock frequency can change while running. Apparently all ARM configs build kern_et.c, but only a few of them also build kern_clocksource.c, un-break the build by not referencing functions in kern_clocksource if NO_EVENTTIMERS is defined. Add variable-frequency support to the arm mpcore eventtimer driver. mpcore_timer: Disable the timer and clear any pending bit, then setup the new counter register values, then restart the timer. Also re-nest the parens properly for casting the result of converting time and frequency to a count. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T20:22:22.991625Z K 7 svn:log V 257 MFC 264054, 264056 Switch imx6 to using the mpcore per-cpu event timers, but continue to use the GPT timer, which is fixed-frequency, as a timecounter. Change NO_EVENTTIMERS from an arm-specific to an MI option, so that it can be used in MI code. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-17T20:31:34.597601Z K 7 svn:log V 292 The time is not yet ripe to break the lack of dependencies between src/sys and the rest of the tree for builds. o eliminate including bsd.mkopts.mk for the moment in kern.opts.mk o No need to include src.opts.mk at all anymore. The reasons for it are now coverted in sys.mk and src.sys.mk. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-17T20:31:40.660720Z K 7 svn:log V 207 Move inclusion of /etc/make.conf and others to old location (this also moves local.sys.mk). The new location broke adding things to CXXFLAGS in /etc/src.conf with +=. Move it back until that's sorted out... END K 10 svn:author V 6 rstone K 8 svn:date V 27 2014-05-17T20:39:39.188722Z K 7 svn:log V 35 Correct a typo. MFC after: 1 week END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T20:52:10.241956Z K 7 svn:log V 682 MFC 264052, 264057, 264065, 264094, 264103, 264120 Actually save the mpcore clock frequency retrieved from fdt data. imx6.. - Don't call sdhci_init_slot() until after handling the FDT properties related to detecting card presence. - Flag several sysctl variables as tunables. - Rework the cpu frequency management code for imx6 to add "operating points" and min/max frequency controls. generic timer... - Setup both secure and non-secure timer IRQs. We don't know our ARM security state, so one of them will operate. - Don't set frequency, since it's unpossible in non-secure state. Only rely on DTS clock-frequency value or get clock from timer. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T21:07:54.942302Z K 7 svn:log V 740 MFC 264128, 264129, 264130, 264135, Fix TTB set operation for armv7. Perform sychronization (by "isb" barrier) after TTB is set. Fix TLB maintenance issues for armv6 and armv7. - Add cpu_cpwait to comply with the convention. - Add missing TLB invalidations, especially in pmap_kenter & pmap_kremove with distinguishing between D and ID pages. - Modify pmap init/bootstrap invalidations to ID, just to be safe. - Fix TLB-inv and PTE_SYNC ordering. Allocate per-cpu resources for doing pmap_zero_page() and pmap_copy_page(). This is performance enhancement rather than bugfix. We don't support any ARM systems with an ISA bus and don't need a freelist of memory to support ISA addressing limitations. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-17T21:10:03.519455Z K 7 svn:log V 44 Add support for decoding rdrand and rdseed. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T21:18:08.018644Z K 7 svn:log V 129 MFC 264137: Switch wandboards over to the common IMX6 kernel config, which has SMP enabled. Also switch IMX6 to use SCHED_ULE. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T21:19:44.398205Z K 7 svn:log V 129 MFC 264137: Switch wandboards over to the common IMX6 kernel config, which has SMP enabled. Also switch IMX6 to use SCHED_ULE. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T21:23:46.962227Z K 7 svn:log V 54 MFC 264183: Add a couple more required TLB flushes. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T21:26:33.533478Z K 7 svn:log V 72 MFC 264150: Exynos: Correct the end address of the video frame buffer. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T21:28:49.339262Z K 7 svn:log V 71 MFC 264160: Remove code under PMAP_CACHE_VIVT, not compiled on armv6. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T21:31:58.408623Z K 7 svn:log V 166 MFC 264180, 264181, 264182: Follow files.imx51 and add vt support for imx53. Add fsl,imx53 compatible string. Need to include machine/fdt.h in vt_early_fb.c END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T21:35:26.357255Z K 7 svn:log V 133 MFC 264190: Mark __fixdfdi/__aeabi_d2lz with COMPILER_RT_ABI so it uses the correct calling convention for __aeabi_* functions. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T21:46:25.667459Z K 7 svn:log V 226 MFC 264203, 264204, 264206, 264218: Tell VM we now have ARM platforms with physically discontiguous memory. Define the full 1024M of ram on the imx51 and imx53 boards. Use a more professional uart device description. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T21:53:34.292590Z K 7 svn:log V 59 MFC 264219: Move sys/arm/econa to sys/arm/cavium/cns11xx. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T21:55:00.183743Z K 7 svn:log V 74 MFC 264230: Move dts files accidentally placed in arm dir to powerpc dir. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T22:00:10.521115Z K 7 svn:log V 139 MFC 264251: Updates to i.MX53: * Define support for the SDHCI driver, although it doesn't work yet * Fix the memory mappings for IPU END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T22:01:17.222555Z K 7 svn:log V 53 MFC 264389: Fix the style of ata_interrupt_locked(). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T22:02:26.609887Z K 7 svn:log V 156 MFC 264428: Improve the i.MX53 / Digi DTS: * Fix the IPU address. * Fix the PATA definition. * Add another I2C. * Add more UARTs. * Add SATA. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T22:03:44.332361Z K 7 svn:log V 70 MFC 264694: Fix a comment typo; conversion tables are for leap years. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T22:05:31.664721Z K 7 svn:log V 66 MFC 264702: Remove uncessary armv6 cache and TLB maintenance ops. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T22:19:16.997077Z K 7 svn:log V 193 MFC 264696, 264721, Add the deprecated fp{get,set}* functions, a few ports use them. Rename the fp{get,set}* files so they no longer conflict with the softfloat version of these files. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T22:29:24.187011Z K 7 svn:log V 178 MFC 264977: Stop calling imx51_ccm_foo() clock functions from imx6 code. Instead define a few imx_ccm_foo() functions that are implemented by the imx51 or imx6 ccm code. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T22:31:40.217188Z K 7 svn:log V 324 MFC 264981, 264983, 264985: The freescale imx uart driver works for the whole i.MX family, so rename the header file to not have "5xx" in the name. Flesh out imx_uart_init() so that we're not relying on u-boot to init the hardware (meaning uarts other than the console will work). Reword a comment block a bit. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T22:50:16.225979Z K 7 svn:log V 757 MFC 264990, 264994, 265020, 265025: Call cpu_icache_sync_range() rather than sync_all since we know the range and flushing the entire icache is needlessly expensive. Provide a proper armv7 implementation of icache_sync_all rather than using armv7_idcache_wbinv_all, because wbinv_all doesn't broadcast the operation to other cores. In elf_cpu_load_file() use icache_sync_all() and explain why it's needed (and why other sync operations aren't). Remove cpu_idcache_wbinv_all() from kdb_cpu_trap(), it's no longer needed. Explain why wbinv_all is SMP-safe when dumping, and add a missing l2 cache flush. (Either it was missing here, or it isn't needed in the minidump case. Adding it here seems like the safer path to consistancy.) END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T23:03:04.346537Z K 7 svn:log V 332 MFC 265023, 265024, 265036: There is no difference between IPI_STOP and IPI_STOP_HARD on ARM, so map them both to the same interrupt number like other arches do. Flush and invalidate caches on each CPU as part of handling IPI_STOP. Don't use multiprocessing-extensions instruction on processors that don't support SMP. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T23:07:26.664634Z K 7 svn:log V 74 MFC 265035: Move duplicated code to print l2 config into the common code. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T23:16:18.463106Z K 7 svn:log V 156 MFC 265038: Move common device tree informations to separate dtsi files for A10 and A20 SoC. Change cubieboard1 and cubieboard2 dts files accordingly. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T23:20:29.459574Z K 7 svn:log V 65 MFC 265059: Set the new floating point exception mask correctly. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T23:21:53.405749Z K 7 svn:log V 65 MFC 265111: Make a declaration into a proper function prototype. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T23:25:20.735367Z K 7 svn:log V 293 MFC 265099, 265148, 265690: Add SMP support for Zedboard. Use edge-triggered interrupts rather than polling loops to avoid missing transitions of the INIT_B line. Also, release the mutex during uiomove(). Convert the Zynq SoC support to the new routines for static device mapping. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T23:27:02.008651Z K 7 svn:log V 62 MFC 265156: Remove WANDBOARD.common, it was replaced by IMX6. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-17T23:29:45.360073Z K 7 svn:log V 72 MFC 265207: Use arm_devmap_add_entry() to setup static device mapping. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T00:15:48.311633Z K 7 svn:log V 76 MFC 265208: Honor the max-frequency property if it appears in the fdt data. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T00:21:14.603739Z K 7 svn:log V 128 MFC 265155, 265254: Omit from the universe build all config files tagged with #NO_UNIVERSE. Add FDT to the VYBRID kernel. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T00:26:42.308706Z K 7 svn:log V 723 MFC 265440, 265441, 265444, 265445, 265446, 265447: Move the pl310.enabled tunable to hw.pl310.enabled. Clean up a few minor style(9) nits. Use DEVMETHOD_END. Break out the code that figures out the L2 cache geometry to its own routine, so that it can be called from multiple places in upcoming changes. Call platform_pl310_init() before enabling the controller, and handle the case where the controller is already enabled. Add defines for the bits in the PL310 debug control register. Add a public routine to set the L2 cache ram latencies. This can be called by platform init routines to fine-tune cache performance. Enable PL310 power-saving modes and tune the cache ram latencies for imx6. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T00:30:04.263320Z K 7 svn:log V 451 MFC 265694, 265705, 265784: Move the mptramp code which is specific to the Marvell ArmadaXP SoC out of the common locore.S file and into the mv/armadaxp directory. Consolidate all the AP core startup stuff under a single #ifdef SMP block Call idcache_inv_all from the AP core entry code before turning on the MMU. Also, enable instruction and branch caches, which should be safe now that they're properly initialized/invalidated first. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T00:32:35.320388Z K 7 svn:log V 73 MFC 265852: Map device memory using PTE_DEVICE rather than PTE_NOCACHE. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T00:55:26.082509Z K 7 svn:log V 196 MFC 265861, 265870: Make the hardware memory and instruction barrier functions work on armv4 and armv5 as well. Add cpu_l2cache_drain_writebuf(), use it to implement generic_bs_barrier(). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T01:18:42.572673Z K 7 svn:log V 275 MFC 265913, 265914: Interrupts need to be disabled on entry to cpu_sleep() for ARM. Given that and the need to be in a critical section when switching to idleclock mode for event timers, use spinlock_enter()/exit() to achieve both needs. Clean up some style nits. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T01:20:51.743433Z K 7 svn:log V 168 MFC 265915: Build modules in parallel. This is a record-only merge, because the actual change got merged by accident several days ago along with some other MFC I did. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-05-18T03:50:17.048562Z K 7 svn:log V 274 Make the vmx asm code dtrace-fbt-friendly by - inserting frame enter/leave sequences - restructuring the vmx_enter_guest routine so that it subsumes the vm_exit_guest block, which was the #vmexit RIP and not a callable routine. Reviewed by: neel MFC after: 3 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-18T03:57:54.360861Z K 7 svn:log V 42 Add support for the 'rdseed' instruction. END K 10 svn:author V 9 allanjude K 8 svn:date V 27 2014-05-18T04:21:12.810960Z K 7 svn:log V 101 Note my mentors in the committers graph. Add my birthday to the calendar. Approved by: bcr (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-18T04:33:24.799155Z K 7 svn:log V 445 MFC 259737, 262646: Fix a couple of issues with vcpu state: - Add a parameter to 'vcpu_set_state()' to enforce that the vcpu is in the IDLE state before the requested state transition. This guarantees that there is exactly one ioctl() operating on a vcpu at any point in time and prevents unintended state transitions. - Fix a race between VMRUN() and vcpu_notify_event() due to 'vcpu->hostcpu' being updated outside of the vcpu_lock(). END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-18T09:13:29.466276Z K 7 svn:log V 272 - Add softc pointer argument to FIFO functions as an optimisation. - Implement support for interrupt filters in the DWC OTG driver, to reduce the amount of CPU task switching when only feeding the FIFOs. - Add common spinlock to the USB bus structure. MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-18T09:19:13.382040Z K 7 svn:log V 68 - Remove no longer used file. FDT is used to attach device drivers. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-18T09:29:00.523892Z K 7 svn:log V 40 Fix build after recent DWC OTG changes. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T13:05:07.787178Z K 7 svn:log V 75 MFC 265624, 265739: Fix interrupt parent property in dts, add SMP support. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-18T14:18:23.520700Z K 7 svn:log V 189 MFC 260377: When pf_get_translation() fails, it should leave *sn pointer pristine, otherwise we will panic in pf_test_rule(). PR: amd64/189741 Tested by: Nick Rogers END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-05-18T14:25:19.558366Z K 7 svn:log V 209 Since ipfw nat configures all options in one step, we should set all bits in the mask when calling LibAliasSetMode() to properly clear unneeded options. PR: 189655 MFC after: 1 week Sponsored by: Yandex LLC END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-18T15:28:25.437957Z K 7 svn:log V 295 MFC 264765,264766: - Don't claim the adapter is idle if it is clearing a drive. - Fix an off by one error when checking for the stop event. This resulted in not showing the most recent event by default. - When the stop even is hit, break out of the outer loop to stop fetching more events. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-18T15:29:00.241317Z K 7 svn:log V 295 MFC 264765,264766: - Don't claim the adapter is idle if it is clearing a drive. - Fix an off by one error when checking for the stop event. This resulted in not showing the most recent event by default. - When the stop even is hit, break out of the outer loop to stop fetching more events. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-18T15:31:02.605481Z K 7 svn:log V 227 MFC 264766: - Fix an off by one error when checking for the stop event. This resulted in not showing the most recent event by default. - When the stop even is hit, break out of the outer loop to stop fetching more events. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-05-18T15:31:53.822581Z K 7 svn:log V 56 Update the date on the manual page. Pointed out by: bz END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T16:02:56.991567Z K 7 svn:log V 64 MFC 256941: make sure the frame is indeed in the kernel memory. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T16:03:34.868804Z K 7 svn:log V 56 MFC 256873: Make watchdog function conform watchdog(9): END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T16:07:35.351780Z K 7 svn:log V 247 MFC 256942, 256943: - Fix a typo. - Use bus_dmamap_unload(), it is not optional. - The new allocator won't return coherent memory for any size > PAGE_SIZE, so don't assume we have coherent memory, and explicitely use bus_dmamap_sync(). END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-05-18T16:08:11.922514Z K 7 svn:log V 104 Added cleanup in case nc(1) starts after the test program. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T16:17:13.336003Z K 7 svn:log V 117 MFC 257189: Fix an itt instruction. We need to execute both the mov and b instructions when building for Thumb. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T16:39:47.986682Z K 7 svn:log V 139 MFC 257231: Make sure the PCB is aligned on 8 bytes, we may use ldrd/strd to access it, which may have strong alignment requirements. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T16:43:47.205499Z K 7 svn:log V 77 MFC 257233: Use size of the MACHINE_ARCH string instead of sizeof(uint32_t). END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-18T17:14:08.716424Z K 7 svn:log V 160 Fix LD_LIBMAP. The r232862 passed the pointer to end of string to lmc_parse() and free(). Submitted by: Wolfgang Jenkner MFC after: 1 week END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T17:46:48.566928Z K 7 svn:log V 47 MFC 258287: Implement pmap_align_superpage(). END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-05-18T17:58:33.522869Z K 7 svn:log V 304 Initial work on evdev support. Includes evdev chardev driver with basic ioctls support (enough to run X with evdev-driven mouse) and a modified ums(4) driver reporting to evdev layer. Userspace interface headers (input.h and uinput.h) are for now borrowed from Linux and adapted to BSD ioctl specifics. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-18T19:28:15.640105Z K 7 svn:log V 199 MFC r256790: Fix the VCVT instruction. It must round towards zero when converting from a floating-point to an integer value. This was not the case causing issues when printing certain values. END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-05-18T19:52:36.485658Z K 7 svn:log V 114 Test seen stuck in "I" state (idle). Added check for failed fork(2). Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 bjk K 8 svn:date V 27 2014-05-18T21:05:54.788749Z K 7 svn:log V 484 Document some user-settable make variables in ports.7 This is not a comprehensive list, as the variables themselves are spread out over multiple files, but it is a start. Add a section to make.conf noting that variables may be set there that affect ports builds, but refer to ports.7 and elsewhere for the actual listing; any listing in make.conf.5 would likely become out of date fairly quickly. PR: docs/189199 Reviewed by: bdrewery (previous version) Approved by: hrs (mentor) END K 10 svn:author V 3 bjk K 8 svn:date V 27 2014-05-18T21:16:59.302130Z K 7 svn:log V 364 Assorted updates to md5.1 Note that the -c argument's parameter is compared against the digest of the file, not the file. [1] Update the "current time" parentheticals for notes about reversing and colliding the hash functions. [1] Some general mdoc updates. PR: docs/188043 [1] Submitted by: Jamie Landeg-Jones [1] Approved by: hrs (mentor) MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-05-18T22:30:12.305830Z K 7 svn:log V 170 Add the flowtype to the inpcb. The flowid isn't enough to use as part of any RSS related CPU affinity lookups - the RSS code would like to know what kind of hash it is. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-05-18T22:32:04.215541Z K 7 svn:log V 288 Add a new function to do a CPU ID lookup based on RSS hash information. This is intended to be used by various places that wish to hash some information about a TCP/UDP/IP flow but don't necessarily have a live mbuf to do it with. Refactor rss_m2cpuid() to use the refactored function. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-05-18T22:34:06.026190Z K 7 svn:log V 87 Ensure that the flowid hashtype is assigned to the inp if the flowid is also assigned. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-05-18T22:37:31.000720Z K 7 svn:log V 223 * When copying the flowid from inp -> outbound mbuf, also assign the hashtype to to the outbound mbuf as well as the flowid. * Add in socket options to fetch the hashid, the hashtype and RSS CPU ID for a given socket. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-05-18T22:39:01.407711Z K 7 svn:log V 271 When RSS is enabled and per cpu TCP timers are enabled, do an RSS lookup for the inp flowid/flowtype to destination CPU. This only modifies the case where RSS is enabled and the per-cpu tcp timer option is enabled. Otherwise the behaviour should be the same as before. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2014-05-19T01:21:02.627860Z K 7 svn:log V 243 This is the beta release of the driver for the new Intel 40G Ethernet Controller XL710 Family. This is the core driver, a VF driver called i40evf, will be following soon. Questions or comments to myself or my co-developer Eric Joyner. Cheers! END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-05-19T03:50:07.056344Z K 7 svn:log V 273 Add PG_U (user/supervisor) checks when translating a guest linear address to a guest physical address. PG_PS (page size) field is valid only in a PDE or a PDPTE so it is now checked only in non-terminal paging entries. Ignore the upper 32-bits of the CR3 for PAE paging. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-05-19T04:40:02.914906Z K 7 svn:log V 63 remove trailing white space... fix spelling of unnecessary... END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-05-19T04:44:27.703760Z K 7 svn:log V 357 Slightly restructure the final loop in rman_reserve_resource_bound(). Replace with the existing loop termination test with a similar condition from the nested "if" that may terminate the loop a bit sooner, but still not too early. This condition can then be removed from the nested "if". Relocate an operator to be style(9) compliant. MFC after: 3 days END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-05-19T04:53:43.304944Z K 7 svn:log V 103 Nuke a couple of unnecessary assigments. Nothing uses the values of rstart and rend after this point. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-05-19T04:55:53.659946Z K 7 svn:log V 58 Be even more paranoid about overflow. Requested by: ache END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-05-19T05:05:03.587954Z K 7 svn:log V 91 Only enable bits where the slot indicates support Rejig debug printing of status registers END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-05-19T07:45:46.925405Z K 7 svn:log V 103 Nuke a couple of unnecessary assigments. Nothing uses the values of rstart and rend after this point. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-05-19T07:46:03.245021Z K 7 svn:log V 103 Nuke a couple of unnecessary assigments. Nothing uses the values of rstart and rend after this point. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-05-19T07:49:09.499909Z K 7 svn:log V 73 MFC r265931 Be even more paranoid about overflow. Requested by: ache END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-05-19T07:49:13.036214Z K 7 svn:log V 71 MFC r265931 Be even more paranoid about overflow. Requested by: ache END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-19T09:26:32.775680Z K 7 svn:log V 464 MFC: r253654 Set the device description after we call uart_probe(). In uart_probe() we call device-specific probe functions, which can (and typically will) set the device description based on low-level device probe information. In the end we never actually used the device description that we so carefully maintained in the PCI match table. By setting the device description after we call uart_probe(), we'll print the more user- friendly description by default. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-19T09:26:35.799248Z K 7 svn:log V 464 MFC: r253654 Set the device description after we call uart_probe(). In uart_probe() we call device-specific probe functions, which can (and typically will) set the device description based on low-level device probe information. In the end we never actually used the device description that we so carefully maintained in the PCI match table. By setting the device description after we call uart_probe(), we'll print the more user- friendly description by default. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-19T09:29:59.802474Z K 7 svn:log V 73 MFC: r257808 Add new AMT serial port PCI ID on Intel Lynx Point chipset END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-19T09:30:05.010072Z K 7 svn:log V 73 MFC: r257808 Add new AMT serial port PCI ID on Intel Lynx Point chipset END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-19T09:30:08.574049Z K 7 svn:log V 73 MFC: r257808 Add new AMT serial port PCI ID on Intel Lynx Point chipset END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-19T09:31:46.559728Z K 7 svn:log V 82 MFC: r259838 Add another HP iLO serial (console) port, found on Itanium servers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-19T09:31:49.497677Z K 7 svn:log V 82 MFC: r259838 Add another HP iLO serial (console) port, found on Itanium servers. END K 10 svn:author V 6 thomas K 8 svn:date V 27 2014-05-19T10:08:05.539271Z K 7 svn:log V 247 MFC rev. 265926: (NANO_CONFIG): New variable containing path of config file, so that the configuration can reference additional files relative to its own location. (NANO_MODULES): If set to "default", install all built modules. Reviewed by: imp END K 10 svn:author V 6 thomas K 8 svn:date V 27 2014-05-19T11:17:44.188032Z K 7 svn:log V 299 MFC rev. 265926: (NANO_CONFIG): New variable containing path of config file, so that the configuration can reference additional files relative to its own location. (NANO_MODULES): If set to "default", install all built modules. Also update mergeinfo for past MFC of rev. 265260. Reviewed by: imp END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-05-19T14:01:48.300483Z K 7 svn:log V 28 Merge from head to r266429. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-05-19T16:05:42.738748Z K 7 svn:log V 494 We have two functions from where a geom orphan method could be called: g_orphan_register and g_resize_provider_event. Both are called from the event queue. Also we have GEOM_DEV class, which does deferred destroy for its consumers via g_dev_destroy (also called from the event queue). So it is possible, that for some consumers an orphan method will be called twice. This triggers panic in g_dev_orphan. Check that consumer isn't already orphaned before call orphan method. MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-05-19T16:08:15.657269Z K 7 svn:log V 62 Add a topology trace to the g_spoil_event. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-19T16:13:40.462347Z K 7 svn:log V 102 Add ARM_EABI to the list, since arm kernels need it # Note: MK_ARM_EABI likely is going to die soon. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-05-19T16:15:27.912467Z K 7 svn:log V 291 MFC: r227809 This patch enables the new/default NFS server's use of shared vnode locking for read, readdir, readlink, getattr and access. It is hoped that this will improve server performance for these operations, since they will no longer be serialized for a given file/vnode. PR: 167048 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-05-19T17:11:43.728475Z K 7 svn:log V 1054 Add -R to netstat to dump RSS/flow information. This is intended to help in diagnostics and debugging of NIC and stack flowid support. Eventually this will grow another column (RSS CPU ID) but that currently isn't cached in the inpcb. There's also no clean flowtype -> flowtype identifier string. This is the mbuf M_HASHTYPE_* values for RSS. Here's some example output: adrian@adrian-hackbox:~/work/freebsd/head/src % netstat -Rn | more Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address flowid ftype tcp4 0 0 10.11.1.65.22 10.11.1.64.12409 29041942 2 udp4 0 0 127.0.0.1.123 *.* 00000000 0 udp6 0 0 fe80::1%lo0.123 *.* 00000000 0 udp6 0 0 ::1.123 *.* 00000000 0 udp4 0 0 10.11.1.65.123 *.* 00000000 0 Tested: * amd64 system w/ igb NIC; local driver changes to expose RSS flowid in if_igb. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-19T18:07:37.124904Z K 7 svn:log V 51 Add support for decoding the AMD SVM instructions. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-19T19:08:46.834289Z K 7 svn:log V 331 _SUBDIR is marked .MAKE - since it runs a sub-make. Targets thus marked are supposed to run even with -n. As such they should not do anything except run the sub-make. Use an intermediate target _* to associate with _SUBDIR and which depends on installincludes etc so that we get the correct behavior with -n. Reviewed by: marcel END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-05-19T19:34:44.088020Z K 7 svn:log V 105 Let's just use the mib0 partition for our configurations pace. It's a convenient thing. tested: * AP93 END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-05-19T19:49:06.770881Z K 7 svn:log V 62 MFC r266195: Remove some prototypes for undefined functions. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-05-19T19:54:21.492421Z K 7 svn:log V 62 MFC r266195: Remove some prototypes for undefined functions. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-05-19T20:11:55.600616Z K 7 svn:log V 163 Fix tst.ZeroModuleProbes.d.ksh, which was incorrectly modified in r178534. Since "BEGIN" is not the name of a module, the test would just hang. MFC after: 3 days END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-05-19T20:28:00.326755Z K 7 svn:log V 56 MFC - tracking commit. Merging r265921 through r266454. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-19T21:55:47.199545Z K 7 svn:log V 50 Revert previous change - doesn't cover all cases. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-20T00:57:00.420800Z K 7 svn:log V 65 MFC r265465: Don't reply monlist request when it's not enabled. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-20T00:57:28.549431Z K 7 svn:log V 65 MFC r265465: Don't reply monlist request when it's not enabled. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-20T00:57:53.780480Z K 7 svn:log V 65 MFC r265465: Don't reply monlist request when it's not enabled. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-20T01:17:52.581614Z K 7 svn:log V 121 Document r266279 and r266280, '-J' flag to ps(1), and corresponding top(1) change. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-20T01:17:59.495207Z K 7 svn:log V 121 Document r266286 and r266287, '-J' flag to ps(1), and corresponding top(1) change. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-05-20T02:59:13.946835Z K 7 svn:log V 223 Bump bhyve allocation up to 20 bits to avoid birthday-paradox style address collisions when bhyve VMs are connected to the same broadcoast domain and are using pseudo-random allocations. Reviewed by: gnn MFC after: 1 week END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-05-20T03:00:20.335427Z K 7 svn:log V 278 - Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* by default for newsyslog(8). The /usr/local/etc/newsyslog.conf.d will give packages an opportunity to install a default configuration to handle their own log files. MFC after: 2 weeks Relnotes: yes END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-20T09:19:35.456416Z K 7 svn:log V 1195 When exec_new_vmspace() decides that current vmspace cannot be reused on execve(2), it calls vmspace_exec(), which frees the current vmspace. The thread executing an exec syscall gets new vmspace assigned, and old vmspace is freed if only referenced by the current process. The free operation includes pmap_release(), which de-constructs the paging structures used by hardware. If the calling process is multithreaded, other threads are suspended in the thread_suspend_check(), and need to be unsuspended and run to be able to exit on successfull exec. Now, since the old vmspace is destroyed, paging structures are invalid, threads are resumed on the non-existent pmaps (page tables), which leads to triple fault on x86. To fix, postpone the free of old vmspace until the threads are resumed and exited. To avoid modifications to all image activators all of which use exec_new_vmspace(), memoize the current (old) vmspace in kern_execve(), and notify it about the need to call vmspace_free() with a thread-private flag TDP_EXECVMSPC. http://bugs.debian.org/743141 Reported by: Ivo De Decker through secteam Sponsored by: The FreeBSD Foundation MFC after: 3 days END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-20T10:28:19.743781Z K 7 svn:log V 114 Change comment about HPNDisabled to match the style of other options to avoid confusion. Sponsored by: Multiplay END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-20T12:22:53.302200Z K 7 svn:log V 161 Make sure detach code is executed in all cases. This fixes a panic when debugging is enabled. Reported by: Idwer Vollering MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-20T14:15:03.460786Z K 7 svn:log V 190 Correct some programming details. The layout of the PDTs were different from what was initially thought. Fix re-programming of hardware mode register after reset. Sponsored by: DARPA, AFRL END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-20T14:39:22.176786Z K 7 svn:log V 136 Add IOMMU PCI subclass, found on Tyan S8236 motherboard. Submitted by: Dmitry Luhtionov MFC after: 2 weeks END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-05-20T14:52:56.777273Z K 7 svn:log V 63 Add partially baked IPv4 multicast support and lots of cleanup END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-20T15:03:23.910916Z K 7 svn:log V 138 Optimise reading of pending interrupt registers. If there are no pending interrupt bits, skip the bit iteration loop. Reviewed by: ian @ END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-20T15:47:37.826910Z K 7 svn:log V 150 - The DELAY() should not be used in USB drivers. - The usb_pause_mtx() function takes ticks and not milliseconds as last argument. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-20T15:53:17.800683Z K 7 svn:log V 150 - The DELAY() should not be used in USB drivers. - The usb_pause_mtx() function takes ticks and not milliseconds as last argument. MFC after: 3 days END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-20T18:25:46.085789Z K 7 svn:log V 247 Use an intermediate target to associate with _SUBDIR which is marked .MAKE this allows make -n to do tree walks as expected without doing anything else (as intended). Use prefix _sub. to help avoid conflict with any real target. Reviewed by: imp END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-20T19:55:06.839428Z K 7 svn:log V 175 Add ismt(4) driver. ismt(4) supports the SMBus Message Transport controller found on Intel C2000 series (Avoton) and S1200 series (Briarwood) Atom SoCs. Sponsored by: Intel END K 10 svn:author V 3 rea K 8 svn:date V 27 2014-05-20T19:55:59.340685Z K 7 svn:log V 298 Fix warning messages after r252015 $alias used to hold alias number, but now it carries full variable name, so messages were tuned to account for that. Other fixes: - eliminate unneeded double spaces; - tell user where inet/inet6 keywords are expected to be. Reviewed by: hrs MFC after: 1 week END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-05-20T20:30:28.063631Z K 7 svn:log V 296 Add PG_RW check when translating a guest linear to guest physical address. Set the accessed and dirty bits in the page table entry. If it fails then restart the page table walk from the beginning. This might happen if another vcpu modifies the page tables simultaneously. Reviewed by: alc, kib END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-20T21:05:36.699571Z K 7 svn:log V 569 MFC 260237: Fix a bug in the HPET emulation where a timer interrupt could be lost when the guest disables the HPET. The HPET timer interrupt is triggered from the callout handler associated with the timer. It is possible for the callout handler to be delayed before it gets a chance to execute. If the guest disables the HPET during this window then the handler never gets a chance to execute and the timer interrupt is lost. This is now fixed by injecting a timer interrupt into the guest if the callout time is detected to be in the past when the HPET is disabled. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-05-20T21:15:47.875067Z K 7 svn:log V 65 Add FreeBSD version 11.0. This is a direct commit to stable/10. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-05-20T21:24:15.785584Z K 7 svn:log V 70 Move Nx definition to a separate block. Noticed by: ru (a while ago) END K 10 svn:author V 3 slm K 8 svn:date V 27 2014-05-20T22:11:52.810679Z K 7 svn:log V 70 - Add myself to committers-src.dot Approved by: ken/scottl (mentors) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-05-20T22:43:17.992831Z K 7 svn:log V 1454 Old PCIe implementations cannot allow a DMA transfer to cross a 4GB boundary. This was addressed several years ago by creating a parent tag hierarchy for the root buses that set the boundary restriction for appropriate buses and allowed child deviced to inherit it. Somewhere along the way, this restriction was turned into a case for marking the tag as a candidate for needing bounce buffers, instead of just splitting the segment along the boundary line. This flag also causes all maps associated with this tag to be non-NULL, which in turn causes bus_dmamap_sync() to take the slow path of function pointer indirection to discover that there's no bouncing work to do. The end result is a lot of pages set aside in bounce pools that will never be used, and a slow path for data buffers in nearly every DMA-capable PCIe device. For example, our workload at Netflix was spending nearly 1% of all CPU time going through this slow path. Fix this problem by being more selective about when to set the COULD_BOUNCE flag. Only set it when the boundary restriction exists and the consumer cannot do more than a single DMA segment at once. This fixes the case of dynamic buffers (mbufs, bio's) but doesn't address static buffers allocated from bus_dmamem_alloc(). That case will be addressed in the future. For those interested, this was discovered thanks to Dtrace Flame Graphs. Discussed with: jhb, kib Obtained from: Netflix, Inc. MFC after: 3 days END K 10 svn:author V 3 bjk K 8 svn:date V 27 2014-05-21T03:11:27.032844Z K 7 svn:log V 359 Check for mismatched vref()/vdrop() Assert that the hold count has not fallen below the use count, a situation that would only happen when a vref() (or similar) is erroneously paired with a vdrop(). This situation has not been observed in the wild, but could be helpful for someone implementing a new filesystem. Reviewed by: kib Approved by: hrs (mentor) END K 10 svn:author V 5 marck K 8 svn:date V 27 2014-05-21T05:27:57.233876Z K 7 svn:log V 91 Document VMware-related filesystems additions. Reviewed by: jmg MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-21T06:23:52.445244Z K 7 svn:log V 111 Avoid starting a USB transfer inside the callback function, right after its been submitted. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-21T06:29:52.459749Z K 7 svn:log V 64 MFC r266006 and r266011: Fix unload of USB audio kernel module. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-21T06:31:44.956772Z K 7 svn:log V 64 MFC r266006 and r266011: Fix unload of USB audio kernel module. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-21T06:33:21.649607Z K 7 svn:log V 64 MFC r266006 and r266011: Fix unload of USB audio kernel module. END K 10 svn:author V 6 thomas K 8 svn:date V 27 2014-05-21T07:21:36.407025Z K 7 svn:log V 144 MFC rev. 265593: (dd_out): Fix handling of all-zeroes block at end of input with conv=sparse. PR: bin/189174 PR: bin/189284 Reviewed by: kib END K 10 svn:author V 6 thomas K 8 svn:date V 27 2014-05-21T07:42:42.141226Z K 7 svn:log V 144 MFC rev. 265593: (dd_out): Fix handling of all-zeroes block at end of input with conv=sparse. PR: bin/189174 PR: bin/189284 Reviewed by: kib END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-05-21T08:09:44.687109Z K 7 svn:log V 70 - Configure Rx bulk - Announce flow control capability to PHY drivers END