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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B7AEBC982FA for ; Tue, 22 Sep 2026 09:23:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NutOSYDLx4tH7KuShcZDI2ZCU5oaHMNdqUgaoku7+KE=; b=mr9IkTlV1x3spx8LSJA5PHkvuW A18YdmuCPQBww0YlLlS2i5tlpB/ceTOFCTbX/g/mM7yt2sOxk2N3ib1SMRw6kIF5BrmnJ9HUf4p0X x3RWY427INYqrFbwz+ZF+4NczvzL/OGcAr5IitAeumibG5OQcbQiJjIF3orfjP91pNN8hZyGm34bW LY9cbdv0ePxsGzMPetifSDgSsZH0fgqm/Hq2Z0teg2Zkt4TEWgF7Wo8hkhRZqR5v+1N4gsQOg3y5a 8Jwcs+yBydip95Ea9jRi3AvsDc43TTj4pkJxkCll3QW1PdNM4dAsuE/XX13eIc77MTO93EXe4524f TlQuTZQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x8wiS-00000004uCS-1xMI; Tue, 22 Sep 2026 09:23:08 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x8wiR-00000004uCI-18Gy for linux-arm-kernel@lists.infradead.org; Tue, 22 Sep 2026 09:23:07 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 5B3CD60200; Tue, 22 Sep 2026 09:23:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7A6E1F000FF; Tue, 22 Sep 2026 09:22:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1790068986; bh=NutOSYDLx4tH7KuShcZDI2ZCU5oaHMNdqUgaoku7+KE=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=dxe2mLJ1DOdNhNV3xzN1UWDf+WAxUJqwBE4m6EJ8NqGqMYw2Un9GqdAuGdl+aORRK OOuly+6n/2Smj6x6nJ/bOPD3LPqGVwEgru3T9Vb+N85YpEQzsVx7tkk452Eeek4d/v X2tCmChMlWALczUB/ok3OKDy5Pkriv+suNvrO/+iJyW8AH3cGofJxfWC9J78D8d7Y1 hlBIEb3Pyp1cOg9/cbPJRDn08GOTBEbkvDNtthfYmxt2g83xX9j2cEdBLyAulmkStx hP52w+r2XFU8Qifn8Fz2BbYPQ8i2S5lOEPECaC6ZD6f2/BSRfM/DG0E3+4HtLwkf4u 9Rucyt3uOjauA== X-Mailer: emacs 31.1 (via feedmail 11-beta-1 I) From: Aneesh Kumar K.V To: Mathieu Poirier , Suzuki K Poulose Cc: kvm@vger.kernel.org, kvmarm@lists.linux.dev, maz@kernel.org, will@kernel.org, catalin.marinas@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, steven.price@arm.com, oupton@kernel.org, gshan@redhat.com, joey.gouly@arm.com, tabba@google.com, yuzenghui@huawei.com, linux-coco@lists.linux.dev, gankulkarni@os.amperecomputing.com, sdonthineni@nvidia.com, alpergun@google.com, fj0570is@fujitsu.com, WeiLin.Chang@arm.com, lpieralisi@kernel.org, enju.kohei@fujitsu.com Subject: Re: [PATCH v18 00/23] KVM: arm64: CCA: Add basic plumbing for Realms In-Reply-To: References: <20260915160141.3543048-1-suzuki.poulose@arm.com> Date: Tue, 22 Sep 2026 14:52:56 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Mathieu Poirier writes: > Hi Suzuki, > > On Tue, Sep 15, 2026 at 05:01:18PM +0100, Suzuki K Poulose wrote: [ ... 42 lines skipped ... ] >> >> [0] Arm CCA KVM Support v16 : https://lore.kernel.org/all/20260803134403.80630-1-steven.price@arm.com >> [1] Linux firmware RMI https://lore.kernel.org/all/20260912083611.2513845-1-suzuki.poulose@arm.com >> [2] Linux GPF Host https://lore.kernel.org/all/20260913070459.2547407-1-suzuki.poulose@arm.com >> [3] https://git.gitlab.arm.com/linux-arm/linux-cca/ cca/cca-host/kvm-v18/integration >> [4] https://support.arm.com/documentation/den0137/2-0bet3/ > > When testing on the FVP model with the above baselines, I get the following > error messagaes in a loop, preventing the system from reaching the command line: > > [ 3.112577] Freeing unused kernel memory: 3520K > [ 3.115398] Run /sbin/init as init process > [ 3.142926] virtio-pci 0000:00:02.0: swiotlb buffer is full (sz: 4096 bytes), > total 512 (slots), used 511 (slots) > [ 3.150111] virtio-pci 0000:00:02.0: swiotlb buffer is full (sz: 4096 bytes), > total 512 (slots), used 511 (slots) > [ 3.177190] virtio-pci 0000:00:02.0: swiotlb buffer is full (sz: 4096 bytes), > total 512 (slots), used 511 (slots) > [ 3.197194] virtio-pci 0000:00:02.0: swiotlb buffer is full (sz: 4096 bytes), > total 512 (slots), used 511 (slots) > [ 3.217188] virtio-pci 0000:00:02.0: swiotlb buffer is full (sz: 4096 bytes), > total 512 (slots), used 511 (slots) > [ 3.237194] virtio-pci 0000:00:02.0: swiotlb buffer is full (sz: 4096 bytes), > total 512 (slots), used 511 (slots) > [ 3.257181] virtio-pci 0000:00:02.0: swiotlb buffer is full (sz: 4096 bytes), > total 512 (slots), used 511 (slots) > [ 3.277189] virtio-pci 0000:00:02.0: swiotlb buffer is full (sz: 4096 bytes), > total 512 (slots), used 511 (slots) > [ 3.297193] virtio-pci 0000:00:02.0: swiotlb buffer is full (sz: 4096 bytes), > total 512 (slots), used 511 (slots) > [ 3.317188] virtio-pci 0000:00:02.0: swiotlb buffer is full (sz: 4096 bytes), > total 512 (slots), used 511 (slots) > [ 8.157185] swiotlb_tbl_map_single: 241 callbacks suppressed > > I get the same result with v17. Have you seen this before? Perhaps a kernel > option that needs to be adjusted? > This is due to a change in the swiotlb setup. https://lore.kernel.org/all/yq5azeyxyfol.fsf@kernel.org You can increase the swiotlb size using the swiotlb= kernel command-line option. I also have a patch series in progress to address this issue: https://lore.kernel.org/all/20260921063628.362078-1-aneesh.kumar@kernel.org -aneesh