Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp488540ybg; Tue, 9 Jun 2020 05:58:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcfz6Zu0vubQNH3stWHGXIbtAh0OJ4Dm3fLqnzH9RZPjGt+FG824uC2pgVbPoN3ERZtqku X-Received: by 2002:aa7:cd6d:: with SMTP id ca13mr25485132edb.280.1591707535191; Tue, 09 Jun 2020 05:58:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591707535; cv=none; d=google.com; s=arc-20160816; b=hxUhvvjB8eXsMctbp0h7w7F3k5BpGs4tdOzFZmus04xfRFgQ76CcD+SRcXBGhQaMtc +jtOadhyrGU3wuXRY4hftJw9t7DjnHUNtDhORSSak8o+/Z3GVeBVWs+SGmdh0/i+5yYE 1wc+w5vKhgXjCAHLdBo2Sj+JOBrzCpI6a2E2CV9i2es/YiiGFm6vJ6uO/zQ/x0YYLVOU k02IIJ0TyZjo1sPMV7m3r1l5+J8Pvvdjmmcy1f4H0OBfq/1BKYZdfqg7Am/R9YvCZosD efYJRR4yWclps90qzp8mXjwWodNunhnIo+ATDGOV4nnw9kRWTCEy52Iy7dci2E7U2I6H PZ9w== 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=PCNDWi4W86xASW8FtuEfEJaeXXXa1muCZ0DikS2IxmI=; b=voL9pQTUmNJDTL3qOS/fUDmDXO4UWz+3kUPv4CHrBLU31MoQ8JXw7lgowK2bYohOM2 IQOXBfFjFb47km1iJvZVQhsmzh4DCH8YlUEzmeVZBeN4gzRsHH3jUZoNc4NjjDjf0MmR HdwIPNxOV2m041thDCm4V3XsPRN2d01nO+FUmXRFNwJIFppJj+AhbFXZM673if4V9BoE hru6MhZvEimmhxBbFVlfchmr61zL3Ja7TesiJ1sr1KmvPrXeRSpNo8Af1j4Op5p/Dzi1 y3fTDVZC3Sjb04qe5R0hjLxvRLkNLiDBNaSSyYSda7dPeUe2E+6DGR7zrjEGuyMd0uc2 /CjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="mPvH/CmS"; 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 u8si3018365edp.357.2020.06.09.05.58.31; Tue, 09 Jun 2020 05:58:55 -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="mPvH/CmS"; 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 S1728153AbgFIMso (ORCPT + 99 others); Tue, 9 Jun 2020 08:48:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727844AbgFIMsl (ORCPT ); Tue, 9 Jun 2020 08:48:41 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CB07C05BD1E for ; Tue, 9 Jun 2020 05:48:40 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id i27so13921554ljb.12 for ; Tue, 09 Jun 2020 05:48:40 -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=PCNDWi4W86xASW8FtuEfEJaeXXXa1muCZ0DikS2IxmI=; b=mPvH/CmSSgHpsp6C/uqGy+AZnrwq9ay/aD+xL69u0ckBRA03GUU6MFGxmh+3CM1tav AfWDP7Q9/kw8uNorr4dLbJuH/FugHOrbW0L1kLqWhDSSadhfoReraccYGm4jgU7kawd8 RGjIDKBu5LhPtGQKJgD/ULY4bXazpgO9iA14JBJv66Y3rQpom722EcFJrvzFlju4+PPd 63XOl+NUFcOXugFmtxpKQxHGSYD0dz7w2Cx82vNQ64DciwKJ7UBf4oAtnd9ez4db6tPv EbJNPf78cg6H1YxzFFexQgQPzILS0+t7j4K95pw+fRVIfPDJAVT7HG2C9pHJDGj5daVO vuyQ== 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=PCNDWi4W86xASW8FtuEfEJaeXXXa1muCZ0DikS2IxmI=; b=oRAZZMc1cesJyCGh0/sYMl4ZMk3DrHOPSrHGGv/T1Mmd/zStxKpGNc5mYExSAkrpoN SBS65ZqurnwxAc2GTqnNduQNLsevrQkyWTPlvqu2s2Y9CKyQVJvDfB7xAnlzm8Jf5/Qf l8HS+/EjsJMkDFZBR180Xkm6oTSKuqu4UFkBBLRWcgZsFpRtnVxIkHHuRIIXX0/B9PNB Dngh+IoKctI0BRIR0NPNCWjSYqmne6J3Pl5jOchxDsZnBF6mS02qxDPVJaPIZfpf6LIk Mh0HfCzZUfldfJtXQthJoGrHRJjti97SRv7OSubXyyV2gjyOl5N7gbpgzKubQe/Sxczp l9Dg== X-Gm-Message-State: AOAM533p6sL8N3BgG5gVMvt6ztMpUJnow9T5pxckvRiO16bpzgn3GOmX mbjFV8dEyaEnaqV8IS8L/QDYafkA3GVhW9JGAkCsYQ== X-Received: by 2002:a2e:a40f:: with SMTP id p15mr14419265ljn.286.1591706918718; Tue, 09 Jun 2020 05:48:38 -0700 (PDT) MIME-Version: 1.0 References: <20200408191458.1260397-1-arnd@arndb.de> In-Reply-To: From: Linus Walleij Date: Tue, 9 Jun 2020 14:48:27 +0200 Message-ID: Subject: Re: [PATCH] drm/msm: fix link error without CONFIG_DEBUG_FS To: Arnd Bergmann Cc: Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Jordan Crouse , Rob Clark , "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, 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? Yours, Linus Walleij