From patchwork Thu Nov 19 08:22:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gow X-Patchwork-Id: 1402784 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=xfsqBY/q; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20161025 header.b=iIo8gAb9; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CcCNL1dCzz9sT6 for ; Thu, 19 Nov 2020 19:22:36 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:From:Subject:Mime-Version:Message-Id:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=xRFzAfjsXyBVl98iwxj9KZLGNvgYz2n2UX3BFP9cP8w=; b=xfsqBY/qPGP5Gqffsl9K2vfvJB w32o2JQq8jkq7BM3NkPhkXWKYGomQJsfjQnJBDZQV2wo3vnQcvPq7Qmjc/iefre5dx+zJb78ExN/c HstO/6Dh3Fj57IYS1kw063Snz5/TRJOwpNZ7SJWkaJkUHjWR101vhg4/L37S2iJcaFFamJrp9OBxI x32zNaoWk8/Pz5nJu32XFKZcz4dsv0yb4sX7Q9PASEFtByKgSftWJZHcOUDEduhvPUaz7kd7znsDo PyXH9dkT/NDqSTEIdgezs7GhW3ujbr/OndlJKe15SrRym5X1UNPWb85CPyfkiy4cuw5Tz3eAgmvdV 0VeuL8vw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kffD4-0006Bp-Vw; Thu, 19 Nov 2020 08:22:31 +0000 Received: from mail-pl1-x649.google.com ([2607:f8b0:4864:20::649]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kffD2-0006BA-3s for linux-um@lists.infradead.org; Thu, 19 Nov 2020 08:22:28 +0000 Received: by mail-pl1-x649.google.com with SMTP id v8so3226734ply.0 for ; Thu, 19 Nov 2020 00:22:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:message-id:mime-version:subject:from:to:cc; bh=FWN8vtpAUFSliD9r5qA234EvoKipyGx7znJTwH2RLNs=; b=iIo8gAb97kW2uaKXeJVL/GC07Lv3WshoQvzkpZdc4y57wIoJ4Y0ChoKojRuwjDxmx0 rlPtBF5nNSyMo+jvEtIhMp7647de8++C4cC00wIN8cEoE3tBoWwqtIPL0e2jkjoFsV+a 31W8DWRA1IEHuy1yINIlT6ypQCQj2nfg8Cnd6vizjfjlwI+kAhoEtAuEsKOpaLv7WsuA bxoiTckskQM3jWzKZR4NgoqrYqedoZKseAsh7Vgdi89LxZm4rs98479B/vsPbUrvE3ha U7VedZDxU3AiPH/wEzNSW8HMTtS9Sfy9kGmuKV1ynf86KTd6leuTMubYRGgp3Sp3d+LV 8cAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:mime-version:subject:from :to:cc; bh=FWN8vtpAUFSliD9r5qA234EvoKipyGx7znJTwH2RLNs=; b=lgfrB3TzqlyANjgTu1bovlbCJ6JOD65OxpKyXjpf0NgafF+tvF461AHeUc8hFXAvlP bthD+2ytsoucNZY8NlcwFXgcUvPFhobhk8SIpYG7U7tYQMapQCfF8Mn/DsbPTwVQu/o8 BNhz+7nCpLg1ieQsjSmGw+qI9tLii9L5b7yzNnr6tNoivqs7sou06/Gt6z1DTCd7bPMy f0P7YcrXosm/pCKIVuu/vgoTaLwsf2QFtbmuULDcwvNPJmNfOrgi18X5OJKBJbjXlRwC UtozFY75HOA63VNYPPCpu9DekCkQhnv2GMGcO5utZsFzpL9GuVA2xQU6Ks3PP03XOkTp Gq8A== X-Gm-Message-State: AOAM530cw3g98eEOCfY6UdC1fM7/MfJI13falbHxNHOVISUBeSwF79PN h4/7BVEjlOmwiP/Az7XsoknjDvJ/7kke3A== X-Google-Smtp-Source: ABdhPJz2LnxoPXoTAaPRQABbIQtfV+cePysfoy8t13zqC6H1e5lIKV6Kr3YbTCdsY2+ho1C7fej25tjmEsW+gw== X-Received: from spirogrip.svl.corp.google.com ([2620:15c:2cb:201:42a8:f0ff:fe4d:3548]) (user=davidgow job=sendgmr) by 2002:a17:902:6acc:b029:d8:c6ee:6d6c with SMTP id i12-20020a1709026accb02900d8c6ee6d6cmr7772518plt.7.1605774143537; Thu, 19 Nov 2020 00:22:23 -0800 (PST) Date: Thu, 19 Nov 2020 00:22:09 -0800 Message-Id: <20201119082209.3598354-1-davidgow@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.29.2.454.gaff20da3a2-goog Subject: [PATCH] drivers: fpga: Specify HAS_IOMEM dependency for FPGA_DFL From: David Gow To: Moritz Fischer , Tom Rix X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201119_032228_265788_137C60C4 X-CRM114-Status: GOOD ( 10.54 ) X-Spam-Score: -7.7 (-------) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-7.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:649 listed in] [list.dnswl.org] -7.5 USER_IN_DEF_DKIM_WL From: address is in the default DKIM white-list 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.0 DKIMWL_WL_MED DKIMwl.org - Medium trust sender X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Brendan Higgins , linux-fpga@vger.kernel.org, linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, David Gow Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Because dfl.c uses the 'devm_ioremap', 'devm_iounmap', 'devm_ioremap_resource', and 'devm_platform_ioremap_resource' functions, it should depend on HAS_IOMEM. This fixes make allyesconfig under UML (ARCH=um), which doesn't provide HAS_IOMEM. Signed-off-by: David Gow --- drivers/fpga/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index 7cd5a29fc437..5645226ca3ce 100644 --- a/drivers/fpga/Kconfig +++ b/drivers/fpga/Kconfig @@ -142,6 +142,7 @@ config FPGA_DFL tristate "FPGA Device Feature List (DFL) support" select FPGA_BRIDGE select FPGA_REGION + depends on HAS_IOMEM help Device Feature List (DFL) defines a feature list structure that creates a linked list of feature headers within the MMIO space