Backporting padding stuff from semc7x30