summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Nervously welcoming myself to the family.jsa2010-07-162-0/+5
| | | | | | | Add myself to all the appropriate places, upload my pgp key, and announce my arrival to the FreeBSD world. Approved by: wxs@ (mentor)
* Make legacy ATA emulation detection more strict. This should fix falsemav2010-07-161-1/+2
| | | | | | | positive legacy detection and attach failure/panic for Marvell 88SX6141 controller and potentially some others. PR: kern/145064
* Rename documentation source files to avoid filesystem case and restrictedemaste2010-07-164-2/+2
| | | | | | | filename issues when checking out the source on other operating systems. I've verified the generated paper.ascii is identical before and after the change.
* Improve interrupt setup errors handling.mav2010-07-161-1/+7
|
* Move common macros into asm.h. Replace MIPS_CPU_NOP_DELAY withimp2010-07-165-59/+41
| | | | | | | HAZARD_DELAY. Move HAZARD_DELAY and ITLBNOPFIX into asm.h, for possible later optimization... Reviewed by: jmallet, jchandra
* machine/cpu.h isn't appropriate for this file,so remove itimp2010-07-161-1/+0
|
* This file appears not to be used.imp2010-07-161-198/+0
|
* Use #define for get_cyclecount rather than inline function.imp2010-07-161-5/+1
| | | | | mips_rd_count() isn't defined in userland, and cpu.h is included there in alias_scpt.h (maybe they don't need it in the first place).
* Simplify AcpiOsReadPort() and AcpiOsWritePort() with iodev_read_*() andjkim2010-07-161-22/+7
| | | | | iodev_write_*(). This removes unnecessary uses of temporary macros as well. There is no functional change after this (verified with md5(1) on amd64).
* Fix KASSERT() messages to reflect reality.adrian2010-07-161-2/+2
|
* Use pmap_mapdev()/pmap_unmapdev() to map device memory instead of usingjkim2010-07-161-4/+4
| | | | | | | AcpiOsMapMemory()/AcpiOsUnmapMemory() (-> pmap_mapbios()/pmap_unmapbios()) for AcpiOsReadMemory() and AcpiOsWriteMemory(). Although they do not sound too obvious, these functions are exclusively used to access memory mapped IO in ACPICA.
* Delete comments related to soft clock interrupts that don't applyrmacklem2010-07-161-13/+0
| | | | | | | to the FreeBSD port of the experimental NFSv4 server. Submitted by: zack.kirsch at isilon.com MFC after: 2 weeks
* Use Miscellaneous Configuration Register bit definition instead ofyongari2010-07-152-1/+2
| | | | magic number.
* Simple compatibility hacks for building on older systems whereimp2010-07-152-0/+7
| | | | | | | | | | | | MACHINE_CPUARCH isn't defined. I believe that this will cover all options. I didn't define it in kern.mk because $M is set to MACHINE_CPUARCH and then is expanded for the genassym.o rule in kern.post.mk and kern.mk is included after this, so the expansion isn't quite right. I think this is a bug in make, but don't have the time to track it to ground (and even if I did, fixing it would require a MFC of the change to the very old systems we're targetting with this fix).
* If there is any pending sleep request, disallow entering S5 state.jkim2010-07-151-14/+12
| | | | Otherwise, bad things may happen. ;-)
* When we are not switching VTs, just mark all buffer to be updated.jkim2010-07-151-1/+7
|
* Put warnings out to stderr rather than stdout.imp2010-07-153-41/+54
| | | | MFC after: 3 days
* Better description of this fileimp2010-07-151-1/+4
|
* Retire td_syscalls now that it is no longer needed.jhb2010-07-153-3/+0
|
* - AcpiOsReadPciConfiguration() needs similar fixes as r209965 and r210129.jkim2010-07-151-26/+9
| | | | | | | | | According to ACPICA User Guide and Programmer Reference, the read data must be zero extended to fill the 64-bit return value even if the bit width of the location is less than 64. - Return error when 64-bit access is requested as we do not support 64-bit PCI register access (yet). XXX We may have to split it up into two 32-bit accesses if it is really required.
* Retire the NFS access cache timestamp structure. It was used in VOP_OPEN()jhb2010-07-154-40/+0
| | | | | | | | | to avoid sending multiple ACCESS/GETATTR RPCs during a single open() between VOP_LOOKUP() and VOP_OPEN(). Now we always send the RPC in VOP_LOOKUP() and not VOP_OPEN() in the cases that multiple RPCs could be sent. MFC after: 2 weeks
* Merge 208603, 209946, and 209948 to the new NFS client:jhb2010-07-151-11/+33
| | | | | | | | | | Move attribute cache flushes from VOP_OPEN() to VOP_LOOKUP() to provide more graceful recovery for stale filehandles and eliminate the need for conditionally clearing the attribute cache in the !NMODIFIED case in VOP_OPEN(). Reviewed by: rmacklem MFC after: 2 weeks
* Don't copy and return a potentially unset buffer when jail_get fails.jamie2010-07-151-6/+10
|
* Don't import parameter values in jail_getv, except for the search key.jamie2010-07-151-71/+87
| | | | | | | | | | Remove the internal jailparam_vlist, in favor of using variants of its logic separately in jail_setv and jail_getv. Free the temporary parameter list and exported values in jail_setv and jail_getv. Noted by: Stanislav Uzunchev MFC after: 3 days
* Make svr4(4) version of poll(2) use the same limit of file descriptors as thetrasz2010-07-151-4/+1
| | | | usual poll(2) does, instead of checking resource limits.
* Move functions declaration to MI code, following implementation.mav2010-07-153-10/+4
|
* - AcpiOsReadMemory() needs similar fixes as r209965. [1]jkim2010-07-151-18/+6
| | | | | | | | | | | | According to ACPICA User Guide and Programmer Reference, the read data must be zero extended to fill the 32-bit return value even if the bit width of the port is less than 32. - Remove 64-bit read/write from AcpiOsReadMemory() and AcpiOsWriteMemory(). These functions do not support 64-bit access (yet). Clean up style nits and unnecessary bit masking while I am here. Reported by: Liu, Jinsong (jinsong dot liu at intel dot com) via Lin Ming (ming dot m dot lin at intel dot com) [1]
* Fix for 64 bit compilation.jchandra2010-07-151-8/+12
| | | | | RMI bootloader passes argv[] and envp[] as an array of 32 bit pointers. Convert the pointers to correct pointer type before use.
* add some modern stuff: SMP, SCHED_ULE, PREEMPTIONluigi2010-07-152-3/+15
| | | | and support for VIMAGE
* Optimize pmap_remove()'s handling of PG_G mappings. Specifically,alc2010-07-151-14/+15
| | | | | | | | | | | | | instead of calling pmap_invalidate_page() for each PG_G mapping, call pmap_invalidate_range() for each range of PG_G mappings. In addition, eliminate a redundant call to pmap_invalidate_page(). Both pmap_remove_pte() and pmap_remove_page() called pmap_invalidate_page() when the mapping had the PG_G attribute. Now, only pmap_remove_page() calls pmap_invalidate_page(). Altogether, these changes eliminate 53% of the TLB shootdowns for a "buildworld" on a ZFS file system. On FFS, the reduction is 3%. MFC after: 6 weeks
* remove some conditional #ifdefs (no-op on FreeBSD);luigi2010-07-151-8/+4
| | | | run the timer routine on cpu 0.
* whitespace cleanupluigi2010-07-151-2/+2
|
* small portability fix to build on linux/windowsluigi2010-07-151-0/+4
|
* whitespace fixesluigi2010-07-151-2/+2
|
* fix a comment and final empty lineluigi2010-07-151-3/+5
|
* better printing of headers when listing flowsluigi2010-07-151-8/+18
|
* A cosmetic change - don't output empty <flags>.ivoras2010-07-151-2/+2
|
* Relax FDT_DTS_FILE validation (and unbreak world build).raj2010-07-151-2/+0
| | | | Pointed out by: kib
* Handle RUN->ASSOC->RUN transition correctly, as in not trigger abschmidt2010-07-151-11/+28
| | | | | | | | firmware error. Convert if statements to a switch statement while I'm here. Tested by: Benjamin Kaduk <kaduk at mit.edu> MFC after: 2 weeks
* - Update 6000 firmware to 9.221.4.1bschmidt2010-07-159-8155/+16220
| | | | | | - Add 6050 firmware MFC after: 2 weeks
* Fix FDT_DTS_FILE parsing to properly retrieve its value. This unbreaks theraj2010-07-151-1/+5
| | | | | | | 'builddtb' target. Make the processing more robust against non-existent kernel config files (pointed out by imp@).
* Add support for firmware images in "type-length-value" format.bschmidt2010-07-153-48/+197
| | | | | Obtained from: OpenBSD MFC after: 2 weeks
* Detect active chains differently to work around a firmware bug whichbschmidt2010-07-151-3/+7
| | | | | | | would mark non-existing chains as active. Obtained from: OpenBSD MFC after: 1 week
* - Add new IDs for 6000 series devices.bschmidt2010-07-152-6/+22
| | | | | | | | | - The 6000 series WiMAX devices need a separate firmware. - The b-gen devices are not hooked because the hardware revision type is not know. Obtained from: OpenBSD MFC after: 1 week
* Fix some small whitespace nits.bschmidt2010-07-152-5/+5
| | | | MFC after: 3 days
* Remove duplicate vendor:device entry.bschmidt2010-07-151-1/+0
| | | | MFC after: 3 days
* Move TLB definitions to tlb.himp2010-07-152-19/+20
|
* This file has been unused for a while now...imp2010-07-151-46/+0
|
* Unbreak xz (liblzma) on strong-aligned architectures (and withoutmarcel2010-07-151-1/+0
| | | | | | emulation of misaligned memory accesses). We cannot map the unaligned memory access functions to the ones used for aligned accesses, so do not define TUKLIB_FAST_UNALIGNED_ACCESS.
* This patch fixes a bug in the experimental NFSv4 server where itrmacklem2010-07-151-1/+0
| | | | | | | | released a reference count on nfsv4rootfs_lock erroneously when administrative revocation of state was done. Submitted by: zack.kirsch at isilon.com MFC after: 2 weeks
OpenPOWER on IntegriCloud