ChanServ changed the topic of #linux-msm to:
flto has quit [Remote host closed the connection]
flto has joined #linux-msm
marvin24 has joined #linux-msm
marvin24_ has quit [Ping timeout: 480 seconds]
Danct12 has quit [Quit: Quitting]
pevik_ has joined #linux-msm
svarbanov has joined #linux-msm
wwilly has quit [Quit: Leaving]
ndec_ is now known as ndec
ndec is now known as ndec_
ndec_ is now known as ndec
macc24 has joined #linux-msm
<macc24> bamse: what's stopping modem on sc7180 from addressing kernel space?
wwilly has joined #linux-msm
<konradybcio> Probably nothing as all things "secure" and "remote" happen behind a qcom veil
ahalaney has joined #linux-msm
<macc24> konradybcio: isn't it behind an iommu?
<konradybcio> No
<konradybcio> Even if it were, *mmus are managed by the proprietary hypervisor
<flto> konradybcio: actually, for crOS (which is what runs on all?/most sc7180) kernel runs at EL2 and manages both S1+S2 mmu (that doesn't mean there isn't a "backdoor" through the mmu.. cDSP has such a thing at least)
<konradybcio> There's always tz higher up and there are "secure" iommu contexts
<macc24> flto: well i run linux on my sc7180 machine
sumits has joined #linux-msm
<minecrell> macc24: I have the perfect quote for this
<minecrell> regarding what protects modem from accessing kernel
<macc24> minecrell: lol
<bamse> macc24: the XPU is used to allow only specific ranges of memory to the modem
<bamse> macc24: this is as konradybcio says dealt with by tz/hypervisor
<macc24> bamse: isn't QSEE missing from sc7180?
<bamse> macc24: through static configuration and through the scm hyp_assign
<bamse> macc24: ahh, sc7180 as found in the chromebooks...i expect that someone configures the XPU still
<macc24> hmm
<bamse> macc24: there's still some proprietary stuff, even if qsee as a whole isn't there
<macc24> cursed stuff
wwilly has quit [Ping timeout: 480 seconds]
wwilly has joined #linux-msm
<robclark> jstultz, calebccff: https://patchwork.freedesktop.org/patch/460086/?series=95975&rev=1 is worth a try to see if it helps with the a630 power instability
<robclark> macc24: the bootloader setups up firewalls that restrict the modems memory access.. if that were not the case it would not have met CrOS's security requirements
<robclark> konradybcio: no hyp on CrOS devices.. kernel manages S2 translations
<macc24> robclark: thank
<robclark> firewalls == XPU
<macc24> "no hyp" isn't hyp required for kvm on aarch64?
<robclark> actually the inverse.. hyp is why on android phones the kernel starts at EL1 which prevents kvm
<robclark> this is part of the reason there is no hyp on CrOS devices, because kvm is a requirement
<minecrell> macc24: well KVM is the "hyp" in that case :P
<robclark> right
<ahalaney> yeah "no hyp" == "no QHEE"
<macc24> huh
flto has quit [Read error: Connection reset by peer]
flto has joined #linux-msm
<konradybcio> Woah, now I feel like a second (or even third given that WP fw is more liberal) class citizen on an LA platform..
<macc24> LA?
<robclark> Linux Android
<robclark> ie. not CrOS or windows
<bamse> or automotive (AU)
<macc24> robclark: why not cros?
<bamse> because that's named "LC"
<macc24> huh?
<bamse> and per above discussion, the software is different - e.g. wrt the boot/security flow
<robclark> ahh, forgot automative
<robclark> but yeah, boot flow and fw is very different for CrOS
<macc24> what about chromebooks running linux
<robclark> the dev boards (like rb3/db820c/etc) use LA fw even if they are running linux
<bamse> macc24: that doesn't exist as a deliverable from Qualcomm, hence no name of the software package
<macc24> and what about chromebooks running linux with correct keys so vboot is happy
<robclark> and also, it would still be LC
<robclark> since the name (in this context) is about the boot chain and related fw
<bamse> robclark: in the event that qualcomm would make a release of say Ubuntu on 7c, it probably wouldn't be a LC release anymore
<robclark> I'd assume so
<macc24> i'm more confused than befor
<robclark> it would probably be more similar to windows, with UEFI and ACPI
<robclark> macc24: just ignore the "Android" part of the name "LA" and it makes more sense ;-)
<macc24> robclark: where does cros fit into this
<bamse> macc24: LA/LC/AU/WP are software releases from qualcomm, i.e. boot, firmware, kernel, userspace everything
<bamse> macc24: so for the chromebooks, there's a ChromeOS release from Qualcomm, that Google "uses"...and per the software design and components of that release it's a "LC" release
<macc24> bamse: so if i put linux onto my chromebook, while still using coreboot with depthcharge as boot firmware and while using firmware stolen from cros, it would be LC?
<bamse> macc24: for your typical android device, there's a set of these software components with Android as userspace, and that's a LA release
<bamse> macc24: if qualcomm where to ship that yes
<bamse> macc24: but i doubt that qualcomm will take your software, repackage that and redistribute it
<macc24> bamse: well i'm not saying i'm not talking with qcom about it
<bamse> macc24: then you're not making a qualcomm release, so you wouldn't use the qualcomm naming scheme
<macc24> ok\
<robclark> macc24: putting linux on the thing doesn't change the boot fw.. so it is still "LC"
<bamse> and sorry, no if you take LC, turn that into a non-Chrome thing, then it's no longer LC...there's someother two-letter ackronym for "standard Linux distribution"
<macc24> bamse: it's not standard linux distribution
<robclark> well, I mean the fw is still LC.. we don't really take "qualcomms kernel" or userspace for CrOS.. they just deliver patches, we pick them, we release the sw
<bamse> robclark: so perhaps it's better to say it would be "based on LC"
<robclark> ok, sure
<macc24> robclark: i don't really take your kernel ;)
<bamse> pretty much how all our devboards are "based on LA", but it's not Android
<robclark> it isn't really my kernel
<macc24> yea yea i know
Danct12 has joined #linux-msm
wwilly has quit [Quit: Leaving]
pevik_ has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-msm
Daanct12 has quit [Quit: Quitting]
Danct12 has quit [Ping timeout: 480 seconds]
ahalaney has quit [Quit: Leaving]
Danct12 has joined #linux-msm
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-msm
svarbanov has quit [Ping timeout: 480 seconds]