From nobody Wed Nov 5 20:13:43 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1537203564928205.1575763711885; Mon, 17 Sep 2018 09:59:24 -0700 (PDT) Received: from localhost ([::1]:36601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1wrr-0004sr-TN for importer@patchew.org; Mon, 17 Sep 2018 12:59:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1wR0-0006bM-F5 for qemu-devel@nongnu.org; Mon, 17 Sep 2018 12:31:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1wQv-0002d4-Ri for qemu-devel@nongnu.org; Mon, 17 Sep 2018 12:31:37 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:53461) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g1wQv-000285-K2 for qemu-devel@nongnu.org; Mon, 17 Sep 2018 12:31:33 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 97AB851F; Mon, 17 Sep 2018 12:31:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 17 Sep 2018 12:31:12 -0400 Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id D2394E49C8; Mon, 17 Sep 2018 12:31:11 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h=cc :date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=mesmtp; bh=w2A0CO7O7beoCC 7QQHsmRYNwUcQVmmoIN/9dB6rj5Ho=; b=n0Cs5olioonEUn681FuvAlrpAajIsN wT3egymFv17JwtaRVrDzeA6ijxL9WMayCe5/854Kr/8DxCUMo7TE7Q4vMn4Ifx6D nGkB6XrEvPZmBvLp/SR0BdCMooARdy+GwnZyWVKLa0RRaOvjA3EViRYRB3jhkgt6 fKPx1CefelDQU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=w2A0CO7O7beoCC7QQHsmRYNwUcQVmmoIN/9dB6rj5Ho=; b=fueMFHL/ Y0U3e1y4M8AWKbmutHCgnpK6aQOMLPpeIWzT+sNBbYTzffCfQ9wesUPe0nP+BFrd O9N0/nP/K5dhvXT0WOovIEZGmapf7x4G2o7EgACVtUe7vOPTVq6NfJH8Wd/umBtz heWZ4qFcuv9YJ9myqYgoun8EiczdGoOxKkfksjrl1SWkk/L1shfDdLAPkzYkBJk/ QGOh22gCbFnJGa9rtUMzm29zuazfy8YQUBwoFwDFUEQKhtK23iYwubEITiu4IUyh nQIQYDUtYZlJLeXO2CoTP6yoCr7KGAVaKc8ZtRAbwlU4l27hc6gv2gSoIEKVIAfc lTiT7yn/f9Ulqw== X-ME-Proxy: X-ME-Sender: From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Mon, 17 Sep 2018 12:30:59 -0400 Message-Id: <20180917163103.6113-32-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180917163103.6113-1-cota@braap.org> References: <20180917163103.6113-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.25 Subject: [Qemu-devel] [PATCH 31/35] translate-all: drop BQL assertion from cpu_interrupt X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Richard Henderson , Peter Crosthwaite Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" This patch explicitly drops the BQL assertion from the user-mode version; previous patches have taken care of softmmu's cpu_interrupt. Cc: Peter Crosthwaite Cc: Richard Henderson Signed-off-by: Emilio G. Cota --- accel/tcg/translate-all.c | 1 - 1 file changed, 1 deletion(-) diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index 364757c677..911436a8d7 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -2350,7 +2350,6 @@ void dump_opcount_info(FILE *f, fprintf_function cpu_= fprintf) =20 void cpu_interrupt(CPUState *cpu, int mask) { - g_assert(qemu_mutex_iothread_locked()); atomic_or(&cpu->interrupt_request, mask); atomic_set(&cpu->icount_decr.u16.high, -1); } --=20 2.17.1