Sebastian Huber
2fcf5aadd5
rtems-bsd-mutex: Update due to API changes
...
Update #3117 .
2017-10-24 12:19:28 +02:00
Sebastian Huber
445d59e39c
Remove ability to synchronize with Linux
2017-10-24 08:15:06 +02:00
Sebastian Huber
1dd58e4fb8
Remove Linux submodule
2017-10-24 08:14:26 +02:00
Sebastian Huber
fb84af014c
Fix install arch-specific header files
2017-10-24 07:42:36 +02:00
Sebastian Huber
a677fe9932
dpaa: Use only one FMan MAC SGT zone
2017-10-23 09:24:08 +02:00
Sebastian Huber
b1fd51c25e
dpaa: Reduce receive buffer seed
...
Seed the receive buffers of each affine software portal only with 8
mclusters (16KiB) and not 128 (256KiB). We have processor count affine
software portals, see dpaa_bp_seed().
2017-10-23 09:24:08 +02:00
Sebastian Huber
33356a839f
dpaa: Improve QMan portal initialization
...
Be less dependent on the device tree content.
2017-10-23 09:24:08 +02:00
Sebastian Huber
24866e6f23
dpaa: Reduce PFDR space from 32MiB to 16MiB
2017-10-23 09:24:07 +02:00
Sebastian Huber
de5791b345
dpaa: Add "libbsd,dedicated-portal" to QMan portals
...
By default, the network interfaces use a pool channel, see
dpaa_get_channel() in dpaa_eth_priv_probe(). To enable a dedicated QMan
software portal, use libbsd,dedicated-portal = "enabled";. This option
is useful for special purpose 10Gbit/s Ethernet processing.
/ {
soc: soc@ffe000000 {
fman0: fman@400000 {
enet7: ethernet@f2000 {
libbsd,dedicated-portal = "enabled";
};
};
};
};
2017-10-23 09:24:07 +02:00
Sebastian Huber
e818128789
dpaa: Add "libbsd,dequeue" to QMan portals
...
The dequeue support for processor affine QMan portals may be explicitly
disabled. The dequeue support is responsible for receiving frames and
completion of frame transmission, e.g. buffer recycling. Without at
least one enabled dequeue support, there will be no networking.
/ {
qman-portals@ff6000000 {
qman-portal@0 {
libbsd,dequeue = "disabled";
};
};
};
2017-10-23 09:24:07 +02:00
Sebastian Huber
3cfc31cb0c
dpaa: Set portal interrupt affinity
2017-10-23 09:24:07 +02:00
Sebastian Huber
ef1655c144
Update to Linux 4.12
...
Linux baseline 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c (v4.12).
2017-10-23 09:24:07 +02:00
Sebastian Huber
e3dc39ee0c
dpaa: Add <soc/fsl/dpaa.h>
2017-10-23 09:24:07 +02:00
Sebastian Huber
9789434e21
linux: Move upper_32_bits() and lower_32_bits()
2017-10-23 09:24:07 +02:00
Sebastian Huber
65d6fa20fb
linux: Make Linux types available in user-space
2017-10-23 09:24:07 +02:00
Sebastian Huber
0de65a8782
linux: Include missing <sys/errno.h>
2017-10-23 09:24:07 +02:00
Sebastian Huber
9cc419f32b
Install Linux header files
2017-10-23 09:24:07 +02:00
Sebastian Huber
33d82be1e6
waf: Install arch-specific header files
2017-10-23 09:24:06 +02:00
Sebastian Huber
e846288593
Add rtems_bsd_set_if_input()
2017-10-23 09:24:06 +02:00
Sebastian Huber
07c8680872
dpaa: Get c45 ids
2017-10-23 09:24:06 +02:00
Sebastian Huber
03d142659f
dpaa: No error if MII attach failed
2017-10-23 09:24:06 +02:00
Sebastian Huber
9da83e7886
dpaa: Support c45 phys
2017-10-23 09:24:06 +02:00
Sebastian Huber
66e83e0e64
soc/qbman: Simplify bman_release()
...
Get the affine portal only once for the complete transaction.
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2017-10-23 09:24:06 +02:00
Sebastian Huber
1908686c31
soc/qman: Do not enable stashing without PAMU
...
Do not enable stashing in the QMan software portal configuration
(QCSPi_CFG[RE, SE]) in case the PAMU support is not configured.
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2017-10-23 09:24:06 +02:00
Sebastian Huber
e2d48f5335
dpaa: Implement GENMASK() similar to Linux
2017-10-23 09:24:06 +02:00
Sebastian Huber
7f1f4282dc
qman_api.c: Prevent false clearing of IRQ status
...
Adding (p->irq_sources & ~QM_PIRQ_CSCI) to the clear mask means for
example we clear the QM_PIRQ_EQCI unconditionally. This is a problem in
case this interrupt happens after the read of the interrupt status and
before the interrupt status clear.
2017-10-23 09:24:06 +02:00
Sebastian Huber
69a5677c0f
dpaa: Disable QMAN_VOLATILE_FLAG_WAIT_INT
2017-10-23 09:24:06 +02:00
Sebastian Huber
96da40c0c4
dpaa: Avoid QMan work queue
2017-10-23 09:24:05 +02:00
Sebastian Huber
ed254d58e1
dpaa: Use receive checksum offload
2017-10-23 09:24:05 +02:00
Sebastian Huber
3471177263
dpaa: Enable preemption in qm_mr_process_task()
2017-10-23 09:24:05 +02:00
Sebastian Huber
b3a6ad0d6a
dpaa: Disable unused CGR code
2017-10-23 09:24:05 +02:00
Sebastian Huber
cf40770bdc
Linux update to 4.12-rc1+
...
Linux baseline b23afd384801711ab6dbccd259cc14cb09a1dcaf.
2017-10-23 09:24:05 +02:00
Sebastian Huber
721b1c1763
qbman: Fix platform_get_irq() error checks
2017-10-23 09:24:05 +02:00
Sebastian Huber
cd089b9e05
Linux update to 4.11-rc5
...
Linux baseline a71c9a1c779f2499fb2afc0553e543f18aff6edf (4.11-rc5).
2017-10-23 09:23:59 +02:00
Sebastian Huber
28ee86a9b0
Import DPAA driver snapshot
...
Imported from Freescale Linux repository
git://git.freescale.com/ppc/upstream/linux.git
commit 2774c204cd8bfc56a200ff4dcdfc9cdf5b6fc161.
Linux compatibility layer is partly from FreeBSD.
2017-10-23 08:46:43 +02:00
Sebastian Huber
b2b2e1a6a5
powerpc: Fix warnings
2017-10-20 14:59:56 +02:00
Sebastian Huber
43fdf500ec
Import CRC32 support from FreeBSD
2017-10-20 14:59:55 +02:00
Sebastian Huber
64163f3023
Initialize BSD user extension earlier
2017-10-20 14:59:55 +02:00
Sebastian Huber
f7f3c4b0de
blist: Import from FreeBSD
2017-10-20 14:59:55 +02:00
Sebastian Huber
238e27575c
scripts: Support CPU-dependent RTEMS source files
2017-10-20 14:59:55 +02:00
Sebastian Huber
23d6e507d6
scripts: Support Linux import
2017-10-20 14:59:55 +02:00
Sebastian Huber
fa4ec51293
scripts: Generalize names
2017-10-20 14:59:55 +02:00
Sebastian Huber
d61f73191d
Add Linux submodule
2017-10-20 14:59:55 +02:00
Sebastian Huber
62c8ca0ead
Fix INVARIANTS support
2017-10-20 14:59:55 +02:00
Sebastian Huber
5be4f06fa8
Add CPUINFO command to default network init
2017-10-20 14:59:55 +02:00
Sebastian Huber
1e554b8193
media01: Scale with processor count
2017-10-20 14:59:55 +02:00
Sebastian Huber
91fb6e3753
rtems-kernel-page: Reclaim pages earlier
2017-10-20 14:59:54 +02:00
Sebastian Huber
7533adcf09
rtems-kernel-page: Add used pages counter
2017-10-20 14:59:54 +02:00
Sebastian Huber
5ede682973
ZONE(9): Use recursive lock for the UMA drain
2017-10-20 14:59:54 +02:00
Sebastian Huber
be708ff182
ZONE(9): Reduce BUCKET_MAX to 128
...
Reduces the worst-case per-processor caches.
2017-10-20 14:59:54 +02:00