Files
linux_media/include/linux
Keith Busch cbc0a40e17 lib: add rocksoft model crc64
The NVM Express specification extended data integrity fields to 64 bits
using the Rocksoft parameters. Add the poly to the crc64 table
generation, and provide a generic library routine implementing the
algorithm.

The Rocksoft 64-bit CRC model parameters are as follows:
    Poly: 0xAD93D23594C93659
    Initial value: 0xFFFFFFFFFFFFFFFF
    Reflected Input: True
    Reflected Output: True
    Xor Final: 0xFFFFFFFFFFFFFFFF

Since this model used reflected bits, the implementation generates the
reflected table so the result is ordered consistently.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20220303201312.3255347-6-kbusch@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-03-07 12:48:35 -07:00
..
2022-01-22 08:33:34 +02:00
2022-03-07 06:42:33 -07:00
2022-01-15 08:47:31 -08:00
2021-11-17 10:36:15 -05:00
2022-03-07 12:48:35 -07:00
2021-12-10 17:10:55 -08:00
2021-12-10 12:51:28 +01:00
2021-12-01 00:06:43 +01:00
2022-01-15 08:47:31 -08:00
2022-01-20 08:52:54 +02:00
2022-01-04 13:15:33 -05:00
2021-12-17 09:06:15 +01:00
2021-12-20 09:03:05 +01:00
2021-12-16 22:22:20 +01:00
2022-02-09 09:24:40 -05:00
2022-02-28 13:45:04 +02:00
2022-01-12 10:14:09 -06:00
2021-11-16 19:07:53 -08:00
2022-02-02 07:49:59 -07:00
2022-01-22 08:33:37 +02:00
2022-01-08 12:43:57 -06:00
2021-11-18 09:36:39 +01:00
2022-01-24 14:45:02 +01:00
2021-11-30 17:25:20 -08:00
2022-01-22 08:33:37 +02:00
2022-01-22 08:33:38 +02:00
2021-11-16 13:10:34 +00:00
2021-11-25 18:35:23 +01:00
2021-12-30 12:13:04 +01:00
2022-01-14 18:50:52 -05:00
2021-12-09 10:49:56 -08:00
2022-01-08 00:28:41 -05:00