Revert "Revert "Fix for the cpu scaling above max frequency - credits Yank555-Lu""

This reverts commit d206b66d9c0b12cacc88356040ce44437d0ded0a.

Figured out what causing kernel to not boot. Re-try this commit.