Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3992653pxb; Mon, 1 Feb 2021 09:37:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJznlXQMwqZQa5GzSr+pumDx3vTaQ9tBEiQOndWV0lH2AO4gCtl15KROrigo6QJuPGpTCjA8 X-Received: by 2002:a17:906:128e:: with SMTP id k14mr18383542ejb.427.1612201054326; Mon, 01 Feb 2021 09:37:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1612201054; cv=pass; d=google.com; s=arc-20160816; b=bB6nynQ4vGSKEZ3xBEt/L26KStKt/ASJBT3qDW+3dXODXCMayFCQvOaZxdChdgEnwe UCCtwGzp6DFWaBNUMgBbsbtH3khDTseJVo7PM3J9EJGEZoRKOjU5Ho9igRPzG3OdmgrE GdUjnjTIVXoIxKZNVlgbCrJjfC+TWx60Q8EMm9AfyD3eAs9RTDiJMg4J5fSCkdIB/CWU +ICaq49qqRmwowXAiJ4ZUnkzE0qLsSFFhuSVpuvGDY+eEdurgkbpRoskq2OIznYm+bAj 5BAhg0tUhLBnAnfshmwsudXsRu4fMlzAxCIiyk+u7YjOrpZIm3glSpGHrOeZfNpEO3cH nBng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=jjhTUc1QY7sbZCJuQzUSYGQ8PrbdueXgDm36VNoOVm8=; b=Wc+M/O4H90Ny7vbdr0YZJYyq85PBjbk5MOpAfGpVg9iURJBVhXAcAHCmqaoN6JP7Qu 2syPOme0WzSm5De2QK7jDHylwa9+ZeqoNQMUCVBm2CmiWgkLPWz4X5knDhYnmZ9AtyKd Ops8lvj5Wnk9yaLNSbHQj+vnIFTTUYKz9qbdOIvcVJt/iOC0CvHQyprOM9ErNjMwdiBO +YELatIQCGpLPy8XDXYCJ+NYarteQv/jhUlyw6anwvKNg3Ijc8O9QN1Pw1Lof2bItR+P E1fUw05lHJAYqa58Vzjh5aSd3KCmSUnI3lmltopx51kIgFdN8MwI3FKE+qIhgzuN8Ozx zefA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=E+F8i43j; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="Q2x/ys/q"; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t8si10454665ejr.334.2021.02.01.09.37.09; Mon, 01 Feb 2021 09:37:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=E+F8i43j; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="Q2x/ys/q"; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231280AbhBARga (ORCPT + 99 others); Mon, 1 Feb 2021 12:36:30 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:49724 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229717AbhBARgZ (ORCPT ); Mon, 1 Feb 2021 12:36:25 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 111HUBe9047767; Mon, 1 Feb 2021 17:34:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=corp-2020-01-29; bh=jjhTUc1QY7sbZCJuQzUSYGQ8PrbdueXgDm36VNoOVm8=; b=E+F8i43jil2B/L1JunRRDcBt2qUCWqUMfbaq/I8jO8b1bhoRvgtXm3eCCU/EpDcAFJ3L E4lf0fpzZ2TyRlbuSfGGc2kpTGWcMX24FOj8tY4VieMUtl/pOEmso04Dvol3IFdWInUt TMClES3PhW2AsGeUMuJxHv7KFhg+ZQ1Q1bce2Ef+ofdyhfE2tTI8gstx+VKtQR8PYnXi XiTeQ7PYdVoT/4hGyGRpo6geVgdbVyVJLid6i3WCt0DW+7Jskh9dIAkfkHFItKVpCaqb 0qhSBWv4QcmVEomOjrY1sOYgfe4BDPay8WjQoRByPogme5cpbrUD/1Yuxphnh2FyuzT6 xQ== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 36cxvqxjv7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 01 Feb 2021 17:34:19 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 111HUAxB087510; Mon, 1 Feb 2021 17:34:19 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2169.outbound.protection.outlook.com [104.47.56.169]) by userp3020.oracle.com with ESMTP id 36dh7q2b37-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 01 Feb 2021 17:34:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wn2+gW0HXjUbiiE/fLRa3KrSVX2F+2j9wQ5sCfus0mLsU/L4dIR2TqKVy/t0tXO00mf+Hcnoz436Fk5jrX/P6/PSs2qbp5gqSRIw3xvNPQl6VQ0sB3HakHuzkwtd1ZJSNS9lPNOGs/ud8YTHVGOB7tKcTi7Qf2LIIdMdkG3NF+Xotd8N9PNRIfepkt/pVccdR9lZdmD8BW9DmvX9Zoyzjz2scyeXrlR7iNLOXzHLIkSpSe98cVO85BKe1Zm+3jBE6tK8WsoSrwKkxDsSdxCfHVuTK2sW6cUBohw1UiRp9bYG1h7hNZGlOyBhAR+bSmCY5l0EW+yl0FZJfa24n765ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jjhTUc1QY7sbZCJuQzUSYGQ8PrbdueXgDm36VNoOVm8=; b=CEBdI127RXsFs/QCJzXIoo1dPqabeiVZzVXoi93dngUdkpJ5V+plR3fV60IRv3hbL0V9V98nkCTRSvc3U9y6tOmN8R/SXAfgzJ5KIicjtKFDqwaPPIsjrHuhdUdLdaNRBqNZz0hD1TlrKCKsbyWrGJTQf/GUJVnVTcbGI0bviLUzEeIc36atWaENYfF9CwnKu1yM5fuIJORpEwaCwCeLi0SjnspDNvKtqL1JgasKSLXsi2tYlebWs2ZCJi6ChZ7PInnRuVjI4y8mlGrgql+Eqrc+ohBl1Yqqxk0nkCw7q4HCTXz9WzMLD8KC53lQxDcFuk6mDXInEIdXapfxMNjpqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jjhTUc1QY7sbZCJuQzUSYGQ8PrbdueXgDm36VNoOVm8=; b=Q2x/ys/qtgplmNwXEXJy6SlEXfQfxV4aX3TH7oOXwl/nlQjCHtywFRVDes0G2qmVdtaODCCitW/8HMFvSZdFmqhUEcYb8CgumhZs2o4gUTfl9UQeLfdJs5y67kaPEKWUu81d07/ScxERCBV8XeyIZkqvAR8KBiVMbWhBQoal8SQ= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=oracle.com; Received: from BYAPR10MB2999.namprd10.prod.outlook.com (2603:10b6:a03:85::27) by BYAPR10MB2598.namprd10.prod.outlook.com (2603:10b6:a02:b1::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.23; Mon, 1 Feb 2021 17:34:16 +0000 Received: from BYAPR10MB2999.namprd10.prod.outlook.com ([fe80::e180:1ba2:d87:456]) by BYAPR10MB2999.namprd10.prod.outlook.com ([fe80::e180:1ba2:d87:456%4]) with mapi id 15.20.3784.019; Mon, 1 Feb 2021 17:34:16 +0000 Date: Mon, 1 Feb 2021 12:34:11 -0500 From: Konrad Rzeszutek Wilk To: Ben Widawsky Cc: linux-cxl@vger.kernel.org, Dan Williams , Jonathan Corbet , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org, linux-pci@vger.kernel.org, Bjorn Helgaas , Chris Browy , Christoph Hellwig , Ira Weiny , Jon Masters , Jonathan Cameron , Rafael Wysocki , Randy Dunlap , Vishal Verma , daniel.lll@alibaba-inc.com, "John Groves (jgroves)" , "Kelley, Sean V" Subject: Re: [PATCH 01/14] cxl/mem: Introduce a driver for CXL-2.0-Type-3 endpoints Message-ID: <20210201173411.GD197521@fedora> References: <20210130002438.1872527-1-ben.widawsky@intel.com> <20210130002438.1872527-2-ben.widawsky@intel.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210130002438.1872527-2-ben.widawsky@intel.com> X-Originating-IP: [209.6.208.110] X-ClientProxiedBy: MN2PR10CA0012.namprd10.prod.outlook.com (2603:10b6:208:120::25) To BYAPR10MB2999.namprd10.prod.outlook.com (2603:10b6:a03:85::27) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from fedora (209.6.208.110) by MN2PR10CA0012.namprd10.prod.outlook.com (2603:10b6:208:120::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.16 via Frontend Transport; Mon, 1 Feb 2021 17:34:14 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 56a96f0f-690c-4b51-f86d-08d8c6d7993e X-MS-TrafficTypeDiagnostic: BYAPR10MB2598: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4125; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: slIYEtAfHKKtXLpHrqraHjkSBz3vwN7GsIsxrZEGKX/zt6UP8+W3qrXiVei3bVqlp2M3b26I4+1L8/0CBX0qtdTSZF1fWGHpJ8/IaEC+i4w+q/DoP78cOD2RqMd8AxZ5dGAWTy8DIujv65rSsop0E6lMV8MR2C++eF1KFZhCZH/nqKnpAZ0HGw2UT+6mrWEKFzd7Tl1W3qN0iuDW7MFGHXsZM/zfh5YAT3Pw+mMJArpum8OSsNtg/uoqpQ5gra0c8RZta+MtYMeHsrT3zvNFjCUC30tOfHwzeSDDVg6/xnZMepwl1FurIMK7jx32G+oPhZzqtkPuDqPaRPMS3eoh6yUBOUbnTev80L1RtA7xiIdGVbwC9ohzfXXXutVUoSorBGtKpoPRm00vZ7TkYFvWHIVrL3DierRlszBG7R/RPnSakYP8e9RkaGA94T+XxOthpwGwfM9HLUARY/kzJqpP+lJfn9tPzQNbUe02asmT4YlrQ4JLQ4BDdQj3DPSHh45mpadnaw9j77lnA5JBYmmgcQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR10MB2999.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(346002)(376002)(396003)(366004)(39860400002)(136003)(16526019)(66556008)(33656002)(4744005)(5660300002)(66946007)(1076003)(6666004)(316002)(26005)(6496006)(186003)(52116002)(66476007)(54906003)(86362001)(956004)(9576002)(8936002)(6916009)(9686003)(4326008)(7416002)(8676002)(33716001)(478600001)(55016002)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?noTrfY5Xd5t8n3G6pM4AZCiHwoyKTvEnjaDbr5TVXME8Wc2NSJQQeYOJA0+V?= =?us-ascii?Q?nQk+PiMoA9EsdCj+U/WGCZsu2e8myqFOZj8IqrZpYVS7SbxrKMAzcQ44W1Dn?= =?us-ascii?Q?GUskVtRKvtOK8gusdp0reSYgSWamvwSwcFZbGQwA8gs1Q+ntQslaxTyWCTSB?= =?us-ascii?Q?Bi697keq9XFcNLVlgc0E2DbGLq+ZnainlqUIM9QzoA8Q7onMlxHWc08KVgEa?= =?us-ascii?Q?OZUll8xVznjLXoLbtLxKwmQj4XZ3fHaDs7yrDvpWODZh6VVbawYxhXpx7PDy?= =?us-ascii?Q?d3I6c0Ixc3xZW1PBsz/EJK3JZMQ7AF47RgEKny08vklF4hcomPJ5eV00pxMI?= =?us-ascii?Q?zWi3ZB+ofDjHrmTz+Bbrzg4r2lSyw+w2ZHwpgwhD+yRvVVR5iu/eDsop628q?= =?us-ascii?Q?bE/Kl39AwsG6IwHLcMV9SSXreMYZtcPhMj7bhrxX1khHx0PIHQQoU1Wg/NJf?= =?us-ascii?Q?QY1AtpoF1D8sieNENSmFM540U1PVyoXZoQX7EQ/8vd8VqFaW1JfTGVF6l/OC?= =?us-ascii?Q?und6konl9o8VuQA0yw9mG4XGTVPdNVVAzb/iH3JOnT0GHyNmdDDw/LWI0BJ1?= =?us-ascii?Q?jMI34hnNF1TRqKeJ5AMdJnQkSXnIMJuY528VXKgB4Q+F/YRgGWUqomgflJMR?= =?us-ascii?Q?0OxQXAy6YAsqjR6cTyzoP+q6mKDClTh6TCJquDSA1Lk8Pyp75MBeR+zv9/PR?= =?us-ascii?Q?x+NDTRGU3HpvlQ2q5ShKgUs9Sxljj5rGiY2Ikv1WW8+NA8Xdo8mMnwuvF1i9?= =?us-ascii?Q?x0+yUGV20DF18oCTPA5akqQmjcT0OdpgGq+/VAG6sMBFz59gIS6s5RwbbsTl?= =?us-ascii?Q?gkhOwwSOPjHF3H906pqB/X2DSJ+IxXRlTpUfKIrGnB7oQXGpkfWrWrosDAzA?= =?us-ascii?Q?Sk5VvR23Pxwg3k+7jT8hAEbfFng7m62Num1vO78WgldaG1o1BPWg4/2rp7WT?= =?us-ascii?Q?fnLluF7wHyn+6IEAuKUgDHsCAjyA8qZN+1YkOdG/B3qAei/FWIcDwsLplwCU?= =?us-ascii?Q?LcOTOYDffo5b6caOmolzYUxPLLNN1NpXrFoqbK4R91ChT1Mw9DOSopdUAlRD?= =?us-ascii?Q?X00akjjA?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 56a96f0f-690c-4b51-f86d-08d8c6d7993e X-MS-Exchange-CrossTenant-AuthSource: BYAPR10MB2999.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2021 17:34:16.6313 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2VNz447Ijffr3wcbdLOiTiJem9bhOQctld6AtYK4hNfzCwoxKimWoasNqFP+9pQNuwadI+yJ59rPqYrpJvyWCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR10MB2598 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9882 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 suspectscore=0 spamscore=0 mlxlogscore=999 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102010089 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9882 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=999 mlxscore=0 priorityscore=1501 spamscore=0 impostorscore=0 clxscore=1011 suspectscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102010089 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +cxl_mem-y := mem.o > diff --git a/drivers/cxl/mem.c b/drivers/cxl/mem.c > new file mode 100644 > index 000000000000..f4ee9a507ac9 > --- /dev/null > +++ b/drivers/cxl/mem.c > @@ -0,0 +1,61 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* Copyright(c) 2020 Intel Corporation. All rights reserved. */ Can those two comments have the same type? As in either stay with // or do /*. Also the year is incorrect.