Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp27832ybc; Mon, 18 Nov 2019 19:28:40 -0800 (PST) X-Google-Smtp-Source: APXvYqxwwBAqZm4U13udsieicxfCDe+SCvQvvsIiPkTcF0ziO4smtjkFrVbkCLgp1HBK/eZ5rGBE X-Received: by 2002:a17:906:1c59:: with SMTP id l25mr31337576ejg.98.1574134120538; Mon, 18 Nov 2019 19:28:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574134120; cv=none; d=google.com; s=arc-20160816; b=z97vWmu0CrXHpk/lqSWF2ETsTWzOseEK6Z0yxc50n96KAexR5zATVDK6TBt727rDCU cd+AkXNMl5idS5u1V9wspGEu3sG1KXp0UjBCqsEJhhU3e2gGTXzBmYGxhAGIpBr1H76P x7DlqUw9Z3S3AEpw6nO2zrKvpfkBqt7RexN3ySib3ROpyPyQtsw7NA2uR2P1+M6eSAjv eLQf9mUajIUynVgYRdTFQoGSgqInzSJrNkMjazAsPxp9doSeR1WVfFh1Muj5LFowBY13 bWYdQ4wNbd27fab/g07cVDz6bCMMZxFHkwggWX8RarY+kpp2zEpNoQ2dtbv03atdrm46 sIVw== 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 :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject; bh=VQBZmrr93t7Z6sP7+Dd49IOWgK0uFqSMhfNwq0srbwo=; b=AGm6VS2zzdWY+2ouEcfIrocjduxN8IyPvePS5EE9B5sK7MRBIxNNIU5I53oP94N9JT aYRLqOwkhM4Ip/hBarbD8fkbLRy8XUZvg9XV2SOkZDrTh9NR/ZmZRGNeWU6u22Eo/e3M taUKFE5MufB+eHF3yOYXWQvhT2rp5affCDsKikZlfRl1/avLilGl9fe1VI8nvx7syIHD MrE/X30baQxmVt/f4Du0lCyqmhVsLqAuq386IqTFAFI8xjV4paKTwakdZzDkpPqX6Yka jR3PwfhElVMolIpH1sOhtTO/CNsTGuzdmEscDIcnLuK5wrSs6CpsAfGjKLTBHcdivU4w CfGA== 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 i3si11463272edx.271.2019.11.18.19.28.16; Mon, 18 Nov 2019 19:28:40 -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 S1727512AbfKSD1V (ORCPT + 99 others); Mon, 18 Nov 2019 22:27:21 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:41012 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727018AbfKSD1U (ORCPT ); Mon, 18 Nov 2019 22:27:20 -0500 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xAJ3RHsY098836 for ; Mon, 18 Nov 2019 22:27:18 -0500 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0b-001b2d01.pphosted.com with ESMTP id 2way6ah2un-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 18 Nov 2019 22:27:17 -0500 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 19 Nov 2019 03:27:07 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 19 Nov 2019 03:27:00 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id xAJ3Qx2f37617726 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 19 Nov 2019 03:26:59 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A85D452050; Tue, 19 Nov 2019 03:26:59 +0000 (GMT) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 53B995204E; Tue, 19 Nov 2019 03:26:59 +0000 (GMT) Received: from [9.81.206.200] (unknown [9.81.206.200]) (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ozlabs.au.ibm.com (Postfix) with ESMTPSA id 4CE4DA012A; Tue, 19 Nov 2019 14:26:53 +1100 (AEDT) Subject: Re: [PATCH 08/10] nvdimm: Add driver for OpenCAPI Storage Class Memory To: "Alastair D'Silva" , Dan Williams , Frederic Barrat Cc: Oscar Salvador , Michal Hocko , David Hildenbrand , Alexey Kardashevskiy , Wei Yang , Keith Busch , Masahiro Yamada , Paul Mackerras , Ira Weiny , Thomas Gleixner , Pavel Tatashin , Dave Jiang , linux-nvdimm , Vishal Verma , Krzysztof Kozlowski , Mahesh Salgaonkar , Arnd Bergmann , Greg Kurz , Nicholas Piggin , Qian Cai , =?UTF-8?Q?C=c3=a9dric_Le_Goater?= , Hari Bathini , David Gibson , Linux MM , Greg Kroah-Hartman , Linux Kernel Mailing List , Andrew Morton , linuxppc-dev References: <20191025044721.16617-1-alastair@au1.ibm.com> <20191025044721.16617-9-alastair@au1.ibm.com> <8232c1a6-d52a-6c32-6178-de082174a92a@linux.ibm.com> <02374c9a-39fb-5693-3d9c-aa7e7674a6c1@linux.ibm.com> <7fd5a4571062a06da8f09f18300794b48ead5dc1.camel@au1.ibm.com> From: Andrew Donnellan Date: Tue, 19 Nov 2019 14:26:53 +1100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <7fd5a4571062a06da8f09f18300794b48ead5dc1.camel@au1.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-AU Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19111903-0020-0000-0000-0000038A10F5 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19111903-0021-0000-0000-000021E03A94 Message-Id: <33b6f6b2-5ca1-7c08-01db-6aad73f9a0ec@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-18_08:2019-11-15,2019-11-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 impostorscore=0 priorityscore=1501 clxscore=1015 spamscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=909 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1911190029 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/11/19 1:48 pm, Alastair D'Silva wrote: > On Tue, 2019-11-19 at 10:47 +1100, Andrew Donnellan wrote: >> On 15/11/19 3:35 am, Dan Williams wrote: >>>> Have you discussed with the directory owner if it's ok to split >>>> the >>>> driver over several files? >>> >>> My thought is to establish drivers/opencapi/ and move this and the >>> existing drivers/misc/ocxl/ bits there. >> >> Is there any other justification for this we can think of apart from >> not >> wanting to put this driver in the nvdimm directory? OpenCAPI drivers >> aren't really a category of driver unto themselves. >> > > There is a precedent for bus-based dirs, eg. drivers/(ide|w1|spi) all > contain drivers for both controllers & connected devices. > > Fred, how do you feel about moving the generic OpenCAPI driver out of > drivers/misc? Instinctively I don't like the idea of creating a whole opencapi directory, as OpenCAPI is a generic bus which is not tightly coupled to any particular application area, and drivers for other OpenCAPI devices are already spread throughout the tree (e.g. cxlflash in drivers/scsi). -- Andrew Donnellan OzLabs, ADL Canberra ajd@linux.ibm.com IBM Australia Limited