RE: [PATCH v1 1/3] hw/arm/aspeed_ast2700-fc: Fix null pointer dereference in ca35 init

2025-05-12 Thread Steven Lee
Troy Lee ; long...@lenovo.com; Yunlin Tang > > Subject: Re: [PATCH v1 1/3] hw/arm/aspeed_ast2700-fc: Fix null pointer > dereference in ca35 init > > On 5/7/25 12:10, Steven Lee wrote: > > Clang's sanitizer reports a runtime error when booting with '-

Re: [PATCH v1 1/3] hw/arm/aspeed_ast2700-fc: Fix null pointer dereference in ca35 init

2025-05-12 Thread Cédric Le Goater
On 5/7/25 12:10, Steven Lee wrote: Clang's sanitizer reports a runtime error when booting with '-net nic -net user', due to a null pointer being passed to memory_region_find(), which subsequently triggers a crash in flatview_lookup(). The root cause is that CA35 memory region is not mapped to sy

[PATCH v1 1/3] hw/arm/aspeed_ast2700-fc: Fix null pointer dereference in ca35 init

2025-05-07 Thread Steven Lee via
Clang's sanitizer reports a runtime error when booting with '-net nic -net user', due to a null pointer being passed to memory_region_find(), which subsequently triggers a crash in flatview_lookup(). The root cause is that CA35 memory region is not mapped to system memory. In addition, unconfigure