From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6ECABC433EF for ; Wed, 24 Nov 2021 07:54:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240656AbhKXH5X (ORCPT ); Wed, 24 Nov 2021 02:57:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240440AbhKXH5X (ORCPT ); Wed, 24 Nov 2021 02:57:23 -0500 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E8EEC061574 for ; Tue, 23 Nov 2021 23:54:14 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id v19so1166897plo.7 for ; Tue, 23 Nov 2021 23:54:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=U6GvgMO3bDV1Gv9RaQtAnaYISkA1nQVTEfzgtEITUG8=; b=UZS7PhUUjfRt8wcMdv3RZNHnBXhEtw8IJrbI5ebpS2k7XYM9CeRmI93G9PIvJMrNhH PFpEI+dWT12WQHau2OEFRpXYCPWzo1Pbsy9vInMe2Vf4pnp901bAjEsQids4ea3v6OW2 3dKhBYOKAAbFJ5DpKPM5t7UyCrUvcr5TuAZsQFixDY4HLPQRXzkLL3WgSJoMVFJOLwtF M8jUEb0QW+EXRK782MJ9VK9Y3Jb4qHNdyrg9i56lYHPHxVTZLhrrESj1LyVK+6ZU1ZCw BXDc7o93AKBWjOEs2yS1/5zPhUOz7SMtZkTpkmCab0b8YRQP9lhYBadpYMnP7U9Bg9za vTTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=U6GvgMO3bDV1Gv9RaQtAnaYISkA1nQVTEfzgtEITUG8=; b=uPJ9oPWE5f3Vsgji0/aSCdzYPzp7eLj7T9sfI2XsjU5VwNkLg4ilBFMjdDgYxoX2tF i1/nlplsT24ShzskqnehrgrXb1B4AzhZF55+ZtqEPXoGNZvalN39LXDwrMC0V9Ibrbj2 PT2krTd5cx+1ux15i1/8cxRKdhMbzm0EZaeUGnjM1pIU8UFYKS8HGzetXWJ9Z2+P0VYW R5lbNyJD1VxUg5FH+uGeVOGr+lKATJaZfW6VNb5ppZ52wBWTM3e1scakPTCSf17TCiHr rav5NrQnDT5ViVnkyrX+Wk8G3nJfD6XbcPojDdaJ8Jeq+ESTluvibLCAoULVqJEjt0hn 5Rmw== X-Gm-Message-State: AOAM532g7WNHXZn2KomidNYUauU2qfBmCnoAYGs28InfE5Smv2q5VW7X Ym7vHnJilFX63q7/xqqUasnX2dkApoIORy9k8hxySQ== X-Google-Smtp-Source: ABdhPJwx5vxubnaQUhsFqNh+AUbdwrIOygehiI/0X/MoXrj2GP35tdedYUei/q+OXo5lEHg2D3Fy+SN4/bfItOng0VE= X-Received: by 2002:a17:902:6acb:b0:142:76c3:d35f with SMTP id i11-20020a1709026acb00b0014276c3d35fmr15690393plt.89.1637740453619; Tue, 23 Nov 2021 23:54:13 -0800 (PST) MIME-Version: 1.0 References: <20211123235557.GA2247853@bhelgaas> <20211124063316.GA6792@lst.de> <20211124072824.GA7738@lst.de> In-Reply-To: From: Dan Williams Date: Tue, 23 Nov 2021 23:54:03 -0800 Message-ID: Subject: Re: [PATCH 20/23] cxl/port: Introduce a port driver To: Greg Kroah-Hartman Cc: Christoph Hellwig , Bjorn Helgaas , Ben Widawsky , linux-cxl@vger.kernel.org, Linux PCI , Alison Schofield , Ira Weiny , Jonathan Cameron , Vishal Verma , "Rafael J. Wysocki" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-cxl@vger.kernel.org On Tue, Nov 23, 2021 at 11:33 PM Greg Kroah-Hartman wrote: > > On Wed, Nov 24, 2021 at 08:28:24AM +0100, Christoph Hellwig wrote: > > On Tue, Nov 23, 2021 at 11:17:55PM -0800, Dan Williams wrote: > > > I am missing the counter proposal in both Bjorn's and your distaste > > > for aux bus and PCIe portdrv? > > > > Given that I've only brought in in the last mail I have no idea what > > the original proposal even is. > > Neither do I :( To be clear I am also trying to get to the root of Bjorn's concern. The proposal in $SUBJECT is to build on / treat a CXL topology as a Linux device topology on /sys/bus/cxl that references devices on /sys/bus/platform (CXL ACPI topology root and Host Bridges) and /sys/bus/pci (CXL Switches and Endpoints). This CXL port device topology has already been shipping for a few kernel cycles. What is on the table now is a driver for CXL port devices (a logical Linux construct). The driver handles discovery of "component registers" either by ACPI table or PCI DVSEC and offers services to proxision CXL regions. CXL 'regions' are also proposed as Linux devices that represent an active CXL memory range which can interleave multiple endpoints across multiple switches and host bridges.