Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4187881pxb; Tue, 17 Nov 2020 13:49:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaKVGkj34ATmdzhS6Z3DTKdjTp5pc4th3Rgs6eG3JXUuNBWrW+2HzpjL+oWiC5llOIPi2+ X-Received: by 2002:aa7:c2d7:: with SMTP id m23mr22780995edp.230.1605649773938; Tue, 17 Nov 2020 13:49:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605649773; cv=none; d=google.com; s=arc-20160816; b=VN1o5cT7Oj+ZoEx0vx08hi7+W6MX7nXV2R30+zku/cqIYzBh9xkHS9oeOy7t7fjdOu Z4CHzuyKehzhS5j1aMkSC6I7iYPESRs0eR7YKRxBgg22t11pkhiipnqbQdN3WEpaC7SP NC7V5vj7GFv3HCDoqs2k1CcDgN8/sgjKVC5EToFzBgDEN77KRLDdNEmYw0Frd0EvZkYn ONY6+AkUUbGZoDYV9WenPtZ0igfEx566plGFE/q/Vropb4R5LErq/fDii7CtaTDC+Emy bA7coQwlrArobV/pBmyOuQVgBl9qQyW5WTU/wIqT9sghkH3BBMKIsGXTmSPRkuI4XKXf euSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=5lBVBDWK8SCqKzaHy0L/+mLoij0OAwknWiLnXgPeJSM=; b=RtpqrI4iJ5J5sFKwnay4wjLwu8j6elN3b+qC+DnaYu8Nq1yuYe5LQfc8pb5N8MXlor AnlYyn38U6gTUq2sYOi0A0jOodjvGYFRQGUG9pAzaD/uJu8lclR0KDFZQgMortiqGXdu RSt4R+YorvQ3JvdUN1CQhaQvOcFsMe5Abm1Mwxn8sHJNVwImfkiawadsBhz9ZI6uNdej anVf5uhFPfvIZUCIn6XfrIxykB53JIGzcrrdIytuPOslFCk5SzCB91OWtZTizH+QvWic l+ydcclV7t7+XIs/+Gh9gS+Jy3C14FROF0Cs5mOkXBD0QPJ45EXNL0PFSHqtyDXhxCrl 4J6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=FBb5z0wF; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v15si14689566eda.117.2020.11.17.13.49.10; Tue, 17 Nov 2020 13:49:33 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=FBb5z0wF; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727943AbgKQVpd (ORCPT + 99 others); Tue, 17 Nov 2020 16:45:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728045AbgKQVpd (ORCPT ); Tue, 17 Nov 2020 16:45:33 -0500 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A27A2C061A04 for ; Tue, 17 Nov 2020 13:45:32 -0800 (PST) Received: by mail-ed1-x543.google.com with SMTP id k4so7364933edl.0 for ; Tue, 17 Nov 2020 13:45:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5lBVBDWK8SCqKzaHy0L/+mLoij0OAwknWiLnXgPeJSM=; b=FBb5z0wFGOiQbc45dE0niLuV0rybunP/wEU/0k6b783EPVbzDuRuejCVpDauBALHfc +lc+d6XRbgwNlOlzPZ80uZOVCFXlW1F2ThVz/PgWXDMr5Qk2qXUzVeV/mkMEpA6NGBWJ /r6IhOXal5Ashs5MZqCi+/Cclekpk1N7Hu9Viof3LXHIYVpqGBDN2fBwVFtEcO1Bg3xL tzN0ffs5tPZJKxTNR/PuvOabZJbNfgH+ytvBghZkwTb90HvxcpdUGn1dX3oNF3/DPg4V t49QQpzkPhLWrGwW9cDwq4Kw7uQG5EcgkdpwrzO/HDHONv+D/N6z78dNpCEiwy/lcNpB TB3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5lBVBDWK8SCqKzaHy0L/+mLoij0OAwknWiLnXgPeJSM=; b=UAJxYol8fikRNb5hFaChcxycGVsnrmGTSrPSGMdQyc1aejDNdz4o9YxdAqTlE4lDtj qELim4+MiOq5taq/JhKGX5SYtPWbwDskoIKvmX74E/vslw89OXzOs5QZDBy7oreSv5hB UqILBzsrJhu1x2/cYEQI3GMCTIez55eZIMt7ZSFb11y4AgwWzLwglchOULgHyCTor+dj NayNtydTEHWlKgLSw7g7JLUrNRzK2fxoaJwr1+l6Ty05LSIOiOyk6voAYHC2qanGNkF6 P4x4S0TcQxaNSPKUpimuqQUa4/514tAyj0aecxj0WPjgzrorCnvq1pS7oc1ORn+B4s/B HNsA== X-Gm-Message-State: AOAM531FXF2Dm3xJM94kS4U69B5dYyLh/cA/T1cqrFmQM4YoXB3DYMUX 5xF8jW6zQ6dVUlZSXYt3YoskPMjKuRQ/IGPusvRHrA== X-Received: by 2002:a05:6402:b35:: with SMTP id bo21mr24193805edb.52.1605649531304; Tue, 17 Nov 2020 13:45:31 -0800 (PST) MIME-Version: 1.0 References: <20201111054356.793390-1-ben.widawsky@intel.com> <20201111054356.793390-2-ben.widawsky@intel.com> In-Reply-To: From: Dan Williams Date: Tue, 17 Nov 2020 13:45:20 -0800 Message-ID: Subject: Re: [RFC PATCH 1/9] cxl/acpi: Add an acpi_cxl module for the CXL interconnect To: "Rafael J. Wysocki" Cc: Ben Widawsky , linux-cxl@vger.kernel.org, Linux Kernel Mailing List , Linux PCI , ACPI Devel Maling List , Ira Weiny , Vishal Verma , "Kelley, Sean V" , Bjorn Helgaas , "Rafael J . Wysocki" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 17, 2020 at 6:33 AM Rafael J. Wysocki wrote: [..] > > +static struct acpi_driver acpi_cxl_driver = { > > First of all, no new acpi_driver instances, pretty please! > > acpi_default_enumeration() should create a platform device with the > ACPI0017 ID for you. Can't you provide a driver for this one? > Ah, yes, I recall we had this discussion around the time the ACPI0012 NFIT driver was developed. IIRC the reason ACPI0012 remaining an acpi_driver was due to a need to handle ACPI notifications, is that the deciding factor? ACPI0017 does not have any notifications so it seems like platform driver is the way to go.