Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1273313rbb; Mon, 26 Feb 2024 04:34:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVB6J9fhaBG1i9+IaEkoPicbOdBRU6+WbvCGt4cKCqV/RuLgWs5h+HG0Q88nyEIsRchufWvQty4kme2rHhaMLNhu3bkw/Z6PjY806aYOw== X-Google-Smtp-Source: AGHT+IHDY3Yu0L8Cu4UtMYI/DnEDY2tg/n7TMwmgEHPYX+iTbr63ufN80ww8K06kZsUfEydPFh97 X-Received: by 2002:ac8:5702:0:b0:42e:8ebd:58b with SMTP id 2-20020ac85702000000b0042e8ebd058bmr824536qtw.27.1708950875150; Mon, 26 Feb 2024 04:34:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708950875; cv=pass; d=google.com; s=arc-20160816; b=mR75fAj67DpV2B2gqtFwZf60KhnHqQNvJPCUXgIZxyC6f/AnvYwUZ0Lg2CaYJHvpGs xvJ5SQbI160VqtVGn1gIzu8nYd6MtcjpqFgI6HPNo0Qi2kFrsQx+Gw9b/BvvJc239mRr W77NKCGDauArci20ckAbdeInCStvORxyMJtusIoY0LDSV7gfX0uZjDCV36xzm/YOx/od pCoXujOK/tUXxS7+abVal/9USTFQn8/9MZTaVKwrH/Bxd3MjOvg1De1aNXmOhQOLCgMt hZl+D/pol5oznI9Wez+mbjmXjzi9yyZm+2nGv5S1PR3GU+Zkir2Dc2bsR37uHOpY0+0z DB+w== 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:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=QF0jpax7VEsxJ04KD1Rio5NyDXo3B9O6dHadMtbqK30=; fh=NxEgvf8Rw6A11ITJWFIYtOfb5rphg3RFyVjPJ/rcJm4=; b=X4U81yaEeQjoJ0PadkKXEnQi2X5mU8wItCXBKVuzaAgGIeVBL+bZsW9FrWJMWL2hbR 6JJE/9VVRLZr91vvDs62Vr60pZHiXMs76FMx4To6IxnRZuzA+fWsjsbxXjc7K4q2LcKK 9jd0/HDPCQbZGj7P0kVo+pPIKgNXoNTZqew3VrfpsRjm4AkvZLIbQ60b1AwfhcWMFiD4 69W9yyO9togDUFkj88dSte0HlIFqjl1NZJtZJIUTdTzfCgdS8beENwWouEVjP7XtuV41 qrMBJXRg4LuKYb15SQqFF2vSV/DfpaON8LibkbrPYeiHMkWQBfhphwMDrwuRwvGcFnr2 WATA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-81378-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81378-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j14-20020ac8550e000000b0042e76ff433asi4278362qtq.321.2024.02.26.04.34.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 04:34:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81378-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-81378-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81378-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E070F1C25242 for ; Mon, 26 Feb 2024 12:34:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EE3377F7CA; Mon, 26 Feb 2024 12:34:22 +0000 (UTC) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62F7B7EEE6; Mon, 26 Feb 2024 12:34:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708950862; cv=none; b=MjZdVPezxQaTtTENoOcjYqrmGX/cBdibmnv/+yhllKVHonupDH+lF/lU/GxSFztU4w0dXkjs2HaCFw/G/tX4TKSeY/DMKqDsXWxbpvaLTXF7mkR0zpzXlEU/QTuQ0uUkY0IRKf7jWcF35XEPoSiY27MiulwuZUm8ygbEGUduCcM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708950862; c=relaxed/simple; bh=dbszWLDjXPJNwXKH/pEp8OApSBuWz+lKi4U/CYmXC1s=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oCVQDkDRpMp/Uw6Sotdpd/JEo4uHozwS3nCgs0DUTpqisbgMYikUaR27XqBwUJABgYHFTMSibcAyTeSg7sj9GcSIdwDMumOZVWbM1Ws3fbXCkBc1M3KC+WtpGUMI8MPUcvWdyw/nbqilnReajFnP7Plan67PzsJ88hDHjbro0gY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Tk0Lb3cwgz6K6j5; Mon, 26 Feb 2024 20:29:59 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 079E01411DE; Mon, 26 Feb 2024 20:34:18 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 26 Feb 2024 12:34:17 +0000 Date: Mon, 26 Feb 2024 12:34:16 +0000 From: Jonathan Cameron To: John Groves CC: John Groves , Jonathan Corbet , "Dan Williams" , Vishal Verma , Dave Jiang , "Alexander Viro" , Christian Brauner , "Jan Kara" , Matthew Wilcox , , , , , , , Dave Chinner , Christoph Hellwig , , Subject: Re: [RFC PATCH 06/20] dev_dax_iomap: Add CONFIG_DEV_DAX_IOMAP kernel build parameter Message-ID: <20240226123416.0000200f@Huawei.com> In-Reply-To: <13365680ad42ba718c36b90165c56c3db43e8fdf.1708709155.git.john@groves.net> References: <13365680ad42ba718c36b90165c56c3db43e8fdf.1708709155.git.john@groves.net> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml100005.china.huawei.com (7.191.160.25) To lhrpeml500005.china.huawei.com (7.191.163.240) On Fri, 23 Feb 2024 11:41:50 -0600 John Groves wrote: > Add the CONFIG_DEV_DAX_IOMAP kernel config parameter to control building > of the iomap functionality to support fsdax on devdax. I would squash with previous patch. Only reason I ever see for separate Kconfig patches is when there is something complex in the dependencies and you want to talk about it in depth in the patch description. That's not true here so no need for separate patch. > > 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