Re: [PATCHv4 15/15] Pass boot device list to firmware.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gleb Natapov
Date: Monday, November 15, 2010 - 1:09 am

On Mon, Nov 15, 2010 at 09:53:50AM +0200, Michael S. Tsirkin wrote:
To do memory scan you need to read it into memory first. To read it into
memory you need to know how much memory to allocate to know how much
memory to allocate you meed to do memory scan... Notice pattern here :)
Of course you can scan IO space too discarding everything you read first
time, but why introduce broken interface in the first place?

More code, each line of code potentially introduce bug. But I will go with
Blue suggestion anyway since we already use it for other things.

I do.

I agree. 1-byte for one device string may be to limiting. It is still
more then 15 PCI bridges on a PC and if you have your pci bus go that
deep you are doing something very wrong. But according to spec device
name can be 32 byte long and device address may be 64bit physical
address and that makes length of one device element to be 50 byte.

--
			Gleb.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCHv4 00/15] boot order specification, Gleb Natapov, (Sun Nov 14, 8:39 am)
[PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Sun Nov 14, 8:39 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Michael S. Tsirkin, (Sun Nov 14, 11:41 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Sun Nov 14, 11:52 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Michael S. Tsirkin, (Sun Nov 14, 1:54 pm)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Michael S. Tsirkin, (Sun Nov 14, 1:56 pm)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Michael S. Tsirkin, (Sun Nov 14, 1:57 pm)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Michael S. Tsirkin, (Sun Nov 14, 2:45 pm)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Kevin O'Connor, (Sun Nov 14, 8:40 pm)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Mon Nov 15, 12:40 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Michael S. Tsirkin, (Mon Nov 15, 12:53 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Mon Nov 15, 1:09 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Mon Nov 15, 1:42 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Kevin O'Connor, (Mon Nov 15, 6:26 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Mon Nov 15, 6:36 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Mon Nov 15, 6:46 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Kevin O'Connor, (Mon Nov 15, 7:52 pm)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Tue Nov 16, 12:22 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Kevin O'Connor, (Tue Nov 16, 6:49 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Tue Nov 16, 7:11 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Blue Swirl, (Tue Nov 16, 11:19 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Blue Swirl, (Tue Nov 16, 11:30 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Tue Nov 16, 12:02 pm)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Thu Nov 18, 3:18 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Michael S. Tsirkin, (Thu Nov 18, 4:38 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Thu Nov 18, 4:45 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Michael S. Tsirkin, (Thu Nov 18, 4:52 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Thu Nov 18, 5:16 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Michael S. Tsirkin, (Thu Nov 18, 5:23 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Thu Nov 18, 5:37 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Michael S. Tsirkin, (Thu Nov 18, 6:12 am)
Re: [PATCHv4 15/15] Pass boot device list to firmware., Gleb Natapov, (Thu Nov 18, 6:16 am)