lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOCHtYgpkBXZmZEDz6gUCO2x+WGA_paKHFHS-Br=ypo+AFrBmw@mail.gmail.com>
Date: Wed, 9 Apr 2025 10:12:14 -0500
From: Robert Nelson <robertcnelson@...il.com>
To: Nishanth Menon <nm@...com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, 
	devicetree@...r.kernel.org, Rob Herring <robh@...nel.org>, 
	Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, 
	Vignesh Raghavendra <vigneshr@...com>, Andrew Davis <afd@...com>, Roger Quadros <rogerq@...nel.org>, 
	Siddharth Vadapalli <s-vadapalli@...com>, Judith Mendez <jm@...com>, Andrei Aldea <a-aldea@...com>, 
	Dhruva Gole <d-gole@...com>, Jason Kridner <jkridner@...gleboard.org>, 
	Deepak Khatri <lorforlinux@...gleboard.org>, Ayush Singh <ayush@...gleboard.org>
Subject: Re: [PATCH v2 2/2] arm64: dts: ti: Add k3-am62-pocketbeagle2

On Wed, Apr 9, 2025 at 8:09 AM Nishanth Menon <nm@...com> wrote:
>
> On 18:19-20250408, Robert Nelson wrote:
> > On Tue, Apr 8, 2025 at 6:18 PM Robert Nelson <robertcnelson@...il.com> wrote:
> > >
> > > BeagleBoard.org PocketBeagle 2 is an upgraded version of the popular
> > > PocketBeagle.  It is based on Texas Instruments AM6232 or AM6254 SoC.
> > > Its dual or quad A53 cores can provide higher performance than classic
> > > PocketBeagle. The new design comes with pre-soldered headers, a 3-pin
> > > JST-SH 1.00mm UART debug port, a USB-C port, Texas Instruments
> > > MSPM0L1105 Cortex-M0+ MCU for ADC, 512MB RAM, and a LiPo Battery charger.
> > >
> > > https://www.beagleboard.org/boards/pocketbeagle-2
> > > https://openbeagle.org/pocketbeagle/pocketbeagle-2
> >
> > dmesg:
> >
> > https://gist.github.com/RobertCNelson/c68c96a8a1dc6e4d39d8c48fc13ca1c1
> >
>
>
>
> Any idea why we are crashing?
> https://gist.github.com/RobertCNelson/c68c96a8a1dc6e4d39d8c48fc13ca1c1#file-gistfile1-txt-L311
>
> I don't see the same crash in beagleplay:
> https://gist.github.com/nmenon/5709a8714d3ab31cac5c00b515d04752

On 6.14.x i have a little more, info...

I've got all the CRYPTO stuff enabled, pretty sure that comes from
CONFIG_CRYPTO_MANAGER

CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
CONFIG_CRYPTO_USER=y
# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
# CONFIG_CRYPTO_MANAGER_EXTRA_TESTS is not set

https://openbeagle.org/RobertCNelson/arm64-multiplatform/-/blob/v6.15.x-arm64-k3/patches/defconfig?ref_type=heads#L9578

[    2.940076] alg: aead: authenc(hmac(sha256),cbc(aes))-sa2ul
encryption test failed (wrong result) on test vector 0, cfg="uneven
misaligned splits, may sleep"
[    2.940183] alg: self-tests for authenc(hmac(sha256),cbc(aes))
using authenc(hmac(sha256),cbc(aes))-sa2ul failed (rc=-22)
[    2.940191] ------------[ cut here ]------------
[    2.940194] alg: self-tests for authenc(hmac(sha256),cbc(aes))
using authenc(hmac(sha256),cbc(aes))-sa2ul failed (rc=-22)
[    2.940276] WARNING: CPU: 1 PID: 207 at crypto/testmgr.c:6026
alg_test+0x4f8/0x610
[    2.940303] Modules linked in:
[    2.940317] CPU: 1 UID: 0 PID: 207 Comm: cryptomgr_test Not tainted
6.14.0-arm64-k3-r10 #1bookworm
[    2.940328] Hardware name: BeagleBoard.org PocketBeagle2 (DT)
[    2.940334] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    2.940343] pc : alg_test+0x4f8/0x610
[    2.940351] lr : alg_test+0x4f8/0x610
[    2.940359] sp : ffff800083e13d10
[    2.940363] x29: ffff800083e13d10 x28: 000000000000000e x27: 000000000000000d
[    2.940375] x26: 0000000000000000 x25: ffff80008151ce08 x24: ffff800082625e40
[    2.940386] x23: 000000000000000e x22: 0000000000001183 x21: ffff000004e37880
[    2.940397] x20: ffff000004e37800 x19: 000000000000000d x18: 00000000fffffffe
[    2.940408] x17: 636e656874756120 x16: 676e697375202929 x15: ffff800083e13900
[    2.940419] x14: 0000000000000000 x13: ffff8000825c3ad2 x12: 65742d666c657320
[    2.940430] x11: 0000000000000001 x10: 0000000000000029 x9 : ffff80008014d9e4
[    2.940441] x8 : 0000000000000029 x7 : 0000000000000002 x6 : 0000000000000029
[    2.940452] x5 : ffff00001da6c508 x4 : 0000000000000000 x3 : 0000000000000027
[    2.940462] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000004ee4a00
[    2.940475] Call trace:
[    2.940480]  alg_test+0x4f8/0x610 (P)
[    2.940492]  cryptomgr_test+0x2c/0x50
[    2.940502]  kthread+0x138/0x220
[    2.940518]  ret_from_fork+0x10/0x20
[    2.940531] ---[ end trace 0000000000000000 ]---

Maybe enable iwd support will trigger it, as iwd needs built-in kernel
support: https://git.kernel.org/pub/scm/network/wireless/iwd.git/

#iwd
./scripts/config --enable CONFIG_CRYPTO_USER_API_SKCIPHER
./scripts/config --enable CONFIG_CRYPTO_USER_API_HASH
./scripts/config --enable CONFIG_CRYPTO_HMAC
./scripts/config --enable CONFIG_CRYPTO_CMAC
./scripts/config --enable CONFIG_CRYPTO_MD4
./scripts/config --enable CONFIG_CRYPTO_MD5
./scripts/config --enable CONFIG_CRYPTO_SHA256
./scripts/config --enable CONFIG_CRYPTO_SHA512
./scripts/config --enable CONFIG_CRYPTO_AES
./scripts/config --enable CONFIG_CRYPTO_ECB
./scripts/config --enable CONFIG_CRYPTO_DES
./scripts/config --enable CONFIG_CRYPTO_CBC
./scripts/config --enable CONFIG_KEY_DH_OPERATIONS

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ