Re: [PATCH v2 0/3] More frequency invariance fixes for x86

From: Peter Zijlstra
Date: Wed Jun 03 2020 - 08:31:32 EST


On Sun, May 31, 2020 at 08:24:50PM +0200, Giovanni Gherdovich wrote:
> changes wrt v1:
>
> - add Peter Zijlstra's code to check for multiplication overflow, see
> https://lore.kernel.org/lkml/20200501133042.GE3762@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
> - put all frequence invariant code behind CONFIG_X86_64, as the overflow
> checks need 64 bits operations, see the build error at
> https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx/thread/7GDIBOMNVDG5W2XZD4EICE2TUZR3THBN/
> - add additional patch to check for when base_freq > turbo_freq,
> suggested by Peter Zijlstra at
> https://lore.kernel.org/lkml/20200501130427.GD3762@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/

Thanks!