summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sys/arm: Minor spelling fixes.pfg2016-05-0444-72/+72
| | | | Only affects comments: no functional change.
* xen/pvclock: set the correct resolution for the Xen PV clockroyger2016-05-041-1/+6
| | | | | | | | The Xen PV clock has a resolution of 1ns, so set the resolution to the highest one that FreeBSD supports, which is 1us. MFC after: 2 weeks Sponsored by: Citrix Systems R&D
* rtc: fix inverted resolution checkroyger2016-05-041-1/+1
| | | | | | | | | | | | | The current code in clock_register checks if the newly added clock has a resolution value higher than the current one in order to make it the default, which is wrong. Clocks with a lower resolution value should be better than ones with a higher resolution value, in fact with the current code FreeBSD is always selecting the worse clock. Reviewed by: kib jhb jkim Sponsored by: Citrix Systems R&D MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D6185
* iwn: fix device reset after watchdog timeout.avos2016-05-042-18/+1
| | | | | Simple device reset (stop/start) is not enough here; post-init state changes must be applied too.
* Extend the UQ_NO_STRINGS quirk to also cover the USB language stringhselasky2016-05-041-1/+3
| | | | | | | descriptor. This fixes enumeration of some older Samsung Galaxy S3 phones. MFC after: 1 week
* s/struct device */device_t/gadrian2016-05-041-1/+1
| | | | Submitted by: kmacy
* s/struct device */device_t/gadrian2016-05-041-1/+1
| | | | Submitted by: kmacy
* s/struct device */device_t/gadrian2016-05-041-1/+1
| | | | Submitted by: kmacy
* s/struct device */device_t/gadrian2016-05-041-1/+1
| | | | Submitted by: kmacy
* s/struct device */device_t/gadrian2016-05-041-1/+1
| | | | Submitted by: kmacy
* Fix build without "options PCI_IOV".jkim2016-05-041-1/+4
|
* DIRDEPS_BUILD: Update dependencies.bdrewery2016-05-041-0/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Exclude secure/lib* libraries for host builds.bdrewery2016-05-041-0/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* kern: Factor out function to convert hash flags to malloc(9) flagssephe2016-05-041-10/+12
| | | | | | | Suggested by: jhb Reviewed by: jhb, kib Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6184
* [bwn] fix rate control feedback.adrian2016-05-041-10/+10
| | | | | | | | | | | | | | | | | * Add a debug print for the xmit completion status fields. Yes, I like staring at a stream of DWORDS. * Set the retrycnt to the number of full frame retries for now; I'll figure out how to factor rts/cts failures into it when I figure out what the difference is. It's -1 because it's not "retries", it's "tries". It now passes the youtube test. Tested: * BCM4312, STA mode
* sh: Handle empty hostname and $PWD when building promptvangyzen2016-05-041-2/+3
| | | | | | | | | | | If the hostname is empty and \h is used in $PS1, the remainder of the prompt following \h will be empty. Likewise for $PWD and \w. Fix it. Reviewed by: jilles MFC after: 1 week Sponsored by: Dell Inc. Differential Revision: https://reviews.freebsd.org/D6188
* Fix nvram2env after bus_space_fdt removal.kan2016-05-041-1/+1
| | | | | | | The generic bus space does the mapping now, no need to pre-translate phys addresses to KSEG1 anymore. Submitted by: Hiroki Mori
* Use imin() macro from sys/libkern.h.araujo2016-05-041-2/+2
| | | | MFC after: 2 weeks.
* [bwn] accurately(ish) account transmit/recieve failures for rate control.adrian2016-05-041-46/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I noticed that it'd associate fine, but it'd quickly stop exchanging traffic. Receive was okay, but transmit just failed. Then I went "wlandebug +rate". I discovered it started at 36M OFDM, and then quickly rose to 54M, which then showed 0% transmit success. Then, I dug into how the completion path works. We are reading 'ack=0' in the TX status side, so .. then I discovered we were only processing the TX completion status /if/ ack=1. So, we'd only ever count successes; we'd never count failures, and thus the rate control code thought everything was a-ok. We also have to set retrycnt to something non-zero so it indeed does bring the rate down upon failure. So: * Delete the rate control completion code from the tx completion routine, it's just duplicate and never worked. Putting it behind 'if (status->ack) was pointless. * Move it to the PIO and DMA completion routines which actually do free the node reference and mbuf. We know at that point what the status is, so do it there. * Fake a retrycnt of 1 for now, so we at least count failures. Also: * Start adding comments about weird stuff I find with rate selection. In this instance, we shouldn't be selecting a fallback rate that doesn't match the currently configured mode (11a, 11b, 11g, etc.) This isn't perfect - AMRR does try 54mbit and takes a few packets before it figures out it's a bad idea - but it's better than nothing. This makes the bwn(4) driver actually useful for the first time since I've tried using it - and that dates back to 2011. I've resisted successfully until now. Tested: * Broadcom BCM4312 802.11b/g Wireless, STA mode WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO (manuf 0x17f ver 0x2062 rev 2) TODO: * See if the fallback rate actually /is/ working * Question my own sanity over touching this driver in the first place.
* [bwn] ensure the fallback rate stays in the same PHY mode.adrian2016-05-041-1/+9
| | | | | | | | | | | | | Falling back from 6MB OFDM to 5MB CCK (a) may not work well in the 11bg PHYs, (b) won't work at all if you're 11g only, and (c) plainly won't work for the 11a PHY. So, don't do that! Tested: * BCM4312 802.11b/g Wireless, STA mode WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO (manuf 0x17f ver 0x2062 rev 2)
* Use DEVMETHOD_END ({ NULL, NULL }) instead of hardcoding { 0, 0 }ngie2016-05-031-1/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* pmcstudy.8: minor "efficiency" fix.pfg2016-05-031-1/+1
| | | | No functional change.
* sys/amd64: Small spelling fixes.pfg2016-05-039-11/+11
| | | | No functional change.
* vmm(4): Small spelling fixes.pfg2016-05-035-5/+5
| | | | Reviewed by: grehan
* kgssapi: insignificant spelling fix.pfg2016-05-031-1/+1
| | | | No functional change.
* Misc. build: minor spelling fixes.pfg2016-05-035-7/+7
| | | | No functional change.
* sys/isa: minor spelling fixes.pfg2016-05-033-3/+3
| | | | No functional change.
* Print the fchmodat mode in human readable fashionbapt2016-05-031-0/+1
| | | | MFC after: 1 week
* Work around (ignore) broken SRAT tablesvangyzen2016-05-031-2/+6
| | | | | | | | | | | | | | Instead of panicking when parsing an invalid ACPI SRAT table, just ignore it, effectively disabling NUMA. https://lists.freebsd.org/pipermail/freebsd-current/2016-May/060984.html Reported and tested by: Bill O'Hanlon (bill.ohanlon at gmail.com) Reviewed by: jhb MFC after: 1 week Relnotes: If dmesg shows "SRAT: Duplicate local APIC ID", try updating your BIOS to fix NUMA support. Sponsored by: Dell Inc.
* Save and restore SRIOV-related config registers.jhb2016-05-033-0/+36
| | | | | | | | | | | Save the value of the IOV control and page size registers and restore them (along with the VF count) in pci_cfg_save/pci_cfg_restore. This ensures ARI remains enabled if a PF driver resets itself during the PCI_IOV_INIT callback. This might also properly restore SRIOV state across suspend/resume. Reviewed by: rstone, vangyzen Differential Revision: https://reviews.freebsd.org/D6192
* Use the correct location of the SRIOV capability when enabling ARI.jhb2016-05-031-3/+8
| | | | | | | While here, check if ARI was enabled by re-reading the config register after writing it and return an error if the write fails. Reviewed by: rstone, vangyzen
* Merge OpenSSL 1.0.2h.jkim2016-05-03444-726/+2194
|\ | | | | | | Relnotes: yes
| * Import OpenSSL 1.0.2h.jkim2016-05-0368-265/+1119
| |
* | Add a debug dir for /boot/modules.jhb2016-05-031-0/+2
| | | | | | | | | | | | | | This provides a place for standalone modules to store debug symbols. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D6190
* | Re-sync the FreeBSD-specific Subversion template with the one fromdim2016-05-031-1/+4
| | | | | | | | | | | | | | ports. MFC after: 11 days X-MFC-With: r298845
* | sys/net*: minor spelling fixes.pfg2016-05-0381-133/+133
| | | | | | | | No functional change.
* | [asmc] Add support for MacBookPro5,1adrian2016-05-032-0/+34
| | | | | | | | | | | | Tested by: Johannes Lundberg <johannes@brilliantservice.co.jp> PR: kern/209179 Submitted by: Thomas Brierley <tomxor@gmail.com>
* | ioat(4): Implement CRC and MOVECRC APIscem2016-05-033-4/+281
| | | | | | | | | | | | And document them in ioat.4. Sponsored by: EMC / Isilon Storage Division
* | ioat(4): Add CRC descriptor structurecem2016-05-031-7/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add CRC/MOVECRC operations, as well as the TEST and STORE variants. With these operations, a CRC32C can be computed over one or more descriptors' source data. When the STORE operation is encountered, the accumulated CRC32C is emitted to memory. A TEST operations triggers an IOAT channel error if the accumulated CRC32C does not match one in memory. These operations are not exposed through any API yet. Sponsored by: EMC / Isilon Storage Division
* | ioat(4): Limit descriptor allocation to low 40 bitscem2016-05-031-1/+4
| | | | | | | | | | | | | | | | The IOAT engine can only address the low 40 bits (1 TB) of physmem via the 'next descriptor' pointer. Restrict acceptable range given to bus_dma_tag_create to match. Sponsored by: EMC / Isilon Storage Division
* | sys/sys: missed in r298981.pfg2016-05-031-1/+1
| | | | | | | | | | | | | | I am sure I've missed others as well, but at least it should be more readable now. No functional change.
* | Remove the most useful INET || INET6 check leftover from whenever,bz2016-05-031-3/+0
| | | | | | | | | | | | | | doing nothing. MFC after: 1 week Sponsored by: The FreeBSD Foundation
* | Correct wording.kib2016-05-031-1/+1
| | | | | | | | | | Submitted by: David A. Bright MFC after: 2 weeks
* | Add some device IDs from Intel Sunrise Point chipsets.mav2016-05-034-0/+15
| | | | | | | | MFC after: 2 weeks
* | Add EVFILT_VNODE open, read and close notifications.kib2016-05-035-8/+79
| | | | | | | | | | | | | | While there, order EVFILT_VNODE notes descriptions alphabetically. Based on submission, and tested by: Vladimir Kondratyev <wulf@cicgroup.ru> MFC after: 2 weeks
* | sys/sys: minor spelling fixes.pfg2016-05-0322-27/+27
| | | | | | | | | | | | While the changes are minor, these headers are very visible. MFC after: 2 weeks
* | dev/iscsi: minor spelling fixes.pfg2016-05-031-2/+2
| | | | | | | | | | | | No functional change. Reviewed by: trasz
* | Fix a memory leak in the devctl notify code.scottl2016-05-031-0/+1
| | | | | | | | | | Submitted by: markj MFC after: asap
* | Revert r298955 for the cxgbe firmware.pfg2016-05-033-6/+6
| | | | | | | | | | | | These files have checksums that are none of my business. Requested by: np
* | tcp/lro: Refactor the active list operation.sephe2016-05-031-8/+22
| | | | | | | | | | | | | | | | Ease more work concerning active list, e.g. hash table etc. Reviewed by: gallatin, rrs (earlier version) Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6137
OpenPOWER on IntegriCloud