Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8611528rwr; Thu, 11 May 2023 04:00:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6bMwvuRr1UUtJ78mtBMuxiXV26DqivQZKL4RKMEk9dvroErTFhWnPokTufb/z3ou7X1Lra X-Received: by 2002:a05:6a00:2d09:b0:63b:5c82:e209 with SMTP id fa9-20020a056a002d0900b0063b5c82e209mr29616254pfb.10.1683802837562; Thu, 11 May 2023 04:00:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683802837; cv=none; d=google.com; s=arc-20160816; b=qAx6TPxFY8B2ShlHGqNyZIlhC+MJ49aWUm25mosK56ImIVYCAzWxfS2jAEjuqlVMxO ywcwNPhztxfGfPvgkkO8sCM+JQRNRvIwhtUfjV4m8SEzWFjiIg+cYdZgGxnlCecR4kGA TwyyOEDU/ytW9Q3qbLyUKT2sRHW8GEabrOENnrArtkX7yLbLomv6axqlqaLzKq8BKl7g CPtsWlWv8E05RjEdVElXe7FQLdEINw8RnCdTvzzBWrgki7CgL038JFaIYKGiqEekp9BC PlQrOrI79AD8B5bqWiS3xIDHLZ3Xhpuh8pKaG7jmBdmaA+srZjbk1g6aAES51kL7Y3Ho a2Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=56/JMFS+y5+CL0epGr/j+rgw0VuJ8cbzk2SU58O1JvY=; b=P+vMcdqlfJOMAo05yY3KhYMs151FyXYOIs7MKzL4fJk5DJZ5pUwJiTUNHkouA1qerH wABwCwNB9UC1Thn+IY3jPc1lYLKvVPsN3Zxz6u/ow66XyILOnBjB/xuX4NejoQ4IUf2l Df8KhuXiH+P016UHItCrFApakYb1GABXjnrHjodzmZOapaFfOMMLqKcHWJJs6samu0nV UA01ToonC078GttvYDgeAuqWIqomjPMDAdmu0OomdYlvOYEmDvzTcq0RQbQoSGYIMBdh 5LDE703Rhu8MFqDI1D3w/PBgIV4xqOOW9YXP9o5I4S3ardzHwEbcyctZL+fhnUxZXxWq snAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tesarici.cz header.s=mail header.b=0BHwBStv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tesarici.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a056a00004600b00643bac6f81esi7397362pfk.16.2023.05.11.04.00.21; Thu, 11 May 2023 04:00:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tesarici.cz header.s=mail header.b=0BHwBStv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tesarici.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237639AbjEKKgr (ORCPT + 99 others); Thu, 11 May 2023 06:36:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229847AbjEKKgo (ORCPT ); Thu, 11 May 2023 06:36:44 -0400 Received: from bee.tesarici.cz (bee.tesarici.cz [IPv6:2a03:3b40:fe:2d4::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8941D2; Thu, 11 May 2023 03:36:41 -0700 (PDT) Received: from meshulam.tesarici.cz (dynamic-2a00-1028-83b8-1e7a-4427-cc85-6706-c595.ipv6.o2.cz [IPv6:2a00:1028:83b8:1e7a:4427:cc85:6706:c595]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bee.tesarici.cz (Postfix) with ESMTPSA id B71DB1595D1; Thu, 11 May 2023 12:36:38 +0200 (CEST) Authentication-Results: mail.tesarici.cz; dmarc=fail (p=none dis=none) header.from=tesarici.cz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tesarici.cz; s=mail; t=1683801399; bh=56/JMFS+y5+CL0epGr/j+rgw0VuJ8cbzk2SU58O1JvY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=0BHwBStv5OjKVHlW+V+xEk83k2yG4uBHsF/ilA8hjkkAZ2+xWGZuvq7yXChlnSsQ/ vkg+2FgTIizvKFk8fiYtSIQmtFvDQa27jGXi6MRaQbKwgPqEv7BreWlqS16s2La/yo dHRa/Ov4etWgJ4M/KJ12Ehz776rYZwYs7TUHbI9nbuSG8iWSJQjeitND5atJVAgpPh MibcahQ0DMPohWnsYlSwt/V3d+3M2xO/HJlLAKCeVSVVQK+a1ZffycgxH6VmDhrBGv u7pUIGEmwPs+E0LGUfiW2nerpG6eumk+X+b1ee6ADXXP8Ft+v5bpcQn5cvA7rxn18k RwB+DRtbM9xjA== Date: Thu, 11 May 2023 12:36:36 +0200 From: Petr =?UTF-8?B?VGVzYcWZw61r?= To: Juerg Haefliger Cc: Petr Tesarik , Christoph Hellwig , Jonathan Corbet , Marek Szyprowski , Robin Murphy , Borislav Petkov , "Paul E. McKenney" , Andrew Morton , Randy Dunlap , Damien Le Moal , Kim Phillips , "Steven Rostedt (Google)" , "open list:DOCUMENTATION" , open list , "open list:DMA MAPPING HELPERS" , Roberto Sassu , Alexander Graf Subject: Re: [RFC v1 3/4] swiotlb: Allow dynamic allocation of bounce buffers Message-ID: <20230511123636.168eb62f@meshulam.tesarici.cz> In-Reply-To: <20230406134440.72959135@gollum> References: <4268fa4e-4f0f-a2f6-a2a5-5b78ca4a073d@huaweicloud.com> <20230331092553.677e9649@smeagol> <20230331110043.7b1ddfa3@meshulam.tesarici.cz> <20230406134440.72959135@gollum> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 06 Apr 2023 11:44:55 +0000 Juerg Haefliger wrote: > On Fri, 31 Mar 2023 11:00:43 +0200 > Petr Tesa=C5=99=C3=ADk wrote: >=20 > > Hi Juerg, > > > > On Fri, 31 Mar 2023 07:26:09 +0000 > > Juerg Haefliger wrote: > > =20 > > > On Tue, 28 Mar 2023 09:54:35 +0200 > > > Petr Tesarik wrote: > > > > > >[...] =20 > > > > Anyway, I suspected that the buffers need not be imported into the = vc4 > > > > driver (also hinted by Eric Anholt in a 2018 blog post [1]), and it > > > > seems I was right. I encountered the issue with Ubuntu 22.10; I > > > > installed latest openSUSE Tumbleweed yesterday, and I was not able = to > > > > reproduce the issue there, most likely because the Mesa drivers have > > > > been fixed meanwhile. This makes the specific case of the Raspberry= Pi 4 > > > > drivers moot. The issue may still affect other combinations of driv= ers, > > > > but I don't have any other real-world example ATM. =20 > > > > > > I'm only seeing this problem with Wayland, no issue when switching Ub= untu to > > > X. It seems Tumbleweed is using X by default. =20 > > > > I know; I was the team lead of SUSE low-level graphics engineers until > > end of last year... I have just double-checked, but this output of > > wayland-info in the GNOME session accessed over RDP is quite convincing= : =20 >=20 > It sure is but how did you get that?? I'm sorry for late reply. Yes, the default is GNOME on X.org, but you can change it on the GDM login screen. After choosing your account, a settings gear icon appears in the lower right corner. Click on it and choose GNOME. That starts a Wayland session. HTH Petr T