Messages in this thread | | | Date | Tue, 18 Nov 2014 17:42:05 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH v3 13/13] perf/x86: add syfs entry to disable HT bug workaround |
| |
On Tue, Nov 18, 2014 at 05:37:26PM +0100, Stephane Eranian wrote: > Does it need to bit a bitmask, as opposed to just a bug number (which could > be implemented as a bitmask)? > > >> enable_workaround: > >> - provide the bit number (of the workaround) to enable the workaround > > > > Right, writing the bit number could be part of the description message > > above - just so that users know how to control the interface. > > > writing the bug number....
Ah, ok, I see what you mean. I guess we can do increasing bug numbers. The mapping internally to bits in bitmasks or whatever fancy thing we do should remain hidden. So I'd guess assigning bug numbers to the bugs should be the only thing that's stable and user-visible...
Thanks.
-- Regards/Gruss, Boris.
Sent from a fat crate under my desk. Formatting is fine. --
| |