Message ID | 20180723201748.25573-18-mdroth@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.vnet.ibm.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="uOFdyrn8"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41ZCd03l18z9s1x for <incoming@patchwork.ozlabs.org>; Tue, 24 Jul 2018 06:24:04 +1000 (AEST) Received: from localhost ([::1]:36351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fhhNC-0005mt-3b for incoming@patchwork.ozlabs.org; Mon, 23 Jul 2018 16:24:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <flukshun@gmail.com>) id 1fhhIK-0001V8-V1 for qemu-devel@nongnu.org; Mon, 23 Jul 2018 16:19:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <flukshun@gmail.com>) id 1fhhIJ-0002Xf-Ba for qemu-devel@nongnu.org; Mon, 23 Jul 2018 16:19:00 -0400 Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:46724) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <flukshun@gmail.com>) id 1fhhIJ-0002XD-5J; Mon, 23 Jul 2018 16:18:59 -0400 Received: by mail-oi0-x22d.google.com with SMTP id y207-v6so3451290oie.13; Mon, 23 Jul 2018 13:18:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kz/tVu0ffHPmXgxDSDXSCQxwhmehNwIUgZSrJyQzPWo=; b=uOFdyrn8Z/QRRk6SFiN9AIhzf4Ug02yTZy2uhxaZgYKwgz/WBZ7BO/cWmSABz9OQb8 f4/bh4Fh+H97ELCFzEimNX09JW85D3Sp3B5EDWom5KyZe+NKg37LwsttjXUX/1Lf4j3A OWZc9S4AeAGbLR9jE8nnpRq/QA0lXpohjvjRF14jJvsWbt3nmbJG9/tDGUh0kI763NdV CxatJrTfvgE10GR63eWD2Yk341xr758FsicnBHj2ta1ffuD2reVWR/0k+mY+u5YA0SNw wzeHS/rlv9y8QD9HNf5hLpbaUZJF1UDmLScSrahfSs976TRlMVpesEdyeKrSnYqw/SkS uggA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=kz/tVu0ffHPmXgxDSDXSCQxwhmehNwIUgZSrJyQzPWo=; b=sTNAINXFVfuodxbWwpOQNqq3tOucS+7jH+IBxzD7W5vlobwZH6wpuqbFkE3qQi4K0T X+CGiAxu/XLEAbwrnjU+5GZ+hXrBxFipN2KFFBPpMh66MgrhfwdhP1OqrfH8nb/HyC79 BG/MHjvf50iMngLvsgkCpckL06/xkw9Rdae+GALmDffdq1VLBpwOL9eOGzQkgoz7BjIb Dgbu04POQd8/HRBuyWWLP/Oz/MrQWy3DAn7DwrIPcJqyJSYzJAY+NHdzF5SQvzpVoekX rpFjxOLuF6mOHeqA1a0Z4oK586gdwus88dACNiKlKmxk+ONo7izd9MwhZuXOZREJiNYi fAeg== X-Gm-Message-State: AOUpUlHcQSj5K+KY+DJ3YEdHX3b1A24A/xXYRv4Au0ljhXsmogU7b9vL ib9EBhYION4XjNB8lZootajlNlIPmVY= X-Google-Smtp-Source: AAOMgpfeHCSgXsomHZpCOzkEO9WUWHJkmLnzDXGgsgPqiQvcvC0uIB3uo0w/wgexmxHH2bCZ9cOLhw== X-Received: by 2002:aca:3507:: with SMTP id c7-v6mr343901oia.46.1532377138013; Mon, 23 Jul 2018 13:18:58 -0700 (PDT) Received: from localhost (76-251-165-188.lightspeed.austtx.sbcglobal.net. [76.251.165.188]) by smtp.gmail.com with ESMTPSA id o125-v6sm11680975oig.44.2018.07.23.13.18.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 13:18:56 -0700 (PDT) From: Michael Roth <mdroth@linux.vnet.ibm.com> To: qemu-devel@nongnu.org Date: Mon, 23 Jul 2018 15:16:26 -0500 Message-Id: <20180723201748.25573-18-mdroth@linux.vnet.ibm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180723201748.25573-1-mdroth@linux.vnet.ibm.com> References: <20180723201748.25573-1-mdroth@linux.vnet.ibm.com> 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: 2607:f8b0:4003:c06::22d Subject: [Qemu-devel] [PATCH 17/99] lm32: take BQL before writing IP/IM register 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: Michael Walle <michael@walle.cc>, qemu-stable@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
Patch Round-up for stable 2.12.1, freeze on 2018-07-30
|
expand
|
diff --git a/target/lm32/op_helper.c b/target/lm32/op_helper.c index 577f8306e3..234d55e056 100644 --- a/target/lm32/op_helper.c +++ b/target/lm32/op_helper.c @@ -102,12 +102,16 @@ void HELPER(wcsr_dc)(CPULM32State *env, uint32_t dc) void HELPER(wcsr_im)(CPULM32State *env, uint32_t im) { + qemu_mutex_lock_iothread(); lm32_pic_set_im(env->pic_state, im); + qemu_mutex_unlock_iothread(); } void HELPER(wcsr_ip)(CPULM32State *env, uint32_t im) { + qemu_mutex_lock_iothread(); lm32_pic_set_ip(env->pic_state, im); + qemu_mutex_unlock_iothread(); } void HELPER(wcsr_jtx)(CPULM32State *env, uint32_t jtx)