This must be a MSI z170 issue because I have the exact same problem with enabling xmp on my MSI Z170a pro carbon board.
Off topic but any MSI Z170A mobo owners have a problem with HDD light staying fully illuminated on their board? I am using BIOS version 1.2 and have a hyperx Kingston...