summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorhikaru <hikaru@NetBSD.org>2019-11-20 09:37:44 +0000
committerhikaru <hikaru@NetBSD.org>2019-11-20 09:37:44 +0000
commit54e21c12b3a06b923378c610330d0f10455d8961 (patch)
tree943d708690ce495ac96f776d5d6e7050c882374b /sys/dev/microcode
parent231acd6bc724d9a07d7138f4e72e28b5a4447c39 (diff)
Add opencrypto driver for Intel QuickAssist.
Diffstat (limited to 'sys/dev/microcode')
-rw-r--r--sys/dev/microcode/Makefile4
-rw-r--r--sys/dev/microcode/qat/Makefile23
-rwxr-xr-xsys/dev/microcode/qat/mmp_firmware_c2xxx.binbin0 -> 108160 bytes
-rwxr-xr-xsys/dev/microcode/qat/mof_firmware_c2xxx.binbin0 -> 154300 bytes
-rw-r--r--sys/dev/microcode/qat/qat-license11
-rwxr-xr-xsys/dev/microcode/qat/qat_c3xxx.binbin0 -> 531100 bytes
-rwxr-xr-xsys/dev/microcode/qat/qat_c3xxx_mmp.binbin0 -> 120964 bytes
-rwxr-xr-xsys/dev/microcode/qat/qat_c62x.binbin0 -> 796500 bytes
-rwxr-xr-xsys/dev/microcode/qat/qat_c62x_mmp.binbin0 -> 121604 bytes
-rwxr-xr-xsys/dev/microcode/qat/qat_d15xx.binbin0 -> 796500 bytes
-rwxr-xr-xsys/dev/microcode/qat/qat_d15xx_mmp.binbin0 -> 120964 bytes
11 files changed, 36 insertions, 2 deletions
diff --git a/sys/dev/microcode/Makefile b/sys/dev/microcode/Makefile
index 66b5b333576..c599121d096 100644
--- a/sys/dev/microcode/Makefile
+++ b/sys/dev/microcode/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2012/06/01 13:19:39 nonaka Exp $
+# $NetBSD: Makefile,v 1.10 2019/11/20 09:37:45 hikaru Exp $
-SUBDIR+= ral rum run zyd
+SUBDIR+= qat ral rum run zyd
SUBDIR+= radeon
.include <bsd.subdir.mk>
diff --git a/sys/dev/microcode/qat/Makefile b/sys/dev/microcode/qat/Makefile
new file mode 100644
index 00000000000..66c78b77b0d
--- /dev/null
+++ b/sys/dev/microcode/qat/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2019/11/20 09:37:45 hikaru Exp $
+
+NOMAN= # defined
+
+.include <bsd.own.mk>
+
+.if ${MKFIRMWARE} != "no"
+FILES= qat-license
+
+FILES+= mmp_firmware_c2xxx.bin mof_firmware_c2xxx.bin
+FILES+= qat_c3xxx.bin qat_c3xxx_mmp.bin
+FILES+= qat_c62x.bin qat_c62x_mmp.bin
+FILES+= qat_d15xx.bin qat_d15xx_mmp.bin
+.endif
+
+# XXX
+includes:
+
+clean:
+
+cleandir:
+
+.include <bsd.files.mk>
diff --git a/sys/dev/microcode/qat/mmp_firmware_c2xxx.bin b/sys/dev/microcode/qat/mmp_firmware_c2xxx.bin
new file mode 100755
index 00000000000..2e93b218de5
--- /dev/null
+++ b/sys/dev/microcode/qat/mmp_firmware_c2xxx.bin
Binary files differ
diff --git a/sys/dev/microcode/qat/mof_firmware_c2xxx.bin b/sys/dev/microcode/qat/mof_firmware_c2xxx.bin
new file mode 100755
index 00000000000..1e1b9327435
--- /dev/null
+++ b/sys/dev/microcode/qat/mof_firmware_c2xxx.bin
Binary files differ
diff --git a/sys/dev/microcode/qat/qat-license b/sys/dev/microcode/qat/qat-license
new file mode 100644
index 00000000000..266294fd427
--- /dev/null
+++ b/sys/dev/microcode/qat/qat-license
@@ -0,0 +1,11 @@
+Copyright (c) 2007-2016 Intel Corporation.
+All rights reserved.
+Redistribution. Redistribution and use in binary form, without modification, are permitted provided that the following conditions are met:
+
+ Redistributions must reproduce the above copyright notice and the following disclaimer in the documentation and/or other materials provided with the distribution.
+ Neither the name of Intel Corporation nor the names of its suppliers may be used to endorse or promote products derived from this software without specific prior written permission.
+ No reverse engineering, decompilation, or disassembly of this software is permitted.
+
+Limited patent license. Intel Corporation grants a world-wide, royalty-free, non-exclusive license under patents it now or hereafter owns or controls to make, have made, use, import, offer to sell and sell ("Utilize") this software, but solely to the extent that any such patent is necessary to Utilize the software alone. The patent license shall not apply to any combinations which include this software. No hardware per se is licensed hereunder.
+
+DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/sys/dev/microcode/qat/qat_c3xxx.bin b/sys/dev/microcode/qat/qat_c3xxx.bin
new file mode 100755
index 00000000000..ad8f81c5c33
--- /dev/null
+++ b/sys/dev/microcode/qat/qat_c3xxx.bin
Binary files differ
diff --git a/sys/dev/microcode/qat/qat_c3xxx_mmp.bin b/sys/dev/microcode/qat/qat_c3xxx_mmp.bin
new file mode 100755
index 00000000000..dfbf3ae5a19
--- /dev/null
+++ b/sys/dev/microcode/qat/qat_c3xxx_mmp.bin
Binary files differ
diff --git a/sys/dev/microcode/qat/qat_c62x.bin b/sys/dev/microcode/qat/qat_c62x.bin
new file mode 100755
index 00000000000..fe7fa07b0d0
--- /dev/null
+++ b/sys/dev/microcode/qat/qat_c62x.bin
Binary files differ
diff --git a/sys/dev/microcode/qat/qat_c62x_mmp.bin b/sys/dev/microcode/qat/qat_c62x_mmp.bin
new file mode 100755
index 00000000000..829861d4d49
--- /dev/null
+++ b/sys/dev/microcode/qat/qat_c62x_mmp.bin
Binary files differ
diff --git a/sys/dev/microcode/qat/qat_d15xx.bin b/sys/dev/microcode/qat/qat_d15xx.bin
new file mode 100755
index 00000000000..26786a704cc
--- /dev/null
+++ b/sys/dev/microcode/qat/qat_d15xx.bin
Binary files differ
diff --git a/sys/dev/microcode/qat/qat_d15xx_mmp.bin b/sys/dev/microcode/qat/qat_d15xx_mmp.bin
new file mode 100755
index 00000000000..dd84ed5aff9
--- /dev/null
+++ b/sys/dev/microcode/qat/qat_d15xx_mmp.bin
Binary files differ