Message ID | 20170405132503.32125-6-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.182.246.10 with SMTP id xs10csp260024obc; Wed, 5 Apr 2017 06:29:19 -0700 (PDT) X-Received: by 10.200.54.136 with SMTP id a8mr31151265qtc.185.1491398959857; Wed, 05 Apr 2017 06:29:19 -0700 (PDT) Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id n20si6363222qki.228.2017.04.05.06.29.19 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 05 Apr 2017 06:29:19 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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]:40564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1cvkzv-0007uj-Dz for patch@linaro.org; Wed, 05 Apr 2017 09:29:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1cvkvu-0004ZW-BH for qemu-devel@nongnu.org; Wed, 05 Apr 2017 09:25:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1cvkvt-0000Iq-AD for qemu-devel@nongnu.org; Wed, 05 Apr 2017 09:25:10 -0400 Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:33691) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1cvkvt-0000Hk-4Q for qemu-devel@nongnu.org; Wed, 05 Apr 2017 09:25:09 -0400 Received: by mail-wr0-x22d.google.com with SMTP id w43so14047405wrb.0 for <qemu-devel@nongnu.org>; Wed, 05 Apr 2017 06:25:09 -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=24uhtL1rsRWJyGEN487kXclBTAGuCMUuaxwKASZpmQA=; b=cH/MREoE03CBTrH0bmhc20QlxoC/2BQDKC3m4GsfOlNj7/BiIVuJoCXZJ6L2yFOGUc 8XMs1JrND5IBxWjRKBjt1oVgWqzWT6XEQbgAFD8euzrP2yImVg4SbacNimGydtZN0BWK uO5E2UOwQxMUGIIUXdCFsVUM6T3AjZrygojBE= 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=24uhtL1rsRWJyGEN487kXclBTAGuCMUuaxwKASZpmQA=; b=PQNGtfbCGbOfZn44CkwjhGRgTajLl189NKEPyRx/xWi1VF7SP6XQf6MuJSWVQWkiSf fVv1DpfN9fyt/8UvbU2e19qhXR0lhXMbJ0GNRRc/CMbwSyNPXwLvf+lHpLGkpYHJJy/C j5FapWff117E8E0n329XWfvDDFxbvSSn9f+VI5UtojgK7mBodH+btGIsyskTD6mn3gIg j2Ls2phSCGODhhm/qeh50wH8MKvGQZ2/r92wAe0lhLtc8tpDS8A7L2NpY5TZ6CJhLafq t4GpC/xrKLwNjhXgepvCICSbfVRkzlLBzKTUp6cs4WoFjZaodZkrL4j2cASMhH+onaL0 yk6w== X-Gm-Message-State: AFeK/H3fGHb0GpUqInDl99bddXO8G278c2G5oQfZtphx128Nt9jXlHnlPlMur/xeMkc3RhLx X-Received: by 10.223.150.121 with SMTP id c54mr3150444wra.202.1491398707547; Wed, 05 Apr 2017 06:25:07 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id f62sm7761150wmh.33.2017.04.05.06.25.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Apr 2017 06:25:02 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 7352F3E088F; Wed, 5 Apr 2017 14:25:03 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: dovgaluk@ispras.ru, rth@twiddle.net, pbonzini@redhat.com Date: Wed, 5 Apr 2017 14:24:56 +0100 Message-Id: <20170405132503.32125-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170405132503.32125-1-alex.bennee@linaro.org> References: <20170405132503.32125-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22d Subject: [Qemu-devel] [PATCH v2 05/12] cpus: remove icount handling from qemu_tcg_cpu_thread_fn X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: mttcg@listserver.greensocs.com, peter.maydell@linaro.org, nikunj@linux.vnet.ibm.com, Peter Crosthwaite <crosthwaite.peter@gmail.com>, a.rigo@virtualopensystems.com, qemu-devel@nongnu.org, cota@braap.org, bobby.prani@gmail.com, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, fred.konrad@greensocs.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
icount and misc MTTCG fixes for 2.9-rc4
|
expand
|
diff --git a/cpus.c b/cpus.c index 68fdbc40b9..4e48b9c4ad 100644 --- a/cpus.c +++ b/cpus.c @@ -1392,6 +1392,8 @@ static void *qemu_tcg_cpu_thread_fn(void *arg) { CPUState *cpu = arg; + g_assert(!use_icount); + rcu_register_thread(); qemu_mutex_lock_iothread(); @@ -1434,8 +1436,6 @@ static void *qemu_tcg_cpu_thread_fn(void *arg) } } - handle_icount_deadline(); - atomic_mb_set(&cpu->exit_request, 0); qemu_tcg_wait_io_event(cpu); }