mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
serdarth has quit [Client Quit]
serdarth has joined #linux-rockchip
stikonas has quit [Ping timeout: 268 seconds]
shailangsa has quit [Read error: Connection reset by peer]
sjoerd has quit [Quit: Ping timeout (120 seconds)]
vagrantc has quit [Quit: leaving]
jakllsch has quit [*.net *.split]
Rayyan has quit [*.net *.split]
wens has quit [*.net *.split]
ldevulder has quit [*.net *.split]
shoragan has quit [*.net *.split]
tchebb_ has quit [*.net *.split]
Emantor has quit [*.net *.split]
Perflosopher has quit [*.net *.split]
Whistler has quit [*.net *.split]
CounterPillow has quit [*.net *.split]
punit has quit [*.net *.split]
tlwoerner has quit [*.net *.split]
minute has quit [*.net *.split]
digetx has quit [*.net *.split]
droidrage has quit [*.net *.split]
alpernebbi has quit [*.net *.split]
sL1pKn07 has quit [*.net *.split]
kbingham has quit [*.net *.split]
Daanct12 has quit [*.net *.split]
Net147 has quit [*.net *.split]
phh has quit [*.net *.split]
digetx has joined #linux-rockchip
droidrage has joined #linux-rockchip
alpernebbi has joined #linux-rockchip
wens has joined #linux-rockchip
Rayyan has joined #linux-rockchip
jakllsch has joined #linux-rockchip
Daanct12 has joined #linux-rockchip
Net147 has joined #linux-rockchip
sL1pKn07 has joined #linux-rockchip
kbingham has joined #linux-rockchip
phh has joined #linux-rockchip
shoragan has joined #linux-rockchip
Emantor has joined #linux-rockchip
CounterPillow has joined #linux-rockchip
Perflosopher has joined #linux-rockchip
Whistler has joined #linux-rockchip
punit has joined #linux-rockchip
minute has joined #linux-rockchip
ldevulder has joined #linux-rockchip
tchebb_ has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
Perflosopher has quit [Max SendQ exceeded]
Perflosopher has joined #linux-rockchip
shailangsa has joined #linux-rockchip
kevery has joined #linux-rockchip
Daanct12 is now known as Danct12
kevery has quit [Quit: kevery]
hanetzer has quit [Ping timeout: 268 seconds]
Net147 has quit [Ping timeout: 276 seconds]
camus has quit [Read error: Connection reset by peer]
camus1 has joined #linux-rockchip
crabbedhaloablut has joined #linux-rockchip
camus1 is now known as camus
crabbedhaloablut has quit [Read error: Connection reset by peer]
crabbedhaloablut has joined #linux-rockchip
crabbedhaloablut has quit [Ping timeout: 255 seconds]
crabbedhaloablut has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 256 seconds]
kevery has joined #linux-rockchip
hanetzer has joined #linux-rockchip
ldevulder has joined #linux-rockchip
ldevulder_ has quit [Ping timeout: 264 seconds]
kevery has quit [Ping timeout: 268 seconds]
warpme has joined #linux-rockchip
kevery has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Net147 has joined #linux-rockchip
Net147 has quit [Changing host]
Net147 has joined #linux-rockchip
hanetzer has quit [Quit: WeeChat 4.1.1]
warpme has joined #linux-rockchip
hanetzer has joined #linux-rockchip
kevery has quit [Quit: kevery]
Helenah has joined #linux-rockchip
hanetzer has quit [Ping timeout: 256 seconds]
hanetzer has joined #linux-rockchip
kevery has joined #linux-rockchip
dsimic has quit [Ping timeout: 268 seconds]
dsimic has joined #linux-rockchip
psydroid has joined #linux-rockchip
Net147 has quit [Ping timeout: 276 seconds]
kevery has quit [Quit: kevery]
djs has joined #linux-rockchip
shoragan has quit [Quit: quit]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Net147 has joined #linux-rockchip
Net147 has quit [Changing host]
Net147 has joined #linux-rockchip
kevery has joined #linux-rockchip
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #linux-rockchip
Net147 has quit [Changing host]
Net147 has joined #linux-rockchip
camus has quit [Quit: camus]
camus has joined #linux-rockchip
shoragan has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 256 seconds]
CounterPillow is now known as CounterPillow_
CounterPillow_ is now known as CounterPillow
djs has quit [Quit: Client closed]
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
ldevulder_ has quit [Quit: Leaving]
Stat_headcrabed has joined #linux-rockchip
warpme has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
<linkmauve> montjoie, I just did some benchmarks of hashes (not checking for correctness), just benchmarking AF_ALG it starts getting faster than plain CPU at around 16 KiB, with 8 KiB input it’s slower; and your driver makes it about three orders of magnitude slower, so something weird might be going on.
<linkmauve> Except for 64 KiB input, where it is now faster than a pure CPU implementation again, which makes me think your driver gets skipped for this input size and the NEON kernel implementation gets picked instead.
vagrantc has joined #linux-rockchip
<linkmauve> To get an idea of the timings, for the SHA-1 of a 4096 B buffer, it takes 17.49 µs in pure CPU (using the sha1 crate), 39.08 µs using AF_ALG with the sha256-arm64-neon driver, and 11.51 ms (note the unit) using rk2-sha256.
<linkmauve> And 6.889 µs when enabling the asm feature in the sha1 crate.
<linkmauve> At which point it expectedly beats all variants of software AF_ALG.
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Stat_headcrabed has joined #linux-rockchip
Stat_headcrabed has quit [Client Quit]
Stat_headcrabed has joined #linux-rockchip
Stat_headcrabed has quit [Client Quit]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
psydroid has joined #linux-rockchip
psydroid has quit [Client Quit]
warpme has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
warpme has quit [Client Quit]
psydroid has joined #linux-rockchip
warpme has joined #linux-rockchip
<montjoie> AF_ALG is always slow, I dont think crypto IP is a good idea for user space
<linkmauve> It’s the only way to use the hardware blocks isn’t it?
<montjoie> you could try cryptodev which faster but offtree
<linkmauve> Besides that out of tree module with a different uABI.
<montjoie> for the 64kb size, you cou can check if driver is bypasser by checking its debug stats
crabbedhaloablut has quit []
sukrutb has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
stikonas has joined #linux-rockchip
<macromorgan__> so here's a weird case... for a device I'm working on (Powkiddy X55, RK3566) I have to mark the aclk_usb as a critical clock, or else the 2nd SD card (sdmmc2) fails to work. Why would that be? I don't see how aclk_usb is related in any way...
<CounterPillow> could this be one of those linked clock things where one clock has multiple parents and mainline doesn't model it well yet?
<macromorgan__> I'm almost certain now that I read it
<macromorgan__> it looks like aclk_usb is the parent of pclk_usb. There's a note that "pclk_usb_niu" has a dependency on "hclk_usb_niu". If the relationship goes both ways that would make sense.
<macromorgan__> since hclk_usb is already listed as a critical clock, I'm wondering if I should also list aclk_usb (or more technically pclk_usb)?