Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2964771imm; Mon, 28 May 2018 21:07:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZryUSfrH1p20cCV5uK7/z8mo7WB1m90hJnS8esUIlLetQyYTKWoIwUmE08+jMBl2guycOvz X-Received: by 2002:a17:902:848b:: with SMTP id c11-v6mr16061121plo.132.1527566848451; Mon, 28 May 2018 21:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527566848; cv=none; d=google.com; s=arc-20160816; b=oH4VK4Ga+09Yz3oBG0MP14r9/EBEuxcpYaLZYg+vP7HvRUaOPd03WPl1ljfmX8FiSS djpeUJM8SwCu9ClFGAIFpNQ/WwF5odECJgfBmsIuqTKkQewDaYX+SdOQTylkBn/pc1On i6r12rGXapVFUWayQ8e/IACErxK4G4uWRjmnqsCMQyzRnJjfljwVJFenyxy2QHW89Rx+ J5JEpQb5HOH2YszpefmVbpRFbzRNVxUWcY3VqXFytFEW6wV5vULgf3eZX/PnoB9gVEyn 5gUuP6deMXVdS9xPVdX9yA/pe/12OJmw1jSi8hMTD2uACJfBdemuKLjGBjaH+U/yPYp0 P+Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=KWg4P4lcHkChtMEPwXueVp54V+FF2L19N4tPD9tG6Xc=; b=XvRqUGazcWua1bDveMQFSa44fAVmrLyACfxXLFZz+ZGQ4R+QE8i974otfX4Z/9cgey wDGlMvVXUh/mY6LtG20rJ8pHfNvSKs0rXycR/qtggDj3IkCz5gLgK3S/2u2IGX6nwm/x NYe6VDSeURAvnZ7rr9zAcrks1oGr/C42g9g5o0ASyZJKIU80bfwSIMruiltAn+Oil5W/ XHppuCgGbXZjNFI/V6mRzKJqzeIw5yxKArPZFK1pZlBVRR+2ynC1AUXPwtxhi79lYp4S +A98Ci2qV62KHXh64So/j+y/k0yASHVGIFV/JF8nBL9inRUX2wEnKAgOCx42rVvppB4n erEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dDADm0CR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y65-v6si31383338pfy.230.2018.05.28.21.07.11; Mon, 28 May 2018 21:07:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dDADm0CR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932121AbeE2DX4 (ORCPT + 99 others); Mon, 28 May 2018 23:23:56 -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 Received: by mail-pf0-f195.google.com with SMTP id a20-v6so6602445pfo.0 for ; Mon, 28 May 2018 20:23:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=KWg4P4lcHkChtMEPwXueVp54V+FF2L19N4tPD9tG6Xc=; b=dDADm0CReyKk3XXRS4hjMa2DgefttI97XSwrEsRgg+BGyyIFtdOoCGmm5VeEl7hQ/7 3n2oapE1mp6SCIlc8vSgQtkMo4nPDlv5bQzyp9PJIXjn55OHpFAh2ElQqhSziXMgfBQH QLXnHZO1fNjyNR+WwfqMCkgEgaSTSv1kL0cR4yoIPGBnOAUdMkhN9aL2TUw6KUGJg73j XBsbQA5IScYQVwEBtWTHTxe2TI0pjAY69ft8qnNRFz4fZCLmpl4/Zr/jHrp50+l0PgqF I948FI2jqxzJZKqTSKq7BfUMzukv0bRpWPznw/2ZiUL15phlxEWr+Cn3JQ71EfwHe4VI aibQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=KWg4P4lcHkChtMEPwXueVp54V+FF2L19N4tPD9tG6Xc=; b=CHk8/591a2lb8ypT3RXFTC7UdAA/uyk7OqYCZHQ4g4nlyxQHlhAX84QUPs1nsTWmHU ZsoDZwTSzUOxQdCZBRpR+p43CNeSoZEEOKn1TfEcwh066KO91N/PyPJ/ZgDHBCTL35aP MbSfUAwPutphf+2WBScTiviqWb5P+yoXM2EaN4RFcjIA+8kp/+LeDtBfwUV0W1MEzW/m 7MAomG5FQXet84quIe3PtNJU8/c1tm26pj2qNA6m3OWu0P5JXUpEm8geWjHrCyhT8KIq eivv216ZU4ei3ewZMnpe254bnUWXj+P1JbOmposSKvOTKOT0kTKMSfL0emP7hdteDbSO RMYw== X-Gm-Message-State: ALKqPwfCSIPCE+VrJciPqKIIAV0KnKWXeBU3z1XIlNhOE6mEr082Pif8 OK/iW9iwPtZmaaqtC1qD7NZ0ag== X-Received: by 2002:a65:4887:: with SMTP id n7-v6mr12620057pgs.215.1527564228839; Mon, 28 May 2018 20:23:48 -0700 (PDT) Received: from [192.168.1.101] (222-154-41-72-adsl.bb.spark.co.nz. [222.154.41.72]) by smtp.gmail.com with ESMTPSA id r84-v6sm56720985pfa.125.2018.05.28.20.23.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 May 2018 20:23:48 -0700 (PDT) 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 Precedence: bulk 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