Received: by 10.223.164.202 with SMTP id h10csp823496wrb; Thu, 23 Nov 2017 06:49:30 -0800 (PST) X-Google-Smtp-Source: AGs4zMYjsElo6fuWn7PXUnfeyK8ehCzdLaK5crqVuWpErgWDsbkhO7mEZrPFDnwAAiev0c2Lvp3C X-Received: by 10.98.79.86 with SMTP id d83mr23435704pfb.26.1511448569883; Thu, 23 Nov 2017 06:49:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511448569; cv=none; d=google.com; s=arc-20160816; b=A+dBEaOSPL6zfLvt2mZg0R84DsdlW2bB2tsJIT7QYEElk0J/592DaOZAEOJuTSmztq hmY7ZVsRVStfo7bTVBlkCvOhGFg62h509WC7oLhk9oQZKa5aun55Q5VXhxA99BVGGn+9 u65Qm8CKXrcizPEq0TkYbGasWy1Krw88ofZ+0kUXe0nwLrfnhzaZzXgiXYXK+xvruNlX mJtT/0YXAEl96d8JLFkesfnQAV1fmIpvasif0lPpjnx/oe2lmG4MPY9Lgdl3r/sXfamL DYhTPcRDfhzs9Plf645qXL6rDke6BXyAva+R0uPLheLgv8LVu6rcZ1P0+JcT+mlCNjBn iv6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dmarc-filter:arc-authentication-results; bh=eivUTixMOCUfzfo0PmhfTpuNkKJsbs4o8khnnlgjfHs=; b=PwiRbxgV5r6r0KxISQm1IT+KcU6Oy4WMZ6IE3h5hpL8ZJGDcqUd+PLKZa2nPlo67rk tDXIAq01iH/gNcJ+C4wmuR1Bu+vXY6A5h9I/IFrkA8Xm6hKYJJ4gx3hsR7aMnvfb10IX Mn91uPQ1H+CFxC4B1YYjpfYkKrRwn40Zy60KJ7nfi6YClhDFaXr3XCNjlzoTffOlX69N HDEgEsLSwL2gUMaRg2OUauha0EiLhOenT9r45JHrx5B+ryzem+HnJQjAfeEaYsjZJmHi QPlqVGUrnmyiAyglzaKKQ8kUL7y+kSM/UKPeuA/Il2rWcYCt2YLC/yAdzdZWXluO6ZwB NyfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f18si17676512pfe.25.2017.11.23.06.49.18; Thu, 23 Nov 2017 06:49:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753042AbdKWOsa convert rfc822-to-8bit (ORCPT + 76 others); Thu, 23 Nov 2017 09:48:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:47176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752993AbdKWOs1 (ORCPT ); Thu, 23 Nov 2017 09:48:27 -0500 Received: from mail-io0-f180.google.com (mail-io0-f180.google.com [209.85.223.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F22FD219A0 for ; Thu, 23 Nov 2017 14:48:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F22FD219A0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=luto@kernel.org Received: by mail-io0-f180.google.com with SMTP id h205so26101311iof.5 for ; Thu, 23 Nov 2017 06:48:26 -0800 (PST) X-Gm-Message-State: AJaThX4dX4oper23weH1XNn2VGZ51MvzJ8TcdrhjUZ49Tm+m9dHhy4uu B5+Fy1lnB54mrAMASGGKgjy4tTznnN2myEYkq7gntA== X-Received: by 10.107.102.18 with SMTP id a18mr28105195ioc.105.1511448506389; Thu, 23 Nov 2017 06:48:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.133.35 with HTTP; Thu, 23 Nov 2017 06:48:05 -0800 (PST) In-Reply-To: <20171123143914.mib63w4amwmnjfxa@pali> References: <20170606100440.GA4690@pali> <20170606170201.GC32509@fury> <201706062250.52564@pali> <20170704132819.GE2102@pali> <20171123143914.mib63w4amwmnjfxa@pali> From: Andy Lutomirski Date: Thu, 23 Nov 2017 06:48:05 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] platform/x86: wmi-bmof: New driver to expose embedded Binary WMI MOF metadata To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: Darren Hart , Andy Lutomirski , Platform Driver , Andy Shevchenko , Mario Limonciello , Rafael Wysocki , "linux-kernel@vger.kernel.org" , Linux ACPI Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 23, 2017 at 6:39 AM, Pali Rohár wrote: > On Tuesday 04 July 2017 15:28:19 Pali Rohár wrote: >> On Tuesday 06 June 2017 22:50:52 Pali Rohár wrote: >> > On Tuesday 06 June 2017 19:02:01 Darren Hart wrote: >> > > On Tue, Jun 06, 2017 at 12:04:40PM +0200, Pali Rohár wrote: >> > > > On Monday 05 June 2017 20:16:44 Andy Lutomirski wrote: >> > > > > +#define WMI_BMOF_GUID "05901221-D566-11D1-B2F0-00A0C9062910" >> > > > > +MODULE_ALIAS("wmi:" WMI_BMOF_GUID); >> > > > >> > > > Cannot we generate MODULE_ALIAS from module_wmi_driver()? IIRC it >> > > > is working for i2c drivers. >> > > >> > > I could see this being automated since we always use wmi:GUID, but it >> > > isn't currently. Happy to consider it as a follow on. >> > > >> > > Do you have a specific i2c example you think we should consider >> > > following? >> > >> > For i2c you can specify in driver code: >> > >> > MODULE_DEVICE_TABLE(i2c, id_table); >> > >> > And it automatically provides (via file.mod.c) all needed MODULE_ALIAS. >> > >> > So when we have wmi_bmof_id_table in driver, cannot we use this? >> > >> > MODULE_DEVICE_TABLE(wmi, wmi_bmof_id_table); >> >> Just reminder for above idea ↑↑↑ > > Hi! This email is some months old, so do not know if something was > implemented or not. Does somebody know? > I don't think so. I was way too lazy. From 1584868177549666797@xxx Thu Nov 23 14:41:15 +0000 2017 X-GM-THRID: 1571998862568179745 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread