Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1756155lqe; Mon, 8 Apr 2024 21:38:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBxYAcoNl+FhvIgcuHmb+TZY6E6c2vLraRiB9m/z3YTia1rXy2spwXZ2DUgehLgYhXy1WaOQCxAAyMPPjokAMzJZXNJ5YLDkfqeKyTMw== X-Google-Smtp-Source: AGHT+IH/8xKmz2PkPWh4nrSjoSFXcvRpNPw7lZGdAv+rEyE9XXEuLX+zm53cp1aB28YCZLj/c2Ju X-Received: by 2002:a50:ab50:0:b0:56e:316f:f455 with SMTP id t16-20020a50ab50000000b0056e316ff455mr6286050edc.22.1712637488587; Mon, 08 Apr 2024 21:38:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712637488; cv=pass; d=google.com; s=arc-20160816; b=gAqms2HRDpu0mIULb4cEP58Q13BPmCl1m6luZ9+gEWWkPXlhBUhfGBKndGG/obIJfN nOi4c6eqbix6IcA4/OOj3g5kXCzmEzugCqhw7xMjXs5nAj5VHzz3OO8sUhnsQoi0XIY6 eRGtU/0yt20DCNpEYu8s2++VADpNNPU3nyB0cigclGlp3bmEsrOHGOFfhcuNHLoG1t8/ yv/185gDLTv4hOzt1fCLQL2fJ1daOK1Z2MSG7ZlIm3tD0ohi7W7zajGDsamI45QOSZ7L XGdDY3+lJHN2B8jgHuMppOraXV9eYqWCIenkHdd2i7SLhB9UsJXxxez9WEGvXzhNZYsN z1bQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from; bh=eHu54FZUj0KvSlOksgCEoJkQHIaHRgcBHYoiJVo3khQ=; fh=xtOXrtY1uPRvj1e0J1aRLEfa6aIGFycHqK2LIMXAnrE=; b=dKiz7Jo//hw4tZwOXaovyzjF4Y9LCTF3oZOf8r0vTzJn1p91S23hxiIr3VYlDWoJ34 slDsBz8M9rKu+t0M9BsQPIwmN1oXnPIe3IHl4vhKMvvvfPUtlcDs8fjHL4n4BqheDsTX VG/Xuj5eRp3UQi0ntDG7goHObiNHqrnJ25xxd4+iFEQfCK0ZNToCi4Sn/U+RjcPEJV+x EEmEsF/6prkY063702VCQXOy2eAq43xt9fv7gJUX9U6t0F9GRS+zq5PF4e2ZFkEUrRGN XJ1Elkoc/lJ10qcqsU4sSg1jX9CCYRnE5h5kRwdTmxcQPA2BkJHMWDPxKdI6hZb4J/vF HOzg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=ozlabs.org); spf=pass (google.com: domain of linux-kernel+bounces-136232-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v4-20020a509544000000b0056e045beb8csi4459444eda.239.2024.04.08.21.38.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 21:38:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136232-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=ozlabs.org); spf=pass (google.com: domain of linux-kernel+bounces-136232-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=REJECT sp=NONE dis=NONE) header.from=ibm.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 370681F2498A for ; Tue, 9 Apr 2024 04:38:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 815103BBE4; Tue, 9 Apr 2024 04:37:52 +0000 (UTC) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 51055EAE5; Tue, 9 Apr 2024 04:37:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712637472; cv=none; b=bkVO9bmBH+LoYByBWJfEjhY/n+PUdZ7v2chuJ1lqtnJ0Bhn7o3vY/CK/6GuPOM4+g/xkIF0IHlAd978wMWxCSuwS4Rw+a742FuzuXU5z0fIkBtB0h0R2rNboZBH/sM0m4yjKlAvjr6yANHwiUurzZxpSPFXoLruSmyBkrsm6+HM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712637472; c=relaxed/simple; bh=WczXyv1Jb4NWZHeS5sQ67kPawURHR9s9m2dCqU0Bf7E=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=XE0rmVAhFThG3bCvt6+ZxyMxo9a6H1klIIkQLUjyzQQdq+vTBqxjo6h9OrQqBRi7wxdO71Ex/CexZhDHAwK2+wkLkQNIXBqzWQHDz4LiNZXS9KChLhJVZCaj61f6b89QvtNpMme8v3wI18C1UNXg4gBOb1tfgHTI5cY4HDmmr3o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=au1.ibm.com; spf=pass smtp.mailfrom=ozlabs.org; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=au1.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ozlabs.org Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4VDCqt32GMz4x1R; Tue, 9 Apr 2024 14:37:46 +1000 (AEST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4VDCqt2DB9z4wbr; Tue, 9 Apr 2024 14:37:46 +1000 (AEST) From: Michael Ellerman To: Andrew Donnellan , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Cc: manoj@linux.ibm.com, ukrishn@linux.ibm.com, fbarrat@linux.ibm.com Subject: Re: [PATCH 2/2] MAINTAINERS: Make cxl obsolete In-Reply-To: <20240409031027.41587-2-ajd@linux.ibm.com> References: <20240409031027.41587-1-ajd@linux.ibm.com> <20240409031027.41587-2-ajd@linux.ibm.com> Date: Tue, 09 Apr 2024 14:37:43 +1000 Message-ID: <87bk6jb17s.fsf@mail.lhotse> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Andrew Donnellan writes: > The cxl driver is no longer actively maintained and we intend to remove it > in a future kernel release. Change its status to obsolete, and update the > sysfs ABI documentation accordingly. > > Signed-off-by: Andrew Donnellan > --- > Documentation/ABI/{testing => obsolete}/sysfs-class-cxl | 3 +++ > MAINTAINERS | 4 ++-- > 2 files changed, 5 insertions(+), 2 deletions(-) > rename Documentation/ABI/{testing => obsolete}/sysfs-class-cxl (99%) This is a good start, but I suspect if there are any actual users they are not going to be monitoring the status of cxl in the MAINTAINERS file :) I think we should probably modify Kconfig so that anyone who's using cxl on purpose has some chance to notice before we remove it. Something like the patch below. Anyone who has an existing config and runs oldconfig will get a prompt, eg: Deprecated support for IBM Coherent Accelerators (CXL) (DEPRECATED_CXL) [N/m/y/?] (NEW) Folks who just use defconfig etc. won't notice any change which is a pity. We could also change the default to n, but that risks breaking someone's machine. Maybe we do that in a another releases time. cheers diff --git a/drivers/misc/cxl/Kconfig b/drivers/misc/cxl/Kconfig index 5efc4151bf58..e3fd3fcaf62a 100644 --- a/drivers/misc/cxl/Kconfig +++ b/drivers/misc/cxl/Kconfig @@ -9,11 +9,18 @@ config CXL_BASE select PPC_64S_HASH_MMU config CXL - tristate "Support for IBM Coherent Accelerators (CXL)" + def_bool y + depends on DEPRECATED_CXL + +config DEPRECATED_CXL + tristate "Deprecated support for IBM Coherent Accelerators (CXL)" depends on PPC_POWERNV && PCI_MSI && EEH select CXL_BASE default m help + The cxl driver is no longer actively maintained and we intend to + remove it in a future kernel release. + Select this option to enable driver support for IBM Coherent Accelerators (CXL). CXL is otherwise known as Coherent Accelerator Processor Interface (CAPI). CAPI allows accelerators in FPGAs to be