Finding max period of 8-bit LFSR
If a connection polynomial of degree $d$ is primitive, i.e., it is irreducible and has a root of order $2^d-1,$ then the period is $2^d-1,$ for any nonzero loading.

There is more information in answer