public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/5] OvmfXen: Cleanup debug options
@ 2020-04-23  9:53 Anthony PERARD
  2020-04-23  9:53 ` [PATCH v2 1/5] OvmfPkg/OvmfXen: Remove DEBUG_ON_SERIAL_PORT Anthony PERARD
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Anthony PERARD @ 2020-04-23  9:53 UTC (permalink / raw)
  To: devel
  Cc: Laszlo Ersek, Ard Biesheuvel, Jordan Justen, Julien Grall,
	Anthony Perard

Patch series available in this git branch:
git://xenbits.xen.org/people/aperard/ovmf.git br.ovmfxen-debug-io-v2

v2:
- reuse PlatformDebugLibIoPort rather than duplicate it.

Remove non working DEBUG_ON_SERIAL_PORT, then add a new LibIoPort which always
writes to the IO port.

Issues was discovered and discuss in this mail threads:
    <e1f7e62c-adb4-eace-3828-7d73ae59ecd4@bsdio.com>
    "OvmfPkg XenPkg: X64 DEBUG GCC5 -DDEBUG_ON_SERIAL_PORT=TRUE build is broken"

Cheers,

Anthony PERARD (5):
  OvmfPkg/OvmfXen: Remove DEBUG_ON_SERIAL_PORT
  OvmfPkg/PlatformDebugLibIoPort: Reword QEMU to hypervisor
  OvmfPkg/PlatformDebugLibIoPort: factor out debug port detection
  OvmfPkg/PlatformDebugLibIoPort: Introduce a Nocheck variant
  OvmfPkg/OvmfXen: Introduce DEBUG_ON_HYPERVISOR_CONSOLE build flag

 OvmfPkg/OvmfXen.dsc                           | 49 +++++--------------
 .../PlatformDebugLibIoPort.inf                |  1 +
 .../PlatformRomDebugLibIoPort.inf             |  1 +
 ...f => PlatformRomDebugLibIoPortNocheck.inf} | 14 +++---
 .../PlatformDebugLibIoPort/DebugLibDetect.h   |  8 +--
 .../DebugIoPortNocheck.c                      | 25 ++++++++++
 .../PlatformDebugLibIoPort/DebugIoPortQemu.c  | 34 +++++++++++++
 .../Library/PlatformDebugLibIoPort/DebugLib.c | 18 +------
 .../PlatformDebugLibIoPort/DebugLibDetect.c   |  2 +-
 .../DebugLibDetectRom.c                       |  2 +-
 10 files changed, 84 insertions(+), 70 deletions(-)
 copy OvmfPkg/Library/PlatformDebugLibIoPort/{PlatformRomDebugLibIoPort.inf => PlatformRomDebugLibIoPortNocheck.inf} (65%)
 create mode 100644 OvmfPkg/Library/PlatformDebugLibIoPort/DebugIoPortNocheck.c
 create mode 100644 OvmfPkg/Library/PlatformDebugLibIoPort/DebugIoPortQemu.c

-- 
Anthony PERARD


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-04-28 21:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-23  9:53 [PATCH v2 0/5] OvmfXen: Cleanup debug options Anthony PERARD
2020-04-23  9:53 ` [PATCH v2 1/5] OvmfPkg/OvmfXen: Remove DEBUG_ON_SERIAL_PORT Anthony PERARD
2020-04-23 10:52   ` [edk2-devel] " Philippe Mathieu-Daudé
2020-04-23  9:53 ` [PATCH v2 2/5] OvmfPkg/PlatformDebugLibIoPort: Reword QEMU to hypervisor Anthony PERARD
2020-04-24 17:48   ` [edk2-devel] " Laszlo Ersek
2020-04-23  9:53 ` [PATCH v2 3/5] OvmfPkg/PlatformDebugLibIoPort: factor out debug port detection Anthony PERARD
2020-04-23 10:50   ` [edk2-devel] " Philippe Mathieu-Daudé
2020-04-24 17:52   ` Laszlo Ersek
2020-04-23  9:53 ` [PATCH v2 4/5] OvmfPkg/PlatformDebugLibIoPort: Introduce a Nocheck variant Anthony PERARD
2020-04-24 17:58   ` [edk2-devel] " Laszlo Ersek
2020-04-27 14:19     ` Anthony PERARD
2020-04-23  9:53 ` [PATCH v2 5/5] OvmfPkg/OvmfXen: Introduce DEBUG_ON_HYPERVISOR_CONSOLE build flag Anthony PERARD
2020-04-24 18:05   ` [edk2-devel] " Laszlo Ersek
2020-04-27 14:22     ` Anthony PERARD
2020-04-28 21:23 ` [edk2-devel] [PATCH v2 0/5] OvmfXen: Cleanup debug options Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox