Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1494930pxb; Fri, 22 Oct 2021 01:59:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkkN30CJXcImVN6lxnfFqk+1DHrTbmVPvUlXe6Ykrp5KNuM9RoylEplzigEtvC+lOYKbTb X-Received: by 2002:a05:6a00:9aa:b0:44d:4390:d940 with SMTP id u42-20020a056a0009aa00b0044d4390d940mr11333743pfg.14.1634893143561; Fri, 22 Oct 2021 01:59:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634893143; cv=none; d=google.com; s=arc-20160816; b=EijPphQSHztZNhKKMkavleexZ9l6Mgtb39VItokhY0cBxBxh2iOEMxVQlSpRENZWQq Lwqt7f0FmHz9TUle94CFx0vKGyOwY76HHTH12XBISRUAJWW55UeFam0DFBhu2IrmvJVD xg4GHVPjRSqT5cQroW1dh1k0FWugRmrByWf02Lvp3D+7r4VebNw2ZsU3E9RmAr6y8DyF /twZ8uX+eeXIRuxXQc+cRbc1JlrReeT2kL8G/5Ev+j1vf38lrbJ6AeM8/JzlP8KB163n vajzLV9GX8RGj/T2QhEdLRPSpeysTz90hcXeuUtvrSOqAWLZLKYV8nxztqvaYnq35u/S hcWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=aQiw+gPwn0Z6GIbDl4DexWcWNq7xOQ4QBTMZ1MgC764=; b=03XanTeltuome1A9+IzFPVKtdclwz+1v2iQH9VNSSOm6IFBPHHEuybVyBb2MlwiS+A vsTp61tl+JtfAl2xCynUBTLy1m2ZIRsBOyCN2WVnxqDgwMQen+lCuDBj6qjDvfKexQzT yxISVp8BCPIqjr2BttFTP/v3FB2hBLAF+dhnI4CUSpN7VNR8e80BTOTZcg4bl4UL/oMJ /TmmyPqb5g3G05cmkc2zqdQdzooKU8FO1DsAnuY0ZS9N0EUYTLPGsAZ9x/D9n8evPiaF XEaUr2Kx/mkqGUz+OGeDe2x7bvQABKND0ghfMalPw7WTteOjmK4Dv/Sgl2RYyOM1f1q5 Gj1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GjkyGm7w; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p23si9765793plq.104.2021.10.22.01.58.50; Fri, 22 Oct 2021 01:59:03 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=GjkyGm7w; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232440AbhJVI7E (ORCPT + 99 others); Fri, 22 Oct 2021 04:59:04 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:25607 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232271AbhJVI7D (ORCPT ); Fri, 22 Oct 2021 04:59:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634893005; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aQiw+gPwn0Z6GIbDl4DexWcWNq7xOQ4QBTMZ1MgC764=; b=GjkyGm7wz177VsJIcpugbOtr9K/CrhaIpwmudOsfTfTzYEubZGI+yA7VEV5550YugwLqrj 5qUn4FNebvL44E8TJ/NSZF7/rkIlRaei7BUBcsWoCNXkKYIt3S1VNCk/qx/P820pjhnjwi drS8Axk1rkdxmP9JvUGwqqoI4bJ/1Uk= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-263-iP7daRAAMSWH3TrvrYrBtA-1; Fri, 22 Oct 2021 04:56:44 -0400 X-MC-Unique: iP7daRAAMSWH3TrvrYrBtA-1 Received: by mail-ed1-f70.google.com with SMTP id v9-20020a50d849000000b003dcb31eabaaso3040903edj.13 for ; Fri, 22 Oct 2021 01:56:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=aQiw+gPwn0Z6GIbDl4DexWcWNq7xOQ4QBTMZ1MgC764=; b=cU0IA3X7I1Hvzn2dAPEgBvAJua42cbvrfSkNDPFAOOEfonlrLGxlSjZq2k5ELrdIWt Ncbpt+49rzhclXTjIC7ZqXVCvOJrO3scC43lG/eelMVI4B0uTAZ3oAzccFoKjauTUm1r 9GDvDsL/XzzY8suQA5AedzpLj68nz3MSjP+MfMqRCvQbgpTBUjX6v6XnKvCXz5aPYoj7 LhyiB0QZ/7I5NA0KQgKaO8ESzJD4zBXjsse5RJRX8dnvXYa+aXMOA8hf+dG83I4mm9mB 2AexfHOQN+I04m6ai76m9igo+ewK99pmwnkhJ32om7kkQYOoao06VoUGsDpTleln0KiM Azlg== X-Gm-Message-State: AOAM532SmlQTLuHU/yaT5DammLlw+2U+iDELLqDTsvXAM9+lPZ0b5f7t MbuyufoROPNI1m4NEA7nJvaaWnyPcXi39CtcJCzgvnN4+5NJw5gdf2IHJ3dVrQY4MSdZRdU/Kt8 iciI9uWvEIkaE4KZgxqdaMeUY X-Received: by 2002:aa7:db12:: with SMTP id t18mr10427361eds.79.1634893003269; Fri, 22 Oct 2021 01:56:43 -0700 (PDT) X-Received: by 2002:aa7:db12:: with SMTP id t18mr10427337eds.79.1634893003062; Fri, 22 Oct 2021 01:56:43 -0700 (PDT) Received: from ?IPV6:2001:1c00:c1e:bf00:1054:9d19:e0f0:8214? (2001-1c00-0c1e-bf00-1054-9d19-e0f0-8214.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1054:9d19:e0f0:8214]) by smtp.gmail.com with ESMTPSA id z4sm4681457edd.46.2021.10.22.01.56.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Oct 2021 01:56:42 -0700 (PDT) Message-ID: Date: Fri, 22 Oct 2021 10:56:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH 0/3] platform/surface: aggregator: Add support for Surface Laptop Studio Content-Language: en-US To: Benjamin Tissoires Cc: Maximilian Luz , Mark Gross , Jiri Kosina , Platform Driver , "open list:HID CORE LAYER" , lkml References: <20211021130904.862610-1-luzmaximilian@gmail.com> <1e99ab2b-c5c3-49c9-18c3-1f103c4dbe85@redhat.com> From: Hans de Goede In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 10/22/21 08:55, Benjamin Tissoires wrote: > On Thu, Oct 21, 2021 at 8:33 PM Hans de Goede wrote: >> >> Hi, >> >> On 10/21/21 15:09, Maximilian Luz wrote: >>> This series adds Surface Aggregator Module (SAM) support for the new >>> Surface Laptop Studio (SLS). >>> >>> This is mostly straight-forward addition of devices to the Surface >>> Aggregator registry, but the Surface HID driver needs a couple of small >>> changes. Specifically, we need to allow it to probe against SAM devices >>> with target ID 1 and also need to use the corresponding registry for >>> those. >>> >>> I hope it's okay that I've CCed stable to get these included in v5.14+ >>> stable kernels. The changes are fairly small and enable keyboard and >>> touchpad on the SLS. Most other things (except touch) should already >>> work well on the latest stable kernels, so back-porting this series >>> would make the SLS a usable device on those. >> >> Thank you for your patch-series, I've applied the series to my >> review-hans branch: >> https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans >> >> Note it will show up in my review-hans branch once I've pushed my >> local branch there, which might take a while. > > I was surprised to see you taking this series when the 2 patches I > received are HID only. > But it turns out that the patch 1/3 (which I am missing) is actually > about platform, so it makes sense to have you take the full series. > The HID changes are relatively small and are not conflicting with > anything in the HID tree. > > For the HID part: > Acked-by: Benjamin Tissoires Thanks I'll add your Ack before moving this for-next and sorry for not coordinating this before hand. TBH I completely missed that the 2 other patches where under drivers/hid since 90% or so of all surface stuff is under drivers/platform/surface I sorta assumed all patches where for there. My bad, sorry. (Note to self: Next time not only review the contents of the diff but also look at the file-paths). Regards, Hans > > Cheers, > Benjamin > >> >> Once I've run some tests on this branch the patches there will be >> added to the platform-drivers-x86/for-next branch and eventually >> will be included in the pdx86 pull-request to Linus for the next >> merge-window. >> >> Regards, >> >> Hans >> >> >> >>> >>> Maximilian Luz (3): >>> platform/surface: aggregator_registry: Add support for Surface Laptop >>> Studio >>> HID: surface-hid: Use correct event registry for managing HID events >>> HID: surface-hid: Allow driver matching for target ID 1 devices >>> >>> drivers/hid/surface-hid/surface_hid.c | 4 +- >>> .../surface/surface_aggregator_registry.c | 54 +++++++++++++++++++ >>> include/linux/surface_aggregator/controller.h | 4 +- >>> 3 files changed, 58 insertions(+), 4 deletions(-) >>> >> >