|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] Fwd: Re: Fw: [UNIKRAFT PATCH 5/8] lib/fdt: Introduce a fdt_get_address helper
Hi Mark For some reason, I will follow up Wei's patch series.And I can't use outlook to discuss the thread(Due to the base64 encoding by Outlook). So I forwarded previous mail to my gmail mailbox firstly. Please see my comments below: On 2019/1/24 9:35, Justin He (Arm Technology China) wrote: From: Wei Chen (Arm Technology China) Sent: Friday, December 14, 2018 3:37 PM To: Mark Rutland Cc: minios-devel@xxxxxxxxxxxxxxxxxxxx; simon.kuenzer@xxxxxxxxx; florian.schmidt@xxxxxxxxx; yuri.volchkov@xxxxxxxxx; Sharan.Santhanam@xxxxxxxxx; Felipe.Huici@xxxxxxxxx; Kaly Xin (Arm Technology China); nd; Jianyong Wu (Arm Technology China); Justin He (Arm Technology China) Subject: RE: [Minios-devel] [UNIKRAFT PATCH 5/8] lib/fdt: Introduce a fdt_get_address helper Hi Mark,-----Original Message----- From: Mark Rutland <mark.rutland@xxxxxxx> Sent: 2018年12月13日 18:00 To: Wei Chen (Arm Technology China) <Wei.Chen@xxxxxxx> Cc: minios-devel@xxxxxxxxxxxxxxxxxxxx; simon.kuenzer@xxxxxxxxx; florian.schmidt@xxxxxxxxx; yuri.volchkov@xxxxxxxxx; Sharan.Santhanam@xxxxxxxxx; Felipe.Huici@xxxxxxxxx; Kaly Xin (Arm Technology China) <Kaly.Xin@xxxxxxx>; nd <nd@xxxxxxx>; Jianyong Wu (Arm Technology China) <Jianyong.Wu@xxxxxxx>; Justin He (Arm Technology China) <Justin.He@xxxxxxx> Subject: Re: [Minios-devel] [UNIKRAFT PATCH 5/8] lib/fdt: Introduce a fdt_get_address helper On Thu, Dec 13, 2018 at 09:33:40AM +0000, Wei Chen (Arm Technology China) wrote:Hi Mark,-----Original Message----- From: Mark Rutland <mark.rutland@xxxxxxx> Sent: 2018年12月13日 17:21 To: Wei Chen (Arm Technology China) <Wei.Chen@xxxxxxx> Cc: minios-devel@xxxxxxxxxxxxxxxxxxxx; simon.kuenzer@xxxxxxxxx; florian.schmidt@xxxxxxxxx; yuri.volchkov@xxxxxxxxx;Sharan.Santhanam@xxxxxxxxx;Felipe.Huici@xxxxxxxxx; Kaly Xin (Arm Technology China) <Kaly.Xin@xxxxxxx>;nd<nd@xxxxxxx>; Jianyong Wu (Arm Technology China) <Jianyong.Wu@xxxxxxx>;JustinHe (Arm Technology China) <Justin.He@xxxxxxx> Subject: Re: [Minios-devel] [UNIKRAFT PATCH 5/8] lib/fdt: Introduce a fdt_get_address helper On Thu, Dec 13, 2018 at 09:18:17AM +0000, Wei Chen wrote: IIUC, current unikraft on arm64 can only run as a guest in qemu with-machine virt,gic-version=2 . All the mmu design is based on that assumption.
The default dtb created by qemu about interrupt-controller is as follows:
intc@8000000 {
phandle = < 0x8001 >;
reg = < 0x00 0x8000000 0x00 0x10000 0x00 0x8010000 0x00 0x10000 >;
compatible = "arm,cortex-a15-gic";
ranges;
#size-cells = < 0x02 >;
#address-cells = < 0x02 >;
interrupt-controller;
#interrupt-cells = < 0x03 >;
v2m@8020000 {
phandle = < 0x8002 >;
reg = < 0x00 0x8020000 0x00 0x1000 >;
msi-controller;
compatible = "arm,gic-v2m-frame";
};
};
So ranges is NULL in this case, so we don't need to concern the ranges
property?
Thanks for more comments Cheers, Justin (Jia He), Arm Did you mean, I should consider to translate this address with the "range" property? Just like fdt_translate_address(address of fdt_get_address) to check whether the address is in the range or does it need to remap to parent bus address space?Thanks, Mark.IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |