From patchwork Wed May 11 19:46:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corey Minyard X-Patchwork-Id: 67617 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp395946qge; Wed, 11 May 2016 12:47:41 -0700 (PDT) X-Received: by 10.141.30.201 with SMTP id t70mr5926287qhf.3.1462996061638; Wed, 11 May 2016 12:47:41 -0700 (PDT) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 184si6279620qhr.121.2016.05.11.12.47.41 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 11 May 2016 12:47:41 -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=@gmail.com; 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 Received: from localhost ([::1]:53780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0a6f-00024A-AI for patch@linaro.org; Wed, 11 May 2016 15:47:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0a5P-0000LN-6z for qemu-devel@nongnu.org; Wed, 11 May 2016 15:46:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0a5I-00084w-0Y for qemu-devel@nongnu.org; Wed, 11 May 2016 15:46:22 -0400 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:33541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0a5H-00084a-QO for qemu-devel@nongnu.org; Wed, 11 May 2016 15:46:15 -0400 Received: by mail-pf0-x242.google.com with SMTP id y7so4466347pfb.0 for ; Wed, 11 May 2016 12:46:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=F6yPhPSoH86bnUSr6MIGdv7NVFW09A8dSaAAsPkHWgM=; b=TVODHeP1sYv1lLU8Ebvssdh41gH8ndh8tnx7cHNMo4DYssZyMSG+ZcByDDedN+QEsy PP+codm0u+3Sb3s4SSCHEzjCwZg32ucb1M2H8byk8MeUR01OC47Gd4wNj5RshNkfEULy 4cnA9ODdmnt/Y02NcYAydEWlSENQjCKXRznEfW8vRp0doiQluiKExJ7cQu9mWzp8xXnf Dh1Q76zNMJmK8AxesBIkycsvk7+bLux/0oCC/N0/B4eOFSfa92qmBXPEg4hkktds5XkH aCtPKnhpkcfxZycTh/3ptfCKkldqUq4UW5LJ9OxkKX1OOqFzESH1hcU+bxPKVKwqbi7X m71A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=F6yPhPSoH86bnUSr6MIGdv7NVFW09A8dSaAAsPkHWgM=; b=ZfOvoVQ9nvlFt97KejJJ4Yr9WWHDkb+JkZZM+2GHCMb/uK9dZVjvStHIOZCrBbZMZd kulEG2GSxdbXVjGZ1ULPrCLTqeWEU3Qdj8e0gmSGkuIbii7rbe4ErPG5piqByjnLnFE1 4eZxrkXhO4JrHLEZuLKGwsmIbtQvQlMKWU2CwC6ZmkuqGlhkBUkZ8ezZ5MtMzpRj/aDX qQfXTBZbnGmtE4RWIUBzKe5KSO4K8B+8GJB1dYNlpaMlfhMjRuYnJqlbm5+nwZS1noIY /8a950qleIM40JC6u9krP/P1ZskrAFeickIFkz/aqfRFRUlhVGCWZ+kvXhKCD3uYayup k8Wg== X-Gm-Message-State: AOPr4FXXP9ZNKK568th1zsPN0jTlpKZg/LVXPhcrAsAV1FUzoadP4RF0jrUPWJ0DaTW9Eg== X-Received: by 10.98.89.71 with SMTP id n68mr7793819pfb.82.1462995975282; Wed, 11 May 2016 12:46:15 -0700 (PDT) Received: from serve.minyard.net ([108.19.215.157]) by smtp.gmail.com with ESMTPSA id l88sm14117319pfi.55.2016.05.11.12.46.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 May 2016 12:46:14 -0700 (PDT) Received: from t430.minyard.net (t430m.minyard.net [192.168.27.3]) by serve.minyard.net (Postfix) with ESMTPA id D90DA1D45; Wed, 11 May 2016 14:46:10 -0500 (CDT) Received: by t430.minyard.net (Postfix, from userid 1000) id BCC2930054D; Wed, 11 May 2016 14:46:08 -0500 (CDT) From: minyard@acm.org To: Igor Mammedov , "Michael S . Tsirkin" , Paolo Bonzini , qemu-devel@nongnu.org, minyard@acm.org Date: Wed, 11 May 2016 14:46:05 -0500 Message-Id: <1462995966-1184-7-git-send-email-minyard@acm.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1462995966-1184-1-git-send-email-minyard@acm.org> References: <1462995966-1184-1-git-send-email-minyard@acm.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::242 Subject: [Qemu-devel] [PATCH 6/7] ipmi: Fix SSIF ACPI handling to use the right CRS 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: Corey Minyard Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Corey Minyard Signed-off-by: Corey Minyard --- hw/acpi/ipmi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/hw/acpi/ipmi.c b/hw/acpi/ipmi.c index 731f4ad..c187fdd 100644 --- a/hw/acpi/ipmi.c +++ b/hw/acpi/ipmi.c @@ -49,7 +49,9 @@ static Aml *aml_ipmi_crs(IPMIFwInfo *info) regspacing, info->register_length)); break; case IPMI_MEMSPACE_SMBUS: - aml_append(crs, aml_return(aml_int(info->base_address))); + aml_append(crs, aml_i2c_serial_bus_device(0, 100000, + info->base_address, + info->acpi_parent)); break; default: abort();