From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DC50DECAAD8 for ; Tue, 20 Sep 2022 12:55:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2BB5210E6AC; Tue, 20 Sep 2022 12:55:22 +0000 (UTC) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by gabe.freedesktop.org (Postfix) with ESMTPS id E1D4810E4DB; Tue, 20 Sep 2022 11:47:53 +0000 (UTC) Received: by mail-wm1-x334.google.com with SMTP id ay7-20020a05600c1e0700b003b49861bf48so883397wmb.0; Tue, 20 Sep 2022 04:47:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date; bh=Uzqu4x3ReJl2swGfEJj67Pd2unDJ3Dv2X7PfUeAMFlU=; b=CmXkA8qIbaFNouX5UDIP2EtzvEpNmgRhb/8rznaJhGMNUuwBOFHghs3gJQS4uomnZr YDcqkjuEvJ4vCka5cONnCHVRV6iQInH+8o7Zq6VeC/3C8HUmiQ31Tc1D7RqHoZMY0+gl DpJVgqTY9VSsYXVMFHySjCx4npqW7qGsRD7k6vyHOfIxIklfFsHo9utUqClMbHOH7nzv xKq4OLNK7WWtv23lHrNAz+KZYWDVjodkcEtoVo4NkPp0a/0giowcL+JsMfRSnh9PfBq2 GPBjK8DY/TfnAMRV+kChdRhMBeamsBENpwI9RfDCDpHENBnE3x1TJgyEn6gEeFu9Vrxg wbYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date; bh=Uzqu4x3ReJl2swGfEJj67Pd2unDJ3Dv2X7PfUeAMFlU=; b=SoEE8D9QRmRLQrje6dkPAADZg7NnwWMyeYA0sIpSNSSuY7jo9KPu0yVEEhfO79htIY ZbfOdpCBJ87QUVyI/eOF+Jlk2rc+3Mm+frBjZ8F/XRd8nBRonnzmxf32srrGs69uT2+v h1AjMXjIZr9p5oPmcxG8LHCRDKgQbuL0uGcS48Av9WO2m1LA/0mx4vxSxK0RGhvULK39 OCBSKJttNLfI0DrCseRAuXdF93iZYiU+WVBkJ9Qsxtp4Q/LOnrj4L/STaLzR73WJr6Dy XYhb/GYKtmPTy4lDSDkyo10DJFTQEevKGUJqCHALhv9xrbMQbDfc5d4kgd+M4RhFTfKT Z5NA== X-Gm-Message-State: ACrzQf2og3DG0PNRL0gYraT7fhTvuBTxMtOiTMSf+BK4zCeKV9/E+es6 Me49urA3wYM3x+9ZQMAAao4= X-Google-Smtp-Source: AMsMyM4aBYcaHzJkBzdvhpxsTIJL1CmLJ4dHjh82nS5T2kmR/xQCQfB8ki9IGbZoXjIWTpnN0yGzMA== X-Received: by 2002:a1c:f009:0:b0:3b4:9398:49c9 with SMTP id a9-20020a1cf009000000b003b4939849c9mr2085385wmb.174.1663674472131; Tue, 20 Sep 2022 04:47:52 -0700 (PDT) Received: from debian (host-78-150-37-98.as13285.net. [78.150.37.98]) by smtp.gmail.com with ESMTPSA id b20-20020a05600c4e1400b003b33de17577sm2254667wmq.13.2022.09.20.04.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 04:47:51 -0700 (PDT) Date: Tue, 20 Sep 2022 12:47:49 +0100 From: Sudip Mukherjee To: Christian =?iso-8859-1?Q?K=F6nig?= , Alex Deucher Subject: build failure of next-20220920 due to c2b08e7a6d27 ("drm/amdgpu: move entity selection and job init earlier during CS") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailman-Approved-At: Tue, 20 Sep 2022 12:55:19 +0000 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Philip Yang , llvm@lists.linux.dev, David Airlie , "Pan, Xinhui" , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-next@vger.kernel.org, dri-devel@lists.freedesktop.org, Daniel Vetter , Nathan Chancellor , Sumit Semwal , linux-media@vger.kernel.org Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" Hi All, The builds of arm64 allmodconfig with clang failed to build next-20220920 with the error: drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1190:3: error: variable 'r' is uninitialized when used here [-Werror,-Wuninitialized] r |= !amdgpu_ttm_tt_get_user_pages_done(bo->tbo.ttm); ^ drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1171:7: note: initialize the variable 'r' to silence this warning int r; ^ = 0 1 error generated. git bisect pointed to c2b08e7a6d27 ("drm/amdgpu: move entity selection and job init earlier during CS") I will be happy to test any patch or provide any extra log if needed. -- Regards Sudip From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF98DC54EE9 for ; Tue, 20 Sep 2022 11:47:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229779AbiITLr4 (ORCPT ); Tue, 20 Sep 2022 07:47:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229609AbiITLrz (ORCPT ); Tue, 20 Sep 2022 07:47:55 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD93A167E3; Tue, 20 Sep 2022 04:47:53 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id n35-20020a05600c502300b003b4924c6868so739236wmr.1; Tue, 20 Sep 2022 04:47:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date; bh=Uzqu4x3ReJl2swGfEJj67Pd2unDJ3Dv2X7PfUeAMFlU=; b=CmXkA8qIbaFNouX5UDIP2EtzvEpNmgRhb/8rznaJhGMNUuwBOFHghs3gJQS4uomnZr YDcqkjuEvJ4vCka5cONnCHVRV6iQInH+8o7Zq6VeC/3C8HUmiQ31Tc1D7RqHoZMY0+gl DpJVgqTY9VSsYXVMFHySjCx4npqW7qGsRD7k6vyHOfIxIklfFsHo9utUqClMbHOH7nzv xKq4OLNK7WWtv23lHrNAz+KZYWDVjodkcEtoVo4NkPp0a/0giowcL+JsMfRSnh9PfBq2 GPBjK8DY/TfnAMRV+kChdRhMBeamsBENpwI9RfDCDpHENBnE3x1TJgyEn6gEeFu9Vrxg wbYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date; bh=Uzqu4x3ReJl2swGfEJj67Pd2unDJ3Dv2X7PfUeAMFlU=; b=b0t0o0tnomuG0WVnkPaW8/gsv2uImBvvGHdop01M56YS+66H9VL0DidCooeadI5CL3 54gFqZQaCfylODjIJ3RfWfHN2eoLgs34+yvLSwRm+rns1d/Rxfh4tHut51cotIOT+VmP 6xf9u4HVOkcY85M8X806RY/IW/Dq7C3UgG+cjV91lNabinKrn7fMJY1KJBIiP3Nw7gIP yL//6okjn/joSNTNCycG1YhkeulPHtQ1q1zjDVdrJf1miGtM8oElfd40YuvLor/PKaIt VI1I7GnUb+2IgaOxSI/8UZfjCi1RDSKIvm83BPLRUnFnxgmBh8S8mKjJZGsxX8I0H8wR VAQg== X-Gm-Message-State: ACrzQf3e8Igm5QFbppmKNEZeH3vPrTkeLogQ1lrwh80cOrMEkIaqFf/u JNlqI/AjE9num05p5fAwl756H/IvOz7wqg== X-Google-Smtp-Source: AMsMyM4aBYcaHzJkBzdvhpxsTIJL1CmLJ4dHjh82nS5T2kmR/xQCQfB8ki9IGbZoXjIWTpnN0yGzMA== X-Received: by 2002:a1c:f009:0:b0:3b4:9398:49c9 with SMTP id a9-20020a1cf009000000b003b4939849c9mr2085385wmb.174.1663674472131; Tue, 20 Sep 2022 04:47:52 -0700 (PDT) Received: from debian (host-78-150-37-98.as13285.net. [78.150.37.98]) by smtp.gmail.com with ESMTPSA id b20-20020a05600c4e1400b003b33de17577sm2254667wmq.13.2022.09.20.04.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 04:47:51 -0700 (PDT) Date: Tue, 20 Sep 2022 12:47:49 +0100 From: Sudip Mukherjee To: Christian =?iso-8859-1?Q?K=F6nig?= , Alex Deucher Cc: "Pan, Xinhui" , David Airlie , Daniel Vetter , Sumit Semwal , Philip Yang , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, linux-next@vger.kernel.org, Nathan Chancellor , llvm@lists.linux.dev Subject: build failure of next-20220920 due to c2b08e7a6d27 ("drm/amdgpu: move entity selection and job init earlier during CS") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org Hi All, The builds of arm64 allmodconfig with clang failed to build next-20220920 with the error: drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1190:3: error: variable 'r' is uninitialized when used here [-Werror,-Wuninitialized] r |= !amdgpu_ttm_tt_get_user_pages_done(bo->tbo.ttm); ^ drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1171:7: note: initialize the variable 'r' to silence this warning int r; ^ = 0 1 error generated. git bisect pointed to c2b08e7a6d27 ("drm/amdgpu: move entity selection and job init earlier during CS") I will be happy to test any patch or provide any extra log if needed. -- Regards Sudip From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5AF34C6FA8B for ; Tue, 20 Sep 2022 11:48:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D1E1610E4DB; Tue, 20 Sep 2022 11:47:58 +0000 (UTC) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by gabe.freedesktop.org (Postfix) with ESMTPS id E1D4810E4DB; Tue, 20 Sep 2022 11:47:53 +0000 (UTC) Received: by mail-wm1-x334.google.com with SMTP id ay7-20020a05600c1e0700b003b49861bf48so883397wmb.0; Tue, 20 Sep 2022 04:47:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date; bh=Uzqu4x3ReJl2swGfEJj67Pd2unDJ3Dv2X7PfUeAMFlU=; b=CmXkA8qIbaFNouX5UDIP2EtzvEpNmgRhb/8rznaJhGMNUuwBOFHghs3gJQS4uomnZr YDcqkjuEvJ4vCka5cONnCHVRV6iQInH+8o7Zq6VeC/3C8HUmiQ31Tc1D7RqHoZMY0+gl DpJVgqTY9VSsYXVMFHySjCx4npqW7qGsRD7k6vyHOfIxIklfFsHo9utUqClMbHOH7nzv xKq4OLNK7WWtv23lHrNAz+KZYWDVjodkcEtoVo4NkPp0a/0giowcL+JsMfRSnh9PfBq2 GPBjK8DY/TfnAMRV+kChdRhMBeamsBENpwI9RfDCDpHENBnE3x1TJgyEn6gEeFu9Vrxg wbYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date; bh=Uzqu4x3ReJl2swGfEJj67Pd2unDJ3Dv2X7PfUeAMFlU=; b=SoEE8D9QRmRLQrje6dkPAADZg7NnwWMyeYA0sIpSNSSuY7jo9KPu0yVEEhfO79htIY ZbfOdpCBJ87QUVyI/eOF+Jlk2rc+3Mm+frBjZ8F/XRd8nBRonnzmxf32srrGs69uT2+v h1AjMXjIZr9p5oPmcxG8LHCRDKgQbuL0uGcS48Av9WO2m1LA/0mx4vxSxK0RGhvULK39 OCBSKJttNLfI0DrCseRAuXdF93iZYiU+WVBkJ9Qsxtp4Q/LOnrj4L/STaLzR73WJr6Dy XYhb/GYKtmPTy4lDSDkyo10DJFTQEevKGUJqCHALhv9xrbMQbDfc5d4kgd+M4RhFTfKT Z5NA== X-Gm-Message-State: ACrzQf2og3DG0PNRL0gYraT7fhTvuBTxMtOiTMSf+BK4zCeKV9/E+es6 Me49urA3wYM3x+9ZQMAAao4= X-Google-Smtp-Source: AMsMyM4aBYcaHzJkBzdvhpxsTIJL1CmLJ4dHjh82nS5T2kmR/xQCQfB8ki9IGbZoXjIWTpnN0yGzMA== X-Received: by 2002:a1c:f009:0:b0:3b4:9398:49c9 with SMTP id a9-20020a1cf009000000b003b4939849c9mr2085385wmb.174.1663674472131; Tue, 20 Sep 2022 04:47:52 -0700 (PDT) Received: from debian (host-78-150-37-98.as13285.net. [78.150.37.98]) by smtp.gmail.com with ESMTPSA id b20-20020a05600c4e1400b003b33de17577sm2254667wmq.13.2022.09.20.04.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 04:47:51 -0700 (PDT) Date: Tue, 20 Sep 2022 12:47:49 +0100 From: Sudip Mukherjee To: Christian =?iso-8859-1?Q?K=F6nig?= , Alex Deucher Subject: build failure of next-20220920 due to c2b08e7a6d27 ("drm/amdgpu: move entity selection and job init earlier during CS") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Philip Yang , llvm@lists.linux.dev, David Airlie , "Pan, Xinhui" , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-next@vger.kernel.org, dri-devel@lists.freedesktop.org, Nathan Chancellor , Sumit Semwal , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi All, The builds of arm64 allmodconfig with clang failed to build next-20220920 with the error: drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1190:3: error: variable 'r' is uninitialized when used here [-Werror,-Wuninitialized] r |= !amdgpu_ttm_tt_get_user_pages_done(bo->tbo.ttm); ^ drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1171:7: note: initialize the variable 'r' to silence this warning int r; ^ = 0 1 error generated. git bisect pointed to c2b08e7a6d27 ("drm/amdgpu: move entity selection and job init earlier during CS") I will be happy to test any patch or provide any extra log if needed. -- Regards Sudip