From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOW3q-0000k4-EW for qemu-devel@nongnu.org; Thu, 31 May 2018 18:28:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOW3p-00045X-Du for qemu-devel@nongnu.org; Thu, 31 May 2018 18:28:46 -0400 From: John Snow Date: Thu, 31 May 2018 18:28:19 -0400 Message-Id: <20180531222835.16558-1-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH v2 00/16] AHCI: tracing improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-block@nongnu.org Cc: f4bug@amsat.org, John Snow This set just adds register names so that the read/write traces make more sense on their own without having to memorize register offsets. It also splits read/write traces into supported/unsupported subsets, so you can just monitor for things that QEMU is likely doing wrong. v2: - Added qemu_log_mask(LOG_UNIMP, ...) statements in addition to traces for writes to unknown/unsupported registers. (Philippe) John Snow (16): ahci: add port register enumeration ahci: modify ahci_port_read to use register numbers ahci: make port read traces more descriptive ahci: fix spacing damage on ahci_port_write ahci: combine identical clauses in port write ahci: modify ahci_port_write to use register numbers ahci: make port write traces more descriptive ahci: delete old port register address definitions ahci: add host register enumeration ahci: fix host register max address ahci: modify ahci_mem_read_32 to work on register numbers ahci: make mem_read_32 traces more descriptive ahci: fix spacing damage on ahci_mem_write ahci: adjust ahci_mem_write to work on registers ahci: delete old host register address definitions ahci: make ahci_mem_write traces more descriptive hw/ide/ahci.c | 314 ++++++++++++++++++++++++++++++------------------- hw/ide/ahci_internal.h | 63 ++++++---- hw/ide/trace-events | 13 +- 3 files changed, 241 insertions(+), 149 deletions(-) -- 2.14.3