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:42 am

On Sun, Nov 14, 2010 at 10:50:13PM +0000, Blue Swirl wrote:
Yeah, will fix.


pbm->pci should be solvable by the patch at the end. Were in the spec
it is allowed to abbreviate 1fe00000000 as 1fe,0? Spec allows to drop
starting zeroes but TARGET_FMT_plx definition in targphys.h has 0 after
%. I can define another one without leading zeroes. Can you suggest
a name?  TARGET_FMT_lx is poisoned. As of ATA there is no open firmware
binding spec for ATA, so everyone does what he pleases. I based my
implementation on what open firmware showing when running on qemu x86.
"pci-ata" should be "ide" according to PCI binding spec :) 

diff --git a/hw/apb_pci.c b/hw/apb_pci.c
index c619112..643aa49 100644
--- a/hw/apb_pci.c
+++ b/hw/apb_pci.c
@@ -453,6 +453,7 @@ static PCIDeviceInfo pbm_pci_host_info = {
 
 static SysBusDeviceInfo pbm_host_info = {
     .qdev.name = "pbm",
+    .qdev.fw_name = "pci",
     .qdev.size = sizeof(APBState),
     .qdev.reset = pci_pbm_reset,
     .init = pci_pbm_init_device,
--
			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)