[Skiboot] [RFC PATCH 0/1] AWAN HACK to flush console
    Ryan Grimm 
    grimm at linux.ibm.com
       
    Thu Sep  9 04:39:00 AEST 2021
    
    
  
I encountered an AWAN environment where the tools for reading caches
were broken.  Normally, we'd use this tool to access caches directly for
the inmem console.
We do have a tool that can read the DIMMs so I hacked this up and it
actually worked.
Just sharing b/c it might be useful if we encounter this again.
Does the hack look like it is working as intended?  Do I need to worry
about a sync?
Also, I tried to handle console wrapping with the ugly calculation
(total_cache_lines % (INMEM_CON_LEN / 128)) * 128
but it's difficult to test.
Ryan Grimm (1):
  AWAN CHIP HACK: Flush console buffer to memory
 core/console.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
-- 
2.25.1
    
    
More information about the Skiboot
mailing list