From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 9B0D57803E0 for ; Thu, 26 Oct 2023 09:49:38 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=RNroEpXVBzHMsqt+KWDJwoAiMPtQ1wLT5gwm8BC3y2I=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1698313777; v=1; b=Ny7X9vziTN2M8FIzvMNGOkd4nyodUYQh98JNf+fbWlu++siN6Yj9s7EUIjvifht/JlVXZGqi maKVGt1jOGfdRPd1lC0n4gS5KNYTCtLpcLsWMO26HzCDVp5LkzEWQivSx8qcSSfRXRKUgaVPG33 YMNfUjnrRvOjAjw2/DDnu7Kc= X-Received: by 127.0.0.2 with SMTP id MohVYY7687511xml7Q15SK3I; Thu, 26 Oct 2023 02:49:37 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.196438.1698313776530454907 for ; Thu, 26 Oct 2023 02:49:36 -0700 X-Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-192-bDuIPJF6NbOBmBDCVkufaw-1; Thu, 26 Oct 2023 05:49:31 -0400 X-MC-Unique: bDuIPJF6NbOBmBDCVkufaw-1 X-Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 988643857B69; Thu, 26 Oct 2023 09:49:30 +0000 (UTC) X-Received: from [10.39.192.119] (unknown [10.39.192.119]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 61237502F; Thu, 26 Oct 2023 09:49:29 +0000 (UTC) Message-ID: <5df5f698-7f1d-98f3-e6a2-7b1a4c978528@redhat.com> Date: Thu, 26 Oct 2023 11:49:28 +0200 MIME-Version: 1.0 Subject: Re: [edk2-devel] question about cxl device enumeration in pci bus driver To: devel@edk2.groups.io, kraxel@redhat.com, yoshinoyatoko@163.com Cc: "Ni, Ray" References: <74c5f6c4.3480.18b656cafb8.Coremail.yoshinoyatoko@163.com> From: "Laszlo Ersek" In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,lersek@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: TFFaX0Qc9Fxxtto6eyOpUJAtx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=Ny7X9vzi; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On 10/26/23 10:33, Gerd Hoffmann wrote: > On Thu, Oct 26, 2023 at 10:36:35AM +0800, Yoshinoya wrote: >=20 >> CXL Host Bridge / Root Port / Switch / Device enumeration / HDM Config, = maybe could be integrated into pci drivers stack. >=20 > Point being? Can or should the firmware do anything useful with > the CXL hardware? If so, what exactly and why? >=20 > Current state of affairs is that the PCI stack does the usual PCI > initialization (enumerate, assign resources to PCI bars) and leaves > everything else to the OS. (I don't know what "HDM Config" stands for.) The only utility for driving CXL devices from the firmware could be, AFAICT= : - booting off of such a device (or at least "supporting OS boot" in some manner) - using such a device for UEFI console purposes Laszlo -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110085): https://edk2.groups.io/g/devel/message/110085 Mute This Topic: https://groups.io/mt/102173204/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/19134562= 12/xyzzy [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-