aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* META MODE: Fix bootstrap-tools after r291349.Bryan Drewery2015-11-301-2/+5
| | | | | | | | | | | | Now that OBJTOP is assumed to be proper, it needs to be overridden for the bootstrap-tools phase to ensure it is not kept as the top-level OBJTOP. Otherwise the libraries were not found during the bootstrap-tools phase. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291540
* Only DIRDEPS_BUILD should trigger this logic.Bryan Drewery2015-11-301-2/+2
| | | | | | | | | Missed in r290816. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291539
* Document the __FreeBSD_version bump done for r291527 in UPDATING.Rick Macklem2015-11-301-0/+5
| | | | Notes: svn path=/head/; revision=291538
* Bump __FreeBSD_version since r291527 changes the interface between theRick Macklem2015-11-301-1/+1
| | | | | | | | nfsd.ko and nfscommon.ko modules. As such, both modules need to be upgraded to-gether. Notes: svn path=/head/; revision=291537
* Add support for the new "-manage-gids" option for the nfsuserd daemonRick Macklem2015-11-303-1/+15
| | | | | | | | | | | | | to the rc scripts. With these changes, setting nfs_server_managegids="YES" in /etc/rc.conf will enable this capability. Suggested by: jpaetzel Tested by: jpaetzel Reviewed by: rc (pending) MFC after: 2 weeks Notes: svn path=/head/; revision=291536
* Document the new "-manage-gids" option for the nfsuserd daemon.Rick Macklem2015-11-301-3/+17
| | | | | | | | | | | This is a content change. Suggested by: jpaetzel Tested by: jpaetzel MFC after: 2 weeks Notes: svn path=/head/; revision=291535
* Add support for the "-manage-gids" option to the nfsuserd daemon.Rick Macklem2015-11-301-9/+51
| | | | | | | | | | | | | | When this option is set, the NFS server uses the list of groups acquired via getgrouplist(3) for the uid instead of the list of groups in the RPC request. This can be used to avoid the 16 gid limit for the group list in the RPC request. Suggested by: jpaetzel Tested by: jpaetzel MFC after: 2 weeks Notes: svn path=/head/; revision=291534
* Use SPI name for parallel SCSI.Alexander Motin2015-11-301-3/+3
| | | | Notes: svn path=/head/; revision=291533
* Add kernel support to the NFS server for the "-manage-gids"Rick Macklem2015-11-307-220/+548
| | | | | | | | | | | | | | | | | | | | | | option that will be added to the nfsuserd daemon in a future commit. It modifies the cache used by NFSv4 for name<-->id translation (both username/uid and group/gid) to support this. When "-manage-gids" is set, the server looks up each uid for the RPC and uses the list of groups cached in the server instead of the list of groups provided in the RPC request. The cached group list is acquired for the cache by the nfsuserd daemon via getgrouplist(3). This avoids the 16 groups limit for the list in the RPC request. Since the cache is now used for every RPC when "-manage-gids" is enabled, the code also modifies the cache to use a separate mutex for each hash list instead of a single global mutex. Suggested by: jpaetzel Tested by: jpaetzel MFC after: 2 weeks Notes: svn path=/head/; revision=291527
* Fix a double-semicolon typo in my libkvm changes.John Baldwin2015-11-301-1/+1
| | | | | | | Submitted by: jmallett Notes: svn path=/head/; revision=291525
* libllvmmirparser and libllvmlibdriver are only used in usr.bin/clang/llc andBryan Drewery2015-11-301-2/+2
| | | | | | | | | | usr.bin/clang/llvm-ar, respectively, when MK_CLANG_EXTRAS is yes. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291495
* Add support for Intel Skylake and Intel Broadwell PMC's. The Broadwell PMC's ↵Randall Stewart2015-11-305-257/+1085
| | | | | | | | | | | | | | | have been tested on the Broadwell-Xeon with a hacked up version of pmcstudy -T. I still need to circle back and add in to pmcstudy all the new tests from the Broadwell Vtune guide (for the hacked up version I just made it so I could run the -T option). The Skylake CPU is not yet available (even though Intel is advertising it .. imagine that). The Skylake PMC's will need to be tested once we can get a sample skylake CPU :-) Sponsored by: Netflix Inc. Notes: svn path=/head/; revision=291494
* wpi: ignore ic_update_promisc() call when device is not runningAndriy Voskoboinyk2015-11-301-0/+7
| | | | | | | | | | | | | This change will fix kernel panic with uninitialized (zeroed) RXON structure. Tested with Intel 3945BG, IBSS mode. Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D4304 Notes: svn path=/head/; revision=291493
* ARM: create new memory attribute for writethrough cacheable memory.Michal Meloun2015-11-303-15/+18
| | | | | | | | | | | | | | | | - add new TEX class for WT cacheable memory - export new TEX class to kernel as VM_MEMATTR_WT attribute - add new aliases VM_MEMATTR_WRITE_COMBINING and VM_MEMATTR_WRITE_BACK, it's used in DRM code Note: Only Cortex A8 supports WT caching in HW. On rest of Cortex CPUs, WT requests is treated as uncacheable. Approved by: kib (mentor) Notes: svn path=/head/; revision=291492
* Fix the build after ifconfig was converted over to lib80211 in r291470Enji Cooper2015-11-301-1/+1
| | | | | | | | Reported by: jenkins, O. Hartmann <ohartman@zedat.fu-berlin.de> Pointyhat to: adrian Notes: svn path=/head/; revision=291491
* sfxge: avoid TSO packets collapses bacause of not 2K aligned dataAndrew Rybchenko2015-11-301-3/+5
| | | | | | | | | Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4310 Notes: svn path=/head/; revision=291488
* Shorten conditional branch code.Konstantin Belousov2015-11-301-2/+1
| | | | | | | | Reviewed by: andrew Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=291486
* Remove unneeded instructions.Konstantin Belousov2015-11-301-2/+0
| | | | | | | | Reviewed by: andrew Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=291485
* Add more functions and types to the LinuxKPI.Hans Petter Selasky2015-11-302-2/+19
| | | | | | | | MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=291481
* add missing lib80211 include.Adrian Chadd2015-11-301-0/+1
| | | | Notes: svn path=/head/; revision=291479
* Fix the buildEnji Cooper2015-11-301-0/+2
| | | | | | | | | ichan is only used if AH_DEBUG_ALQ if defined Pointyhat to: adrian Notes: svn path=/head/; revision=291472
* Add missing lib declaration.Adrian Chadd2015-11-301-0/+1
| | | | Notes: svn path=/head/; revision=291471
* Convert ifconfig to use lib80211.Adrian Chadd2015-11-304-864/+11
| | | | | | | | | * remove regdomain.[ch] - it's now part of lib80211. * convert ifieee80211.c to use the ioctl routines in lib80211 and implement the "error? exit" wrapper behaviour the callers expect. Notes: svn path=/head/; revision=291470
* fix ht/40 configuration for ar9331 (hornet).Adrian Chadd2015-11-303-8/+19
| | | | | | | | | | | | | | | | | | | The synth programming here requires the real centre frequency, which for HT20 channels is the normal channel, but HT40 is /not/ the primary channel. Everything else was using 'freq', which is the correct centre frequency, but the hornet config was using 'ichan' to do the lookup which was also the primary channel. So, modify the HAL call that does the mapping to take a frequency in MHz and return the channel number. Tested: * Carambola 2, AR9331, tested both HT/20 and HT/40 operation. Notes: svn path=/head/; revision=291469
* Remove in_setifarnh definition.Alexander V. Chernikov2015-11-301-3/+0
| | | | Notes: svn path=/head/; revision=291468
* Move flowtable rte checks to separate function.Alexander V. Chernikov2015-11-301-50/+63
| | | | Notes: svn path=/head/; revision=291467
* Add new rt_foreach_fib_walk_del() function for deleting route entriesAlexander V. Chernikov2015-11-305-266/+284
| | | | | | | | | | | | | | | | | | | | by filter function instead of picking into routing table details in each consumer. Remove now-unused rt_expunge() (eliminating last external RTF_RNH_LOCKED user). This simplifies future nexthops/mulitipath changes and rtrequest1_fib() locking refactoring. Actual changes: Add "rt_chain" field to permit rte grouping while doing batched delete from routing table (thus growing rte 200->208 on amd64). Add "rti_filter" / "rti_filterdata" / "rti_spare" fields to rt_addrinfo to pass filter function to various routing subsystems in standard way. Convert all rt_expunge() customers to new rt_addinfo-based api and eliminate rt_expunge(). Notes: svn path=/head/; revision=291466
* Add lib80211 to include path.Adrian Chadd2015-11-301-0/+2
| | | | | | | (This commit was missing from my lib80211 commit.) Notes: svn path=/head/; revision=291465
* Add lib80211, a small (but hopefully soon to grow) set of libraryAdrian Chadd2015-11-307-0/+1192
| | | | | | | | | | | | routines to interface with net80211. This is all from the ifconfig program; the duplicate code from ifconfig will be removed when it starts using this API. Differential Revision: https://reviews.freebsd.org/D4290 Notes: svn path=/head/; revision=291464
* Print machine check address for Book-E.Justin Hibbits2015-11-302-1/+9
| | | | | | | | | | Bits in mcsr indicate if the address is valid, and whether it's a physical address or effective address. Sponsored by: Alex Perez/Inertial Computing Notes: svn path=/head/; revision=291463
* Add Freescale QorIQ GPIO driver.Justin Hibbits2015-11-302-0/+310
| | | | | | | | | Still missing interrupt support, to come later. Sponsored by: Alex Perez/Inertial Computing Notes: svn path=/head/; revision=291462
* Fix buildworld after r291453, similar to r284346: url->user and url->pwdDimitry Andric2015-11-291-4/+2
| | | | | | | | | | are arrays, so they can never be NULL. Reported by: many Pointy hat to: des Notes: svn path=/head/; revision=291461
* As the kernel allocates and frees vnodes, it fully initializes themKirk McKusick2015-11-291-32/+101
| | | | | | | | | | | | | | | | | | | | | | | | on every allocation and fully releases them on every free. These are not trivial costs: it starts by zeroing a large structure then initializes a mutex, a lock manager lock, an rw lock, four lists, and six pointers. And looking at vfs.vnodes_created, these operations are being done millions of times an hour on a busy machine. As a performance optimization, this code update uses the uma_init and uma_fini routines to do these initializations and cleanups only as the vnodes enter and leave the vnode_zone. With this change the initializations are only done kern.maxvnodes times at system startup and then only rarely again. The frees are done only if the vnode_zone shrinks which never happens in practice. For those curious about the avoided work, look at the vnode_init() and vnode_fini() functions in kern/vfs_subr.c to see the code that has been removed from the main vnode allocation/free path. Reviewed by: kib Tested by: Peter Holm Notes: svn path=/head/; revision=291460
* For performance reasons, it is useful to have a single string used asKirk McKusick2015-11-294-7/+13
| | | | | | | | | | | | | | | the name of a filesystem when setting it as the first parameter to the getnewvnode() function. Most filesystems call getnewvnode from just one place so can use a literal string as the first parameter. However, NFS calls getnewvnode from two places, so we create a global constant string that can be used by the two instances. This change also collapses two instances of getnewvnode() in the UFS filesystem to a single call. Reviewed by: kib Tested by: Peter Holm Notes: svn path=/head/; revision=291459
* add missing initvals.Adrian Chadd2015-11-291-0/+1420
| | | | | | | Sorry y'all. Notes: svn path=/head/; revision=291458
* Install the public sanitizer headers. These are useful for programsDimitry Andric2015-11-295-2/+35
| | | | | | | that want to directly interface with sanitizer internals. Notes: svn path=/head/; revision=291455
* Use .netrc for HTTP sites and proxies, not just FTP.Dag-Erling Smørgrav2015-11-292-3/+11
| | | | | | | | | PR: 193740 Submitted by: TEUBEL György <tgyurci@gmail.com> MFC after: 1 week Notes: svn path=/head/; revision=291453
* Improve error reporting to clearly show problematic rules.Edward Tomasz Napierala2015-11-291-61/+83
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=291452
* Simplify rule retrieval and improve error handling.Edward Tomasz Napierala2015-11-291-26/+38
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=291451
* Fix make dependUlrich Spörlein2015-11-291-1/+1
| | | | Notes: svn path=/head/; revision=291450
* Fix some memory management problems.Edward Tomasz Napierala2015-11-291-13/+17
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=291449
* Handle asprintf(3) errors in a standards-compliant way.Edward Tomasz Napierala2015-11-291-24/+29
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=291448
* Rewrite the rctl(8) utility to make it possible to add multiple rulesEdward Tomasz Napierala2015-11-292-135/+178
| | | | | | | | | | in a single run. This speeds up operation with large rulesets. MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=291447
* Minor cleanup.Konstantin Belousov2015-11-291-26/+12
| | | | | | | | | | | | Systematically use ANSI C functions definitions. Correct type of the flags argument to the dev_pager_putpages() function. Use vm_pager_free_nonreq(). Sponsored by: The FreeBSD Foundation MFC after: 1 week Notes: svn path=/head/; revision=291446
* User and group identifiers the rctl(8) utility receives from the kernelEdward Tomasz Napierala2015-11-291-3/+7
| | | | | | | | | | | are always in numeric form; don't try to resolve them by names. This speeds up rule listing with large rulesets by about 50%. MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=291445
* AHCI: Fix AHCI driver for ARM.Michal Meloun2015-11-292-0/+17
| | | | | | | | | | | | | | On ARM, we must ensure proper interdevice write ordering. The AHCI interrupt status register must be updated in HW before registers in interrupt controller. Unfortunately, only way how we can do it is readback. Discussed with: mav Approved by: kib (mentor) Differential Revision: https://reviews.freebsd.org/D4240 Notes: svn path=/head/; revision=291444
* Make ELFv2 powerpc64 kernels build and run. Loader support will come in aNathan Whitehorn2015-11-295-4/+27
| | | | | | | separate commit. Notes: svn path=/head/; revision=291442
* Fix build with new binutils. This gets a working kernel with GCC 5.2 andNathan Whitehorn2015-11-291-0/+1
| | | | | | | | | | binutils 2.24. Without this, the self-relocation code in locore64.S was failing due to a misaligned TOC section. MFC after: 2 weeks Notes: svn path=/head/; revision=291441
* Disable a couple of tests, perhaps temporarily, since they use privateDaniel Eischen2015-11-291-2/+2
| | | | | | | symbols that are not exported from librt. Notes: svn path=/head/; revision=291440
* Unbreak symbol versioning. I have no idea when it was broken, but it's beenDaniel Eischen2015-11-292-1/+2
| | | | | | | at least a few months if not a year or more. Notes: svn path=/head/; revision=291439