Received: by 10.213.65.68 with SMTP id h4csp842180imn; Tue, 27 Mar 2018 09:47:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+q98+LyNJPjk4t5yr95/H64kjWyDE9nfImoXVqqfopAiGWkENjI2WfNrQn1hNRnruRbF+v X-Received: by 2002:a17:902:3225:: with SMTP id y34-v6mr94757plb.180.1522169246823; Tue, 27 Mar 2018 09:47:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522169246; cv=none; d=google.com; s=arc-20160816; b=q+ND0u2lCdVYG/ELea22yWM5zbc1RLrEQhsKlUGCwU0tU35T1BB8hisVEKJQB3KL5I +BmQqAfHSjB765+aLewjGs+7tvfvohNp5uXDPZ8OGDCf9Hum5jLe2++0uv4CDHjblmvZ elXQqd+JdsBjzrRRcQsM4SBtIIWzx0NGPS8HHk1R5YkrfajCCGTyTbPLrf/uJIp7Ah5X UJEWGmJ28ExcA7woFsHFpLT0vx++FoFv/Ht8S+slWtkVODn5VnyH92d1AOQZXlFnTdtn boU9/kp2GsRk1Kxlns4j7qUrUIhKVrfdJihT7jTy94oTZIc3MNuJ6ZdLjPwdj8ATC/fe 2+QA== 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=Iu6Ozn6f2fV6+UjEJqMrA3PsDBfXo04tFuE1oKj0xPE=; b=aawZ1GsltNLDH4tB9TsyyjJ8pXg89voaJ7+OZqqkW0Kg3FePrFjwywgy1sFBcBxum7 yku93G1EZgCPGLwVFO2z3sLkSaXHeWMdlPhTtDOKYvqXXja95dQrmASFfb5AXUSms5mA Zmt+CJs+lIrgha8ZoFnt3/NdEm4qV3HySY7OKpsT/9dJO5ZJeS4XIWd9Pl3ZtLmN8SMR IppuP1UorhiibJ8uJr/2NFTIFCw82IdAcymyBwm5gTY3czSDOmpFFWBsUNnWnk7+/owd JHPHlew4eAfAIMjD9iKrFYrB/XS16aQf4xR9nGWBqaUmaAXs372meOh6Ex6xBiQqn/Fo WpfA== 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 f9-v6si1616196pln.542.2018.03.27.09.47.12; Tue, 27 Mar 2018 09:47:26 -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 S932441AbeC0QpJ (ORCPT + 99 others); Tue, 27 Mar 2018 12:45:09 -0400 Received: from verein.lst.de ([213.95.11.211]:41324 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755713AbeC0QpH (ORCPT ); Tue, 27 Mar 2018 12:45:07 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 9365368D36; Tue, 27 Mar 2018 18:45:05 +0200 (CEST) Date: Tue, 27 Mar 2018 18:45:05 +0200 From: Christoph Hellwig To: Sebastian Ott Cc: Christoph Hellwig , Jesper Nilsson , Geert Uytterhoeven , linux-kernel@vger.kernel.org Subject: Re: dma_zalloc_coherent broken with 57bf5a8963f80fb3828c46c3e3a5b2dd790e09a7 Message-ID: <20180327164505.GA10522@lst.de> References: <20180327143341.GA4968@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Tue, Mar 27, 2018 at 05:24:10PM +0200, Sebastian Ott wrote: > What do you mean by current implementations? Arch specific code? At least > on s390 we don't do that. dma-mapping.h doesn't do it either. The arch implementations should do it. Seems like s390 and potentially a few others don't. I'm a little slow due to a cast on one arm, but I'll do an audit and will fix up anything I'll find.