linux: Update to 3.2.54 and 3.12.7 (close #1527)