Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp229650ybl; Thu, 30 Jan 2020 20:59:57 -0800 (PST) X-Google-Smtp-Source: APXvYqxUsfL0TfEJqrqhEnCOqQGEy5Ua9Klq3wYcoxCCGFo66mUkcfm2ccCxex1BcPq9BDBoHYQY X-Received: by 2002:a9d:798e:: with SMTP id h14mr6082903otm.257.1580446796902; Thu, 30 Jan 2020 20:59:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580446796; cv=none; d=google.com; s=arc-20160816; b=sCQn8ArbxS6HU+UMd6tL5VFOgrbo+8OGaKXGVbbGThPrh5tWHxF1WdSs87h+4Xzz2r k9cIOtufwL1jbjNqaH1lzz4L7Rt/sLhHzFqPGnDCou8lTlILzVMu9ArnQvwh49oCmskf TGYWY3FzC16vLawYAb9oPbsFc0OAKX1fOh+rEfiB+8HNR0d97mC6RZ5rKV3gh3vKVbmt Se1Bh3vhZp6Rwq/swe38zfr8UiTgiGV6NxP8p9griINfmgJ+I5ACClZts1vJstZgeNVA U2XEW2gUPSJxUcydtoSmBFF7/wpmXFVRwMdgnIcIdg9TvvixcJe8RYZOG6XRYeB/1erL 23Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:user-agent:organization:references:in-reply-to:date:cc :to:from:subject; bh=PnIBfE7E1/myyMiqAkSGrloQC2xvNQCzbMJCI42cwTQ=; b=mL0Oh+Uku0BzVDyp15ZHsiZU0OPNK7tDdsYe5HVJvdeyqqjxO+93MDZGmes9JCtP1O DUayPYYBMAVLik4Sfz3+bCK/Xi/vXkdB1EnP6GW7q928Xf0L3iWwwQewPWqYYde4x+Aq f0yKXStF0fMaOb5szfFEz1TirNVF3SY3380EjSSr8GZ9eIcm6NnRcmgt10rg4TcsUcr/ M0sM9BY+V9yWDMleV2bnFmwL9FaWUqd2KVGcqAoZWdu+VdE9q2QS13xyDg0gfrX0cE9r 1yqOOQ/62hfLE+pUe32teTXH8PX0k3rqsSUX9rVzs3aH+WZs2x/8obwjN6DGOzPIcUVs 5K2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m7si4312958otk.73.2020.01.30.20.59.44; Thu, 30 Jan 2020 20:59:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728076AbgAaE5u (ORCPT + 99 others); Thu, 30 Jan 2020 23:57:50 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:2062 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727933AbgAaE5u (ORCPT ); Thu, 30 Jan 2020 23:57:50 -0500 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00V4t1k3085248 for ; Thu, 30 Jan 2020 23:57:49 -0500 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0a-001b2d01.pphosted.com with ESMTP id 2xv7b4rxu8-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 Content-Transfer-Encoding: 8bit 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 suspectscore=0 phishscore=0 adultscore=0 malwarescore=0 clxscore=1011 priorityscore=1501 mlxlogscore=912 bulkscore=0 mlxscore=0 impostorscore=0 lowpriorityscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1911200001 definitions=main-2001310042 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2019-11-08 at 08:10 +0100, Frederic Barrat wrote: > > Le 25/10/2019 à 06:47, Alastair D'Silva a écrit : > > From: Alastair D'Silva > > > > Enable OpenCAPI Storage Class Memory driver on bare metal > > > > Signed-off-by: Alastair D'Silva > > --- > > arch/powerpc/configs/powernv_defconfig | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > 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=m > > CONFIG_KVM_BOOK3S_64_HV=m > > CONFIG_VHOST_NET=m > > CONFIG_PRINTK_TIME=y > > +CONFIG_OCXL_SCM=m > > +CONFIG_DEV_DAX=y > > +CONFIG_DEV_DAX_PMEM=y > > +CONFIG_FS_DAX=y > > If this really the intent or do we want to activate DAX only if > CONFIG_OCXL_SCM is enabled? > > 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. -- Alastair D'Silva Open Source Developer Linux Technology Centre, IBM Australia mob: 0423 762 819