From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262350AbVF2BAU (ORCPT ); Tue, 28 Jun 2005 21:00:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262336AbVF2A6k (ORCPT ); Tue, 28 Jun 2005 20:58:40 -0400 Received: from gate.crashing.org ([63.228.1.57]:7839 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S262332AbVF1X71 (ORCPT ); Tue, 28 Jun 2005 19:59:27 -0400 Subject: Re: [PATCH] ppc/ppc64: Fix pci mmap via sysfs From: Benjamin Herrenschmidt To: Greg KH Cc: Andrew Morton , Linux Kernel list , linux-pci , linuxppc64-dev In-Reply-To: <20050628075140.GF3577@kroah.com> References: <1119836190.5133.59.camel@gaston> <20050626185727.0ce92772.akpm@osdl.org> <1119838264.5133.76.camel@gaston> <20050628075140.GF3577@kroah.com> Content-Type: text/plain Date: Wed, 29 Jun 2005 09:53:59 +1000 Message-Id: <1120002840.5133.216.camel@gaston> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > > This implement the change to /proc and sysfs PCI mmap functions that we > > discussed a while ago, that is adding an arch optional > > pci_resource_to_user() to allow munging on the exposed value of PCI > > resources to userland and thus hiding kernel internal values. It also > > implements using of that callback to sanitize exposed values on ppc an > > ppc64, thus fixing mmap of PCI devices via /proc and sysfs. > > Hm, did I just send the right one to Linus? I'll check & send any additional fix that may be necessary (I just got noticed that it breaks iSeries ... :) Ben.