Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp496822pxb; Wed, 15 Sep 2021 06:54:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5NKcV6GAIsPWHdiTcF+fdUUWXi3dlbigPOTkaVe5IBmk+nx9LnCo195ytdq62YJ9bc6cv X-Received: by 2002:a92:c9c3:: with SMTP id k3mr76481ilq.173.1631714065919; Wed, 15 Sep 2021 06:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631714065; cv=none; d=google.com; s=arc-20160816; b=o2EUVTsrWpFBLXlYwGHNHinjCXY2P7Wb1jSKH0ig6Q0leR6tQrPKZ0pUB9kHT59pP0 ck0cfaLTOi1d3NS0cpUgPWaWEqnlXK23KvxG7ERzfnmxvFT4sMUbxClcKcEhbb8/fKca 8Es7MQmHWKkrxzuY9Ps3PEoI7iOaa82xTKxokMkI+ulqwiJK7y4bx0tw7O3PtDR13tNn sHrtDswLpKt0/G9jel3b1KkN3mpqRmaVRke6n4UUCp/gtqqXZHt0AkpqJ2MEZeNpU0nc Lie66UoYXAJiVE5mOZ/BARTz8gSmjxcAxBMg/PyQmjCpwiWhvHRH/hy+Q7/h2X/ES3sb Q8yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=6BiPKRz9OQl7lTGmhV4BDnKcEBr7AUkmMQz3/PjL4Dw=; b=caQMDaBRxILf//0x5csUT/wWXe+PsVTa49MCGGoFK2XfMwnxL7kCmHutas46/O2Qlg 99hC7U80E2X6IFaWRAE2b06XExnUVHb8BYxoSvYufOKUMqqvE3tquUSPq2zdmevwqTO4 QPjDFpU00CXU4xyjnkVYvsmzKTSODXMFBPyOiwDAuqwFB2KhpttViOm/gsckwqvPe8nw +sGB6tvHN++13LCRMKDpyTwl65wpyaY4VmoCTQRP8pDXrjUys6r12i4tMn3ZovG1spZt W5dVNYX0J0U2OkhKIhO7ofISaas99hh85rvMHRAhSeGXqoipFUXLbAHFWaGx+5M3OUfv i0Qw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c6si15934329iow.84.2021.09.15.06.54.13; Wed, 15 Sep 2021 06:54:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234212AbhIONyp (ORCPT + 99 others); Wed, 15 Sep 2021 09:54:45 -0400 Received: from verein.lst.de ([213.95.11.211]:36461 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231886AbhIONyo (ORCPT ); Wed, 15 Sep 2021 09:54:44 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id AC35C67357; Wed, 15 Sep 2021 15:53:21 +0200 (CEST) Date: Wed, 15 Sep 2021 15:53:21 +0200 From: Christoph Hellwig To: Jan Beulich Cc: Roman Skakun , Andrii Anisov , Roman Skakun , Jonathan Corbet , Thomas Bogendoerfer , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Konrad Rzeszutek Wilk , Boris Ostrovsky , Juergen Gross , Stefano Stabellini , Christoph Hellwig , Marek Szyprowski , Robin Murphy , "Paul E. McKenney" , Randy Dunlap , Andrew Morton , Thomas Gleixner , "Maciej W. Rozycki" , Muchun Song , Viresh Kumar , Peter Zijlstra , Lu Baolu , Mike Rapoport , Will Deacon , xen-devel@lists.xenproject.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-doc@vger.kernel.org, Linux Kernel Mailing List , iommu Subject: Re: [PATCH] swiotlb: set IO TLB segment size via cmdline Message-ID: <20210915135321.GA15216@lst.de> References: <20210914151016.3174924-1-Roman_Skakun@epam.com> <7c04db79-7de1-93ff-0908-9bad60a287b9@suse.com> <84ef7ff7-2c9c-113a-4a2c-cef54a6ded51@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84ef7ff7-2c9c-113a-4a2c-cef54a6ded51@suse.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 15, 2021 at 03:49:52PM +0200, Jan Beulich wrote: > But the question remains: Why does the framebuffer need to be mapped > in a single giant chunk? More importantly: if you use dynamic dma mappings for your framebuffer you're doing something wrong.