From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56688C33CB2 for ; Fri, 31 Jan 2020 04:57:51 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 13AA820702 for ; Fri, 31 Jan 2020 04:57:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 13AA820702 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=au1.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id AD6AF6B04B8; Thu, 30 Jan 2020 23:57:50 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A88236B04B9; Thu, 30 Jan 2020 23:57:50 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 92A636B04BA; Thu, 30 Jan 2020 23:57:50 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0164.hostedemail.com [216.40.44.164]) by kanga.kvack.org (Postfix) with ESMTP id 769456B04B8 for ; Thu, 30 Jan 2020 23:57:50 -0500 (EST) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 1E6BF1EF1 for ; Fri, 31 Jan 2020 04:57:50 +0000 (UTC) X-FDA: 76436721900.16.stew50_6171c65d2ad0c X-HE-Tag: stew50_6171c65d2ad0c X-Filterd-Recvd-Size: 6470 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf47.hostedemail.com (Postfix) with ESMTP for ; Fri, 31 Jan 2020 04:57:49 +0000 (UTC) Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00V4ujlc022041 for ; Thu, 30 Jan 2020 23:57:48 -0500 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0b-001b2d01.pphosted.com with ESMTP id 2xv7e2a0n4-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 30 Jan 2020 23:57:48 -0500 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 31 Jan 2020 04:57:46 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 31 Jan 2020 04:57:39 -0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 00V4vcsS46661796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 31 Jan 2020 04:57:38 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 139B7A4051; Fri, 31 Jan 2020 04:57:38 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B0C1BA404D; Fri, 31 Jan 2020 04:57:37 +0000 (GMT) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 31 Jan 2020 04:57:37 +0000 (GMT) Received: from adsilva.ozlabs.ibm.com (haven.au.ibm.com [9.192.254.114]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.au.ibm.com (Postfix) with ESMTPSA id B2E26A0388; Fri, 31 Jan 2020 15:57:33 +1100 (AEDT) Subject: Re: [PATCH 09/10] powerpc: Enable OpenCAPI Storage Class Memory driver on bare metal From: "Alastair D'Silva" To: Frederic Barrat Cc: Oscar Salvador , Madhavan Srinivasan , Geert Uytterhoeven , David Hildenbrand , Wei Yang , Keith Busch , linux-mm@kvack.org, Michal Hocko , Paul Mackerras , Ira Weiny , Thomas Gleixner , Pavel Tatashin , Dave Jiang , linux-nvdimm@lists.01.org, Vishal Verma , Krzysztof Kozlowski , Anju T Sudhakar , Mahesh Salgaonkar , Andrew Donnellan , Arnd Bergmann , Greg Kurz , Qian Cai , =?ISO-8859-1?Q?C=E9dric?= Le Goater , Dan Williams , Hari Bathini , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Vasant Hegde , Andrew Morton , linuxppc-dev@lists.ozlabs.org Date: Fri, 31 Jan 2020 15:56:58 +1100 In-Reply-To: <3ba57ce6-9135-0d83-b99d-1c5b0c744855@linux.ibm.com> References: <20191025044721.16617-1-alastair@au1.ibm.com> <20191025044721.16617-10-alastair@au1.ibm.com> <3ba57ce6-9135-0d83-b99d-1c5b0c744855@linux.ibm.com> Organization: IBM Australia Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.3 (3.34.3-1.fc31) MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 20013104-4275-0000-0000-0000039CA981 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20013104-4276-0000-0000-000038B0C919 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-30_09:2020-01-30,2020-01-30 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1011 priorityscore=1501 malwarescore=0 phishscore=0 suspectscore=0 mlxlogscore=908 adultscore=0 lowpriorityscore=0 spamscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1911200001 definitions=main-2001310042 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, 2019-11-08 at 08:10 +0100, Frederic Barrat wrote: >=20 > Le 25/10/2019 =C3=A0 06:47, Alastair D'Silva a =C3=A9crit : > > From: Alastair D'Silva > >=20 > > Enable OpenCAPI Storage Class Memory driver on bare metal > >=20 > > Signed-off-by: Alastair D'Silva > > --- > > arch/powerpc/configs/powernv_defconfig | 4 ++++ > > 1 file changed, 4 insertions(+) > >=20 > > diff --git a/arch/powerpc/configs/powernv_defconfig > > b/arch/powerpc/configs/powernv_defconfig > > index 6658cceb928c..45c0eff94964 100644 > > --- a/arch/powerpc/configs/powernv_defconfig > > +++ b/arch/powerpc/configs/powernv_defconfig > > @@ -352,3 +352,7 @@ CONFIG_KVM_BOOK3S_64=3Dm > > CONFIG_KVM_BOOK3S_64_HV=3Dm > > CONFIG_VHOST_NET=3Dm > > CONFIG_PRINTK_TIME=3Dy > > +CONFIG_OCXL_SCM=3Dm > > +CONFIG_DEV_DAX=3Dy > > +CONFIG_DEV_DAX_PMEM=3Dy > > +CONFIG_FS_DAX=3Dy >=20 > If this really the intent or do we want to activate DAX only if=20 > CONFIG_OCXL_SCM is enabled? >=20 > Fred We had a bit of a play around with reworking this the other day. Putting them in as depends didn't make sense, as they are "soft" dependancies - the driver works and you can do some things without DAX. Adding them as selects was rejected as selecting symbols that can also be manually select is discouraged. We ended up going full circle and adding them back to the defconfig. --=20 Alastair D'Silva Open Source Developer Linux Technology Centre, IBM Australia mob: 0423 762 819