summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2026-08-06 17:04:15 +0200
committerHelge Deller <deller@gmx.de>2026-08-10 08:13:26 +0200
commitde508ece1d37cdbbbfa52f074954310f9b066b13 (patch)
treea2e23097331b35c8de903263e003cda12c759a0e /tools/perf/scripts
parent9ad709afdfa32509ed64938a6d9cd00db3cd54c2 (diff)
sticon/parisc: Detect default STI graphics card for console output
If a machine has multiple graphic cards, detect the graphic card which is used to display firmware messages and use that one as the default graphic card for sticon and fbcon. On parisc machines the default graphic card used for BCH (boot console handler, aka BIOS menu) is stored in the stable storage (equivalent to CMOS storage on x86) or in the console path in page zero. Extract that path and store it as default STI path for later comparism. Take care that the graphic card can be a GSC or a PCI card which use different path strings. Increase max string size for default_sti_path to 32 chars as the print_pa_hwpath() function formats a hardware path using unbounded sprintf calls for up to 6 bus converter components and 1 module component (e.g., 255/255/...), which can produce a string up to 28 bytes long. Signed-off-by: Helge Deller <deller@gmx.de> Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions