| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
ichan, but OS_MARK was not using it. It only uses it when
AH_DEBUG_ALQ is also defined.
Notes:
svn path=/head/; revision=250172
|
|
|
|
|
|
|
|
|
| |
PR: docs/175349
Submitted by: Lars Eggert <lars@netapp.com>
Discussed with: jfv
Notes:
svn path=/head/; revision=250168
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The QCA9565 is a 1x1 2.4GHz 11n chip with integrated on-chip bluetooth.
The AR9300 HAL already has support for this chip; it just wasn't
included in the probe/attach path.
Tested:
* This commit brought to you over a QCA9565 wifi connection from
FreeBSD.
* .. ie, basic STA, pings, no iperf or antenna diversity checking just yet.
Notes:
svn path=/head/; revision=250166
|
|
|
|
| |
Notes:
svn path=/head/; revision=250165
|
|
|
|
| |
Notes:
svn path=/head/; revision=250163
|
|
|
|
| |
Notes:
svn path=/head/; revision=250160
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The pipe2() function is similar to pipe() but allows setting FD_CLOEXEC and
O_NONBLOCK (on both sides) as part of the function.
If p points to two writable ints, pipe2(p, 0) is equivalent to pipe(p).
If the pointer is not valid, behaviour differs: pipe2() writes into the
array from the kernel like socketpair() does, while pipe() writes into the
array from an architecture-specific assembler wrapper.
Reviewed by: kan, kib
Notes:
svn path=/head/; revision=250159
|
|
|
|
|
|
|
|
|
|
|
|
| |
for the last mbuf of the list with an encrypted message. This patch replaces
the KASSERT() with code that handles this case.
Reported by: john.gemignani@isilon.com
Reviewed by: jhb
MFC after: 2 weeks
Notes:
svn path=/head/; revision=250157
|
|
|
|
| |
Notes:
svn path=/head/; revision=250155
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The accept4() function, compared to accept(), allows setting the new file
descriptor atomically close-on-exec and explicitly controlling the
non-blocking status on the new socket. (Note that the latter point means
that accept() is not equivalent to any form of accept4().)
The linuxulator's accept4 implementation leaves a race window where the new
file descriptor is not close-on-exec because it calls sys_accept(). This
implementation leaves no such race window (by using falloc() flags). The
linuxulator could be fixed and simplified by using the new code.
Like accept(), accept4() is async-signal-safe, a cancellation point and
permitted in capability mode.
Notes:
svn path=/head/; revision=250154
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fpu-owned context, and for pcb-saved one. More, the XSAVE could do
partial save, same as XSAVEOPT, so qualifier for the handler should be
use_xsave and not use_xsaveopt.
Since xsave_area_desc is now needed regardless of the XSAVEOPT use,
remove the write-only use_xsaveopt variable.
In collaboration with: jhb
MFC after: 1 week
Notes:
svn path=/head/; revision=250153
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
XFEATURE_ENABLED_SSE bits set is not needed. CPU correctly handles
any bitmask which is subset of the enabled bits in %XCR0.
More, CPU instructions XSAVE and XSAVEOPT could write the mask without
e.g. XFEATURE_ENABLED_SSE, after the VZEROALL. The check prevents the
restoration of the otherwise valid FPU save area.
In collaboration with: jhb
MFC after: 1 week
Notes:
svn path=/head/; revision=250152
|
|
|
|
|
|
|
|
|
| |
creating zones that will remain empty.
Reviewed by: pjd
Notes:
svn path=/head/; revision=250149
|
|
|
|
|
|
|
|
|
| |
intention to use 4-byte padding for elf notes.
MFC after: 3 weeks
Notes:
svn path=/head/; revision=250145
|
|
|
|
|
|
|
|
|
| |
Remove #define to get kludges that asm.h used to define
Move clever macros to access assembler instructions to trap.c
Remove __ASSEMBLER__ ifdefs in regdef.h: they aren't needed anymore.
Notes:
svn path=/head/; revision=250138
|
|
|
|
|
|
|
| |
Fixed comment.
Notes:
svn path=/head/; revision=250137
|
|
|
|
|
|
|
| |
Submitted by: jmallet@
Notes:
svn path=/head/; revision=250136
|
|
|
|
| |
Notes:
svn path=/head/; revision=250135
|
|
|
|
|
|
|
|
|
|
| |
expand the %sccs.include.redist.c% directive with the standard
3-clause license, and add $FreeBSD$ to keep the commit script happy.
# This may break some mips stuff, which will be fixed in the next commit.
Notes:
svn path=/head/; revision=250134
|
|
|
|
|
|
|
|
| |
Submitted by: swildner@DragonFlyBSD.org
Reviewed by: alfred, jmallett
Notes:
svn path=/head/; revision=250132
|
|
|
|
|
|
|
|
| |
Submitted by: swildner@DragonFlyBSD.org
Reviewed by: alfred
Notes:
svn path=/head/; revision=250131
|
|
|
|
| |
Notes:
svn path=/head/; revision=250130
|
|
|
|
| |
Notes:
svn path=/head/; revision=250129
|
|
|
|
|
|
|
| |
Reviewed by: delphij
Notes:
svn path=/head/; revision=250124
|
|
|
|
|
|
|
|
| |
Reviewed by: swildner@dragonflybsd.org
Reviewed by: delphij
Notes:
svn path=/head/; revision=250123
|
|
|
|
|
|
|
|
|
| |
precedence than ternary conditional.
MFC after: 1 week
Notes:
svn path=/head/; revision=250117
|
|
|
|
|
|
|
|
|
|
| |
On Intel devices, put the Factory PPR in kenv. On some FPGA boards it may
be the only software accessable unique ID.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=250115
|
|
|
|
|
|
|
|
|
|
| |
Add a simplebus attachment for cfi(4)'s FDT support and move
cfi_bus_fdt.c to sys/conf/files so non-ppc architectures are supported.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=250114
|
|
|
|
|
|
|
|
|
|
| |
Due to the requirement that tty prefixes be unique per driver, rename
the Altera JTAG UART devices to ttyj#.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=250113
|
|
|
|
|
|
|
| |
logic in the individual driver.
Notes:
svn path=/head/; revision=250109
|
|
|
|
|
|
|
|
|
| |
netmap mode, removing the logic from individual drivers.
(note: if_lem.c not updated yet due to some other pending modifications)
Notes:
svn path=/head/; revision=250108
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- netmap_rx_irq()/netmap_tx_irq() can now be called by FreeBSD drivers
hiding the logic for handling NIC interrupts in netmap mode.
This also simplifies the case of NICs attached to VALE switches.
Individual drivers will be updated with separate commits.
- use the same refcount() API for FreeBSD and linux
- plus some comments, typos and formatting fixes
Portions contributed by Michio Honda
Notes:
svn path=/head/; revision=250107
|
|
|
|
| |
Notes:
svn path=/head/; revision=250106
|
|
|
|
| |
Notes:
svn path=/head/; revision=250105
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
those of some non-architectural core events. This is not a problem in the
general case as long as there's an 1:1 mapping between the two, but there
are few exceptions. For example, 3CH_01H on Nehalem/Westmere represents
both unhalted-reference-cycles and CPU_CLK_UNHALTED.REF_P.
CPU_CLK_UNHALTED.REF_P on the aforementioned architectures does not measure
reference (i.e. bus) but TSC, so there's the need to disambiguate.
In order to avoid the namespace collision rename all the architectural
events in a way they cannot be ambigous and refactor the architectural
events handling function to reflect this change.
While here, per Jim Harris request, rename
iap_architectural_event_is_unsupported() to iap_event_is_architectural().
Discussed with: jimharris
Reviewed by: jimharris, gnn
Notes:
svn path=/head/; revision=250103
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A blocking accept (and some other operations) waits on &so->so_timeo. Once
it wakes up, it will detect the SBS_CANTRCVMORE bit.
The error from accept() is [ECONNABORTED] which is not the nicest one -- the
thread calling accept() needs to know out-of-band what is happening.
A spurious wakeup on so->so_timeo appears harmless (sleep retried) except
when lingering on close (SO_LINGER, and in that case there is no descriptor
to call shutdown() on) so this should be fairly safe.
A shutdown() already woke up a blocked accept() for TCP sockets, but not for
Unix domain sockets. This fix is generic for all domains.
This patch was sent to -hackers@ and -net@ on April 5.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=250102
|
|
|
|
|
|
|
| |
Do not change the initialization order in pmc_intel_initialize().
Notes:
svn path=/head/; revision=250101
|
|
|
|
|
|
|
|
|
|
|
| |
at least if FreeBSD is ran under VirtualBox. In order to avoid the leakage,
properly deallocate structures in case CPU claims that hw performance
monitoring counters are not supported.
Reported by: hiren
Notes:
svn path=/head/; revision=250097
|
|
|
|
|
|
|
|
|
|
| |
intrucion-retired, llc-misses and llc-reference events can now be
allocated.
Reviewed by: jimharris, gnn
Notes:
svn path=/head/; revision=250096
|
|
|
|
|
|
|
| |
MFC after: 1 week.
Notes:
svn path=/head/; revision=250093
|
|
|
|
|
|
|
|
|
|
|
| |
displayed properly in ifconfig, etc.
- Use the same number of tx and rx queues for a 40G port as for a 10G port.
MFC after: 1 week
Notes:
svn path=/head/; revision=250092
|
|
|
|
|
|
|
|
| |
Obtained from: Chelsio
MFC after: 1 week
Notes:
svn path=/head/; revision=250090
|
|
|
|
|
|
|
|
|
|
|
|
| |
-DBKTR_NEW_MSP34XX_DRIVER and -Wformat-security.
This also allows to eliminates a superfluous malloc/snprintf/free on
intermediate buffer.
PR: kern/175546
MFC after: 1 week
Notes:
svn path=/head/; revision=250088
|
|
|
|
|
|
|
| |
FreeBSD.
Notes:
svn path=/head/; revision=250082
|
|
|
|
|
|
|
|
|
|
|
| |
Prevent access to invalid memory region when listing an empty
directory in the XenStore.
Reported by: Bei Guan
MFC after: 1 week
Notes:
svn path=/head/; revision=250081
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The NTB allows you to connect two systems with this device using a PCI-e
link. The driver is made of two modules:
- ntb_hw which is a basic hardware abstraction layer for the device.
- if_ntb which implements the ntb network device and the communication
protocol.
The driver is limited at the moment to CPU memcpy instead of using DMA, and
only Back-to-Back mode is supported. Also the network device isn't full
featured yet. These changes will be coming soon. The DMA change will also
bring in the ioat driver from the project branch it is on now.
This is an initial port of the GPL/BSD Linux driver contributed by Jon Mason
from Intel. Any bugs are my contributions.
Sponsored by: Intel
Reviewed by: jimharris, joel (man page only)
Approved by: jimharris (mentor)
Notes:
svn path=/head/; revision=250079
|
|
|
|
|
|
|
|
|
| |
PR: kern/178016
Security: CVE-2013-3266
Security: FreeBSD-SA-13:05.nfsserver
Notes:
svn path=/head/; revision=250055
|
|
|
|
| |
Notes:
svn path=/head/; revision=250054
|
|
|
|
|
|
|
|
| |
PR: kern/163268
MFC after: 1 week
Notes:
svn path=/head/; revision=250053
|
|
|
|
|
|
|
| |
remove $Id$ lines, and add blank lines around some #if / #elif /#endif
Notes:
svn path=/head/; revision=250052
|