1
Operating Systems and Porting / Re: AST VGA from Debian Installer
« Last post by SiteAdmin on June 05, 2023, 03:49:37 pm »Almost fixed, not quite. Still needs https://salsa.debian.org/kernel-team/linux/-/merge_requests/743
Hibernation
This state (also referred to as Suspend-to-Disk or STD) offers the greatest energy savings and can be used even in the absence of low-level platform support for system suspend.
However, it requires some low-level code for resuming the system to be present for the underlying CPU architecture.
$ cat /sys/power/state
freeze mem
$ cat /sys/power/state
freeze mem disk
//Flags used by the CXX compiler during RELEASE builds.
The following line is, by default:CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
Change it to:CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG -mcpu=power9 -DNO_WARN_X86_INTRINSICS
//Flags used by the C compiler during RELEASE builds.
changing the subsequent line to:CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG -mcpu=power9 -DNO_WARN_X86_INTRINSICS
The 18c & 22c parts are "paired" meaning 2 SMT4 cores share the same L2 & L3, unlike the 4c and 8c which are "unpaired" meaning each core gets the full L2 and L3 to itself. This is not the same as "fused" (i.e. SMT8 cores) but it is quite likely that the fix will also work for "paired" cores as presumably the issue is sharing cacheable/non-cacheable pathways. Good luck!
I think you're right about the terminology, but yeah, I doubt the IBM docs draw a distinction since those docs are exclusively written for SMT8 users.
I've successfully built a PNOR with IBM's patch; it installed without major issues (I accidentally hosed things the first time I installed it due to the BMC running out of RAM -- protip, don't put multiple PNOR images in OpenBMC /tmp/ -- but power-cycling the BMC fixed that). So far it seems stable, I'll be running it for the next month or so to see if any checkstops happen.