H. Peter Anvin 7ed42a28b2 x86, boot: correct sanity checks in boot/compressed/misc.c
arch/x86/boot/compressed/misc.c contains several sanity checks on the
output address.  Correct constraints that are no longer correct:

- the alignment test should be MIN_KERNEL_ALIGN on both 32 and 64
  bits.
- the 64 bit maximum address was set to 2^40, which was the limit of
  one specific x86-64 implementation.  Change the test to 2^46, the
  current Linux limit, and at least try to test the end rather than
  the beginning.
- for non-relocatable kernels, test against LOAD_PHYSICAL_ADDR on both
  32 and 64 bits.

[ Impact: fix potential boot failure due to invalid tests ]

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-05-12 11:33:08 -07:00
..
2009-03-11 11:00:00 -07:00
2009-02-23 00:54:01 +01:00
2009-02-23 00:54:01 +01:00
2009-02-19 17:13:00 +01:00
2009-02-23 00:54:01 +01:00
2009-03-11 11:00:00 -07:00
2008-05-25 08:58:25 +02:00
2008-10-22 07:31:28 +02:00
2008-11-23 19:58:58 +01:00