From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752647AbbCXWn1 (ORCPT ); Tue, 24 Mar 2015 18:43:27 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:38102 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751991AbbCXWnZ (ORCPT ); Tue, 24 Mar 2015 18:43:25 -0400 Date: Tue, 24 Mar 2015 15:43:24 -0700 From: Andrew Morton To: Toshi Kani Cc: hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, linux-mm@kvack.org, x86@kernel.org, linux-kernel@vger.kernel.org, dave.hansen@intel.com, Elliott@hp.com, pebolle@tiscali.nl Subject: Re: [PATCH v4 0/7] mtrr, mm, x86: Enhance MTRR checks for huge I/O mapping Message-Id: <20150324154324.f9ca557127f7bc7aed45a86b@linux-foundation.org> In-Reply-To: <1427234921-19737-1-git-send-email-toshi.kani@hp.com> References: <1427234921-19737-1-git-send-email-toshi.kani@hp.com> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Mar 2015 16:08:34 -0600 Toshi Kani wrote: > This patchset enhances MTRR checks for the kernel huge I/O mapping, > which was enabled by the patchset below: > https://lkml.org/lkml/2015/3/3/589 > > The following functional changes are made in patch 7/7. > - Allow pud_set_huge() and pmd_set_huge() to create a huge page > mapping to a range covered by a single MTRR entry of any memory > type. > - Log a pr_warn() message when a specified PMD map range spans more > than a single MTRR entry. Drivers should make a mapping request > aligned to a single MTRR entry when the range is covered by MTRRs. > OK, I grabbed these after barely looking at them, to get them a bit of runtime testing. I'll await guidance from the x86 maintainers regarding next steps?