Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp5018rbb; Fri, 23 Feb 2024 09:54:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWKmMLCZgwmbob0DPUrIuUZCWmJqsSfpqBRnm5G/weRZmNPHGYkPGSC3142D8IUo5ubsde/7rzmj8IwNOVQtXFj+YYuf9Q5CyYlYjouCg== X-Google-Smtp-Source: AGHT+IGn6s9TQhtEnvOKcczHiFAbkVVReYaPqanZcE3nK2m67ZuKLchLfveCTNg0CfsZ8H5UFu+o X-Received: by 2002:a05:6a00:3cc6:b0:6e4:8eea:5955 with SMTP id ln6-20020a056a003cc600b006e48eea5955mr689817pfb.31.1708710877226; Fri, 23 Feb 2024 09:54:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708710877; cv=pass; d=google.com; s=arc-20160816; b=V3QHSsaqaPlP6chNRfHF8zt0zFNYzV82QvRq3pSnWUUqeQ7cH0u3Vhj80dyg5KAi50 8mWnaGQ8TLhF1HXkBoin44PIa1vjuOpFYjiff1dDHzAQZEZNeS3GDEUbSQbTxLhJFilV RH2uElNR58a1QtCaVcUE1gGqbdmLim7usS+XhTPzobvj9iC9ciJznaAfumckvYC1oBdx QDXOJxXD+UtdKW+laIMutTLGNRtg7deCjK8M7F7VUrfep5inieBnabJZAKHHjHGm2tP1 sfUlUX6ocE1uYkMaIGj6ADG6OZ2yZR7rH3ua02HtyBEGSPgfeC2eX13x6ozMlqdPCm+T rfAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:sender:dkim-signature; bh=aFTut3+4qkGhS8AYHqbTNfHoA7qF2QMx6EtGEpLVCik=; fh=JJgwm+3YqnafRbzh0nW6k8WlSEHSkykC08UTtUSQPko=; b=dRbdIMMNlJhg4KoMJGobeCfy27YENMrQvnUXrNSiyzz0SwMlhLyMt7Ykvc4GPPYJUH 3ehmbGbpFRTBHQvjtyrh5fJFNjkYEvsxO16WcQvDCQrGcRGxEdGuZfDE6O2C3QiLwMWY NgIj3zVvMtppEQkh/qG89jgucn2q7hzCbRhqEvXTMHeJRCY0Uf6he7IhL+TCELBBs806 nOuwMTX3nJmlNJ7tbWLzwuGiGIe3m0TpmYtwkmNmeFcWOpyp530BTvhT3VDOKysKWNhz jQ504pHjtIVuqxW6s/ifk4xO1NhzJpOFxJswUqgqdFQv07m3iUIVuKQn5SXxgZnoer0o s7Ng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eUxcLdcb; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-78892-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78892-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id v10-20020a056a00148a00b006e3f39ecbf6si11248597pfu.54.2024.02.23.09.54.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:54:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78892-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eUxcLdcb; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-78892-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78892-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 92DC8B21096 for ; Fri, 23 Feb 2024 17:44:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C87014039A; Fri, 23 Feb 2024 17:42:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eUxcLdcb" Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 932BB13F010; Fri, 23 Feb 2024 17:42:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708710158; cv=none; b=ockawiUsHzHbR6OC5qo12ojYc19VfvryNrfwFEz9Kd2tP8hYbmDB/2M+uJLOIjM7nCqa/YEsL2Fb3IESDxCJX6Ux++Gz0c86WzQfxBORlm9nTcz9RlLQwOYGTSg8xgcoTd9kvUjNsyA8Xn2NjNNwBOiIf6Pwjb6R2VGa8X2wlIc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708710158; c=relaxed/simple; bh=B2obSwDEVHBkcnZehtnKyWZ0YBP4Jo3Z+lXXRsHPDaw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=EfHJCh+lwPXeMVgwTwbH4PDXba15aklG1SO2zWgL6KruxGsC1Jl85m6x6TIXeaRIhxp8D+sXJyuDuGLT+midrmTagKnqpdOox0/r+B+JX/q2s8oDpJXVXiIk3EFwMeOR1mFcSWEe6vq0kwWtpoNfvkmEDNQajrUngo2LJBznHc0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=Groves.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eUxcLdcb; arc=none smtp.client-ip=209.85.160.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=Groves.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-204235d0913so761133fac.1; Fri, 23 Feb 2024 09:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708710154; x=1709314954; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=aFTut3+4qkGhS8AYHqbTNfHoA7qF2QMx6EtGEpLVCik=; b=eUxcLdcbAegkQyfGlz1MY8amd3BF5iXItKpIK4QAJROOvCCRmvpaab9mhd2mBGKrTd r3sdqZLz9rSiel3kYzYRW17rBzS1FQ2OaTJOpCrmnuLPj0crUbVjMi1J1tJo5TXWj+EH uaAIBGCuaAcE9G+dBebjZHn3SR7wxUTUOtQ2lLOAPtRh+26ixRoezc3gXBvt9/e/EGBU uOK3nDzHqVGbK9P+q5+ICC91/UrX5iZs61M05DIVeDDiz1XhxFkprHONOsNs+naI+nqo y4k0NtsFdcZB/iz8asCrTbDzCELR1lh6Uv4VWYQuURMf2byUnTaLhJDJVPyQnYFJy72E 7V/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708710154; x=1709314954; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=aFTut3+4qkGhS8AYHqbTNfHoA7qF2QMx6EtGEpLVCik=; b=eF334JAaMimfrFteYOTlseO6cu4XkUYcRmk9HENcGRYV10vluOeYJ7xJFvuXlZ8xuj 18E5x8rnbK6H3ewRPLLDJRUyjamyMRgBpvmuNH69SGJSyc27GudHnnQmO1UcILV832Q8 ZDqQRm5sslA3h5NzcZ+w0vbJpOe/n2aiKXilVxd8E8ZmUKZXtvWR9CVh9+5qyk95mFcm n15nsbxcKfOOHqYFrNeQDhVROhLzO/ZchDbAqIe9fxHuw4SM5o3Aj3iWSch2xQeujS+9 7aXhNp2c4JV27ZIf8E9UmgwDEE5g1k/rH5rIOQD3oHyEhzFztFcTT3PSHGADcGGJvGkv vGew== X-Forwarded-Encrypted: i=1; AJvYcCVY1U5MI0knWJRBoL7ghjBiuaNLfqRFD7Vh/5kc0KkgJJG/buHgMRrG5eImBWCnPZexyGoFN0guNpX4PbKnHz6P/Yy3+Qkc6mY9mtkGSsKoHSj+pmKXyc5my97OaQTwxk6tYycmoT40HyK/ygacVMhlE7ngFyYsRGAGMS1LxJCiOxO0Ml/4ZnKXP3QOcuDRN0/lZ6F+1+0oy6Tom4ja1KNkzw== X-Gm-Message-State: AOJu0Yy21zHEeFq2iv5KrkLPgpoq1d/ng0bD1kfez4YlKHj31jfCetrH GvvTx/tfuD9/rxQMwVbQTP+y1WX9Isgv51kcTKBAHUwUAZfHMS94 X-Received: by 2002:a05:6870:f6a1:b0:21e:9b99:53d8 with SMTP id el33-20020a056870f6a100b0021e9b9953d8mr561935oab.22.1708710154758; Fri, 23 Feb 2024 09:42:34 -0800 (PST) Received: from localhost.localdomain (070-114-203-196.res.spectrum.com. [70.114.203.196]) by smtp.gmail.com with ESMTPSA id rb7-20020a056871618700b0021f6a2bd4b9sm1257803oab.3.2024.02.23.09.42.33 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 23 Feb 2024 09:42:34 -0800 (PST) Sender: John Groves From: John Groves X-Google-Original-From: John Groves To: John Groves , Jonathan Corbet , Dan Williams , Vishal Verma , Dave Jiang , Alexander Viro , Christian Brauner , Jan Kara , Matthew Wilcox , linux-cxl@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, nvdimm@lists.linux.dev Cc: John@Groves.net, john@jagalactic.com, Dave Chinner , Christoph Hellwig , dave.hansen@linux.intel.com, gregory.price@memverge.com, John Groves Subject: [RFC PATCH 06/20] dev_dax_iomap: Add CONFIG_DEV_DAX_IOMAP kernel build parameter Date: Fri, 23 Feb 2024 11:41:50 -0600 Message-Id: <13365680ad42ba718c36b90165c56c3db43e8fdf.1708709155.git.john@groves.net> X-Mailer: git-send-email 2.39.3 (Apple Git-145) In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the CONFIG_DEV_DAX_IOMAP kernel config parameter to control building of the iomap functionality to support fsdax on devdax. Signed-off-by: John Groves --- drivers/dax/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/dax/Kconfig b/drivers/dax/Kconfig index a88744244149..b1ebcc77120b 100644 --- a/drivers/dax/Kconfig +++ b/drivers/dax/Kconfig @@ -78,4 +78,10 @@ config DEV_DAX_KMEM Say N if unsure. +config DEV_DAX_IOMAP + depends on DEV_DAX && DAX + def_bool y + help + Support iomap mapping of devdax devices (for FS-DAX file + systems that reside on character /dev/dax devices) endif -- 2.43.0