Message ID | 20181025144644.15464-10-cota@braap.org |
---|---|
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=braap.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=braap.org header.i=@braap.org header.b="ojnwXLkB"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="Hq2JeW7w"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42gs5657bmz9sDC for <incoming@patchwork.ozlabs.org>; Fri, 26 Oct 2018 02:49:46 +1100 (AEDT) Received: from localhost ([::1]:55285 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 1gFhtI-0003kT-5n for incoming@patchwork.ozlabs.org; Thu, 25 Oct 2018 11:49:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFh5U-0004Uf-Re for qemu-devel@nongnu.org; Thu, 25 Oct 2018 10:58:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFgus-0007ta-S2 for qemu-devel@nongnu.org; Thu, 25 Oct 2018 10:47:20 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:55409) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFgus-0007gJ-JN for qemu-devel@nongnu.org; Thu, 25 Oct 2018 10:47:18 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1429B21F5F; Thu, 25 Oct 2018 10:46:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 25 Oct 2018 10:46:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= mesmtp; bh=OYQU1QaWaFDV018F+WvSGrIwGf+VvYTQrb8ZiK//u50=; b=ojnwX LkBXwJR0q+jw7ECmYl3SUmUS4bb6+2anks9wv9IbjXrGxjrixbhbtY61kKRgHr6B P5gc0lFltmIXR+Aki0rGskrBMMZd+llyzXAy0A+d8K5o/q/P2zLayI2XsTzxWCKP cYvgOnY5vl6FiCvg2d+IdjseM7BVu4Lu9kLlvg= 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-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=OYQU1QaWaFDV018F+WvSGrIwGf+Vv YTQrb8ZiK//u50=; b=Hq2JeW7waS/cZMsfHPunpGvxEILW3hcpcjRbn19nvFSes C1NEeS2gdcIOF2BPcRoV3xr0aSAbSHD9C0eYIAqC9AGLJfY5jRST+syXGK2ypxDW G54XuKmqg0Rr3LEM06FMuE02e8Y4+iCBc2N8HTpuD5PN3qKXKu+jeYioDw0/6fSt mOId0D6lpdozdjgVtLT5RBXjVvUwE7XK0Ji1smqL9ADQRPP/HLEIDVxxLWUz1Hvc DVOAnV5IjrjoTCKGD4FkH6QCTUzPqNBWXC3IwOc4QrV1LTKHgNL/mkQna3uXCwEa k9Lfwx18fFS7Q2EzkuW01hU/0+36YO+6bFm24Ojwg== X-ME-Sender: <xms:V9fRW2_a216FgQljyCqbzubKU-a-NX5HLI4DRiJ4HB2YcIaPitu1eQ> X-ME-Proxy: <xmx:V9fRW-SH52_mDIAFSCFjhs0fEp-16IDc5NJ5s7ryYZnMSnEEb4FdIQ> <xmx:V9fRWxWQH5NUN11kt8IRKq0eH_XZEYqszgBZ6Ll_b2fDsgfol85jHg> <xmx:V9fRWySl7pf7BVrcdif-z-D5iHJHuqvvSOJ29HK-O9wr_boJoPNB0w> <xmx:V9fRW7l839WYdDC0qeiB_LCPP82YdpDWnyyI-nVcDBLW_NwGPg6www> <xmx:V9fRW46wD5XJznkMY4odCCdM6ZfNvNE-q_MTG1D7wOukNolUdLrQvw> <xmx:WNfRW-sfq-SzT6OlpxL6wVtjCQP5ijH7Km5hfkoiFREXOf4N5NL2bQ> Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 95D76E421C; Thu, 25 Oct 2018 10:46:47 -0400 (EDT) From: "Emilio G. Cota" <cota@braap.org> To: qemu-devel@nongnu.org Date: Thu, 25 Oct 2018 10:45:43 -0400 Message-Id: <20181025144644.15464-10-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181025144644.15464-1-cota@braap.org> References: <20181025144644.15464-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.27 Subject: [Qemu-devel] [RFC v4 10/71] hppa: convert to helper_cpu_halted_set 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: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.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 |
[RFC,v4,01/71] cpu: convert queued work to a QSIMPLEQ
|
expand
|
On 10/25/18 3:45 PM, Emilio G. Cota wrote: > Signed-off-by: Emilio G. Cota <cota@braap.org> > --- > target/hppa/translate.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
Emilio G. Cota <cota@braap.org> writes: > Signed-off-by: Emilio G. Cota <cota@braap.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> > --- > target/hppa/translate.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/target/hppa/translate.c b/target/hppa/translate.c > index ce05d5619d..df9179e70f 100644 > --- a/target/hppa/translate.c > +++ b/target/hppa/translate.c > @@ -2845,8 +2845,7 @@ static DisasJumpType trans_pause(DisasContext *ctx, uint32_t insn, > > /* Tell the qemu main loop to halt until this cpu has work. */ > tmp = tcg_const_i32(1); > - tcg_gen_st_i32(tmp, cpu_env, -offsetof(HPPACPU, env) + > - offsetof(CPUState, halted)); > + gen_helper_cpu_halted_set(cpu_env, tmp); > tcg_temp_free_i32(tmp); > gen_excp_1(EXCP_HALTED); -- Alex Bennée
diff --git a/target/hppa/translate.c b/target/hppa/translate.c index ce05d5619d..df9179e70f 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -2845,8 +2845,7 @@ static DisasJumpType trans_pause(DisasContext *ctx, uint32_t insn, /* Tell the qemu main loop to halt until this cpu has work. */ tmp = tcg_const_i32(1); - tcg_gen_st_i32(tmp, cpu_env, -offsetof(HPPACPU, env) + - offsetof(CPUState, halted)); + gen_helper_cpu_halted_set(cpu_env, tmp); tcg_temp_free_i32(tmp); gen_excp_1(EXCP_HALTED);
Signed-off-by: Emilio G. Cota <cota@braap.org> --- target/hppa/translate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)