summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* sfxge: add indefinite article and update timestamparybchik2015-02-221-2/+2
| | | | | Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* sfxge: list header in SRCSarybchik2015-02-221-0/+5
| | | | | Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* sfxge: DMA allocated memory is set to zeros because of BUS_DMA_ZERO flagarybchik2015-02-222-2/+0
| | | | | | | It is not required to set it to zeros once again. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* sfxge: do no allow EFSYS_MEM_ALLOC sleeparybchik2015-02-221-1/+5
| | | | | | | | | It solves locking problem when EFSYS_MEM_ALLOC is called in the context holding a mutex (not allowed to sleep). E.g. on interface bring up or multicast addresses addition. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* sfxge: assert event queue lock in event handlersarybchik2015-02-221-0/+19
| | | | | | | It is useful to highlight lock context. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* sfxge: pass correct address to free allocated memory in the case of load errorarybchik2015-02-221-2/+2
| | | | | | | | | It is one more place missed in the previous fix. Most likely is was just memory leak on the error handling path since typically efsys_mem_t is filled in by zeros on allocation. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* sfxge: using bus_space_*_stream_* API for better portabilityarybchik2015-02-221-35/+64
| | | | | | | | Host-bus byte order translation is not requred. Submitted by: Artem V. Andreev <Artem.Andreev at oktetlabs.ru> Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* sfxge: add missing Siena sensors to common codearybchik2015-02-221-0/+30
| | | | | Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* sfxge: add missing common code NVRAM types and map from MCDIarybchik2015-02-222-0/+12
| | | | | Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* sfxge: add new identities to Siena static configarybchik2015-02-221-1/+3
| | | | | | Submitted by: Andrew Jackson <ajackson at solarflare.com> Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* Add llvm patch corresponding to r279161.dim2015-02-221-0/+55
|
* Pull in r230058 from upstream llvm trunk (by Benjamin Kramer):dim2015-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
* pmccontrol(8): Replace malloc() + memset() with calloc()pfg2015-02-221-3/+1
| | | | PMCC_OP_IGNORE happens to be zero, so just use calloc() here.
* nice(): Correct return value and [EPERM] error.jilles2015-02-223-33/+32
| | | | | | PR: 189821 Obtained from: NetBSD Relnotes: yes
* Add support to the bcm2835 mailbox driver to work before interrupts areandrew2015-02-221-21/+50
| | | | | enabled. This will be needed to enable the power on devices early on in the boot process.
* Step 2 of eliminating the "games" distribution: Remove punch cardcperciva2015-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.
* sfxge: TxQ block level should use EFX_TXQ_LIMIT as maximum TxQ sizearybchik2015-02-221-7/+13
| | | | | Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* sfxge: use sparse index to retrieve sensor valuearybchik2015-02-221-4/+6
| | | | | | Submitted by: Andrew Jackson <ajackson at solarflare.com> Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* sfxge: use macros to acquire and release BAR locks everywherearybchik2015-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)
* sfxge: packet can't require more than n_dma_seg descriptors plus onearybchik2015-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)
* sfxge: use common definitions of MC shared memory offsets and PDU lengtharybchik2015-02-221-17/+12
| | | | | | Submitted by: Ben Hutchings Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* sfxge: synchronize EF10 registers headerarybchik2015-02-221-2/+134
| | | | | Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* sfxge: style fixes and cleanuparybchik2015-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)
* Add the -c option for specifying the capacity of the disk image. Whenmarcel2015-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.
* Allow use of higher-resolution (e.g. 1920x1080) framebuffers on PS3.nwhitehorn2015-02-221-5/+5
| | | | MFC after: 1 month
* Don't require a scheme if no partitions are given. Change the codemarcel2015-02-222-10/+13
| | | | | to handle that case. Note that we still require partitions, so the change is effectively a no-op.
* msun: drop unnecessary checks.pfg2015-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
* In scheme_write(), don't overwrite the end parameter with themarcel2015-02-221-1/+0
| | | | | return value of image_get_size(). As it so happens, the only caller of scheme_write() passes exactly that.
* Remove extraneous parenthesis in assignment.marcel2015-02-221-1/+1
|
* Document that netstat(1) supports libxo(3).marcel2015-02-221-1/+15
|
* Allow for parameters added with the JP_OPT flag to not exist.jamie2015-02-221-4/+3
| | | | | | That's why the flag exists in the first place. MFC after: 1 week
* Convert netstat to use libxo.marcel2015-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.
* Disguising stderr from jls generally considered harmfulngie2015-02-212-2/+4
| | | | | | | | Undisguising it dumps out the following logspew: jls: unknown parameter: allow PR: 191019
* Make kernel ELF image parsing not crash for kernels running at locationsnwhitehorn2015-02-211-1/+7
| | | | other than their link address.
* Revert r276949 and redo the fix for PCIe/PCI bridges, which do notkib2015-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
* back Xref get_cyclecount to have it get more exposure...jmg2015-02-211-1/+2
|
* Correct a comment which was exactly backwards from reality.ian2015-02-211-2/+2
|
* Prevent NULL pointer de-reference.pfg2015-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.
* Typo: effect -> affect.gavin2015-02-211-1/+1
|
* sfxge: allow TX and RX queue limits to be changedarybchik2015-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)
* sfxge: check allocations are non-NULL before freeing themarybchik2015-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)
* sfxge: keep fw and driver view of autoneg parameters consistentarybchik2015-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)
* sfxge: never set RX_DESCQ_EN during self-testarybchik2015-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)
* sfxge: more accurate calculation of maximum number of TSO segmentsarybchik2015-02-212-4/+14
| | | | | Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* Purge references to the mrouted rc script, which was removed in r275299.markj2015-02-212-22/+1
| | | | PR: 195785
* cxgbe(4): there is no need to force an "unimplemented" panic needlessly.np2015-02-201-3/+0
| | | | | The calls to free_nm_txq and free_nm_rxq are made just a few lines prior to the panic.
* Add cxl(4) and if_cxl(4) as links to cxgbe(4).np2015-02-201-1/+3
| | | | MFC after: 1 week.
* regex(3): Fix uninitialized pointer values.pfg2015-02-202-3/+3
| | | | | CID: 405582 (also clang static checker) CID: 1018724
* Don't specify a resid parameter if we're just going to ignore it. Instead,markj2015-02-201-7/+5
| | | | | | | let vn_rdwr() check for short reads. MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
* tab vs spaces.pfg2015-02-201-2/+2
|
OpenPOWER on IntegriCloud