On Tue, 16 Jun, at 11:37:25AM, Linn Crosetto wrote:
> 
> I have been reverting this patch as a workaround. The fields need to be 
> changed,
> but I am not that familiar with the code. Maybe there is a way to use a
> heuristic to calculate the best values based on init_sz?

Linn, could you please provide some details of the system that you're
booting this kernel on? EDK2 does not include any checks for this
alignment requirement, which probably explains why no one else ever
caught this issue.

I can't think of any way to fix this without simply doing a revert of
commit aeffc4928ea2 ("x86/efi: Request desired alignment via the PE/COFF
headers"). Especially since that patch was an optimisation and not a bug
fix.

-- 
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to