From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from terminus.zytor.com ([198.137.202.10]:58303 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759888Ab3EWWq7 (ORCPT ); Thu, 23 May 2013 18:46:59 -0400 Message-ID: <519E9C4C.3080305@zytor.com> Date: Thu, 23 May 2013 15:46:36 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 To: Matt Fleming CC: Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, Matt Fleming , Matthew Garrett , Seth Forshee , Jesse Barnes , stable@vger.kernel.org Subject: Re: [PATCH] x86/PCI: setup data may be in highmem References: <1369215782-32697-1-git-send-email-matt@console-pimps.org> In-Reply-To: <1369215782-32697-1-git-send-email-matt@console-pimps.org> Content-Type: text/plain; charset=UTF-8 Sender: linux-pci-owner@vger.kernel.org List-ID: On 05/22/2013 02:43 AM, Matt Fleming wrote: > From: Matt Fleming > > pcibios_add_device() assumes that the physical addresses stored in > setup_data are accessible via the direct kernel mapping, and that > calling phys_to_virt() is valid. This isn't guaranteed to be true on x86 > where the direct mapping range is much smaller than on x86-64. > > Calling phys_to_virt() on a highmem address results in the following, > Bjorn: yours or mine? -hpa