Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5784368ioo; Wed, 1 Jun 2022 12:31:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8h6Z90gHUXegtdlqLE95/5nSJvBSfBQ9juMqr3RIJiS9U+4Ywc27Y6aeRnxfcotovE0r/ X-Received: by 2002:a05:6a00:84c:b0:519:1f69:2224 with SMTP id q12-20020a056a00084c00b005191f692224mr1059256pfk.13.1654111906863; Wed, 01 Jun 2022 12:31:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654111906; cv=none; d=google.com; s=arc-20160816; b=lZAL5JgDYKU9bmYgT0xTyeukx/fzcgQz+o9guQAsfkS3l/cTMbnDI9pePzFOhUlDhV zows6kaSZ3tujrfYK+zRW8B8NXR1B0RUhfqZTq+IvYNbKw7/lKD3WYwgQZLCUvqyl+1x eartRFTDAZY2EXqIYTp1jewu/Nob5Berisv1vvvI63nDwDmGtgTTTyXEPVbhXfqjC+2u Qc5nMZWmF/QAjZsz69FBmoPXmIJVuf1oGGUHDodZ3r82HASdSl2eOoGqjTIFICsOEwXh 7ZdVdOMAUK3q9y2TR9UH9kEPA7Aj2B8SHcZaJ2HOFbIpAWOi20k3xR2H4VAsO+CUYwlp BfDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=UykJ1IPICNFbfEo420X6Xx726q411APwSMuLoQTgdDo=; b=pP3+obWD/VV11SyW3kk53q8KbfiBvVQcKcXQiEEvkd1D0EqlK1D3VsMvZgVUT9wDCR QglAveGbbYwK7N3TSJE1GePpsDAJ1e/W2AbuTInVEkHDVL70EuYQumSKat5ZK0IlT/zX AjCpbzDSg90iWRg+63blymJSONTb+sOUP5r8pvKSqmrGNc4AGSoAImZ2a62uRLvUHIMy nALN++lIs+AGhFW+vHqScAbzpUvQ5xLTu0BWzRi8cE5Som1zxMECfXTzhN8sH377P9tu xrtvBO3Iquwge9Zw/MAQIHbBo975TO9PDgWN7BnaWOX86dhW9u7PB1M4Zeo74GXU0mAq okhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="dMiLt0/F"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bg10-20020a1709028e8a00b0016403c5eaa2si3026231plb.28.2022.06.01.12.31.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 12:31:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="dMiLt0/F"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 398123C492; Wed, 1 Jun 2022 12:02:04 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242170AbiE3Q4R (ORCPT + 99 others); Mon, 30 May 2022 12:56:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241161AbiE3Q4P (ORCPT ); Mon, 30 May 2022 12:56:15 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04E0FA777C for ; Mon, 30 May 2022 09:56:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UykJ1IPICNFbfEo420X6Xx726q411APwSMuLoQTgdDo=; b=dMiLt0/Fv3cJXwMowD9p3ULFzI yzsGHXFL2yUq6S8ZTXuMQ0q5JZbcQCSd0umLh+lXFdY+97OggxB2MlCPgF2OGicJDAlFkuKajONDY 7UabLE+JTBG7aSarulxeIHWW2YauCNc6f6OoUmSXPZ9O92BuzFPDy0TIlHKNeF4B8TXuTHhWhaIOa C5Q6WtENs7aXBgbZ9GsEGMB8VcQFpRC2QTuoOiHATWKJ4YFeJYTdEJ8hFpCzcnhj1NgETylwtSF22 BO7HJuet5IcF7H3lHpcNaikDEhnof+/f0rcBweFI5o3ekb7Mhp24t9sAjod4cTd84zXRRX/Efe0GZ rYesoOEA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:60890) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nvigZ-00046W-AO; Mon, 30 May 2022 17:56:07 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1nvigY-0001Ze-Lg; Mon, 30 May 2022 17:56:06 +0100 Date: Mon, 30 May 2022 17:56:06 +0100 From: "Russell King (Oracle)" To: Arnd Bergmann Cc: Jani Nikula , Linus Torvalds , Sudip Mukherjee , 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: <87a6aztli2.fsf@intel.com> <877d63tleq.fsf@intel.com> <87czfvrwsv.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, May 30, 2022 at 03:35:28PM +0200, Arnd Bergmann wrote: > The annotations for edid are completely correct and necessary. However > other driver authors just slap __packed annotations on any structure > even if the layout is not fixed at all like: > > struct my_driver_priv { > struct device dev; > u8 causes_misalignment; > spinlock_t lock; > atomic_t counter; > } __packed; /* this annotation is harmful because it breaks the atomics */ > > or if the annotation does not change the layout like > > struct my_dma_descriptor { > __le64 address; > __le64 length; > } __packed; /* does not change layout but makes access slow on some > architectures */ Sounds like we need a howto document for people to ignore and continue doing their own thing. :P -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!