• Krunal Bauskar's avatar
    MDEV-23030: ARM crash on Raspberry Pi 4 · c69520c9
    Krunal Bauskar authored
    MariaDB adopted a hardware optimized crc32c approach on ARM64 starting 10.5.
    Said implementation of crc32c needs support from target hardware for crc32
    and pmull instructions. Existing logic is checking only for crc32 support
    from target hardware through a runtime check and so if target hardware
    doesn't support pmull it would cause things to fail/crash.
    
    Expanded runtime check to ensure pmull support is also checked on the target
    hardware along with existing crc32.
    
    Thanks to Marko and Daniel for review.
    c69520c9
my_sys.h 42.6 KB