Re: [Patch Part2 v6 22/27] x86, uv: Use hierarchy irqdomain to manage UV interrupts

2014-12-22 Thread Jiang Liu
On 2014/12/18 0:45, Russ Anderson wrote: > On Wed, Dec 17, 2014 at 10:41:51AM +0800, Jiang Liu wrote: >> On 2014/12/17 1:29, Dimitri Sivanich wrote: >>> I answered my own question, this had never been tested on UV. >>> >>> The gru driver fails with: >>> SGI GRU Device Driver: uv_setup_irq f

Re: [Patch Part2 v6 22/27] x86, uv: Use hierarchy irqdomain to manage UV interrupts

2014-12-17 Thread Russ Anderson
On Wed, Dec 17, 2014 at 10:41:51AM +0800, Jiang Liu wrote: > On 2014/12/17 1:29, Dimitri Sivanich wrote: > > I answered my own question, this had never been tested on UV. > > > > The gru driver fails with: > > SGI GRU Device Driver: uv_setup_irq failed, errno=22 > > > > The info->type in

Re: [Patch Part2 v6 22/27] x86, uv: Use hierarchy irqdomain to manage UV interrupts

2014-12-16 Thread Jiang Liu
On 2014/12/17 1:29, Dimitri Sivanich wrote: > I answered my own question, this had never been tested on UV. > > The gru driver fails with: > SGI GRU Device Driver: uv_setup_irq failed, errno=22 > > The info->type in uv_domain_alloc() is not set to X86_IRQ_ALLOC_TYPE_UV > (info->type is ne

Re: [Patch Part2 v6 22/27] x86, uv: Use hierarchy irqdomain to manage UV interrupts

2014-12-16 Thread Dimitri Sivanich
I answered my own question, this had never been tested on UV. The gru driver fails with: SGI GRU Device Driver: uv_setup_irq failed, errno=22 The info->type in uv_domain_alloc() is not set to X86_IRQ_ALLOC_TYPE_UV (info->type is never set to that value anywhere). Adding the following to

Re: [Patch Part2 v6 22/27] x86, uv: Use hierarchy irqdomain to manage UV interrupts

2014-12-15 Thread Dimitri Sivanich
Was this patch ever tested on a UV system? Also, adding some SGI folks to the CC list, since there were none listed before. On Tue, Nov 25, 2014 at 01:53:31PM +0800, Jiang Liu wrote: > Enhance UV code to support hierarchy irqdomain, it helps to make > the architecture more clear. > > We should c

[Patch Part2 v6 22/27] x86, uv: Use hierarchy irqdomain to manage UV interrupts

2014-11-24 Thread Jiang Liu
Enhance UV code to support hierarchy irqdomain, it helps to make the architecture more clear. We should construct hwirq based on mmr_blade and mmr_offset, but mmr_offset is type of unsigned long, it may exceed the range of irq_hw_number_t. So help about the way to construct hwirq based on mmr_blad