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 46756C43334 for ; Thu, 2 Jun 2022 12:20:19 +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=1BysNyX7FoZ5IJq4lb2GnucQ9dGR4HgrwjoEBdjdqJA=; b=LJl3KqRq7TNd7o YKEYWusrz6P6Bq4ptZaq7MCZIs3BKWQHLuDw1oOidAiq8g3KOlueUtfYlsg/MehFH7WXv0+u72pSz AqEZFUBI/TTssORppOzvOsMwRZyqLc9sP+iOjA4ia9kR+3Lp0c+KVNr3Fm+KFIZMZaK3q9Zswe35F 80xos1YLZR0RPokJIRhBO/9crF7KwpnlbMOaiW3n3gBfumQoWJF/qS03uoeCIJQnX2Cjy4BK3FzFC b2QQM2nVrG5firIDlSC4ccmztax/wfsPg7NXCJ8mAFuCl/+hUjrvgF804Ac5nenlPavoSkky6oUWW nWywfZr+U/riNVRcfHrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwjnI-003B9L-Hr; Thu, 02 Jun 2022 12:19:16 +0000 Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwjnE-003B8U-45; Thu, 02 Jun 2022 12:19:12 +0000 Date: Thu, 2 Jun 2022 05:19:12 -0700 From: Christoph Hellwig To: Arnd Bergmann Cc: Linus Torvalds , Keisuke Nishimura , Kentaro Takeda , Tetsuo Handa , Ayush Sawal , Vinay Kumar Yadav , Rohit Maheshwari , Julia Lawall , Jani Nikula , Sudip Mukherjee , Russell King , Viresh Kumar , Shiraz Hashim , Ville =?iso-8859-1?Q?Syrj=E4l=E4?= , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel , Linux Kernel Mailing List , Linux ARM , SoC Team Subject: Re: mainline build failure due to f1e4c916f97f ("drm/edid: add EDID block count and size helpers") Message-ID: References: <91E67F46-A3C7-4159-9E0C-C6C6306F3669@inria.fr> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jun 02, 2022 at 09:38:56AM +0200, Arnd Bergmann wrote: > - dma_addr_t/phys_addr_t are sometimes put into hardware data > structures in coherent DMA allocations. Putting a dma_addr_t into a hardware data structure is broken. dma_addr_t is the in-memory type, for the hardare it should always be a __le/__be type of the actual width that the particular piece of hardware uses. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel