Message ID | 20200907225238.4790-1-rdunlap@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=EXQ6=CQ=kvack.org=owner-linux-mm@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7100C618 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 7 Sep 2020 22:53:09 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D8EC321741 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 7 Sep 2020 22:53:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="VMyPYklo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D8EC321741 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B014D6B0002; Mon, 7 Sep 2020 18:53:07 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id AB1706B0037; Mon, 7 Sep 2020 18:53:07 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9C8E66B0055; Mon, 7 Sep 2020 18:53:07 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0218.hostedemail.com [216.40.44.218]) by kanga.kvack.org (Postfix) with ESMTP id 8416D6B0002 for <linux-mm@kvack.org>; Mon, 7 Sep 2020 18:53:07 -0400 (EDT) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 44761180AD80F for <linux-mm@kvack.org>; Mon, 7 Sep 2020 22:53:07 +0000 (UTC) X-FDA: 77237767614.29.horse18_5e07c88270cf Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin29.hostedemail.com (Postfix) with ESMTP id 227B5180868DF for <linux-mm@kvack.org>; Mon, 7 Sep 2020 22:53:07 +0000 (UTC) X-Spam-Summary: 1,0,0,88cdc092125f4aef,d41d8cd98f00b204,rdunlap@infradead.org,,RULES_HIT:41:355:379:541:800:960:966:973:988:989:1260:1311:1314:1345:1431:1437:1515:1534:1541:1711:1730:1747:1777:1792:2196:2199:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3866:3867:3868:3871:3874:4250:4385:5007:6119:6261:6653:6742:7903:8784:10004:11026:11232:11473:11657:11658:11914:12043:12296:12297:12438:12517:12519:12555:12679:13069:13221:13229:13311:13357:13846:13870:13894:14096:14181:14384:14394:14721:21080:21433:21451:21627:21660:21939:30054:30062:30064,0,RBL:205.233.59.134:@infradead.org:.lbl8.mailshell.net-62.8.55.100 64.201.201.201;04yrk5yef3s1bpgt4gccpmc4sz6dsoc3og36twate4nfk3jpf1bsrwjjumax5mw.wn14m7qtki3s7nih4ti1z4p3c4dkeqnehdgk4y3di6ujckrbiyks9mdeqhih3zp.w-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:349,LUA_SUMMARY:none X-HE-Tag: horse18_5e07c88270cf X-Filterd-Recvd-Size: 3593 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by imf25.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Mon, 7 Sep 2020 22:53:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=X//KQJI+2rxTvx9HYo5PyD3EKrrYMxBIJ9G0Zyy/Erk=; b=VMyPYkloriTZMlh/n+Oypp2fPa SdjPqr0odppjLDJCDTXXWbBIuo2J9DH4nYVtR3455fZk+1dlRlwnl+YM0JuOFTmmW80Pcl0rcfZdG tP2YhRN5g+/1LOVnf942aZWjWA1vKNMYlrZJ7+SCGmy11fZgGfTbu0f7gNZHPEL2hwpdUtjkRCpvz CViWoxJrNJLkgGk+OyusMFK+/VtpT9jAkQSliran4EGSn/WlVqvhMNSr3BRr8Wfz2A8KPrloEdPYf IHqH2D8/Ux3tZA0jPhkheWTW1+EoOsbK5xGNpy6Km7f5Nge19f2n4jOCMbKTVeZe35n+863DYcaTS Law6ANbw==; Received: from [2601:1c0:6280:3f0::19c2] (helo=smtpauth.infradead.org) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFQ0E-0003Ku-6R; Mon, 07 Sep 2020 22:52:46 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, kernel test robot <lkp@intel.com>, Joel Stanley <joel@jms.id.au>, Andrew Jeffery <andrew@aj.id.au>, Daniel Vetter <daniel.vetter@ffwll.ch>, Michal Simek <monstr@monstr.eu>, Andrew Morton <akpm@linux-foundation.org>, Mike Rapoport <rppt@linux.ibm.com>, linux-mm@kvack.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] drm/aspeed: fix Kconfig warning & subsequent build errors Date: Mon, 7 Sep 2020 15:52:38 -0700 Message-Id: <20200907225238.4790-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Rspamd-Queue-Id: 227B5180868DF X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam02 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
drm/aspeed: fix Kconfig warning & subsequent build errors
|
expand
|
--- lnx-59-rc3.orig/drivers/gpu/drm/aspeed/Kconfig +++ lnx-59-rc3/drivers/gpu/drm/aspeed/Kconfig @@ -3,6 +3,7 @@ config DRM_ASPEED_GFX tristate "ASPEED BMC Display Controller" depends on DRM && OF depends on (COMPILE_TEST || ARCH_ASPEED) + depends on MMU select DRM_KMS_HELPER select DRM_KMS_CMA_HELPER select DMA_CMA if HAVE_DMA_CONTIGUOUS
kernel test robot reported build errors (undefined references) that didn't make much sense. After reproducing them, there is also a Kconfig warning that is the root cause of the build errors, so fix that Kconfig problem. Fixes this Kconfig warning: WARNING: unmet direct dependencies detected for CMA Depends on [n]: MMU [=n] Selected by [m]: - DRM_ASPEED_GFX [=m] && HAS_IOMEM [=y] && DRM [=m] && OF [=y] && (COMPILE_TEST [=y] || ARCH_ASPEED) && HAVE_DMA_CONTIGUOUS [=y] and these dependent build errors: (.text+0x10c8c): undefined reference to `start_isolate_page_range' microblaze-linux-ld: (.text+0x10f14): undefined reference to `test_pages_isolated' microblaze-linux-ld: (.text+0x10fd0): undefined reference to `undo_isolate_page_range' Fixes: 76356a966e33 ("drm: aspeed: Clean up Kconfig options") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Joel Stanley <joel@jms.id.au> Cc: Andrew Jeffery <andrew@aj.id.au> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Michal Simek <monstr@monstr.eu> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Mike Rapoport <rppt@linux.ibm.com> Cc: linux-mm@kvack.org Cc: linux-aspeed@lists.ozlabs.org Cc: linux-arm-kernel@lists.infradead.org --- Feel free to fix the Kconfig warning some other way... drivers/gpu/drm/aspeed/Kconfig | 1 + 1 file changed, 1 insertion(+)