Re: [PATCH 2/4] target/ppc: Add recording of taken branches to BHRB

2023-09-21 Thread Glenn Miles
It all looks pretty good otherwise. I do worry about POWER8/9 which do not have BHRB disable bit. How much do they slow down I wonder? That is a good question! I'll see if I can get some linux boot times with and without the changes on P9. I ran some tests booting ubuntu 20.04 on the

Re: [PATCH 2/4] target/ppc: Add recording of taken branches to BHRB

2023-09-19 Thread Glenn Miles
On 2023-09-14 20:02, Nicholas Piggin wrote: On Wed Sep 13, 2023 at 6:24 AM AEST, Glenn Miles wrote: This commit continues adding support for the Branch History Rolling Buffer (BHRB) as is provided starting with the P8 processor and continuing with its successors. This commit is limited to the

Re: [PATCH 2/4] target/ppc: Add recording of taken branches to BHRB

2023-09-14 Thread Nicholas Piggin
On Wed Sep 13, 2023 at 6:24 AM AEST, Glenn Miles wrote: > This commit continues adding support for the Branch History > Rolling Buffer (BHRB) as is provided starting with the P8 > processor and continuing with its successors. This commit > is limited to the recording and filtering of taken

[PATCH 2/4] target/ppc: Add recording of taken branches to BHRB

2023-09-12 Thread Glenn Miles
This commit continues adding support for the Branch History Rolling Buffer (BHRB) as is provided starting with the P8 processor and continuing with its successors. This commit is limited to the recording and filtering of taken branches. The following changes were made: - Added a BHRB buffer

[PATCH 2/4] target/ppc: Add recording of taken branches to BHRB

2023-09-12 Thread Glenn Miles
This commit continues adding support for the Branch History Rolling Buffer (BHRB) as is provided starting with the P8 processor and continuing with its successors. This commit is limited to the recording and filtering of taken branches. The following changes were made: - Added a BHRB buffer