Skip to contentSkip to conversation

Patch "crypto: crc32c-pclmul - use .rodata instead of .rotata" has been added to the 4.3-stable tree

PATCH [email protected] 1 participant 1 message Feb 2, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

crypto: crc32c-pclmul - use .rodata instead of .rotata

to the 4.3-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
crypto-crc32c-pclmul-use-.rodata-instead-of-.rotata.patch
and it can be found in the queue-4.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 97bce7e0b58dfc7d159ded329f57961868fb060b Mon Sep 17 00:00:00 2001

From: Nicolas Iooss <[email protected]>
Date: Sun, 20 Sep 2015 16:42:36 +0200
Subject: crypto: crc32c-pclmul - use .rodata instead of .rotata

From: Nicolas Iooss <[email protected]>

commit 97bce7e0b58dfc7d159ded329f57961868fb060b upstream.

Module crc32c-intel uses a special read-only data section named .rotata. This section is defined for K_table, and its name seems to be a spelling mistake for .rodata.

Fixes 473946e674eb ("crypto: crc32c-pclmul - Shrink K_table to 32-bit words")
---
 arch/x86/crypto/crc32c-pcl-intel-asm_64.S |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/crypto/crc32c-pcl-intel-asm_64.S +1 -1
@@ -330,7 +330,7 @@ ENDPROC(crc_pcl)
 	## PCLMULQDQ tables
 	## Table is 128 entries x 2 words (8 bytes) each
 	################################################################
-.section	.rotata, "a", %progbits
+.section	.rodata, "a", %progbits
 .align 8
 K_table:
 	.long 0x493c7d27, 0x00000001

Patches currently in stable-queue which might be from [email protected] are

queue-4.3/crypto-crc32c-pclmul-use-.rodata-instead-of-.rotata.patch