Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932487AbaKMKcR (ORCPT ); Thu, 13 Nov 2014 05:32:17 -0500 Received: from mail.emea.novell.com ([130.57.118.101]:51276 "EHLO mail.emea.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932241AbaKMKcQ convert rfc822-to-8bit (ORCPT ); Thu, 13 Nov 2014 05:32:16 -0500 Message-Id: <546496BD020000780004721D@mail.emea.novell.com> X-Mailer: Novell GroupWise Internet Agent 14.0.1 Date: Thu, 13 Nov 2014 10:32:13 +0000 From: "Jan Beulich" To: "David Vrabel" Cc: , "Thomas Gleixner" , "Greg Kroah-Hartman" , , "Boris Ostrovsky" , "Ingo Molnar" , , "H. Peter Anvin" Subject: Re: [Xen-devel] [PATCH 2/3] x86: allow dma_get_required_mask() to be overridden References: <1415805906-27316-1-git-send-email-david.vrabel@citrix.com> <1415805906-27316-3-git-send-email-david.vrabel@citrix.com> <546495280200007800047203@mail.emea.novell.com> In-Reply-To: <546495280200007800047203@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>> On 13.11.14 at 11:25, wrote: >>>> On 12.11.14 at 16:25, wrote: >> --- a/arch/x86/include/asm/device.h >> +++ b/arch/x86/include/asm/device.h >> @@ -13,4 +13,6 @@ struct dev_archdata { >> struct pdev_archdata { >> }; >> >> +#define ARCH_HAS_DMA_GET_REQUIRED_MASK > > Is there a particular reason you put this here rather than in > dma-mapping.h? Never mind - I see you need it that way so that struct dma_map_ops gets the get_required_mask field defined, other than e.g. ia64 which handles through another abstraction layer. Jan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/