From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753565AbbCKP16 (ORCPT ); Wed, 11 Mar 2015 11:27:58 -0400 Received: from g4t3426.houston.hp.com ([15.201.208.54]:53539 "EHLO g4t3426.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753315AbbCKP1w (ORCPT ); Wed, 11 Mar 2015 11:27:52 -0400 Message-ID: <1426087626.17007.317.camel@misato.fc.hp.com> Subject: Re: [PATCH 2/3] mtrr, x86: Fix MTRR lookup to handle inclusive entry From: Toshi Kani To: Ingo Molnar Cc: akpm@linux-foundation.org, hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, arnd@arndb.de, linux-mm@kvack.org, x86@kernel.org, linux-kernel@vger.kernel.org, dave.hansen@intel.com, Elliott@hp.com, pebolle@tiscali.nl Date: Wed, 11 Mar 2015 09:27:06 -0600 In-Reply-To: <20150311063205.GC29788@gmail.com> References: <1426018997-12936-1-git-send-email-toshi.kani@hp.com> <1426018997-12936-3-git-send-email-toshi.kani@hp.com> <20150311063205.GC29788@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2015-03-11 at 07:32 +0100, 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() ignores such case because both > > start_state and end_state are set to zero. > > 'ignores such a case' or 'ignores such cases'. Changed to 'ignores such a case'. > > This patch fixes the issue by adding a new flag, inclusive, > > s/inclusive/'inclusive' Updated. Thanks! -Toshi