Message ID | 1445423133-5119-39-git-send-email-mst@redhat.com |
---|---|
State | Accepted |
Commit | 3c23402d4032f69af44a87fdb8019ad3229a4f31 |
Headers | show
Return-Path: <patchwork-forward+bncBCQYDA7264GRBH63TWYQKGQEFIIGH6I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id 335532303B for <linaro@patches.linaro.org>; Wed, 21 Oct 2015 10:49:04 +0000 (UTC) Received: by wiclg3 with SMTP id lg3sf19130551wic.3 for <linaro@patches.linaro.org>; Wed, 21 Oct 2015 03:49:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:message-id:references :mime-version:content-type:content-disposition:in-reply-to:cc :subject:precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=kdb3dyPjyNbHNMasos2k5gLm7sAdrvrCWAv/WFYO9wc=; b=fg9ZYPq/FT4f9Jo4aaSucmtdOF4zxQHoHk2W+JoYwphBbsQuxNSsql1VE+PpjE1eBn y0nzMmINkcmhWgsRxQWfcpHNx4N4laZdUMHBBYCOF6rroCdtcY4amKLGW4HDhicGMItd RmcJQ/DsttgxyoNbf0yFEJdeuVH7pZEAUKGkyNK/1GCPr/WLxuf5wVUpAUqGo2GITAUU 3pVenVMvclIYwWsqrGLTHScZZLV98+08343+ZO0MrtH/cdYMWyV+QZW8uZAkwzCNU27Z k2juKgjsXgW8CPJUDOJ3ozS1xR53+qA9UONtCY4jW7Bn7Ua30m9isrqa+3V1QousGwtc Xo1Q== X-Gm-Message-State: ALoCoQn7/cqGVxW/qWyCSuFr+W91UFTncA6V/g/xo8s/wF4YeGJnc4cOmWgO2Dc6nB+rr4J6UVNm X-Received: by 10.112.130.41 with SMTP id ob9mr1962291lbb.17.1445424543093; Wed, 21 Oct 2015 03:49:03 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.147.194 with SMTP id v185ls166007lfd.22.gmail; Wed, 21 Oct 2015 03:49:02 -0700 (PDT) X-Received: by 10.25.155.71 with SMTP id d68mr3205967lfe.55.1445424542914; Wed, 21 Oct 2015 03:49:02 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id l129si5867365lfe.102.2015.10.21.03.49.02 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Oct 2015 03:49:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbbec13 with SMTP id ec13so33091057lbb.0 for <patchwork-forward@linaro.org>; Wed, 21 Oct 2015 03:49:02 -0700 (PDT) X-Received: by 10.112.199.137 with SMTP id jk9mr4875047lbc.86.1445424542603; Wed, 21 Oct 2015 03:49:02 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2614043lbq; Wed, 21 Oct 2015 03:49:01 -0700 (PDT) X-Received: by 10.55.198.212 with SMTP id s81mr9923729qkl.108.1445424541677; Wed, 21 Oct 2015 03:49:01 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id f188si7383842qhe.108.2015.10.21.03.49.01 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 21 Oct 2015 03:49:01 -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; Received: from localhost ([::1]:50699 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1Zoqx3-0001jN-3f for patch@linaro.org; Wed, 21 Oct 2015 06:49:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mst@redhat.com>) id 1ZoqdZ-0007U4-RP for qemu-devel@nongnu.org; Wed, 21 Oct 2015 06:28:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mst@redhat.com>) id 1ZoqdY-0006vS-Jj for qemu-devel@nongnu.org; Wed, 21 Oct 2015 06:28:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mst@redhat.com>) id 1ZoqdY-0006vN-DY for qemu-devel@nongnu.org; Wed, 21 Oct 2015 06:28:52 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 1FE7A8C1A6; Wed, 21 Oct 2015 10:28:52 +0000 (UTC) Received: from redhat.com (ovpn-116-143.ams2.redhat.com [10.36.116.143]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id t9LASmno008478; Wed, 21 Oct 2015 06:28:49 -0400 Date: Wed, 21 Oct 2015 13:28:48 +0300 From: "Michael S. Tsirkin" <mst@redhat.com> To: qemu-devel@nongnu.org Message-ID: <1445423133-5119-39-git-send-email-mst@redhat.com> References: <1445423133-5119-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1445423133-5119-1-git-send-email-mst@redhat.com> X-Mutt-Fcc: =sent X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Peter Maydell <peter.maydell@linaro.org>, Jordan Justen <jordan.l.justen@intel.com>, Gerd Hoffmann <kraxel@redhat.com>, Michael Kinney <michael.d.kinney@intel.com>, Paolo Bonzini <pbonzini@redhat.com>, Laszlo Ersek <lersek@redhat.com> Subject: [Qemu-devel] [PULL 38/38] hw/isa/lpc_ich9: inject the SMI on the VCPU that is writing to APM_CNT X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mst@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/hw/isa/lpc_ich9.c b/hw/isa/lpc_ich9.c index 360699f..1ffc803 100644 --- a/hw/isa/lpc_ich9.c +++ b/hw/isa/lpc_ich9.c @@ -394,7 +394,7 @@ static void ich9_apm_ctrl_changed(uint32_t val, void *arg) /* SMI_EN = PMBASE + 30. SMI control and enable register */ if (lpc->pm.smi_en & ICH9_PMIO_SMI_EN_APMC_EN) { - cpu_interrupt(first_cpu, CPU_INTERRUPT_SMI); + cpu_interrupt(current_cpu, CPU_INTERRUPT_SMI); } }