Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1677489pxu; Sun, 6 Dec 2020 03:45:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJy3HzvSIoZCdgnsRzejwlPA+/46csssfrOrQl0OXk5AQQJ2QmpAqGY3Rsf/ZySq5rDfoA4V X-Received: by 2002:a17:906:6404:: with SMTP id d4mr14457970ejm.159.1607255106455; Sun, 06 Dec 2020 03:45:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607255106; cv=none; d=google.com; s=arc-20160816; b=0T/KHIEElBsW8WW0LvYcbAsWY2YgAMQe8qrhs50vaXvsjhKkIhj+NjO40GJrbdgwL/ Ijl6Dvz7wdN5sWk2VsU2+P4DErRWfEoCGvvuVo/5hKKehDQSirPlUHcngIC7tanSr39i W/10RIe6dLICG6t3DJ489rSxM0dBwCcpA4/15j0cKCfiGDSpuQGMmI4lshWGyg7uHta6 floDogwGpgxAtPsB8u3GnG7RbcCgzJWFKBYRKF8rXZ+tbmuGOUH4XBurMIvIddnkB8un gUZ8U/7HEkDC08sHtB7I+NeE8Yzni7+9vQb8KRt0B6vRxUZqoR7xTXC6Qc4bmP5yJvMG Meuw== 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=VSAJx21Mw4wD25ydm9DpgVOvoyxsMVfZd9RaN20gCxw=; b=ZF9FaOii848KNFVzPli3GELxHePMXp4159ycHcNwvjoPsfC3wvhwC8E28u1p7/1Sf+ 2liB9pT+6JqxPdrZG5QWpcER7ExXVBjZtkjuq1julN34i4hGBht0zxUNfiYTsNKfspY7 1tnBikToZmFcO47QRUgWcYBMuatlSNBxgC//t/BhBNfbtZjtE7XDumOz1sVPDwp1ykjT 31mH5OofXXjBZfOLA5opwmfqUUN2KMcj1+lyaw51mOhOA4/P54UZ/D2nnnDo2YG6PS6p JtBzt/WGiPlr5qYPtWzu4B7O9BG9Iju9z4uee0eumvXG43hSdqmg3gaqNs7ZoAfDYt3H fErA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E3EMXSgL; 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 o60si6419653eda.61.2020.12.06.03.44.43; Sun, 06 Dec 2020 03:45:06 -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=E3EMXSgL; 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 S1729019AbgLFLmn (ORCPT + 99 others); Sun, 6 Dec 2020 06:42:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:41810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728958AbgLFLmk (ORCPT ); Sun, 6 Dec 2020 06:42:40 -0500 Date: Sun, 6 Dec 2020 13:41:53 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607254920; bh=oK2tHJvsR7FkpksxiOu5pP3zU4wD5WM5i2YAFE0jUOc=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=E3EMXSgLaNW2HpBJow79E7MmJleXSizShtNmtAAZm0iDwAxmPwB8lWqyTj4JCsyT4 NxQsnKFfWDUkODEXqkaGQ9hG9yVFPAFWNCXFlsyceF4UB97f8TiWhdlELpEcsYEzFB hAhK9lUFT0JVonyjQVnzDN4rwu+jidoDbYSr+5TISi1z/3z8Qci6BGgkFyfH4/PFnB EYi+ntUD/kxFbaWsGX1yGGzmXSqWR2jd/WhIQ8NWyZhba6BANR3jQ1DMb0xUoLFKUn 6i+1bWwMH16bH0pbKSjo//95FkaqiiGpp6DAsQMlYVZDPxmLOrHRc/BGUjNv1eYou9 P7Ck8CUTKfRUA== From: Leon Romanovsky To: Hans de Goede Cc: Maximilian Luz , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, 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: <20201206114153.GD693271@unreal> References: <20201203212640.663931-1-luzmaximilian@gmail.com> <20201206070705.GA686270@unreal> <052ecf4d-9e08-2c08-8a06-c30ba2b28d82@redhat.com> <20201206085631.GE210929@unreal> <20201206103339.GB693271@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 11:41:46AM +0100, Hans de Goede wrote: > Hi, > > On 12/6/20 11:33 AM, Leon Romanovsky wrote: > > On Sun, Dec 06, 2020 at 11:04:06AM +0100, Hans de Goede wrote: > > > > >> But there is a difference between being careful and just nacking > >> it because no new UAPI may be added at all (also see GKH's response). > > > > I saw, the author misunderstood the Greg's comments. > > Quoting from patch 8/9: > > " > +============================== > +User-Space EC Interface (cdev) > +============================== > + > +The ``surface_aggregator_cdev`` module provides a misc-device for the SSAM > +controller to allow for a (more or less) direct connection from user-space to > +the SAM EC. It is intended to be used for development and debugging, and > +therefore should not be used or relied upon in any other way. Note that this > +module is not loaded automatically, but instead must be loaded manually. > " > > If I'm not mistaken that seems to be pretty much what Greg asked for. Right, unless you forget the end of his request. " The "joy" of creating a user api is that no matter how much you tell people "do not depend on this", they will, so no matter the file being in debugfs, or a misc device, you might be stuck with it for forever, sorry. " So I still think that exposing user api for a development and debug of device that has no future is wrong thing to do. Thanks > > Regards, > > Hans >