On Fri, Sep 25, 2020 at 12:50:43AM +0200, Andrey Konovalov wrote: > Add error reporting for hardware tag-based KASAN. When CONFIG_KASAN_HW_TAGS > is enabled, print KASAN report from the arm64 tag fault handler. > > SAS bits aren't set in ESR for all faults reported in EL1, so it's > impossible to find out the size of the access the caused the fault. > Adapt KASAN reporting code to handle this case. > > Signed-off-by: Andrey Konovalov <andreyk...@google.com> > Co-developed-by: Vincenzo Frascino <vincenzo.frasc...@arm.com> > Signed-off-by: Vincenzo Frascino <vincenzo.frasc...@arm.com>
Reviewed-by: Catalin Marinas <catalin.mari...@arm.com>