| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
worries are long past). Also remove redundant MACHINE= declarations
and passing MACHINE/MACHINE_ARCH to module builds. That's now done in
common code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
allow mrsas(4) from LSI to attach to newer LSI cards that are support by
mrsas(4). If mrsas(4) is not loaded into the system at boot then mfi(4)
will always attach. If a modified mrsas(4) is loaded in the system. That
modification is return "-30" in it's probe since that is between
BUS_PROBE_DEFAULT and BUS_PROBE_LOW_PRIORITY.
This option is controller by a new probe flag "MFI_FLAGS_MRSAS" in mfi_ident
that denotes cards that should work with mrsas(4). New entries that should
have this option.
This is the first step to get mrsas(4) checked into FreeBSD and to avoid
collision with people that use mrsas(4) from LSI. Since mfi(4) takes
priority, then mrsas(4) users need to rebuild GENERIC. Using the
.disabled="1" method doesn't work since that blocks attaching and the
probe gave it to mfi(4).
Discussed with: LSI (Kashyap Desai)
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 2 days
|
| |
|
| |
|
|
|
|
| |
and not standard.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* The RFC says (in section 10.1) that only when extbuf is not NULL,
extlen shall be checked, so don't perform this check when NULL is
passed.
* socklen_t is unsigned, so checking extlen for less than zero is
not needed.
Submitted by: swildner@dragonflybsd.org
Reviewed by: Mark Martinec <Mark.Martinec+freebsd@ijs.si>
Reviewed by: hrs
Obtained by: DragonFlyBSD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Prior to this change the cached value of 'pm_eptgen' was tracked per-vcpu
and per-hostcpu. In the degenerate case where 'N' vcpus were sharing
a single hostcpu this could result in 'N - 1' unnecessary TLB invalidations.
Since an 'invept' invalidates mappings for all VPIDs the first 'invept'
is sufficient.
Fix this by moving the 'eptgen[MAXCPU]' array from 'vmxctx' to 'struct vmx'.
If it is known that an 'invept' is going to be done before entering the
guest then it is safe to skip the 'invvpid'. The stat VPU_INVVPID_SAVED
counts the number of 'invvpid' invalidations that were avoided because
they were subsumed by an 'invept'.
Discussed with: grehan
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
did this only with the inner loop for the token parsing, and not the
outer loop which was understandable enough when the extra layers of
looping went away...
|
|
|
|
|
| |
profiling-routine" to work, since profiling-routine is not really an
option or a device, but a special case elsewhere in the code.
|
| |
|
|
|
|
|
|
| |
bmake has been updated to version 20140101.
Approved by: hrs (mentor)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the output buffer wasn't being cleared between the inflate() calls,
producing zeroed output after the first inflate() call.
This fixes the read of mkuzip(8) images with geom_uncompress(4).
Reviewed by: ray
Approved by: adrian (mentor)
|
|
|
|
|
|
|
| |
overwritten a few lines bellow.
Reviewed by: ray
Approved by: adrian (mentor)
|
|
|
|
|
|
| |
its proper location. Otherwise you could have 'file.c standard pci'
without an error. This construct isn't in our tree, and has no well
defined meaning.
|
|
|
|
|
| |
known key words. This will make error messages slightly better in
weird corner cases, but should otherwise be a nop.
|
|
|
|
| |
in any files as far as I can tell, and is currently unused. Retire it.
|
|
|
|
|
|
|
| |
performance by epsilon.
(Translation: elminate bogus macros that hid 'returns' making it hard
to read and moved a block of code inline rather than at the end of the
fuction where it was effectively a 'gosub' kind of goto).
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
| |
parsing YAML tags.
Also apply a patch for hardenning the guards againt the issue
The only user in base in yaml is pkg(7) which uses the library a way that it is not affected
Submitted by: delphij
Obtained from: https://bugzilla.redhat.com/show_bug.cgi?id=1033990
MFC after: 3 days
Security: CVE-2013-6393
|
|
|
|
|
|
|
| |
This change permits non-root users to determine if dhclient is running
('service dhclient status wlan0').
Discussed with: mjg, cperciva
|
| |
|
| |
|
|
|
|
|
|
|
| |
and will not be submitted upstream.
Discussed with: nwhitehorn,rdivacky
MFC after: 1 month
|
|
|
|
|
|
| |
and iBooks. Original work by andreast.
MFC after: 1 month
|
|
|
|
|
| |
MFC after: 1 month
X-MFC-with: 261342
|
|
|
|
|
| |
such as the one found in the RPi, don't have it, and just hang when we try
to access it.
|
|
|
|
| |
stale entries from a previous transfer.
|
| |
|
|
|
|
| |
o Add register definition
|
|
|
|
|
|
|
|
|
| |
the old way was to store pcpu in a register, and get curthread from pcpu,
which is not very atomic, and led to issues if the thread was migrated
to another core between the time we got the pcpu address and the time we
got curthread.
Instead, we now store curthread where pcpu used to be store, and we
calculate the pcpu address based on the cpu id.
|
|
|
|
| |
and it overrides the ivars set by the simplebus.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
map a fraction of the pages that were fetched by vm_pager_get_pages() from
secondary storage. Now, we map them all in order to avoid future soft
faults. This effect is most evident when a memory-mapped file is accessed
sequentially. Previously, there were 6 soft faults for every hard fault.
Now, these soft faults are eliminated.
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
|
|
| |
Colibri VF50 is a SODIMM200 Vybrid Family core module
and development board produced by Toradex AG.
Sponsored by: Machdep, Inc.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to check the status property in their probe routines.
Simplebus used to only instantiate its children whose status="okay"
but that was improper behavior, fixed in r261352. Now that it doesn't
check anymore and probes all its children; the children all have to
do the check because really only the children know how to properly
interpret their status property strings.
Right now all existing drivers only understand "okay" versus something-
that's-not-okay, so they all use the new ofw_bus_status_okay() helper.
|
| |
|
|
|
|
| |
Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
|
|
|
|
| |
Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
|
|
|
|
|
| |
o Export iomuxc (pins) configuration to DTS
o Allow devices to assign clocks in DTS
|
|
|
|
|
| |
or going into a near-infinite loop, warn and make potentially-reasonable
assumptions.
|
|
|
|
| |
confusing.
|
|
|
|
|
|
|
|
|
| |
process "status" properties of OF nodes.
I've avoided adding new KOBJ methods here so that we don't have to modify
every ofw_bus in the tree. Since 100% of implementations of ofw_bus use
only ofw_bus_gen_*(), it might be worth garbage-collecting the other
methods as well.
|
|
|
|
|
|
| |
in r42016.
Approved by: bapt (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
takes on disk, as advertised in newsyslog.conf(5).
This fixes newsyslog(8) on ZFS with compression enabled to not have
large files compared to the expected rotation size.
# grep remotes/messages /etc/newsyslog.conf
/var/log/remote/messages root:info 640 5 500 * JC
# ls -alh /var/log/remote/messages
-rw-r----- 1 root info 3.2M Jan 31 20:02 /var/log/remote/messages
# newsyslog -vN|grep remote/messages
/var/log/remote/messages <5J>: size (Kb): 464 [500] --> skipping
# stat -f "st_size: %z st_blocks: %b" /var/log/remote/messages
st_size: 3372627 st_blocks: 928
# zfs get -H compressratio zroot/syslogs
zroot/syslogs compressratio 3.77x -
With fix:
# newsyslog -v | grep remote/messages
/var/log/remote/messages <5J>: size (Kb): 3338 [500] --> trimming log....
Approved by: bapt (mentor)
PR: docs/150877
Reported by: Joshua Isom <jrisom@gmail.com>
MFC after: 2 weeks
|