From nobody Sun May 12 06:06:11 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1597686317; cv=none; d=zohomail.com; s=zohoarc; b=gosGS7lgTUT092jsdL5Xkx032gQvDb9lPZxoSLJoDDf1JanEMrPP1hWEib51A6ymKwR3W7ay+PULHywxIKuyUjpe2mjY5FERVbiYJ9/UcKF/H9gXjdxG7a0FCmPMx04a9vxZtdVqiEN4X4cOjbpd0yMUOAWeevjw9U96FIsKkUE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597686317; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=hCmudOOZ9aY/+riJSRrIyYnafB9XQ90ekRagFJVmQlU=; b=EdC7coEwU/6e7acR8i3wOUulhsn7K3A/dE5NOIQciip7v3c7xxI3Dotf3uvjCgP2rV0J4/aW7EdDrQ+k0KZuyub61A69KrEdN0fueCPWj6y14WNrnhypIJGuIp75SKsAYSFjYcYBP6NrYEPsGeODHiv+MPMN0cRBn7gDAss3gyI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1597686317575391.0173826723627; Mon, 17 Aug 2020 10:45:17 -0700 (PDT) Received: from localhost ([::1]:57318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7fkQ-0007tL-Lb for importer@patchew.org; Mon, 17 Aug 2020 10:04:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7fhy-0003JC-TZ; Mon, 17 Aug 2020 10:01:55 -0400 Received: from mail-lf1-x141.google.com ([2a00:1450:4864:20::141]:44239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7fht-0001W7-Lj; Mon, 17 Aug 2020 10:01:54 -0400 Received: by mail-lf1-x141.google.com with SMTP id x24so8402227lfe.11; Mon, 17 Aug 2020 07:01:48 -0700 (PDT) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id q189sm5013030ljq.68.2020.08.17.07.01.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2020 07:01:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hCmudOOZ9aY/+riJSRrIyYnafB9XQ90ekRagFJVmQlU=; b=hf2yhCXzMnvAgLqxwWgyoQdxFSr7Py3jsCEWqkKTqVnoXZnMjJXne5E4r103GtTsuY +DFSQiAm5KbvivHnpYgVRwh58vNkggpc3GGjqZrqOdCzkZke8uOz/5Cx8msai8rN0moS V6jZo+9hYZOW/uIoa1ekWTnD/qj7DEKwR03q6DMijewOAu4/k7TWBx2Sa6XoLTP8Mrez EjlCAzMCetxkJXQcNX3HJiXIE+JL/yk1wl1tq8gLhXYVgnvniPKA6rQvSn1+3+2+D1S9 iNqX1VkNzJht2kHPJXCd6WgELer4VVzRoIYSZpMty3BtMFP01igNX1grsSK8lxFsfkSv qdXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hCmudOOZ9aY/+riJSRrIyYnafB9XQ90ekRagFJVmQlU=; b=kWK7Ie7AxOLaorw219i0mtrjAyy4eBWWkjo/xxQ+g/kn5dYTPQGHIiyBzpNAcdUbs/ rfH3Nj8ISmk+vc8wEw1TFXrQ1zNOtclmdpBb+NYVFLOWBc1W9CJ44yl4P+xRZ0DHsbLf 5tIJ+eubk0Vf7cnvjLkd7EaHVgyMBnneXYGcmXJkwBoXNdATTeMcEqJabVzvpf4nH3l5 UpN7avfLtVG2fuat0jeCgKTpF03JK+CrwqkfZY0LDtvDcQnlYXUzFfbyJ8OtE9J+xnkg NCiB4jhH4qOfIkzl/7J7zvjFDdVS6vldBYhFJOC26vO8H1ppgGlbwVUAG9gl/qkQhUu6 rHRg== X-Gm-Message-State: AOAM532SKRtBR41mHOaVjJG99EkEIniuThI3YDWDDX8kKrBIksFowlTJ kr8NqQtE0d2buq25qu3RDbshJaEjkfr6IG58 X-Google-Smtp-Source: ABdhPJxoxwvUMAXqMz5OdfMeYlbDMbtYIjn2xZ33uaN/rkhpAftw7FvIZFUbjFSMDC+3PeWHqjUj6A== X-Received: by 2002:a19:414b:: with SMTP id o72mr7588320lfa.86.1597672907372; Mon, 17 Aug 2020 07:01:47 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Subject: [PATCH v1 1/5] target/microblaze: mbar: Transfer dc->rd to mbar_imm Date: Mon, 17 Aug 2020 16:01:40 +0200 Message-Id: <20200817140144.373403-2-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200817140144.373403-1-edgar.iglesias@gmail.com> References: <20200817140144.373403-1-edgar.iglesias@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::141; envelope-from=edgar.iglesias@gmail.com; helo=mail-lf1-x141.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FSL_HELO_FAKE=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: figlesia@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, edgar.iglesias@xilinx.com, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, richard.henderson@linaro.org, frederic.konrad@adacore.com, qemu-arm@nongnu.org, philmd@redhat.com, luc.michel@greensocs.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: "Edgar E. Iglesias" Transfer dc->rd to mbar_imm to improve the readability when comparing to the specs. No functional change. Signed-off-by: Edgar E. Iglesias Reviewed-by: Alistair Francis Reviewed-by: Richard Henderson --- target/microblaze/translate.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index f6ff2591c3..47637f152b 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -1229,8 +1229,10 @@ static void dec_br(DisasContext *dc) /* Memory barrier. */ mbar =3D (dc->ir >> 16) & 31; if (mbar =3D=3D 2 && dc->imm =3D=3D 4) { + uint16_t mbar_imm =3D dc->rd; + /* mbar IMM & 16 decodes to sleep. */ - if (dc->rd & 16) { + if (mbar_imm & 16) { TCGv_i32 tmp_hlt =3D tcg_const_i32(EXCP_HLT); TCGv_i32 tmp_1 =3D tcg_const_i32(1); =20 @@ -1246,7 +1248,7 @@ static void dec_br(DisasContext *dc) tcg_temp_free_i32(tmp_1); return; } - LOG_DIS("mbar %d\n", dc->rd); + LOG_DIS("mbar %d\n", mbar_imm); /* Break the TB. */ dc->cpustate_changed =3D 1; return; --=20 2.25.1 From nobody Sun May 12 06:06:11 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1597682832; cv=none; d=zohomail.com; s=zohoarc; b=kcavNhKdlZIMPj4tzUP+yKKlJ35t1xKiVCwejtfF1k3nwExBPgG4bOlHApzsBjU0IO6I1gOxxVzlxRNrPeI2p3kHB5XWhs8dp/SdPwfpOzpnSp9EqyyqQMhA5LeQbGWf5aRmNF2TkG714nzv7V19xS3pqPAiVNI+H6eYcUIAb8M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597682832; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=YijezSjj37b3KI8DzXtGc07DWsdbUe75Toiwcts1NQA=; b=AwcONaJkJEZUAaoDrE5YueKaIGBnIVgDzDNzDW76hFeBt17irExuXIyhn1NZjQBf1RNNd5mzTNNoCN/2ZHdUbwsg3vuTtlallRB6lP0kmSxTAUkeZJNfhxTrDKLZaFCcgm+wX26qp2ViFM6VzjK4gmS/Dd8YKekQPqedzE1jiWY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1597682832759662.0699717391469; Mon, 17 Aug 2020 09:47:12 -0700 (PDT) Received: from localhost ([::1]:50138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7fjK-00051M-64 for importer@patchew.org; Mon, 17 Aug 2020 10:03:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7fhx-0003Hv-J8; Mon, 17 Aug 2020 10:01:53 -0400 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]:35510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7fhv-0001We-0L; Mon, 17 Aug 2020 10:01:53 -0400 Received: by mail-lj1-x242.google.com with SMTP id i10so17606858ljn.2; Mon, 17 Aug 2020 07:01:50 -0700 (PDT) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id b16sm5063513ljk.24.2020.08.17.07.01.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2020 07:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YijezSjj37b3KI8DzXtGc07DWsdbUe75Toiwcts1NQA=; b=YF/rUwhGmFUPujnQ7vq2K4GiXayIL+d1C3l7mjkgDdTVho3yD9xIOoiz5U8AM8aqPF 8iWs1m2cK79vVFH+b9yDbmxCRxGBNtcQM8bjztfAKnfnAARhK/3Dzt+vF1d81V2+1gBu P00+ciwOq2zFSFEFVtLccCBpq4eB62qgLDd1BuRVLwLDXjqS4t4OXZvlKAzaOqG3grNO P5mTWOkKvenav7Dkr5p7waOvbjd6CKzY9ocK0NQ5Z1vJRWhI0nZSlmDNPUmZ4znDF+iR UOJaoFql9QYDiwgXznV0bU7QW+iVHUA9x5mIP6sv/FLKcxBCuIlwos6QVUwn9TTvRul4 xIkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YijezSjj37b3KI8DzXtGc07DWsdbUe75Toiwcts1NQA=; b=E4G4YHseFqpSG/XoGxzrE7FM+H6RxN8exKWlrXhRKGfGY60GAyEWxztE0dEy7ev0Ds rGmvWwDA07TdR/SMCSlSavyrPWETu4rmkCaSHuG9uz5WU49ptJTXdpdhaz3OMoI4Ptff CLwad5XCrX+gjkHoTvoEYyRHufZcMsL3XdeVt5bvrTv3nyPl0VDp+y+GbZFDgWCuyg43 z+uZX8cao8MhtcT0ETWIJ0JrCmnmdMn3qdkWXPWaMIBLRcIvCYzRuJIiqV2zf+mQVj0/ q7vzfhl31X/w+xosE7W4n7QkJcTp52g+SiAeTx8ulhk+2oClIzN7y0UhtTm0+p+mZwu6 sN9g== X-Gm-Message-State: AOAM5338rwBDlZkwNz93lgHkEZ4nf1rZM1eUWhK71HDgNGdZLYAyxv2q REEoV5F6L3e4ejWnHOKWYv54V3rXidb8cWi6 X-Google-Smtp-Source: ABdhPJzdYWfSc11z4Ar/F9bT0efMtFUq66I4lQZbOv2CKizNS/WvgzZNAb5IpbihimdKGSiVtTKMug== X-Received: by 2002:a05:651c:110:: with SMTP id a16mr7987230ljb.152.1597672908652; Mon, 17 Aug 2020 07:01:48 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Subject: [PATCH v1 2/5] target/microblaze: mbar: Move LOG_DIS to before sleep Date: Mon, 17 Aug 2020 16:01:41 +0200 Message-Id: <20200817140144.373403-3-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200817140144.373403-1-edgar.iglesias@gmail.com> References: <20200817140144.373403-1-edgar.iglesias@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::242; envelope-from=edgar.iglesias@gmail.com; helo=mail-lj1-x242.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FSL_HELO_FAKE=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: figlesia@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, edgar.iglesias@xilinx.com, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, richard.henderson@linaro.org, frederic.konrad@adacore.com, qemu-arm@nongnu.org, philmd@redhat.com, luc.michel@greensocs.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: "Edgar E. Iglesias" Move LOG_DIS log to before sleeping handling so that it logs for sleep instructions aswell. Signed-off-by: Edgar E. Iglesias Reviewed-by: Alistair Francis Reviewed-by: Richard Henderson --- target/microblaze/translate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index 47637f152b..c1be76d4c8 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -1231,6 +1231,8 @@ static void dec_br(DisasContext *dc) if (mbar =3D=3D 2 && dc->imm =3D=3D 4) { uint16_t mbar_imm =3D dc->rd; =20 + LOG_DIS("mbar %d\n", mbar_imm); + /* mbar IMM & 16 decodes to sleep. */ if (mbar_imm & 16) { TCGv_i32 tmp_hlt =3D tcg_const_i32(EXCP_HLT); @@ -1248,7 +1250,6 @@ static void dec_br(DisasContext *dc) tcg_temp_free_i32(tmp_1); return; } - LOG_DIS("mbar %d\n", mbar_imm); /* Break the TB. */ dc->cpustate_changed =3D 1; return; --=20 2.25.1 From nobody Sun May 12 06:06:11 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1597687053; cv=none; d=zohomail.com; s=zohoarc; b=OqvYyRBBmzikTPyfl9woSlFqQAAwSO5GJyLWRkS31pd4FAg+s+VZeSWUxzAAYB3PRIYltOLIW9yYXtE0kOvC5BQOwxPGWBpjwe9WVa7LHoOZEmaSYWRcSIb3uVG2Fk6aAMgGujTMdl37+UEr61GLprEuHhVyAOlkTQ5dYsI+DV0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597687053; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=BfvYle3AyXZXtRgGPAz105k3QnmpEvKZtYecnlYInTY=; b=hyKUI+4FM225Ug9kuerYbLjxQzQhRPzRi/bsGeoddIJi0Q0uXc6YmC9C3PON4rAbTMsCuCs8+mMJhw1d1sDjwlAvocu2kI+VU+pNOX+BmJPv5bbhRKJDyHFNR5JpdKwuDwRZ1CAyaTRa0YqwOEKJxHUlzfa3ysaM3Nx9G/oGSKs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1597687053680348.9272341214636; Mon, 17 Aug 2020 10:57:33 -0700 (PDT) Received: from localhost ([::1]:51006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7fjS-0005MV-1w for importer@patchew.org; Mon, 17 Aug 2020 10:03:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7fhz-0003K3-Nk; Mon, 17 Aug 2020 10:01:56 -0400 Received: from mail-lj1-x244.google.com ([2a00:1450:4864:20::244]:38216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7fhw-0001XC-LX; Mon, 17 Aug 2020 10:01:55 -0400 Received: by mail-lj1-x244.google.com with SMTP id m22so17575665ljj.5; Mon, 17 Aug 2020 07:01:51 -0700 (PDT) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id 29sm5111941ljv.72.2020.08.17.07.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2020 07:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BfvYle3AyXZXtRgGPAz105k3QnmpEvKZtYecnlYInTY=; b=RhTy0gqh9Yly0157weuxmBvUxq8VjOW1EFeb1iJeIftEi/dL1SVY4JGprwb8u10vSK AwupqxcTryarWb8I3k1FoDrODibDX42iZknZe0SbL1mk+9eotvQIwQzAIGkViPlQ2y9y Qv4DLyKz4FoJB84Qt3xCgibLN07k3KiOhF37VQCOoXb/7HAb6P2Ge3DzrvDs48yzk/WL lIdqHsusRR3RgUNed5L4MuoAcZoxM8BpqUvwKCXnZecV6obu3u+DTU6cQxReYbVKfqx5 KYJYFTn3agn1coFOTEzy3Kc9lemr/OPwv45tT6JTJA8jHz+MgKz/f7GTDrV+mQ1TgXN1 NKNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BfvYle3AyXZXtRgGPAz105k3QnmpEvKZtYecnlYInTY=; b=KCHz2As0ABMph1aPgz1zj8EuJG9dF7zjxzfvflmLbvQeaur3dn3GcwNwp8AoLlh/Vw z6CXR27R8/YQ+PnGOiQ/kYjhoNFB87QMfY8SfgPuRCP0Vh2++zO/Gyag1uQJSTfI/JTH oRVcMKRXrKClQ8wydqzY552xzNk2LjzyA7pzD5q8cwxPxlaZpP8b4fcUc2EwBaFZET7x I0EMgf+slSJlKpdfw+4dOs3cjFfqZHDDmE1wTqLEMB+oHZxc9GNPF5BpMEQ6zVgYWi5X lB/T/TcoMlXHrNL3xXhyJ84b/biawxKN7nVm5rGDrLySGcDAOBZrMqzDMevom++WwdUi KssQ== X-Gm-Message-State: AOAM532KzaRTa5qelxjIpzr7GxG9yfdwdwxdE+ocKbWPnVRboYvR6eYZ KXFiz1SWg0Gb/idoXFC7zVcsaFjAfmWopkwx X-Google-Smtp-Source: ABdhPJzMvQzyBO7QqU37PJDf0WR3Xmr8FnD78Al4zAgaPcQx/SWS/a66sBBPHq8CxWEeImqvdMgJMg== X-Received: by 2002:a2e:8e70:: with SMTP id t16mr7975048ljk.81.1597672910407; Mon, 17 Aug 2020 07:01:50 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Subject: [PATCH v1 3/5] target/microblaze: mbar: Add support for data-access barriers Date: Mon, 17 Aug 2020 16:01:42 +0200 Message-Id: <20200817140144.373403-4-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200817140144.373403-1-edgar.iglesias@gmail.com> References: <20200817140144.373403-1-edgar.iglesias@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::244; envelope-from=edgar.iglesias@gmail.com; helo=mail-lj1-x244.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FSL_HELO_FAKE=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: figlesia@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, edgar.iglesias@xilinx.com, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, richard.henderson@linaro.org, frederic.konrad@adacore.com, qemu-arm@nongnu.org, philmd@redhat.com, luc.michel@greensocs.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: "Edgar E. Iglesias" Add support for data-access barriers. Signed-off-by: Edgar E. Iglesias Reviewed-by: Alistair Francis Reviewed-by: Richard Henderson --- target/microblaze/translate.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index c1be76d4c8..c58f334a0f 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -1233,6 +1233,11 @@ static void dec_br(DisasContext *dc) =20 LOG_DIS("mbar %d\n", mbar_imm); =20 + /* Data access memory barrier. */ + if ((mbar_imm & 2) =3D=3D 0) { + tcg_gen_mb(TCG_BAR_SC | TCG_MO_ALL); + } + /* mbar IMM & 16 decodes to sleep. */ if (mbar_imm & 16) { TCGv_i32 tmp_hlt =3D tcg_const_i32(EXCP_HLT); --=20 2.25.1 From nobody Sun May 12 06:06:11 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1597686747; cv=none; d=zohomail.com; s=zohoarc; b=UaTqX/9Dv6gwSb9RHPUSkz9rCueHlf/ZrHVBKpkVe6IvCJiZl9nhrRUFg967V7rVOdY68slU1vgVV++X049jLpInPMF6VW0OQHKCH4o0ck/tVK2gPXJoX1q1t6V006O8e+dDpf3KgnALBvXzFTA9VPLi2mJnSBXjBh1n0nKBNVo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597686747; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=gRwNidHb/xzDXEvtr3z3PMKv/URa1A0x7rFiibmqh6s=; b=WFLT5AtrFXl7RfnK+nqBjXai0iSA6XtiWkwHj7rlEFHEEDIwZ8iOTAUUlx4u9rg4Qo6wdQfAwOzc4pDHppjaX8dZtKmpMdNknThv9gjBi5jcQkOaZU3bb43B95d8wijDRDV3Bz890z57wU/NeZEYHGJSU0CRDHfv3CEgUA3cvTU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1597686747565985.8709580610754; Mon, 17 Aug 2020 10:52:27 -0700 (PDT) Received: from localhost ([::1]:57920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7fkh-00089W-92 for importer@patchew.org; Mon, 17 Aug 2020 10:04:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7fi1-0003LT-5s; Mon, 17 Aug 2020 10:01:57 -0400 Received: from mail-lf1-x143.google.com ([2a00:1450:4864:20::143]:44241) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7fhy-0001Xe-Vx; Mon, 17 Aug 2020 10:01:56 -0400 Received: by mail-lf1-x143.google.com with SMTP id x24so8402389lfe.11; Mon, 17 Aug 2020 07:01:54 -0700 (PDT) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id c4sm5040593ljk.70.2020.08.17.07.01.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2020 07:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gRwNidHb/xzDXEvtr3z3PMKv/URa1A0x7rFiibmqh6s=; b=snY6vt1CXWl9LUwqROGVCqaHldkYLhrO/SVpV3q/z4WM0N2XlnhMRL/SzOG9DSPrRc FDoe2FwWKc8XpOmnxFcXytqiQJga++uIwM83vpwTTTBFwEaFcxzkO3M0JXuQxzXasX7V z/z1+M5o87cjnkHmXK3ClPxprKJRxTn3ODdXW4Z6myOd8anyX7wyGARXnPCffLYvKDOe W2rFyG5Hfklphw63swW1CXstQNuGF0qjnH1rA4CFfn8BZyh8fFqConQC27VvBUPhzq5H b4NpfGQNLSWsyJvKmxBOmTyldw17qYRa5y9XBJ4Xugfb9uZkUIzYTcRzVlZxHFTCdGUT bfWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gRwNidHb/xzDXEvtr3z3PMKv/URa1A0x7rFiibmqh6s=; b=XLUqk/BgijLTKv70Pv72hXZriobZPAhFwBtAovU9gYj8np53x9GYIbR8b40LjfvztY 7Hf0KvPzWDr8HPD+uT7N4fMYxU74XuMisMG4kc9oRpYyH6tp4OEuInL/bSw4lY9yEVt5 hElaPAxoeG9NBJjFw/zVcTioPjwQFccA6jBIslBI7VvDqQxL4a1Q0UprBFFwtdgfmpNa IAEdj0/uFEIFpcC2RC2xyYoOsCIzkDSqfkEsWmuiH7WEkhDY7NdjxI9QFcksR81eSVH6 +gYlmJHou959RQF47c3RSNKEbCy0+CS4UKkPkQGgK863BiGdGWAGjQEZlCt8+mtqP04W sU3g== X-Gm-Message-State: AOAM531DJzqoSNZh+V48pdkdWKMDExifHoEuWauuk8LHdS0NQLuRiSDR utm7tPwUSEQblJYi8rOhd+fkFF+6zTtxweQf X-Google-Smtp-Source: ABdhPJzJkRodM4UO4geVDmC1nu9978k3vs7vvm1TKrYnC02NfGsRg/jpRFt0W3g8M97xR4h5hAd9Zg== X-Received: by 2002:a19:cb51:: with SMTP id b78mr7459536lfg.130.1597672912623; Mon, 17 Aug 2020 07:01:52 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Subject: [PATCH v1 4/5] target/microblaze: swx: Use atomic_cmpxchg Date: Mon, 17 Aug 2020 16:01:43 +0200 Message-Id: <20200817140144.373403-5-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200817140144.373403-1-edgar.iglesias@gmail.com> References: <20200817140144.373403-1-edgar.iglesias@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::143; envelope-from=edgar.iglesias@gmail.com; helo=mail-lf1-x143.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FSL_HELO_FAKE=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: figlesia@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, edgar.iglesias@xilinx.com, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, richard.henderson@linaro.org, frederic.konrad@adacore.com, qemu-arm@nongnu.org, philmd@redhat.com, luc.michel@greensocs.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: "Edgar E. Iglesias" Use atomic_cmpxchg to implement the atomic cmpxchg sequence. Signed-off-by: Edgar E. Iglesias Reviewed-by: Alistair Francis Reviewed-by: Richard Henderson --- target/microblaze/translate.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index c58f334a0f..530c15e5ad 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -1075,14 +1075,16 @@ static void dec_store(DisasContext *dc) swx_skip =3D gen_new_label(); tcg_gen_brcond_tl(TCG_COND_NE, env_res_addr, addr, swx_skip); =20 - /* Compare the value loaded at lwx with current contents of - the reserved location. - FIXME: This only works for system emulation where we can expect - this compare and the following write to be atomic. For user - emulation we need to add atomicity between threads. */ + /* + * Compare the value loaded at lwx with current contents of + * the reserved location. + */ tval =3D tcg_temp_new_i32(); - tcg_gen_qemu_ld_i32(tval, addr, cpu_mmu_index(&dc->cpu->env, false= ), - MO_TEUL); + + tcg_gen_atomic_cmpxchg_i32(tval, addr, env_res_val, + cpu_R[dc->rd], mem_index, + mop); + tcg_gen_brcond_i32(TCG_COND_NE, env_res_val, tval, swx_skip); write_carryi(dc, 0); tcg_temp_free_i32(tval); @@ -1108,7 +1110,10 @@ static void dec_store(DisasContext *dc) break; } } - tcg_gen_qemu_st_i32(cpu_R[dc->rd], addr, mem_index, mop); + + if (!ex) { + tcg_gen_qemu_st_i32(cpu_R[dc->rd], addr, mem_index, mop); + } =20 /* Verify alignment if needed. */ if (dc->cpu->cfg.unaligned_exceptions && size > 1) { --=20 2.25.1 From nobody Sun May 12 06:06:11 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1597684903; cv=none; d=zohomail.com; s=zohoarc; b=HC9HlSEZ+I1V6HVDaEr+ryodDsqwTuFZgcP7aNKRQEK1YunMrCRyED0Kxk9v8b7+hyeBF2V2K9/UsVzk/RGxJ1XwY7d30o4U6aJBCpAiPI1LpL3So0O+3NZ/w85R7w1yZOIlrxSgWgNt1JAe6x4RXvolCkNwXRbv1uNXdbXq4z8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597684903; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=SlT2ICdzLrnaoALHk1KYrs2UvgiIgkYCqrO895ftDGQ=; b=lfdWfzedKVXgsjVHzfn8yOW0HARYtAHdzR4INmdqo41pr8yAPzCtaOj4XNQZg5AFLTmzADnAp5FXckq0h2dKUIRsymK/bR7J+0XISaKnKnXUSdFGNwZqo9xuHeDaM4JN19z6B5weSXAJs+CDm9hm2HoJsU368x90m7HUS9NFoDE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1597684903021116.9100530475738; Mon, 17 Aug 2020 10:21:43 -0700 (PDT) Received: from localhost ([::1]:51196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7fjT-0005R7-2K for importer@patchew.org; Mon, 17 Aug 2020 10:03:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7fi2-0003Ow-OC; Mon, 17 Aug 2020 10:01:58 -0400 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]:42834) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7fi1-0001Xy-89; Mon, 17 Aug 2020 10:01:58 -0400 Received: by mail-lj1-x243.google.com with SMTP id t6so17571688ljk.9; Mon, 17 Aug 2020 07:01:55 -0700 (PDT) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id l10sm3436818ljc.65.2020.08.17.07.01.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2020 07:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SlT2ICdzLrnaoALHk1KYrs2UvgiIgkYCqrO895ftDGQ=; b=uL7L7IHmKI2vdrlwkf6ZEfDat3isSF6s8qGdY5mmXT4Rn3KbtB0iBMhiupIoALLebo Bm3olxEPYFIvO9BHDQE4zx3reswsX2luEZfDp1GNRWfBHc3S1uQwAWVA30NkDQgD6goT Hl/4Opv0mPmhgN1nSfpOFe3XbEIFV7asG1fAp+6Mx7H7oSBvop0N2hM9IMiEYNKvGL1c xqhJvQhr5oZXVpSfIqJRNhpMRNBlTaf5hB9ThYO7sDfoSQUmwwRsK6BHREAQ+BYx851V zlECUd3+spNZgTK6ZlwuEMu2WnS4dZ1ngdwKh/oqhDk3GvA8Hvt5uvl6zEnmAiUlyNkq ylcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SlT2ICdzLrnaoALHk1KYrs2UvgiIgkYCqrO895ftDGQ=; b=RcIMLf2hLRb3ijqVjz8lpPZ20vxbUUAuvZnasplZ7XdI5nz6md2GM+wvU1r3l+/eIG 6j3mwNShMBlgzSoHtm3cm67qDIhJ6LEe5AzrONfrOsFR6NZussO/qlBEfsOabLSohaDG 04RfArP2/BmQ4tNZ9FEocyY6ARgV0rs/glM2+gUzMDRCEFDl6lH1JOe+EOLPwhwi32v0 4tdoYUNsxBefjTMDJzyoLy9Ny6hqwid5bw+3Fe1AcGP3etEd44rVu5bnsaA7/ZchILID 0eI+mbsJtfBjs0P+D2qVsWpIa2y/SvTcYPQulVtW3Fxj+ZQgMcKVlIb2nxNiN03IZwhw y6fQ== X-Gm-Message-State: AOAM531y9ph2VLJ5YCro0ZC02/gTYlwhmB1tIpyRadCg7bc62w5YLEs+ eqo9XtmDNzgSNBZIGsk2gJHH6GkH7/xqp/bh X-Google-Smtp-Source: ABdhPJx5uGT4GruugLwOOG23iNxicSNakj2yRZD4C3e0ZLWc5h29Oeukmbrn5xlTYp5iimHQKuPBBQ== X-Received: by 2002:a2e:85a:: with SMTP id g26mr7652335ljd.319.1597672913915; Mon, 17 Aug 2020 07:01:53 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Subject: [PATCH v1 5/5] configure: microblaze: Enable mttcg Date: Mon, 17 Aug 2020 16:01:44 +0200 Message-Id: <20200817140144.373403-6-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200817140144.373403-1-edgar.iglesias@gmail.com> References: <20200817140144.373403-1-edgar.iglesias@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::243; envelope-from=edgar.iglesias@gmail.com; helo=mail-lj1-x243.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FSL_HELO_FAKE=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: figlesia@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, edgar.iglesias@xilinx.com, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, richard.henderson@linaro.org, frederic.konrad@adacore.com, qemu-arm@nongnu.org, philmd@redhat.com, luc.michel@greensocs.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias Reviewed-by: Alistair Francis --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 2acc4d1465..2f7adaa6ae 100755 --- a/configure +++ b/configure @@ -8162,6 +8162,7 @@ case "$target_name" in microblaze|microblazeel) TARGET_ARCH=3Dmicroblaze TARGET_SYSTBL_ABI=3Dcommon + mttcg=3D"yes" bflt=3D"yes" echo "TARGET_ABI32=3Dy" >> $config_target_mak ;; --=20 2.25.1