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=-8.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 5D7BFC433E7 for ; Mon, 12 Oct 2020 05:45:31 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id BD6342078A for ; Mon, 12 Oct 2020 05:45:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mymailcheap.com header.i=@mymailcheap.com header.b="nl8E8nCl"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="uKYsiUck" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD6342078A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=flygoat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:56954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRqeH-00047I-KQ for qemu-devel@archiver.kernel.org; Mon, 12 Oct 2020 01:45:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRqcG-0002Sa-RS for qemu-devel@nongnu.org; Mon, 12 Oct 2020 01:43:24 -0400 Received: from relay1.mymailcheap.com ([144.217.248.102]:42983) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRqcD-0005E9-LK for qemu-devel@nongnu.org; Mon, 12 Oct 2020 01:43:23 -0400 Received: from filter1.mymailcheap.com (filter1.mymailcheap.com [149.56.130.247]) by relay1.mymailcheap.com (Postfix) with ESMTPS id 710413F201; Mon, 12 Oct 2020 05:43:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by filter1.mymailcheap.com (Postfix) with ESMTP id 506252A3A6; Mon, 12 Oct 2020 01:43:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mymailcheap.com; s=default; t=1602481398; bh=T6d1mYakNC9xuCLPtcENwrQCDGxiR7Su+oxtqmR2V5E=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=nl8E8nCl4r8RuFuqTeZsQ4khydV5rbA7DX3AFXjHI+C17PKyb6vxMKh7dDNM8YxZV oZhnD0SivQIJiCOav/ys0uvk4AwN2SFebnymicrnJWJLYusF4QWKh1GpOLqZN3Hgbh y4QbwfxHtpRd65MieMUAsW9IJ1qQnQ6532+HASW8= X-Virus-Scanned: Debian amavisd-new at filter1.mymailcheap.com Received: from filter1.mymailcheap.com ([127.0.0.1]) by localhost (filter1.mymailcheap.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hGuD8b0xsXVv; Mon, 12 Oct 2020 01:43:17 -0400 (EDT) Received: from mail20.mymailcheap.com (mail20.mymailcheap.com [51.83.111.147]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by filter1.mymailcheap.com (Postfix) with ESMTPS; Mon, 12 Oct 2020 01:43:17 -0400 (EDT) Received: from [213.133.102.83] (ml.mymailcheap.com [213.133.102.83]) by mail20.mymailcheap.com (Postfix) with ESMTP id 59FD940FD8; Mon, 12 Oct 2020 05:43:15 +0000 (UTC) Authentication-Results: mail20.mymailcheap.com; dkim=pass (1024-bit key; unprotected) header.d=flygoat.com header.i=@flygoat.com header.b="uKYsiUck"; dkim-atps=neutral AI-Spam-Status: Not processed Received: from [0.0.0.0] (li1197-90.members.linode.com [45.79.98.90]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail20.mymailcheap.com (Postfix) with ESMTPSA id 4D8BB40FD8; Mon, 12 Oct 2020 05:43:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=default; t=1602481391; bh=T6d1mYakNC9xuCLPtcENwrQCDGxiR7Su+oxtqmR2V5E=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=uKYsiUck4Lp7TeWYAvqOX2ggwoe7zEKG9LxdrzCtBYeikZ5WtToUOg1ySgTS6mitp Ik+XN6zpMg+K/3hiMo16MoVZ5rwCrb7knOizj4jTHcG0nsC3QhphDTkOEDp8C7MPuu egfouB964pN79C8O/xhgx74kyIB/j8N1zsE81qY8= Subject: Re: [PATCH v3 08/20] target/mips: Move cp0_count_ns to CPUMIPSState To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , qemu-devel@nongnu.org References: <20201010204319.3119239-1-f4bug@amsat.org> <20201010204319.3119239-9-f4bug@amsat.org> From: Jiaxun Yang Message-ID: <41b51349-39b2-9490-d5b5-1ddc7f5456b0@flygoat.com> Date: Mon, 12 Oct 2020 13:42:59 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201010204319.3119239-9-f4bug@amsat.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 59FD940FD8 X-Spamd-Result: default: False [-0.10 / 10.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[flygoat.com:s=default]; HFILTER_HELO_BAREIP(3.00)[213.133.102.83,1]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_SOFTFAIL(0.00)[~all]; ML_SERVERS(-3.10)[213.133.102.83]; DKIM_TRACE(0.00)[flygoat.com:+]; DMARC_POLICY_ALLOW(0.00)[flygoat.com,none]; RCPT_COUNT_TWELVE(0.00)[15]; DMARC_POLICY_ALLOW_WITH_FAILURES(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:213.133.96.0/19, country:DE]; FREEMAIL_CC(0.00)[linaro.org,gmail.com,greensocs.com,kernel.org,lmichel.fr,syrmia.com,lemote.com,twiddle.net,redhat.com,reactos.org,aurel32.net]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mail20.mymailcheap.com Received-SPF: pass client-ip=144.217.248.102; envelope-from=jiaxun.yang@flygoat.com; helo=relay1.mymailcheap.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/12 01:43:18 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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, NICE_REPLY_A=-0.001, 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: Damien Hedde , Huacai Chen , Aleksandar Rikalo , Luc Michel , Eduardo Habkost , Paul Burton , =?UTF-8?Q?Daniel_P=2e_Berrang=c3=a9?= , =?UTF-8?Q?Herv=c3=a9_Poussineau?= , Paolo Bonzini , Huacai Chen , =?UTF-8?Q?Alex_Benn=c3=a9e?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" 在 2020/10/11 上午4:43, Philippe Mathieu-Daudé 写道: > Currently the CP0 timer period is fixed at 10 ns, corresponding > to a fixed CPU frequency of 200 MHz (using half the speed of the > CPU). > > In few commits we will be able to use a different CPU frequency. > In preparation, move the cp0_count_ns variable to CPUMIPSState > so we can modify it. > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Jiaxun Yang > --- [...] Thanks. - Jiauxn