aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update - allow collecting stats when WITH_META_STATS is defined.Simon J. Gerraty2014-05-071-0/+26
| | | | Notes: svn path=/projects/bmake/; revision=265622
* Need to stage_filesSimon J. Gerraty2014-05-051-0/+6
| | | | Notes: svn path=/projects/bmake/; revision=265404
* Sadly there is at least on lib we need to build for host (libdwarf)Simon J. Gerraty2014-05-051-1/+4
| | | | | | | else we cannot build ctfconvert. Notes: svn path=/projects/bmake/; revision=265384
* If building WITH_META_FILES we do not want STAGINGSimon J. Gerraty2014-05-051-1/+2
| | | | Notes: svn path=/projects/bmake/; revision=265382
* New/updated dependenciesSimon J. Gerraty2014-05-0513-49/+602
| | | | Notes: svn path=/projects/bmake/; revision=265381
* Leverage bsd.opts.mkSimon J. Gerraty2014-05-051-1/+5
| | | | Notes: svn path=/projects/bmake/; revision=265380
* If doing destroy-all and at top-level whack stage tree too.Simon J. Gerraty2014-05-051-4/+25
| | | | Notes: svn path=/projects/bmake/; revision=265379
* WITHOUT always winsSimon J. Gerraty2014-05-051-1/+1
| | | | | | | Reviewed by: imp Notes: svn path=/projects/bmake/; revision=265378
* Avoid /etc/make.confSimon J. Gerraty2014-05-051-4/+9
| | | | | | | and make it easier to deal with compiler updates Notes: svn path=/projects/bmake/; revision=265377
* Update to latest versions.Simon J. Gerraty2014-05-053-47/+62
| | | | Notes: svn path=/projects/bmake/; revision=265374
* Leverage bsd.opts.mkSimon J. Gerraty2014-05-051-8/+24
| | | | Notes: svn path=/projects/bmake/; revision=265373
* We can now leverage bsd.opts.mk to use MK_* to control what we build.Simon J. Gerraty2014-05-041-4/+11
| | | | Notes: svn path=/projects/bmake/; revision=265330
* Some warnings depened on the version of clang, allow us to check.Simon J. Gerraty2014-05-022-1/+9
| | | | | | | Reviewed by: obrien Notes: svn path=/projects/bmake/; revision=265210
* Add 'destroy' target to efficiently rm -rf objtreeSimon J. Gerraty2014-05-021-0/+25
| | | | | | | Reviewed by: obrien Notes: svn path=/projects/bmake/; revision=265209
* There is no guarantee that our group has a name.Simon J. Gerraty2014-05-021-3/+4
| | | | | | | | | Since the results are temp, just subst [gu]name for [gu]id Reviewed by: obrien Notes: svn path=/projects/bmake/; revision=265204
* Merge headSimon J. Gerraty2014-04-2814445-635670/+992606
|\ | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * bsd-family-tree: Fix dateEitan Adler2014-04-281-1/+1
| | | | | | | | Notes: svn path=/head/; revision=265042
| * Move common device tree informations to separate dtsi files for A10 and A20 SoC.Ganbold Tsagaankhuu2014-04-284-172/+282
| | | | | | | | | | | | | | | | | | Change cubieboard1 and cubieboard2 dts files accordingly. Approved by: stas (mentor) Notes: svn path=/head/; revision=265038
| * Don't use multiprocessing-extensions instruction on processors that don'tIan Lepore2014-04-281-0/+4
| | | | | | | | | | | | | | | | | | | | support SMP. Submitted by: loos@ Pointy hat to: me Notes: svn path=/head/; revision=265036
| * Move duplicated code to print l2 cache config into the common code.Ian Lepore2014-04-274-68/+45
| | | | | | | | Notes: svn path=/head/; revision=265035
| * Note that the AR9380 and later hardware supports MYBEACON.Adrian Chadd2014-04-271-0/+4
| | | | | | | | | | | | | | (Yes, I said AR5416 in the committed code. It's still strictly true.) Notes: svn path=/head/; revision=265034
| * Note that the AR5416 and later hardware supports the MYBEACON RX filter.Adrian Chadd2014-04-271-0/+5
| | | | | | | | Notes: svn path=/head/; revision=265033
| * * Add a new capability which returns whether the hardware supportsAdrian Chadd2014-04-273-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the MYBEACON RX filter (only receive beacons which match the BSSID) or all beacons on the current channel. * Add the relevant RX filter entry for MYBEACON. Tested: * AR5416, STA * AR9285, STA TODO: * once the code is in -HEAD, just make sure that the code which uses it correctly sets BEACON for pre-AR5416 chips. Obtained from: QCA, Linux ath9k Notes: svn path=/head/; revision=265032
| * Program the AR_TSFOOR_THRESHOLD register with a default lifted fromAdrian Chadd2014-04-271-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the QCA HAL. This fires off an interrupt if the TSF from the AP / IBSS peer is wildly out of range. I'll add some code to the ath(4) driver soon which makes use of this. TODO: * verify this didn't break TDMA! Notes: svn path=/head/; revision=265031
| * Fix the AR_SLEEP1 and AR_SLEEP2 definitions. Oops!Adrian Chadd2014-04-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Tested: * AR9285, STA * AR5416, STA Obtained from: QCA, Linux ath9k Notes: svn path=/head/; revision=265030
| * Do a read-after-write to ensure the interrupt register update is flushedAdrian Chadd2014-04-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | to the hardware. The QCA HAL has a comment noting that if this isn't done, modifications to AR_IMR_S2 before AR_IMR is flushed may produce spurious interrupts. Obtained from: QCA Notes: svn path=/head/; revision=265029
| * Disable the beastie menu for EFI console which doesn't support ANSI codesDevin Teske2014-04-273-2/+11
| | | | | | | | | | | | | | | | | | | | (so things like `at-xy', `clear', and other commands don't work making it impossible to generate a living menu). Reviewed by: nwhitehorn, emaste Notes: svn path=/head/; revision=265028
| * Fix buildAlexander V. Chernikov2014-04-271-1/+1
| | | | | | | | | | | | | | | | Found by: ian Pointyhat to: me Notes: svn path=/head/; revision=265027
| * No EFI on i386. This unbreaks the i386 VT kernel build.Nathan Whitehorn2014-04-271-1/+1
| | | | | | | | Notes: svn path=/head/; revision=265026
| * Explain why wbinv_all is SMP-safe in this case, and add a missing l2 cacheIan Lepore2014-04-271-1/+7
| | | | | | | | | | | | | | | | 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.) Notes: svn path=/head/; revision=265025
| * Flush and invalidate caches on each CPU as part of handling IPI_STOP.Ian Lepore2014-04-272-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | Flushing the caches is required before doing a panic dump, but ARM doesn't provide a flavor of flush that gets broadcast to other cores. However, all cores except one are stopped before doing a dump, so this works around the lack of a global flush/invalidate by doing it locally on each CPU as part of stopping. Discussed with: cognet@ Notes: svn path=/head/; revision=265024
| * There is no difference between IPI_STOP and IPI_STOP_HARD on ARM, soIan Lepore2014-04-272-2/+1
| | | | | | | | | | | | | | map them both to the same interrupt number like other arches do. Notes: svn path=/head/; revision=265023
| * Remove cpu_idcache_wbinv_all() from kdb_cpu_trap(), it's no longer needed.Ian Lepore2014-04-271-2/+0
| | | | | | | | | | | | | | | | | | | | This was added ca. 2004 for the purpose of ensuring the caches were in the right state after the debugger set a breakpoint. kdb_cpu_sync_icache() was added in 2007 to handle that situation, and now the wbinv_all is actually harmful because the operation isn't broadcast to other cores. Notes: svn path=/head/; revision=265020
| * Improve memory allocation model for rt_msg2() rtsock messages:Alexander V. Chernikov2014-04-271-53/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | * memory is now allocated as early as possible, without holding locks. * sysctl users are now guaranteed to get a response (M_WAITOK buffer prealloc). * socket users are more likely to use on-stack buffer for replies. * standard kernel malloc/free functions are now used instead of radix wrappers. rt_msg2() has been renamed to rtsock_msg_buffer(). MFC after: 1 month Notes: svn path=/head/; revision=265019
| * Turn off the full witness trace on console output.Glen Barber2014-04-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On head/, or more specifically, when WITNESS is in the kernel config, the console is spammed excessively with lock order reversal between isofs and devfs. Set debug.witness.trace=0 in the installer sysctl.conf to avoid printing the full KDB stack backtrace. This does not prevent printing the lock order reversal has happened, only lessens the console spam. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265018
| * loader's GPT support on BIOS does not seem to like the root filesystemNathan Whitehorn2014-04-271-1/+1
| | | | | | | | | | | | | | | | | | being the last filesystem on the disk for some reason when made by this script. Add a vestigial swap partition to allow this to boot with QEMU BIOS. Notes: svn path=/head/; revision=265017
| * Finish connecting up installer UEFI support. If the kernel was booted usingNathan Whitehorn2014-04-271-5/+5
| | | | | | | | | | | | | | | | EFI, set up the disks for an EFI system. If booted from BIOS/CSM, set up for BIOS. Notes: svn path=/head/; revision=265016
| * Setting the IMOD value below 0x3F8 can cause IRQ lockups in the IntelHans Petter Selasky2014-04-274-2/+9
| | | | | | | | | | | | | | | | | | | | LynxPoint USB 3.0 controllers found in MacBookPro 2013's. MFC after: 2 days Tested by: Huang Wen Hui <huanghwh@gmail.com> Notes: svn path=/head/; revision=265015
| * Report boot method (BIOS/UEFI) via sysctl machdep.bootmethodEd Maste2014-04-271-0/+6
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265014
| * Revert r258678. Make the led gpio-specifier match again the #gpio-cellsLuiz Otavio O Souza2014-04-271-1/+1
| | | | | | | | | | | | | | | | settings from the GPIO controller, which i had broken in r258678. Restore the active-low flag. Notes: svn path=/head/; revision=265013
| * Fix the gpio-specifier decoding by respecting the GPIO controller'sLuiz Otavio O Souza2014-04-274-35/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #gpio-cells property. Add a new ofw_bus method (OFW_BUS_MAP_GPIOS()) that allows the GPIO controller to implement its own mapping to deal with gpio-specifiers, allowing the decoding of gpio-specifiers to be controller specific. The default ofw_bus_map_gpios() decodes the linux standard (#gpio-cells = <2>) and the FreeBSD standard (#gpio-cells = <3>). It pass the gpio-specifier flag field to the children as an ivar variable so they can act upon. Notes: svn path=/head/; revision=265012
| * Remove useless zeroing of RTAX_DST on error.Alexander V. Chernikov2014-04-271-11/+17
| | | | | | | | | | | | | | | | | | Cleanup a bit. MFC after: 1 month Notes: svn path=/head/; revision=265011
| * Cleanup route_output() a bit.Alexander V. Chernikov2014-04-271-12/+11
| | | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=265010
| * Do not delay freeing rtm. Bandaid added in r227061 is not needed since r227061,Alexander V. Chernikov2014-04-271-4/+2
| | | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=265009
| * Same as it was done in r263878 for invlrng_handler(), fix order ofKonstantin Belousov2014-04-271-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | checks for special pcid values in invlpg_pcid_handler(). Forst check for special values, and only then do PCID-specific page invalidation. Minor fix to the style compliance, declare local variable at the function start. Sponsored by: The FreeBSD Foundation MFC after: 1 week Notes: svn path=/head/; revision=265004
| * Fix order of libthr and libc in the global dso list for sshd, byKonstantin Belousov2014-04-271-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | explicitely linking main binary with -lpthread. Before, libthr appeared in the list due to dependency of one of the kerberos libs. Due to the change in ld(1) behaviour of not copying NEEDED entries from direct dependencies into the link results, the order becomes reversed. The libthr must appear before libc to properly interpose libc symbols and provide working rtld locks implementation. The symptom was sshd hanging on rtld bind lock during nested symbol binding from a signal handler. Approved by: des (openssh maintainer) Sponsored by: The FreeBSD Foundation MFC after: 1 week Notes: svn path=/head/; revision=265003
| * When vm_fault_copy_entry() is called from vm_map_protect() for a wiredKonstantin Belousov2014-04-271-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | entry and performs the upgrade of the entry permissions from read-only to read-write, we must allow to search for the source pages in the backing object, like we do in the case of forking the read-only wired entry. For the fork case, the behaviour is allowed by src_readonly boolean, which in fact is only used to assert that read-write case provides all source pages in the top-level object. Eliminate the src_readonly variable. Allow for the copy loop to look into the backing objects, add explicit asserts to ensure that only read-only and upgrade case actually does. Expand comments. Change the panic call into assert. Reported by: markj Tested by: markj, pho (previous version) Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week Notes: svn path=/head/; revision=265002
| * Don't need this now. VT does the same thing, but better.Nathan Whitehorn2014-04-271-11/+0
| | | | | | | | | | | | | | Submitted by: gjb Notes: svn path=/head/; revision=265001
| * Add vt_efifb to VT kernel configuration now that that actually works. ThisNathan Whitehorn2014-04-271-0/+1
| | | | | | | | | | | | | | | | | | kernel will now boot on both BIOS and EFI systems without modification. Equivalent functionality in GENERIC requires making vt(9) the default console driver, which is probably appropriate at this point. Notes: svn path=/head/; revision=265000
| * Increase the maximum framebuffer size to more reasonable values reflectingNathan Whitehorn2014-04-271-2/+2
| | | | | | | | | | | | | | the high-resolution boot consoles present on Open Firmware and EFI systems. Notes: svn path=/head/; revision=264999