diff options
author | Andy Shevchenko <[email protected]> | 2019-12-06 16:55:42 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-12-08 12:42:19 +0100 |
commit | b418d660bb9798d2249ac6a46c844389ef50b6a5 (patch) | |
tree | a9471893ef19fde5fef722fbe5149d2a0584edb2 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 9fa76ca7b8bdcdf51fc8c7b7b7a7bfc4eccceb58 (diff) |
efi/earlycon: Remap entire framebuffer after page initialization
When commit:
69c1f396f25b ("efi/x86: Convert x86 EFI earlyprintk into generic earlycon implementation")
moved the x86 specific EFI earlyprintk implementation to a shared location,
it also tweaked the behaviour. In particular, it dropped a trick with full
framebuffer remapping after page initialization, leading to two regressions:
1) very slow scrolling after page initialization,
2) kernel hang when the 'keep_bootcon' command line argument is passed.
Putting the tweak back fixes #2 and mitigates #1, i.e., it limits the slow
behavior to the early boot stages, presumably due to eliminating heavy
map()/unmap() operations per each pixel line on the screen.
[ ardb: ensure efifb is unmapped again unless keep_bootcon is in effect. ]
[ mingo: speling fixes. ]
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Cc: Arvind Sankar <[email protected]>
Cc: Bhupesh Sharma <[email protected]>
Cc: Masayoshi Mizuma <[email protected]>
Cc: [email protected]
Fixes: 69c1f396f25b ("efi/x86: Convert x86 EFI earlyprintk into generic earlycon implementation")
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions