> Given the HSD143 errata and its possible relevance, have you tried > changing the magic number to 32, does it then still fix things? > > No real objection to the patch as such, it just needs a coherent comment > and a tested-by tag I think.
128 min period will affect a lot of valid use cases with slower ticking events. I often use smaller periods there. It would be better to debug this properly. Or at a minimum only do the limitation for the events that tick really fast (like cycles, uops retired etc.) -Andi