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=-0.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 4E949C49EA7 for ; Mon, 28 Jun 2021 06:00:38 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (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 E5C31610E5 for ; Mon, 28 Jun 2021 06:00:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E5C31610E5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kota.moe Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 9578B83005; Mon, 28 Jun 2021 06:00:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gwhxLy_yNJfI; Mon, 28 Jun 2021 06:00:29 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp1.osuosl.org (Postfix) with ESMTPS id A611682F8B; Mon, 28 Jun 2021 06:00:28 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7D9BBC001A; Mon, 28 Jun 2021 06:00:28 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id CEA6FC000E for ; Sat, 26 Jun 2021 18:17:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id B0C2482605 for ; Sat, 26 Jun 2021 18:17:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04Xbmx4CO0Lc for ; Sat, 26 Jun 2021 18:17:45 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by smtp1.osuosl.org (Postfix) with ESMTPS id 4BDBC825E8 for ; Sat, 26 Jun 2021 18:17:41 +0000 (UTC) Received: by mail-wm1-x334.google.com with SMTP id o35-20020a05600c5123b02901e6a7a3266cso5590146wms.1 for ; Sat, 26 Jun 2021 11:17:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kota.moe; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=K6SbdIom3zgio+kZ6wfwDJH7rKPEfDAGy8TdscQ1Fts=; b=c6cU2RJcxB9treX5hi/OxkWRplBi7U9CErc1rc4z3B1uzmoMpEqqGdlY+LWXH7N5DH swjMX20G2YEJmG9iZ0b09BNw848w7hUZj3VyKZo8AeSMYihuCF9ZM4RA8CLuF49SbKAB HUiQgKLP2q3MpTKaB6Fp+44UVWbd9koTN5U9Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=K6SbdIom3zgio+kZ6wfwDJH7rKPEfDAGy8TdscQ1Fts=; b=Y6ivB6anICy00EJvQqNDY+2x7hXQG6UoeiHEGr1+vgNVyI52IrqQ/GgBgrSnw7JSHG 1MvjBrkdIfb6EwlRwBaBmpC3bB13rSXrHYaOu/KHczm50HGI7AUfp2SgYof0cYmLwVPC JZOsvvmV6+EXpJKn90JJyvERLCk76im8Nr4TESfUYEYFL61gT9HGSWvV8iIl+TgpgOxi YC56h8pWbZqq/En0/ZkkxdERfNCkmKVrNzxbyYGrmuA7JoVer8O9kqM3+2ENF0fC3VsA koPvSDunTEhWt8GsAxuNJd2hLZXfQW2iHWWvL/MjsElPIyQjZdY7ndbIp3RaOmKRL5v3 dHVQ== X-Gm-Message-State: AOAM5321B7tWlty/jP0Eetpxn6HkQ86BlOHXPVtalsB0vRxuXz34pd/p v2lGdsqMT0biy6gHxlFmDl38l+92llqiw76bu7rncA== X-Google-Smtp-Source: ABdhPJxOEjtV4xly2hQKRSYOj/QdYtY37Z1yVHzjvMk45DdusPTcP6PcPe1UsAYNko+U8dIogiNwPfBjWQkq7A0F3CY= X-Received: by 2002:a7b:cc09:: with SMTP id f9mr17569753wmh.104.1624731459793; Sat, 26 Jun 2021 11:17:39 -0700 (PDT) MIME-Version: 1.0 References: <162352833546.2353.230557992597997974.reportbug@home.kota.moe> <2f7c7d36-b6f4-f8ab-756e-a563fa03b9e4@arm.com> In-Reply-To: From: =?UTF-8?B?4oCN5bCP5aSq?= Date: Sun, 27 Jun 2021 04:17:03 +1000 Message-ID: Subject: Re: Bug#989778: Regression in at least 5.10.y and mainline: Firewire audio interface fails to work properly (when booted under Xen) To: Salvatore Bonaccorso X-Mailman-Approved-At: Mon, 28 Jun 2021 06:00:28 +0000 Cc: Konrad Rzeszutek Wilk , linux-kernel@vger.kernel.org, 989778-maintonly@bugs.debian.org, iommu@lists.linux-foundation.org, xen-devel@lists.xenproject.org, Robin Murphy , Christoph Hellwig , Jianxiong Gao X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1134603870334167146==" Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" --===============1134603870334167146== Content-Type: multipart/alternative; boundary="00000000000084412605c5af4556" --00000000000084412605c5af4556 Content-Type: text/plain; charset="UTF-8" On Thu, 24 Jun 2021 at 04:50, Salvatore Bonaccorso wrote: > Hi Robin, > > On Mon, Jun 14, 2021 at 02:29:08PM +0100, Robin Murphy wrote: > > On 2021-06-13 07:29, Salvatore Bonaccorso wrote: > > > A user in Debian reported the above issue, which was reproducible with > > > 5.13-rc5 and 5.10.y as packaged in Debian and found that 85a5a6875ca9 > > > ("swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single") that > > > introduced the issue. > > > > Sounds like it's probably the same thing as being discussed over here: > > > > > https://lore.kernel.org/linux-iommu/2e899de2-4b69-c4b6-33a6-09fb8949d2fd@nxp.com/ > > Thanks for the pointer, it seems that now it has been fixed upstream > with 5f89468e2f06 ("swiotlb: manipulate orig_addr when tlb_addr has > offset"). > I've checked out upstream v5.13 b7050b242430f3170e0b57f5f55136e44cb8dc66 (which includes the above commit) and confirmed that my issue is now resolved. Now to wait for it to reach Debian :) --00000000000084412605c5af4556 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, 24 Jun 2021 at 04:50, Salvatore Bonaccorso <carnil@debian.org> wrote:
Hi Robin,

On Mon, Jun 14, 2021 at 02:29:08PM +0100, Robin Murphy wrote:
> On 2021-06-13 07:29, Salvatore Bonaccorso wrote:
> > A user in Debian reported the above issue, which was reproducible= with
> > 5.13-rc5 and 5.10.y as packaged in Debian and found that 85a5a687= 5ca9
> > ("swiotlb: don't modify orig_addr in swiotlb_tbl_sync_si= ngle") that
> > introduced the issue.
>
> Sounds like it's probably the same thing as being discussed over h= ere:
>
> https://lore.k= ernel.org/linux-iommu/2e899de2-4b69-c4b6-33a6-09fb8949d2fd@nxp.com/

Thanks for the pointer, it seems that now it has been fixed upstream
with 5f89468e2f06 ("swiotlb: manipulate orig_addr when tlb_addr has offset").

I've checked out ups= tream v5.13 b7050b242430f3170e0b57f5f55136e44cb8dc66 (which includes the ab= ove commit) and confirmed that my issue is now resolved.
Now= to wait for it to reach Debian :)
--00000000000084412605c5af4556-- --===============1134603870334167146== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu --===============1134603870334167146==-- 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=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 6BA80C49EA6 for ; Sat, 26 Jun 2021 18:18:34 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 1496261C2D for ; Sat, 26 Jun 2021 18:18:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1496261C2D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kota.moe Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.147590.272215 (Exim 4.92) (envelope-from ) id 1lxCsQ-0003OL-KE; Sat, 26 Jun 2021 18:17:58 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 147590.272215; Sat, 26 Jun 2021 18:17:58 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lxCsQ-0003OE-HF; Sat, 26 Jun 2021 18:17:58 +0000 Received: by outflank-mailman (input) for mailman id 147590; Sat, 26 Jun 2021 18:17:57 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lxCsN-0003O8-0p for xen-devel@lists.xenproject.org; Sat, 26 Jun 2021 18:17:57 +0000 Received: from mail-wm1-x32d.google.com (unknown [2a00:1450:4864:20::32d]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 80461327-dc5e-40b9-a2bb-5413d5b94546; Sat, 26 Jun 2021 18:17:40 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id v20-20020a05600c2154b02901dcefb16af0so7974027wml.5 for ; Sat, 26 Jun 2021 11:17:40 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 80461327-dc5e-40b9-a2bb-5413d5b94546 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kota.moe; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=K6SbdIom3zgio+kZ6wfwDJH7rKPEfDAGy8TdscQ1Fts=; b=c6cU2RJcxB9treX5hi/OxkWRplBi7U9CErc1rc4z3B1uzmoMpEqqGdlY+LWXH7N5DH swjMX20G2YEJmG9iZ0b09BNw848w7hUZj3VyKZo8AeSMYihuCF9ZM4RA8CLuF49SbKAB HUiQgKLP2q3MpTKaB6Fp+44UVWbd9koTN5U9Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=K6SbdIom3zgio+kZ6wfwDJH7rKPEfDAGy8TdscQ1Fts=; b=WlMih2+93c6JkzlvXv/g1/C0O1fPg8ss4Mbb/bHC6ZS777UnVGot7FtCGqik3QQgxe wF/7qrO2W6tmWii2o7JvrdCJMPn15zu2AMqi5+7CjAABbL4vw8MJfI+mfLZgNjQgiOe0 NztSMJd1brfs0r5ze51vwaNVAGBDfAmfGjuk2MK8Fox6uSZKBD8MieB8k2EVWe5o7r+/ SLk8FQN1N/ACJI//CJgcWGuWAMqW63MwmroQbccVRFyOqdUnY7hJEpJIbGw/Wa+lHXn6 7DDR58BLvnQhKfiAhP1HOJWLRSbYC9ssp3aaUhRFHVTWsvU10qVEwP3XjbeDXsux9i0o q1YQ== X-Gm-Message-State: AOAM533Hzd9fpc04HQhkOBPDfsgLrdrWnvQyyklyCWZlaQutpXxSwJJi +vPByK/EtQ0dUDWK02bWWBv6xO/qI936W5GGjLS0cg== X-Google-Smtp-Source: ABdhPJxOEjtV4xly2hQKRSYOj/QdYtY37Z1yVHzjvMk45DdusPTcP6PcPe1UsAYNko+U8dIogiNwPfBjWQkq7A0F3CY= X-Received: by 2002:a7b:cc09:: with SMTP id f9mr17569753wmh.104.1624731459793; Sat, 26 Jun 2021 11:17:39 -0700 (PDT) MIME-Version: 1.0 References: <162352833546.2353.230557992597997974.reportbug@home.kota.moe> <2f7c7d36-b6f4-f8ab-756e-a563fa03b9e4@arm.com> In-Reply-To: From: =?UTF-8?B?4oCN5bCP5aSq?= Date: Sun, 27 Jun 2021 04:17:03 +1000 Message-ID: Subject: Re: Bug#989778: Regression in at least 5.10.y and mainline: Firewire audio interface fails to work properly (when booted under Xen) To: Salvatore Bonaccorso Cc: Robin Murphy , 989778-maintonly@bugs.debian.org, Jianxiong Gao , Christoph Hellwig , Konrad Rzeszutek Wilk , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, Marek Szyprowski , xen-devel@lists.xenproject.org Content-Type: multipart/alternative; boundary="00000000000084412605c5af4556" --00000000000084412605c5af4556 Content-Type: text/plain; charset="UTF-8" On Thu, 24 Jun 2021 at 04:50, Salvatore Bonaccorso wrote: > Hi Robin, > > On Mon, Jun 14, 2021 at 02:29:08PM +0100, Robin Murphy wrote: > > On 2021-06-13 07:29, Salvatore Bonaccorso wrote: > > > A user in Debian reported the above issue, which was reproducible with > > > 5.13-rc5 and 5.10.y as packaged in Debian and found that 85a5a6875ca9 > > > ("swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single") that > > > introduced the issue. > > > > Sounds like it's probably the same thing as being discussed over here: > > > > > https://lore.kernel.org/linux-iommu/2e899de2-4b69-c4b6-33a6-09fb8949d2fd@nxp.com/ > > Thanks for the pointer, it seems that now it has been fixed upstream > with 5f89468e2f06 ("swiotlb: manipulate orig_addr when tlb_addr has > offset"). > I've checked out upstream v5.13 b7050b242430f3170e0b57f5f55136e44cb8dc66 (which includes the above commit) and confirmed that my issue is now resolved. Now to wait for it to reach Debian :) --00000000000084412605c5af4556 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, 24 Jun 2021 at 04:50, Salvatore Bonaccorso <carnil@debian.org> wrote:
Hi Robin,

On Mon, Jun 14, 2021 at 02:29:08PM +0100, Robin Murphy wrote:
> On 2021-06-13 07:29, Salvatore Bonaccorso wrote:
> > A user in Debian reported the above issue, which was reproducible= with
> > 5.13-rc5 and 5.10.y as packaged in Debian and found that 85a5a687= 5ca9
> > ("swiotlb: don't modify orig_addr in swiotlb_tbl_sync_si= ngle") that
> > introduced the issue.
>
> Sounds like it's probably the same thing as being discussed over h= ere:
>
> https://lore.k= ernel.org/linux-iommu/2e899de2-4b69-c4b6-33a6-09fb8949d2fd@nxp.com/

Thanks for the pointer, it seems that now it has been fixed upstream
with 5f89468e2f06 ("swiotlb: manipulate orig_addr when tlb_addr has offset").

I've checked out ups= tream v5.13 b7050b242430f3170e0b57f5f55136e44cb8dc66 (which includes the ab= ove commit) and confirmed that my issue is now resolved.
Now= to wait for it to reach Debian :)
--00000000000084412605c5af4556--