Marvell CESA in kernel 4.4 [solved] March 05, 2016 09:08AM |
Registered: 8 years ago Posts: 17 |
Re: Linux Kernel 4.4 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs March 05, 2016 12:52PM |
Registered: 8 years ago Posts: 17 |
Re: Linux Kernel 4.4 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs March 05, 2016 04:53PM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: Linux Kernel 4.4 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs March 06, 2016 11:47AM |
Registered: 8 years ago Posts: 17 |
Re: Linux Kernel 4.4 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs March 06, 2016 02:48PM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: Marvell CESA in kernel 4.4 March 07, 2016 08:28AM |
Registered: 8 years ago Posts: 17 |
Re: Marvell CESA in kernel 4.4 March 07, 2016 04:16PM |
Registered: 8 years ago Posts: 17 |
Re: Marvell CESA in kernel 4.4 March 08, 2016 01:06PM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: Marvell CESA in kernel 4.4 March 08, 2016 02:56PM |
Registered: 8 years ago Posts: 17 |
Re: Marvell CESA in kernel 4.4 March 09, 2016 02:18PM |
Registered: 8 years ago Posts: 17 |
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-128-cbc 12331.86k 15878.74k 17204.83k 17495.72k 17649.79k aes-192-cbc 11076.69k 13816.96k 14815.46k 15021.74k 15140.13k aes-256-cbc 10000.54k 12224.81k 13008.74k 13161.81k 13257.89k des-ede3-cbc 2969.78k 3158.53k 3225.43k 3227.65k 3241.18k des-cbc 7381.10k 8720.21k 9149.99k 9231.70k 9296.14k
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-128-cbc 6287.57k 30569.07k 124076.80k 230286.82k 4336435.20k aes-192-cbc 6278.51k 15105.60k 92550.40k 330176.98k 2291507.20k aes-256-cbc 7884.93k 22981.60k 114282.67k 465783.47k 2792379.73k des-ede3-cbc 4090.99k 28279.14k 83346.77k 341666.13k 1294609.07k des-cbc 4395.20k 16005.84k 105173.94k 312586.24k infk
# egrep '^module|^name' /proc/crypto name : hmac(sha1) module : marvell_cesa name : hmac(md5) module : marvell_cesa name : sha1 module : marvell_cesa name : md5 module : marvell_cesa name : cbc(aes) module : marvell_cesa name : ecb(aes) module : marvell_cesa name : cbc(des3_ede) module : marvell_cesa name : ecb(des3_ede) module : marvell_cesa name : cbc(des) module : marvell_cesa name : ecb(des) module : marvell_cesa ....
Re: Marvell CESA in kernel 4.4 March 09, 2016 02:38PM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: Marvell CESA in kernel 4.4 March 09, 2016 03:36PM |
Registered: 8 years ago Posts: 17 |
diff .config* 5035c5035,5036 < # CONFIG_MAGIC_SYSRQ is not set --- > CONFIG_MAGIC_SYSRQ=y > CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1 5235c5236 < CONFIG_CRYPTO_AEAD=m --- > CONFIG_CRYPTO_AEAD=y 5243c5244 < CONFIG_CRYPTO_RNG_DEFAULT=m --- > CONFIG_CRYPTO_RNG_DEFAULT=y 5253,5254c5254,5255 < CONFIG_CRYPTO_GF128MUL=m < CONFIG_CRYPTO_NULL=m --- > CONFIG_CRYPTO_GF128MUL=y > CONFIG_CRYPTO_NULL=y 5268c5269 < CONFIG_CRYPTO_SEQIV=m --- > CONFIG_CRYPTO_SEQIV=y 5275,5277c5276,5278 < CONFIG_CRYPTO_CTR=m < CONFIG_CRYPTO_CTS=m < CONFIG_CRYPTO_ECB=m --- > CONFIG_CRYPTO_CTR=y > CONFIG_CRYPTO_CTS=y > CONFIG_CRYPTO_ECB=y 5280c5281 < CONFIG_CRYPTO_XTS=m --- > CONFIG_CRYPTO_XTS=y 5300c5301 < CONFIG_CRYPTO_MD5=m --- > CONFIG_CRYPTO_MD5=y 5306c5307 < CONFIG_CRYPTO_SHA1=m --- > CONFIG_CRYPTO_SHA1=y 5317c5318 < CONFIG_CRYPTO_ARC4=m --- > CONFIG_CRYPTO_ARC4=y 5324c5325 < CONFIG_CRYPTO_DES=m --- > CONFIG_CRYPTO_DES=y 5338c5339 < CONFIG_CRYPTO_DEFLATE=m --- > CONFIG_CRYPTO_DEFLATE=y 5340c5341 < CONFIG_CRYPTO_LZO=m --- > CONFIG_CRYPTO_LZO=y 5349c5350 < CONFIG_CRYPTO_DRBG_MENU=m --- > CONFIG_CRYPTO_DRBG_MENU=y 5353,5354c5354,5355 < CONFIG_CRYPTO_DRBG=m < CONFIG_CRYPTO_JITTERENTROPY=m --- > CONFIG_CRYPTO_DRBG=y > CONFIG_CRYPTO_JITTERENTROPY=y 5361c5362 < CONFIG_CRYPTO_DEV_MV_CESA=m --- > # CONFIG_CRYPTO_DEV_MV_CESA is not set 5371,5374c5372,5375 < CONFIG_CRYPTO_SHA1_ARM=m < CONFIG_CRYPTO_SHA256_ARM=m < CONFIG_CRYPTO_SHA512_ARM=m < CONFIG_CRYPTO_AES_ARM=m --- > CONFIG_CRYPTO_SHA1_ARM=y > CONFIG_CRYPTO_SHA256_ARM=y > CONFIG_CRYPTO_SHA512_ARM=y > CONFIG_CRYPTO_AES_ARM=y 5408c5409 < CONFIG_ZLIB_DEFLATE=m --- > CONFIG_ZLIB_DEFLATE=y
Re: Marvell CESA in kernel 4.4 March 09, 2016 04:33PM |
Registered: 8 years ago Posts: 17 |
# diff .config* 5361c5361 < CONFIG_CRYPTO_DEV_MV_CESA=m --- > # CONFIG_CRYPTO_DEV_MV_CESA is not setmv_cesa has to be disabled (in the kernel configuration!) in order to marvell_cesa to work. Blacklisting is not enough.
Re: Marvell CESA in kernel 4.4 March 09, 2016 04:39PM |
Admin Registered: 13 years ago Posts: 19,114 |
> # diff .config* > 5361c5361 > < CONFIG_CRYPTO_DEV_MV_CESA=m > --- > > # CONFIG_CRYPTO_DEV_MV_CESA is not set >> mv_cesa has to be disabled (in the kernel
Re: Marvell CESA in kernel 4.4 March 12, 2016 05:54PM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: Marvell CESA in kernel 4.4 March 13, 2016 10:35AM |
Registered: 10 years ago Posts: 1,037 |
Re: Marvell CESA in kernel 4.4 March 24, 2016 12:28PM |
Registered: 8 years ago Posts: 31 |
Re: Marvell CESA in kernel 4.4 March 24, 2016 06:25PM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: Marvell CESA in kernel 4.4 May 08, 2016 03:27AM |
Registered: 8 years ago Posts: 14 |
[ 2663.467035] cryptodev: driver 1.8 loaded. [ 2692.909009] Unable to handle kernel NULL pointer dereference at virtual addre ss 00000004 [ 2692.918148] pgd = de860000 [ 2692.921122] [00000004] *pgd=1e857831, *pte=00000000, *ppte=00000000 [ 2692.928371] Internal error: Oops - BUG: 17 [#1] PREEMPT ARM [ 2692.934481] Modules linked in: ghash_generic gf128mul gcm ctr sha256_generic hmac drbg ansi_cprng cryptodev(O) bnep bluetooth nfsd auth_rpcgss oid_registry n fs_acl nfs lockd grace sunrpc mousedev evdev usbkbd usbmouse snd_soc_alc5623 reg map_i2c usbhid snd_soc_kirkwood snd_soc_core snd_pcm snd soundcore i2c_mv64xxx i 2c_core ehci_orion ehci_hcd usbcore usb_common [ 2692.970098] CPU: 0 PID: 2498 Comm: cipher-gcm Tainted: G O 4.5.2 -tld-1 #20 [ 2692.978870] Hardware name: Marvell Kirkwood (Flattened Device Tree) [ 2692.985741] task: de86a000 ti: de858000 task.ti: de858000 [ 2692.991657] pc : [<c019d654>] lr : [<c019d650>] psr: 20000013 [ 2692.991657] sp : de859bd0 ip : de859bd0 fp : de859bec [ 2693.004230] r10: 00000008 r9 : de859c88 r8 : 00000000 [ 2693.009954] r7 : de8749d8 r6 : de858000 r5 : 00000008 r4 : de859c88 [ 2693.017109] r3 : dfe2af62 r2 : 00000250 r1 : 00000228 r0 : 00000000 [ 2693.024260] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 2693.032079] Control: 0005397f Table: 1e860000 DAC: 00000051 [ 2693.038375] Process cipher-gcm (pid: 2498, stack limit = 0xde858190) [ 2693.045338] Stack: (0xde859bd0 to 0xde85a000) ...