Re: [U-Boot] [PATCH 0/7] add fw_cfg interface support for qemu-x86 targets

2015-12-28 Thread Saket Sinha
Hi Miao, Thanks for the patches. I made an initial attempt to support the fw_cfg in U-boot for QEMU to get acpi tables by fw_cfg for qemu-x86 targets. The idea was if we find acpi tables in fw_cfg try loading them, otherwise fallback to the builtin acpi tables. The patch was dropped mainly

[U-Boot] [PATCH 0/7] add fw_cfg interface support for qemu-x86 targets

2015-12-28 Thread Miao Yan
The fw_cfg interface provided by QEMU allow guests to retrieve various information about the system, e.g. cpu number, variaous firmware data, kernel setup, etc. The fw_cfg interface can be accessed through 3 IO ports (on x86), using x86 in/out instructions. - 0x510: select configuration items

Re: [U-Boot] [PATCH 0/7] add fw_cfg interface support for qemu-x86 targets

2015-12-28 Thread Miao Yan
2015-12-28 18:05 GMT+08:00 Saket Sinha : > Hi Miao, > > Thanks for the patches. > > I made an initial attempt to support the fw_cfg in U-boot for QEMU to > get acpi tables by fw_cfg for qemu-x86 targets. > > The idea was if we find acpi tables in fw_cfg try loading them, >

Re: [U-Boot] [PATCH 0/7] add fw_cfg interface support for qemu-x86 targets

2015-12-28 Thread Saket Sinha
Hi Miao, Find my response inline. > > The main purpose of my patch is: > + directly loads kernel from qemu > + eliminate the cpu number limits in smp boot > Our patches are similar in case of fw_cfg apis support it brings to u-boot but our use case of using them are different. My patches

Re: [U-Boot] [PATCH 0/7] add fw_cfg interface support for qemu-x86 targets

2015-12-28 Thread Saket Sinha
Hi Miao, > > Are you referring to "Initial fw_cfg support for qemu-x86 targets" ? > I didn't find any patch in that email you sent to me. > YES. The first thread of the mail contains the patch. Anyways I am copy-pasting patch below. > But I did give Seabios a try and it works. So I don't

Re: [U-Boot] [PATCH 0/7] add fw_cfg interface support for qemu-x86 targets

2015-12-28 Thread Miao Yan
Hi Saket, 2015-12-28 18:43 GMT+08:00 Saket Sinha : > Hi Miao, > > Find my response inline. > >> >> The main purpose of my patch is: >> + directly loads kernel from qemu >> + eliminate the cpu number limits in smp boot >> > > Our patches are similar in case of fw_cfg