Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1985985imm; Sun, 27 May 2018 22:29:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZql/JnIAevO0QBsbehKk4FHOmaTluGn2adPFRwmMqOrCIvdxVTpDdXJWbAI32KCMso1b24n X-Received: by 2002:a17:902:aa04:: with SMTP id be4-v6mr12209766plb.20.1527485356832; Sun, 27 May 2018 22:29:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527485356; cv=none; d=google.com; s=arc-20160816; b=vDxyD1HZSrGmPUzaLGALljYA4T0baMyqknZth/PHNh7mo58kP3GcKhnDrQy1lnL6mo fA2vGVFiSmhANAcfXxqjA4SKK9EXIgrVIxLp2vT0uQSLvLF7g5En7BnqIAZcx0R5ckP1 iVgFAIjKcSQiaXl7D6VQBXFyIH4/Y2PjB+BHfLTM7y/hwM6yaorrOyLrtHfwya1WAast cZArAC5YpTMFCklevzdQvouCdzpDOhJ/Istxn+FXgiAQqWIXZv3lz6gCg1cOu/Aswdbw x0PXOVmDw9wol+/x+KZrxap6s9sMTWEp7JY1YtXglQB9Y3mN0fduVRppwlj7bbXMW0NL PgUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=E4vdeXjjG76/fNbYBrB6YjYLKygV/ZNI3ibGaNdTtoE=; b=WOot8n6XbvQetMZCBSdRPkCNlT4OhjIrcIwbkIsxJk7DLp2aCcCeobHMIhM26L2zyz HdqzZ0qdL11IgdmqvAAEZOQtc2z/xIlG3OKPzRHcdHBravbSCcTRRa+gb2hgxS6AGsQ9 cQPEZ3Dq+dx1q1AN6q0p4XVyagV04v+CDUZh4GF7kn9dPAs8W7qq2nn2RPO7BDHMy4I5 Fehlpphailmc90ZKrzday8TG0+OFSFRWsaBayW6b8KO1Xv2TzM4wvUh2prqCNaVnbfUn DsCGfh4ZfT0Dk1Rt72g8XawSuwNXamCTwLmg4Ia2slEr1i8eWiQUV5FwM+QwFDZ5zm8A yMug== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n4-v6si29853853pfa.66.2018.05.27.22.29.02; Sun, 27 May 2018 22:29:16 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753253AbeE1F1k (ORCPT + 99 others); Mon, 28 May 2018 01:27:40 -0400 Received: from verein.lst.de ([213.95.11.211]:46739 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751399AbeE1F1h (ORCPT ); Mon, 28 May 2018 01:27:37 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 63BBB68E42; Mon, 28 May 2018 07:33:38 +0200 (CEST) Date: Mon, 28 May 2018 07:33:38 +0200 From: Christoph Hellwig To: Guenter Roeck Cc: Finn Thain , Joshua Thompson , Greg Ungerer , Geert Uytterhoeven , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, Christoph Hellwig , iommu@lists.linux-foundation.org Subject: Re: [RFC PATCH] m68k: set dma and coherent masks for Macintosh SONIC based ethernet Message-ID: <20180528053338.GA3195@lst.de> References: <1527378785-13326-1-git-send-email-linux@roeck-us.net> <20180527041505.GB31985@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180527041505.GB31985@roeck-us.net> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 26, 2018 at 09:15:05PM -0700, Guenter Roeck wrote: > Good point. Maybe it would be better to limit the warning to SMP systems > instead of (unnecessarily) fixing drivers all over the place ? No. The coherent_dma_mask is the mask used for dma_alloc_coherent and dma_alloc_attrs. It has nothing to do with cache coherent in SMP systems.