From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4EF03C3DA4A for ; Thu, 1 Aug 2024 13:41:31 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WZVVf0NBhz3fT0 for ; Thu, 1 Aug 2024 23:41:30 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lst.de (client-ip=213.95.11.211; helo=verein.lst.de; envelope-from=hch@lst.de; receiver=lists.ozlabs.org) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4WZVVB4fvhz3d9g for ; Thu, 1 Aug 2024 23:41:05 +1000 (AEST) Received: by verein.lst.de (Postfix, from userid 2407) id B4F6268D0A; Thu, 1 Aug 2024 15:40:57 +0200 (CEST) Date: Thu, 1 Aug 2024 15:40:57 +0200 From: Christoph Hellwig To: Stephen Rothwell Subject: Re: linux-next: runtime warning after merge of the dma-mapping tree Message-ID: <20240801134057.GA2245@lst.de> References: <20240801151455.01f08778@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240801151455.01f08778@canb.auug.org.au> User-Agent: Mutt/1.5.17 (2007-11-01) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-scsi@vger.kernel.org, Linux Kernel Mailing List , Linux Next Mailing List , Robin Murphy , PowerPC , Christoph Hellwig , Marek Szyprowski Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Ok, I guess this is what Robin was referring to. A midlayer like SCSI really shouldn't directly call dma layer functions without knowing that the underlying bus is DMA capable. I'll see what I can do about it, and in the meantime drop this patch and the companion from the dma-mapping tree.