summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Rework the list of all pmaps: embed the list link into pmap.br2016-04-262-24/+12
|
* ed(1): switch two statements so we check the index before dereferencing.pfg2016-04-261-1/+1
| | | | | | This is related to r270256 but was missed in that occasion. MFC after: 3 days
* Disable ACPI on arm64 ad it has only had minimal testing and is causingandrew2016-04-261-1/+1
| | | | | | | | boot issues when booting with FDT. It is planned to re-enable this at a later date. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* o Add device tree files and kernel configuration filesbr2016-04-269-5/+301
| | | | | for RISC-V cpus synthesized on FPGA hardware. o Include new files to the build.
* Stop including machine/fdt.h from the fdt uart code, it's unneeded.andrew2016-04-261-3/+0
| | | | Sponsored by: ABT Systems Ltd
* Add the non-standard "IO interrupt" vector used by lowRISC.br2016-04-264-3/+29
| | | | | | | For now they provide UART irq only. Sponsored by: DARPA, AFRL Sponsored by: HEIF5
* Add the implementation of basic bus_space_read/write functions.br2016-04-262-12/+183
| | | | | Sponsored by: DARPA, AFRL Sponsored by: HEIF5
* Fix calculation of LCD CH1 SCLK1 output frequency when SCLK2 /2 is usedjmcneill2016-04-261-2/+3
| | | | | | | as source. PR: 208680 Reported by: David Binderman <dcb314@hotmail.com>
* Add the implementation of OF_decode_addr().br2016-04-261-0/+58
|
* Do not include fdt.h on RISC-V.br2016-04-261-1/+1
|
* Add support for RISC-V.br2016-04-261-3/+3
|
* Add support for 8-bit eMMC.jmcneill2016-04-261-2/+12
| | | | | | | | Set MMC_CAP_4_BIT_DATA and MMC_CAP_8_BIT_DATA based on the "bus-width" DT property and reduce maximum bus frequency from 52MHz to 50MHz to match the capabilities of the clock provider. Tested on a BananaPi BPI-M3 (A83T).
* Move arm's devmap to some generic place, so it can be usedbr2016-04-2646-341/+188
| | | | | | | | | by other architectures. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D6091 Sponsored by: DARPA, AFRL Sponsored by: HEIF5
* Stop using sbrk in csh. This is a legacy interface and its use within cshandrew2016-04-261-1/+1
| | | | | | | is invalid. It is used to find the size of allocated memory. As malloc may allocate memory with mmap it will fail to take this memory into account. Obtained from: brooks
* Convert A10 interrupt controller to INTRNGmanu2016-04-264-223/+433
| | | | | | Reviewed by: skra Approved by: cognet (mentor) Differential Revision: https://reviews.freebsd.org/D5573
* Remove unportable calls to basename().ed2016-04-261-10/+11
| | | | | | | | | | | The POSIX version of basename() doesn't use a 'const char *' argument; the function may overwrite its input buffer. Instead of copying the input string, let's just simplify this code by using our getprogname() function that already returns the name of the application in the right format. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D6094
* hyperv/hn: Change description to "Hyper-V Network Interface"sephe2016-04-261-1/+1
| | | | | | | This is consistent w/ other Hyper-V devices. MFC after: 1 week Sponsored by: Microsoft OSTC
* Relax TOC offsets checking somewhat, allowing offset pointing tosobomax2016-04-261-1/+6
| | | | | the next byte past EOF to denote zero-block(s) at the very end of the file.
* hyperv/stor: Set description properly in probe devmethodsephe2016-04-261-1/+2
| | | | | MFC after: 1 week Sponsored by: Microsoft OSTC
* hyperv/channel: Git rid of the sub-channel creation callbacksephe2016-04-263-11/+0
| | | | | | | It is no longer used. MFC after: 1 week Sponsored by: Microsoft OSTC
* hyperv/stor: Avoid sub-channel creation callback.sephe2016-04-261-15/+9
| | | | | | | | | | Since the sub-channel offers are synchronized, we can do our own channel setup without using the sub-channel creation callback. This paves the way to whack the sub-channel creation callback. MFC after: 1 week Sponsored by: Microsoft OSTC
* hyperv/hn: Avoid sub-channel creation callback.sephe2016-04-264-39/+27
| | | | | | | | | | Since the sub-channel offers are synchronized, we can do our own channel setup without using the sub-channel creation callback. This paves the way to whack the sub-channel creation callback. MFC after: 1 week Sponsored by: Microsoft OSTC
* hyperv/stor: Synchronize sub-channel offerssephe2016-04-261-0/+7
| | | | | MFC after: 1 week Sponsored by: Microsoft OSTC
* hyperv/stor: Remove the useless hs_open_multi_channelsephe2016-04-261-7/+0
| | | | | | | | This fixes the sub-channel offer race after Hyper-V device probe/attach is moved to vmbus SYSINIT/attach. MFC after: 1 week Sponsored by: Microsoft OSTC
* [iwm] implement suspend/resume through ieee80211_{suspend,resume}_alladrian2016-04-262-1/+20
| | | | | | | | | | This allows wifi to associate correctly after a suspend/resume cycle. Yes, I'm using this now day to day. Tested: * Intel 7260AC, STA mode
* [iwm] add extra transmit setup/completion logging so I can see what's going on.adrian2016-04-261-2/+17
| | | | | | | | | | I'm seeing 5GHz association work but data not work until the rate drops, so I need way more information about what's being programmed into the transmit descriptors. Tested: * 7260AC, STA mode
* ddb: Make use of our roundup() macro when available.pfg2016-04-261-1/+1
|
* ext2fs: make use of the howmany() macro when available.pfg2016-04-261-4/+4
| | | | | | | We have a howmany() macro in the <sys/param.h> header that is convenient to re-use as it makes things easier to read. MFC after: 2 weeks
* [ath] add LDPC capability support and LDPC RX support.adrian2016-04-262-0/+18
| | | | | | | | | | | | | | | This enables LDPC receive support for the AR9300 chips that support it. It'll announce LDPC support via net80211. Tested: * AR9380, STA mode * AR9331, (to verify the HAL didn't attach it to a chip which doesn't support LDPC.) TODO: * Add in net80211 machinery to make this configurable at runtime.
* [ath] obey the STBC flag setting in iv_flags_htadrian2016-04-261-4/+9
| | | | | | | | Add support for the FHT_STBC_TX flag in iv_flags_ht, so it'll now obey the per-vap ifconfig stbctx flag. This means that we can do STBC TX on one vap and not another VAP. (As well as STBC RX on said vap; that changes the HTCAP announcement.)
* [ifconfig] add STBC TX/RX configurationadrian2016-04-261-1/+39
| | | | | | | | | | | This adds the ability to view and configure the STBC parameter for both transmit and receive. Whilst here, fix a typo for AMSDU. TODO: * manpage update
* [net80211] add the STBC ioctl support.adrian2016-04-261-0/+32
| | | | This adds configurable STBC TX and RX support.
* [net80211] add STBC capability flags to iv_flags_ht.adrian2016-04-261-0/+12
| | | | | | | | | | | | | This is in preparation for exposing configuring STBC flags up to ifconfig so STBC TX/RX can be configured at runtime. * Set the FHT_STBC flags for TX/RX if the HT capabilitiex exist * Clear the RX STBC HT capability flag when creating a HTCAP IE, so we only announce it if it's configured in the FHT flags. Tested: * AR9331 (carambola2), AP/STA modes
* [net80211] add an ioctl for LDPC configuration.adrian2016-04-261-0/+1
|
* libcuse: make more use of the howmany() macro when available.pfg2016-04-261-1/+1
| | | | | We have a howmany() macro in the <sys/param.h> header that is convenient to re-use as it makes things easier to read.
* libstand: make more use of the howmany() macro when available.pfg2016-04-261-1/+1
| | | | | We have a howmany() macro in the <sys/param.h> header that is convenient to re-use as it makes things easier to read.
* libc: make more use of the howmany() macro when available.pfg2016-04-262-3/+2
| | | | | We have a howmany() macro in the <sys/param.h> header that is convenient to re-use as it makes things easier to read.
* Use MIN() instead of MAX() as the previous syntax was wrote in a weird andaraujo2016-04-261-1/+1
| | | | | | | confused way: "prec > 9 ? 9 : prec". Submitted by: pfg, ngie and luke <luke.tw@gmail.com> MFC after: 2 weeks.
* Fixes the comment to reflect the code.loos2016-04-251-2/+1
| | | | Sponsored by: Rubicon Communications (Netgate)
* Fix the logic in r298585: shm_prison_cansee returns an errno, so isjamie2016-04-251-1/+1
| | | | | | the opposite of a boolean. PR: 48471
* [iwm] restart the VAP if there's a firmware panic.adrian2016-04-251-6/+13
| | | | | | | | Always print out the firmware panic info before restarting; don't put it behind IWM_DEBUG. Submitted by: bapt Differential Revision: https://reviews.freebsd.org/D6081
* dev/random: use our roundup() macro instead of re-implementing it.pfg2016-04-253-7/+4
| | | | | | | | While here also use howmany() macro from sys/param.h No functional change. Reviewed by: markm (roundup replacement part) Approved by: so
* Remove a variable and three lines of code which I should have removed asgad2016-04-251-5/+1
| | | | | | | part of revision 98776 back on June 24/2002. Noticed by pfg@ trying coccinelle for checking code. MFC after: 3 weeks
* 1. Removed -Wno-shift-negative-value from Makefiledavidcs2016-04-252-3/+2
| | | | | | 2. Fixed warning its absence caused in bxe_elink.c MFC after:5 days
* Increase DTRACE_FUNCNAMELEN from 128 to 192.markj2016-04-251-1/+1
| | | | | | | | This allows for the long function components encountered in www/firefox. This constant is part of DTrace's userland ABI, so this change may not be MFC'ed. PR: 207735
* Allow DOF sections with excessively long probe function components.markj2016-04-251-1/+11
| | | | | | | | | | | | Without this change, DTrace will refuse to load a DOF section if the function component of any of its probes exceeds DTRACE_FUNCNAMELEN (128). Probes in C++ programs can have very long function components. Rather than rejecting all probes if a single probe exceeds the limit, simply skip the invalid probe and emit a warning. This ensures that valid probes are instantiated. PR: 207735 MFC after: 2 weeks
* Add a kern.dtrace.err_verbose sysctl to control dtrace_err_verbose.markj2016-04-251-5/+6
| | | | | | | When this flag is turned on, DOF and DIF validation errors are printed to the kernel message buffer. This is useful for debugging. Also remove the debug.dtrace.debug sysctl, which has no effect.
* Use the yield instruction in the arm64 cpu_spinwait. This instruction isandrew2016-04-251-1/+1
| | | | | | a hint to the hardware the software is not performing a task. Sponsored by: ABT Systems Ltd
* Encapsulate SYSV IPC objects in jails. Define per-module parametersjamie2016-04-254-117/+1041
| | | | | | | | | | | | | | | | | | | | sysvmsg, sysvsem, and sysvshm, with the following bahavior: inherit: allow full access to the IPC primitives. This is the same as the current setup with allow.sysvipc is on. Jails and the base system can see (and moduly) each other's objects, which is generally considered a bad thing (though may be useful in some circumstances). disable: all no access, same as the current setup with allow.sysvipc off. new: A jail may see use the IPC objects that it has created. It also gets its own IPC key namespace, so different jails may have their own objects using the same key value. The parent jail (or base system) can see the jail's IPC objects, but not its keys. PR: 48471 Submitted by: based on work by kikuchan98@gmail.com MFC after: 5 days
* Note the existence of module-specific jail paramters, starting with thejamie2016-04-251-1/+27
| | | | | | linux.* parameters when linux emulation is loaded. MFC after: 5 days
OpenPOWER on IntegriCloud