• Ard Biesheuvel's avatar
    efi: vars: Remove deprecated 'efivars' sysfs interface · 0f5b2c69
    Ard Biesheuvel authored
    Commit 5d9db883 ("efi: Add support for a UEFI variable filesystem")
    dated Oct 5, 2012, introduced a new efivarfs pseudo-filesystem to
    replace the efivars sysfs interface that was used up to that point to
    expose EFI variables to user space.
    
    The main problem with the sysfs interface was that it only supported up
    to 1024 bytes of payload per file, whereas the underlying variables
    themselves are only bounded by a platform specific per-variable and
    global limit that is typically much higher than 1024 bytes.
    
    The deprecated sysfs interface is only enabled on x86 and Itanium, other
    EFI enabled architectures only support the efivarfs pseudo-filesystem.
    
    So let's finally rip off the band aid, and drop the old interface
    entirely. This will make it easier to refactor and clean up the
    underlying infrastructure that is shared between efivars, efivarfs and
    efi-pstore, and is long overdue for a makeover.
    Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
    0f5b2c69
generic_defconfig 4.35 KB