Harsh Prateek Bora <hars...@linux.ibm.com> writes: > Currently, it asserts very late in the code flow if lpid is already > initialized.
That's not about initializing. It is about making sure the LPIDR is 0. Which has a specific meaning according to the ISA. > Ideally, it should assert in the beginning if that is the case. This patch > brings assert check in the beginning alongwith the related initialization. > Maybe just leave it where it is. There's not much to gain from moving this.