Received: by 2002:ac2:5042:0:0:0:0:0 with SMTP id a2csp839661lfm; Wed, 8 Jul 2020 15:47:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTyFiCYgASjlYJyW+J4lTAehPwVWH3MYsCQ3fcVEJVLHKEoXaQ+SbMSVRAciFtlexgIWMl X-Received: by 2002:a25:ae01:: with SMTP id a1mr33350250ybj.119.1594248474799; Wed, 08 Jul 2020 15:47:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594248474; cv=none; d=google.com; s=arc-20160816; b=QPZZifEBPZpvYoZE94uYub/9MJ1iceJqoZSSVfQjpzuUEVNmhtUuBMiA86ThsrUOZj mLlDuxhD9DRmIan5mSe+TNkbG4l71FdGTjYG8vBIRQsPTFuJw9zQW8UDQor7MQKtYi3m Jo0P5WJA+woeZtTWZf7HWJAEAWwXJvjSyQCa4fKR119jiqFo4aPGclF6ubmk9zC+33VC gtObEvrFh21s+pDj8LfwPNr8bAYVerGPOFBpS7z23VSfiEys37rwObmWvr7dAG/YwMUB ZVcnWz5qdE082cuC2JW+0oxBoNxFNHR1pdfinEHYvPqBq2HTAibliswgm6V+vTt5qbpR EZdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=mtczUVprBAFt+p3dq3ZRJ0AA2KMZCNJiVQBvtzc6cQ4=; b=GApVBbYNIBcXfyBvFLD0P7era/Wwct41j56SYDo+E+WFYGm4qiOiSkG3gzi0ro0anY XjWWEghnsXXIxQFhaXpW2xBqwH/atLJhu0/ESey1VgOZ8oYqrs5avYQjRLs2wA7vPUmZ bkjHwiWq+KQH/QKqupdZAHu+R77MzyXZfsc0QbosC/nm+0/rzQ0f4VcmFrgMDTKAOTW+ G+ycJwx0TN79DF8KuyO/XRTVppRaPXtNBuORGh2izILUykQpHy0RArdE3xlj0UBsCrSI /Yl8sHzrSsOQ5KMMpse+SUJb7mTUgQ2qJUSv5mNtPoQVWFdAWA129Q9cGGt8tzF+iXxW KQkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@redhat.com header.s=mimecast20190719 header.b=HygHohJr; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id z12si918066ybk.134.2020.07.08.15.47.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Jul 2020 15:47:54 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@redhat.com header.s=mimecast20190719 header.b=HygHohJr; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:36400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtIr3-0004K3-Vx for alex.bennee@linaro.org; Wed, 08 Jul 2020 18:47:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtISD-00033i-40 for qemu-arm@nongnu.org; Wed, 08 Jul 2020 18:22:13 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:51212 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jtISB-00019Q-66 for qemu-arm@nongnu.org; Wed, 08 Jul 2020 18:22:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594246930; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mtczUVprBAFt+p3dq3ZRJ0AA2KMZCNJiVQBvtzc6cQ4=; b=HygHohJr5YmbvsMAm6a1DeH1peoIUZukOOoLUIcJkow60hIUwWSGNaQ99QjOV6wMY+/MRS q6BudOOUYk/5extl6YepsuVkfMFKHWFIrI3Xr2Bk3ES8U2aUF7eR/QVanux5IFLICvJYYQ OOAdeQVURdCB3gQQI381ghgf9IXXS6o= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-135-8449C7SoMT6--ZM6vySUGQ-1; Wed, 08 Jul 2020 10:19:57 -0400 X-MC-Unique: 8449C7SoMT6--ZM6vySUGQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 65DF31800D42; Wed, 8 Jul 2020 14:19:55 +0000 (UTC) Received: from laptop.redhat.com (ovpn-113-241.ams2.redhat.com [10.36.113.241]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9F3185BAC3; Wed, 8 Jul 2020 14:19:52 +0000 (UTC) From: Eric Auger To: eric.auger.pro@gmail.com, eric.auger@redhat.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, peter.maydell@linaro.org, peterx@redhat.com Subject: [PATCH v3 08/11] hw/arm/smmuv3: Fix IIDR offset Date: Wed, 8 Jul 2020 16:18:53 +0200 Message-Id: <20200708141856.15776-9-eric.auger@redhat.com> In-Reply-To: <20200708141856.15776-1-eric.auger@redhat.com> References: <20200708141856.15776-1-eric.auger@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=eric.auger@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=207.211.31.81; envelope-from=eric.auger@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/07 17:25:09 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jean-philippe@linaro.org, robh@kernel.org, robin.murphy@arm.com, mst@redhat.com, zhangfei.gao@foxmail.com, shameerali.kolothum.thodi@huawei.com, will@kernel.org Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: MmFGkz3WLtNp The SMMU IIDR register is at 0x018 offset. Signed-off-by: Eric Auger Fixes: 10a83cb9887 ("hw/arm/smmuv3: Skeleton") --- hw/arm/smmuv3-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/smmuv3-internal.h b/hw/arm/smmuv3-internal.h index 5babf72f7d..ef093eaff5 100644 --- a/hw/arm/smmuv3-internal.h +++ b/hw/arm/smmuv3-internal.h @@ -63,7 +63,7 @@ REG32(IDR5, 0x14) #define SMMU_IDR5_OAS 4 -REG32(IIDR, 0x1c) +REG32(IIDR, 0x18) REG32(CR0, 0x20) FIELD(CR0, SMMU_ENABLE, 0, 1) FIELD(CR0, EVENTQEN, 2, 1) -- 2.21.3