Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp239974lqp; Wed, 22 May 2024 03:13:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXLpT1pUaApoEZNl9ToXLUiKwqHJdPrQDBctDAs9iXHPSVru6EwHVS7kIbGKW3MCsyNgyKASNFMkNDiYZZmR2hk8MrrXqcar693Ln0ygw== X-Google-Smtp-Source: AGHT+IHRFwJWWYF7nY9olHdm/MjYiS+PMyaYLPzoM7u1QNnBultF3kSuszWJesH2XVQBvat6V5ep X-Received: by 2002:a05:6512:3a2:b0:51d:9818:33fa with SMTP id 2adb3069b0e04-526c130bb92mr639593e87.68.1716372785385; Wed, 22 May 2024 03:13:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716372785; cv=pass; d=google.com; s=arc-20160816; b=bwga/AniJQ6RBa27OTfy6nyl6jU45eLoRBwnHhdG7YTlfQq92c4ZMeiyTFxnIHvCDN n59/x/lHarTlIQ4iVSkpVNE0Wjo6OIYpJhDbGbUbc0+0Twmy1udUEYQCZ1R9ksgikG4q fA6MxXeHDA52sQthGp8WY2s03zRcVNh8XDsfPhUFqD683FWkGP7FzU1Fh13WmswVDe+Q yUd2cC741qrGdXSBcrR3HhZey3GUp6okIxDOhiGpy8D+rcFNb4fPxainuhOJQ9vOdDjF sRK82pNHB693RfofWMg9loQ5xq0UXUjwwvCsJEZmuKgOjEnlxQgf1TqSK9jCvuG8zZ8b T7yQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=jH0CAgEAzY3nt8fx/klVxthc1x5d0RrIHXtq1pEypB4=; fh=rFOLwKRxnwpbnl2PpoFDxieKdVwL0fVROsCf4ZiGIx0=; b=TPw6IPmEf8lc3GOOhbcd2YY/hJ73wXTVfhX6FZqimvS1TolrplP+Q0EdJgKBEqSZHJ Dx+ikXGUlNRfTlOp8sLIkZOY/qmd/Jx2OZtQBwNpU7StMBh9iUjUtKfEA51Ke3Kd6TlE J0A84j27h+0xW/fljtD8OdHHnRI8X45lCnfubGpfstnSoczRrTBd89S4aNHuDyIUfAFM HozVattf5cporgSvieZJcBj4Y0FaXGo043pg03Xtgd+hIGEbHNXzBMwgJxa1RjvypOs/ JD6mZUplOYk2O6rwy/9AqhSup30za6PyLdoLykKHF/QqzbK7u7JV4w+vBJmKHdDLMbpF v0RA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WXTJnBZp; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-186039-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186039-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c378152si14953952a12.622.2024.05.22.03.13.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 03:13:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186039-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WXTJnBZp; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-186039-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186039-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 206B31F22F65 for ; Wed, 22 May 2024 10:13:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15E12823BF; Wed, 22 May 2024 10:12:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WXTJnBZp" Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E3CDA824A3; Wed, 22 May 2024 10:12:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716372749; cv=none; b=t8mKZ3tY8H9bc0YZdqOfQ7ARYF9J9cjUJ9XAbe6gBXP62Fp+h/PqzJdum4bKr7siDzigs3hlSTXNCnAReLomCI36j6rSQP6glibbE7CuaRaQjdWu6k4tsLWit0XXYOSRDlAzYdk2iSdUvOCsZPHMPFghjNGjgF5C1pKOPI5pDp4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716372749; c=relaxed/simple; bh=nf38RgXKckNA//++U+fbpqBoqTwnk26oCDdREN9SisU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jQ/hfU3YsPjBLfJJdkTj9GAKLnDto8CwVXd5/cht1HLDXNDMh3fpiF7V2TRyfvvoaZXP0E1CkufMi3W8C3Ipc9d5YDcVZsmybsw+8NyFaf4R11pun0lwmWjEXY/R5kpN/OVujCxDU9CZEzsy8xMDArOEjBR1fNXY5BDb4+naGHQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WXTJnBZp; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1e3c3aa8938so110663205ad.1; Wed, 22 May 2024 03:12:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716372747; x=1716977547; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jH0CAgEAzY3nt8fx/klVxthc1x5d0RrIHXtq1pEypB4=; b=WXTJnBZpyLoYb3eQb9MXYxfBZ4bQWN9dzJS6VxQNU+u6KbNWtnlVXuL0QaISoENVjV hmmx3dtrlmhptJFrDABAhAw5v9B/uqWKqRezJL0DEUqbzlcWv6015Q8uZ2FiC1rkrJPi RN4/m9SMYkN/e9JOsFQHKBCXEhISLAK3neLzBPNZfIhcY+W/Yc/I+w4iZJ8fmRb3zvEH M5UHtAY87x7QUSHwaR/WBmZWTKbYyCCQRYOasp70Bk/22h0ekhC+6McGvUFjy12lHQeU AKgUKCh2q+/nsVH04HcopHMP8ITITfrR9qut9FfwSOTL8htIpUfuZ5Ql5URFb3ebtgjg N7fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716372747; x=1716977547; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jH0CAgEAzY3nt8fx/klVxthc1x5d0RrIHXtq1pEypB4=; b=VMSYldo021kOUTmCn3Ll8o0dK6iy02IrzZ8RfmTPy5C+L1Mmy/7bRENE0lRLqrXErE QtVHMkPySe2P4oD9ckBQb/4isDTyP72niVPj2r34PvGuarMTXP3UVigUG5MziBwx1X2O oyGddX+aYs37Lwy8MP3jU4sNXqYLQMMzQf0CfPCgZjOTmRfDnpEIplIVDLIBteGQGLng zEm49gvUJzfWYN1YHJJrowb+TmAbvkRlzCO+5TQkPL/kAdczk3qIAn8R/clYIGV/6+nu qrZ/UZm3nm+1srrHctDmVQHos4QU/PVu7Y0TDwUmJSQZ9AKeDpxr9ds2cDPLyeTV7Po+ OHJg== X-Forwarded-Encrypted: i=1; AJvYcCUigWbknPCcRHw1NfmGAFL0Puo5OXswV3VhxRxB8/+8r9Mr696JNCWpNsy6y7JfruFDCH9gD07nyWlNJUzCiqEopkJcp3X+/3kajXIJyZjbvBXPEDt5L2q0gwpCWbLyG4iPNyNVQP2p X-Gm-Message-State: AOJu0YyQldKeBPrR8FEOfMoJSDL0Y+yw6biWUmdo748koLhb84Q7Hjos E6OLUklBPUrO0lkYz+yJOKdokrJx0Fs+nmyCLf7M13SqZmUk1awFOSnKXEHb X-Received: by 2002:a17:902:da92:b0:1ea:5ac0:ce46 with SMTP id d9443c01a7336-1f31ca4dc02mr17194485ad.66.1716372747195; Wed, 22 May 2024 03:12:27 -0700 (PDT) Received: from toolbox.alistair23.me (2403-580b-97e8-0-f22f-74ff-fe1e-41ce.ip6.aussiebb.net. [2403:580b:97e8:0:f22f:74ff:fe1e:41ce]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f3066594bdsm44593235ad.303.2024.05.22.03.12.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 03:12:26 -0700 (PDT) From: Alistair Francis X-Google-Original-From: Alistair Francis To: bhelgaas@google.com, linux-pci@vger.kernel.org, Jonathan.Cameron@huawei.com, lukas@wunner.de Cc: alex.williamson@redhat.com, christian.koenig@amd.com, kch@nvidia.com, gregkh@linuxfoundation.org, logang@deltatee.com, linux-kernel@vger.kernel.org, alistair23@gmail.com, chaitanyak@nvidia.com, rdunlap@infradead.org, Alistair Francis Subject: [PATCH v10 4/4] PCI/DOE: Allow enabling DOE without CXL Date: Wed, 22 May 2024 20:11:42 +1000 Message-ID: <20240522101142.559733-4-alistair.francis@wdc.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240522101142.559733-1-alistair.francis@wdc.com> References: <20240522101142.559733-1-alistair.francis@wdc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit PCIe devices (not CXL) can support DOE as well, so allow DOE to be enabled even if CXL isn't. Signed-off-by: Alistair Francis Reviewed-by: Jonathan Cameron --- v9: - No changes v8: - No changes v7: - Initial patch drivers/pci/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index d35001589d88..09d3f5c8555c 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -122,7 +122,10 @@ config PCI_ATS bool config PCI_DOE - bool + bool "Enable PCI Data Object Exchange (DOE) support" + help + Say Y here if you want be able to communicate with PCIe DOE + mailboxes. config PCI_ECAM bool -- 2.45.1