Received: by 10.223.164.202 with SMTP id h10csp815346wrb; Thu, 23 Nov 2017 06:41:16 -0800 (PST) X-Google-Smtp-Source: AGs4zMbE/Npy/bZY0rpvlAREdtPJgvGm9UwkqTamnEUEjB6FZqrqjOeYWdmUFn2TmJvavAxDxNWk X-Received: by 10.98.158.139 with SMTP id f11mr12670400pfk.216.1511448076129; Thu, 23 Nov 2017 06:41:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511448076; cv=none; d=google.com; s=arc-20160816; b=RqpCwHedQh24JDXULPKXA04Wizl8FoLsZqcRAyOwPm6Is8xlVMq3XKKz15XDuP7u0+ JYByYDAcTyruBmzxfT13nPqKfbA0Rw3TI0gHbWpq+419s9gdWi4C2o8qSptVVicdtvpm yZn4JreRgRodIvJ/OFbtwgm0iEcTOaY5znIfHEz0xSIJ4Fpov9E7mfxm8NeHg5ijvKvD xFq6on8+qOl5/wMGPQBvAI3WlsLAqyBMnwEcTEvTnwoYyP8rlCAoLnpiJ0NILcVK7JDw ZbPgUBXDxMUq5DECHTE4c12i2mes3vAFecojQuZG8aQ+1CONon22oISNyEePsMs7d6G9 wc3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=8zvaTw5UXD1XgK+rytr3FVWY0+lCMG1dbzGlif/4rf4=; b=Cxf6URsssQ/tcx0lBYfRHtP0GpFF1jJ1fdNruTn3TlxKSKdI8UkYddpuFw6P78OP+A LhZ3DjSDjmfXJ38AhRNzxUJ2ip4Pj8pXaaugUsnRsK4HHF9LItubOSooPjsDLTiOgF4t nB53q7etCyu3MWXKDT81O7Rt+/o0a9z1OjWTTaxXshNQGeLp0IF8L9xiB38+qFd+VSJG tMGHir7YXGNbZnlW18On/25xm5XzVSvSuOmj3MgJ3V3qdZVl28aQQ2pV9vGjYViVjd3L yuYYpBq+YFp05N1mWkP0ierxuovPQ9epy5Q6CZmbKZC/hf/1qHS+mPJ9KwO83wF3rKGu T9ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GN+s0tmc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k6si16253678pla.710.2017.11.23.06.41.04; Thu, 23 Nov 2017 06:41:16 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GN+s0tmc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753156AbdKWOjU (ORCPT + 76 others); Thu, 23 Nov 2017 09:39:20 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:40211 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752799AbdKWOjS (ORCPT ); Thu, 23 Nov 2017 09:39:18 -0500 Received: by mail-wr0-f193.google.com with SMTP id s41so12362040wrc.7; Thu, 23 Nov 2017 06:39:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=8zvaTw5UXD1XgK+rytr3FVWY0+lCMG1dbzGlif/4rf4=; b=GN+s0tmcc9d+WPMSHJhLv0ZMoj0pBb2vlZsW1kxyMzI2qwLzYSnXAveNxN+lRB/RjA 3lW+5GlnxaasOjb1XxJcQMRyBTc1MjOE4GcsoaA48FC8MbldYZRsGM0bWZfYGjG/Zfh0 V+T1vz209D4sDE6OX7WL1rycU72XYqljFghyMXlrOjS4C42PCrKSqx2eaThLIGNt0FcS GV3Mm8dD7DCpmz3CVssRylWqUSFh4RbYR5OqVJUgI5u4tNf0WHcUPU77sRhshS0UU5Rv m3EY+y96MS/qr1BupFCRISh9tSUXDRTaaigbrh9eMFt3ZS9vNKlfz8txOQwIeiAqz42/ ikog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=8zvaTw5UXD1XgK+rytr3FVWY0+lCMG1dbzGlif/4rf4=; b=OwRsK98eM3Ljjr2JGY4aSuqjhzNfV+KK7b6QohVGuxYX7lUGDs47MqxIIz19PMQh00 QokhJ734wyaYSbEQCOxMC8EscBXS5g+HdwCs9dpjoaDanVJuWInOPxWM33R2XweITjRG 4FCd2wpFs+5EQgyWSZn+bZW4v/0Im0HkFodA9+7WHCezi65iakT7DfZE/ouFoUuN0kIv 3CowURToAc+t5ODmDtzjTjG+8cYjjIX+TJ4DyQIl4PYx4CPNKn56QDCJ47niE0s3m8P/ JrU5L6mkT2uL1DstOAEDWvLmU4GE0EN/c444aH8PIvELPOFPJBOfQnCbvqfKaykGhU2C WyqQ== X-Gm-Message-State: AJaThX5fytq9drEkZc/t54RjX0q3mYp4f571qRZYGCA8gT1aOLq3i1Y1 FoDhujzuVZk2bPyjk6MQF5A= X-Received: by 10.223.153.247 with SMTP id y110mr21939110wrb.248.1511447956585; Thu, 23 Nov 2017 06:39:16 -0800 (PST) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id d63sm22342990wmh.3.2017.11.23.06.39.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Nov 2017 06:39:16 -0800 (PST) Date: Thu, 23 Nov 2017 15:39:14 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Darren Hart Cc: Andy Lutomirski , platform-driver-x86@vger.kernel.org, Andy Shevchenko , Andy Lutomirski , Mario Limonciello , Rafael Wysocki , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH v2] platform/x86: wmi-bmof: New driver to expose embedded Binary WMI MOF metadata Message-ID: <20171123143914.mib63w4amwmnjfxa@pali> References: <20170606100440.GA4690@pali> <20170606170201.GC32509@fury> <201706062250.52564@pali> <20170704132819.GE2102@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170704132819.GE2102@pali> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- Pali Rohár pali.rohar@gmail.com From 1571998862568179745@xxx Tue Jul 04 13:29:00 +0000 2017 X-GM-THRID: 1571998862568179745 X-Gmail-Labels: Inbox,Category Forums