Re: [PATCH v3 2/5] mtrr, x86: Fix MTRR lookup to handle inclusive entry

2015-03-16 Thread Kani, Toshimitsu
> On Mar 16, 2015, at 3:50 AM, Ingo Molnar wrote: > > > * Toshi Kani wrote: > >> When an MTRR entry is inclusive to a requested range, i.e. >> the start and end of the request are not within the MTRR >> entry range but the range contains the MTRR entry entirely, >> __mtrr_type_lookup()

Re: [PATCH v3 2/5] mtrr, x86: Fix MTRR lookup to handle inclusive entry

2015-03-16 Thread Ingo Molnar
* Toshi Kani wrote: > When an MTRR entry is inclusive to a requested range, i.e. > the start and end of the request are not within the MTRR > entry range but the range contains the MTRR entry entirely, > __mtrr_type_lookup() ignores such a case because both > start_state and end_state are set

Re: [PATCH v3 2/5] mtrr, x86: Fix MTRR lookup to handle inclusive entry

2015-03-16 Thread Kani, Toshimitsu
On Mar 16, 2015, at 3:50 AM, Ingo Molnar mi...@kernel.org wrote: * Toshi Kani toshi.k...@hp.com wrote: When an MTRR entry is inclusive to a requested range, i.e. the start and end of the request are not within the MTRR entry range but the range contains the MTRR entry entirely,

Re: [PATCH v3 2/5] mtrr, x86: Fix MTRR lookup to handle inclusive entry

2015-03-16 Thread Ingo Molnar
* Toshi Kani toshi.k...@hp.com wrote: When an MTRR entry is inclusive to a requested range, i.e. the start and end of the request are not within the MTRR entry range but the range contains the MTRR entry entirely, __mtrr_type_lookup() ignores such a case because both start_state and

[PATCH v3 2/5] mtrr, x86: Fix MTRR lookup to handle inclusive entry

2015-03-13 Thread Toshi Kani
When an MTRR entry is inclusive to a requested range, i.e. the start and end of the request are not within the MTRR entry range but the range contains the MTRR entry entirely, __mtrr_type_lookup() ignores such a case because both start_state and end_state are set to zero. This patch fixes the

[PATCH v3 2/5] mtrr, x86: Fix MTRR lookup to handle inclusive entry

2015-03-13 Thread Toshi Kani
When an MTRR entry is inclusive to a requested range, i.e. the start and end of the request are not within the MTRR entry range but the range contains the MTRR entry entirely, __mtrr_type_lookup() ignores such a case because both start_state and end_state are set to zero. This patch fixes the