Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1590933pxu; Sun, 6 Dec 2020 00:38:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/PGx9h+2fFXttng9WftFzTqSKqNQiHKfXRw+zQHWvZqbOaK1P2Hg0q8iB0ch39BIbTLJN X-Received: by 2002:a05:6402:a51:: with SMTP id bt17mr15216544edb.328.1607243897062; Sun, 06 Dec 2020 00:38:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607243897; cv=none; d=google.com; s=arc-20160816; b=hsV9JfPwhx5hmG56BqEMp6uw+1sVPJi/ohetPCutCkux9mqHND2NqgcX5koCMQaSWE BrFFjpL6eER5Q5ixIsfNyZge0AV9Y9RTXKPokAax2AtaryyzwD6dzhHRHi1H5SYScZC0 pLKGqtavAjknvgXjoBTtoibwg3SfBggzB8TEPeEXzSFOlmaw8Wrr1XkLPobzPdcr5vrf l6tHaM+Otdp0zzdTMP1UDEZ/2JDzjzZjy/3cabGzQbNKf0O1pSXR/hCQuHLbxVg/HNnM gcfk1sp6sVyO235LouQrtodl5/vz0SJoUEicdf8S8+qxSan63q4AKis6qf0tUprZ9PlV UMfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=PCv+38BVnBTktt8B6xBjG30dR+nL5R50pzjO5IPxNvU=; b=LIPlGVO8zm5fMmrZOU89RQwdznetzoIXSzwiEZ3/2FaZMNhBmcwqesqV9n/oUJ9pCq eG8HJSAdxYOkM0K+M8G2ejJj1cAnJOipUVjj1oMP26xXfwSLMduWb6em4SKxeCe6RLpr JKn3mdVLb1vlcu4FitT9bhT4uEOv+mP/sRyfeGrsqbsRdKuVfBqSn4YimWJeE1a2ZhS9 Tp1vFjcUMT2EgwcqJv0JG+CA6UY0FGvjwxm7O1k5Nd27wzhVVJ+ojqkuoMHS/U7O6b93 SPKprqzHTioBmDhWLimnwHxlFGkFoh9OLJ2MIN03p4o+rwRKdTrcCZUf/FLopsn2znT/ bs+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BtCcdVnG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j18si6133794edj.99.2020.12.06.00.37.54; Sun, 06 Dec 2020 00:38:17 -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=@kernel.org header.s=k20201202 header.b=BtCcdVnG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726080AbgLFIgM (ORCPT + 99 others); Sun, 6 Dec 2020 03:36:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:44948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725772AbgLFIgL (ORCPT ); Sun, 6 Dec 2020 03:36:11 -0500 Date: Sun, 6 Dec 2020 10:35:24 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607243730; bh=bn7GSlmxRVa6EdoW7s07VaIrHFVpB7cjDBYdugHW5BU=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=BtCcdVnGM+odWnfV6TwmUyX005XBf3IjyPR6/01dXKziRSF4YugctcU8cqtzdpqZ+ LYHx7tWr7Mt/V2KEsfWXkWE0Q2V2v1Rc/R3gEt7ALKHjIrUReqWbBBVd9/WynN9sdD v4rwJR5COpQH6rtd8E5o1eyJuUpeln17pWw8++iZNGDkmI2JRlvIvsWgIqF84LkqoI 85E8uU0ljM6QATagwMHIrTyj+ZVyd2Lslv7eCsXv0/vmIa0LrgbQohHCV3Wc52chNm SfaCW2hN/tFD3PCaLeFqgziv1KJiuSxeoGdz5rILLwghD7V7kebudvNcIntUssNCLF 0IZvtLboo3SPA== From: Leon Romanovsky To: Greg Kroah-Hartman Cc: Maximilian Luz , linux-kernel@vger.kernel.org, Hans de Goede , Mark Gross , Andy Shevchenko , =?utf-8?Q?Barnab=C3=A1s_P=C5=91cze?= , Arnd Bergmann , Rob Herring , Jiri Slaby , "Rafael J . Wysocki" , Len Brown , Steven Rostedt , Ingo Molnar , Masahiro Yamada , Michal Marek , Jonathan Corbet , =?utf-8?B?Qmxhxb4=?= Hrastnik , Dorian Stoll , platform-driver-x86@vger.kernel.org, linux-serial@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v2 0/9] Add support for Microsoft Surface System Aggregator Module Message-ID: <20201206083524.GD210929@unreal> References: <20201203212640.663931-1-luzmaximilian@gmail.com> <20201206070705.GA686270@unreal> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 06, 2020 at 09:32:30AM +0100, Greg Kroah-Hartman wrote: > On Sun, Dec 06, 2020 at 09:07:05AM +0200, Leon Romanovsky wrote: > > On Thu, Dec 03, 2020 at 10:26:31PM +0100, Maximilian Luz wrote: > > > Hello, > > > > > > Here is version two of the Surface System Aggregator Module (SAM/SSAM) > > > driver series, adding initial support for the embedded controller on 5th > > > and later generation Microsoft Surface devices. Initial support includes > > > the ACPI interface to the controller, via which battery and thermal > > > information is provided on some of these devices. > > > > > > The previous version and cover letter detailing what this series is > > > about can be found at > > > > > > https://lore.kernel.org/platform-driver-x86/20201115192143.21571-1-luzmaximilian@gmail.com/ > > > > > > This patch-set can also be found at the following repository and > > > reference, if you prefer to look at a kernel tree instead of these > > > emails: > > > > > > https://github.com/linux-surface/kernel tags/s/surface-aggregator/v2 > > > > > > Thank you all for the feedback to v1, I hope I have addressed all > > > comments. > > > > > > I think that it is too far fetched to attempt and expose UAPI headers > > for some obscure char device that we are all know won't be around in > > a couple of years from now due to the nature of how this embedded world > > works. > > No, that's not ok, we do this for loads of devices out there. If there > is a device that wants to be supported for Linux, and a developer that > wants to support it, we will take it. > > > More on that, the whole purpose of proposed interface is to debug and > > not intended to be used by any user space code. > > I thought that debugfs was going to be used for most of the debugging > code, or has that changed in newer versions of this patchset? https://lore.kernel.org/lkml/20201203212640.663931-9-luzmaximilian@gmail.com/#Z30include:uapi:linux:surface_aggregator:cdev.h + * Definitions, structs, and IOCTLs for the /dev/surface/aggregator misc + * device. This device provides direct user-space access to the SSAM EC. + * Intended for debugging and development. > > thanks, > > greg k-h