From nobody Fri Oct 24 20:18:50 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of _spf.google.com designates 209.85.216.193 as permitted sender) client-ip=209.85.216.193; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-qt0-f193.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of _spf.google.com designates 209.85.216.193 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-qt0-f193.google.com (mail-qt0-f193.google.com [209.85.216.193]) by mx.zohomail.com with SMTPS id 151866899264847.61909927029171; Wed, 14 Feb 2018 20:29:52 -0800 (PST) Received: by mail-qt0-f193.google.com with SMTP id x27so10462725qtm.12 for ; Wed, 14 Feb 2018 20:29:52 -0800 (PST) Return-Path: Return-Path: Received: from x1.local ([138.117.48.219]) by smtp.gmail.com with ESMTPSA id t33sm10680312qtc.14.2018.02.14.20.29.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Feb 2018 20:29:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nxoO8yEtmncBwEKg3LwRif4NbaNfXnPnBGBIGHUayqA=; b=WFCsvGwbzTKgGfetJ+zThsVNcqwk/owzqtnLpy1BckE9QN74WaObpHibA1/lGgHYcq GP+M6Lfi4F79KSdi3a6VqKgvIOmiNi0kuTtj+gWNj/h/aSGREEomqLR6qFx24/XW7mRn GBSqabbZ7sl/bimniXMmcZDkjnIA787VIAt8AKEU8Z9EoZOTBxfByY5Af7y1F97FJemv Tc4Vy3JCZvu4YHQk153V2kG4AsLKhezi5xvxekdb5scX1urP7afc79/hVIqGoYFSnee6 eR0IKE0PH+xlEd2Uo464uty4w6zh6B3bydvRTdksx3m54TgwrV8vIYKNgwck86TCEbQT J6gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=nxoO8yEtmncBwEKg3LwRif4NbaNfXnPnBGBIGHUayqA=; b=QNO7LSGCyuaxRpFpWKW5JZnYScUd0YNV+pjkuL0tGqw4yroDqgSHI62yFkwmQRFbop r+vJ5vuupZ7V2RjDTb97aiuk0fpjVJN+r9xxjQtVBK1+acZuABQpEQHB5yndObN+930G JkqXEkK+10hgMWFj+Vt8STCFvNor+GfdWZt7pIFjZ8ZPGTqczUMuOt44DkqQQr/UvbQL SCkh2q//iPl1NppeYPnNghyP+J29oufINe+r5jcADazg2vsp70F7Np7UxK2A9XiJ+aag U+IROtDs1g+7ZBXkyTiNDqJNXr491daBFKXJp/p8yk7g1m4MV9BX9ErR94aojHRu5iP+ D6Cg== X-Gm-Message-State: APf1xPAttJ8bZuM/IWreBYP2lqf1nuZRq6+4muu8i32v1s8reI7SfxZZ ZryokyVNIxCt/Ovr/97YBvc= X-Google-Smtp-Source: AH8x225CKIy34fzb8QkZ5j6qj3foz6luJ8bjcUpz7ZxW89VzQf0jP5f3n6qvvJkO1UCvJ0WqdT8fow== X-Received: by 10.237.37.196 with SMTP id y4mr2377778qtc.182.1518668991843; Wed, 14 Feb 2018 20:29:51 -0800 (PST) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Max Filippov Subject: [PATCH 13/30] hw/xtensa: use the BYTE-based definitions Date: Thu, 15 Feb 2018 01:28:43 -0300 Message-Id: <20180215042900.16078-14-f4bug@amsat.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180215042900.16078-1-f4bug@amsat.org> References: <20180215042900.16078-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZohoMail: RDKM_0 RSF_0 Z_629925259 SPT_0 It ease code review, unit is explicit. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Max Filippov --- hw/xtensa/xtfpga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xtensa/xtfpga.c b/hw/xtensa/xtfpga.c index 70686a2eb1..922417af15 100644 --- a/hw/xtensa/xtfpga.c +++ b/hw/xtensa/xtfpga.c @@ -230,7 +230,7 @@ static void xtfpga_init(const XtfpgaBoardDesc *board, M= achineState *machine) const char *kernel_cmdline =3D qemu_opt_get(machine_opts, "append"); const char *dtb_filename =3D qemu_opt_get(machine_opts, "dtb"); const char *initrd_filename =3D qemu_opt_get(machine_opts, "initrd"); - const unsigned system_io_size =3D 224 * 1024 * 1024; + const unsigned system_io_size =3D 224 * M_BYTE; int n; =20 for (n =3D 0; n < smp_cpus; n++) { --=20 2.16.1