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 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 E92BCC46CD2 for ; Tue, 9 Jan 2024 10:10:49 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rN944-0002yl-5M; Tue, 09 Jan 2024 05:10:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rN943-0002y8-8K for qemu-devel@nongnu.org; Tue, 09 Jan 2024 05:10:31 -0500 Received: from mail-qv1-xf2f.google.com ([2607:f8b0:4864:20::f2f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rN93o-0003LV-9M for qemu-devel@nongnu.org; Tue, 09 Jan 2024 05:10:30 -0500 Received: by mail-qv1-xf2f.google.com with SMTP id 6a1803df08f44-67f9ace0006so11274226d6.0 for ; Tue, 09 Jan 2024 02:10:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704795015; x=1705399815; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=FtTN0Js4pLIM3D8VWSYZPlGx0hfktwGOQRJXuU9wkrU=; b=mPOvL60qgcQWIZTXwx8vEq+dtrFa//jIUP5NqJg48ZxO6vv6Kkq5QjMeWPu81/IwuC FH3hN+BXqTEiqSfyEi2yiabRBVkWbBPNPCOoJY8xV8r/XEupLdh2dDska1XbG372GVMw NdVEFN4xfh8smuyZ5Fkp+Vg7rRX0Cd+N/u8RxuQSaDUbsx3tUpESDolQJzsZ+71qFwfA QIlT8PdJenvmatYr+GiC7n4e/P4/SG+d9daYdW5XeZoUw7JEmdopfGW1ooBV5Jy2q2vz tIAa/6dwB55r4yh5pX+hbcEOyJXPdeFmmmCzVP/Pa9dUw+kxC4guXzNn5uS8AgH8xvZU yDfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704795015; x=1705399815; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FtTN0Js4pLIM3D8VWSYZPlGx0hfktwGOQRJXuU9wkrU=; b=gkCaM5tSk4mBpmZzBDlRfRjTEff/fvCn9+beWkdC2mUrRvzoLvaJcBbI7Glb7yGNmk vJQkLK0psNr1b5G06Re9kxyEuMUzdj/QoRzPjMnz6FIXio5o1ufq+ApZhn2y3o5E+3Fx RMXooMWRPeJ10zBgCEB38MIT3gEYE0hkD4MLUhkPUlJ54L7m2xlSb+qddkK0BciN54um 94NKCQdtVx0SqAq6cCbfmI6UiwqlUDWi34aEBjZN9kUj9hHz1TpielD4yrnlNqMfVTC2 qFOPAklZibuje/UhQDRIaO5KNuMVLE0FHGxTghincodPvy6Zz1TbpeWllTvlkuyJkFft BHtQ== X-Gm-Message-State: AOJu0YzmiSGwGNn0uF1egguxRqrETZaZt4W0WjmZXbMhc6DqR19nLkuV PrTxu7Sy3Bcrk5AxMFMp826QEut4UTFy7g== X-Google-Smtp-Source: AGHT+IG+TcpjjrIhCG12Fr/QhLX2NwsPx8u4c+YQd1kbx23ikHsJF+Dw9D9Y8/AEWyPQ5mP/ASu5qw== X-Received: by 2002:a05:6214:2b09:b0:680:d265:6652 with SMTP id jx9-20020a0562142b0900b00680d2656652mr4023232qvb.83.1704795015029; Tue, 09 Jan 2024 02:10:15 -0800 (PST) Received: from [192.168.40.227] ([172.58.27.248]) by smtp.gmail.com with ESMTPSA id z8-20020a0cfec8000000b00681092cb7b4sm756712qvs.103.2024.01.09.02.10.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jan 2024 02:10:14 -0800 (PST) Message-ID: Date: Tue, 9 Jan 2024 21:10:04 +1100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: testing without the translation cache Content-Language: en-US To: Brian Cain , =?UTF-8?Q?Alex_Benn=C3=A9e?= Cc: Sid Manning , "qemu-devel@nongnu.org" , "Matheus Bernardino (QUIC)" References: From: Richard Henderson In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::f2f; envelope-from=richard.henderson@linaro.org; helo=mail-qv1-xf2f.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 1/9/24 09:34, Brian Cain wrote: > Alex, > > A very long time ago QEMU supported disabling the translation cache via “-translation > no-cache”.  That option was deliberately removed.  We are looking into a hexagon-specific > failure when there’s a TB lookup miss from a cpu_loop_exit_restore().   I’d like to test > our fix for this failure and was wondering if there’s any mechanism to disable the cache. > There’s a “-accel tcg,tb-size=0” – but this won’t accomplish what I’m looking to do – will > it?  If not, is there another way to disable the cache? There is no way to disable the cache, only to make it small so that it overflows often. r~