Skip to contentSkip to conversation

nospec: Kill array_index_nospec_mask_check()

stable Ben Hutchings 2 participants 3 messages Mar 8, 2018 Generic include/asm header files

lore
Share & tools
lore
#0 lore raw

Based on the commit message, I think this needs to be backported to stable branches:

commit 1d91c1d2c80cb70e2e553845e278b87a960c04da
Author: Dan Williams <[email protected]>
Date:   Fri Feb 16 13:20:42 2018 -0800

    nospec: Kill array_index_nospec_mask_check()

Is that right?

Ben.

Signature · 2 lines
Ben Hutchings
Software Developer, Codethink Ltd.
#1 lore raw
Quoted 10 lines · Ben Hutchings

Based on the commit message, I think this needs to be backported to stable branches:

commit 1d91c1d2c80cb70e2e553845e278b87a960c04da

Author: Dan Williams <[email protected]>
Date:   Fri Feb 16 13:20:42 2018 -0800

nospec: Kill array_index_nospec_mask_check()

Is that right?

Yes, especially for 32-bit archs this macro is broken.

#2 lore raw
In reply to Ben Hutchings
Quoted 10 lines · Ben Hutchings

Based on the commit message, I think this needs to be backported to stable branches:

commit 1d91c1d2c80cb70e2e553845e278b87a960c04da
Author: Dan Williams <[email protected]>
Date:   Fri Feb 16 13:20:42 2018 -0800

    nospec: Kill array_index_nospec_mask_check()

Is that right?

Also this one:

commit eb6174f6d1be16b19cfa43dac296bfed003ce1a6
Author: Dan Williams <[email protected]>
Date:   Fri Feb 16 13:20:54 2018 -0800

    nospec: Include <asm/barrier.h> dependency

Ben.

Signature · 2 lines
Ben Hutchings
Software Developer, Codethink Ltd.