| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NetBSD went this route a while ago. FreeBSD originally tried this to
cope with multifunction cards. However, it turns out that we're
better off not worrying about the function number, and instead worry
about the function type for the function. This has worked well in
NetBSD, and all FreeBSD's relevant drivers have been converted.
# I'll rework the macros that specify them shortly, as soon as I can
# come up with a good, compatible way to deal...
Notes:
svn path=/head/; revision=140693
|
|
|
|
| |
Notes:
svn path=/head/; revision=140692
|
|
|
|
|
|
|
|
|
| |
in the ioctl handler. Update the LSI copyrights for these.
Obtained from: LSI, Corp
Notes:
svn path=/head/; revision=140688
|
|
|
|
| |
Notes:
svn path=/head/; revision=140687
|
|
|
|
|
|
|
| |
The cloner structure isn't referenced by name outside this file.
Notes:
svn path=/head/; revision=140686
|
|
|
|
| |
Notes:
svn path=/head/; revision=140684
|
|
|
|
| |
Notes:
svn path=/head/; revision=140683
|
|
|
|
| |
Notes:
svn path=/head/; revision=140682
|
|
|
|
| |
Notes:
svn path=/head/; revision=140680
|
|
|
|
|
|
|
|
|
| |
{}'s from securelevel_gt() and securelevel_ge().
MFC after: 1 week
Notes:
svn path=/head/; revision=140678
|
|
|
|
|
|
|
|
|
|
| |
as it's an integer read operation and the resulting slight race is
acceptable.
MFC after: 1 week
Notes:
svn path=/head/; revision=140677
|
|
|
|
|
|
|
|
|
|
| |
don't acquire the prison mutex, as it's an integer read and races
here don't make a difference.
MFC after: 1 week
Notes:
svn path=/head/; revision=140676
|
|
|
|
|
|
|
|
|
| |
Reported by: Anupam Chanda
Reviewed by: sam@
MFC after: 2 weeks
Notes:
svn path=/head/; revision=140675
|
|
|
|
| |
Notes:
svn path=/head/; revision=140669
|
|
|
|
|
|
|
|
| |
MFC after: 3 days
Pointed out by: trhodes
Notes:
svn path=/head/; revision=140661
|
|
|
|
|
|
|
|
|
| |
PR: kern/75831
Submitted by: Branko Lankester <branko@euro.net>
MFC after: 1 week
Notes:
svn path=/head/; revision=140655
|
|
|
|
|
|
|
| |
MFC after: 2 days
Notes:
svn path=/head/; revision=140653
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=140652
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=140651
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=140650
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the correct number of handles for multihandle returns.
Very, very, rarely on some SMP systems we've seen an 'unstable' type
in the response queue. I dunno whether or not it's a bug in our
handling, or whether there's a cache incoherency issue, but
try to guard against it.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=140649
|
|
|
|
|
|
|
|
|
| |
Many thanks to Stormweb for making the h/w available for testing.
MFC after: 2 days
Notes:
svn path=/head/; revision=140648
|
|
|
|
|
|
|
|
|
|
|
|
| |
have seen in the isa pnp case where a resource buts up against
0xffffffff. This would only impact when the board was booted without
ACPI.
Submitted by: Ed Maste (freebsd-stable <20050103145720.GA90754@sandvine.com>)
MFC After: 5 days
Notes:
svn path=/head/; revision=140647
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
its ability to automatically scan and attach luns for modern storage
which has luns in the 0..1000 range, not 0..7.
The correct thing would be to do REPORT LUNS for devices whose LUN0
version shows a version >= SCSI3, but lacking that we should be able
to search higher than LUN 7 if we're >= SCSI3 with no ill effects.
This change keeps all of the QUIRK_HILUNS quirks, obeys the QUIRK_NOLUNS,
and introduces a QUIRK_NOHILUNS which will keep searches above LUN 7
happening for devices that report >= SCSI3 compliance. I doubt the latter
will be needed, but you never know.
This allowed me to randomly scan and attach > 500 disks at a time in
a situation where quirking for QUIRK_HILUNS wasn't practical (the
vendor id and product id changes of the virtualization changes
constantly).
Reviewed by: ken@freebsd.org, scottl@freebsd.org, gibbs@freebsd.org
MFC after: 2 weeks
Notes:
svn path=/head/; revision=140644
|
|
|
|
|
|
|
|
|
|
|
|
| |
a RealTek 8169SB.
PR: 74262
Submitted by: Yoshikazu GOTO-san
# Submitter notes that he's unsure of the revision string for 8169SB
Notes:
svn path=/head/; revision=140642
|
|
|
|
|
|
|
|
|
|
|
| |
witness_proc_has_locks(), as they are unused, which results in a compiler
error. This problem was introduced with the implementation of "show
alllocks".
Spotted by: Artem Kuchin <matrix at itlegion dot ru>
Notes:
svn path=/head/; revision=140637
|
|
|
|
|
|
|
|
|
| |
can occur after an ibss merge
Submitted by: David Young
Notes:
svn path=/head/; revision=140636
|
|
|
|
|
|
|
|
|
|
|
|
| |
objects (message queues, semaphores, shared memory), exercising and
validating MAC labels on these objects.
Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net>
Obtained from: TrustedBSD Project
Sponsored by: DARPA, SPAWAR, McAfee Research
Notes:
svn path=/head/; revision=140635
|
|
|
|
|
|
|
| |
unless our ssid is specified
Notes:
svn path=/head/; revision=140634
|
|
|
|
|
|
|
| |
net.wlan.X.inact -> net.wlan.X.inact_run
Notes:
svn path=/head/; revision=140633
|
|
|
|
|
|
|
|
|
|
|
| |
objects (message queues, semaphores, shared memory).
Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net>
Obtained from: TrustedBSD Project
Sponsored by: DARPA, SPAWAR, McAfee Research
Notes:
svn path=/head/; revision=140632
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
frame includes FCS (requires applications to be updated, but since
we weren't doing the out-of-line FCS stuff anyway app changes
were needed already)
o add a flag to indicate padding exists between the 802.11 header and
the payload (e.g. for Atheros cards)
o diff reducation against netbsd
MFC after: 1 week
Notes:
svn path=/head/; revision=140630
|
|
|
|
|
|
|
|
|
|
|
| |
(message queues, semaphores, shared memory).
Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net>
Obtained from: TrustedBSD Project
Sponsored by: DARPA, SPAWAR, McAfee Research
Notes:
svn path=/head/; revision=140629
|
|
|
|
|
|
|
|
|
|
|
| |
queues, semaphores, shared memory).
Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net>
Obtained from: TrustedBSD Project
Sponsored by: DARPA, SPAWAR, McAfee Research
Notes:
svn path=/head/; revision=140628
|
|
|
|
|
|
|
|
|
|
|
|
| |
in mddestroy() to properly free already allocated memory.
This fixes a panic when we want to create too big memory backed device
with preallocate memory (-o reserve).
- Remove redundant { }.
MFC after: 1 week
Notes:
svn path=/head/; revision=140625
|
|
|
|
|
|
|
|
|
|
|
| |
bad address range through /dev/kmem can panic the machine.
Submitted by: Mark W. Krentel
Reported by: Kris Kennaway
MFC after: 1 week
Notes:
svn path=/head/; revision=140622
|
|
|
|
|
|
|
|
|
|
|
| |
Framework entry points for System V IPC shared memory.
Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net>
Obtained from: TrustedBSD Project
Sponsored by: DARPA, SPAWAR, McAfee Research
Notes:
svn path=/head/; revision=140617
|
|
|
|
|
|
|
| |
a bug repeatedly reported.
Notes:
svn path=/head/; revision=140616
|
|
|
|
|
|
|
|
|
|
|
| |
Framework entry points for System V IPC semaphores.
Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net>
Obtained from: TrustedBSD Project
Sponsored by: DARPA, SPAWAR, McAfee Research
Notes:
svn path=/head/; revision=140615
|
|
|
|
|
|
|
|
|
|
|
| |
Framework entry points for System V IPC message queues.
Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net>
Obtained from: TrustedBSD Project
Sponsored by: DARPA, SPAWAR, McAfee Research
Notes:
svn path=/head/; revision=140614
|
|
|
|
|
|
|
|
|
|
| |
have more than 256 units, you die. Horribly. Convert them using
unit2minor.
MFC after: 1 week
Notes:
svn path=/head/; revision=140608
|
|
|
|
|
|
|
| |
Submitted by: ru
Notes:
svn path=/head/; revision=140606
|
|
|
|
|
|
|
|
|
|
| |
I meant trunc_page. It's only a coincidence this hasn't caused
problems yet.
Pointed out by: Antoine Brodin <antoine.brodin@laposte.net>
Notes:
svn path=/head/; revision=140605
|
|
|
|
|
|
|
|
|
|
| |
address, nor do we need the alignment requirements, so eliminate them.
This likely means that we can now collapse some of the entries as we
have no need of them anymore (they match other entries and were there
only to get the right attr memory offset of the enet addr).
Notes:
svn path=/head/; revision=140597
|
|
|
|
|
|
|
|
|
| |
really a state change.
Reword the info a bit.
Notes:
svn path=/head/; revision=140591
|
|
|
|
|
|
|
| |
the plex has no more consumers (e.g. orphaning).
Notes:
svn path=/head/; revision=140590
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=140588
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
designed to help detect tamper-after-free scenarios, a problem more
and more common and likely with multithreaded kernels where race
conditions are more prevalent.
Currently MemGuard can only take over malloc()/realloc()/free() for
particular (a) malloc type(s) and the code brought in with this
change manually instruments it to take over M_SUBPROC allocations
as an example. If you are planning to use it, for now you must:
1) Put "options DEBUG_MEMGUARD" in your kernel config.
2) Edit src/sys/kern/kern_malloc.c manually, look for
"XXX CHANGEME" and replace the M_SUBPROC comparison with
the appropriate malloc type (this might require additional
but small/simple code modification if, say, the malloc type
is declared out of scope).
3) Build and install your kernel. Tune vm.memguard_divisor
boot-time tunable which is used to scale how much of kmem_map
you want to allott for MemGuard's use. The default is 10,
so kmem_size/10.
ToDo:
1) Bring in a memguard(9) man page.
2) Better instrumentation (e.g., boot-time) of MemGuard taking
over malloc types.
3) Teach UMA about MemGuard to allow MemGuard to override zone
allocations too.
4) Improve MemGuard if necessary.
This work is partly based on some old patches from Ian Dowse.
Notes:
svn path=/head/; revision=140587
|
|
|
|
| |
Notes:
svn path=/head/; revision=140565
|
|
|
|
|
|
|
| |
config handler. Tidy up various local apic initialization.
Notes:
svn path=/head/; revision=140555
|