Generic Linux architectural discussions
 help / color / mirror / Atom feed
* [stable] nospec: Kill array_index_nospec_mask_check()
@ 2018-03-08 16:13 Ben Hutchings
  2018-03-08 16:17 ` Dan Williams
  2018-03-08 16:29 ` Ben Hutchings
  0 siblings, 2 replies; 3+ messages in thread
From: Ben Hutchings @ 2018-03-08 16:13 UTC (permalink / raw)
  To: Dan Williams, Linus Torvalds; +Cc: linux-arch

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

commit 1d91c1d2c80cb70e2e553845e278b87a960c04da
Author: Dan Williams <dan.j.williams@intel.com>
Date:   Fri Feb 16 13:20:42 2018 -0800

    nospec: Kill array_index_nospec_mask_check()

Is that right?

Ben.

-- 
Ben Hutchings
Software Developer, Codethink Ltd.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [stable] nospec: Kill array_index_nospec_mask_check()
  2018-03-08 16:13 [stable] nospec: Kill array_index_nospec_mask_check() Ben Hutchings
@ 2018-03-08 16:17 ` Dan Williams
  2018-03-08 16:29 ` Ben Hutchings
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Williams @ 2018-03-08 16:17 UTC (permalink / raw)
  To: Ben Hutchings; +Cc: Linus Torvalds, linux-arch

On Thu, Mar 8, 2018 at 8:13 AM, Ben Hutchings
<ben.hutchings@codethink.co.uk> wrote:
> Based on the commit message, I think this needs to be backported to
> stable branches:
>
> commit 1d91c1d2c80cb70e2e553845e278b87a960c04da
> Author: Dan Williams <dan.j.williams@intel.com>
> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [stable] nospec: Kill array_index_nospec_mask_check()
  2018-03-08 16:13 [stable] nospec: Kill array_index_nospec_mask_check() Ben Hutchings
  2018-03-08 16:17 ` Dan Williams
@ 2018-03-08 16:29 ` Ben Hutchings
  1 sibling, 0 replies; 3+ messages in thread
From: Ben Hutchings @ 2018-03-08 16:29 UTC (permalink / raw)
  To: Dan Williams, Linus Torvalds; +Cc: linux-arch

On Thu, 2018-03-08 at 16:13 +0000, Ben Hutchings wrote:
> Based on the commit message, I think this needs to be backported to
> stable branches:
> 
> commit 1d91c1d2c80cb70e2e553845e278b87a960c04da
> Author: Dan Williams <dan.j.williams@intel.com>
> 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 <dan.j.williams@intel.com>
Date:   Fri Feb 16 13:20:54 2018 -0800

    nospec: Include <asm/barrier.h> dependency

Ben.

-- 
Ben Hutchings
Software Developer, Codethink Ltd.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-08 16:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-08 16:13 [stable] nospec: Kill array_index_nospec_mask_check() Ben Hutchings
2018-03-08 16:17 ` Dan Williams
2018-03-08 16:29 ` Ben Hutchings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox