summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* remove unused reference to tsb pakmacy2006-11-241-1/+0
|
* Push Giant a bit further off the NFS server in a number of straightrwatson2006-11-243-224/+297
| | | | | | | | | | | | | | | | | | | | | | | | forward cases by converting from unconditional acquisition of Giant around vnode operations to conditional acquisition: - Remove nfsrv_access_withgiant(), and cause nfsrv_access() to now assert that Giant will be held if it is required for the vnode. - Add nfsrv_fhtovp_locked(), which will drop the NFS server lock if required, and modify nfsrv_fhtovp() to conditionally acquire Giant if required. - In the VOP's not dealing with more than one vnode at a time (i.e., not involving a lookup), conditionally acquire Giant. This removes Giant use for MPSAFE file systems for a number of quite important RPCs, including getattr, read, write. It leaves unconditional Giant acquisitions in vnode operations that interact with the name space or more than one vnode at a time as these require further work. Tested by: kris Reviewed by: kib
* comment all remaining documented hypervisor functions except for msikmacy2006-11-242-4/+182
| | | | implement performance counter functions
* document and comment all functions outside of MMU and MSI serviceskmacy2006-11-242-9/+374
| | | | from those, implement all those whose arguments don't require save/restore
* I mistakenly committed the wrong version of my patch (sorry).dougb2006-11-241-2/+1
| | | | | s/O2/O2Micro, as that's how they seem to prefer it, and remove what is now one blank line too many.
* - Comment most of the remaining hypercalls in hcall.Skmacy2006-11-2418-132/+444
| | | | | | - implement hypercalls returning a single value - start fixing the fallout of the recent changes needed to get the kernel compiling again
* add comments for cpu configuration hypervisor callskmacy2006-11-241-1/+90
|
* move CDDL licensed machine description support routine files to cddl directorykmacy2006-11-2414-10/+10
| | | | update files.sun4v accordingly
* Add in initial clean room implementation of hypervisor interfaceskmacy2006-11-234-156/+991
|
* Use a define instead of a "magic" value.ru2006-11-231-1/+1
|
* Finish the PG_NX support at the pmap level.ru2006-11-231-3/+12
| | | | Reviewed by: alc
* remove CDDL derive hcall.Skmacy2006-11-231-986/+0
|
* Remove system critical files with CDDL originkmacy2006-11-232-1426/+0
| | | | with the plan being to create clean room versions
* separate out legitimately CDDL code - optimized routines taken fromkmacy2006-11-231-0/+0
| | | | opensolaries
* Initialize a local variable in 2 places just before it is used, not alwaysbde2006-11-231-1/+2
| | | | | | | | | | | | at the start of rtalloc1(). This backs out part of revs 1.83 and 1.85. Profiling on an i386 showed that that for sending tiny packets using bge, -current takes 7 bzero()s where RELENG_4 takes only 1, and that bzero()ing is now the dominant overhead (10-12%, up from 1%, but profiling overestimated this a bit). This commit backs out 2 of the 6 extra bzero()s (1 in each of 2 calls per packet to rtalloc1()). They were the largest ones by byte count (48 bytes each) but perhaps not by time (small misaligned ones might take longer).
* remove no longer correct comment above em_read_pcie_cap_regkmacy2006-11-231-4/+0
|
* Move magic PCIe workaround constant to header - add appropriate commentkmacy2006-11-232-1/+7
| | | | Suggested by: jfvogel
* Add watchdog supportkmacy2006-11-232-3/+24
|
* Add in missing hypercall numberskmacy2006-11-231-4/+35
|
* re-name misnamed single character console interfaceskmacy2006-11-235-6/+60
| | | | add in multi character console interfaces
* Add hypervisor interfaces for logical domain channels from the hypervisor ↵kmacy2006-11-233-36/+185
| | | | | | API docs remove bogus CDDL
* In contrast to the non-obvious and flexible nature of the optimized bcopy in ↵kmacy2006-11-235-1029/+642
| | | | | | | | | | | | | t1_copy.S (which shall retain its CDDL copyright, and thus likely be removed from GENERIC) I have removed the CDDL from hcall.S because there is zero flexibility in the implementation of hypercalls as they derive directly from the hypervisor interface which is not copyrighted (ironically the source for the hypervisor itself is BSD licensed). It is best to start any bikeshed about this as soon as possible. Discussed with: bsdimp
* Add a vendor ID for O2Micro, obtained fromdougb2006-11-231-0/+3
| | | | | | | http://www.usb.org/developers/tools Add a product ID for the Dell TrueMobile 350 Bluetooth USB Adapter obtained from NetBSD's usbdevs file.
* Fix TSO support on sun4vkmacy2006-11-231-8/+25
| | | | | | | | - incorporate csjp's fix for a mishandled endian conversion - convert PAGE_SIZE to 4096 for PCIe adapter workaround (my page size is not 4k) - implement em_read_pcie_cap_reg where we set the max read size on pcie to 4k (taken from mxge) Reviewed by: scottl and jfvogel
* add codes for Atheros USB devices; shuffle one ural code tosam2006-11-232-3/+80
| | | | | | | avoid conflict Obtained from: openbsd MFC after: 1 month
* Fix a race in soclose() where connections could be queued to themohans2006-11-221-22/+26
| | | | | | | | listening socket after the pass that cleans those queues. This results in these connections being orphaned (and leaked). The fix is to clean up the so queues after detaching the socket from the protocol. Thanks to ups and jhb for discussions and a thorough code review.
* Fix transposition of width and value arguments to pci_config_write()gallatin2006-11-221-1/+1
| | | | | | when setting up the read request size. Pointed out by: kmacy
* Fix coherency issue. From submitter:imp2006-11-221-0/+7
| | | | | | | | | | | | | | | | | | | | | | | I have been debugging the usb problems some more. Your were right in your assumption (thanks for the pointer) about lack of calls to bus_dmamap_sync(). In usbdi.c bus_dmamap_sync() does get used for transfers that move data from PC to USB and it is used for transfers that move data from USB to PC. But someone forgot that control transfers consist of possibly two data chunks : the request itself and optionally a buffer of data that should be transfered to or from the USB device. On requests to the control endpoint without additional data bus_dmamap_sync() didn't get called. For some reason my first tests with umass worked (due to enough cache poisening I guess). The attached patch adds a call to bus_dmamap_sync() to usbdi.c and now all devices I have tried work out of the box. I have successfully transfered large files using the if_axe driver and I have mounted several different umass devices. submitted by: Daan Vreeken sponsored by: Vitsch Electronics reviewed by: cognet@
* Change error codes returned by protocol operations when an inpcb issam2006-11-221-6/+6
| | | | | | | | | | | | | | | | | | | | marked INP_DROPPED or INP_TIMEWAIT: o return ECONNRESET instead of EINVAL for close, disconnect, shutdown, rcvd, rcvoob, and send operations o return ECONNABORTED instead of EINVAL for accept These changes should reduce confusion in applications since EINVAL is normally interpreted to mean an invalid file descriptor. This change does not conflict with POSIX or other standards I checked. The return of EINVAL has always been possible but rare; it's become more common with recent changes to the socket/inpcb handling and with finer-grained locking and preemption. Note: there are other instances of EINVAL for this state that were left unchanged; they should be reviewed. Reviewed by: rwatson, andre, ru MFC after: 1 month
* Initialization bugfixes and enhancements:gallatin2006-11-222-6/+51
| | | | | | | | | | | - Fix bug preventing adoption of running firmware - Set PCIe max read request size to 4KB - Read PCIe link width from config space - Assume aligned completions from the southbridge ports of intel E5000 chips - Use aligned firmware when link width is x4 or less - Add hw.mxge.force_firmware tunable to allow user to force selection of aligned (or unaligned) firmware
* Bring in status led support for /dev/led/gpioled on Avila.kevlo2006-11-224-0/+118
| | | | Approved by: cognet
* It's been possible to build linprocfs as a module for some time now.ru2006-11-221-1/+1
| | | | Submitted by: rdivacky
* MFp4: Make it work :-)imp2006-11-221-139/+9
| | | | | | | | | | | o Don't delay when checking the done bits. There's no gain other than a small performance hit. o calculate the clock divisors better (things are still way slow, so maybe there's more here?) o don't always fail reset. Always succeed instead. o fix inverted logic around at91_twi_wait() return value o remove debug code o remove unneeded, unworking junk
* MFp4: Add ixpiic bit-bang driver.imp2006-11-221-0/+1
| | | | Submitted by: sam@
* <blush> copyout on read, not write.imp2006-11-221-2/+2
| | | | Tweak a comment while I'm here.
* Integrate, but do not enable support for dynamically resizing TSBskmacy2006-11-224-1/+114
|
* pmap_track_modified has been removed from other architectures -kmacy2006-11-223-33/+11
| | | | likewise remove from sun4v
* reduce whining from LINT by removing another GPL sound driverkmacy2006-11-221-0/+1
|
* add support for resizing the the tte_hash of multi-threaded processeskmacy2006-11-223-17/+25
|
* remove unused field from pcpu structurekmacy2006-11-221-2/+1
|
* remove dead code from tsb.ckmacy2006-11-224-68/+29
| | | | | switch tsbscratch over to using order of number of pages as opposed to actual number of pages switch tsb.c over to using wrappers for contig page allocation
* move contiguous allocation and free routines from tte_hash.c into pmap.ckmacy2006-11-223-41/+43
|
* Add tte_hash and tsb update handlers for handling tte_hash and tsbkmacy2006-11-222-9/+56
| | | | resizing across cpus
* Add mechanism to track TSB misses in tsb miss handlerkmacy2006-11-223-41/+53
| | | | Remove unused debug code
* Acknowledge (dearly) departed filesdougb2006-11-211-12/+0
|
* Added MSI support.gallatin2006-11-211-12/+34
| | | | Sponsored by: Myricom Inc.
* Remove the KDTRACE option because I can't implement it thejb2006-11-211-1/+0
| | | | | | | | | way I intended due to licensing restrictions. I had intended that it would be defaulted on, with opt-out possible for companies that don't accept the CDDL. The FreeBSD GENERIC kernel has to be entirely BSD licensed, so the only alternative would have been to make KDTRACE an opt-in option. That isn't a design I favour.
* don't mark the cksum as invalid here... off is incorrect when we getjmg2006-11-211-1/+0
| | | | | | | here, it's either unset, or it's valid, so we don't need to do anything different... Reported by: Neterion (via rwatson)
* Fix typo.yongari2006-11-211-1/+1
|
* Add TSO support.yongari2006-11-212-10/+25
| | | | Tested by: wilko, Pieter de Goeje < pieter AT degoeje DOT nl >
OpenPOWER on IntegriCloud