| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
BUS_SPACE_TAG_MEM respectively to avoid conflict with nexus.c.
Notes:
svn path=/head/; revision=214584
|
|
|
|
| |
Notes:
svn path=/head/; revision=214576
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=214575
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
concurrency bug. Since all SLB/SR entries were invalidated during an
exception, a decrementer exception could cause the user segment to be
invalidated during a copyin()/copyout() without a thread switch that
would cause it to be restored from the PCB, potentially causing the
operation to continue on invalid memory. This is now handled by explicit
restoration of segment 12 from the PCB on 32-bit systems and a check in
the Data Segment Exception handler on 64-bit.
While here, cause copyin()/copyout() to check whether the requested
user segment is already installed, saving some pipeline flushes, and
fix the synchronization primitives around the mtsr and slbmte
instructions to prevent accessing stale segments.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=214574
|
|
|
|
|
|
|
| |
instead of MIIF_MACPRIVn. This didn't make a functional difference though.
Notes:
svn path=/head/; revision=214566
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
feature_present(3) checks.
This will help to run-time detect and conditionally handle specific
optionas of either feature in user space (i.e. in libipsec).
Descriptions read by: rwatson
MFC after: 2 weeks
Notes:
svn path=/head/; revision=214565
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=214564
|
|
|
|
| |
Notes:
svn path=/head/; revision=214563
|
|
|
|
|
|
|
| |
MFC: do not
Notes:
svn path=/head/; revision=214556
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
not able to trigger the issue with sample boards, some users seems
to suffer from freeze/lockup when system is booted without UTP cable
plugged in. I'm not sure whether this is BIOS issue or controller
bug. This change fixes AR8132 lockup issue seen on EEE PC.
Reported by: kmoore
Tested by: kmoore
Notes:
svn path=/head/; revision=214542
|
|
|
|
|
|
|
|
|
|
| |
need locking as otherwise we may race against the other parts of the
MD code which expects a consistent state of these. While at it move
the resetting of the pmap before entering it in the TSB.
- Spell a 0 as TLB_CTX_KERNEL.
Notes:
svn path=/head/; revision=214528
|
|
|
|
|
|
|
|
|
|
|
| |
was incorrect as further down the road cons_probe() calls malloc() so the
former can't be called before init_heap() has succeed. Instead just exit
to the firmware in case init_heap() fails like OF_init() does when hitting
a problem as we're then likely running in a very broken environment where
hardly anything can be trusted to work.
Notes:
svn path=/head/; revision=214526
|
|
|
|
|
|
|
|
| |
Found with: Coverity Prevent(tm)
CID: 8632
Notes:
svn path=/head/; revision=214522
|
|
|
|
| |
Notes:
svn path=/head/; revision=214517
|
|
|
|
|
|
|
|
|
|
| |
Fix that.
Sponsored by: Sandvine Incorporated
Reported by: jkim
Notes:
svn path=/head/; revision=214516
|
|
|
|
|
|
|
|
|
|
|
| |
- Rename RES_BUS_SPACE_* into BUS_SPACE_* for consistency
- Trim out an unnecessary checking condition
Sponsored by: Sandvine Incorporated
Requested and reviewed by: jhb
Notes:
svn path=/head/; revision=214515
|
|
|
|
|
|
|
|
|
| |
with the regular NFS client. Also, fix a couple of mutex lock issues.
MFC after: 1 week
Notes:
svn path=/head/; revision=214513
|
|
|
|
|
|
|
|
|
|
|
| |
NFSv4 client, since the call in ncl_inactive() might be missed
because VOP_INACTIVE() is not guaranteed to be called before
VOP_RECLAIM().
MFC after: 1 week
Notes:
svn path=/head/; revision=214511
|
|
|
|
|
|
|
|
|
| |
also add sysconf() key _SC_CPUSET_SIZE to get sysctl value.
Submitted by: gcooper
Notes:
svn path=/head/; revision=214510
|
|
|
|
| |
Notes:
svn path=/head/; revision=214509
|
|
|
|
|
|
|
|
|
|
|
| |
r198301 itself. It also broke the logic of not sending more than one
ARP request per second, that consequently lead to a potential problem
of flooding network with broadcast packets.
MFC after: 1 week
Notes:
svn path=/head/; revision=214508
|
|
|
|
|
|
|
| |
Pointed out by: marius
Notes:
svn path=/head/; revision=214495
|
|
|
|
|
|
|
|
| |
network device can hang the machine. This causes the loss of 64 KB of
accessible memory on netbooted machines.
Notes:
svn path=/head/; revision=214494
|
|
|
|
|
|
|
|
|
|
|
| |
OF loader on systems where address cells and size cells are both 2 (the
Mambo simulator) and fix an error where cons_probe() was called before
init_heap() but used malloc() to set environment variables.
MFC after: 1 month
Notes:
svn path=/head/; revision=214493
|
|
|
|
|
|
|
|
| |
Sponsored by: Sandvine Incorporated
Tested by: gianni
Notes:
svn path=/head/; revision=214457
|
|
|
|
|
|
|
|
|
|
| |
ensures 'bootverbose' is in a valid state for all SYSINITs.
Reported by: avg
MFC after: 1 week
Notes:
svn path=/head/; revision=214449
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when routing interrupts instead of cpu_apic_ids[0] since cpu_apic_ids[]
is only populated for multiple-CPU machines. This also matches what the
code does when SMP is not enabled.
PR: bin/151616
Tested by: "Damian S. Kolodziejczyk" damkol | gmail
Submitted by: avg
MFC after: 1 week
Notes:
svn path=/head/; revision=214448
|
|
|
|
|
|
|
|
| |
Sponsored by: Sandvine Incorporated
Discussed with: jhb
Notes:
svn path=/head/; revision=214446
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In xbb_detach() only perform cleanup of our taskqueue and
device statistics structures if they have been initialized.
This avoids a panic when xbb_detach() is called on a partially
initialized device instance, due to an early failure in
attach.
Sponsored by: Spectra Logic Corporation
Notes:
svn path=/head/; revision=214444
|
|
|
|
|
|
|
|
|
|
| |
ip and tcp pointers were not reset after some
pullups. In practice this led to an NFS mount
failure when using UDP reported by Kevin Lo,
thanks Kevin. Fix from yongari, thank you!
Notes:
svn path=/head/; revision=214441
|
|
|
|
|
|
|
|
| |
Submitted by: Nick Hibma
Approved by: thompsa (mentor)
Notes:
svn path=/head/; revision=214429
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the dual port BCM5717 and BCM5718 devices which are intended for
mainstream workstation and entry-level server designs and
represents the twelfth generation of NetXtreme Ethernet controllers.
This family is the successor to the BCM5714/BCM5715 family and
supports IPv4/IPv6 checksum offloading, TSO, VLAN hardware tagging,
jumbo frames, MSI/MSIX, IOV, RSS and TSS.
This change set supports all hardware features except IOV and
RSS/TSS. Unlike its predecessors, only extended RX buffer
descriptors can be posted to the jumbo producer ring. Single RX
buffer descriptors for jumbo frame are not supported. RSS requires
a more substantial set of changes and will apply to a larger set
of NetXtreme devices so RSS/TSS multi-queue support will be
implemented in a future releases.
Special thanks to Broadcom who kindly sent a sample board to me
and to davidch who gave provided the initial support code.
Submitted by: davidch (initial version)
HW donated by: Broadcom
Notes:
svn path=/head/; revision=214428
|
|
|
|
| |
Notes:
svn path=/head/; revision=214427
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
physical page mapping should span two or more MTRRs of different types.
Add a pmap function, pmap_demote_DMAP(), by which the MTRR module can
ensure that the direct map region doesn't have such a mapping.
[2] Fix a couple of nearby style errors in amd64_mrset().
[3] Re-enable the use of 1GB page mappings for implementing the direct
map. (See also r197580 and r213897.)
Tested by: kib@ on a Westmere-family processor [3]
MFC after: 3 weeks
Notes:
svn path=/head/; revision=214425
|
|
|
|
|
|
|
|
|
| |
PR: 151321
Tested by: Simon Walton
MFC after: 2 weeks
Notes:
svn path=/head/; revision=214418
|
|
|
|
|
|
|
| |
- Use long word to figure out sizeof kernel cpuset, hope it works.
Notes:
svn path=/head/; revision=214412
|
|
|
|
|
|
|
| |
kernel is using.
Notes:
svn path=/head/; revision=214409
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
delegations are being returned for reasons other than a Recall.
Also, re-organize nfscl_recalldeleg() slightly, so that it leaves
clearing NMODIFIED to the ncl_flush() call and invalidates the
attribute cache after flushing. It is hoped that these changes
might fix the problem others have seen when using the NFSv4
client with delegations enabled, since I can't reliably reproduce
the problem. These changes only affect the client when doing NFSv4
mounts with delegations enabled.
MFC after: 10 days
Notes:
svn path=/head/; revision=214406
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'hw.acpi.remove_interface'. hw.acpi.install_interface lets you install new
interfaces. Conversely, hw.acpi.remove_interface lets you remove OS
interfaces from the pre-defined list in ACPICA. For example,
hw.acpi.install_interface="FreeBSD"
lets _OSI("FreeBSD") method to return 0xffffffff (or success) and
hw.acpi.remove_interface="Windows 2009"
lets _OSI("Windows 2009") method to return zero (or failure). Both are
comma-separated lists and leading white spaces are ignored. For example,
the following examples are valid:
hw.acpi.install_interface="Linux, FreeBSD"
hw.acpi.remove_interface="Windows 2006, Windows 2006.1"
Notes:
svn path=/head/; revision=214390
|
|
|
|
|
|
|
| |
Reported by: bde, dim
Notes:
svn path=/head/; revision=214386
|
|
|
|
|
|
|
|
| |
Requested by: bde, jhb
Sponsored by: Sandvine Incorporated
Notes:
svn path=/head/; revision=214380
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OpenSolaris onnv-revision: 10209:91f47f0e7728
6830541 zfs_get_data_trips on a verify
6696242 multiple zfs_fillpage() zfs: accessing past end of object panics
6785914 zfs fails to drop dn_struct_rwlock in recovery code path
Approved by: delphij (mentor)
Obtained from: OpenSolaris (Bug ID 6830541, 6696242, 6785914)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=214378
|
|
|
|
|
|
|
|
| |
Sponsored by: Sandvine Incorporated
Tested by: gianni
Notes:
svn path=/head/; revision=214373
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Chasin down bogus watchdogs has led to an improved
design to this handling, the hang decision takes
place in the tx cleanup, with only a simple report
check in local_timer. Our tests have shown no false
watchdogs with this code.
- VLAN fixes from jhb, the shadow vfta should be per
interface, but as global it was not. Thanks John.
- Bug fixes in the support for new PCH2 hardware.
- Thanks for all the help and feedback on the driver,
changes to lem with be coming shortly as well.
Notes:
svn path=/head/; revision=214363
|
|
|
|
|
|
|
|
|
|
|
| |
autotuned. It is only an upper bound (the memory is not always allocated)
and the system contains a vm_lowmem handler so nothing will crash and burn
if it's tuned too high.
Reviewed by: mckusick
Notes:
svn path=/head/; revision=214359
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
introduce function pointers once set up to the respective implementation
for reading the (S)TICK and writing the (S)STICK_COMPARE registers as a
compromise between duplicating code and selecting between different
implementations during execution over and over again, similar to what is
done elsewhere in the MD in order to support different CPU models that
won't ever change at runtime.
- In the remaining tick interrupt handler further push down disabling of
interrupts to the periodic case as it isn't necessary here in one-shot
mode at all.
Notes:
svn path=/head/; revision=214358
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was needed for recover implementation.
Implement the recover command for GPT. Now GPT will marked as
corrupt when any of three types of corruption will be detected:
1. Damaged primary GPT header or table
2. Damaged secondary GPT header or table
3. Secondary header is not located in the last LBA
Marked GPT becomes read-only. Any changes with corrupt table
are prohibited. Only "destroy" and "recover" commands are allowed.
Discussed with: geom@ (mostly silence)
Tested by: Ilya A. Arhipov
Approved by: mav (mentor)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=214352
|
|
|
|
| |
Notes:
svn path=/head/; revision=214351
|
|
|
|
|
|
|
|
|
|
| |
within the first 4 bytes of the EHCI memory space. For controllers that
use big-endian MMIO, reading them with 1- and 2-byte reads would then
return the wrong values. Instead, read the combined register with a 4-byte
read and mask out the interesting quantities.
Notes:
svn path=/head/; revision=214349
|
|
|
|
|
|
|
| |
Submitted by: andreast
Notes:
svn path=/head/; revision=214348
|