From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH 1/2] resources: set type of new resource returned by __request_region() Date: Mon, 21 May 2012 15:04:51 +0200 Message-ID: <20120521130451.GK2313@8bytes.org> References: <20120518231238.31187.44571.stgit@bhelgaas.mtv.corp.google.com> <20120518231832.31187.10630.stgit@bhelgaas.mtv.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20120518231832.31187.10630.stgit-1RhO1Y9PlrnlUACayq9hv/yj43VRqXoZVpNB7YpNyf8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Bjorn Helgaas Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Ingo Molnar , David Woodhouse , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Suresh Siddha List-Id: iommu@lists.linux-foundation.org On Fri, May 18, 2012 at 05:18:32PM -0600, Bjorn Helgaas wrote: > Previously we returned a new struct resource with only IORESOURCE_BUSY > set (and possibly IORESOURCE_MUXED or IORESOURCE_EXCLUSIVE), but no > MEM/IO/etc. bits set. The new resource should inherit the type of > its parent. Should it? What about IORESOURCE_WINDOW for example? Any particular reason for this change to the interface of the __request_region() function? Joerg