From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Date: Mon, 28 Aug 2017 06:26:29 +0000 Subject: Re: [PATCH 12/12] dma-mapping: turn dma_cache_sync into a dma_map_ops method Message-Id: List-Id: References: <20170827161032.22772-1-hch@lst.de> <20170827161032.22772-13-hch@lst.de> In-Reply-To: <20170827161032.22772-13-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Christoph Hellwig Cc: iommu@lists.linux-foundation.org, Marek Szyprowski , Robin Murphy , Michal Simek , David Howells , Guan Xuetao , Chris Zankel , Max Filippov , the arch/x86 maintainers , Linux MIPS Mailing List , "linux-ia64@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-xtensa@linux-xtensa.org" , Linux-sh list , "linux-kernel@vger.kernel.org" Hi Christoph, On Sun, Aug 27, 2017 at 6:10 PM, Christoph Hellwig wrote: > After we removed all the dead wood it turns out only two architectures > actually implement dma_cache_sync as a no-op: mips and parisc. Add s/no-op/real op/ > a cache_sync method to struct dma_map_ops and implement it for the > mips defualt DMA ops, and the parisc pa11 ops. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751169AbdH1G0e (ORCPT ); Mon, 28 Aug 2017 02:26:34 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:38014 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750825AbdH1G0a (ORCPT ); Mon, 28 Aug 2017 02:26:30 -0400 MIME-Version: 1.0 In-Reply-To: <20170827161032.22772-13-hch@lst.de> References: <20170827161032.22772-1-hch@lst.de> <20170827161032.22772-13-hch@lst.de> From: Geert Uytterhoeven Date: Mon, 28 Aug 2017 08:26:29 +0200 X-Google-Sender-Auth: RoLkdPQg1hiOK5xHOURWc5WjUms Message-ID: Subject: Re: [PATCH 12/12] dma-mapping: turn dma_cache_sync into a dma_map_ops method To: Christoph Hellwig Cc: iommu@lists.linux-foundation.org, Marek Szyprowski , Robin Murphy , Michal Simek , David Howells , Guan Xuetao , Chris Zankel , Max Filippov , "the arch/x86 maintainers" , Linux MIPS Mailing List , "linux-ia64@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-xtensa@linux-xtensa.org" , Linux-sh list , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christoph, On Sun, Aug 27, 2017 at 6:10 PM, Christoph Hellwig wrote: > After we removed all the dead wood it turns out only two architectures > actually implement dma_cache_sync as a no-op: mips and parisc. Add s/no-op/real op/ > a cache_sync method to struct dma_map_ops and implement it for the > mips defualt DMA ops, and the parisc pa11 ops. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds