added max CPU control

Change-Id: Ic16760c7b5aab3d71e064ffe5236304934ea47a2