Loss-of-function of histone methyltransferase SDG8 reduced the Arabidopsis resistance to necrotic fungi pathogen infection. Here, PRDM9 is linked to infection.