|
From: | FelixCui-oc |
Subject: | 答复: [PATCH 1/1] Skip flatview_simplify() for cpu vendor zhaoxin |
Date: | Thu, 22 Oct 2020 03:02:32 +0000 |
hi ,
>I assume it's the BIOS's driver and it's choosing a range in low memory,
>but still I'm not sure why its DMA is racing against the PAM update
>(which is done very early). Felix, do you know the answer?
This bug is triggered by make_bios_readonly() in seabios. Make_bios_readonly() will write pam register.
And ehci_setup() is executed before make_bios_readonly(). After initializing EHCI in seabios, it will
continuously send dma cycles. So when write pam register, this bug appeared.
In addition, before write pam registers, flatview_simplify() has merged a very large range.For example,
this large range is 0xc0000-0xbfffffff. So even if EHCI is configured to not allocate buffers in low memory,
this bug will still occur.Thanks.
Best regards
Felixcui-oc
[Prev in Thread] | Current Thread | [Next in Thread] |