aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* sfxge(4): add TLV format buffer manipulation functions for V3 licensingAndrew Rybchenko2016-05-112-0/+428
| | | | | | | | | | | | | | The licensing partition for V3 licensing will use the standard TLV format, so Medford licensing operations on the staging buffer are implemented using the TLV functions. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6288 Notes: svn path=/head/; revision=299402
* hyperv/hn: Extract RSS hash value and type.Sepherosa Ziehau2016-05-114-19/+93
| | | | | | | | | MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6287 Notes: svn path=/head/; revision=299401
* Don't mark the initial portal registers as fully mapped.Justin Hibbits2016-05-111-1/+0
| | | | | | | | | | BMan and QMan will do this at attach time. Even though the registers are mapped now, dpaa_portal_map_registers() will be called at BMan and QMan attach time, updating the mappings to be private, and in the case of cache-enabled registers, marked as coherent memory mappings. Notes: svn path=/head/; revision=299399
* Use DEVMETHOD_END instead of its value to indicate end of methods tableOleksandr Tymoshenko2016-05-113-3/+3
| | | | Notes: svn path=/head/; revision=299396
* Use GPIO pin management API in gpiobacklightOleksandr Tymoshenko2016-05-111-68/+29
| | | | | | | | | - Get rid of hack with re-parenting gpio-leds node to gpiobus - Use gpio_pin_set_active to enable/disable backlight, it automatically takes care of active-low pins Notes: svn path=/head/; revision=299395
* Rename siba -> siba_s5, to specifically reference that it's for theAdrian Chadd2016-05-102-6/+5
| | | | | | | | | | | | | legacy siba sentry5 cpu glue. The siba_cc code is the hard-coded chipcommon bits for the sentry s5, which will eventually be replaced with the more flexible bhnd sipa/cc code. bwn, etc uses siba_bwn, which doesn't use siba or siba_cc to do anything. Notes: svn path=/head/; revision=299394
* Change the default installation directory for modules to /boot/modules.John Baldwin2016-05-102-4/+8
| | | | | | | | | | | | | | Kernel installs always override KMODDIR when installing modules, so this default setting is only used for standalone module builds. Many out-of-tree modules manually override KMODDIR already to avoid placing modules in /boot/kernel. This now makes that behavior the default. Discussed on: arch@ Reviewed by: imp Relnotes: yes Notes: svn path=/head/; revision=299393
* Allow orm(4) to be disabled from probing/attaching by a hints entry:Bjoern A. Zeeb2016-05-101-0/+3
| | | | | | | | | | | | hint.orm.0.disabled=1 Suggested by: jhb Reviewed by: jhb MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D6307 Notes: svn path=/head/; revision=299392
* Move vm_domain_rr_selectdomain() under #ifdef VM_NUMA_ALLOC.John Baldwin2016-05-101-4/+2
| | | | | | | | | | The function had a null function body in the !VM_NUMA_ALLOC case but also wasn't called in the !VM_NUMA_ALLOC case. Suggested by: ngie Notes: svn path=/head/; revision=299391
* Make libcrypto.so position independent on i386.Jung-uk Kim2016-05-1046-33345/+66749
| | | | Notes: svn path=/head/; revision=299389
* Fix DTrace test ATF wrapper generation.Mark Johnston2016-05-101-1/+1
| | | | Notes: svn path=/head/; revision=299388
* netipsec: Fix minor style nitConrad Meyer2016-05-101-1/+1
| | | | | | | | | | | | Coverity points out that 'continue' is equivalent to 'break' in a do {} while(false) loop. Reported by: Coverity CID: 1354983 Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=299387
* sdiff(1): Fix potential NULL deref in cleanup pathConrad Meyer2016-05-101-1/+2
| | | | | | | | | | | | In the presence of the --diff-pid argument, it is possible for 'diffpipe' to be NULL. Only fclose() it if it was initialized. Reported by: Coverity CID: 1355183 Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=299385
* Pass device tree node as a part of gpio_pin_get_by_ofw_XXX APIOleksandr Tymoshenko2016-05-103-36/+29
| | | | | | | | | | | | | | Current API assumes that "gpios" property belongs to the device's node but for some binding it's not true: gpiokeys has set of child nodes with this property. Patch adds new argument instead of replacing device_t because device_t will be used to track ownership for allocated pins Reviewed by: mmel Differential Revision: https://reviews.freebsd.org/D6277 Notes: svn path=/head/; revision=299384
* When PLATFORM_SMP is enabled, check if tunable hw.ncpu is set and validEmmanuel Vadot2016-05-101-0/+8
| | | | | | | | | | (>= 1 and <= real ncores) and set mp_ncpus to it. Approved by: andrew (mentor) Differential Revision: https://reviews.freebsd.org/D6151 Notes: svn path=/head/; revision=299383
* Update the example growfs(8) manual page to include information on howEdward Tomasz Napierala2016-05-101-9/+8
| | | | | | | | | | | | | | to make the system "notice" the updated disk size. (Relnotes, since I've forget to set it for "camcontrol reprobe", and it's worth mentioning.) MFC after: 1 month Relnotes: yes Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=299382
* Ensure waiting loops terminate during cold boot. This fixes boot withHans Petter Selasky2016-05-101-0/+4
| | | | | | | | | | | | | | | MacBookPro and i915kms_load="YES" in /boot/loader.conf. A lowlevel timeout in one of the display ports caused an infinite wait because a ticks/jiffies comparison was constant. The clock subsystem which makes ticks/jiffies increment is started after the initial driver probing is done. Refer to sys/kernel.h and SI_SUB_DRIVERS vs SI_SUB_CLOCKS . Discussed with: kmacy @ Notes: svn path=/head/; revision=299381
* Merge a20_mp_start_ap and a31_mp_start_ap into one function.Emmanuel Vadot2016-05-103-43/+27
| | | | | | | | | | This function works with all smp non-multicluster allwinner SoC (A20, A31, A31S and H3). Approved by: cognet (mentor) Differential Revision: https://reviews.freebsd.org/D6269 Notes: svn path=/head/; revision=299380
* Implement ioremap_wt() and use that in the MEMREMAP_WT case for i386Hans Petter Selasky2016-05-101-1/+3
| | | | | | | | | | | | and amd64. Suggested by: cem @ Discussed with: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=299379
* sed.1: Correction for the case insensitive case.Pedro F. Giffuni2016-05-101-2/+2
| | | | | | | | | | | Use the capital I instead of the lowercase. Submitted by: Mikhail T. PR: 195929 MFC after: 2 weeks Notes: svn path=/head/; revision=299377
* aic7xxx: minor spelling fixes.Pedro F. Giffuni2016-05-1014-63/+63
| | | | | | | | | Affects mostly comments but also a visible text string, Differential Revision: https://reviews.freebsd.org/D6270 Notes: svn path=/head/; revision=299375
* Fix kernel LINT build after r299363.Hans Petter Selasky2016-05-101-1/+1
| | | | | | | | | | Define shadowing macros the same way to avoid macro redefinition compile error(s) for now. Approved by: np @ Notes: svn path=/head/; revision=299374
* Allow sleepable allocations in enclosure daemon threads.Alexander Motin2016-05-102-33/+15
| | | | | | | | | | | There were at least two places where M_NOWAIT was used without NULL check. This change should fix NULL-dereference panic there and possibly improve operation in other ways under memory pressure. MFC after: 2 weeks Notes: svn path=/head/; revision=299373
* Add a missing section to a cross-reference.John Baldwin2016-05-101-2/+3
| | | | | | | While here, add bus_space(9) to the SEE ALSO section. Notes: svn path=/head/; revision=299372
* Add "camcontrol reprobe" subcommand, and implement it for da(4).Edward Tomasz Napierala2016-05-105-4/+76
| | | | | | | | | | | | | | This makes it possible to manually force updating capacity data after the disk got resized. Without it it might be neccessary to reboot before FreeBSD notices updated disk size under eg VMWare. Discussed with: imp@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6108 Notes: svn path=/head/; revision=299371
* Push the logic to talk with the MSI/MSI-X interrupt controller to the FDTAndrew Turner2016-05-102-11/+76
| | | | | | | | | | | attachment. This is where it will live when we import intrng as it will need to look at either the msi-parent or msi-map FDT properties. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=299370
* Remove NULL checks after M_WAITOK allocations from mpr(4).Edward Tomasz Napierala2016-05-101-38/+13
| | | | | | | | | | Reviewed by: asomers@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6297 Notes: svn path=/head/; revision=299369
* siba depends on bhndbus; add the device to the kernel config.Bjoern A. Zeeb2016-05-101-0/+1
| | | | | | | This gets us past compiling and now only linking is failing on builtins. Notes: svn path=/head/; revision=299368
* Remove NULL checks after M_WAITOK allocations from mps(4).Edward Tomasz Napierala2016-05-101-38/+13
| | | | | | | | | | Reviewed by: asomers@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6296 Notes: svn path=/head/; revision=299367
* bsdinstall/zfsboot: Do not mirror swap when swapsize is 0Allan Jude2016-05-101-1/+1
| | | | | | | | | PR: 209415 Submitted by: Ganael LAPLANCHE <ganael.laplanche@corp.ovh.com> MFC after: 2 weeks Notes: svn path=/head/; revision=299366
* Capitalize "LDAP" in the description field of the _ypldap entry.Benedict Reuschling2016-05-101-1/+1
| | | | | | | | | Reviewed by: bapt MFC after: 5 days Differential Revision: https://reviews.freebsd.org/D5267 Notes: svn path=/head/; revision=299365
* Add more LinuxKPI I/O functions.Hans Petter Selasky2016-05-101-1/+77
| | | | | | | | | Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=299364
* Use function macros when possible to avoid stray substitutions.Hans Petter Selasky2016-05-101-17/+17
| | | | | | | | MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=299363
* Rename getline with get_line to avoid collision with getline(3)Baptiste Daroussin2016-05-101-2/+2
| | | | | | | | When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added. This rename is made in preparation for the removal of this guard Notes: svn path=/head/; revision=299362
* Add missing semicolon and properly wrap macro argument.Hans Petter Selasky2016-05-101-12/+12
| | | | | | | | MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=299361
* Allow the argument for the cpu_to_xxxp() and xxx_to_cpup() macros toHans Petter Selasky2016-05-101-12/+12
| | | | | | | | | | | point to a constant. Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=299360
* Directly set the NONBLOCK flags when creating the socketBaptiste Daroussin2016-05-101-8/+1
| | | | | | | No functional changes Notes: svn path=/head/; revision=299359
* Rename getline with get_line to avoid collision with getline(3)Baptiste Daroussin2016-05-101-5/+5
| | | | | | | | When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added. This rename is made in preparation for the removal of this guard Notes: svn path=/head/; revision=299358
* Rename getline with get_line to avoid collision with getline(3)Baptiste Daroussin2016-05-105-10/+10
| | | | | | | | When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added. This rename is made in preparation for the removal of this guard Notes: svn path=/head/; revision=299357
* Rename getline with get_line to avoid collision with getline(3)Baptiste Daroussin2016-05-107-22/+22
| | | | | | | | When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added. This rename is made in preparation for the removal of this guard Notes: svn path=/head/; revision=299356
* Rename getline with get_line to avoid collision with getline(3)Baptiste Daroussin2016-05-108-32/+32
| | | | | | | | | | When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added. This rename is made in preparation for the removal of this guard Obtained from: NetBSD Notes: svn path=/head/; revision=299355
* Rename getline with get_line to avoid collision with getline(3)Baptiste Daroussin2016-05-101-4/+4
| | | | | | | | | | When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added. This rename is made in preparation for the removal of this guard Obtained from: OpenBSD Notes: svn path=/head/; revision=299354
* Remove misc NULL checks after M_WAITOK allocations.Edward Tomasz Napierala2016-05-105-11/+0
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=299353
* Remove NULL check after M_WAITOK allocations from mfi(4).Edward Tomasz Napierala2016-05-101-8/+0
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=299352
* Remove NULL checks after M_WAITOK allocations from firewire.Edward Tomasz Napierala2016-05-105-22/+0
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=299351
* Add locking annotations to amd64 struct md_page members.Konstantin Belousov2016-05-101-2/+6
| | | | | | | | | Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week Notes: svn path=/head/; revision=299350
* Refactor the root mount hold code and add the wait to etc/rc.d/fsck.Edward Tomasz Napierala2016-05-103-28/+48
| | | | | | | | | | | | | | This fixes mounting (non-root) USB drives on boot with fsck enabled (with non-zero 'Pass#' field in fstab(5)). Reported by: Graham Menhennitt <graham at menhennitt.com.au> Reviewed by: jilles@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6221 Notes: svn path=/head/; revision=299349
* Fix previous commit to report proper error code.Alexander Motin2016-05-101-6/+28
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=299348
* Validate XCOPY range offsets and lengths.Alexander Motin2016-05-101-3/+11
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=299347
* More XCOPY parameters validation.Alexander Motin2016-05-101-5/+55
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=299346