From patchwork Fri Aug 7 14:37:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 276907 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F76FC433DF for ; Fri, 7 Aug 2020 14:38:06 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2933B221E2 for ; Fri, 7 Aug 2020 14:38:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UfhM3gVz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2933B221E2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:57608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k43VV-0006pR-9A for qemu-devel@archiver.kernel.org; Fri, 07 Aug 2020 10:38:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k43Ud-0005ri-4M for qemu-devel@nongnu.org; Fri, 07 Aug 2020 10:37:11 -0400 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:56161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k43Ub-00069V-AK for qemu-devel@nongnu.org; Fri, 07 Aug 2020 10:37:10 -0400 Received: by mail-wm1-x343.google.com with SMTP id 9so1927833wmj.5 for ; Fri, 07 Aug 2020 07:37:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fCOVyLdqVtKSsWNbc0T+BBm3CTamErtvndTy/IMMtbU=; b=UfhM3gVzZ4bH36VUIZHgvu33LYV8JJqfnjQ0IP2dOqrrHL7WGDdDhaXX2HejaObFS3 vIjgRfjiDwUbL22seE3GpAZmIUeozR/U7/ONzR1P2G7TW69duojDcj8grGL/xZYqHsTf Dp45Ii0wsAW8oT6g8gmtTIZM69PELafzVBV/CG956bh3r88Pmbu0XkLvXa2u7dTxkEjU I5C+E1v53n+u52ceRzEp4TWEIFw8s7H1gQrWI69tizk8THFRGpCU3Ol1IQTFr1K8S6tc Fshu4bcBlddG4wMxONcm9N4i+NAhCZPRD7K5otiUp7VRTkQMsPygzgc0Hvuj+AiZszQj YllQ== 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 :mime-version:content-transfer-encoding; bh=fCOVyLdqVtKSsWNbc0T+BBm3CTamErtvndTy/IMMtbU=; b=dtWbKSIij7n6joGjiagpZwbpDgcNDmk1fNB3/Yl1m2xEDZmGhr6S5MOYwohOtpRzQ3 pFr25tOhW/rPTrx/l3unMMfoRP1T/lCYSqM7e0D4z5AuqAAgQIeTEXxfH6kr43NTN43e YLIUXrJvwhP7fgf4CXE+eD5+YJOreGqKpCdxWD5sSUr3Jdz7fQKyiYqPwXvAkE3T0XMV nzfOmAmTZXjUZdBYwABIogK1z8bP+yCBHwFJR/gf5qpwl95cUCX7ieqM4BeNLVtfqsT3 T+o+qy7dO6w0iPfSz8UOdFek5Btia6/2dk5fZWrVh9fqWQRZS4Ky6v4wrgSP1cHXANIt XsWg== X-Gm-Message-State: AOAM5323irGCbwehe1vvsk2eC2inJQdDc5hlaIQv0FfKYBTKjH73sSzg CUVV4RHXopU8Jt5VgtE0Nf5KgnLE X-Google-Smtp-Source: ABdhPJyr/sXEi7TCbgOEMsTm4TQLMBB0HlCEnX9KV0/2FS0aglFVK0ykHprnLnt0qvFZ0vWv6npgpg== X-Received: by 2002:a05:600c:c7:: with SMTP id u7mr13639999wmm.135.1596811027192; Fri, 07 Aug 2020 07:37:07 -0700 (PDT) Received: from localhost.localdomain (121.red-81-40-121.staticip.rima-tde.net. [81.40.121.121]) by smtp.gmail.com with ESMTPSA id v8sm11033302wmb.24.2020.08.07.07.37.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2020 07:37:06 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH-for-5.2 0/3] hw/misc/unimp: Improve how offset/value are displayed Date: Fri, 7 Aug 2020 16:37:02 +0200 Message-Id: <20200807143705.30066-1-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::343; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x343.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: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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: Peter Maydell , =?utf-8?q?Philippe_Mathieu-D?= =?utf-8?b?YXVkw6k=?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" This series aims to ease looking at the '-d unimp' output reported by the UnimplementedDevice. - read/write accesses are now aligned - the value format width uses the access size - the offset (address) uses the size of the memory region it belongs Philippe Mathieu-Daudé (3): hw/misc/unimp: Display value after offset hw/misc/unimp: Display the value with width of the access size hw/misc/unimp: Display the offset with width of the region size include/hw/misc/unimp.h | 1 + hw/misc/unimp.c | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-)