Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2598985pxb; Thu, 10 Feb 2022 00:57:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9hMzyHcgNffPDOKN6rxizDlc6ODIWWaK4fTiVCb6gQH0HkU4xP4Vdq5c9GArj0uz3ursP X-Received: by 2002:a17:906:1012:: with SMTP id 18mr5531819ejm.300.1644483470279; Thu, 10 Feb 2022 00:57:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644483470; cv=none; d=google.com; s=arc-20160816; b=n0JHZqkhVKSKO4Kn+UD4HmEE+1z01ysV1ZbZP+Byj4yhFGYlFFnB8Pc5fviZip3lXS nD8Fq7wS4yBcqK51+HJpicHCy9f46vf/N3g0kmzJEpuCw3S/ofop9rrAXJ2arD1GgO1x qno1PhwWRK1EAkHNz2p4jHRhPu2P8l/4xqfQLthU17am8EFigWI+ht3vV4c8KN9hVG0/ SKb/xWZiV5rc8wdEeZiTQABkAlo1JKg38HFmgk8wOqIxbgK/swpSzEXD32ugbGAgokOb vDoQ1NCVS2XjEDHkzWgcxFDc8m+B8AGlPlKG/0LyV0GxNeGoQ0l2aMol5j/ETgZA9vl0 I4AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=g4R46gxOBBvI5SzAZGkoErOxT4NbCl1fR3NTnxGuvaE=; b=F9rbzAJcdELlifOlugINbyPd4KOiGgE1cea2Cw6WRg/hSlvKzuJpqwdAdYEW3OzIYw Bs8opb6O5gyWu7TK0AJSGuSatX2IxGekfBvjD26X5KS+MefxcylUKcUbA7PKGasHre+1 +5ZJmLXdsMB2bC6r4F2OsZEDj3KWNMS2lDA4uhzzDSrXnrs/HyTuK3VkUJbJIexnYJOY Tvk/16vkLyf7aZCcccC+oL0ItI9GDUiZVQBiXVFw2L2VW4OeEkZ6dih6E12fKRfPQ2UA DZpbIY5mp/X46Qts6QvP3YU6+V587JT7LPDA8pzj7ctzIb4t6s4gEfK2eYQ3BtxpFF0J hE4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=YrXph2q6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hj1si15976509ejc.843.2022.02.10.00.57.25; Thu, 10 Feb 2022 00:57:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=YrXph2q6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236092AbiBJH3P (ORCPT + 99 others); Thu, 10 Feb 2022 02:29:15 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236038AbiBJH3A (ORCPT ); Thu, 10 Feb 2022 02:29:00 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76DFDB71 for ; Wed, 9 Feb 2022 23:29:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=g4R46gxOBBvI5SzAZGkoErOxT4NbCl1fR3NTnxGuvaE=; b=YrXph2q6NJ2GhVCoKu8uYzfHMn vZu/MecqvUVq742Ix3fn104EOr4vo+7lp6nbPvnnERPdAPYqCkG4RDXYCsARmWTKGP78hIq0H5dWl KvdTYzrICcr+hyNcaDh6C337UnLOMgJhoVAZUqNbVdbzoZ2xKGWnm6ZM/93AUcRV/qxBYvF8h/WH1 xYL38kHWs1w5jL9qX4niDsVryE7nMla74N7bhHmHQkW3eWlh1G91EvViJbPd3g4CzE0eas46Bg3Gr 8Vaurq41JfiCOAi1bPe/FnuUyR4rYfIiqsHBM+MtvRD79Qa5DMzDnx2WtHl1XjXckz86KJ2uW/vyE 9TLlvmNA==; Received: from [2001:4bb8:188:3efc:8014:b2f2:fdfd:57ea] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nI3sr-002rrA-TC; Thu, 10 Feb 2022 07:28:54 +0000 From: Christoph Hellwig To: Andrew Morton , Dan Williams Cc: Felix Kuehling , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , "Pan, Xinhui" , Ben Skeggs , Karol Herbst , Lyude Paul , Jason Gunthorpe , Alistair Popple , Logan Gunthorpe , Ralph Campbell , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, nvdimm@lists.linux.dev, linux-mm@kvack.org, Jason Gunthorpe Subject: [PATCH 08/27] fsdax: depend on ZONE_DEVICE || FS_DAX_LIMITED Date: Thu, 10 Feb 2022 08:28:09 +0100 Message-Id: <20220210072828.2930359-9-hch@lst.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220210072828.2930359-1-hch@lst.de> References: <20220210072828.2930359-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a depends on ZONE_DEVICE support or the s390-specific limited DAX support, as one of the two is required at runtime for fsdax code to actually work. Signed-off-by: Christoph Hellwig Reviewed-by: Logan Gunthorpe Reviewed-by: Jason Gunthorpe --- fs/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/Kconfig b/fs/Kconfig index e9433bbc48010a..7f2455e8e18ae2 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -48,6 +48,7 @@ config FS_DAX bool "File system based Direct Access (DAX) support" depends on MMU depends on !(ARM || MIPS || SPARC) + depends on ZONE_DEVICE || FS_DAX_LIMITED select FS_IOMAP select DAX help -- 2.30.2