diff options
author | Paul Menzel <pmenzel@molgen.mpg.de> | 2020-07-27 14:59:42 +0200 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-07-28 11:36:18 -0400 |
commit | d9c812dda519a1a73e8370e1b81ddf46eb22ed16 (patch) | |
tree | 4da2f443b93e3f8287da4a276ea2fa81ef700a12 | |
parent | f3ca59c6f3da0f30110ca216b072f8b602313734 (diff) | |
download | seabios-hppa-d9c812dda519a1a73e8370e1b81ddf46eb22ed16.zip seabios-hppa-d9c812dda519a1a73e8370e1b81ddf46eb22ed16.tar.gz seabios-hppa-d9c812dda519a1a73e8370e1b81ddf46eb22ed16.tar.bz2 |
nvme: Increase `nvme_cmd_readwrite()` message log level from 3 to 5
Currently, setting SeaBIOS debug level to 3, the log is filled with
messages like below.
ns 1 read lba 11346288+8: 0
ns 1 read lba 11346296+4: 0
ns 1 read lba 11346300+4: 0
ns 1 read lba 11346304+8: 0
ns 1 read lba 11346312+8: 0
ns 1 read lba 11346320+8: 0
ns 1 read lba 11346328+8: 0
ns 1 read lba 11346336+8: 0
With SeaBIOS as coreboot payload, this fills up the CBMEM console
buffer.
So, increase the debug level to 5, so possible console buffer do not
overflow.
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
-rw-r--r-- | src/hw/nvme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/nvme.c b/src/hw/nvme.c index 41f3b76..6a01204 100644 --- a/src/hw/nvme.c +++ b/src/hw/nvme.c @@ -669,7 +669,7 @@ nvme_cmd_readwrite(struct nvme_namespace *ns, struct disk_op_s *op, int write) } res = nvme_io_readwrite(ns, op->lba + i, ns->dma_buffer, blocks, write); - dprintf(3, "ns %u %s lba %llu+%u: %d\n", ns->ns_id, write ? "write" + dprintf(5, "ns %u %s lba %llu+%u: %d\n", ns->ns_id, write ? "write" : "read", op->lba + i, blocks, res); |