Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp320311pxb; Wed, 3 Feb 2021 06:28:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7LNOVoWbyrwUqS5qQoao4FUAR3PDcxrvMM7eQrDk6AmXuZP8LshY5ZvZD2Sx2jZA+/66+ X-Received: by 2002:a17:907:9810:: with SMTP id ji16mr3338835ejc.394.1612362503524; Wed, 03 Feb 2021 06:28:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612362503; cv=none; d=google.com; s=arc-20160816; b=iipY2Lk3fRZB1lkNoTnhfjWMXk/K5K4GugMq7il2h/AuPjiWRjksBb1reYn2LckAAm /I9bLkHhY6p7OPduAK65UPO99LyTnkn/eN7JkzTv7bXSXFFlT80vogP6D0N6YWHoY0rR xeauq/p5sc2vebWpDGaH2jGrBxsFmDUKmdMkkukVbq9CQl0tnGUI1M78aF3powBcPRXZ zv7jOWNjBy8+mWosdYpqwR+nyMfFeaULA8z6LKISWX2osEmwexZVnNV1pghBZn6kN4Gp q7qsfrFrfq3hCJ1g+8v7Fe621nPdMb4oDxrdtPQ7jef91sij34bmY53oyQqa4NyY6IHO n9XQ== 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:date:dkim-signature; bh=3xWLX20KnSq7G5ofmlPC/VwP2FA7d4Kic/EX2+ofCBw=; b=Ap1igUhcYonYbPSVhAur8j0Wag4f9lPjkaKghCHD+R2d+8w1U5U+vzQ4T9AWMvkdYf 82WRzOWvBPz/22JY+Uvux/2/7ye0udZlE/sAycA6uM8scLEZjnaVHm6PqC4pmBP6sTGr zWnPiTZ5KheADebYjap60SiHvBh3Myyg+9l4gTlkYI0OF15mxCpyN6jlzHpU9/G/S950 AI7UGQhWktXxiWyDZtfUfyO/v2m/FTvfKIcnF6+44FPz0gx9Kxl0uPWqpxfElZR4cFSE DRta7aa/Ugk0FVB/UsXhIAJhOu/8xORUJMOs/rud5UQbEjQAnNm5w06zDGdOE+rIlpUV 7O2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BwGl9k57; 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 r2si1274799edv.308.2021.02.03.06.27.50; Wed, 03 Feb 2021 06:28:23 -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=@redhat.com header.s=mimecast20190719 header.b=BwGl9k57; 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 S232678AbhBCOY0 (ORCPT + 99 others); Wed, 3 Feb 2021 09:24:26 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:24788 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232718AbhBCOYQ (ORCPT ); Wed, 3 Feb 2021 09:24:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612362170; 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: in-reply-to:in-reply-to:references:references; bh=3xWLX20KnSq7G5ofmlPC/VwP2FA7d4Kic/EX2+ofCBw=; b=BwGl9k575vkHD7MI9owk3+wweXII/3cuTgZsLrYzIQwPKMW76khNhSzFgiinYUZF4sgOoL d0K4vxnsO8G2MXKesnSF4atHL0dXvljpSpjUan2ZXGpNnll0CJKdv3tGDuR1vanizGSXGl e//L6R9F0njePF17sUUaRsu2/PGdnuA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-244-XA9H55P5NW2AW_YuhKhu5g-1; Wed, 03 Feb 2021 09:22:49 -0500 X-MC-Unique: XA9H55P5NW2AW_YuhKhu5g-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9E784107ACE8; Wed, 3 Feb 2021 14:22:47 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-113-27.ams2.redhat.com [10.36.113.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 436F61002391; Wed, 3 Feb 2021 14:22:44 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 0EAA01800853; Wed, 3 Feb 2021 15:22:39 +0100 (CET) Date: Wed, 3 Feb 2021 15:22:39 +0100 From: Gerd Hoffmann To: Vasyl Vavrychuk Cc: virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, "Michael S. Tsirkin" , Jason Wang , Henrik Rydberg , Mathias Crombez Subject: Re: [PATCH RESEND v3] virtio-input: add multi-touch support Message-ID: <20210203142239.7lknkkg4zx5kuaf2@sirius.home.kraxel.org> References: <20210115002623.8576-1-vasyl.vavrychuk@opensynergy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210115002623.8576-1-vasyl.vavrychuk@opensynergy.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 15, 2021 at 02:26:23AM +0200, Vasyl Vavrychuk wrote: > From: Mathias Crombez > > Without multi-touch slots allocated, ABS_MT_SLOT events will be lost by > input_handle_abs_event. > > Implementation is based on uinput_create_device. > > Signed-off-by: Mathias Crombez > Co-developed-by: Vasyl Vavrychuk > Signed-off-by: Vasyl Vavrychuk > --- > v2: fix patch corrupted by corporate email server > v3: use number of slots from the host > > Resend since to feedback. > > drivers/virtio/virtio_input.c | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) Have no test hardware, the logic looks sane though. Reviewed-by: Gerd Hoffmann take care, Gerd