Compounds having the Formula l, and enantiomers, diastereomers,pharmaceutically acceptablesalts, solvates and solvates of salts thereof,(see Formula I)are useful as kinase inhibitors or modulators, including BTK modulation orinhibition, wherein X1,X2, m, m, E and R1 are as defined herein.