| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Not enabled yet because of a conflict with octrtc(4).
|
| |
|
|
|
|
| |
an interrupt handler.
|
| |
|
|
|
|
|
|
|
| |
intr_barrier(9).
With this change, the barrier should finally work properly with
cnmac(4) interrupts that have been assigned to secondary cores.
|
| |
|
|
|
|
| |
when implementing interrupt-specific logic for intr_barrier(9).
|
| |
|
|
|
|
| |
header <machine/intr.h> can eventually stop including it on octeon.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The value of `ncpusfound' no longer reflects the number of cores that
will be utilized by the kernel; it can be larger if secondary cores
have not been enabled by the firmware. This can lead to incorrect
assignment of work queue interrupts, making certain cnmac(4) ports
unable to receive packets. This is a regression introduced in r1.108 of
octeon/machdep.c.
Correct the problem by using `ncpus' for the balancing. All secondary
cores have been attached and the value is final by the time work queue
interrupt handlers are set up.
Network issue reported by krw@
|
|
|
|
|
| |
This reduces the need of atomic operations. The lookup tree still
requires serialization, though.
|
| |
|
| |
|
| |
|
|
|
|
| |
node is not present in fdt.
|
|
|
|
|
|
|
|
|
| |
it assumes that it always followed an interrupt string, but we don't
print that on fdt. having the bus responsible for the whitespace
means the fdt glue can print a colon to separate the bus info from
checkrev output, while every other glue keeps the comma.
ok deraadt@
|
|
|
|
| |
ok and tested by visa@
|
|
|
|
| |
From Mikhael Skvortsov
|
|
|
|
|
| |
While here, make the pool use the default memory alignment. The default
setting is good enough for the driver and the hardware.
|
|
|
|
| |
Based on a diff from jj@. Thank you!
|
|
|
|
| |
OK deraadt@, visa@
|
|
|
|
|
|
|
|
|
| |
this gets rid of the source annotation which doesn't really add
anything other than adding complexitiy. randomess is generally
good enough that the few extra bits that the source type would
add are not worth it.
ok mikeb@ deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a hardware-accelerated implementation of several encryption
and authentication algorithms for ipsec(4):
AES-CBC
AES-CTR
AES-GCM
AES-GMAC
HMAC-MD5
HMAC-SHA1
HMAC-SHA2-256
HMAC-SHA2-384
HMAC-SHA2-512
Please note that the driver is currently disabled.
OK deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
or reordering accesses to the variable. Assume that the assembler
preserves the correct sequence of instructions, which allows the
removal of the explicit noreorder/reorder toggles from the C code.
With ci_ipl being volatile, drop mips_sync() calls that follow
the accesses of the variable. The sync is redundant as a compiler
barrier. In addition, the MIPS64 CPU designs should not need the
sync for pipeline or write buffer control. According to miod@,
the use of the instruction is a carryover from code targeting
early MIPS designs that lack tight integration with the cache
and write buffer.
Discussed with and testing help from miod@.
Tested on CN5020, CN6120, CN7130, CN7360, Loongson 2F and 3A1000,
R4400, R8000, R10000 and R16000.
|
|
|
|
| |
Suggested by kettenis@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
ok deraadt@ krw@
|
|
|
|
| |
This makes the API usable with edge triggered interrupt sources.
|
|
|
|
| |
delivery entry.
|
|
|
|
|
|
| |
of system model. The early boot code already prints them, but
that output is not buffered and tends to be left out from
dmesg submissions.
|
|
|
|
| |
unused code. POW interrupts are now handled in if_cnmac.c.
|
| |
|
|
|
|
|
|
|
|
| |
packets. Otherwise, a skosh of traffic may be handled using hardware
default settings. One of the consequences is that packets can end up
into a wrong POW group, causing a panic in cnmac_intr().
Panic reported by and testing help from Janne Johansson
|
|
|
|
| |
Not tested with the hardware.
|
|
|
|
| |
Prompted by Justin Hibbits
|
|
|
|
| |
in many other NIC drivers. This reduces submission overhead.
|
|
|
|
| |
a layer of abstraction that would complicate upcoming changes.
|
|
|
|
|
| |
This is now possible because each port has a dedicated work queue
interrupt.
|
|
|
|
| |
This also makes the code a bit less noisy to read.
|
|
|
|
| |
From Justin Hibbits, thanks!
|
|
|
|
|
|
| |
using a mutex. This lets octmmc_intr() run without the KERNEL_LOCK().
Tested on CN6120, CN7130 and CN7360.
|
|
|
|
| |
from the intended group.
|
| |
|
| |
|
| |
|