From patchwork Tue Aug 14 12:42:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 144159 Delivered-To: patches@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4310503ljj; Tue, 14 Aug 2018 05:43:01 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwGMz0shEIEq5ZsaQy3ERT1SMLbdlzpgwX8ewrfAe2PPhaelPHGtMcZC2NoC4qGlhZfIxvF X-Received: by 2002:a2e:8147:: with SMTP id t7-v6mr2502317ljg.32.1534250581545; Tue, 14 Aug 2018 05:43:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534250581; cv=none; d=google.com; s=arc-20160816; b=M9GCCoYHQFjABIAQl+FAb7st5oIHDENJKHq7f/fjLViUTxCEkJiXAPlvPxVzAzs6Lk 1V1Rxe9Y04gkMJ3yHDLhJ1yE93UzOq9ffwzeB5LtPEDfEc8m3VDZVC4X0fqFh2XJYt0+ WFuQBE/gpOmU28sVP6U3kS7URnZr2LMMKKYP8JCOS6YCAAO976AHVweJoAv6O+HKKthM taSjH3GAQ6+lWsniuWsGoSXxmoeClxQgHVWH1lZhTwv2ir46J7akOAHdw3zeI6Df0PUq ie3eO4+pa7NyfiHdyEFZ8wWNS7KBvWC4e74gWItijiQlwjHmScS5TrRwFYTFXblq7iqS B/sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=WrmDmfKPM75ARXoFpB2h0JErJMoheUZlZdYBz61fFQ8=; b=AysUMVm4LDwZt2vKPmLQZzHGO+EXPbXSHm1/4daIXfUolRobJpgKvUpBVBiurmEilM ZmFDYwLmPau4lo6+poa+PQFdYv2/yvFVf2DgAWcMMqmPfXKSD7/aayWH4RWC4Ygrc/xD xs/jEQZmxqoD47WLiL0EHldq4iH1dsGGT/vVhtD1LZWvwbva7oOb4eEVkt8tSJmKMDWv 6YhRWC2ADprqmf7TdWdHR9KON0pAYkvZo+MdBSFGt2qrHHMsa18RE01DnccWcC0Mne5E h9S1u0spbI47L1cG23I+QB2lF7YY7g3a52SujPxpeiaI1ms7HDFJbOv3MhLC79g6ubW6 Gkyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) smtp.mailfrom=pm215@archaic.org.uk; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by mx.google.com with ESMTPS id n71-v6si9127938lfn.205.2018.08.14.05.43.01 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Aug 2018 05:43:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) client-ip=2001:8b0:1d0::2; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) smtp.mailfrom=pm215@archaic.org.uk; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from pm215 by orth.archaic.org.uk with local (Exim 4.89) (envelope-from ) id 1fpYf6-0006nZ-64; Tue, 14 Aug 2018 13:43:00 +0100 From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: patches@linaro.org, Luc Michel , edgari@xilinx.com Subject: [PATCH 01/10] target/arm: Correct typo in HAMAIR1 regdef name Date: Tue, 14 Aug 2018 13:42:45 +0100 Message-Id: <20180814124254.5229-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180814124254.5229-1-peter.maydell@linaro.org> References: <20180814124254.5229-1-peter.maydell@linaro.org> We implement the HAMAIR1 register as RAZ/WI; we had a typo in the regdef, though, and were incorrectly naming it HMAIR1 (which is a different register which we also implement as RAZ/WI). Signed-off-by: Peter Maydell --- target/arm/helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.18.0 Reviewed-by: Edgar E. Iglesias Reviewed-By: Luc Michel diff --git a/target/arm/helper.c b/target/arm/helper.c index 8b07bf214ec..2c5e02c0b1a 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -3773,7 +3773,7 @@ static const ARMCPRegInfo el3_no_el2_cp_reginfo[] = { .opc0 = 3, .opc1 = 4, .crn = 10, .crm = 3, .opc2 = 0, .access = PL2_RW, .type = ARM_CP_CONST, .resetvalue = 0 }, - { .name = "HMAIR1", .state = ARM_CP_STATE_AA32, + { .name = "HAMAIR1", .state = ARM_CP_STATE_AA32, .opc1 = 4, .crn = 10, .crm = 3, .opc2 = 1, .access = PL2_RW, .type = ARM_CP_CONST, .resetvalue = 0 }, @@ -3925,7 +3925,7 @@ static const ARMCPRegInfo el2_cp_reginfo[] = { .access = PL2_RW, .type = ARM_CP_CONST, .resetvalue = 0 }, /* HAMAIR1 is mapped to AMAIR_EL2[63:32] */ - { .name = "HMAIR1", .state = ARM_CP_STATE_AA32, + { .name = "HAMAIR1", .state = ARM_CP_STATE_AA32, .opc1 = 4, .crn = 10, .crm = 3, .opc2 = 1, .access = PL2_RW, .type = ARM_CP_CONST, .resetvalue = 0 },