From patchwork Fri Nov 20 23:46:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gow X-Patchwork-Id: 1404222 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=bWPQVnXZ; 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=Xg2aFlLY; 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 4CdCrb6C1dz9sRR for ; Sat, 21 Nov 2020 10:47:07 +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=99L+oVx6VnGlch81m1G9LKMHnKGVAjNFSkoaLxgcfrI=; b=bWPQVnXZEt5MJJTZx//5QIL/QO itgdEyqszyszIcrGHe+cs+VuFAeanJD/RFaygtCZQ9EobMFo/sCQLZkkFaWnnFTmyemm+dR4XWMDT hBlpC7phLHN/b3CYY4tmszuIzIwWFMA9mXHFLa5LXEFPXHepBgqnl6xZTMij8tXf1CMFd6s7EnwnZ v5tQfGeCjOC1WtCvZgPgUXiDxRYFSRDlioJ0vbe24ndyVaI5YnS8DSpYPxvVIbamaAlBEwqgpDP+7 jTBIMbZ+uQpxXb0r81Z/8o0SR6izolhHKRo3C4cVSIuU1muqNkRt2BvVmzw8/bPHianxKy8pagFVV iNw1Qgtw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kgG7J-00089H-T7; Fri, 20 Nov 2020 23:47:01 +0000 Received: from mail-yb1-xb49.google.com ([2607:f8b0:4864:20::b49]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kgG7I-00088r-7E for linux-um@lists.infradead.org; Fri, 20 Nov 2020 23:47:01 +0000 Received: by mail-yb1-xb49.google.com with SMTP id o5so13753508ybe.12 for ; Fri, 20 Nov 2020 15:46:57 -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=5uh+PylmkNxXuAdVHU5SvFd12dZOCp0wIVK8TNXkHmA=; b=Xg2aFlLYEUx1yHv0k78DcyOlwJ6puAYOCjBGjiXBNLn0wJnGveAMHKsrRk35eSXBbt IySmZy7bXkR6dOjnsULEk/4Sx+tpESe+xs2m1pALdZzMhNAjWJJatrAXddOPMkmij8/p L9e2jqDcpZozWgvzN2fFPQFuvnu3X+UJMs2TTADDq10/drtC+dsJ4CIE1710dGmx0Pbf VYFDZNnSD/IFSWDAwlB45SeXja+wgKlF7RuVjQfjAdXRxc/6f2UK+yY5NjDxMrWUbYeo SYXzI5iBSiXCb8Ax98x60kwLAORk7RwGJNjSuPQPbPQO4KN+jGEGlV8uxAzi6K1vC9BY p4gQ== 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=5uh+PylmkNxXuAdVHU5SvFd12dZOCp0wIVK8TNXkHmA=; b=DRpodLcDZ4gC+MjsOCQ5rhWXLf78ck6XR0rWZ97LoBVarNwYwtYdCKT54XGAfRCPxz kFYnPazc+iBq1LqR6a14+NDaJJ2bqQnnVCg+XWqHcEWpf7Lo5K+GSw1ko1J7npsiF+yK aAJ9/2JQ4sQzFvFQjKJGVgMW/8Ko9A1q1Z7RXX4N5OTuyd4V2kOCioQ4daCO2049230O Ya+9jkQIzOSgHRsOAsNFXDJng5d/wrLSL6MZ/Sa3UXAxjFhUejU2qU8o+AUNg+lVvjBP CmjHDB14lfRD4vJ4zRDgpqDUAq+XEPkoCGwEUO7SqoAhVhOzRZiT8/2zGKC0FSHxnYCw 2AAA== X-Gm-Message-State: AOAM531fg46v7uIFAMFvYazg0saIU6cZJwtn/V+0Lo1exL0jLskIZpsb 4pfA/zBAGei+fAgWBKiylgbxd1GX8nINtA== X-Google-Smtp-Source: ABdhPJwrtyGDCkqpaR+qNYk8jG5k7OxUoYzGuCPssdJyJNCYzI4HxqCvmhHAJlwI1RGuUgAA9I2rVqshbenXfg== X-Received: from spirogrip.svl.corp.google.com ([2620:15c:2cb:201:42a8:f0ff:fe4d:3548]) (user=davidgow job=sendgmr) by 2002:a25:2a0a:: with SMTP id q10mr34014168ybq.453.1605916016059; Fri, 20 Nov 2020 15:46:56 -0800 (PST) Date: Fri, 20 Nov 2020 15:46:48 -0800 Message-Id: <20201120234648.4050910-1-davidgow@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.29.2.454.gaff20da3a2-goog Subject: [PATCH v2] drivers: fpga: Specify HAS_IOMEM dependency for FPGA_DFL From: David Gow To: Moritz Fischer , Xu Yilun , Tom Rix X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201120_184700_333364_347F01E8 X-CRM114-Status: GOOD ( 11.21 ) 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:b49 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -7.5 USER_IN_DEF_DKIM_WL From: address is in the default DKIM white-list 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.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.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 , Linux Kernel Mailing List , 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. Fixes: 89eb35e810a8 ("fpga: dfl: map feature mmio resources in their own feature drivers") Signed-off-by: David Gow --- Changes since v1: ( https://lore.kernel.org/linux-fpga/20201119082209.3598354-1-davidgow@google.com/ ) - Add Fixes tag 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