[Qemu-devel] Re: [PATCH] ahci: fix lst+fis mapping

2010-11-22 Thread Gerd Hoffmann
On 11/21/10 03:04, Alexander Graf wrote: On 20.11.2010, at 00:06, Gerd Hoffmann wrote: The ahci map_page() function checks whenever it got a full page mapped. This is wrong. The data structures are much smaller: command list is 1k and fis is 256 bytes. Checking whenever we can access that m

[Qemu-devel] Re: [PATCH] ahci: fix lst+fis mapping

2010-11-20 Thread Alexander Graf
On 20.11.2010, at 00:06, Gerd Hoffmann wrote: > The ahci map_page() function checks whenever it got a full page mapped. > This is wrong. The data structures are much smaller: command list is > 1k and fis is 256 bytes. Checking whenever we can access that much > bytes without crossing a page b