• Vincenzo Frascino's avatar
    kasan: Extend KASAN mode kernel parameter · 1e4b5b77
    Vincenzo Frascino authored
    
    
    Architectures supported by KASAN_HW_TAGS can provide an asymmetric mode
    of execution. On an MTE enabled arm64 hw for example this can be
    identified with the asymmetric tagging mode of execution. In particular,
    when such a mode is present, the CPU triggers a fault on a tag mismatch
    during a load operation and asynchronously updates a register when a tag
    mismatch is detected during a store operation.
    
    Extend the KASAN HW execution mode kernel command line parameter to
    support asymmetric mode.
    
    Cc: Dmitry Vyukov <dvyukov@google.com>
    Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
    Cc: Alexander Potapenko <glider@google.com>
    Cc: Andrey Konovalov <andreyknvl@gmail.com>
    Signed-off-by: Vincenzo Frascino's avatarVincenzo Frascino <vincenzo.frascino@arm.com>
    Reviewed-by: Catalin Marinas's avatarCatalin Marinas <catalin.marinas@arm.com>
    1e4b5b77