Re: [PATCH] powerpc/powernv: Add opal-prd channel

2015-05-01 Thread Benjamin Herrenschmidt
On Fri, 2015-05-01 at 11:46 +0800, Jeremy Kerr wrote: Hi Ben, +static LIST_HEAD(opal_prd_msg_queue); +static DEFINE_SPINLOCK(opal_prd_msg_queue_lock); +static DECLARE_WAIT_QUEUE_HEAD(opal_prd_msg_wait); +static atomic_t usage; opal_prd_usage ... otherwise it's a mess in the

Re: [PATCH] powerpc/powernv: Add opal-prd channel

2015-04-30 Thread Jeremy Kerr
Hi Ben, +static LIST_HEAD(opal_prd_msg_queue); +static DEFINE_SPINLOCK(opal_prd_msg_queue_lock); +static DECLARE_WAIT_QUEUE_HEAD(opal_prd_msg_wait); +static atomic_t usage; opal_prd_usage ... otherwise it's a mess in the symbols map OK, I'll change this. Also why limit the number of

Re: [PATCH] powerpc/powernv: Add opal-prd channel

2015-04-29 Thread Benjamin Herrenschmidt
On Wed, 2015-04-01 at 14:07 +0800, Jeremy Kerr wrote: This change adds a char device to access the PRD (processor runtime diagnostics) channel to OPAL firmware. Includes contributions from Vaidyanathan Srinivasan, Neelesh Gupta Vishal Kulkarni. Signed-off-by: Neelesh Gupta

[PATCH] powerpc/powernv: Add opal-prd channel

2015-04-01 Thread Jeremy Kerr
This change adds a char device to access the PRD (processor runtime diagnostics) channel to OPAL firmware. Includes contributions from Vaidyanathan Srinivasan, Neelesh Gupta Vishal Kulkarni. Signed-off-by: Neelesh Gupta neele...@linux.vnet.ibm.com Signed-off-by: Jeremy Kerr j...@ozlabs.org ---

Re: [PATCH] powerpc/powernv: Add opal-prd channel

2015-04-01 Thread Stewart Smith
Jeremy Kerr j...@ozlabs.org writes: This change adds a char device to access the PRD (processor runtime diagnostics) channel to OPAL firmware. Includes contributions from Vaidyanathan Srinivasan, Neelesh Gupta Vishal Kulkarni. Signed-off-by: Neelesh Gupta neele...@linux.vnet.ibm.com