From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932891AbeE2DX6 (ORCPT ); Mon, 28 May 2018 23:23:58 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:32928 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932475AbeE2DXt (ORCPT ); Mon, 28 May 2018 23:23:49 -0400 X-Google-Smtp-Source: AB8JxZq0/RElQt/Ibwj2jl934O2woJTwplQ5b8Hi4Mb/9+5ixhnHadDprhgT7gMP0gSfWirAq/FrAQ== Subject: Re: [RFC PATCH] m68k: set dma and coherent masks for Macintosh SONIC based ethernet To: Finn Thain , Geert Uytterhoeven References: <1527378785-13326-1-git-send-email-linux@roeck-us.net> <55c1c33b-4a34-bd72-57de-577ce8d95e0b@gmail.com> <2ffd0de6-e8d6-6449-7c05-cbbfd8a99a97@gmail.com> Cc: Christoph Hellwig , Guenter Roeck , Joshua Thompson , Greg Ungerer , linux-m68k , Linux Kernel Mailing List From: Michael Schmitz X-Enigmail-Draft-Status: N1110 Message-ID: Date: Tue, 29 May 2018 15:23:39 +1200 User-Agent: Mozilla/5.0 (X11; Linux ppc; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Finn, Am 29.05.2018 um 14:15 schrieb Finn Thain: > > Since an arch gets to apply limits in the dma ops it implements, why would > arch code also have to set a limit in the form of default platform device > masks? Powerpc seems to be the only arch that does this. One of Christoph's recent patches removed most of arches' dma ops, replacing them by one generic implementation instead. m68k was one of the affected arches. I concede his patch series is experimental still and not in mainline, but may be included at some time. Otherwise - your patches, so if you prefer to have each driver handle this on an as-needed basis, I'm not objecting. Cheers, Michael