Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2987097ybg; Mon, 28 Oct 2019 05:44:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGRYVZ4XxGmKV6JZL9PzrVCgh9E2dODBW0j7FxKvuBiB25NOZ9tDYVIRGkY/VA/62cnCVd X-Received: by 2002:a17:906:4813:: with SMTP id w19mr16648030ejq.258.1572266660877; Mon, 28 Oct 2019 05:44:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572266660; cv=none; d=google.com; s=arc-20160816; b=Eev2Qpvmp6krJvDMEYI2f12yLRzS/A5zT+qXzyUAxIATuTSV59OSws/yTL9fP8hbNK IPbcBliEWr17QLD3OLVChcB/f8QNo9VYdkH4IymFdLWQgJB2oK6u3R1E0Xk58XRPpI2/ Gk3up1LROYNwfVMtHJE5TyzqXvsZ2f9IDKBKmgaQMqpQoUpEMJvnKCeA4QrzJa0L2fFn Mrv6mKP7jV3IF5cm1SNI4aQr7kBSxXZlTHZ6mrQ8zb8DjGJ6pKX8ciKPxCo++7aQ1wk4 76gskgeQIzSaZOlmdwVbIvALSkdfoeR83NE8em2vWab8KeAimYdvzL+X4RdAu5oHgza2 hGZQ== 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 :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=EfLEmTvlm/lG3uBmRFOrAGC4amACh1c7WhoFmdPquZQ=; b=QxujAp3GuwBsCVwxBRXgkfMGu1CobFBn5x/l5iZ5lWprsiL0dcebWdCrEq8CURe10D 0O8JaVHDolyl/YBrOoBHbPYAxxkZJ2vqS1KvkzY9fleUQuQkNcMF6Nmxr+0sZzvyxVof nI7loOAsbnTH7oqQO4CuI9T4CU1SGRs8kuMNkeXAvSwAldeV5/+V0GPDLWGU2llz9egA yLP63XQ88i9waj4djK1T5Jn7Z6ROZzMwamMR74N6arngpe7eqcw71DmCfvNOtROtPZJ8 38oIhNjaCF8K4BBvzujrbV2qrUzilSFa/ZGuw6iFm0GxKPdWf8/i4TqFM//17CEibMm6 yBow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="T5Ij2Z7/"; 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 b15si2796849ejb.266.2019.10.28.05.43.57; Mon, 28 Oct 2019 05:44:20 -0700 (PDT) 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=pass header.i=@nifty.com header.s=dec2015msa header.b="T5Ij2Z7/"; 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 S1729232AbfJ1BN7 (ORCPT + 99 others); Sun, 27 Oct 2019 21:13:59 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:48472 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729206AbfJ1BN7 (ORCPT ); Sun, 27 Oct 2019 21:13:59 -0400 Received: from mail-vs1-f41.google.com (mail-vs1-f41.google.com [209.85.217.41]) (authenticated) by conssluserg-02.nifty.com with ESMTP id x9S1DsWb032507; Mon, 28 Oct 2019 10:13:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com x9S1DsWb032507 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1572225235; bh=EfLEmTvlm/lG3uBmRFOrAGC4amACh1c7WhoFmdPquZQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=T5Ij2Z7/wrylG14MkqDiGT7nxBMAAKVyzvPW+LdXqmIixiQdJf5AtAK4xOiis1x30 t3U0yKm4t2ZTM1jnZ8eLwFcn6qUXvWoNqEMpP4WE46hJiXghK5Lxq6mExrukMVHjSd 3qRit1Dm7VKvWoXpFubC2zX0IBvW5Jn3h5y6POK149Jt0WZ6uGZzRz2g6GMGAp1AZL Pfs70r7/JLO0KMd8AuuxS1BKhRisKE6E0Jzzo+0p+X8cvqgk10FYAGGTKYKrMUpUze 8mWOYbFCTX7J0YU3itTe+0QDJ4OAOTByzUf8VBGqgLKYD4YDkT9T1lVzBID4fZ+WKX cvqzXiEzcnHrA== X-Nifty-SrcIP: [209.85.217.41] Received: by mail-vs1-f41.google.com with SMTP id k1so2684639vsm.0; Sun, 27 Oct 2019 18:13:54 -0700 (PDT) X-Gm-Message-State: APjAAAVRKHKKX2Dr9vdqIVzGimR5XPYHn0tkrkrWgOIz6xym4OhtCJaa B10WAHVCajrmm7J6vTpt1XBUSXyRcI1kP9W61p0= X-Received: by 2002:a67:e290:: with SMTP id g16mr7786820vsf.54.1572225233664; Sun, 27 Oct 2019 18:13:53 -0700 (PDT) MIME-Version: 1.0 References: <20191028115740.791bdeba@canb.auug.org.au> In-Reply-To: <20191028115740.791bdeba@canb.auug.org.au> From: Masahiro Yamada Date: Mon, 28 Oct 2019 10:13:17 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: linux-next: manual merge of the amdgpu tree with Linus' tree To: Stephen Rothwell Cc: Alex Deucher , Linux Next Mailing List , Linux Kernel Mailing List , Nick Desaulniers 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 Mon, Oct 28, 2019 at 9:57 AM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the amdgpu tree got a conflict in: > > drivers/gpu/drm/amd/display/dc/dcn20/Makefile > > between commit: > > 54b8ae66ae1a ("kbuild: change *FLAGS_.o to take the path relative to $(obj)") > > from Linus' tree and commits: > > 4f952528add3 ("drm/amdgpu: fix stack alignment ABI mismatch for Clang") > 971463bea55c ("drm/amdgpu: fix stack alignment ABI mismatch for GCC 7.1+") > 101d09f07966 ("drm/amdgpu: enable -msse2 for GCC 7.1+ users") > > from the amdgpu tree. > > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. I believe subsystems should queue up patches against -rc1 or a later tag. Developing based on an older version causes unneeded conflicts like this. > -- > Cheers, > Stephen Rothwell > > diff --cc drivers/gpu/drm/amd/display/dc/dcn20/Makefile > index ddb8d5649e79,be3a614963c6..000000000000 > --- a/drivers/gpu/drm/amd/display/dc/dcn20/Makefile > +++ b/drivers/gpu/drm/amd/display/dc/dcn20/Makefile > @@@ -10,16 -10,21 +10,21 @@@ ifdef CONFIG_DRM_AMD_DC_DSC_SUPPOR > DCN20 += dcn20_dsc.o > endif > > - ifneq ($(call cc-option, -mpreferred-stack-boundary=4),) > - cc_stack_align := -mpreferred-stack-boundary=4 > - else ifneq ($(call cc-option, -mstack-alignment=16),) > - cc_stack_align := -mstack-alignment=16 > - endif > -CFLAGS_dcn20_resource.o := -mhard-float -msse > ++CFLAGS_$(AMDDALPATH)/dc/dcn20/dcn20_resource.o := -mhard-float -msse > > - CFLAGS_$(AMDDALPATH)/dc/dcn20/dcn20_resource.o := -mhard-float -msse $(cc_stack_align) > + ifdef CONFIG_CC_IS_GCC > + ifeq ($(call cc-ifversion, -lt, 0701, y), y) > + IS_OLD_GCC = 1 > + endif > + endif > > - ifdef CONFIG_CC_IS_CLANG > + ifdef IS_OLD_GCC > + # Stack alignment mismatch, proceed with caution. > + # GCC < 7.1 cannot compile code using `double` and -mpreferred-stack-boundary=3 > + # (8B stack alignment). > -CFLAGS_dcn20_resource.o += -mpreferred-stack-boundary=4 > ++CFLAGS_$(AMDDALPATH)/dc/dcn20/dcn20_resource.o += -mpreferred-stack-boundary=4 > + else > -CFLAGS_dcn20_resource.o += -msse2 > +CFLAGS_$(AMDDALPATH)/dc/dcn20/dcn20_resource.o += -msse2 > endif > > AMD_DAL_DCN20 = $(addprefix $(AMDDALPATH)/dc/dcn20/,$(DCN20)) -- Best Regards Masahiro Yamada