ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
apritzel_ has quit [Ping timeout: 250 seconds]
rfs613 has quit [Quit: restart]
bps has quit [Ping timeout: 248 seconds]
amitk has joined #armlinux
heat has quit [Remote host closed the connection]
heat has joined #armlinux
jclsn has quit [Ping timeout: 252 seconds]
jclsn has joined #armlinux
heat has quit [Remote host closed the connection]
amitk_ has joined #armlinux
tambarus has quit [Quit: Lost terminal]
Perflosopher has quit [Quit: Ping timeout (120 seconds)]
Perflosopher has joined #armlinux
guillaume_g has joined #armlinux
<linusw__> marex: :D
luispm has joined #armlinux
sszy has joined #armlinux
luispm has quit [Ping timeout: 248 seconds]
luispm has joined #armlinux
<javierm> marex, linusw__: it is indeed awesome info
<Xogium> linusw__: I just read your articles, they're great indeed
<geertu> tambarus: correct, cpu bringup does not use CFI FLASH, but makes the first pages of the FLASH inaccessible (BTW, I see wrong data with mtd-rom, too)
<Xogium> I don't understand lots of asm, but the explanations are more than good enough to get an idea ;)
<geertu> Probe deferral of CFI FLASH would not help, the FLASH is already probed after secondary CPU startup.
<geertu> The special mapping for the CPU startup code could be disabled after all cores have been bringed up. After that, FLASH becomes fully accessible.
<geertu> However, if CPU cores are offlines and onlined at run-time, the special mapping has to be reinstantiated temporarily again, thus any FLASH accesses must be prevented temporarily, too.
<geertu> I'm wondering if there are any other SMP SoCS that suffer from similar issues...
<geertu> TLDR: SMP bringup code relies on remapping the first page to the actual CPU startup code in RAM, breaking access to FLASH (or a MMIO device) at physical addresss zero.
<geertu> I guess the simplest "solution" is to disable in DT any device at address zero when SMP is used.
<ardb> geertu: but the booting CPU wouldn't access the flash at that point, right?
<geertu> ardb: No, it wouldn't
<geertu> But other CPUs might.
<ardb> so you could just map that page in the ID map page tables that are used to enable the MMU
<ardb> ehm never mibnd
<ardb> i guess this is not a MMU mapping but some special SoC control?
<geertu> ardb: Yes, configured through a special register
headless has joined #armlinux
apritzel has joined #armlinux
viorel_suman has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
amitk_ has quit [Ping timeout: 255 seconds]
headless_ has joined #armlinux
headless_ has quit [Client Quit]
prabhakarlad has joined #armlinux
headless has quit [Ping timeout: 276 seconds]
cbeznea has joined #armlinux
headless has joined #armlinux
Lucanis0 has joined #armlinux
Lucanis has quit [Ping timeout: 260 seconds]
rockosov has quit [Ping timeout: 255 seconds]
rockosov has joined #armlinux
sudeepholla_ has quit [Quit: Ex-Chat]
headless has quit [Quit: Konversation terminated!]
heat has joined #armlinux
heat has quit [Remote host closed the connection]
heat has joined #armlinux
bps has joined #armlinux
bps has joined #armlinux
bps has quit [Changing host]
krzk has quit [Quit: leaving]
krzk has joined #armlinux
elastic_dog has quit [Read error: Connection reset by peer]
elastic_dog has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
bps has quit [Ping timeout: 276 seconds]
balrog has quit [Quit: Bye]
balrog has joined #armlinux
jn has quit [Quit: No Ping reply in 180 seconds.]
jn has joined #armlinux
jn has joined #armlinux
jn has quit [Changing host]
guillaume_g has quit [Quit: Konversation terminated!]
headless has joined #armlinux
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<phh> Hi. I would like to make a dma-heap based on another one, without needing to rewrite an allocator: I want to make a dma-heap that allocates over cma its buffer when needed, so when there is 0 allocation, it has nothing allocated, but as soon as there is 1 allocation on the heap, it allocates its constant size over cma (say 256MB). The goal is two fold: this is for DRM Secure Video Path, this heap would be always protected by trustzone from being accessed. Also
<phh> the memory would be pre-allocated, so when video codec moves from 240p to 2160p the memory allocations are guaranteed to succeed fast. I didn
<phh> I didn't find any framework in the Linux kernel to do anything close to that, but maybe I missed it?
cmarinas has quit [Read error: Connection reset by peer]
cmarinas has joined #armlinux
viorel_suman has quit [Quit: WeeChat 3.6]
TheCoffeMaker has quit [Max SendQ exceeded]
TheCoffeMaker has joined #armlinux
apritzel has quit [Ping timeout: 268 seconds]
apritzel_ has joined #armlinux
cbeznea has quit [Quit: Leaving.]
prabhakarlad has quit [Quit: Client closed]
apritzel_ has quit [Ping timeout: 255 seconds]
apritzel_ has joined #armlinux
bps has joined #armlinux
prabhakarlad has joined #armlinux
amitk has quit [Ping timeout: 252 seconds]
elastic_dog has quit [Ping timeout: 260 seconds]
elastic_dog has joined #armlinux
apritzel_ has quit [Ping timeout: 255 seconds]
headless has quit [Quit: Konversation terminated!]
torez has joined #armlinux
iivanov_ has quit [Ping timeout: 265 seconds]
apritzel_ has joined #armlinux
torez has quit [Remote host closed the connection]