Re: [PATCH linux-next] powerpc: init jump label early in ppc 64

2022-07-25 Thread Zhouyi Zhou
On Mon, Jul 25, 2022 at 3:55 PM Michael Ellerman wrote: > > zhouzho...@gmail.com writes: > > From: Zhouyi Zhou > > > > In ppc 64, invoke jump_label_init in setup_feature_keys is too late > > because static key will be used in subroutine of early_init_devtree. > > > > So we can invoke jump_label_i

Re: [PATCH linux-next] powerpc: init jump label early in ppc 64

2022-07-25 Thread Michael Ellerman
zhouzho...@gmail.com writes: > From: Zhouyi Zhou > > In ppc 64, invoke jump_label_init in setup_feature_keys is too late > because static key will be used in subroutine of early_init_devtree. > > So we can invoke jump_label_init earlier in early_setup. > We can not move setup_feature_keys backward

[PATCH linux-next] powerpc: init jump label early in ppc 64

2022-07-23 Thread zhouzhouyi
From: Zhouyi Zhou In ppc 64, invoke jump_label_init in setup_feature_keys is too late because static key will be used in subroutine of early_init_devtree. So we can invoke jump_label_init earlier in early_setup. We can not move setup_feature_keys backward because its subroutine cpu_feature_keys_