Re: [PATCH 2/3] arm64: Consolidate hotplug notifier for instruction emulation

2015-01-23 Thread Punit Agrawal
Hi Suzuki, A possible simplification below. "Suzuki K. Poulose" writes: > From: "Suzuki K. Poulose" > > As of now each insn_emulation has a cpu hotplug notifier that > enables/disables the CPU feature bit for the functionality. This > patch re-arranges the code, such that there is only one not

[PATCH 2/3] arm64: Consolidate hotplug notifier for instruction emulation

2015-01-21 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" As of now each insn_emulation has a cpu hotplug notifier that enables/disables the CPU feature bit for the functionality. This patch re-arranges the code, such that there is only one notifier that runs through the list of registered emulation hooks and runs their corresp

Re: [PATCH 2/3] arm64: Consolidate hotplug notifier for instruction emulation

2015-01-16 Thread Mark Rutland
On Fri, Jan 16, 2015 at 04:44:34PM +, Will Deacon wrote: > On Fri, Jan 16, 2015 at 04:32:54PM +, Mark Rutland wrote: > > On Fri, Jan 16, 2015 at 04:07:30PM +, Will Deacon wrote: > > > On Thu, Jan 15, 2015 at 12:36:05PM +, Suzuki K. Poulose wrote: > > > > From: "Suzuki K. Poulose" >

Re: [PATCH 2/3] arm64: Consolidate hotplug notifier for instruction emulation

2015-01-16 Thread Suzuki K. Poulose
On 16/01/15 16:07, Will Deacon wrote: On Thu, Jan 15, 2015 at 12:36:05PM +, Suzuki K. Poulose wrote: From: "Suzuki K. Poulose" As of now each insn_emulation has a cpu hotplug notifier that enables/disables the CPU feature bit for the functionality. This patch re-arranges the code, such tha

Re: [PATCH 2/3] arm64: Consolidate hotplug notifier for instruction emulation

2015-01-16 Thread Will Deacon
On Fri, Jan 16, 2015 at 04:32:54PM +, Mark Rutland wrote: > On Fri, Jan 16, 2015 at 04:07:30PM +, Will Deacon wrote: > > On Thu, Jan 15, 2015 at 12:36:05PM +, Suzuki K. Poulose wrote: > > > From: "Suzuki K. Poulose" > > > > > > As of now each insn_emulation has a cpu hotplug notifier

Re: [PATCH 2/3] arm64: Consolidate hotplug notifier for instruction emulation

2015-01-16 Thread Mark Rutland
On Fri, Jan 16, 2015 at 04:07:30PM +, Will Deacon wrote: > On Thu, Jan 15, 2015 at 12:36:05PM +, Suzuki K. Poulose wrote: > > From: "Suzuki K. Poulose" > > > > As of now each insn_emulation has a cpu hotplug notifier that > > enables/disables the CPU feature bit for the functionality. Thi

Re: [PATCH 2/3] arm64: Consolidate hotplug notifier for instruction emulation

2015-01-16 Thread Will Deacon
On Thu, Jan 15, 2015 at 12:36:05PM +, Suzuki K. Poulose wrote: > From: "Suzuki K. Poulose" > > As of now each insn_emulation has a cpu hotplug notifier that > enables/disables the CPU feature bit for the functionality. This > patch re-arranges the code, such that there is only one notifier >

[PATCH 2/3] arm64: Consolidate hotplug notifier for instruction emulation

2015-01-15 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" As of now each insn_emulation has a cpu hotplug notifier that enables/disables the CPU feature bit for the functionality. This patch re-arranges the code, such that there is only one notifier that runs through the list of registered emulation hooks and runs their corresp