From nobody Tue Nov 18 10:38:42 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.53 as permitted sender) client-ip=209.85.128.53; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f53.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.53 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1609454966; cv=none; d=zohomail.com; s=zohoarc; b=oBBk04EbrXOhWbCFRE9NR+oTYhiBiOmUOsbNrLPbvXFEVSu3ePpbMACWUlLxubHQPSSQT8h/UKWBeYmbrAnzuSBnCnYRFHksNdqkwRFnk2PrmcHxhokS9/H7zJuoBurgUpi4RfCqOZi+xKtHqZKnC/d+DIFgpPMblAZpv1CRmlY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1609454966; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=DaTE72cdZaTjtjdnfodb65w5ACl9PUYleicR63q1RfQ=; b=k+E+0JS9iFL2o3JGrWO9XkLqFj4R9sWPi8TI1ISoDUqjv0OHJq2XZv4L/AnBwYfxwOOafIDHoOY0lJTiM6iN96oF15cEBGdfLQR8hxZb57H9EKv2+Lo6zAKlH62Cfd9m8i7t05+0rf/AyRYfvYMit1IqsWaIrFl9bzgdxP14e+Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.53 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mx.zohomail.com with SMTPS id 1609454966128146.62628806600082; Thu, 31 Dec 2020 14:49:26 -0800 (PST) Received: by mail-wm1-f53.google.com with SMTP id c124so8138129wma.5 for ; Thu, 31 Dec 2020 14:49:25 -0800 (PST) Return-Path: Return-Path: Received: from localhost.localdomain (239.red-83-42-57.dynamicip.rima-tde.net. [83.42.57.239]) by smtp.gmail.com with ESMTPSA id o8sm70616044wrm.17.2020.12.31.14.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Dec 2020 14:49:23 -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=DaTE72cdZaTjtjdnfodb65w5ACl9PUYleicR63q1RfQ=; b=I0QCXiBBrAukbla5jow0+Mq0n69wiMOjPlbeba/3f70bY1U14iy+pcleLExbawmEPv 3i94uYcb+UUm3gmV8/RB2OkKsvIb/9/3DJdGupGJQGFTSSzHrnRaFeWWrDrKHCpXTYJV 7TkE36qMsJS4x8fTc+OBGr3mDMFyHpo+xFNMfvDhqokVoYAExBEtu38qE5FVWFORZKv0 uGyijMYs4NdCx9enZyE+5rezmd6aUXr8UxhzfdLxfFS4CsuRsbQhyPdjf/lay83fSnVw yiEbQQllr9/2m0j1gsAssY0QdcRAei7tzDQnBX8IduXnNO89tAHJam46Y652vnNjMBC1 1AEw== 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=DaTE72cdZaTjtjdnfodb65w5ACl9PUYleicR63q1RfQ=; b=q+ttl9uv8JhzghdTTpYuWP6HcvMyCMTlR2x2B8WHGuGiOQLzi3+PndfDhNOFIywrY4 bDj/ax2L4DyiBK/dOs08S9TnYboelzm1/STQ/wy3VgLUd8cNzUCaBYHros8kmllVW3Q9 d3AKl4ez+zd/mBMb37+LZq84zHjGcMOGEY0/m5a9wHBxi1w/d1X4h6xCbPSDh3A4LFcz 0vMT1v/TbCBgv8T9BFEvJ9js4VCbVxc9a4xX37qVOX+J6OD7iXtE38B2XeHxjQ6mohej 9oa1Xi7m0ohDbH4pztYFcPBJEKP+D9qoo3Adb7LY7w9RFd7hFi1KHJ/hJC1wn4sF0QcB lC5g== X-Gm-Message-State: AOAM531Hhvnfa44m5V2JZ7dnKBaYwizxtn0glF8gvXA0KarsuvXm2ykW X5fjgDoT6bqm+wXRxN0nCS0= X-Google-Smtp-Source: ABdhPJxP4l4HTBzKIBuvYdBFKzxkPIGRvq18P6sNPc/uBbZesEITGrVjdbntgHGWKW7vwach7BAgYQ== X-Received: by 2002:a1c:98c7:: with SMTP id a190mr13453260wme.184.1609454964330; Thu, 31 Dec 2020 14:49:24 -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?= , Jiaxun Yang , Aleksandar Rikalo , Aurelien Jarno , Huacai Chen Subject: [PATCH 02/18] hw/pci-host/bonito: Display hexadecimal value with '0x' prefix Date: Thu, 31 Dec 2020 23:48:55 +0100 Message-Id: <20201231224911.1467352-3-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201231224911.1467352-1-f4bug@amsat.org> References: <20201231224911.1467352-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) Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Huacai Chen --- hw/pci-host/bonito.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/pci-host/bonito.c b/hw/pci-host/bonito.c index 0634f3289c4..efeba29011f 100644 --- a/hw/pci-host/bonito.c +++ b/hw/pci-host/bonito.c @@ -463,8 +463,8 @@ static uint32_t bonito_sbridge_pciaddr(void *opaque, hw= addr addr) regno =3D (cfgaddr & BONITO_PCICONF_REG_MASK) >> BONITO_PCICONF_REG_OF= FSET; =20 if (idsel =3D=3D 0) { - error_report("error in bonito pci config address " TARGET_FMT_plx - ",pcimap_cfg=3D%x", addr, s->regs[BONITO_PCIMAP_CFG]); + error_report("error in bonito pci config address 0x" TARGET_FMT_plx + ",pcimap_cfg=3D0x%x", addr, s->regs[BONITO_PCIMAP_CFG= ]); exit(1); } pciaddr =3D PCI_ADDR(pci_bus_num(phb->bus), devno, funno, regno); --=20 2.26.2