From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 2002:adf:ef42:0:0:0:0:0 with SMTP id c2csp559302wrp; Thu, 3 Oct 2019 10:44:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcjUc+pBg/oWB+Tp//r8RsJosivwNF5QsGRtyuKu8JiaCR3aqTWeqKsYhqjdNUJ1/Cs/Ri X-Received: by 2002:ac8:5143:: with SMTP id h3mr3410407qtn.26.1570124656258; Thu, 03 Oct 2019 10:44:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570124656; cv=none; d=google.com; s=arc-20160816; b=wXgFrKyqFgKxWBvOwGxCuI+1R9R24KhXFeZ4IlsACUwe7+PyHl6rk8QBVDxcLEnTQ9 geOwNlGS+nR2FAsT0/VLxMp5F4fPOgpV1cH3sn4m6MvHGoN1nIjmuF2w5/5tNaBIOws6 a13RQkNvmw/lwnheUqfsTFRUU0jYqLtgfwJGcvrinP3YcPuzXDTyOXL7uvPkp764Rt/C esqY8BSwsjRnM/5BN3ZjzyTgM8dwX5ftliAH2qWjdVvJrjQMOmnRFuxAIhhJJn419Zh3 VoKfZNP3ndx54EUsooajXLEDg+MGtA5VRrucjNJJKhTq2dUB39iZlQmXOLfOdR2nJCnq 11LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :references:in-reply-to:subject:to:from:message-id:date; bh=7cB7vNY/3aCyjIEsI/zLv2tvl2fKhyW9cH2OiISUxMQ=; b=A9YbTwnIEY+GUbdR70NObUsITq3PdSJKuBlScsZemxW8RSX4lWVa7wtlIUqlTcvab8 rh+H0Wd6kd82sHjsb/wGgHZ7awmPkOL2eI1vEOHEDZhfts/WswbmhuGnUIrZx4c2uewR 9fcMg6ExNH0NYhT96ROj1S7pv4ULeoh86yjaji+a7t1QLKjfrBzcTgZxNqBo2htDv13N Pkh3nJonmUZfUCrhE3EeF67YKFLx6mhRl4DUZWUTnt13Lf5843WsATy51clIfxFpqtsA J+suuAQgLvgGBeBUCx799gBGSxXdWymCJVr8NhOxgeQezmLSaZXVxbf/H7o8Q64lr350 baZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a138si2949861qkg.359.2019.10.03.10.44.16 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Oct 2019 10:44:16 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from localhost ([::1]:38974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG59D-0007ol-P8 for alex.bennee@linaro.org; Thu, 03 Oct 2019 13:44:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36778) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG596-0007oK-7H for qemu-arm@nongnu.org; Thu, 03 Oct 2019 13:44:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iG595-0003rq-7v for qemu-arm@nongnu.org; Thu, 03 Oct 2019 13:44:08 -0400 Received: from inca-roads.misterjones.org ([213.251.177.50]:37821) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iG593-0003po-1Z; Thu, 03 Oct 2019 13:44:05 -0400 Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=big-swifty.misterjones.org) by cheepnis.misterjones.org with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1iG58y-00052p-Py; Thu, 03 Oct 2019 19:44:00 +0200 Date: Thu, 03 Oct 2019 18:43:59 +0100 Message-ID: <86d0fdrag0.wl-maz@kernel.org> From: Marc Zyngier To: Eric Auger Subject: Re: [PATCH v4 0/3] KVM/ARM: Fix >256 vcpus In-Reply-To: <20191003154640.22451-1-eric.auger@redhat.com> References: <20191003154640.22451-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 X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: eric.auger@redhat.com, eric.auger.pro@gmail.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, peter.maydell@linaro.org, yuzenghui@huawei.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on cheepnis.misterjones.org); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 213.251.177.50 X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yuzenghui@huawei.com, peter.maydell@linaro.org, qemu-arm@nongnu.org, qemu-devel@nongnu.org, eric.auger.pro@gmail.com Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: r6w1lBcQPZM7 On Thu, 03 Oct 2019 16:46:37 +0100, Eric Auger wrote: > > Since 4.18, KVM/ARM exposes a KVM_MAX_VCPUS equal to 512. However it was > reported [1] that a VM with more than 256 vcpus cannot be launched. 5.4 > fixes the situation with 2 patches: > - one upgrade of the KVM_IRQ_LINE API [2] supporting a vcpu id encoded > on 12 bits, > - the reduction of KVM IO devices consumed by each GICv3 redistributor [3] > > This series uses the new KVM_IRQ_LINE API and also checks the associated > capability (KVM_CAP_ARM_IRQ_LINE_LAYOUT_2) in machvirt. > > Without the series, as soon as the -smp arguments exceeds 256, QEMU exits > with "kvm_set_irq: Invalid argument". FWIW, and for the whole series: Acked-by: Marc Zyngier M. -- Jazz is not dead, it just smells funny.