Received: by 10.223.176.5 with SMTP id f5csp909986wra; Fri, 2 Feb 2018 08:05:27 -0800 (PST) X-Google-Smtp-Source: AH8x225Xh8wAUK+tJjBBDhq3YEpvIeJGsqnh8NFiXuAY5/Jtg4RGGElU47uZWE/cwdoJDhn24sz8 X-Received: by 2002:a17:902:e83:: with SMTP id 3-v6mr29632255plx.274.1517587526964; Fri, 02 Feb 2018 08:05:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517587526; cv=none; d=google.com; s=arc-20160816; b=aPwd4mxHalFVoUQFvWifduTtDBQjlyTp5kLijouEQK/AtCzCxDETTC63zSTJa+65s0 RjbhsCaP+rZRpb5AipHbM9ThIg9B2V6/I2i0XCWCK3MugnK7qK6haNzLf3A56scqH8zD Agb6uMIpok4iw5twMCy5iNK7jwO3y2uolkgI81mgZGdSwbJQFC2W17igzNLCHvMh0JjY H7pdvmCp3xFsm0gzbmi+PBcN83ZIfkZ5ol69qynlQyKt41sHuWOjlGQTK6TsX8ZD49uR d/zrZPZCu+3KT/BwL8IdYDpTaTjpvDtSYRb+PnMlbPGuEMGtOBu66tVktDsQuFUvz8ta gN0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=b+e4EPasWOUiKRMm57RfVNeqlMEY3547955T4CxqS28=; b=yN5e5GYi0zQDxwZyeCMVSsecoPYQyiL7pzQX0hO8COH/AD3NqJTPeneMNRFGtUaVYb RtLwumOynl2dUNBlufcdCpuIOMY4uNpoBWrSVNhBaPhz5bErnmEowISVn5FWFwxsAcPI JOaax5SCO0N9TPm5qnSxueFTsoCxcMdN7d/rQ/uSYoXl287KnGtIaMjHL1q/2hLn8Nr3 6sKrHvTdF50Sb0WIwoiLWlpY9Ng55Wc8mb4vgsrNmabn4MO9lWOpAJjkTgyyc2sFeJe9 qvMk2teQ42RyDVKwzzXv6LQS0v2a8zqMBRk2dO1b061slBTvWONe1Z/bZVntJGtPoIEC u1Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=cers/azn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y72-v6si2054418plh.431.2018.02.02.08.05.11; Fri, 02 Feb 2018 08:05:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=cers/azn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752091AbeBBQDD (ORCPT + 99 others); Fri, 2 Feb 2018 11:03:03 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:33976 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751567AbeBBQC6 (ORCPT ); Fri, 2 Feb 2018 11:02:58 -0500 Received: by mail-oi0-f66.google.com with SMTP id k15so16379285oib.1 for ; Fri, 02 Feb 2018 08:02:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=b+e4EPasWOUiKRMm57RfVNeqlMEY3547955T4CxqS28=; b=cers/aznZU4D/00IC+6MmpaMRK/VWmJd0wagRqrIynqGGSLKJwzVi0RLC8NdobsxAn iBOLMTbqbZyFJ5qTPP0JQ1JpPg0xJ33BMhkKWCNVuzQfXn5PmOHz8hELoR4A8eBnq2LE TkMPKJZmazyHfrdn7PaNwl6XKKsl7cLnLuvIok31N7SNBwCT/rprB75nS3a46RZu6T+M kidcL1kMvPgGVzkAkPqcnirzdpCYCcI6K62N5DPJZdfwExXFF7ehbcwnZVcqpJp66rMe oWxv7WZy1lpdbc9+csc5+gOSmBk2oBX0LHtBB8BCSBzk2Va5wUYCLg+H0RykwHAFI2rT z0Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=b+e4EPasWOUiKRMm57RfVNeqlMEY3547955T4CxqS28=; b=hCjg7TcMvAKDHC1Havmnn9bIwzM99z5NyY27ae4lb4crdFNl6OjLhYSZ+1i4ZXCOJP 0dIqLufffjDu66n1M9b2fISEQeP4m2pyEYnZknp+eUQDDWe4fj5O26VzSS6ww90yp+4T mWEoS7u/hWiTlA3y2XnuSCcEQ0Zt3HSk+1OHHYsIUVcbgz0ubieb64UpYa4Jnig9XLpu Q21XYpHDkUGOmr/VO4BvK8SuD9IilPvv6d/W8DOhds/YePYmWGOS2Rr2W9rwo+Tbfgpk wn2ffl8cVnY4xMWgfCm0moGG886aFEw2PjBas9gWPqYUPeFb4zcdDcuKu0vKqe26Pegg 6anQ== X-Gm-Message-State: AKwxytcXXhtgBHr2JeH2cQ592FcM36zv8dh2JnyoYK79uCpeGynUGVES Phld/sMV6F/ivqDrFhXqEBbaBsg9+uLAFxukzms= X-Received: by 10.202.83.194 with SMTP id h185mr15345451oib.228.1517587377779; Fri, 02 Feb 2018 08:02:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.68.33 with HTTP; Fri, 2 Feb 2018 08:02:57 -0800 (PST) In-Reply-To: <5307dea1-61f6-2c7b-75db-4e1a0885de30@amd.com> References: <20180202123232.477388-1-arnd@arndb.de> <5307dea1-61f6-2c7b-75db-4e1a0885de30@amd.com> From: Arnd Bergmann Date: Fri, 2 Feb 2018 17:02:57 +0100 X-Google-Sender-Auth: zhSGMkmcmsojdn_Y7OCOCqzcnwI Message-ID: Subject: Re: [PATCH] drm/amd/display: fix incompatible structure layouts To: Harry Wentland Cc: Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= , "David (ChunMing) Zhou" , David Airlie , Linux Kernel Mailing List , amd-gfx@lists.freedesktop.org, dri-devel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 2, 2018 at 4:39 PM, Harry Wentland wrote: > On 2018-02-02 07:31 AM, Arnd Bergmann wrote: >> Building the amd display driver with link-time optimizations revealed a bug > > Curious how I'd go about building with link-time optimizations. I got the idea from last week's LWN article on the topic, see https://lwn.net/Articles/744507/. I needed the latest gcc version to avoid some compiler bugs, and a few dozen kernel patches on top to get a clean build in random configurations (posted them all today). Most normal configurations probably work out of the box, but I have not actually tried running any ;-) Arnd