qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH 02/17] imx_fec: Do not calculate FEC


From: Peter Maydell
Subject: Re: [Qemu-arm] [PATCH 02/17] imx_fec: Do not calculate FEC
Date: Mon, 9 Oct 2017 18:03:32 +0100

On 9 October 2017 at 15:47, Andrey Smirnov <address@hidden> wrote:
> On Fri, Oct 6, 2017 at 6:48 AM, Peter Maydell <address@hidden> wrote:
>> This looks a bit odd. Doesn't the hardware calculate the CRC here?
>>
>
> It does, it just seemed to me that since the hardware also has a "CRC
> error" bit in its status register, there would be few if any users of
> the actual calculated CRC value. Given how eTSEC emulation layer gets
> away without calculating CRC I thought that it might be possible to
> have this optimization here as well.

As a general rule QEMU should just emulate what the hardware does
(even if the usual guest software doesn't happen to care about
that corner of the specification).

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]