From patchwork Fri Sep 3 09:03:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 506496 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp839841jai; Fri, 3 Sep 2021 02:34:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7Sqb4W8nYKQqk6BvT1jLgumuFEZeWmAWONtOQutQ+7nFJt/f3NJ8a8NYVuO4h1a9WwlD5 X-Received: by 2002:a25:61c1:: with SMTP id v184mr3668310ybb.327.1630661653380; Fri, 03 Sep 2021 02:34:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630661653; cv=none; d=google.com; s=arc-20160816; b=OHW1JLl4g7w5lfgdHBGiEMSAlK3Tc0Np0xn8T+uw19zD3NlOX0bnvmuAEmqibipL+P VfLViWl6bP5R3HVNFBAYjzNdLdzFF7MPMue9klcPuDVZlQQLuoJqkOEk3KJkc20kfdlX KRH007IyhQCTyzP+i95qlHwZ0xG89hA3NrLOKRcPmHN18La0OSuMnctmXWB++sMCknwR 6eREbjGvQy7Fs520j5SHB3KPMGmKn0Cwhc92qicvtFPAhaVL4uex95RXrXI9sCgL01K8 MkHO5Su2EKrb8ZVch77qt+V+Pati6tUEJeZAUdQ17lrt/K+/6tasSrYsfl8iXeV5OGI8 UYHA== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=MwNqOLSs/h4JpB6SVAu+PmQQX3OyOVghXZoT0dCYuZo=; b=J8xf3oH/LEDZRYGX9EfABsRDo7zcFiDv7FEOJYhRQFkabZ11WFmPSXHdWGebwbfzaG uUjkwgRX95itHolZppCUOeU7SCBXZs1/9ySysw2SDHvLRAzXSkzq39LRS63QiUydSPKg GFa1xcdS1iD+F5D/BkQDOVCShae/ngONKhhPy/UlGlTudgwZMUb9xgoNdSHpEFdctLXz VwVy72ZlzzWrXatT6tTHtFQeHi6XIJtflboMnRTvcTM5mLSfl4qIp5brodU+Rr68Vtkg 6C8SbRxdfetIO24iPg58jYcnIvYHRrxFJfShudrkc6vfZIvLGxvDb2kxJB3tYeeKpxMz 9hHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="r/xX7dI2"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x5si4210403ybn.329.2021.09.03.02.34.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Sep 2021 02:34:13 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="r/xX7dI2"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mM5aO-0007aQ-FT for patch@linaro.org; Fri, 03 Sep 2021 05:34:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mM5F9-000417-Vv for qemu-devel@nongnu.org; Fri, 03 Sep 2021 05:12:16 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:35584) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mM5F8-0003zK-0J for qemu-devel@nongnu.org; Fri, 03 Sep 2021 05:12:15 -0400 Received: by mail-wm1-x334.google.com with SMTP id z9-20020a7bc149000000b002e8861aff59so3314171wmi.0 for ; Fri, 03 Sep 2021 02:12:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MwNqOLSs/h4JpB6SVAu+PmQQX3OyOVghXZoT0dCYuZo=; b=r/xX7dI2LKz71yY4ubyTkV2/Tws3xi9hkxxNsGm2N42ZVbTr8sqDX245dJZKGwcT91 Rd7q+8dCsvgQx39MY3750HAN2yqUdk2LnTpi7jkMr4cmuW1txlIscl2zHN5u16EccRrp kt/XpIqRN/5w6f2Zmwj7iiaS2khpzPO+PoY7oGuf+HwOeZDinROsIErGJqXNXab3Gzm+ ZZQW6F09Kler1BpTIaERsXSZ0cR9xL6ZEltZjEqx+RCt0vS9Iu6MvFmfvJaFau1yBE5J P4cnqscV4VtjmkeLPcAy0anFKrhwkNCN+VhTIGfDmw85G/FoaDXchWEW/fnyzU55XZci 9nFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MwNqOLSs/h4JpB6SVAu+PmQQX3OyOVghXZoT0dCYuZo=; b=J3IVLu8ZGi/njiaC8YATFdsAAI++bz0w6XwpzROORO4jSShrBaNJ0YZt4sVXTrRej5 ILbEHXxgisBakClLJDbcX8uYPAnjAn7HayKyb1Qmgrs44IcAsrgvemKqInVc0QvFU1Ji U497syZwktjPiziIh2Bh3kwwKoXwbq8shE5ki9LanCd7AwUm+MUw4/a7JIjxicZNQ0Pf 0aoq4FeERVSSxZNQZdkIR+qWyMkbpv0OVxUeNQCpIbFXZvKIgFeLvr/GY4rsdOpspmMw LmEn6cyacD+ewqBilJnL/uY+OqIj7s2BarVRX2xLWEtmkJJa399NNZ9AzAWFAvYnEgJE 3uyw== X-Gm-Message-State: AOAM533Jzj7pqcJ2i6IwGOO7lu8sn3AhoO0G1zSE1ONZJ+nXEE7Tby5j RFA9N/w/xa4/jywBg7Jz5yrr0A== X-Received: by 2002:a7b:c442:: with SMTP id l2mr7346299wmi.131.1630660332619; Fri, 03 Sep 2021 02:12:12 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id h15sm1209356wrc.19.2021.09.03.02.12.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Sep 2021 02:12:10 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 2B1ED1FFAF; Fri, 3 Sep 2021 10:03:41 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 16/22] docs/tcg-plugins: new passing parameters scheme for cache docs Date: Fri, 3 Sep 2021 10:03:33 +0100 Message-Id: <20210903090339.1074887-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210903090339.1074887-1-alex.bennee@linaro.org> References: <20210903090339.1074887-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x334.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Iooss , Mahmoud Mandour , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Mahmoud Mandour Signed-off-by: Mahmoud Mandour Reviewed-by: Alex Bennée Signed-off-by: Alex Bennée Message-Id: <20210730135817.17816-9-ma.mandourr@gmail.com> -- 2.30.2 diff --git a/docs/devel/tcg-plugins.rst b/docs/devel/tcg-plugins.rst index 7b1dece024..fcc460bf7b 100644 --- a/docs/devel/tcg-plugins.rst +++ b/docs/devel/tcg-plugins.rst @@ -389,34 +389,34 @@ will report the following:: The plugin has a number of arguments, all of them are optional: - * arg="limit=N" + * limit=N Print top N icache and dcache thrashing instructions along with their address, number of misses, and its disassembly. (default: 32) - * arg="icachesize=N" - * arg="iblksize=B" - * arg="iassoc=A" + * icachesize=N + * iblksize=B + * iassoc=A Instruction cache configuration arguments. They specify the cache size, block size, and associativity of the instruction cache, respectively. (default: N = 16384, B = 64, A = 8) - * arg="dcachesize=N" - * arg="dblksize=B" - * arg="dassoc=A" + * dcachesize=N + * dblksize=B + * dassoc=A Data cache configuration arguments. They specify the cache size, block size, and associativity of the data cache, respectively. (default: N = 16384, B = 64, A = 8) - * arg="evict=POLICY" + * evict=POLICY Sets the eviction policy to POLICY. Available policies are: :code:`lru`, :code:`fifo`, and :code:`rand`. The plugin will use the specified policy for both instruction and data caches. (default: POLICY = :code:`lru`) - * arg="cores=N" + * cores=N Sets the number of cores for which we maintain separate icache and dcache. (default: for linux-user, N = 1, for full system emulation: N = cores