summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* INTRNG - use gpio generic interrupt modes definitions added in r298738.skra2016-05-231-47/+31
| | | | Reviewed by: ian
* Properly allow META_MODE to be set from environment.bdrewery2016-05-231-1/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* Use sed(1) to determine cc version rather than tail(1) since it is already ↵bdrewery2016-05-231-1/+1
| | | | | | | | in ITOOLS. This fixes 'tail: not found' warnings in installworld after r300351. Sponsored by: EMC / Isilon Storage Division
* Document r298998, OpenSSL updated to 1.0.2h.skreuzer2016-05-231-2/+2
| | | | Approved by: gjb@ (implicit with re@ hat on)
* Only export and re-import the root pool if installing on MBRallanjude2016-05-231-22/+26
| | | | | | This step is required in order to dd the boot2 bits into the ZFS partition Sponsored by: ScaleEngine Inc.
* Correct an error in a comment: One of the conditions for page allocationalc2016-05-231-9/+8
| | | | | | | | | | | is actually the opposite of that stated in the comment. Remove an unnecessary assignment. Use an assertion to document the fact that no assignment is needed. Rewrite another comment to clarify that the page is not completely valid. Reviewed by: kib
* Fix missing pool name in zfs set commandallanjude2016-05-231-1/+1
|
* Move binutils handling after src.opts.mk.bdrewery2016-05-231-23/+27
| | | | | | This fixes the arm64 build after r300348. Sponsored by: EMC / Isilon Storage Division
* Implement "atomic_long_add_unless()" in the LinuxKPI and fix thehselasky2016-05-231-1/+16
| | | | | | | | implementation of "atomic_long_inc_not_zero()". Found by: ngie @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Document r296190, openresolv updated to 3.7.3.skreuzer2016-05-231-2/+2
| | | | Approved by: gjb@ (implicit with re@ hat on)
* Document r298161, sqlite3 updated to 3.12.1.skreuzer2016-05-231-2/+2
| | | | Approved by: gjb@ (implicit with re@ hat on)
* Document r298192, file(1) updated to 5.26.skreuzer2016-05-231-2/+2
| | | | Approved by: gjb@ (implicit with re@ hat on)
* Add the needed hwpmc hooks to subr_intr.c. This is needed for the correctandrew2016-05-231-0/+9
| | | | | | | operation of hwpmc on, for example, arm64 with intrng. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* Fix error in bsdinstall where additional filesystems cannot be mountedallanjude2016-05-231-1/+5
| | | | | | | | | | | Do not set canmount=noauto on the boot environment at create time, because this causes / to not be mounted, and since the chroot is read only, new mountpoints cannot be created. The property is set later, when other properties are adjusted Reported by: HardenedBSD Sponsored by: ScaleEngine Inc.
* pf: Fix more ICMP mistranslationkp2016-05-231-1/+1
| | | | | | | | In the default case fix the substitution of the destination address. PR: 201519 Submitted by: Max <maximos@als.nnov.ru> MFC after: 1 week
* A missing definition needed by ktime_to_ms().hselasky2016-05-231-0/+1
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Fix some data types and add "inline" keyword for __reg_op() function.hselasky2016-05-231-17/+18
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* sfxge(4): cleanup: remove unused EFX preempt macrosarybchik2016-05-231-16/+0
| | | | | | | | | | | The EFSYS_PREEMPT_DISABLE() and EFSYS_PREEMPT_ENABLE() macros were used to ensure correct timing of I2C operations. The APIs for I2C operations have been removed, so these macros have no callers. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week
* Build iscsid(8) with ICL_KERNEL_PROXY defined by default, as requiredtrasz2016-05-231-1/+1
| | | | | | | | for iSER. Obtained from: Mellanox Technologies MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Implement ror32() in the LinuxKPI.hselasky2016-05-231-0/+6
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Define more copy to/from userspace functions in the LinuxKPI.hselasky2016-05-231-0/+3
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* pf: Fix ICMP translationkp2016-05-231-10/+5
| | | | | | | | Fix ICMP source address rewriting in rdr scenarios. PR: 201519 Submitted by: Max <maximos@als.nnov.ru> MFC after: 1 week
* Add more printf() related functions to the LinuxKPI.hselasky2016-05-231-1/+33
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Set an invalid IRQ number when no PCI IRQ is available in the LinuxKPI.hselasky2016-05-231-1/+1
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Add more ktime related functions to the LinuxKPI.hselasky2016-05-231-0/+32
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Implement "kref_put_mutex()" for the LinuxKPI.hselasky2016-05-231-0/+19
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Add more list_xxx() functions to the LinuxKPI.hselasky2016-05-232-0/+61
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Make header file standalone by including definitions for neededhselasky2016-05-231-0/+1
| | | | | | | | linux_wait_xxx() functions. Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Implement "_outb()" to the LinuxKPI for i386 and amd64 only.hselasky2016-05-231-0/+8
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Add support for "cdev_add_ext()" to the LinuxKPI.hselasky2016-05-231-0/+12
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Add more GFP related defines to the LinuxKPI.hselasky2016-05-231-0/+13
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Add support for atomic_long_inc_not_zero() to the LinuxKPI.hselasky2016-05-231-0/+1
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Add support for atomic_long_inc_not_zero() to the LinuxKPI.hselasky2016-05-231-1/+1
| | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
* Use DELAY() instead of _sleep() when SCHEDULER_STOPPED() is set insidehselasky2016-05-231-1/+1
| | | | | | | | | pause_sbt(). This allows pause() to continue working during a panic() which is not invoking KDB. This is useful when debugging graphics drivers using the LinuxKPI. Obtained from: kmacy @ MFC after: 1 week
* hyperv/vmbus: Move IDT vector to vmbus_softcsephe2016-05-234-25/+15
| | | | | | | | Prepare to get rid of the hv_setup_arg. MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6449
* hyperv/vmbus: Get rid of vmbus_devpsephe2016-05-232-9/+12
| | | | | | | | While I'm here, nuke useless print in vmbus_attach(). MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6447
* hyperv/vmbus: Declare Synic message and event w/ proper typessephe2016-05-233-14/+17
| | | | | | | | Avoid ugly casts. MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6446
* hyperv: Move Hypercall setup to an early place.sephe2016-05-234-102/+122
| | | | | | | | | | | | It does not belong to the vmbus. While I'm here rework the Hypercall setup, e.g. use busdma(9) and avoid bit fields. Discussed with: Jun Su <junsu microsoft com> MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6445
* hyperv/hn: Use hyperv busdma(9) helper.sephe2016-05-231-13/+2
| | | | | | MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6444
* hyperv: Add helpers for busdma(9) operationsephe2016-05-235-1/+147
| | | | | | MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6443
* [siba] update device ids.adrian2016-05-231-2/+2
| | | | | | Tested: * BCM4322 11abgn, STA mode
* hyperv: Move guest id setup to early placesephe2016-05-232-52/+35
| | | | | | | | | | And - Rework the guest id composition. - Nuke useless saved guest_id. MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6430
* [bwn] convert another PHY-N workaround to the freebsd bwn format.adrian2016-05-231-8/+4
| | | | | | These were hidden behind an #ifdef that we weren't setting. I don't have the hardware in question to check.
* Add a note on how to update a self-hosted armv6hf system to the entryian2016-05-231-0/+4
| | | | describing the armv6hf->armv6 change.
* [nvram2env] fix nvram2env to scan all of memory, not 1/4thadrian2016-05-231-46/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | The variable "size" stores number of words (4bytes). But the loop over memory uses size as number of bytes to scan memory. As result it fetches only 1/4th of memory. This patch solves this problem and nvram2env fetches all NVRAM variables. Test plan: Pre-requisites: any MIPS board with ASCII-based NVRAM mapped into memory * Add "device nvram2env" into kernel configuration * Specify hints: base is mandatory (according to nvram2env(4)) hint.nvram.0.base=0x1c7f8000 (it's valid address for Asus RT-N53 with flags = 0x4) * Build & load kernel with bootverbose Actual result: only part of nvram variables are found Expected result: all variables are found Submitted by: Michael Zhilin <mizhka@gmail.com> Differential Revision: https://reviews.freebsd.org/D6466
* [bhnd] Add support for querying the attachment type of the bhnd bus.adrian2016-05-2310-38/+137
| | | | | | | | | | | | | | | This adds a BHND_BUS_GET_ATTACH_TYPE(); the primary use-case is to let chipc make a coarse-grained determination as to whether UART, SPI, etc drivers ought to be attached, and on fullmac devices, whether a real CPU driver ought to be skipped for the ARM core, etc. Tested: * BCM4331 (BHND) * BCM4312 (SIBA) Submitted by: Landon Fuller <landonf@landonf.org> Differential Revision: https://reviews.freebsd.org/D6492
* [ixl] fix build for RSS.adrian2016-05-231-3/+5
| | | | Untested.
* [bhnd] Fix DEFINE_CLASS_(2|3) multiple inheritance support.adrian2016-05-231-4/+4
| | | | | | | | | | | | | | | This diff updates DEFINE_CLASS_2/_3 to support the specification of class name separately from the class variable name, bringing them into sync with their API documentation, as well as the behavior of DEFINE_CLASS_0/_1. Nothing in the tree currently uses the _2/_3 variants, and I can't find any references to the API outside of commits to the kobj.h header itself; given the limitation that currently exists, I'd be surprised if they've ever been used. Submitted by: Landon Fuller <landonf@landonf.org> Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D6491
* Hopefully fix Coverity CID 1008328 (Out-of-bounds write) in /bin/sh.truckman2016-05-231-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the magic constant 127 in the loop interation count with "PROMPTLEN - 1". gethostname() is not guaranteed to NUL terminate the destination string if it is too short. Decrease the length passed to gethostname() by one, and add a NUL at the end of the buffer to make sure the following loop to find the end of the name properly terminates. The default: case is the likely cause of Coverity CID 1008328. If i is 126 at the top of the loop interation where the default case is triggered, i will be incremented to 127 by the default case, then incremented to 128 at the top of the loop before being compared to 127 (PROMPTLENT - 1) and terminating the loop. Then the NUL termination code after the loop will write to ps[128]. Fix by checking for overflow before incrementing the index and storing the second character in the buffer. These fixes are not guaranteed to satisfy Coverity. The code that increments i in the 'h'/'H' and 'w'/'W' cases may be beyond its capability to analyze, but the code appears to be safe. Reported by: Coverity CID: 1008328 Reviewed by: jilles, cem MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6482
* Mark swap-related proc sysctls as not requiring Giant.kib2016-05-221-3/+5
| | | | | Reviewed by: alc (as part of larger patch) Sponsored by: The FreeBSD Foundation
OpenPOWER on IntegriCloud