mirror of
				https://gitlab.com/qemu-project/seabios-hppa.git
				synced 2025-10-30 07:48:43 +08:00 
			
		
		
		
	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>
			
			
This commit is contained in:
		 Paul Menzel
					Paul Menzel
				
			
				
					committed by
					
						 Kevin O'Connor
						Kevin O'Connor
					
				
			
			
				
	
			
			
			 Kevin O'Connor
						Kevin O'Connor
					
				
			
						parent
						
							f3ca59c6f3
						
					
				
				
					commit
					d9c812dda5
				
			| @ -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); |         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", |                                                                   : "read", | ||||||
|                 op->lba + i, blocks, res); |                 op->lba + i, blocks, res); | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user