-----Original Message----- From: Jan Dąbroś [mailto:jsd@semihalf.com] Sent: Friday, May 06, 2016 3:54 PM To: Ard Biesheuvel ard.biesheuvel@linaro.org Cc: Shaveta Leekha shaveta.leekha@nxp.com; Linaro UEFI Mailman List linaro-uefi@lists.linaro.org; Haim Boot hayim@marvell.com; Neta Zur Hershkovits neta@marvell.com Subject: Re: [Linaro-uefi] PciEmulation - problem with AHCI
When you say 'memory isn't updated by hardware properly', that suggests there is some kind of bus mastering going on. Which memory are you talking about here? Is this memory that has been allocated by ArmDmaLib's AllocateBuffer()?
Yes, I mean memory buffers allocated with ArmDmaLib's AllocateBuffer(). Those buffers' addresses are entered into SATA controller register's. Buffers should be updated (after performing necessary init) with data from hardware, but in my case, it doesn't happen.
[Shaveta] Does it all happen before device probing?
I mean, what if there is no SATA device attached? Then this code would not work, right?
Regards, Shaveta