misc/181975: CESA cryptodev support for dockstar fdt (was forgotten to add)
army of root
army.of.root at gmail.com
Mon Sep 9 23:20:00 UTC 2013
>Number: 181975
>Category: misc
>Synopsis: CESA cryptodev support for dockstar fdt (was forgotten to add)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 09 23:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: army of root
>Release: CURRENT r255429
>Organization:
>Environment:
>Description:
https://github.com/freebsd/freebsd/commit/424b3d8bf270e902ce6324d6ea0887610d442cbf
added CESA support to the kirkwood boards, but the dockstar was forgotten (?).
The summary of the commit linked above shows that the corresponding kernel config options were also altered, but the state of the DOCKSTAR kernel config is pretty desolate, so it wont matter much.
using:
device cesa
device crypto
device cryptodev
The kernel boots and cesa is recognized and works:
# openssl speed -evp aes-256-cbc -elapsed
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-256-cbc 119.99k 480.58k 1744.45k 6739.63k 22167.17k
vs.
# openssl speed aes-256-cbc -elapsed
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-256-cbc 8574.23k 9493.06k 9766.40k 9836.89k 9833.13k
>How-To-Repeat:
>Fix:
Index: sys/boot/fdt/dts/dockstar.dts
===================================================================
--- sys/boot/fdt/dts/dockstar.dts (revision 255429)
+++ sys/boot/fdt/dts/dockstar.dts (working copy)
@@ -236,6 +236,8 @@
reg = <0x30000 0x10000>;
interrupts = <22>;
interrupt-parent = <&PIC>;
+
+ sram-handle = <&SRAM>;
};
usb at 50000 {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list