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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1E9B2C4332F for ; Mon, 3 Oct 2022 07:31:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=L00WQ7uA1hMNUK/zR0l8WpuFpI6VkSq39KsHM8o2P4c=; b=IFTCtXeRlbxAdb 2A4HUdTe7Kw0AjxUnY4EpTBWXC6RKOCfzRjueYQkX+1W/c696RFLvgcxLHJG2FM+ho6hTvC/ZtA1h gzHS072IXj4z2p1WxTgr1vp+yKuFfsfd7b69Ji7OTm7mH024CZCp62qYz+4+cvs3mrmcfjQJ/Tzcu SpaAl2sThog/BLilzFjodyGEjbuEzzE8FAcmp9Los9JKL1PmwRtzvJY/Ka8ByteIhzjFAU8R0RADX tvdfRvDIc2mlZA0M/9Yhzz69V4e7b7j80CkX/6iGzn+v5j5ll+P+Yr/qmoeBGj6K36f76VdhHK1T+ 4qcaLY+KHu689wBHYuGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofFuX-004P2t-MP; Mon, 03 Oct 2022 07:30:45 +0000 Received: from verein.lst.de ([213.95.11.211]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofFuV-004P24-3A for linux-arm-kernel@lists.infradead.org; Mon, 03 Oct 2022 07:30:44 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id 45A4B68BEB; Mon, 3 Oct 2022 09:30:38 +0200 (CEST) Date: Mon, 3 Oct 2022 09:30:37 +0200 From: Christoph Hellwig To: Marek =?iso-8859-1?Q?Beh=FAn?= Cc: Robin Murphy , Christoph Hellwig , Arnd Bergmann , Andre Przywara , Marc Zyngier , Linus Torvalds , Russell King , Andrew Lunn , Gregory Clement , Greg Kroah-Hartman , iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org Subject: Re: REGRESSION in 6.0-rc7 caused by patch "ARM/dma-mapping: use dma-direct unconditionally" Message-ID: <20221003073037.GB2108@lst.de> References: <20220930151028.0e518421@dellmb> <630be11f-09ef-02d4-69f7-c7880ae5674c@arm.com> <20220930165234.729ad68c@dellmb> <20220930170205.490f1a6b@dellmb> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220930170205.490f1a6b@dellmb> User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221003_003043_299539_E96A6BC9 X-CRM114-Status: GOOD ( 10.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Sep 30, 2022 at 05:02:05PM +0200, Marek Beh=FAn wrote: > It seems that the null pointer dereference comes from the data variable > having zero value. We assign > data =3D (u8 *)(uintptr_t)rx_desc->buf_cookie; I never see any assignment to ->buf_cookie in the driver, what am I missing? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel