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 X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A547C43461 for ; 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 A57EA216C4 for ; 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 A57EA216C4 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) Received: by kanga.kvack.org (Postfix, from userid 40) id AB1706B0037; Mon, 7 Sep 2020 18:53:07 -0400 (EDT) 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-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 ; 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 ; 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 ; Mon, 7 Sep 2020 22:53:07 +0000 (UTC) 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 ; 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 To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Joel Stanley , Andrew Jeffery , Daniel Vetter , Michal Simek , Andrew Morton , Mike Rapoport , 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: 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 [=3Dn] Selected by [m]: - DRM_ASPEED_GFX [=3Dm] && HAS_IOMEM [=3Dy] && DRM [=3Dm] && OF [=3Dy] = && (COMPILE_TEST [=3Dy] || ARCH_ASPEED) && HAVE_DMA_CONTIGUOUS [=3Dy] 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_isolat= e_page_range' Fixes: 76356a966e33 ("drm: aspeed: Clean up Kconfig options") Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Joel Stanley Cc: Andrew Jeffery Cc: Daniel Vetter Cc: Michal Simek Cc: Andrew Morton Cc: Mike Rapoport 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(+) --- 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