| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pull the latest headers for Xen which allow us to add support for ARM and
use new features in FreeBSD.
This is a verbatim copy of the xen/include/public so every headers which
don't exits anymore in the Xen repositories have been dropped.
Note the interface version hasn't been bumped, it will be done in a
follow-up. Although, it requires fix in the code to get it compiled:
- sys/xen/xen_intr.h: evtchn_port_t is already defined in the headers so
drop it.
- {amd64,i386}/include/intr_machdep.h: NR_EVENT_CHANNELS now depends on
xen/interface/event_channel.h, so include it.
- {amd64,i386}/{amd64,i386}/support.S: It's not neccessary to include
machine/intr_machdep.h. This is also fixing build compilation with the
new headers.
- dev/xen/blkfront/blkfront.c: The typedef for blkif_request_segmenthas
been dropped. So directly use struct blkif_request_segment
Finally, modify xen/interface/xen-compat.h to throw a preprocessing error if
__XEN_INTERFACE_VERSION__ is not set. This is allow us to catch any file
where xen/xen-os.h is not correctly included.
Submitted by: Julien Grall <julien.grall@citrix.com>
Reviewed by: royger
Differential Revision: https://reviews.freebsd.org/D3805
Sponsored by: Citrix Systems R&D
Notes:
svn path=/head/; revision=288917
|
|
|
|
| |
Notes:
svn path=/head/; revision=288916
|
|
|
|
|
|
|
|
|
| |
Differential Revision: D3746
MFC after: 1 week
Sponsored by: Limelight Networks
Notes:
svn path=/head/; revision=288914
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the kernel or kmem object can't be paged out. Since they can't be paged
out, they are never enqueued in a paging queue. Nonetheless, passing
PQ_INACTIVE to vm_page_unwire() in kmem_unback() creates the appearance
that these pages are being enqueued in the inactive queue. As of r288122,
we can avoid giving this false impression by passing PQ_NONE.
Submitted by: kmacy
Differential Revision: https://reviews.freebsd.org/D1674
Notes:
svn path=/head/; revision=288912
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit fixes that.
PR: 166372
Submitted by: mk@neon1.net
Reviewed by: Darren Reed <darrenr@reed.wattle.id.au>
MFC after: 1 week
Notes:
svn path=/head/; revision=288910
|
|
|
|
|
|
|
| |
Pointed out by: jhb
Notes:
svn path=/head/; revision=288909
|
|
|
|
|
|
|
|
|
|
|
| |
- The new PC value and signal passed to PT_CONTINUE, PT_DETACH, PT_SYSCALL,
and PT_TO_SC[EX].
- The system call code returned via PT_LWPINFO.
MFC after: 1 week
Notes:
svn path=/head/; revision=288902
|
|
|
|
|
|
|
|
|
|
| |
static at its declaration. Remove needless swapdev_strategy forward
declaration.
MFC After: 3 days
Notes:
svn path=/head/; revision=288901
|
|
|
|
|
|
|
| |
Sponsored by: University of Cambridge
Notes:
svn path=/head/; revision=288824
|
|
|
|
|
|
|
|
| |
Submitted by: jenkins
Approved by: so (/dev/random blanket)
Notes:
svn path=/head/; revision=288780
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'rdrand' instruction may occasionally not return random numbers, in
spite of looping attempts to do so. The reusult is a KASSERT/panic.
Reluctantly accept this state-of-affairs, but make a noise about it.
if this 'noise' spams the console, it may be time to discontinue
using that source.
This is written in a general way to account for /any/ source that
might not supply random numbers when required.
Submitted by: jkh (report and slightly different fix)
Approved by: so (/dev/random blanket)
Notes:
svn path=/head/; revision=288703
|
|
|
|
| |
Notes:
svn path=/head/; revision=288689
|
|
|
|
|
|
|
|
| |
connected to anything. Move a couple of devices out of the kernel
and into modules.
Notes:
svn path=/head/; revision=288672
|
|
|
|
|
|
|
|
|
|
| |
invalid address alignment code.
Obtained from: EuroBSDCon
Sponsored by: ABT Systems Ltd
Notes:
svn path=/head/; revision=288671
|
|
|
|
| |
Notes:
svn path=/head/; revision=288670
|
|
|
|
| |
Notes:
svn path=/head/; revision=288667
|
|
|
|
|
|
|
| |
While here remove wrong definition of RT2860_USB_PHY_MAN_RST.
Notes:
svn path=/head/; revision=288666
|
|
|
|
|
|
|
|
|
|
| |
register value.
Reviewed by: andrew
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=288665
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For case (7) (new entry) nothing has to be done except lle_event.
Invoke this event directly from "create new lle" code block.
For case (4) (existing entry, same mac) useless mac update was performed,
along with LLENTRY_RESOLVED lle_event. There was no sense in doing that,
since nothing really had changed. Simply avoid this condition instead.
Given that, condition was simplified to (3),(5) states which can be merged
with previous block.
Notes:
svn path=/head/; revision=288664
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ARMv6/7:
- Define _SAVE() macro to allow unwind data to be conditionally defined for
ARM assembly code in the kernel.
- Use _SAVE() to provide unwind information for bcopy_page(), and two (of
many) instances of copyin() and copyout().
Reviewed by: andrew, imp
MFC after: 3 days
Sponsored by: University of Cambridge
Notes:
svn path=/head/; revision=288662
|
|
|
|
|
|
|
|
|
| |
use nd6_llinfo_settimer_locked() in r216022.
Make nd6_llinfo_settimer_locked() static: last external consumer was
converted in r288124.
Notes:
svn path=/head/; revision=288658
|
|
|
|
| |
Notes:
svn path=/head/; revision=288657
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The remove began with revision r271733.
NOTE: This patch must never be merge to 10-Stable
Reviewed by: glebius
Approved by: bapt (mentor)
Relnotes: Yes
Sponsored by: EuroBSDCon Sweden.
Differential Revision: D3786
Notes:
svn path=/head/; revision=288654
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove obsolete drm_agp_*_memory() prototypes.
* Fix comment in drm_fops.c (outisde -> outside).
* Fix some formatting issues in drm_stub.c (spaces -> tabs).
* Add missing case statement (gen == 3) in intel_gpu_reset().
* Restore pci_enable_busmaster() call in the init path (fixes gpu hang on i945GM).
* Replace M_WAITOK with M_NOWAIT when the return value of malloc is checked (may be incorrect).
Submitted by: <s3erios@gmail.com>
Reviewed by: dumbbell
Approved by: dumbbell
Differential Revision: https://reviews.freebsd.org/D3413
Notes:
svn path=/head/; revision=288653
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Effectively it always returned NULL so SAS was always performed and
sometimes the result might have been different.
Fix state machine change accidentally introduced in r287985:
state (4) inside nd6_cache_lladdr() (existing entry got nd message
with the same lladdress) started to cause lle state transition to STALE
instead of no-action.
Notes:
svn path=/head/; revision=288652
|
|
|
|
|
|
|
|
| |
Ensure things are freed during interface stop, or start may end up never
being able to transmit a full queue.
Notes:
svn path=/head/; revision=288649
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* don't free buffers in the TX routine, only in transmit/raw_xmit
* free nodes + references
* .. and free those nodes/references /before/ net80211 detach
Tested:
* STA mode: zyd0: HMAC ZD1211B, FW 47.25, RF AL2230 S0, PA0 LED 0 BE0 NP1 Gain1 F0
Notes:
svn path=/head/; revision=288648
|
|
|
|
| |
Notes:
svn path=/head/; revision=288647
|
|
|
|
| |
Notes:
svn path=/head/; revision=288646
|
|
|
|
|
|
|
|
|
|
| |
comments.
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3701
Notes:
svn path=/head/; revision=288643
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tested:
* WUSB54GC, HOSTAP and STA modes.
* Me: rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3700
Notes:
svn path=/head/; revision=288642
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now run(4) fetches parameters from ic->ic_wme.wme_params array, which is never initialized
(and can be safely removed). This patch replaces &ic->ic_wme.wme_params with
&ic->ic_wme.wme_chanParams.cap_wmeParams (contains parameters for local station;
used by other drivers with WME support).
Tested:
* me: STA: run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address 38:83:45:11:78:ae
Notes:
svn path=/head/; revision=288641
|
|
|
|
|
|
|
|
|
|
| |
man page and POSIX: posix_fadvise(2) returns an error number on failure.
Reported by: jilles
MFC after: 1 week
Notes:
svn path=/head/; revision=288640
|
|
|
|
|
|
|
|
|
|
|
|
| |
Testing:
* WUSB54GC, STA mode
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3690
Notes:
svn path=/head/; revision=288639
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now device will use retry limit, which is set via 'ifconfig <interface>
maxretry <number>'.
Tested:
* Tested on WUSB54GC, STA mode.
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3689
Notes:
svn path=/head/; revision=288638
|
|
|
|
|
|
|
|
|
|
|
| |
* drop erroneous RT2573_TX_MORE_FRAG flag;
* provide RT2573_TX_HWSEQ where needed.
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3672
Notes:
svn path=/head/; revision=288637
|
|
|
|
|
|
|
|
|
|
| |
ieee80211_beacon_alloc() and ieee80211_beacon_update()
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3659
Notes:
svn path=/head/; revision=288636
|
|
|
|
|
|
|
|
|
|
|
|
| |
The MAC can be fetched from the key struct.
I added the ndis updates to make it compile.
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3657
Notes:
svn path=/head/; revision=288635
|
|
|
|
|
|
|
|
| |
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3655
Notes:
svn path=/head/; revision=288634
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This diff includes:
* Transmitter Addresses, Keys and TKIP MIC addition to the Security Key Table.
* Proper SEC Control Registers initialization and maintenance.
* Additional flags and values in TX descriptor, which are required for encryption support.
* Error checking in RX path.
Tested:
* Tested on WUSB54GC, STA (WEP, TKIP, CCMP), HOSTAP (CCMP) and IBSS (CCMP, WPA-None) modes.
* rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, STA mode (CCMP+TKIP)
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3640
Notes:
svn path=/head/; revision=288633
|
|
|
|
|
|
|
|
| |
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3632
Notes:
svn path=/head/; revision=288632
|
|
|
|
|
|
|
|
| |
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3631
Notes:
svn path=/head/; revision=288631
|
|
|
|
|
|
|
|
|
|
| |
sys_posix_fadvise() should simply return the errno (or 0) to syscallenter()
rather than setting a return value.
MFC after: 1 week
Notes:
svn path=/head/; revision=288628
|
|
|
|
| |
Notes:
svn path=/head/; revision=288627
|
|
|
|
|
|
|
|
|
|
|
| |
Note: I manually had to merge this; I merged in the "put beacon_offsets
into vap" commit before this.
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3628
Notes:
svn path=/head/; revision=288623
|
|
|
|
|
|
|
|
| |
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3627
Notes:
svn path=/head/; revision=288622
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tested:
* rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, STA mode
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3626
Notes:
svn path=/head/; revision=288621
|
|
|
|
|
|
|
|
|
|
|
| |
Don't override the NIC MAC address with an overridden MAC address for
a VAP.
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3625
Notes:
svn path=/head/; revision=288619
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tested:
* rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, STA mode
Note: haven't tested AP mode yet; will do once the rest of the
AP mode / power save commits are in.
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3624
Notes:
svn path=/head/; revision=288618
|
|
|
|
|
|
|
| |
rather than updating it for each page.
Notes:
svn path=/head/; revision=288617
|