aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge ^/head r279023 through r279162.Dimitry Andric2015-02-22124-2608/+6375
|\ | | | | | | Notes: svn path=/projects/clang360-import/; revision=279163
| * Add llvm patch corresponding to r279161.Dimitry Andric2015-02-221-0/+55
| | | | | | | | Notes: svn path=/head/; revision=279162
| * Pull in r230058 from upstream llvm trunk (by Benjamin Kramer):Dimitry Andric2015-02-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LoopRotate: When reconstructing loop simplify form don't split edges from indirectbrs. Yet another chapter in the endless story. While this looks like we leave the loop in a non-canonical state this replicates the logic in LoopSimplify so it doesn't diverge from the canonical form in any way. http://llvm.org/PR21968 This fixes a "Cannot split critical edge from IndirectBrInst" assertion failure when building the devel/radare2 port. PR: 195480, 196987 MFC after: 3 days Notes: svn path=/head/; revision=279161
| * pmccontrol(8): Replace malloc() + memset() with calloc()Pedro F. Giffuni2015-02-221-3/+1
| | | | | | | | | | | | | | PMCC_OP_IGNORE happens to be zero, so just use calloc() here. Notes: svn path=/head/; revision=279156
| * nice(): Correct return value and [EPERM] error.Jilles Tjoelker2015-02-223-33/+32
| | | | | | | | | | | | | | | | | | PR: 189821 Obtained from: NetBSD Relnotes: yes Notes: svn path=/head/; revision=279154
| * Add support to the bcm2835 mailbox driver to work before interrupts areAndrew Turner2015-02-221-21/+50
| | | | | | | | | | | | | | | | enabled. This will be needed to enable the power on devices early on in the boot process. Notes: svn path=/head/; revision=279153
| * Step 2 of eliminating the "games" distribution: Remove punch cardColin Percival2015-02-228-372/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | utilities. I was originally planning on removing the phase-of-moon (pom), clock (grdc), and caesar cipher (caesar, rot13) utilities as well, but after I committed r278616 I received an astonishing volume of email informing me that those are still being widely used. Much to my relief, nobody reported continuing to use the punch card utilities in production. The final step will be to merge src/games into src/usr.bin. This change will not be MFCed. Notes: svn path=/head/; revision=279150
| * sfxge: TxQ block level should use EFX_TXQ_LIMIT as maximum TxQ sizeAndrew Rybchenko2015-02-221-7/+13
| | | | | | | | | | | | | | | | Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279147
| * sfxge: use sparse index to retrieve sensor valueAndrew Rybchenko2015-02-221-4/+6
| | | | | | | | | | | | | | | | | | Submitted by: Andrew Jackson <ajackson at solarflare.com> Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279146
| * sfxge: use macros to acquire and release BAR locks everywhereAndrew Rybchenko2015-02-221-10/+10
| | | | | | | | | | | | | | | | | | | | It was the result of invalid merge of the patch from out-of-tree driver. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279145
| * sfxge: packet can't require more than n_dma_seg descriptors plus oneAndrew Rybchenko2015-02-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | Use remaining number of DMA segment instead of maximum number in mapping when checking space for one more TSO segment packet. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279144
| * sfxge: use common definitions of MC shared memory offsets and PDU lengthAndrew Rybchenko2015-02-221-17/+12
| | | | | | | | | | | | | | | | | | Submitted by: Ben Hutchings Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279143
| * sfxge: synchronize EF10 registers headerAndrew Rybchenko2015-02-221-2/+134
| | | | | | | | | | | | | | | | Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279142
| * sfxge: style fixes and cleanupAndrew Rybchenko2015-02-229-16/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | Sync endif comment with conditional. BOOTROM and SIENA_BOOTROM are the same, but highlight that it is Siena. Restore commented out assertion. Sync comments with out-of-tree driver. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279141
| * Add the -c option for specifying the capacity of the disk image. WhenMarcel Moolenaar2015-02-223-15/+64
| | | | | | | | | | | | | | | | | | | | | | | | a capcity is given, no partitions are required. When no partitions are given, no scheme needs to be specified either. This makes it possible to create an entirely empty disk image. To add an empty partitioning table, specify the scheme. Bump the version to 20150222. Notes: svn path=/head/; revision=279139
| * Allow use of higher-resolution (e.g. 1920x1080) framebuffers on PS3.Nathan Whitehorn2015-02-221-5/+5
| | | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=279136
| * Don't require a scheme if no partitions are given. Change the codeMarcel Moolenaar2015-02-222-10/+13
| | | | | | | | | | | | | | | | to handle that case. Note that we still require partitions, so the change is effectively a no-op. Notes: svn path=/head/; revision=279128
| * msun: drop unnecessary checks.Pedro F. Giffuni2015-02-224-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Drop an unnecessary check in some calculations. The check would have Coverity falsely conclude that variables could be left undefined. Discussed with: kargl, bde Reviewed by: bde Notes: svn path=/head/; revision=279127
| * In scheme_write(), don't overwrite the end parameter with theMarcel Moolenaar2015-02-221-1/+0
| | | | | | | | | | | | | | | | return value of image_get_size(). As it so happens, the only caller of scheme_write() passes exactly that. Notes: svn path=/head/; revision=279126
| * Remove extraneous parenthesis in assignment.Marcel Moolenaar2015-02-221-1/+1
| | | | | | | | Notes: svn path=/head/; revision=279125
| * Document that netstat(1) supports libxo(3).Marcel Moolenaar2015-02-221-1/+15
| | | | | | | | Notes: svn path=/head/; revision=279124
| * Allow for parameters added with the JP_OPT flag to not exist.Jamie Gritton2015-02-221-4/+3
| | | | | | | | | | | | | | | | | | That's why the flag exists in the first place. MFC after: 1 week Notes: svn path=/head/; revision=279123
| * Convert netstat to use libxo.Marcel Moolenaar2015-02-2118-1428/+2541
| | | | | | | | | | | | | | | | | | | | Obtained from: Phil Shafer <phil@juniper.net> Ported to -current by: alfred@ (mostly), Kim Shrier Formatting: marcel@ Sponsored by: Juniper Networks, Inc. Notes: svn path=/head/; revision=279122
| * Disguising stderr from jls generally considered harmfulEnji Cooper2015-02-212-2/+4
| | | | | | | | | | | | | | | | | | | | | | Undisguising it dumps out the following logspew: jls: unknown parameter: allow PR: 191019 Notes: svn path=/head/; revision=279121
| * Make kernel ELF image parsing not crash for kernels running at locationsNathan Whitehorn2015-02-211-1/+7
| | | | | | | | | | | | | | other than their link address. Notes: svn path=/head/; revision=279119
| * Revert r276949 and redo the fix for PCIe/PCI bridges, which do notKonstantin Belousov2015-02-211-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | follow specification and do not provide PCIe capability. Verify if the port above such bridge is downstream PCIe (or root port) and treat the bridge as PCIe/PCI then. This allows to avoid maintaining the table of device ids for bridges without capability, while still calculate correct request originator for devices behind the bridge. Submitted by: Jason Harmening <jason.harmening@gmail.com> MFC after: 1 week Notes: svn path=/head/; revision=279117
| * back Xref get_cyclecount to have it get more exposure...John-Mark Gurney2015-02-211-1/+2
| | | | | | | | Notes: svn path=/head/; revision=279115
| * Correct a comment which was exactly backwards from reality.Ian Lepore2015-02-211-2/+2
| | | | | | | | Notes: svn path=/head/; revision=279114
| * Prevent NULL pointer de-reference.Pedro F. Giffuni2015-02-211-1/+1
| | | | | | | | | | | | | | | | As a follow up to r279090, if dp hasn't been defined, we shouldn't attempt to do an optimization here. Notes: svn path=/head/; revision=279104
| * Typo: effect -> affect.Gavin Atkinson2015-02-211-1/+1
| | | | | | | | Notes: svn path=/head/; revision=279103
| * sfxge: allow TX and RX queue limits to be changedAndrew Rybchenko2015-02-214-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before the common code had hard coded limits on the IDs RXQs and TXQs could be created with which were suited for the Windows driver with VMQ, and so would prevent queues with IDs greater than or equal to 259 (for TXQs) or 768 (for RXQs) from being created. This change allows the limits to be set in efsys.h, so that all 1024 queues can be created during new manftest tests. Also, the descriptor cache sizes were also hard coded to values suited to the smaller queue counts, and so it was necessary to make them configurable as well. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279098
| * sfxge: check allocations are non-NULL before freeing themAndrew Rybchenko2015-02-211-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | Caught when efx_filter_init() failed and called efx_filter_fini() in the teardown path. Submitted by: Andrew Lee <alee at solarflare.com> Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279097
| * sfxge: keep fw and driver view of autoneg parameters consistentAndrew Rybchenko2015-02-211-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | Previously the driver's view was the expected outcome of any reconfiguration even if that reconfiguration failed. Submitted by: Ben Horgan Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279096
| * sfxge: never set RX_DESCQ_EN during self-testAndrew Rybchenko2015-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | We must not enable RX queues with random parameters when they are mapped into a VF with an untrusted driver. It's probably not a good idea to do this anyway, so take this bit out of the table test masks. Submitted by: Ben Hutchings Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279095
| * sfxge: more accurate calculation of maximum number of TSO segmentsAndrew Rybchenko2015-02-212-4/+14
| | | | | | | | | | | | | | | | Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279094
| * Purge references to the mrouted rc script, which was removed in r275299.Mark Johnston2015-02-212-22/+1
| | | | | | | | | | | | | | PR: 195785 Notes: svn path=/head/; revision=279093
| * cxgbe(4): there is no need to force an "unimplemented" panic needlessly.Navdeep Parhar2015-02-201-3/+0
| | | | | | | | | | | | | | | | The calls to free_nm_txq and free_nm_rxq are made just a few lines prior to the panic. Notes: svn path=/head/; revision=279092
| * Add cxl(4) and if_cxl(4) as links to cxgbe(4).Navdeep Parhar2015-02-201-1/+3
| | | | | | | | | | | | | | MFC after: 1 week. Notes: svn path=/head/; revision=279091
| * regex(3): Fix uninitialized pointer values.Pedro F. Giffuni2015-02-202-3/+3
| | | | | | | | | | | | | | | | CID: 405582 (also clang static checker) CID: 1018724 Notes: svn path=/head/; revision=279090
| * Don't specify a resid parameter if we're just going to ignore it. Instead,Mark Johnston2015-02-201-7/+5
| | | | | | | | | | | | | | | | | | | | let vn_rdwr() check for short reads. MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=279089
| * tab vs spaces.Pedro F. Giffuni2015-02-201-2/+2
| | | | | | | | Notes: svn path=/head/; revision=279084
| * Fix the logic for skipping parameters (with -s) that have "jailsys"Jamie Gritton2015-02-201-4/+5
| | | | | | | | | | | | | | | | | | | | | | parents (such as host.hostname); these were being skipped all the time. That it went this long without anyone noticing is a sign that this feature isn't actually used by anyone, but it's there so it might as well work. MFC after: 1 week Notes: svn path=/head/; revision=279083
| * Allow parameters listed on the command line to override the -v option,Jamie Gritton2015-02-202-2/+5
| | | | | | | | | | | | | | | | | | | | instead of crashing. PR: 197701 MFC after: 1 week Notes: svn path=/head/; revision=279081
| * sfxge: reap Tx descriptors on unblockAndrew Rybchenko2015-02-201-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise when processing finally comes to efx_tx_qdesc_post() it could be insufficient space between reaped and added to post pending descriptors. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279080
| * Fix build on i386 without "device apic"Tijl Coosemans2015-02-201-0/+9
| | | | | | | | | | | | | | Reviewed by: kib Notes: svn path=/head/; revision=279079
| * sfxge: add assertions that required event handlers are implementedAndrew Rybchenko2015-02-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | efx_ev_mcdi() does not assert or check that all event handlers it calls are non-null. Add assertions at the top for all required event handlers, as some events (in the case of this bug, monitor events) are rare. Submitted by: Ben Hutchings Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279078
| * sfxge: style fixesAndrew Rybchenko2015-02-204-25/+15
| | | | | | | | | | | | | | | | | | | | | | | | Use nitem() to get number of array elements. Remove unused define. Use TAB to indent. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279077
| * sfxge: regenerate sensor mapAndrew Rybchenko2015-02-202-2/+30
| | | | | | | | | | | | | | | | | | | | Add Florence R7 and Modena sensors. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279076
| * Default XZ_THREADS=0, and add to RELEASE_RMAKEFLAGSGlen Barber2015-02-202-1/+5
| | | | | | | | | | | | | | | | | | | | so it is passed to the 'release' make(1) target if it needs to be adjusted to a non-zero integer. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=279074
| * Fix XZ_THREADS description in release(7), which defaults toGlen Barber2015-02-201-2/+3
| | | | | | | | | | | | | | | | | | '0', not kern.ncpu. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=279073