Message ID | 20220218143416.34475-1-roger.pau@citrix.com (mailing list archive) |
---|---|
Headers | show |
Series | retpoline: add clang support + Kconfig selectable | expand |
On 18/02/2022 14:34, Roger Pau Monne wrote: > Hello, > > The following series adds retpoline support for clang builds, and also > allows the user to select whether to enable retpoline support at build > time via a new Kconfig option. > > I've tried adding a suitable description to the Kconfig option, but I'm > sure there's room for improvement. > > Thanks, Roger. > > Roger Pau Monne (3): > x86/retpoline: split retpoline compiler support into separate option > x86/clang: add retpoline support > x86/Kconfig: introduce option to select retpoline usage Thanks. I think that's looking much better IMO. One thing, we want CC_HAS_* for consistency. I can fix this on commit. Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
On Fri, Feb 18, 2022 at 03:45:12PM +0000, Andrew Cooper wrote: > On 18/02/2022 14:34, Roger Pau Monne wrote: > > Hello, > > > > The following series adds retpoline support for clang builds, and also > > allows the user to select whether to enable retpoline support at build > > time via a new Kconfig option. > > > > I've tried adding a suitable description to the Kconfig option, but I'm > > sure there's room for improvement. > > > > Thanks, Roger. > > > > Roger Pau Monne (3): > > x86/retpoline: split retpoline compiler support into separate option > > x86/clang: add retpoline support > > x86/Kconfig: introduce option to select retpoline usage > > Thanks. I think that's looking much better IMO. > > One thing, we want CC_HAS_* for consistency. I can fix this on commit. > > Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> Could the patches be backported to stable-4.16? Thanks, Roger.
On 30.03.2022 12:21, Roger Pau Monné wrote: > On Fri, Feb 18, 2022 at 03:45:12PM +0000, Andrew Cooper wrote: >> On 18/02/2022 14:34, Roger Pau Monne wrote: >>> Hello, >>> >>> The following series adds retpoline support for clang builds, and also >>> allows the user to select whether to enable retpoline support at build >>> time via a new Kconfig option. >>> >>> I've tried adding a suitable description to the Kconfig option, but I'm >>> sure there's room for improvement. >>> >>> Thanks, Roger. >>> >>> Roger Pau Monne (3): >>> x86/retpoline: split retpoline compiler support into separate option >>> x86/clang: add retpoline support >>> x86/Kconfig: introduce option to select retpoline usage >> >> Thanks. I think that's looking much better IMO. >> >> One thing, we want CC_HAS_* for consistency. I can fix this on commit. >> >> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> > > Could the patches be backported to stable-4.16? Hmm, generally I'd view them as a feature rather than a bug fix, but since you're explicitly requesting their backporting I guess I should rather look at them from an improved-security angle. Jan