aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* META MODE: Don't set schg flags in the stagedir for distrib-dirs.Bryan Drewery2015-11-122-4/+4
| | | | | | | | | This recently started setting /var/empty to schg after r290628. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290719
* Respect NO_FSCHG for extracting mtrees.Bryan Drewery2015-11-121-3/+7
| | | | | | | | | | PR: 194189 X-MFC-With: r290628 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290718
* Intel has requested that changes to these driver get a phabricator reviewSean Bruno2015-11-121-0/+3
| | | | | | | before commits to keep conflicts down to a minimum. Notes: svn path=/head/; revision=290717
* Some basic documentation (a man page) on kern_testfrwkRandall Stewart2015-11-122-0/+189
| | | | Notes: svn path=/head/; revision=290716
* Bump version number since callout_stop() macro now has new NULL arg.Randall Stewart2015-11-121-1/+1
| | | | | | | Thanks Hans for spotting this! Notes: svn path=/head/; revision=290715
* Style 9 changes.Randall Stewart2015-11-122-59/+63
| | | | | | | MFC after: 1 Month Notes: svn path=/head/; revision=290714
* Fix integer to pointer of different size conversion warnings whenHans Petter Selasky2015-11-122-4/+5
| | | | | | | | | | | using GCC for 32-bit platforms. The integer size in this case is hardcoded 64-bit while the pointer size is 32-bit. Sponsored by: Mellanox Technologies MFC after: 2 weeks Notes: svn path=/head/; revision=290711
* Fix print formatting compile warnings for Sparc64 and PowerPC platforms.Hans Petter Selasky2015-11-121-3/+3
| | | | | | | | Sponsored by: Mellanox Technologies MFC after: 2 weeks Notes: svn path=/head/; revision=290710
* Compile fix for 32-bit platforms:Hans Petter Selasky2015-11-121-2/+2
| | | | | | | | | | - The Linux timers data field is "unsigned long". Sponsored by: Mellanox Technologies MFC after: 2 weeks Notes: svn path=/head/; revision=290709
* Fix ixl debug sysctls panicSteven Hartland2015-11-121-19/+2
| | | | | | | | | | | | | | Remove the use of sbuf_data on drained sbufs from the debug sysctls: * ixl_sysctl_hw_res_alloc * ixl_sysctl_switch_config This prevents a kernel panic when accessing these values under a kernel compiled with INVARIANTS. Sponsored by: Multiplay Notes: svn path=/head/; revision=290708
* Fix UP build.Konstantin Belousov2015-11-121-4/+0
| | | | Notes: svn path=/head/; revision=290707
* Build fixes:Hans Petter Selasky2015-11-123-7/+34
| | | | | | | | | | | | | - Add some missing I/O functions for non-i386 and amd64 platforms. - Stub ioremap() to NULL using a macro to ensure non-existing memory attributes are not referred when they do not exist. - Add more header files to linux/list.h to resolve driver compilation issues on Sparc64 and PowerPC platforms. Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=290706
* Make the slice names for root configurable. For embedded platforms, weWarner Losh2015-11-121-17/+26
| | | | | | | | | | | | | | | | need s1 to be a FAT partition, s2 to be the config partition and s3 and s4 to be the ping-pong upgrade partitions. NANO_SLICE_ROOT defaults to s1 NANO_SLICE_ALTROOT defaults to s2 NANO_SLICE_CFG defaults to s3 NANO_SLICE_DATA defaults to s4 All can be overridden in the config file. Some basic sanity checking is in place, but is no substitute for being careful. Notes: svn path=/head/; revision=290704
* Add riotboard DTB to dtb/imx6Oleksandr Tymoshenko2015-11-121-0/+1
| | | | Notes: svn path=/head/; revision=290703
* MFV of 290695,tzdata2015gEdwin Groothuis2015-11-126-11/+68
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to tzdata2015g: Turkey's 2015 fall-back transition is scheduled for Nov. 8, not Oct. 25. Norfolk moves from +1130 to +1100 on 2015-10-04 at 02:00 local time. Fiji's 2016 fall-back transition is scheduled for January 17, not 24. Fort Nelson, British Columbia will not fall back on 2015-11-01. It has effectively been on MST (-0700) since it advanced its clocks on 2015-03-08. New zone America/Fort_Nelson. Notes: svn path=/head/; revision=290697
| * Vendor import of tzdata2015g:vendor/tzdata/tzdata2015gEdwin Groothuis2015-11-126-11/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to tzdata2015g: Turkey's 2015 fall-back transition is scheduled for Nov. 8, not Oct. 25. Norfolk moves from +1130 to +1100 on 2015-10-04 at 02:00 local time. Fiji's 2016 fall-back transition is scheduled for January 17, not 24. Fort Nelson, British Columbia will not fall back on 2015-11-01. It has effectively been on MST (-0700) since it advanced its clocks on 2015-03-08. New zone America/Fort_Nelson. Obtained from: ftp://ftp.iana.org/tz/releases/ Notes: svn path=/vendor/tzdata/dist/; revision=290695 svn path=/vendor/tzdata/tzdata2015g/; revision=290696; tag=vendor/tzdata/tzdata2015g
* | Add support for "rc.conf.d" file(s).Devin Teske2015-11-121-1/+95
| | | | | | | | | | | | | | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D3551 Reviewed by: allanjude MFC after: 1 week X-MFC-to: stable/10 X-MFC-with: 290337 Relnotes: yes Notes: svn path=/head/; revision=290693
* | Revisit this old board with 64MB of RAM. Comment out usb entirely,Warner Losh2015-11-121-20/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since it isn't used for my application. Add back the md device since it's needed for NanoBSD support. Add in many of the small memory footprint options from the access points. With these changes we go from having ~8MB to having ~20MB free, though free + inactive only goes from ~35MB to ~42MB. We can also boot a nanobsd image mostly (I had to hand tweak what was built to represent the final goal). Move the FDT stuff to the top. We're almost ready to pull the trigger to moving over to FDT, but something in the MCI driver is freaking out when we do and that needs fixing first. Notes: svn path=/head/; revision=290692
* | Move META MODE's HOST_CC/CXX/CPP setting to local.meta.sys.mk, whichBryan Drewery2015-11-112-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | centralizes the handling of CC and HOST_CC. This fixes a bug with WITH_CCACHE_BUILD when using MACHINE=host since CC is overridden in local.init.mk via src.opts.mk long before bsd.compiler.mk is included. Originally the ccache implementation was placed in local.init.mk but moved to bsd.compiler.mk as it seemed more proper and avoided other ordering issues. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290691
* | Add the MLINK for async_drain Thanks Edward for the pointer.Randall Stewart2015-11-111-0/+1
| | | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=290690
* | Fix resource leaks in error cases.Edward Tomasz Napierala2015-11-111-8/+9
| | | | | | | | | | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=290689
* | if_ntb: MFV c92ba3c5: invalid buf pointer in multi-MW setupsConrad Meyer2015-11-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Order of operations issue with the QP Num and MW count, which would result in the receive buffer pointer being invalid if there are more than 1 MW. Corrected with parenthesis to enforce the proper order of operations. Reported by: John I. Kading <John.Kading@gd-ms.com> Reported by: Conrad Meyer <cem@FreeBSD.org> Authored by: Jon Mason <jdmason@kudzu.us> Obtained from: Linux (Dual BSD/GPL driver) Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290688
* | NTB: Add more HW registers to device sysctl treeConrad Meyer2015-11-111-2/+40
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290687
* | ntb: volatile some members set by interrupt routinesConrad Meyer2015-11-112-6/+8
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290686
* | ntb_hw: Similarly, add a debug-leveled macro for ntb_hwConrad Meyer2015-11-111-0/+9
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290685
* | if_ntb: Add module-specific log levelConrad Meyer2015-11-111-29/+39
| | | | | | | | | | | | | | | | | | Rather than relying on the quite accurately named 'bootverbose'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290684
* | if_ntb: Transport link cleanup needs to be on a taskqueueConrad Meyer2015-11-112-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Because it can sleep drainking link work callout(s). Linux (dual BSD/GPL driver) does something very similar. At the same time, switch the NTB CTX lock to a non-spin mutex, because the taskqueue_swi lock can't be taken after a spin mutex. Suggested by: Witness Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290683
* | NTB: Diff reduce with LinuxConrad Meyer2015-11-113-26/+48
| | | | | | | | | | | | | | | | | | No functional change. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290682
* | ntb_hw: Correctly detect DSD/USDConrad Meyer2015-11-111-2/+2
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290681
* | ntb_hw: In INTx fallback, correct db shift from 15 to 16Conrad Meyer2015-11-112-1/+2
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290680
* | ntb: Use caddr_t to simplify pointer arithmeticConrad Meyer2015-11-113-16/+15
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290679
* | NTB: Skip db_valid validation writing DB link bitConrad Meyer2015-11-111-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In ntb_poll_link, we are intentionally writing the link bit, which is absent from db_valid_mask. Don't panic on a kassert when we do so. The Linux version of this (dual BSD/GPL) driver has the db_valid_mask assertions in callers of db_iowrite() rather than db_iowrite() itself; it skips the assertions in the equivalent of ntb_poll_link(). Rather than duplicating the assertions in every caller, add a db_iowrite_raw() that doesn't check and use it from ntb_poll_link(). Suggested by: kassert_panic Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290678
* | Use explicit filename when creating locale symlinks to avoid creating aBryan Drewery2015-11-117-7/+14
| | | | | | | | | | | | | | | | | | | | directory symlink when the target directory does not exist. This will cause an error instead of a broken setup. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290677
* | Remove redundant declaration for sysctl kern.Bryan Drewery2015-11-111-1/+0
| | | | | | | | | | | | | | | | | | | | This is trying to fix the GCC build. MFC after: 1 month X-MFC-With: r290663 Notes: svn path=/head/; revision=290676
* | Use a proper prototype.Bryan Drewery2015-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | This was a failure in the GCC build. MFC after: 1 month X-MFC-With: r290663 Notes: svn path=/head/; revision=290675
* | Remove dead code.Dag-Erling Smørgrav2015-11-111-672/+0
| | | | | | | | Notes: svn path=/head/; revision=290674
* | One more $Mdocdate$Dag-Erling Smørgrav2015-11-111-1/+1
| | | | | | | | Notes: svn path=/head/; revision=290673
* | Remove /* $FreeBSD$ */ from files that already have __RCSID("$FreeBSD$").Dag-Erling Smørgrav2015-11-1125-25/+0
| | | | | | | | Notes: svn path=/head/; revision=290672
* | Now that we have mandoc, we can leave $Mdocdate$ tags as-is. Unfortunately,Dag-Erling Smørgrav2015-11-1113-22/+13
| | | | | | | | | | | | | | | | there is (currently) no way to make Subversion generate correct $Mdocdate$ tags, but perhas we can teach mandoc to read Subversion's %d format. Notes: svn path=/head/; revision=290671
* | Modify target port groups logic in CTL.Alexander Motin2015-11-114-33/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Introduce "ha_shared" port option, which being set to "on" moves the port into separate port group, shared between HA nodes. This allows to better handle cases when iSCSI portals are bound to CARP address that can dynamically move between nodes. Some initiators (at least VMware) don't detect that after iSCSI reconnect they've attached to different SCSI port from different port group, that totally breakes ALUA status parsing. In theory, I believe, it should be enough to have different iSCSI portal group tags on different nodes to make initiators detect this condition, but it seems like VMware ignores those values, and even full LUN retaste forced by UA does not help. - Make CTL report up to three port groups: 1 -- non-HA mode or ports with "ha_shared" option set, 2 -- HA node 1, 3 -- HA node 2. - Report Transitioning state for all port groups when HA interlink is connected, but neither of nodes is primary for the LUN. MFC after: 2 weeks Notes: svn path=/head/; revision=290670
* | Refactor bcm2835_cpufreq to use bcm2835_mbox_property APIOleksandr Tymoshenko2015-11-111-360/+134
| | | | | | | | Notes: svn path=/head/; revision=290667
* | - Set have_message in interrupt to handle "response before READ" caseOleksandr Tymoshenko2015-11-111-4/+17
| | | | | | | | | | | | | | - Serialize access to property channel when using bcm2835_mbox_property Notes: svn path=/head/; revision=290666
* | Build all of sys/modules with SUBDIR_PARALLEL.Bryan Drewery2015-11-105-11/+1
| | | | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division MFC after: 3 weeks Notes: svn path=/head/; revision=290665
* | Add new async_drain to the callout system. This is so-far not used butRandall Stewart2015-11-103-15/+67
| | | | | | | | | | | | | | | | | | | | should be used by TCP for sure in its cleanup of the IN-PCB (will be coming shortly). Sponsored by: Netflix Inc. Differential Revision: https://reviews.freebsd.org/D4076 Notes: svn path=/head/; revision=290664
* | Add a kernel test framework. The callout_test is a demonstration and will onlyRandall Stewart2015-11-107-0/+742
| | | | | | | | | | | | | | | | | | | | | | | | | | work with the upcoming async-drain functionality. Tests can be added to the tests directory and then the framework can be used to launch those tests. MFC after: 1 month Sponsored by: Netflix Inc. Differential Revision: https://reviews.freebsd.org/D1755 Notes: svn path=/head/; revision=290663
* | Fix a bug in the CPU % limiting codeJosh Paetzel2015-11-101-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you attempt to set a pcpu limit that is higher than 110% using rctl (for instance, you want a jail to be able to use 2 cores on your system so you set pcpu to 200%) the thing you are trying to limit becomes unthrottled. PR: 189870 Submitted by: dustinwenz@ebureau.com Reviewed by: trasz MFC after: 1 week Notes: svn path=/head/; revision=290662
* | ARM: Refactor interrupt_enable/disable/restore.Michal Meloun2015-11-101-25/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow manipulation with PSR_A bit on ARMv6+. Remove declaration of unused functions. This effectively enables asynchronous aborts on early bootstrap stage, which previously was not enabled due to an error in enable_interrupts(). PR: 201434 Reported by: Gregory Soutade <soutade at gmail.com> Approved by: kib (mentor) Notes: svn path=/head/; revision=290661
* | Move the MK_BLUETOOTH block down below the architecture specific sections by theEnji Cooper2015-11-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | other generic options MFC after: 3 days X-MFC with: r290659 PR: 193260 Sponsored by: EMC / Isilon Storage Divisions Notes: svn path=/head/; revision=290660
* | - Move ng_bluetooth.4 under MK_BLUETOOTH != noEnji Cooper2015-11-103-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | - Move all section 5 bluetooth manpages under MK_BLUETOOTH != no MFC after: 3 days PR: 193260 Reported by: Philippe Michel <philippe.michel7@sfr.fr> Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290659
* | Fix cp15 PAR definition and function. While here, add cp15 ATS1CPWSvatopluk Kraus2015-11-102-3/+4
| | | | | | | | | | | | | | | | | | | | | | function which checks an address for privileged (PL1) write access. The function is inlined so it does not bring any cost, but makes function set for checking privileged access complete. Approved by: kib (mentor) Notes: svn path=/head/; revision=290656