Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp816517ybg; Tue, 9 Jun 2020 13:40:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzx91/wxdbL0p5Yr7yirR2B/OjZPwt//lxAWOBjYeL1hnSBvvc7WXy58U8y9+OqV4CDDdVI X-Received: by 2002:a05:6402:14c3:: with SMTP id f3mr29691148edx.341.1591735224138; Tue, 09 Jun 2020 13:40:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591735224; cv=none; d=google.com; s=arc-20160816; b=ZpFwOOnmXx8LaGwsanyfFw4j1vjKmgYKFNu4L7XxqBCe9t/PQSzRQTK5oY13SuL3qG EzgGp91w1IKAV2XMON4KivEXY5dTWSjtxhoCwvQsjOjeOB33csaufPM2Eldvh0PxnRbn BwNnvwm1trSQQzBh5sVy2ng3LoTMQdq/nYoUIzVRS4VIDOrjKsTYWISmoEj2TOyXlYUS 8OJ6p8cDtziT9VGaNrqkvbqNRz34Q0cyjAjD9f40HCBUVn/Qhlcl7IsSMeqyJntRmeRD hyJ3XItJ/64TMbxDtWNMgfLUV/UgxpwSDG24gsAUhK3Om5MzcWgu+ptzlAXk0R6XSmBL MVpQ== 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; bh=tUWfuhibOgc2qDuR8j6PZRsitIEa5AgrV8pmEG0P02Y=; b=SWXgZxHkw7oJdEcblibTz4njZLRNqonoXZRyC8DrwKBlmdhFrmEECrAEMy1Twm649J 271bV0Exbsx3bUPlg5sKiSwWF2KxJ/DFNvnof/5uWnjvqy1tBZMLOApWCVpgTVjc6yEY Mh76yCN2wZPPGvXsBRXfQ+oU1rCIWfn6EYHXNlCe2W+6Cvu2CbyYEjB8cr1wjpHwZ0/Z vAt8a+5yaLBeUuGGPtOyCnCX/NcLNuRG2lh0xvp/iT1SAdYhK/Owi0Zc04JHjVVr48HS oDVaOH06BRcFvTEDP5rJSJ5C/cdPnIo3jXaSzGqvfJgLAwxCIIqYhFNcIi6Cd5RuqEf2 ob7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sK+8RlDj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a63si12086477edf.135.2020.06.09.13.40.00; Tue, 09 Jun 2020 13:40:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sK+8RlDj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732203AbgFITxQ (ORCPT + 99 others); Tue, 9 Jun 2020 15:53:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731214AbgFITxN (ORCPT ); Tue, 9 Jun 2020 15:53:13 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86875C03E97C for ; Tue, 9 Jun 2020 12:53:12 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id h188so44478lfd.7 for ; Tue, 09 Jun 2020 12:53:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tUWfuhibOgc2qDuR8j6PZRsitIEa5AgrV8pmEG0P02Y=; b=sK+8RlDjikgHEuA3/kcxNekFgXz3Mu5DR09v16l8o+7xRQjax6TDincVJct+FsWt0/ IncvasH0MP32OvvhlGAjndRmYWzo/PA5Vt7aikyqeE2WCYB9RbkWH09rczh6i8LwgOEF oR0AfEzkVg3A8q5iWCLYhVtz6dADYE/m8058DSVyr6w6Voc6edxVj1IPARx5HoawvfIz 8BUoMJfqmOh/nHtady0/cPmbRrLwAqGbdozHp1gXUvKYiXoiPMh0ZMuj51TFU+bbkj/o Zfmkk9VrVGZ9k5fKv7JZnnLg33MBw5eaPWctnqDHeFnmUtNWwUaH1rIcIPYUsXcvXD9/ el9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tUWfuhibOgc2qDuR8j6PZRsitIEa5AgrV8pmEG0P02Y=; b=kMIoBEiGYpUoa3I8iUldMCJK5kcS870aut3dP35tP/JzZq1uweDpUC39l2aWBuU2VS Tj9AOuAFm87PpoCTpURwIvS0JX414HPB2JJ81IhJCIoA6Lm95XZMaOs3uG1LU3UgxvfP LgGGX/BNYJ/Z1HA28+f9z68ieC6XZ+7Fja1bmRLH6hr5uDt4AKTA+x4cjbi3a7b1JOhm xSwvsU/QNOyJdY1yunaQTaErqcnjxopvNF0R8EXEaGV9xH14neq0orwK/43AtyWWmTtl GHwz3Cdmbs+rXqwtp5EhHhfZ9V/IZlLBIUXqA+QzS9347SHtANZX8x58PVjjwy0vGcYB J39A== X-Gm-Message-State: AOAM532voFcw3wTN/A6Q015DNPYUmJQKhs4MFCbUXTkDGI4OmZkTWMxM MufYYB6b1c6DnNNI9WCRyLM6cTKK70Lhj7Lzbcn91A== X-Received: by 2002:ac2:4823:: with SMTP id 3mr16162946lft.194.1591732390917; Tue, 09 Jun 2020 12:53:10 -0700 (PDT) MIME-Version: 1.0 References: <20200408191458.1260397-1-arnd@arndb.de> In-Reply-To: From: Linus Walleij Date: Tue, 9 Jun 2020 21:53:00 +0200 Message-ID: Subject: Re: [PATCH] drm/msm: fix link error without CONFIG_DEBUG_FS To: Rob Clark Cc: Arnd Bergmann , Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Jordan Crouse , "Kristian H. Kristensen" , Allison Randal , Bjorn Andersson , MSM , "open list:DRM PANEL DRIVERS" , freedreno , "linux-kernel@vger.kernel.org" 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 Tue, Jun 9, 2020 at 4:04 PM Rob Clark wrote: > On Tue, Jun 9, 2020 at 5:48 AM Linus Walleij wrote: > > On Tue, May 5, 2020 at 10:27 AM Linus Walleij wrote: > > > On Wed, Apr 8, 2020 at 9:15 PM Arnd Bergmann wrote: > > > > > > > I ran into a randconfig link error with debugfs disabled: > > > > > > > > arm-linux-gnueabi-ld: > > > > drivers/gpu/drm/msm/msm_gpu.o: in function `should_dump': msm_gpu.c:(.text+0x1cc): undefined reference to `rd_full' > > > > > > > > Change the helper to only look at this variable if debugfs is present. > > > > > > > > Fixes: e515af8d4a6f ("drm/msm: devcoredump should dump MSM_SUBMIT_BO_DUMP buffers") > > > > Signed-off-by: Arnd Bergmann > > > > > > This fixes a compilation error for me on the APQ8060. > > > Tested-by: Linus Walleij > > > > Could someone be so kind and apply this fix to the MSM DRM tree? > > > > This should be fixed by 20aebe83698feb107d5a66b6cfd1d54459ccdfcf in > msm-next/drm-next, are you still seeing this issue? Oh nice this works too, I was just rebasing my trees and the patch was still there, of course I didn't see that anothe patch fixed the same issue already. Thanks Rob! Linus Walleij