Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp403664pxb; Tue, 9 Feb 2021 03:29:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwTF6pLNb/eSKbUVOjJPUpkaL5D6dUcD7za0BOpTk7J0LwlBKib4ypmTeAcOu6TTX9yP8o X-Received: by 2002:aa7:da8b:: with SMTP id q11mr21641353eds.325.1612870190627; Tue, 09 Feb 2021 03:29:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612870190; cv=none; d=google.com; s=arc-20160816; b=SQngXc4uwqYwsZMI6FEINLk6lCMlrzgIXfs1IzrMa/eoU4E+9gt/QbV0CCLnStWGuv T1LxuO1613jPfjV4L82Bx2FVZA+cSEParUfn/Zngi2J8+ja9uxqwQS0A7674IUI2sXBD u+KdpgfRH7Y48Iz+qvF/f5VisB4h59cauDsnWwnCpG8UzqkdB+7nTP5cgbjO/+Q21SpZ J+qDY1Y+iLkM5BEzzL2FJC+g5hFhWqYOIcY/UZjcDQrFzQq61iYcttBjHoLLpD/AnIVQ wXhTvZwT41IvvGO75+DX8PKpznxtoUFlixNcRLJkXaJFHsmdlF5PKhCBbQcouLVqlQSG gS0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=1sjua9EJpcE2tjhPwahbEkwbGDMjoxV62Z8cxC9plso=; b=dC9ltD1lW6KBc6uTH2G97hF62McgJz4XZ0joqU8JEr9iifjDCrWSMurNUrzQC83XYd plmiu62xC4aHD62ay4ctT0oC0ElEw+18k4Qw2/uf4srAHGzX31PCzJVaHFLKD8nYU7WK a9aS+Y4JQ9AQLseMXw4IUWyAF7AtlMauv4bfRdtbT8ejhnO0n7J/wjd1MKCWvAlSF8f3 zW5oJFCU2fkZmla/McQcUKR3rLGPuDXody219LEByAznlUQeirfbsvyydgvibaZ3NKT4 +/rTeW6oZkx+tJSJjoofYfsTWXvtBjtVdChqOFZe18hM2eVnuLAjHd82E51LhpAR+mrc DgUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m24si13111644ejg.728.2021.02.09.03.29.27; Tue, 09 Feb 2021 03:29:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229558AbhBILZe (ORCPT + 99 others); Tue, 9 Feb 2021 06:25:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229733AbhBILYT (ORCPT ); Tue, 9 Feb 2021 06:24:19 -0500 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A4908C061794; Tue, 9 Feb 2021 03:23:19 -0800 (PST) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 053939200B4; Tue, 9 Feb 2021 12:23:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id F37559200B3; Tue, 9 Feb 2021 12:23:11 +0100 (CET) Date: Tue, 9 Feb 2021 12:23:11 +0100 (CET) From: "Maciej W. Rozycki" To: Christoph Hellwig cc: Thomas Bogendoerfer , Greg Kroah-Hartman , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: Re: [PATCH 5/6] driver core: lift dma_default_coherent into common code In-Reply-To: <20210208161043.GA14083@lst.de> Message-ID: References: <20210208145024.3320420-1-hch@lst.de> <20210208145024.3320420-6-hch@lst.de> <20210208161043.GA14083@lst.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 8 Feb 2021, Christoph Hellwig wrote: > > Do you need to have this verified anyhow? I only have a non-coherent 5Kc > > Malta though. > > If you get a chance to test this logic, that would be great. I'll try to give it a hit in the next few days then. Installed in my Malta I have a DEFPA, which is about as serious a DMA user as a piece of classic PCI hardware could be. I need to debug the issue of another DEFPA not working with my POWER9 system, possibly due to an IOMMU handling bug (hopefully not broken host hardware), so I'll take the opportunity and do it all at once. Maciej