Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp128878rwn; Wed, 7 Sep 2022 13:42:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR6k+ZfwuGNRs8ErF8rHJMAm/QKVYyxwPnOU5C4UksjDc9en7xEEnV0hpeZ4Hl0pOVoPVxdF X-Received: by 2002:a17:903:11c7:b0:170:a74e:3803 with SMTP id q7-20020a17090311c700b00170a74e3803mr5732940plh.156.1662583347156; Wed, 07 Sep 2022 13:42:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662583347; cv=none; d=google.com; s=arc-20160816; b=Q/zNJdLF6mSr8HU2+MVg6i4sVyBUj8+OYEeIBkSBACECp6benYOJECHUrXRE6kAuxM M9/8qNy/zKXn/tt/78z0p7YunUdw694SD+R6ThEujF1VsQWUTUYVdP19GVieSl9A5C1U xI7BRvCq7YJ9y+Qs5JTVNhUtNZaGZ29mGH5LKWvFDV5p2ZgVsZuJNs6I+fBgZhwBBvrZ YKtnp6dMeggwjm1Gnk+3JINkDcWFHLtu0lL15izLmhmCXVyImNQhKoUH2d8+slPYKjq1 ElmVx+JxYv7UnX/aSIbyZTIagyCSfpGdcqNn7L4yC/uc1N/TaMRwnJ6NCc6uTfF0f8O9 ysww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=76Ee32nm+xTMs5kfzOUpRMin+LosPvvaUUyBZQVbfSI=; b=YImCMiW5fV0n1HnHEoMs83g0bXz36oRsCO6E8WjzCSYWozzNXNs3v6+l76aaW+dNQQ xdo0dJaSlogrFVBjmRBJAqBKRFPDqX80X/D87BEx1sBOEeLN9pUvsuqgbrchxZPz7JL9 Dqfcva2/tbPoeV9dGJrZ8n7FE4oj1SZpEI5/1BZIM6mGUyr8HeOBNt5tRxP5Fs68CxfM Svd/251AMWMgnzwkfS951x5k9YegUVJSRQ+hfTL9h5DjZ1VYw6m6JON9sIVJL9H/1UlE qvMQd9MuG6CR1NlJGYgKFkYjcoxQueajfgsT6EY2BO03aTvN3ii6tm0o6VM+iXQkdFVP Rlag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LVnDj6Wo; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s14-20020a63d04e000000b0042b8055d175si14045787pgi.451.2022.09.07.13.42.14; Wed, 07 Sep 2022 13:42:27 -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=@gmail.com header.s=20210112 header.b=LVnDj6Wo; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229585AbiIGUIK (ORCPT + 99 others); Wed, 7 Sep 2022 16:08:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbiIGUIH (ORCPT ); Wed, 7 Sep 2022 16:08:07 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57F4C7C198; Wed, 7 Sep 2022 13:08:05 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id t184so23238763yba.4; Wed, 07 Sep 2022 13:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=76Ee32nm+xTMs5kfzOUpRMin+LosPvvaUUyBZQVbfSI=; b=LVnDj6WocuThO0kgaYyOzA45PKsY6OTWEl6n0gZBNQdgMRJt9CrelX7gVqXLWMB1Zu 4aeGdqeiNeV499Ja5nTWEKls8edO/cXhuisCzNXaMGNaLLiQ7A5s7A+h59bQqyxHALPo 3cKkijg/UawHMRKRHsso7ergQwKkPnj1O/T5xn894n2CqfKAAxL1V/eYk6nOKe+wcawM esN+VJICP4LxoVGd1pccpIUnB9smEpXDDbO2VpRAu6WqsC6E49Iya9Hle5yaV8G2uF94 5peLBwlhkRXDy+pRh6qMCvw73W9dNX5OU704kWu32CXGKuUZQLrLr0qIqIjGLV+a4d0J KRtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=76Ee32nm+xTMs5kfzOUpRMin+LosPvvaUUyBZQVbfSI=; b=Z1PCH/lbeYOnLeLegm8qkBEOLR3GvdK+VaQSN554V4sQf2X0jBa6MdjxhkPGSUiaCr XI5rLpt6K987WQFdsRO1Ko+YQHx+bVlAUvjzALd8QTiCXHCgZaWohHrbBX2u/J3+Wi9X /npdaarMmbDesH6/l3i2sgMZKQchcbLxn04zh15/YmxiqLzS1IhZ1QEa+qRUIL7msjXl zMwrvSxwXl5dFVLzV16DoBOksMC6IYRK10XcfTXk71qdPagUJgR6305iblAthTrmKUTG +BltEb3b6r0/2mSj5IeVPCQjaOK8u5mPIiWnVgZ6rg9Sk/XmfJgsOFDnAUT1bBeMR7yB s/ag== X-Gm-Message-State: ACgBeo1FizXybzgG7GwqVmODYHdnLRoob2q8D6w1qpu6k97iAz3V1pqx 2pfnW5o3g/TpdNhfXW3zeIJrf8jBlOFQLGZabS4= X-Received: by 2002:a05:6902:38a:b0:670:aa12:8908 with SMTP id f10-20020a056902038a00b00670aa128908mr4255200ybs.446.1662581284544; Wed, 07 Sep 2022 13:08:04 -0700 (PDT) MIME-Version: 1.0 References: <20220907170451.efhz62nkxybqxtaa@mail.igalia.com> <20220907192250.jfkpwaq54f2h7stf@mail.igalia.com> In-Reply-To: <20220907192250.jfkpwaq54f2h7stf@mail.igalia.com> From: Sudip Mukherjee Date: Wed, 7 Sep 2022 21:07:28 +0100 Message-ID: Subject: Re: build failure of next-20220906 due to 396369d67549 ("drm: vkms: Add support to the RGB565 format") To: Melissa Wen Cc: Igor Torrente , Melissa Wen , Haneen Mohammed , Rodrigo Siqueira , David Airlie , linux-kernel , dri-devel , linux-next Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 Wed, Sep 7, 2022 at 8:23 PM Melissa Wen wrote: > > On 09/07, Sudip Mukherjee wrote: > > Hi Melissa, > > > > On Wed, Sep 7, 2022 at 6:05 PM Melissa Wen wrote: > > > > > > On 09/06, Sudip Mukherjee wrote: > > > > On Tue, Sep 6, 2022 at 4:59 PM Sudip Mukherjee (Codethink) > > > > wrote: > > > > > > > > > > Hi All, > > > > > > > > > > The builds of next-20220906 fails for mips, xtensa and arm allmodconfig. > > > > > > > > > > The errors in mips and xtensa are: > > > > > > > > > > ERROR: modpost: "__divdi3" [drivers/gpu/drm/vkms/vkms.ko] undefined! > > > > > ERROR: modpost: "__udivdi3" [drivers/gpu/drm/vkms/vkms.ko] undefined! > > > > > > > > > > The error in arm is: > > > > > > > > > > ERROR: modpost: "__aeabi_uldivmod" [drivers/gpu/drm/vkms/vkms.ko] undefined! > > > > > ERROR: modpost: "__aeabi_ldivmod" [drivers/gpu/drm/vkms/vkms.ko] undefined! > > > > > > > > > > > > > > > Trying to do a git bisect to find out the offending commit. > > > > > > > > git bisect points to 396369d67549 ("drm: vkms: Add support to the > > > > RGB565 format") > > > > > > Hi Sudip, > > > > > > Thanks for pointing out this issue. > > > > > > I think we can replace the macros that are triggering those compilation > > > error by functions in drm/drm_fixed.h that do the same calculation. > > > > > > I checked those errors when building for arm and i386 and the issues are > > > fixed after applying the patch below. I appreciate if you can test. > > > > Sorry, could not test as the downloaded mbox is saying patch is > > corrupted and could not be applied. Can you please attach the patch or > > maybe send using git send-email. > > Sorry, my bad. It's attached. Let me know if goes smoothly. Thanks. That was perfect. And with that I can confirm I don't see the failure on mips and arm. Not tested on xtensa but should be fixed there also. Tested-by: Sudip Mukherjee -- Regards Sudip