From nobody Sat Nov 23 23:00:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1730811925052196.67854610942288; Tue, 5 Nov 2024 05:05:25 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 096BF11F1; Tue, 5 Nov 2024 08:05:24 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 065D51122; Tue, 5 Nov 2024 08:05:05 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 197A7E96; Tue, 5 Nov 2024 08:05:00 -0500 (EST) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 16DC511A7 for ; Tue, 5 Nov 2024 08:04:50 -0500 (EST) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-37d50fad249so3971345f8f.1 for ; Tue, 05 Nov 2024 05:04:49 -0800 (PST) Received: from localhost.localdomain (86.red-88-29-160.dynamicip.rima-tde.net. [88.29.160.86]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381c116ac7dsm16160227f8f.105.2024.11.05.05.04.45 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 05 Nov 2024 05:04:48 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730811889; x=1731416689; darn=lists.libvirt.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Eawrki87ewjyeRlcMvMb8c/enE33+lgoSeTt32ZNL40=; b=pJj5XaioaLeNibJZ1OGKqO9APRfttG9tAoJeJLWL3T/xTsJcagZokY8RV7xYoiN7m2 4SYK9eI9NuPZYk5L8GuXhe9BXXHWkx0kXvUOnmXrCA0Sty5cpctQ86+cGXdU80MmXKst VFMP/qXidh2qjOHJkjncUzbA5toA20o2iHmShsfkQPqFRaQX/kn7vjal7mz/n6Qs5T+6 FNrFWgGzwWCi2JHhF5rgcd8hyE+VbIqoTNK1GZzI/Fu609UA1UEv3t+/CAqPVaEoXb57 y58uipiIS5GWKI2i8V6wEBYV5yleadQtuAGj9Z6P3krs0aPr2fPgT3MDg4cyzDpCmGlB dAcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730811889; x=1731416689; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Eawrki87ewjyeRlcMvMb8c/enE33+lgoSeTt32ZNL40=; b=CMlBoqLsLOuX7jpyABOnoGHAIuh+58+BLwBvojJBl7NBX6Qbl4TSrU/xo3TGxjM0t5 Nrcnn7YLkXjkQj7hT8A25p41WyNr6sgE/h2BMtz1EnGdfteFdq5nRs8sNUNDt7wQoWav +268va4TmnlTH7JdEm8Yqnh3uNZq1LCpyTfJwHfpKyZ/padEEVWMOGnGIAQ1JwRdwZEY oIkD3IxwZ2TJeBjmBGagjckn8nttuB8SbkVm9yR813QO9l7tFlBVWhtdL5Su1+kXApCP 8+MiLqNwQ6bdBQTIty2Ffwkqc3sQMiPJg/vbCPdh2TjoOBkIdJJ0IDwBCCktYfy3AdYe hzxw== X-Forwarded-Encrypted: i=1; AJvYcCU5V3cu95c5gVkTRmkKcSvNWKQmYSwjzY8dek34NkVZXcccODMzA3YcFfMNSp95TYeNMmxxmg==@lists.libvirt.org X-Gm-Message-State: AOJu0YzklELesVM7ni6QauLmNKUjpdHoSzeSFC5ZEZipgz6dSjKUKNKq KSJZIzW5Vy/TM1k42EWeV6dKUo2d2rXzjh7YP91CEe+UxXjrBFPpDAouHMOon1I= X-Google-Smtp-Source: AGHT+IFA89KjLx4zmk5aKeXaQtH/0tB7DdO7ewLtxTyKzDyQukZG30AEKFNGGTm3yWZIfO852UxOdw== X-Received: by 2002:a05:6000:1868:b0:381:d014:9be0 with SMTP id ffacd0b85a97d-381d0149ed0mr8845872f8f.17.1730811888759; Tue, 05 Nov 2024 05:04:48 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Anton Johansson Subject: [PATCH 01/19] target/microblaze: Rename CPU endianness property as 'little-endian' Date: Tue, 5 Nov 2024 14:04:13 +0100 Message-ID: <20241105130431.22564-2-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241105130431.22564-1-philmd@linaro.org> References: <20241105130431.22564-1-philmd@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: QW44EO6SN6VQ2LQ2HUZWFZLZNTVNNDJD X-Message-ID-Hash: QW44EO6SN6VQ2LQ2HUZWFZLZNTVNNDJD X-MailFrom: philmd@linaro.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0 CC: "Edgar E. Iglesias" , Peter Maydell , Alistair Francis , Thomas Huth , qemu-arm@nongnu.org, devel@lists.libvirt.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Paolo Bonzini , Jason Wang , Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1730811925570116600 Content-Type: text/plain; charset="utf-8" Rename the 'endian' property as 'little-endian' because the 'ENDI' bit is set when the endianness is in little order, and unset in big order. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alistair Francis Reviewed-by: Anton Johansson Reviewed-by: Edgar E. Iglesias --- hw/microblaze/petalogix_ml605_mmu.c | 2 +- hw/microblaze/xlnx-zynqmp-pmu.c | 2 +- target/microblaze/cpu.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/microblaze/petalogix_ml605_mmu.c b/hw/microblaze/petalogix_= ml605_mmu.c index b4183c5267d..df808ac323e 100644 --- a/hw/microblaze/petalogix_ml605_mmu.c +++ b/hw/microblaze/petalogix_ml605_mmu.c @@ -90,7 +90,7 @@ petalogix_ml605_init(MachineState *machine) object_property_set_int(OBJECT(cpu), "use-fpu", 1, &error_abort); object_property_set_bool(OBJECT(cpu), "dcache-writeback", true, &error_abort); - object_property_set_bool(OBJECT(cpu), "endianness", true, &error_abort= ); + object_property_set_bool(OBJECT(cpu), "little-endian", true, &error_ab= ort); qdev_realize(DEVICE(cpu), NULL, &error_abort); =20 /* Attach emulated BRAM through the LMB. */ diff --git a/hw/microblaze/xlnx-zynqmp-pmu.c b/hw/microblaze/xlnx-zynqmp-pm= u.c index 1bfc9641d29..43608c2dca4 100644 --- a/hw/microblaze/xlnx-zynqmp-pmu.c +++ b/hw/microblaze/xlnx-zynqmp-pmu.c @@ -90,7 +90,7 @@ static void xlnx_zynqmp_pmu_soc_realize(DeviceState *dev,= Error **errp) object_property_set_bool(OBJECT(&s->cpu), "use-pcmp-instr", true, &error_abort); object_property_set_bool(OBJECT(&s->cpu), "use-mmu", false, &error_abo= rt); - object_property_set_bool(OBJECT(&s->cpu), "endianness", true, + object_property_set_bool(OBJECT(&s->cpu), "little-endian", true, &error_abort); object_property_set_str(OBJECT(&s->cpu), "version", "8.40.b", &error_abort); diff --git a/target/microblaze/cpu.c b/target/microblaze/cpu.c index 135947ee800..e9f98806274 100644 --- a/target/microblaze/cpu.c +++ b/target/microblaze/cpu.c @@ -368,7 +368,7 @@ static Property mb_properties[] =3D { DEFINE_PROP_UINT8("use-non-secure", MicroBlazeCPU, cfg.use_non_secure,= 0), DEFINE_PROP_BOOL("dcache-writeback", MicroBlazeCPU, cfg.dcache_writeba= ck, false), - DEFINE_PROP_BOOL("endianness", MicroBlazeCPU, cfg.endi, false), + DEFINE_PROP_BOOL("little-endian", MicroBlazeCPU, cfg.endi, false), /* Enables bus exceptions on failed data accesses (load/stores). */ DEFINE_PROP_BOOL("dopb-bus-exception", MicroBlazeCPU, cfg.dopb_bus_exception, false), --=20 2.45.2