ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
laine has joined #aarch64-laptops
laine has quit [Remote host closed the connection]
laine has joined #aarch64-laptops
laine has quit [Remote host closed the connection]
<steev>
indeed, most of the changes are just the new options
<HdkR>
Is there any way to determine if L3 and SLC is running at max clocks?
<HdkR>
Also no idea how to even see SLC in the dts
<HdkR>
llcc_bwmon_opp_table?
<steev>
maybe (and check the dtsi)
<HdkR>
The opp tables seem weird. 1.5GB/s on the top end?
<steev>
i blame bamse
<HdkR>
oop, that's in kilobytes, not kilobits. 15.2GB/s is still significantly lower than what sc8280xp offers
<HdkR>
Unless this is operating modes that once you hit that threshold it hits whatever opp-6 level is
<HdkR>
If I delete all but the largest, would I get the highest config?
<steev>
maybe?
<HdkR>
It's very tricky when I can't tell what frequency each of these levels of cache are running at. As far as I'm aware there is no debugfs available for it
<steev>
maybe someone in -msm knows?
<HdkR>
Deleting all the opp values except the top end one seemingly gave a few percentage in geekbench but in measurable absolute times it didn't seem to improve hmmm
<HdkR>
I am seeing that epss_l3 is falling down the generic compatible path but sc7180/sc7280/sc8180x has a specific compatible
<bamse>
HdkR: are you saying that i should turn those numbers to 11?
<HdkR>
Not really, it doesn't solve my issue with short-term program execution and I'm just trying random ideas since I'm not a kernel dev
<bamse>
HdkR: iirc i dumped the frequency table from epss, and then spread the values across the cpu frequencies haphazardly
<HdkR>
Considering I have no idea what that means, sounds reasonable to me :P
<steev>
i don't even know how to do things like dump the freqency tables
<HdkR>
Same
<steev>
still trying to figure out how to actually capture all of the bluetooth traffic so i can figure out the frame reassembly crap
<bamse>
steev: for l3, you go into the osm-l3.c and you find a dev_dbg()...make that print and you'll get the table
<steev>
oh
<HdkR>
bamse: Is there any way to determine if SLC is running maxed out?
<bamse>
HdkR: might be possible to measure the clock rates
<HdkR>
Since moving from 51GB/s of sm8380 to 68GB/s of sc8280xp and faster CPU cores should be a clear win rather than a loss
<HdkR>
So I can only assume cache
<bamse>
HdkR: what are you measuring there?
<HdkR>
Absolute time to write code in to a linear buffer
<bamse>
sized for hitting each cache?
<HdkR>
tasksetting to the X1 of the sm8350 and the X1C of the sc8280xp
<HdkR>
not sized since this is just measuring total time while running an application
<steev>
hm, i thought i pulled in mani's patch that deals with the timeouts too, shouldn't be that many, but maybe that's just what we get now, unsuspend shows them moreso than at boot
<steev>
either way, it's 3am here, and i should head to bed since the neighbor's kid isn't screaming anymore
Guest5298 has joined #aarch64-laptops
<Guest5298>
any news about X13s firmware update to expose EL2?
<HdkR>
That would be pretty sick
<HdkR>
But is it even likely to occur>?
Guest5298 is now known as Caterpillar2
krzk has joined #aarch64-laptops
<Caterpillar2>
HdkR: perhaps javierm broonie know if it will be released or not. Everybody here is under f** NDA
<Caterpillar2>
buying X13s has been a huge mistake
<Caterpillar2>
maybe one day I will destroy it and put the video on youtube
<HdkR>
Ah. I see.
alfredo has joined #aarch64-laptops
alfredo has quit [Quit: alfredo]
jhovold has joined #aarch64-laptops
<qzed>
Keep in mind I "know" this stuff mostly from random internet posts/comments and from things I've heard:
<qzed>
Qualcomm runs some firmware stuff in EL2
<qzed>
or that's what people say at least
<qzed>
so my guess is no one and not even an OEM if they're asking nicely is going to get access to it anytime soon
<qzed>
at least on their WoA stack, the android stack seems to be different
<qzed>
and don't ask me why they can't do it the android way...
<qzed>
so our best bet for KVM is to somehow make use of the bypervisor thing they have set up there
<ardb>
qzed: iirc the chromesos arm64 laptops boot at el2
<qzed>
ah right, was mixing up android with chromeos I think
Caterpillar2 has quit [Quit: Konversation terminated!]
krzk has quit [Quit: Lost terminal]
<javierm>
ardb: correct, the chromebooks support KVM
falk689 has quit [Quit: No Ping reply in 180 seconds.]
falk689 has joined #aarch64-laptops
<steev>
yeah but chromebooks aren't your bog standards oem... google can say "make this happen"... we can't
<clover[m]>
steev: yep, that config value was my missing puzzle piece
<steev>
clover[m]: oops, sorry
<clover[m]>
rc8 working fine now
<steev>
good to hear :)
<steev>
there is one issue i occasionally see here, wifi drops and starts spamming [52013.164196] ath11k_pci 0006:01:00.0: HTC Rx: insufficient length, got 1480, expected 1488 (the got/expected change); simply `sudo modprobe -r ath11k_pci; sudo modprobe ath11k_pci` works
<HdkR>
That's suspiciously close to MTU. Wonder what happens if you reduce
<steev>
i was just gonna mention it to mani and then forget about it til next time i hit it :P
<steev>
i suppose i could try that too
<HdkR>
Drop to 1400 and hope it goes away? :P
<HdkR>
Does the kernel expose a way to query the CPU cores cache sizes these days? I need to double check the MSR list
<HdkR>
`L2 L#0 (0KB) + L1d L#0 (0KB) + L1i L#0 (0KB) + Core L#0 + PU L#0 (P#0)` lstopo doesn't understand them at least :D
spikerguy has joined #aarch64-laptops
<clover[m]>
Welcome spikerguy:
Caterpillar2 has joined #aarch64-laptops
<qzed>
anyone here with decent PCI subsystem knowledge (especially pm / power-off related)? or alternatively does someone know dark magic and has a lamb to sacrifice? or can point me to someone who knows?
<qzed>
turns out ResetSystem isn't just broken on some ARM/Qualcomm devices but also on the x86 Surface Pro 9 and Surface Laptop 5
<qzed>
and it seems PCI shutdown stuff is to blame somehow
<qzed>
which is a bit out of my depth... so I was wondering whether anyone here has some pointers
<qzed>
(IRCs, people to ask... anything really)
<steev>
manni might know, he's been touching the arm/qualcomm stuff
<steev>
mani_s when he's on irc
<qzed>
the quick summary of the problem is: EFI's ResetSystem returns (doesn't seem to crash / page-fault as far as I can tell) under certain conditions
<qzed>
in particular, it returns after some PCI shutdown functions ran
<qzed>
so it looks like firmware is expecting some devices to be left on I guess
<qzed>
which means if we run those PCI shutdown callbacks for some devices, the system essentially stays on and goes to a busy halt loop
<qzed>
now I can write a PCI quirk for that... but I'm not sure if that's the best approach, feels very janky
laine has joined #aarch64-laptops
alfredo has joined #aarch64-laptops
alfredo has quit [Ping timeout: 480 seconds]
<HdkR>
oop, looks like the new kernel didn't solve the hanging problem after all. Just significantly less likely to occur
spikerguy has quit [Quit: Page closed]
<steev>
that... sucks... but is also good to know?
<HdkR>
Good to know so I can warn people yes
<steev>
just buy them a 2TB ssd to put in them ;)
<steev>
although looks like lenovo only even has 512GB on their site available :(
<steev>
i was looking to get a 1T
<HdkR>
I've actually got a 2TB on the way for replacing the 512GB one