summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r266006 and r266011:hselasky2014-05-212-2/+2
| | | | Fix unload of USB audio kernel module.
* Add FreeBSD version 11.0.pluknet2014-05-201-0/+1
| | | | This is a direct commit to stable/10.
* MFC 260237:jhb2014-05-201-67/+84
| | | | | | | | | | | | | 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.
* Document r266279 and r266280, '-J' flag to ps(1), andgjb2014-05-201-0/+11
| | | | | | corresponding top(1) change. Sponsored by: The FreeBSD Foundation
* MFC r265465:delphij2014-05-201-2/+0
| | | | Don't reply monlist request when it's not enabled.
* MFC r266195:markj2014-05-192-4/+0
| | | | Remove some prototypes for undefined functions.
* MFC rev. 265926:thomas2014-05-191-2/+13
| | | | | | | | | | (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
* MFC: r257808marius2014-05-191-0/+1
| | | | Add new AMT serial port PCI ID on Intel Lynx Point chipset
* Be even more paranoid about overflow.truckman2014-05-191-4/+4
| | | | Requested by: ache
* Nuke a couple of unnecessary assigments. Nothing uses the values of rstarttruckman2014-05-191-2/+0
| | | | and rend after this point.
* MFC r256790:ian2014-05-181-4/+4
| | | | | | 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.
* MFC 258287: Implement pmap_align_superpage().ian2014-05-181-0/+14
|
* MFC 257233: Use size of the MACHINE_ARCH string instead of sizeof(uint32_t).ian2014-05-181-1/+1
|
* MFC 257231:ian2014-05-181-1/+5
| | | | | Make sure the PCB is aligned on 8 bytes, we may use ldrd/strd to access it, which may have strong alignment requirements.
* MFC 257189:ian2014-05-181-1/+1
| | | | | Fix an itt instruction. We need to execute both the mov and b instructions when building for Thumb.
* MFC 256942, 256943:ian2014-05-182-4/+9
| | | | | | | | - 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().
* MFC 256873: Make watchdog function conform watchdog(9):ian2014-05-181-0/+12
|
* MFC 256941: make sure the frame is indeed in the kernel memory.ian2014-05-181-1/+4
|
* MFC 264765,264766:jhb2014-05-182-7/+13
| | | | | | | | - 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.
* MFC 265624, 265739: Fix interrupt parent property in dts, add SMP support.ian2014-05-185-0/+197
|
* MFC 259737, 262646:jhb2014-05-184-38/+65
| | | | | | | | | | 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().
* MFC 265913, 265914:ian2014-05-181-10/+6
| | | | | | | | 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.
* MFC 265861, 265870:ian2014-05-185-4/+42
| | | | | | | 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().
* MFC 265852: Map device memory using PTE_DEVICE rather than PTE_NOCACHE.ian2014-05-1812-55/+55
|
* MFC 265694, 265705, 265784:ian2014-05-184-70/+78
| | | | | | | | | | | 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.
* MFC 265440, 265441, 265444, 265445, 265446, 265447:ian2014-05-183-44/+117
| | | | | | | | | | | | | | | | | | 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.
* MFC 265155, 265254:ian2014-05-1820-5/+49
| | | | | | Omit from the universe build all config files tagged with #NO_UNIVERSE. Add FDT to the VYBRID kernel.
* MFC 265208: Honor the max-frequency property if it appears in the fdt data.ian2014-05-183-10/+16
|
* MFC 265207: Use arm_devmap_add_entry() to setup static device mapping.ian2014-05-171-19/+3
|
* MFC 265156: Remove WANDBOARD.common, it was replaced by IMX6.ian2014-05-171-159/+0
|
* MFC 265099, 265148, 265690:ian2014-05-177-50/+139
| | | | | | | | | 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.
* MFC 265111: Make a declaration into a proper function prototype.ian2014-05-171-1/+1
|
* MFC 265059: Set the new floating point exception mask correctly.ian2014-05-171-1/+1
|
* MFC 265038:ian2014-05-174-172/+282
| | | | | Move common device tree informations to separate dtsi files for A10 and A20 SoC. Change cubieboard1 and cubieboard2 dts files accordingly.
* MFC 265035: Move duplicated code to print l2 config into the common code.ian2014-05-174-68/+45
|
* MFC 265023, 265024, 265036:ian2014-05-174-3/+28
| | | | | | | | | | 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.
* MFC 264990, 264994, 265020, 265025:ian2014-05-176-8/+30
| | | | | | | | | | | | | | | | 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.)
* MFC 264981, 264983, 264985:ian2014-05-172-2/+74
| | | | | | | | | | 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.
* MFC 264977:ian2014-05-179-47/+118
| | | | | | 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.
* MFC 264696, 264721,ian2014-05-177-0/+304
| | | | | | | 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.
* MFC 264702: Remove uncessary armv6 cache and TLB maintenance ops.ian2014-05-171-10/+0
|
* MFC 264694: Fix a comment typo; conversion tables are for leap years.ian2014-05-171-1/+1
|
* MFC 264428:ian2014-05-172-16/+48
| | | | | | | | | | Improve the i.MX53 / Digi DTS: * Fix the IPU address. * Fix the PATA definition. * Add another I2C. * Add more UARTs. * Add SATA.
* MFC 264389: Fix the style of ata_interrupt_locked().ian2014-05-171-13/+11
|
* MFC 264251: Updates to i.MX53:ian2014-05-178-88/+135
| | | | | * Define support for the SDHCI driver, although it doesn't work yet * Fix the memory mappings for IPU
* MFC 264230: Move dts files accidentally placed in arm dir to powerpc dir.ian2014-05-175-0/+0
|
* MFC 264219: Move sys/arm/econa to sys/arm/cavium/cns11xx.ian2014-05-1718-25/+25
|
* MFC 264203, 264204, 264206, 264218:ian2014-05-174-6/+8
| | | | | | | | 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.
* MFC 264190:ian2014-05-171-1/+1
| | | | | Mark __fixdfdi/__aeabi_d2lz with COMPILER_RT_ABI so it uses the correct calling convention for __aeabi_* functions.
* MFC 264180, 264181, 264182:ian2014-05-173-1/+5
| | | | | | | | 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
OpenPOWER on IntegriCloud