From patchwork Wed Jan 19 15:26:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 12717672 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 320CFC433EF for ; Wed, 19 Jan 2022 16:44:49 +0000 (UTC) Received: from localhost ([::1]:35626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAE4m-0002T7-7A for qemu-devel@archiver.kernel.org; Wed, 19 Jan 2022 11:44:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nACsj-00009b-MX for qemu-devel@nongnu.org; Wed, 19 Jan 2022 10:28:17 -0500 Received: from [2607:f8b0:4864:20::1035] (port=33427 helo=mail-pj1-x1035.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nACsi-0000c2-28 for qemu-devel@nongnu.org; Wed, 19 Jan 2022 10:28:17 -0500 Received: by mail-pj1-x1035.google.com with SMTP id g11-20020a17090a7d0b00b001b2c12c7273so3024704pjl.0 for ; Wed, 19 Jan 2022 07:28:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qEJf89SevVQot2Hj3ZJkC4AKQIDCORDOul1GSl8azAo=; b=UxihDh7BDZTIwTgHDq/aJU2xGFH0tM31+tk2mUih511jl5A75G8wg2x6yiW4iTy5F8 0V8DyjbMJMRvRLgCpirln0aCeoEzgF9Fa8WlTzjSrjffNQZsJDIEHUiQXYESvrDBHDBd +WJeK1RM1rxEy4Vh0jrCm1IyBfdlnrikvNl3rZI1W06/2Yh+NOuf43NBo3nF0Yh7tnjx Lpz4p1qP3usiZvTFp95l9OJtob5XM+lXK2FoQ8/U3AsD+dRiwaC6+zNXbbpbFuW/ArKp nOOshgIBvdQl4uMPfp7LevBjk2Kld1e3rqFIBvDTKgbyZsbsknw+XH9vU0pBd/HcLIKz iAQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qEJf89SevVQot2Hj3ZJkC4AKQIDCORDOul1GSl8azAo=; b=Dr50xtl24Nm0Qn2l/kBzXo3oSaknMyRHO7pQQrC+XD47S5Hw0DAjpJ4tcDWR4lQazu YsebvItED8PlKZHsMQs3h65FIbZZyLaD0fFdrae0Ttw6LKsoE6QBvdaZIgvgj+Tw2SXw orwaZLmNHosi0cpYsrFsbU7uuaZTsvjHohfN4sQYTqVASNfeek6yki/sMD93UVVhSa9x so5D403B0s2o+zkLDcK5ZPCfslQ94WtXogsNBaolz2fGDINqu1yrq8gsKQ/mWLm4o6M3 GSMHftUwO1TSXaonWXd2QTNBiGfy4gcTiMkN2ks/+0DgPn4IE1m2HtHyz4KwB2KSID5N QYBw== X-Gm-Message-State: AOAM533ddSN84XOx9cHWF0dJ5KuRW4joPgYGPRZ0CdtGOWnyhrbYiNA+ +ZOScGcOV8jpgjrQdZzbHL00pg== X-Google-Smtp-Source: ABdhPJxqNEc3oZIrDlcNNreMUMWPC4vgxXKQs55vBHsaHfZjGHEkNjwV/tOjwQ4k+dO5rDz5tCpR3A== X-Received: by 2002:a17:903:124e:b0:149:aafd:494c with SMTP id u14-20020a170903124e00b00149aafd494cmr33423129plh.164.1642606090107; Wed, 19 Jan 2022 07:28:10 -0800 (PST) Received: from localhost.localdomain ([122.179.40.245]) by smtp.gmail.com with ESMTPSA id 187sm26791pfv.157.2022.01.19.07.28.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 07:28:09 -0800 (PST) From: Anup Patel To: Peter Maydell , Palmer Dabbelt , Alistair Francis , Sagar Karandikar Subject: [PATCH v8 22/23] docs/system: riscv: Document AIA options for virt machine Date: Wed, 19 Jan 2022 20:56:13 +0530 Message-Id: <20220119152614.27548-23-anup@brainfault.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220119152614.27548-1-anup@brainfault.org> References: <20220119152614.27548-1-anup@brainfault.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1035 (failed) Received-SPF: none client-ip=2607:f8b0:4864:20::1035; envelope-from=anup@brainfault.org; helo=mail-pj1-x1035.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-riscv@nongnu.org, Frank Chang , Anup Patel , qemu-devel@nongnu.org, Alistair Francis , Atish Patra , Bin Meng Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Anup Patel We have two new machine options "aia" and "aia-guests" available for the RISC-V virt machine so let's document these options. Signed-off-by: Anup Patel Signed-off-by: Anup Patel Reviewed-by: Alistair Francis Reviewed-by: Frank Chang --- docs/system/riscv/virt.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/system/riscv/virt.rst b/docs/system/riscv/virt.rst index fa016584bf..373645513a 100644 --- a/docs/system/riscv/virt.rst +++ b/docs/system/riscv/virt.rst @@ -63,6 +63,22 @@ The following machine-specific options are supported: When this option is "on", ACLINT devices will be emulated instead of SiFive CLINT. When not specified, this option is assumed to be "off". +- aia=[none|aplic|aplic-imsic] + + This option allows selecting interrupt controller defined by the AIA + (advanced interrupt architecture) specification. The "aia=aplic" selects + APLIC (advanced platform level interrupt controller) to handle wired + interrupts whereas the "aia=aplic-imsic" selects APLIC and IMSIC (incoming + message signaled interrupt controller) to handle both wired interrupts and + MSIs. When not specified, this option is assumed to be "none" which selects + SiFive PLIC to handle wired interrupts. + +- aia-guests=nnn + + The number of per-HART VS-level AIA IMSIC pages to be emulated for a guest + having AIA IMSIC (i.e. "aia=aplic-imsic" selected). When not specified, + the default number of per-HART VS-level AIA IMSIC pages is 0. + Running Linux kernel --------------------