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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 D2AA4C3A5A1 for ; Sun, 25 Aug 2019 10:04:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B400521848 for ; Sun, 25 Aug 2019 10:04:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726902AbfHYKEl (ORCPT ); Sun, 25 Aug 2019 06:04:41 -0400 Received: from foss.arm.com ([217.140.110.172]:48750 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725809AbfHYKEl (ORCPT ); Sun, 25 Aug 2019 06:04:41 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DCEDD344; Sun, 25 Aug 2019 03:04:40 -0700 (PDT) Received: from big-swifty.misterjones.org (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 95DCF3F246; Sun, 25 Aug 2019 03:04:37 -0700 (PDT) Date: Sun, 25 Aug 2019 11:04:35 +0100 Message-ID: <86y2zhmuh8.wl-marc.zyngier@arm.com> From: Marc Zyngier To: Eric Auger Cc: eric.auger.pro@gmail.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, yuzenghui@huawei.com, zhang.zhanghailiang@huawei.com, wanghaibin.wang@huawei.com, james.morse@arm.com, qemu-arm@nongnu.org, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, peter.maydell@linaro.org, andre.przywara@arm.com Subject: Re: [PATCH] KVM: arm/arm64: vgic: Use a single IO device per redistributor In-Reply-To: <20190823173330.23342-1-eric.auger@redhat.com> References: <20190823173330.23342-1-eric.auger@redhat.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 EasyPG/1.0.0 Emacs/26 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Fri, 23 Aug 2019 18:33:30 +0100, Eric Auger wrote: > > At the moment we use 2 IO devices per GICv3 redistributor: one > one for the RD_base frame and one for the SGI_base frame. > > Instead we can use a single IO device per redistributor (the 2 > frames are contiguous). This saves slots on the KVM_MMIO_BUS > which is currently limited to NR_IOBUS_DEVS (1000). > > This change allows to instantiate up to 512 redistributors and may > speed the guest boot with a large number of VCPUs. > > Signed-off-by: Eric Auger Yup, that's exactly what I was hoping for. A very nice cleanup, and no need to increase NR_IOBUS_DEVS for the foreseeable future. I've applied this to -next. Thanks, M. -- Jazz is not dead, it just smells funny.