android_kernel_xiaomi_sm8350/arch/i386/kernel/cpu/mtrr
Andreas Herrmann 6c5806cae5 [PATCH] i386: fix size_or_mask and size_and_mask
mtrr: fix size_or_mask and size_and_mask

This fixes two bugs in /proc/mtrr interface:
o If physical address size crosses the 44 bit boundary
  size_or_mask is evaluated wrong.
o size_and_mask limits width of physical base
  address for an MTRR to be less than 44 bits.

TBD: later patch had one more change, but I think that was bogus.
TBD: need to double check

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Andi Kleen <ak@suse.de>
2007-02-13 13:26:23 +01:00
..
amd.c [PATCH] i386: fix MTRR code 2006-12-07 02:14:09 +01:00
centaur.c [PATCH] i386: fix MTRR code 2006-12-07 02:14:09 +01:00
cyrix.c [PATCH] i386: fix MTRR code 2006-12-07 02:14:09 +01:00
generic.c [PATCH] i386: fix MTRR code 2006-12-07 02:14:09 +01:00
if.c [PATCH] mark struct file_operations const 2 2007-02-12 09:48:44 -08:00
main.c [PATCH] i386: fix size_or_mask and size_and_mask 2007-02-13 13:26:23 +01:00
Makefile
mtrr.h [PATCH] i386: fix size_or_mask and size_and_mask 2007-02-13 13:26:23 +01:00
state.c