Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932155AbdHWOvZ (ORCPT ); Wed, 23 Aug 2017 10:51:25 -0400 Received: from mail-io0-f178.google.com ([209.85.223.178]:37744 "EHLO mail-io0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754154AbdHWOvV (ORCPT ); Wed, 23 Aug 2017 10:51:21 -0400 MIME-Version: 1.0 In-Reply-To: <3f8e535b-8607-6b15-6e17-da755a06cc1e@sakamocchi.jp> References: <1502108577-8099-1-git-send-email-andr2000@gmail.com> <7e62a406-7dcd-b5c9-b2de-ea52e1d2afd0@sakamocchi.jp> <2a2fd222-fc54-1709-bfc8-a530efc3f307@gmail.com> <3f8e535b-8607-6b15-6e17-da755a06cc1e@sakamocchi.jp> From: Oleksandr Grytsov Date: Wed, 23 Aug 2017 17:51:20 +0300 Message-ID: Subject: Re: [PATCH RESEND1 00/12] ALSA: vsnd: Add Xen para-virtualized frontend driver To: Takashi Sakamoto Cc: Oleksandr Andrushchenko , clemens@ladisch.de, alsa-devel@alsa-project.org, xen-devel@lists.xen.org, linux-kernel@vger.kernel.org, tiwai@suse.com, Oleksandr Andrushchenko Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 721 Lines: 21 Hi, Thank you for detailed explanation. We understand that emulated interrupt on the frontend side is completely not acceptable and definitely we need to provide some feedback mechanism from Dom0 to DomU. In our case it is technically impossible to provide precise period interrupt (mostly because our backend is a user space application). The best we can implement it is provide number of frames (time, bytes etc.) consumed by real HW. This info will be outdated due to different delays but we can provide precise timestamps when this info was acquired. Would this info be useful to update the frontend driver state? If you have in mind any other solution we would appreciate. -- Best Regards, Oleksandr Grytsov.