Wednesday, 2018-10-31

*** stephano <stephano!~stephano@> has quit IRC03:00
*** dadamia <dadamia!> has joined #minnowboard04:06
*** dadamia <dadamia!> has left #minnowboard04:50
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #minnowboard08:58
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC09:02
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC12:07
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #minnowboard12:15
*** stephano <stephano!~stephano@> has joined #minnowboard14:37
Bitweasilwarthog9: you don't happen to know how to, say, up the stack size of the SMM handler in the open source EFI, do you?16:19
BitweasilIt seems like it's only 8 or 16kb16:19
warthog9I suspect that's tied to something deeper :-/18:39
warthog9off the top of my head, I don't - but stephano might be able to help :-)18:40
BitweasilI'm working around it, but if he happened to know, a larger stack /would/ be useful. :)18:47
BitweasilI try to come up with suitably off the walls questions to ask in IRC. :D18:47
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #minnowboard18:55
stephanohey Bitweasil, yes you can indeed.19:33
stephanoBitweasil, there is a PCD config setting for this that can be set in the DSC file to set the max size size.19:33
stephanoBitweasil, the DSC file for MinnowMax in edk2/master overrides the default value of this PCD from 8KB to 16KB.19:34
stephanoBitweasil, see: gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x400019:34
BitweasilExcellent, thank you!19:34
stephanoBitweasil, no prob19:34
stephanoBitweasil, keep in mind that a separate stack is allocated for every logical CPU19:35
BitweasilAs it should be...19:35
BitweasilI think I have an old version of the EDK, I don't see the override in my code, but will poke around.19:36
stephanoBitweasil, okay, ping me if you have more questions.19:36
BitweasilYeah, I only find SmmStackSize in the binary pdb files in the Vlv2BinaryPkg.19:36
BitweasilPresumably I could add that in UefiCpuPkg/UefiCpuPkg.dec ?19:38
BitweasilI did manage to work around the problem by putting my structures as static global variables in the file and reducing the stack allocation of a compression engine I was using.19:39
BitweasilOk, I see it on github.  Appreciate the response!19:40
stephanoNo problem. Glad to help.19:42
BitweasilYeah, always fun troubleshooting stack overflows in the firmware space. :)19:43
Bitweasil"Well... it dies when I do this.  Oh, wow, this allocates more memory than I thought... hm..."19:43
*** dadamia <dadamia!> has joined #minnowboard20:00
*** dadamia <dadamia!> has left #minnowboard20:34
*** dadamia <dadamia!> has joined #minnowboard22:35

Generated by 2.11.0 by Marius Gedminas - find it at!