Received: by 10.192.165.156 with SMTP id m28csp2142195imm; Thu, 12 Apr 2018 09:14:41 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+jvX0eo3zlUm1et7g0rY3mZudUmWIvn1gTSfQIiFGSS+buTITbCxTidAfwKIUabOOWgatw X-Received: by 2002:a17:902:be18:: with SMTP id r24-v6mr1694084pls.275.1523549681733; Thu, 12 Apr 2018 09:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523549681; cv=none; d=google.com; s=arc-20160816; b=B6ay8IdGIKP0Q7qyBb0i4nogHVSUdHBTeWM0ZahLHdC6gkyyA2C4iW63ozSkIGPqPl 3hyWU/whWlr+IKKCu78vh2swEK+8yVwvv6IlhJKBDz9iLYoME3A/asWs7iWS67vkJue1 mQikRa4aTrxiXFt4ijmnNamESsT3cptM8DalSVNUcafhbBr6mSkK1bTcpRgwG2zWoFJ4 r9j4AgFVsk4FDaJeDJFYrN7f/s8Y1jdqDCbpSYtGr4jXjWetRJ9nWfE7E06uiQsqqUZ0 80vbN8E4lrwiSLw1b5B9fHzVRKoDNfoH+kbA/jQZtTaHd4qSpXM35yRyiyvxj/xOE5wW 8Scg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=JPT2n5J0TfDfH3S1jQ1MghCo/Ddk2mOHz/d+TxXYTdc=; b=sfnt8s9UMgLk5pq6gGq1BE7PAZBg68zY2Le3RHwAoPmRMC7dT2HNlYtm10+/wjDweK DGvBY27l0fgawluBSbBc5YqboWdJgo3WrJQpBt18Zv1H6UXvQCli8CfHHWRuyQwIQZAR lvahEIxbR1oFgE0dz//l1gB6yv5j29O/TXt8XYsnW8JWxzeCT2m6dXq/AeKHuvJAaU1o XcH+fvd9b+cAQ7F0QKyb03nkTtRMjLSau+ro0WKgQHOss9EldeBaVnnCmck43GeBhwMT fwp0gRdQjWLt42CmZzuyOaGruQ808BvgjfDfknwk/IYSOn4Vt+Pqsf1aPwOBHba3/cf+ /Jbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AUJ1bUDL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k11-v6si3503252pls.368.2018.04.12.09.14.04; Thu, 12 Apr 2018 09:14:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AUJ1bUDL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752752AbeDLQLZ (ORCPT + 99 others); Thu, 12 Apr 2018 12:11:25 -0400 Received: from mail-lf0-f41.google.com ([209.85.215.41]:46702 "EHLO mail-lf0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752389AbeDLQLX (ORCPT ); Thu, 12 Apr 2018 12:11:23 -0400 Received: by mail-lf0-f41.google.com with SMTP id j68-v6so8495601lfg.13 for ; Thu, 12 Apr 2018 09:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=JPT2n5J0TfDfH3S1jQ1MghCo/Ddk2mOHz/d+TxXYTdc=; b=AUJ1bUDLBwBp0P058ZZlJOWJt0AjE4PFzttA3O3J3rQAUSphts4X9tF7vTDZJ1g+W1 2o7vW6wllv6gbQtaSIw7wWOCUkO5XP7EwWnciqqCbIae+hnNynWpP4J8BnozMqngCkXK ftXgeERFY8wGoLXIGans1LazsY+HcPFUWCWHmthvEHZQnk6QibuTuXNCTE6BGx3qDGn4 +rqEGBsszH+5K98v5nXrcPvQnw+GXfZrncu0WQy39dvFQQCOfppAH5Ta7UPQoxQO5Ja5 sLkBXy8DE9gILA8KTQhNV1KxTzU26avWLI3awttT8UN8+OKgfxnTGlhX8FoYH6OIAfj9 Iw9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=JPT2n5J0TfDfH3S1jQ1MghCo/Ddk2mOHz/d+TxXYTdc=; b=moQ96GNkWLTxFuuULkkzhlHEsZ/gwITiTwl80+DXaHIv18MKToEuCE3xvFQIX/XJuB MBmwuKZ81MMNzJNZzTHVsgwA7jCbe+xZTPwkMSJl4mm5kQtlxXFi8aeOx3LZndFsO+6H LV9vZ4PpIn4DEKtvrQ18VeGPV5Mc8sDdUhsMW4x5wRJ4nK6ZK3AsULRHztfVR1ovf4Nz VKvZZZBWI3OSQNisS2qtpFm+6sRs11voIW//+Z53O/EyLJHD7zediBBv1Rv7qoAEKXQF MoHG0H25H95AHC1P7iNjr7KfIYnc2z+6eK6ceYFh9yoT7/uuoaFh3xQ/PsS2lYbf9LsY NESw== X-Gm-Message-State: ALQs6tDt9t8H7ph22M22ZkIaO2Gln8+qOcMUrRgctjkIxqf4kw2k77ph yhuZz147OdoDHYoamUFWcbw= X-Received: by 10.46.66.82 with SMTP id p79mr1051835lja.57.1523549480898; Thu, 12 Apr 2018 09:11:20 -0700 (PDT) Received: from [192.168.0.20] (207-17-94-178.pool.ukrtel.net. [178.94.17.207]) by smtp.googlemail.com with ESMTPSA id l195-v6sm784179lfl.7.2018.04.12.09.11.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Apr 2018 09:11:20 -0700 (PDT) Subject: Re: [PATCH 0/5] for-linux/sndif: add explicit back and front synchronization To: konrad.wilk@oracle.com, tiwai@suse.de Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, boris.ostrovsky@oracle.com, jgross@suse.com, "Oleksandr_Andrushchenko@epam.com" References: <20180412160102.15833-1-oleksandr_andrushchenko@epam.com> From: Oleksandr Andrushchenko Message-ID: Date: Thu, 12 Apr 2018 19:11:15 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180412160102.15833-1-oleksandr_andrushchenko@epam.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Konrad, Takashi! Could you please review the *Linux Kernel* version of the changes? As I said in the cover letter below there is no functional changes comparing to the corresponding Xen version, but spaces to tabs. Still, formally, I have to drop the R-b tags and request for the new review. Thank you, Oleksandr P.S. Minus GlobalLogic e-mails which bounce On 04/12/2018 07:00 PM, Oleksandr Andrushchenko wrote: > Hello, all! > > This is the syncup version of the sound protocol changes for > Linux Kernel with the only difference from the corresponding Xen > version being spaces to tabs conversion. Regradless of this only > change I have dropped R-b tags received for Xen version. > > In order to provide explicit synchronization between backend and > frontend the following changes are introduced in the protocol: > - bump protocol version to 2 > - add new ring buffer for sending asynchronous events from > backend to frontend to report number of bytes played by the > frontend (XENSND_EVT_CUR_POS) > - introduce trigger events for playback control: start/stop/pause/resume > - add "req-" prefix to event-channel and ring-ref to unify naming > of the Xen event channels for requests and events > - add XENSND_OP_HW_PARAM_QUERY request to read/update > stream configuration space: request passes desired intervals/formats for > the stream parameters and the response returns allowed intervals and > formats mask that can be used. > - MAJOR: changed req/resp/evt packet sizes from 32 to 64 octets > - Reworked XENSND_OP_HW_PARAM_QUERY so it now sends all > parameters at once, allowing to check all the configuration > space. > - Minor documentation cleanup (added missed "reserved" fields) > > Oleksandr Andrushchenko (5): > xen/sndif: Introduce protocol version > xen/sndif: Fix missed "reserved" fields in comments > xen/sndif: Make requests and responses 64 octets long > xen/sndif: Add explicit back and front synchronization > xen/sndif: Add explicit back and front parameter negotiation > > include/xen/interface/io/sndif.h | 322 +++++++++++++++++++++++++++++-- > 1 file changed, 306 insertions(+), 16 deletions(-) >