On Sat, Dec 19, 2020 at 02:08:49PM +0800, Jiaxun Yang wrote: > > > 在 2020/12/19 上午12:28, jiaqingtong97@xxxxxxx 写道: > > From: Jia Qingtong <jiaqingtong97@xxxxxxx> > > > > If building for OCTEON II only,we can select compiler options that > > give better code, but will not run on earlier chips. > > > I'd rather add a workaround Kconfig option and default y for it. > In case no other optimization can be enabled for OCTANE2, like > > WORKAROUND_OCTANE_BARRIER please start them with WAR_ like the other workarounds I've converted to Kconfig. Something like WAR_OCTEON_BARRIER But the description talks about different compiler options, which I don't see in the patch ? Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]