Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp7137332ioo; Thu, 2 Jun 2022 23:56:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9ER3pFTZTsIqcxl9oo92lp9SW/FYdEg6xWc5ZKi1BfjziyY66NfjiOKO63rKw1XZaSZeY X-Received: by 2002:a17:903:2349:b0:163:d235:71f8 with SMTP id c9-20020a170903234900b00163d23571f8mr8886206plh.120.1654239366095; Thu, 02 Jun 2022 23:56:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654239366; cv=none; d=google.com; s=arc-20160816; b=XJyq4Pu9k6PgAjSd3lPKysf0GYGx2U5ErJi016ym8IcVqZUenSar4wfT7OgoW5ALrc wB5/71zkumjQfH3W4J+lwey3VEzcA7eKTkpd9lq4zAMZAbg1rRKdRggn8L13Ktz8Zulz Xr0mhn5Ivs/Zbn6tXjATnznkPgRKXfjO9aFP1XU6HmNEG/W9F7MTE3lRYymR0AkmQA4C HHOpxvagRKfcwLhWYLvhVfV029TUT9edG62uimV7AOC/SkOE3NzlTwKCxK+2l80rNVMZ /VJvAqOvFzXtSZsVKGwsTg4gWn90bHuf08lYMVJLyAf1f10EDw/7XgS6Qqhn8lM1+7Cu RWCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=spjc1NV0tUcIwlyH3r+o1pjArgZsS0mBD5aKUtZaglY=; b=y89QRa16plMCDD54eBVG9tID77n2BHjW/tTcclMgmHi2N9PXUERGSgblVkfXIRADc9 1VjjimxPD1zF+SlaiFozGS7XKGCXHj0ufzoTgAmyyXY6sjDBx3vKUWJqjhLKHqezMs7Z 4oSQvHJAI1iIrhpWfc8junLL58fn/RAIW4yYfAfSGPWRT2vLxXaOVzIKLgCWdc8pspvh 0t7maIRV8djMcwYxBy4oHMNMP3QbLUovLFOYodqYjE9mt4XiIbEHmSObjap6D2dShy7e BMaYpkWWIlpN0UXYfDS3/c1iUDPxfXnTEh3aYE2NXf8vTMHLyKwlb3cWJW/C/U+O8FAu KeZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=a8cqrPdT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e13-20020a170903240d00b00161874c8db0si9340837plo.34.2022.06.02.23.55.49; Thu, 02 Jun 2022 23:56:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=a8cqrPdT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234906AbiFBMTm (ORCPT + 99 others); Thu, 2 Jun 2022 08:19:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232328AbiFBMTl (ORCPT ); Thu, 2 Jun 2022 08:19:41 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92BCBE0D0 for ; Thu, 2 Jun 2022 05:19:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=spjc1NV0tUcIwlyH3r+o1pjArgZsS0mBD5aKUtZaglY=; b=a8cqrPdTs/qxidHZhDFLhcaUr+ rWxaXcKx6i+s1vcq8M7kVMAxI7iOCkQJv1b9eR59IFfXAhvJBtSMMmCe6GY3dYGLlYpd4PC5ZB4SY NdFZ7oVhQD6ELNWiK62a2SS4CeAXaQ2VAzHa+Vk1+TfaeGRoZ2gQjOkO66YR+sULeV4SYyfSq2nBh ljG7J1vhQWz/RNshKWkiNipOOJkRNvJZ6oqIDTtzBTA2ZKxX7Ok7jfPzTbAXk/G/KhfkS8R8S2+IY Hhe0KVRJgiGnaAx6aM4FaWN3AAOJtgVVSxQVtlc1mZCdJa/r12d55dMaVQlIgVtMpfSYJ98FQMVot 7tx/UdJg==; 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.