Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.10 is OUT / Merge Window is OPEN, next branch is CLOSED / Release v2025.01 is scheduled for 06 January 2025 / Channel archives at https://libera.irclog.whitequark.org/u-boot
ikarso has quit [Quit: Connection closed for inactivity]
Wouter01002 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01002 has joined #u-boot
naoki has quit [Quit: naoki]
goliath has quit [Quit: SIGSEGV]
qschulz has quit [Remote host closed the connection]
zibolo_ has quit [Ping timeout: 248 seconds]
qschulz has joined #u-boot
zibolo has joined #u-boot
pgreco has quit [Ping timeout: 244 seconds]
pgreco has joined #u-boot
alpernebbi has quit [Ping timeout: 260 seconds]
jclsn has quit [Ping timeout: 265 seconds]
jclsn has joined #u-boot
alpernebbi has joined #u-boot
ellyq has quit [Ping timeout: 265 seconds]
ellyq has joined #u-boot
ellyq has joined #u-boot
ellyq has quit [Changing host]
ellyq has quit []
ellyq has joined #u-boot
warthog9 has quit [Ping timeout: 265 seconds]
warthog9 has joined #u-boot
persmule has quit [Remote host closed the connection]
persmule has joined #u-boot
mmu_man has quit [Ping timeout: 265 seconds]
persmule has quit [Remote host closed the connection]
ikarso has joined #u-boot
Wouter01002 has quit [Quit: Ping timeout (120 seconds)]
Wouter01002 has joined #u-boot
mmu_man has joined #u-boot
Stat_headcrabbed has joined #u-boot
mmu_man has quit [Ping timeout: 255 seconds]
warpme has joined #u-boot
slobodan has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #u-boot
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #u-boot
naoki has joined #u-boot
naoki has quit [Client Quit]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
redbrain has quit [Read error: Connection reset by peer]
warpme has joined #u-boot
redbrain has joined #u-boot
goliath has joined #u-boot
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
Wouter01002 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01002 has joined #u-boot
monstr has joined #u-boot
slobodan_ has joined #u-boot
slobodan has quit [Ping timeout: 260 seconds]
slobodan_ has quit [Remote host closed the connection]
slobodan_ has joined #u-boot
slobodan_ has quit [Client Quit]
mmu_man has joined #u-boot
slobodan has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
___nick___ has joined #u-boot
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
warpme has joined #u-boot
enok has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fatal has quit [Remote host closed the connection]
fatal has joined #u-boot
slobodan has quit [Ping timeout: 252 seconds]
dsimic has quit [Ping timeout: 252 seconds]
dsimic has joined #u-boot
Wouter01002 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01002 has joined #u-boot
persmule has joined #u-boot
slobodan has joined #u-boot
monstr has quit [Remote host closed the connection]
flyback has quit [Quit: Leaving]
flyback has joined #u-boot
___nick___ has quit [Ping timeout: 252 seconds]
___nick___ has joined #u-boot
enok has quit [Quit: enok]
ikarso has quit [Quit: Connection closed for inactivity]
<sjg1> Tartarus: The point of co-operation (as I think we agreed to call it) is the end of any image loading via lmb, and the start of any memory allocation by EFI. This is the whole key to solving this problem without a complex set of bidirectional logic
<sjg1> Tartarus: Images are loaded via lmb, then EFI takes over and adds lmb to its memory map, then carries on as today
<Tartarus> sjg1: I had a thought about this last night that may make objections clearer. Why are you not making some similar flag for "bootelf" and "go" ?
<Tartarus> But, what do you mean images loaded via lmb?
<sjg1> Tartarus: I wouldn't worry so much but it is quite difficult to get any changes in with the EFI subsystem, so if we go ahead with this scheme, it will be very difficult to back out
<Tartarus> With Sughosh's v3, yes, everything loaded is covered by an lmb
<Tartarus> and, electrician msging me, brb'ish
<sjg1> The latest series doesn't have a flag actually. For bootelf and go, we don't have callbacks, so they cannot allocation memory, so lmb is the final word. It is only EFI where things are more complicated
<sjg1> I mean, images are loaded via lmb today, so we don't need to change that. It works fine
<Tartarus> Right, bootelf and go can fiddle whatever they want in memory and not bother setting an lmb over what they load since we won't know
<Tartarus> EFI is more complicated in that we do know what's going on and so... why does it need some special treatment? That's what's confusing
<Tartarus> The app we launch can say I need $this hunk of memory and we know about it, rather than not knowing about it
<sjg1> Yes
<sjg1> But all that is needed is for EFI to add the lmb records to its memory map. Everything else can stay the same, right?
<Tartarus> To be clear, before all of this rework, EFI only was doing LMB checks because I noticed it wasn't and wanted to avoid an easy-and-stupid CVE being assigned. Today there's gaps because Sughosh's initial series that did cover EFI was split in two, leaving the EFI part out to not block the rest of the rework going in. "Tomorrow" (not literally, I had a small comment for v3 and will fully review Monday) EFI will be fully integrated with
<Tartarus> LMB as his series looks to be basically ready and done
<Tartarus> iirc the "event" mechanism that was in earlier series was dropped
<Tartarus> We now just make the calls as needed, and have a CONFIG symbol for that being the case. The only change I've asked for is that the symbol needs to be select'd and not prompted for
<Tartarus> (Which to be clear, is a common problem with our Kconfig symbols, many things are prompted over when there's no real choice, you either enable $X or you have broken software)
<sjg1> I still see 'notify of any changes to the LMB memory map' although I see that it simply adds to the EFI memory map. I still see LMB_NONOTIFY.
<sjg1> Do you understand what I am saying about the point of co-operation?
<Tartarus> I've just now asked sng to elaborate on the use case and update the documentation as to what LMB_NONOTIFY is for exactly
<sjg1> It's to break the deadlock on the circular dependency, which it what my series avoids
<Tartarus> That said, I _think_ the flag is used so that we can add the whole of unused memory to the EFI memory map without inadvertently making an LMB that covers all of the rest of memory
<Tartarus> Nothing nefarious
<Tartarus> afk no power for a while
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
naoki has joined #u-boot
joeskb7 has joined #u-boot
jfsimon1981 has quit [Remote host closed the connection]
jfsimon1981 has joined #u-boot
jfsimon1981 has quit [Remote host closed the connection]
jfsimon1981 has joined #u-boot
mmu_man has quit [Ping timeout: 248 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
mmu_man has joined #u-boot
goliath has quit [Quit: SIGSEGV]
___nick___ has quit [Ping timeout: 276 seconds]
jfsimon1981 has quit [Remote host closed the connection]
jfsimon1981 has joined #u-boot
jfsimon1981 has quit [Max SendQ exceeded]
jfsimon1981_b has joined #u-boot
Perflosopher has quit [Ping timeout: 252 seconds]
joeskb7 has quit [Quit: Lost terminal]
naoki has quit [Remote host closed the connection]
naoki has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
slobodan has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot
jfsimon1981_b has quit [Ping timeout: 245 seconds]
jfsimon1981 has joined #u-boot
Perflosopher has joined #u-boot
Perflosopher has quit [Ping timeout: 252 seconds]
Perflosopher has joined #u-boot
alan_o has quit [Ping timeout: 260 seconds]
alan_o has joined #u-boot
alan_o has quit [Remote host closed the connection]
alan_o has joined #u-boot
alan_o has quit [Ping timeout: 260 seconds]
Wouter01002 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01002 has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot
mmu_man has quit [Client Quit]
alan_o has joined #u-boot