Received: by 10.213.65.68 with SMTP id h4csp1600554imn; Mon, 19 Mar 2018 08:26:40 -0700 (PDT) X-Google-Smtp-Source: AG47ELuGFHxVEzN0ONKHPQJ8m3dWXEQw0ULyfr1qxvSePDGXLwPGoVMDOW3kK/bGLVUGRCdx1xnS X-Received: by 2002:a17:902:6c06:: with SMTP id q6-v6mr10520808plk.37.1521473200058; Mon, 19 Mar 2018 08:26:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521473200; cv=none; d=google.com; s=arc-20160816; b=T252W0DXN08ijo/zhnTVOfGnFFkPPU/pKoS3P/L9BMqHbJbCitMx8eshrLk73lmzKV NzXuZOkyeB7ebNAhTPMh/k/urlH7zy32b0UbAfdw7mSotBXOvwrqKZpA+qjD5E6Z0pFb PVOaftWh4SoruH9oBPYoH9TD+iSbmecca4DXKpqEuHLxllvMvsAr/aDRTJL3812/CPKn Z42h7HKQe6cd+BNAtzR36CN9hpsRSjXAT7mGJJ5N3ASHx4Ce2estdwi9C/xmxzuRj/XF eFOAByJoCWWQ3ChQaqwyx8H8nd4N8M2P5B+J1EKgvHUbeiokRHnLpPs7NTnQKgBBOuqW WUvw== 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=pX5Ijtr9YhyiB0uBliRPHvJBhDx+6PN28WyXQ+Ak8Tw=; b=jJEuiA9RWb3RWCh0i5wQojINtE+wzAm4cMS/9RAgk2yHARgYLWXY5c+LYU/PX6xOnW EY/rVf4Vq1ghLthkAtSRrdDJJkRurzw+z0WFaj0cjpVg5+Ny1+51qq7D4TCtVT7AmUtx 2GhYUxc2egRTfX5IkZVeocxZ/K/X33vztt2MQ9vIGjsYGh/pc6OwPqPbfs3fwp4mY0zt DuDIlcRgBG54/gpVcEWFMEAK7QbubWqxExeFFY6tRkEtP1gsygLlb+i/rABpxWDIeg6f HaebaGGZbXIvyY7SzosndWkpc+YRHGI/2D2xPBcOuX1k0enLgGdaSIta6h68+Jjx9aO9 qx7g== 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 o5si116841pgv.825.2018.03.19.08.26.25; Mon, 19 Mar 2018 08:26:40 -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 S1755821AbeCSPYo (ORCPT + 99 others); Mon, 19 Mar 2018 11:24:44 -0400 Received: from verein.lst.de ([213.95.11.211]:59280 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755793AbeCSPYn (ORCPT ); Mon, 19 Mar 2018 11:24:43 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 6B9337FDDF; Mon, 19 Mar 2018 16:24:42 +0100 (CET) Date: Mon, 19 Mar 2018 16:24:42 +0100 From: Christoph Hellwig To: Robin Murphy Cc: Christoph Hellwig , x86@kernel.org, Tom Lendacky , Konrad Rzeszutek Wilk , linux-kernel@vger.kernel.org, Muli Ben-Yehuda , iommu@lists.linux-foundation.org, David Woodhouse , Will Deacon , Catalin Marinas Subject: Re: [PATCH 12/14] dma-direct: handle the memory encryption bit in common code Message-ID: <20180319152442.GA27915@lst.de> References: <20180319103826.12853-1-hch@lst.de> <20180319103826.12853-13-hch@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 Mon, Mar 19, 2018 at 03:19:04PM +0000, Robin Murphy wrote: > As a heads-up, I've just realised there's now a silent (but build-breaking) > conflict with the current arm64 queue brewing here, as we've unfortunately > had to reintroduce ARCH_HAS_PHYS_TO_DMA as a means of being safe against an > ugly architectural corner case - currently commit 1f85b42a691c ("arm64: > Revert L1_CACHE_SHIFT back to 6 (64-byte cache line size)") in -next. Please revert that arm64 commit. This condition should be handled in common code as it is not arm specific. And next time please CC the iommu list and dma-mapping maintainers before doing such a change.