From patchwork Tue Apr 9 11:27:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 15994 Return-Path: X-Original-To: linaro@staging.patches.linaro.org Delivered-To: linaro@staging.patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D92C423970 for ; Tue, 9 Apr 2013 11:28:20 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id m1sf11276467ves.11 for ; Tue, 09 Apr 2013 04:28:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=OLRx0VcxoURareoejy8P1ZZDOolKFrlpxwgPrUOdsuw=; b=gJrJb2uhPlEZ7Iw7aY78NWKVojDQC25HoZuV+JfQTvVsDSvHtvPm0LezAxLTFIebiv osBv/iJkE19BbSdN7lzVy069m+b3NM6rQkilcNkLZXl7+HGR7c7qFh+AMY8jF0lfNM3M UvZzgQSUZ7aiY/zPvqgNSNCZPL4TrUgOvZGbvhdc5I2KX3iEHr5NiPomwliAwYAGTfge c8B8VmXjncEsPh4Hg277HNozDDkwy4AJyiZTuiAWxMEL7m7v0gEL23JO+cU+cLZZu2MT doApmMOVaqi0r1/KkhB5iwzAyzTf6XHHkT1uFQGWc8Mft3O744X8jaquVcyW6z7+sHph u9rg== X-Received: by 10.224.219.146 with SMTP id hu18mr8002888qab.3.1365506884036; Tue, 09 Apr 2013 04:28:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.71.141 with SMTP id v13ls115472qeu.84.gmail; Tue, 09 Apr 2013 04:28:03 -0700 (PDT) X-Received: by 10.52.176.65 with SMTP id cg1mr16086181vdc.1.1365506883777; Tue, 09 Apr 2013 04:28:03 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id j11si21223335vcw.51.2013.04.09.04.28.03 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Apr 2013 04:28:03 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id c13so6335834vea.11 for ; Tue, 09 Apr 2013 04:28:03 -0700 (PDT) X-Received: by 10.52.93.20 with SMTP id cq20mr16136933vdb.38.1365506883594; Tue, 09 Apr 2013 04:28:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.85.136 with SMTP id h8csp57059vez; Tue, 9 Apr 2013 04:28:02 -0700 (PDT) X-Received: by 10.194.172.71 with SMTP id ba7mr37735899wjc.26.1365506882343; Tue, 09 Apr 2013 04:28:02 -0700 (PDT) Received: from mnementh.archaic.org.uk (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id r10si11176571wjr.102.2013.04.09.04.28.01 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 09 Apr 2013 04:28:02 -0700 (PDT) Received-SPF: neutral (google.com: 2001:8b0:1d0::1 is neither permitted nor denied by best guess record for domain of pm215@archaic.org.uk) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1UPWiP-0005YP-Lb; Tue, 09 Apr 2013 12:27:53 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Anthony Liguori , David Gibson , Paolo Bonzini Subject: [PATCH v2 1/2] hw/sm501: Use correct setter for sysbus-ohci dma-address property Date: Tue, 9 Apr 2013 12:27:52 +0100 Message-Id: <1365506873-21324-2-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1365506873-21324-1-git-send-email-peter.maydell@linaro.org> References: <1365506873-21324-1-git-send-email-peter.maydell@linaro.org> X-Gm-Message-State: ALoCoQnvbYKD+MFITpK6OaCMUFV+A75C8xtg5FNSGSy4TQJQxEgrK0QRx30KpwUYY9xDJtVG/QAO X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The sysbus-ohci dma-address property is declared as a HEX64 property, not a TADDR, so use the correct setter for it. Signed-off-by: Peter Maydell Acked-by: Andreas Färber Tested-by: Aurelien Jarno --- hw/display/sm501.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/display/sm501.c b/hw/display/sm501.c index 6b660ac..3840bce 100644 --- a/hw/display/sm501.c +++ b/hw/display/sm501.c @@ -1430,7 +1430,7 @@ void sm501_init(MemoryRegion *address_space_mem, uint32_t base, /* bridge to usb host emulation module */ dev = qdev_create(NULL, "sysbus-ohci"); qdev_prop_set_uint32(dev, "num-ports", 2); - qdev_prop_set_taddr(dev, "dma-offset", base); + qdev_prop_set_uint64(dev, "dma-offset", base); qdev_init_nofail(dev); sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, base + MMIO_BASE_OFFSET + SM501_USB_HOST);