James_T has joined #linux-exynos
opuk has joined #linux-exynos
opuk has quit [Changing host]
opuk has joined #linux-exynos
nashpa has quit [Ping timeout: 265 seconds]
nashpa has joined #linux-exynos
D1337d has quit [Ping timeout: 240 seconds]
D1337d has joined #linux-exynos
ssvb has joined #linux-exynos
libv has quit [Ping timeout: 250 seconds]
libv has joined #linux-exynos
<jnettlet> Hey guys. Do we have working support for the crypto engine and hwrng on the 5420 and later SOCs? I see that the ChromeOS kernel has the same problem as android of not being able to keep the entropy pool filled so new processes and connections can stall.
<jnettlet> I will install rngd for now but would prefer to use the hwrng which it seems does exist
dlezcano has joined #linux-exynos
<Wizzup> jnettlet: maybe haveged? I haven't run into exhausting problems before btw
<jnettlet> Wizzup, under ChromeOS?
<jnettlet> trust me I am sure you have. check your entropy_avail under /proc I am sure it is around 150-300 bytes, which means every time you launch a new time you input is micro-freezing trying to gather entropy
<jnettlet> also things that constantly run under ssl will be causing lag on input because that is the primary entropy gatherer in 3.4
<jnettlet> the reason intel doesn't have this problem is that their hwrng driver feeds the random pool with only a partial mix of kernel randomness for security.
<jnettlet> I don't know why Google continually makes this mistake. Android has the same problem
<jnettlet> I think 3.4 actually does all this within an interrupt mutex as well which when all IRQs are being serviced by CPU0 it will cause micro-stuttering in everything
<Wizzup> jnettlet: no, never under chromeOS
<Wizzup> and intel only very recently had this
<Wizzup> And most distros don't use randomness that much
<jnettlet> so the contents /proc/sys/kernel/random/entropy_avail is around 3000?
<Wizzup> nope, much less
<jnettlet> yes, so that is creating input lag
<Wizzup> lag to what exactly?
<jnettlet> and much more because in earlier kernels the input randomness is collected under an rcu lock
<Wizzup> I know this is required for a lot of things
<jnettlet> launching processes for one
<Wizzup> right, I am (soon) going to run gentoo hardened with pax etc
<Wizzup> so that'll be a problem
<jnettlet> Why does Google continue to screw up this inefficiency?
<jnettlet> it is like they aren't even trying with ARM
<Wizzup> If you want you can use haveged
<Wizzup> cat /proc/sys/kernel/random/entropy_avail
<Wizzup> 186
<jnettlet> I want to use the hwrng :)
<Wizzup> cat /proc/sys/kernel/random/entropy_avail
<Wizzup> 1708
<Wizzup> right, I guess :)
<Wizzup> I don't think haveged is a bad thing though, but ack
<jnettlet> you can tweak read_wakeup_threshold and write_wakeup_threshold so they stay awake longer and collect more randomness
<jnettlet> that is a power consuming crap alternative but makes a big difference in the snappiness of an ARM chromebook
<Wizzup> so is there a driver for the hwrng?
<jnettlet> not in the 3.4 kernel. chromeos has /dev/hwrng linked to /dev/urandom :(
<jnettlet> I don't know about upstream.
<Wizzup> I have a /dev/hwrng node
<Wizzup> With the chrome kernel, but it's not a symlink
<jnettlet> oh nice. maybe that just broke in the beta channel
<jnettlet> but it is still not feeding the entropy pool for the kernel
<D1337d> 3.18 has the exynos hwrng and tpm rng support in it
<jnettlet> great!
<jnettlet> but ARM hwrng's still aren't being used as a partial entropy pool like the intel hwrng
dlezcano has quit [Remote host closed the connection]
<D1337d> is there any good way to diagnose a kernel comming up and nothign on screen
<D1337d> without hardware mods
<James_T> lick the cpu
<D1337d> thats an option, but if i am going to pop the case i may as well break out the solder iron
<James_T> yeah
afaerber_ has joined #linux-exynos
afaerber__ has quit [Ping timeout: 256 seconds]
ojn has quit [Ping timeout: 244 seconds]
steev has quit [Ping timeout: 272 seconds]
ojn has joined #linux-exynos
steev has joined #linux-exynos
LanDi has joined #linux-exynos
afaerber__ has joined #linux-exynos
afaerber_ has quit [Ping timeout: 244 seconds]
LanDi has quit [Quit: fui !]
jnettlet has quit [*.net *.split]
WarheadsSE has quit [*.net *.split]
mdrjr has quit [*.net *.split]
leming has quit [*.net *.split]
indy has quit [*.net *.split]
afaerber__ has quit [*.net *.split]
SteveCapper has quit [*.net *.split]
daniels has quit [*.net *.split]
Swabbles has quit [*.net *.split]
D1337d has quit [*.net *.split]
meridion has quit [*.net *.split]
HcE has quit [*.net *.split]
bzyx has quit [*.net *.split]
steev has quit [*.net *.split]
ssvb has quit [*.net *.split]
nashpa has quit [*.net *.split]
dne has quit [*.net *.split]
sjoerd has quit [*.net *.split]
ojn has quit [*.net *.split]
James_T has quit [*.net *.split]
opuk has quit [*.net *.split]
javier__ has quit [*.net *.split]
ukki has quit [*.net *.split]
tyler-baker has quit [*.net *.split]
Wizzup has quit [*.net *.split]
libv has quit [*.net *.split]
dlan has quit [*.net *.split]
_whitelogger_ has joined #linux-exynos