From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B094AC433DB for ; Tue, 23 Feb 2021 12:10:33 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3DAD664E3F for ; Tue, 23 Feb 2021 12:10:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3DAD664E3F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E680B1668; Tue, 23 Feb 2021 13:09:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E680B1668 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1614082230; bh=f2mKyJX9iLDS+wlDanCTSY6k2NDkC1EgZnJCSwqEsyc=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=MKXuMyH7oyFQbmhApRKgeSRBiJxKBqhNnFaa05GgwfFOpjMXhdnBcA610a1RtBO1s bQtL9rGuMMoMRW8y0XRoJjSPuZaky3mb8KsjqFAxqfopQJvB4HGN/6uryFT+0ZgY+1 O4x1lB/tttSrEWcN6IKR0o0WLoe3K4ciao4b32No= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6FC62F80169; Tue, 23 Feb 2021 13:09:39 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B5453F8016A; Tue, 23 Feb 2021 13:09:37 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A6A9CF80129 for ; Tue, 23 Feb 2021 13:09:28 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A6A9CF80129 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Xp2MakAl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614082167; 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=yf9BgNu73AxJWcC+uWhBOUpOMoNk4abmVr/8YXLU2rU=; b=Xp2MakAlaf+HnmQ+4Yc6ZKAzUM/bGDWVOkumf2adhurUEuU2Fo2prELQ4oIhX8ojpyWz7d 4DD7OOgMBN43S3lXfLbkjMTEhgB1bfc0GQ6PcOqqmuKL0b3/a9KF0/Laj2X3GIvl4hjPZA w7V2FRoorUBv8+IRgzxIoME+KXrDj+Y= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-508-4xMLy21mNR6ItIqoozh9HQ-1; Tue, 23 Feb 2021 07:09:06 -0500 X-MC-Unique: 4xMLy21mNR6ItIqoozh9HQ-1 Received: by mail-wr1-f71.google.com with SMTP id v1so7268060wru.2 for ; Tue, 23 Feb 2021 04:09:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=yf9BgNu73AxJWcC+uWhBOUpOMoNk4abmVr/8YXLU2rU=; b=JTm+h5E5lmAK23xElkDtTaQZZw5LyxTjkFXtlAa2/h/URDcbOBEqF9fnYdcGJqAzoh L3vzsfEEQsWvlV2/gGqpD8H6GGbm6zMRCtNBWoRW9kFLLnS5wi3tuOeZicePPCBTvjge Adr4i9JCqrY+th1y2OB9T0TeXM0rGUiHR5Xkhb8Y6YFqqwMlrn+TfLQVbPYcJ0d8PTUT oPTJIKx/ui33wM3By4dfam6lwahwRK3Vs7sWcM9D5Q1myYBXjPuAghruJwkIQyUaxFxL okNj9kwpdJAOLg8IVzzE54HTYDw/+rfLVpsuf2JgGeSqy6hw22SWv2BY+/dRHvsI6mPU 5TRw== X-Gm-Message-State: AOAM530di4uIEWMdQmUIriUHJ0wA1VyuqeK3+bHnI9F2ezfmDvm7RBX3 0mzq2o9Zd54lTkcBcBA8Y/eps6nggiVfd8vsSZDiAU8hS8j1/HkWyqvU97UGIyYMS/KKacDUSRm s5+hop7qbEyHm4Icq8cakmf8= X-Received: by 2002:a1c:b443:: with SMTP id d64mr5302929wmf.5.1614082145056; Tue, 23 Feb 2021 04:09:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxPt/Ygq81ajNqFSVMer4KiuG1pgEpFuOONvcgTlmWAjxDDCBt2KXtxHvZfCw9RDPw2vNCAig== X-Received: by 2002:a1c:b443:: with SMTP id d64mr5302917wmf.5.1614082144933; Tue, 23 Feb 2021 04:09:04 -0800 (PST) Received: from redhat.com (bzq-79-180-2-31.red.bezeqint.net. [79.180.2.31]) by smtp.gmail.com with ESMTPSA id x66sm2353275wmg.6.2021.02.23.04.09.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 04:09:04 -0800 (PST) Date: Tue, 23 Feb 2021 07:09:01 -0500 From: "Michael S. Tsirkin" To: Anton Yakovlev Subject: Re: [PATCH v5 0/9] ALSA: add virtio sound driver Message-ID: <20210223070839-mutt-send-email-mst@kernel.org> References: <20210222153444.348390-1-anton.yakovlev@opensynergy.com> MIME-Version: 1.0 In-Reply-To: <20210222153444.348390-1-anton.yakovlev@opensynergy.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mst@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: virtio-dev@lists.oasis-open.org, alsa-devel@alsa-project.org, Takashi Iwai , virtualization@lists.linux-foundation.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Mon, Feb 22, 2021 at 04:34:35PM +0100, Anton Yakovlev wrote: > This series implements a driver part of the virtio sound device > specification v8 [1]. > > The driver supports PCM playback and capture substreams, jack and > channel map controls. A message-based transport is used to write/read > PCM frames to/from a device. > > As a device part was used OpenSynergy proprietary implementation. > > v5 changes: > - Fixed another bunch of sparse warnings > (replaced virtio_cread() -> virtio_cread_le()), no functional changes. > (Sorry, I didn't know how to run sparse locally, now everything should be fixed) > > [1] https://lists.oasis-open.org/archives/virtio-dev/202003/msg00185.html In the future please number patches from 1, not from 2. thanks! > > Anton Yakovlev (9): > uapi: virtio_ids: add a sound device type ID from OASIS spec > ALSA: virtio: add virtio sound driver > ALSA: virtio: handling control messages > ALSA: virtio: build PCM devices and substream hardware descriptors > ALSA: virtio: handling control and I/O messages for the PCM device > ALSA: virtio: PCM substream operators > ALSA: virtio: introduce jack support > ALSA: virtio: introduce PCM channel map support > ALSA: virtio: introduce device suspend/resume support > > MAINTAINERS | 9 + > include/uapi/linux/virtio_ids.h | 1 + > include/uapi/linux/virtio_snd.h | 334 +++++++++++++++++++++ > sound/Kconfig | 2 + > sound/Makefile | 3 +- > sound/virtio/Kconfig | 10 + > sound/virtio/Makefile | 13 + > sound/virtio/virtio_card.c | 462 +++++++++++++++++++++++++++++ > sound/virtio/virtio_card.h | 113 ++++++++ > sound/virtio/virtio_chmap.c | 219 ++++++++++++++ > sound/virtio/virtio_ctl_msg.c | 310 ++++++++++++++++++++ > sound/virtio/virtio_ctl_msg.h | 78 +++++ > sound/virtio/virtio_jack.c | 233 +++++++++++++++ > sound/virtio/virtio_pcm.c | 498 ++++++++++++++++++++++++++++++++ > sound/virtio/virtio_pcm.h | 120 ++++++++ > sound/virtio/virtio_pcm_msg.c | 392 +++++++++++++++++++++++++ > sound/virtio/virtio_pcm_ops.c | 491 +++++++++++++++++++++++++++++++ > 17 files changed, 3287 insertions(+), 1 deletion(-) > create mode 100644 include/uapi/linux/virtio_snd.h > create mode 100644 sound/virtio/Kconfig > create mode 100644 sound/virtio/Makefile > create mode 100644 sound/virtio/virtio_card.c > create mode 100644 sound/virtio/virtio_card.h > create mode 100644 sound/virtio/virtio_chmap.c > create mode 100644 sound/virtio/virtio_ctl_msg.c > create mode 100644 sound/virtio/virtio_ctl_msg.h > create mode 100644 sound/virtio/virtio_jack.c > create mode 100644 sound/virtio/virtio_pcm.c > create mode 100644 sound/virtio/virtio_pcm.h > create mode 100644 sound/virtio/virtio_pcm_msg.c > create mode 100644 sound/virtio/virtio_pcm_ops.c > > -- > 2.30.0 > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: virtio-dev-return-8027-cohuck=redhat.com@lists.oasis-open.org Sender: List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id AC2B5986028 for ; Tue, 23 Feb 2021 12:09:12 +0000 (UTC) Date: Tue, 23 Feb 2021 07:09:01 -0500 From: "Michael S. Tsirkin" Message-ID: <20210223070839-mutt-send-email-mst@kernel.org> References: <20210222153444.348390-1-anton.yakovlev@opensynergy.com> MIME-Version: 1.0 In-Reply-To: <20210222153444.348390-1-anton.yakovlev@opensynergy.com> Subject: [virtio-dev] Re: [PATCH v5 0/9] ALSA: add virtio sound driver Content-Type: text/plain; charset=us-ascii Content-Disposition: inline To: Anton Yakovlev Cc: virtualization@lists.linux-foundation.org, alsa-devel@alsa-project.org, virtio-dev@lists.oasis-open.org, Jaroslav Kysela , Takashi Iwai List-ID: On Mon, Feb 22, 2021 at 04:34:35PM +0100, Anton Yakovlev wrote: > This series implements a driver part of the virtio sound device > specification v8 [1]. > > The driver supports PCM playback and capture substreams, jack and > channel map controls. A message-based transport is used to write/read > PCM frames to/from a device. > > As a device part was used OpenSynergy proprietary implementation. > > v5 changes: > - Fixed another bunch of sparse warnings > (replaced virtio_cread() -> virtio_cread_le()), no functional changes. > (Sorry, I didn't know how to run sparse locally, now everything should be fixed) > > [1] https://lists.oasis-open.org/archives/virtio-dev/202003/msg00185.html In the future please number patches from 1, not from 2. thanks! > > Anton Yakovlev (9): > uapi: virtio_ids: add a sound device type ID from OASIS spec > ALSA: virtio: add virtio sound driver > ALSA: virtio: handling control messages > ALSA: virtio: build PCM devices and substream hardware descriptors > ALSA: virtio: handling control and I/O messages for the PCM device > ALSA: virtio: PCM substream operators > ALSA: virtio: introduce jack support > ALSA: virtio: introduce PCM channel map support > ALSA: virtio: introduce device suspend/resume support > > MAINTAINERS | 9 + > include/uapi/linux/virtio_ids.h | 1 + > include/uapi/linux/virtio_snd.h | 334 +++++++++++++++++++++ > sound/Kconfig | 2 + > sound/Makefile | 3 +- > sound/virtio/Kconfig | 10 + > sound/virtio/Makefile | 13 + > sound/virtio/virtio_card.c | 462 +++++++++++++++++++++++++++++ > sound/virtio/virtio_card.h | 113 ++++++++ > sound/virtio/virtio_chmap.c | 219 ++++++++++++++ > sound/virtio/virtio_ctl_msg.c | 310 ++++++++++++++++++++ > sound/virtio/virtio_ctl_msg.h | 78 +++++ > sound/virtio/virtio_jack.c | 233 +++++++++++++++ > sound/virtio/virtio_pcm.c | 498 ++++++++++++++++++++++++++++++++ > sound/virtio/virtio_pcm.h | 120 ++++++++ > sound/virtio/virtio_pcm_msg.c | 392 +++++++++++++++++++++++++ > sound/virtio/virtio_pcm_ops.c | 491 +++++++++++++++++++++++++++++++ > 17 files changed, 3287 insertions(+), 1 deletion(-) > create mode 100644 include/uapi/linux/virtio_snd.h > create mode 100644 sound/virtio/Kconfig > create mode 100644 sound/virtio/Makefile > create mode 100644 sound/virtio/virtio_card.c > create mode 100644 sound/virtio/virtio_card.h > create mode 100644 sound/virtio/virtio_chmap.c > create mode 100644 sound/virtio/virtio_ctl_msg.c > create mode 100644 sound/virtio/virtio_ctl_msg.h > create mode 100644 sound/virtio/virtio_jack.c > create mode 100644 sound/virtio/virtio_pcm.c > create mode 100644 sound/virtio/virtio_pcm.h > create mode 100644 sound/virtio/virtio_pcm_msg.c > create mode 100644 sound/virtio/virtio_pcm_ops.c > > -- > 2.30.0 > --------------------------------------------------------------------- To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C22ADC433E0 for ; Tue, 23 Feb 2021 12:09:41 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5E17664E4B for ; Tue, 23 Feb 2021 12:09:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E17664E4B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=virtualization-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id E7133605DC; Tue, 23 Feb 2021 12:09:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KQC7uNw_xh8o; Tue, 23 Feb 2021 12:09:38 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTP id B87CE605BE; Tue, 23 Feb 2021 12:09:36 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 4129AC000A; Tue, 23 Feb 2021 12:09:36 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 821A7C0001 for ; Tue, 23 Feb 2021 12:09:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id B6516605BC for ; Tue, 23 Feb 2021 12:09:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z7p8ZkAGi84W for ; Tue, 23 Feb 2021 12:09:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by smtp3.osuosl.org (Postfix) with ESMTPS id 55D516058D for ; Tue, 23 Feb 2021 12:09:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614082168; 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=yf9BgNu73AxJWcC+uWhBOUpOMoNk4abmVr/8YXLU2rU=; b=IoI58CoRn/1Xsvu+fJYeVC4yJhMR9mUTkwkuTzYvF4JAqHOCCSEh4Pg3wPdIXYx2NgLnCa /zudBUJ4woUhBDxKj4/mHDkt740Tz2ZtXAwzIbw6OWfA/CQ5OFgrQ7X52vUCGcU+K7PibN nBhdAh3DBqoVufMiFC1PB+OWVBEyuOM= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-546-wc7Tb-CQMjq9lkxGA3Ng_Q-1; Tue, 23 Feb 2021 07:09:06 -0500 X-MC-Unique: wc7Tb-CQMjq9lkxGA3Ng_Q-1 Received: by mail-wr1-f69.google.com with SMTP id l10so7246470wry.16 for ; Tue, 23 Feb 2021 04:09:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=yf9BgNu73AxJWcC+uWhBOUpOMoNk4abmVr/8YXLU2rU=; b=KIc3sbJqsr134t/kwr3ZnShjeFBGKu0UZLCDDyaGjaZsvb2yKGTKVGRSDBMxrsFUtC U1PZ072JVKHbEvlXVd6p3VhKJDkfgYhO/dpmqI7P6pDCrQgi09616aStf8LjbqNGK3Zk aDJRu9OQa6JGyN1DtiYKYBUe4rejFVh0lEaXfHHOvuwZx292jQhdxXAifgwFNuA95wTF 7Nouy2BJchIisQClq+vo+GBn+MRbqLD7bo1iY9RAGC9PsP/Suj2GxcutDjQkZYykbuum OS+3UG9VDRnqu/bcjIBvMApfUA3Mbo2FmvdnReQufNrYeAXsnt212TXMyzmS5ym1OCJf iHXw== X-Gm-Message-State: AOAM530gt08SmRTUuo+vGpziz8aJMwTPLYoTbfLGmVnwocraiwt5bJgk ZCLnLjy2VO0cE/V9IDtWUNugh8XvHssJRPe/BgzVTmXNfCvzQrYiedhTGby6mfeTCeWwwTj2n1l lNodbdcLw+zCFiTF0rcULobxIgXMXBKPTsG4PaZdcmw== X-Received: by 2002:a1c:b443:: with SMTP id d64mr5302926wmf.5.1614082145055; Tue, 23 Feb 2021 04:09:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxPt/Ygq81ajNqFSVMer4KiuG1pgEpFuOONvcgTlmWAjxDDCBt2KXtxHvZfCw9RDPw2vNCAig== X-Received: by 2002:a1c:b443:: with SMTP id d64mr5302917wmf.5.1614082144933; Tue, 23 Feb 2021 04:09:04 -0800 (PST) Received: from redhat.com (bzq-79-180-2-31.red.bezeqint.net. [79.180.2.31]) by smtp.gmail.com with ESMTPSA id x66sm2353275wmg.6.2021.02.23.04.09.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 04:09:04 -0800 (PST) Date: Tue, 23 Feb 2021 07:09:01 -0500 From: "Michael S. Tsirkin" To: Anton Yakovlev Subject: Re: [PATCH v5 0/9] ALSA: add virtio sound driver Message-ID: <20210223070839-mutt-send-email-mst@kernel.org> References: <20210222153444.348390-1-anton.yakovlev@opensynergy.com> MIME-Version: 1.0 In-Reply-To: <20210222153444.348390-1-anton.yakovlev@opensynergy.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mst@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Cc: virtio-dev@lists.oasis-open.org, alsa-devel@alsa-project.org, Jaroslav Kysela , Takashi Iwai , virtualization@lists.linux-foundation.org X-BeenThere: virtualization@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux virtualization List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" On Mon, Feb 22, 2021 at 04:34:35PM +0100, Anton Yakovlev wrote: > This series implements a driver part of the virtio sound device > specification v8 [1]. > > The driver supports PCM playback and capture substreams, jack and > channel map controls. A message-based transport is used to write/read > PCM frames to/from a device. > > As a device part was used OpenSynergy proprietary implementation. > > v5 changes: > - Fixed another bunch of sparse warnings > (replaced virtio_cread() -> virtio_cread_le()), no functional changes. > (Sorry, I didn't know how to run sparse locally, now everything should be fixed) > > [1] https://lists.oasis-open.org/archives/virtio-dev/202003/msg00185.html In the future please number patches from 1, not from 2. thanks! > > Anton Yakovlev (9): > uapi: virtio_ids: add a sound device type ID from OASIS spec > ALSA: virtio: add virtio sound driver > ALSA: virtio: handling control messages > ALSA: virtio: build PCM devices and substream hardware descriptors > ALSA: virtio: handling control and I/O messages for the PCM device > ALSA: virtio: PCM substream operators > ALSA: virtio: introduce jack support > ALSA: virtio: introduce PCM channel map support > ALSA: virtio: introduce device suspend/resume support > > MAINTAINERS | 9 + > include/uapi/linux/virtio_ids.h | 1 + > include/uapi/linux/virtio_snd.h | 334 +++++++++++++++++++++ > sound/Kconfig | 2 + > sound/Makefile | 3 +- > sound/virtio/Kconfig | 10 + > sound/virtio/Makefile | 13 + > sound/virtio/virtio_card.c | 462 +++++++++++++++++++++++++++++ > sound/virtio/virtio_card.h | 113 ++++++++ > sound/virtio/virtio_chmap.c | 219 ++++++++++++++ > sound/virtio/virtio_ctl_msg.c | 310 ++++++++++++++++++++ > sound/virtio/virtio_ctl_msg.h | 78 +++++ > sound/virtio/virtio_jack.c | 233 +++++++++++++++ > sound/virtio/virtio_pcm.c | 498 ++++++++++++++++++++++++++++++++ > sound/virtio/virtio_pcm.h | 120 ++++++++ > sound/virtio/virtio_pcm_msg.c | 392 +++++++++++++++++++++++++ > sound/virtio/virtio_pcm_ops.c | 491 +++++++++++++++++++++++++++++++ > 17 files changed, 3287 insertions(+), 1 deletion(-) > create mode 100644 include/uapi/linux/virtio_snd.h > create mode 100644 sound/virtio/Kconfig > create mode 100644 sound/virtio/Makefile > create mode 100644 sound/virtio/virtio_card.c > create mode 100644 sound/virtio/virtio_card.h > create mode 100644 sound/virtio/virtio_chmap.c > create mode 100644 sound/virtio/virtio_ctl_msg.c > create mode 100644 sound/virtio/virtio_ctl_msg.h > create mode 100644 sound/virtio/virtio_jack.c > create mode 100644 sound/virtio/virtio_pcm.c > create mode 100644 sound/virtio/virtio_pcm.h > create mode 100644 sound/virtio/virtio_pcm_msg.c > create mode 100644 sound/virtio/virtio_pcm_ops.c > > -- > 2.30.0 > _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization