summaryrefslogtreecommitdiff
path: root/include/linux/netdev_features.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2023-03-13 01:00:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-30 13:50:50 +0300
commitfdf7c1b9ccf2f5a2c34b703fd0325a9e5aaabc4a (patch)
tree2580e912a445208205e97e0d764fa767edc2a1d9 /include/linux/netdev_features.h
parent53edfda851dd1ce41ac049ce2f195dc41dd27cc1 (diff)
downloadlinux-fdf7c1b9ccf2f5a2c34b703fd0325a9e5aaabc4a.tar.xz
efi: earlycon: Reprobe after parsing config tables
[ Upstream commit 8b3a149db461d3286d1e211112de3b44ccaeaf71 ] Commit 732ea9db9d8a ("efi: libstub: Move screen_info handling to common code") reorganized the earlycon handling so that all architectures pass the screen_info data via a EFI config table instead of populating struct screen_info directly, as the latter is only possible when the EFI stub is baked into the kernel (and not into the decompressor). However, this means that struct screen_info may not have been populated yet by the time the earlycon probe takes place, and this results in a non-functional early console. So let's probe again right after parsing the config tables and populating struct screen_info. Note that this means that earlycon output starts a bit later than before, and so it may fail to capture issues that occur while doing the early EFI initialization. Fixes: 732ea9db9d8a ("efi: libstub: Move screen_info handling to common code") Reported-by: Shawn Guo <shawn.guo@linaro.org> Tested-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/netdev_features.h')
0 files changed, 0 insertions, 0 deletions