summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Convert printfs in m_ext allocator to KASSERTs.glebius2015-04-061-5/+6
| | | | | Discussed with: rwatson Sponsored by: Nginx, Inc.
* Respect DESTDIR when creating the directory structure when NO_ROOT is set.andrew2015-04-061-1/+1
| | | | | Reviewed by: bapt MFC after: 1 Week
* SMBIOS support for EFI.rpaulo2015-04-066-14/+67
| | | | MFC after: 1 week
* ichsmb: add a device id for the Wildcat Point-LP.rpaulo2015-04-061-1/+5
| | | | MFC after: 1 week
* Make strlcpy/strlcat slightly easier to read.pfg2015-04-062-43/+42
| | | | | | Bring small upstream updates. Obtained from: OpenBSD
* sort: style knits / cleanups.pfg2015-04-062-2/+2
| | | | | | Minor cleanups that got accidentally reverted. Obtained from: OpenBSD
* Revert (partial) r281123, r281125:pfg2015-04-067-8/+79
| | | | | | | | | sort: style knits / cleanups. Our style guide(9) specifies that in absence of local variables an empty line must be inserted. Pointed out by: eadler
* Enforce LC_COLLATE="C" until we do support proper UTF-8 collationbapt2015-04-061-1/+1
|
* Make use of gcc attributes in some standard include headers.pfg2015-04-063-73/+94
| | | | | | | | | | | | | | | | | | | The `nonnull' attribute specifies that some function parameters should be non-null pointers. This is very useful as it helps the compiler generate warnings on suspicious code and can also enable some small optimizations. Also start using 'alloc_size' attribute in the allocator functions. This is an initial step to better integrate our libc with the compiler: these attributes are fully supported by clang and they are also useful for the static analyzer. Note that due to some bogus internal procedure in the way gcc ports are built they may require updating if they were built before r280801. Relnotes: yes Hinted by: Android's bionic libc Differential Revision: https://reviews.freebsd.org/D2107
* Switch russian login class to UTF-8amdmi32015-04-061-2/+2
| | | | | | Reviewed by: glebius Approved by: glebius Differential Revision: D2129
* Return the correct HAL data type for HAL_DIAG_ANI_STATS.adrian2015-04-062-20/+10
| | | | | | | | | | | | | I .. stupidly added code to return HAL_ANI_STATS to HAL_DIAG_ANI_STATS. I discovered this in a noisy environment when the returned values were enough to .. well, make everything terrible. So - restore functionality. Tested: * AR5416 (uses the AR5212 HAL), in a /very/ noisy 2GHz environment. Enough to trigger ANI to get upset and generate useful data.
* psm: print newer Synaptics Touchpad capabilities.rpaulo2015-04-062-0/+11
|
* Typecast things.adrian2015-04-061-2/+4
|
* sort: style knits / cleanups.pfg2015-04-056-69/+2
| | | | Obtained from: OpenBSD
* sort: Fix a comment.pfg2015-04-051-1/+1
| | | | Obtained from: OpenBSD
* sort: Cleanup small issues with spaces.pfg2015-04-056-24/+19
| | | | Obtained from: OpenBSD
* Convert the DIR-825C1 to use the new map based MAC address configuration.adrian2015-04-051-2/+26
| | | | | | Tested: * DIR-825C1
* Do not call msdosfs_sync() on the read-only msdosfs mounts. In fact,kib2015-04-051-6/+6
| | | | | | | | | it should be a nop for ro. PR: 199152 Reviewed by: bde (PR version of the patch) Submitted by: longwitz@incore.de MFC after: 1 week
* Assert that an msdosfs mount is not read-only when FAT modificationskib2015-04-051-0/+6
| | | | | | | | are requested. PR: 199152 Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Update the board MAC address configuration for the DIR-655A1.adrian2015-04-051-6/+32
| | | | | | | | | | | | | | | | | | | The MAC addresses were totally wrong. They're like the DIR-625C1 - at 0x1ffe0004 and 0x1ffe0018. They're however stored as text strings. The ath0 MAC address is also not set, even though the calibration partition is valid. So, pick the board address / first MAC as the ath0 MAC, and derive arge0/arge1 from that. That way they're hopefully unique enough for people with multiple devices. Tested: * DIR-655A1 TODO: * Do the same for the DIR-625A1 and DIR-625C1.
* Until the lock assertions in vm_page_advise() are properly reevaluated,alc2015-04-051-3/+3
| | | | | | | vm_fault_dontneed() should acquire a write lock on the first object in the shadow chain. Reported by: gleb, David Wolfskill
* Move boot1.efi to the global CLEANFILES list, it's not x86 specific.andrew2015-04-051-2/+2
|
* bthidd: Consider usage ranges when dealing with array inputs.rakuco2015-04-051-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far, we were always using HID_USAGE() to determine the Usage ID of a certain HID report input item. This does not work as intended if a field is an array and the allowed usages are specified with a usage range, as HID_USAGE() will return 0. We need to use the field value as an index in the usage range list in this case instead. This makes the volume keys in a Microsoft Bluetooth Mobile Keyboard 5000 be properly recognized. The relevant part of the HID report looks like this: 0xA1, 0x01, // Collection (Application) 0x85, 0x07, // Report ID (7) 0x05, 0x0C, // Usage Page (Consumer) 0x19, 0x00, // Usage Minimum (Unassigned) 0x2A, 0xFF, 0x03, // Usage Maximum (0x03FF) 0x95, 0x01, // Report Count (1) 0x75, 0x10, // Report Size (16) 0x15, 0x00, // Logical Minimum (0) 0x27, 0xFF, 0x03, 0x00, 0x00, // Logical Maximum (1023) 0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred // State,No Null Position) When a key such as "volume down" is pressed, the following data is transferred through Interrupt In: 0x07 0xEA 0x00 Differential Revision: https://reviews.freebsd.org/D2229 Reviewed by: emax Approved by: emax MFC after: 1 week
* Spell MACHINE_CPUARCH correctlyandrew2015-04-051-1/+1
|
* Add FDT support to loader.efi. This will be used on arm and arm64.andrew2015-04-054-2/+64
| | | | Differential Revision: https://reviews.freebsd.org/D2219
* Fix wrong kassert msg in uma.dchagin2015-04-051-2/+2
| | | | | | PR: 199172 Submitted by: luke.tw gmail com MFC after: 1 week
* Bug fixes and feature addsjpaetzel2015-04-051-33/+37
| | | | | | | | | | - Remove extranious echo that breaks puppet - Handle restarts of multiple pflog devices correctly - Add the ability to perform actions on specific pflog devices. PR: 199150 Submitted by: jason.unovitch@gmail.com MFC after: 3 days
* Missed this in r281096 as well.jhibbits2015-04-051-1/+1
| | | | | Renumber EXC_DEBUG to be above EXC_LAST, so as not to conflict with AIM trap vectors.
* Add DTrace probe to the new ARC reclaim cause added in r281026.mav2015-04-051-1/+5
| | | | MFC after: 1 month
* Add vmem locking to r281026.mav2015-04-051-0/+3
| | | | | | | While races there are not fatal, they cause result underestimation, that cause unneeded ARC reclaims. MFC after: 1 month
* MIPS rtld: report missing symbol rather than segfaultingemaste2015-04-051-1/+1
| | | | | | | | This is only an interim fix; MIPS should be using the MI code instead, which does not have this issue. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D661
* dev/ofw/openfirm.h is not needed in the arm machine/fdt.handrew2015-04-051-2/+0
|
* adrian asked me to revert and get more testingeadler2015-04-051-5/+1
|
* hwpmc: add initial Intel Broadwell support.rpaulo2015-04-054-1/+25
| | | | | | | The full list of aliases and events will follow in a subsequent commit. MFC after: 1 month
* Remove whitespace.rpaulo2015-04-051-9/+9
|
* head/sys/amd64/amd64/support.S: unroll loopeadler2015-04-051-1/+5
| | | | | | | | | | | | | unroll the loop in ENTRY(pagezero) acc' to the submitter this results in a reproducible 1% perf improvement under buildworld like workload I validated correctness and run-testing, but not performance impact Submitted by: lidl@pix.net Reviewed by: adrian PR: 199151 MFC After: 1 month
* Oops, add missing file from previous commit.adrian2015-04-051-0/+2
| | | | (Sorry bsdimp, I did break the build.)
* Add support for the MIPS74K SoC family performance counters events.adrian2015-04-054-0/+419
| | | | | | | | | | | | | | | | | | | | | | | | | These are similar to the mips24k performance counters - some are available on perfcnt0/3, some are available on perfcnt1/4. However, the events aren't all the same. * Add the events, named the same as from Linux oprofile. * Verify they're the same as "MIPS32(R) 74KTM Processor Core Family Software User's Manual"; Document Number: MD00519; Revision 01.05. * Rename INSTRUCTIONS to something else, so it doesn't clash with the alias INSTRUCTIONS. I'll try to tidy this up later; there are a few other aliases to add and shuffle around. Tested: * QCA9558 SoC (AP135 board) - MIPS74Kc core (no FPU.) * make universe; where it didn't fail for other reasons. TODO: * It'd be nice to support the four performance counters in at least this hardware, rather than just two. Reviewed by: bsdimp ("looks good; don't break world".)
* Add file missed in r281096.jhibbits2015-04-051-2/+1
|
* Unify Book-E and AIM trap.cjhibbits2015-04-053-580/+100
| | | | | | | | | | | | | | | | | | | Summary: Book-E and AIM trap.c are almost identical, except for a few bits. This is step 1 in unifying them. This also renumbers EXC_DEBUG, to not conflict with AIM vector numbers. Since this is the only one thus far that is used in the switch statement in trap(), it's the only one renumbered. If others get added to the switch, which conflict with AIM numbers, they should also be renumbered. Reviewers: #powerpc, marcel, nwhitehorn Reviewed By: marcel Subscribers: imp Differential Revision: https://reviews.freebsd.org/D2215
* Restore proper error from oshmctl(2), used by COMPAT_43, when thekib2015-04-041-1/+1
| | | | | | | segment cannot be found. Broken by r280323. Sponsored by: The FreeBSD Foundation MFC after: 3 days
* Re-add machine/bus.h to machine/fdt.h on arm, it's still needed.andrew2015-04-041-0/+2
|
* Include vm/pmap.h for pmap_kextract.andrew2015-04-0414-0/+41
|
* Include machine/intr.h for arm_post_filter.andrew2015-04-041-0/+7
|
* Don't include unneeded files in the arm machine/fdt.h. While here, removeandrew2015-04-044-8/+1
| | | | it from more files.
* Remove icl_conn_connected(); was unused.trasz2015-04-043-31/+0
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Move the definition of fdt_localbus_devmap to a Marvell specific file asandrew2015-04-043-4/+2
| | | | it's only used there.
* utimensat: Correct Capsicum required capability rights.jilles2015-04-041-2/+4
|
* Stop using machine/fdt.h in the arm kernel code when we don't need it.andrew2015-04-0456-56/+0
|
* Fix thinko/copypaste error.jpaetzel2015-04-041-1/+1
| | | | | | | | | When checking the length of the mutual secret password the variable for the secret password was used by mistake. This resulted in ctld never warning about the length of the mutual secret being wrong even if it was. MFC after: 3 days Sponsored by: iXsystems
OpenPOWER on IntegriCloud