Re: [PATCH] ehea: Add kdump support

2007-11-26 Thread Michael Neuling
In message <[EMAIL PROTECTED]> you wrote: > Michael Ellerman wrote on 26.11.2007 09:16:28: > > Solutions that might be better: > > > > a) if there are a finite number of handles and we can predict their > > values, just delete them all in the kdump kernel before the driver > > loads. > >

Re: [PATCH] ehea: Add kdump support

2007-11-09 Thread Michael Neuling
> To support ehea driver reloading in a kdump kernel the driver has to > perform firmware handle deregistrations when the original kernel > crashes. As there's currently no notifier chain for machine crashes > this patch enables kdump support in the ehea driver by bending the > ppc_md.machine_crash

Re: [PATCH] ehea: add kexec support

2007-11-02 Thread Michael Neuling
> Michael Ellerman <[EMAIL PROTECTED]> wrote on 02.11.2007 07:30:08: > > > On Wed, 2007-10-31 at 20:48 +0100, Christoph Raisch wrote: > > > Michael Ellerman <[EMAIL PROTECTED]> wrote on 30.10.2007 23:50:36: > > If that's really the way it works then eHEA is more or less broken for > > kdump I'm af

Possible eHEA performance issue

2007-07-19 Thread Michael Neuling
>From ehea_start_xmit in ehea_main.c we have: if (unlikely(atomic_read(&pr->swqe_avail) <= 1)) { spin_lock_irqsave(&pr->netif_queue, flags); if (unlikely(atomic_read(&pr->swqe_avail) <= 1)) { pr->p_stats.queue_stopped++; netif_sto

Re: [2.6.19 PATCH 5/7] ehea: main header files

2006-08-18 Thread Michael Neuling
> +static inline void ehea_update_sqa(struct ehea_qp *qp, u16 nr_wqes) > +{ > + struct h_epa epa = qp->epas.kernel; > + epa_store_acc(epa, QPTEMM_OFFSET(qpx_sqa), > + EHEA_BMASK_SET(QPX_SQA_VALUE, nr_wqes)); > +} > + > +static inline void ehea_update_rq3a(struct ehea_qp *q

Re: [PATCH 7/7] ehea: Makefile & Kconfig

2006-08-16 Thread Michael Neuling
This patch is still being white space munged so it doesn't apply. The context is being shifted over 1 column. All your other patches add new files so there is no context and hence they apply. Mikey In message <[EMAIL PROTECTED]> you wrote: > Signed-off-by: Jan-Bernd Themann <[EMAIL PROTECTED]

Re: [PATCH 3/6] ehea: queue management

2006-08-10 Thread Michael Neuling
> > > +static inline u32 map_swqe_size(u8 swqe_enc_size) > > > +{ > > > + return 128 << swqe_enc_size; > > > +} ^ > > > + | > > > +static inline u32|map_rwqe_size(u8 rwqe_enc_size) > > > +{ | > > > + return 128 << rwqe_enc_size; >

Re: [PATCH 3/6] ehea: queue management

2006-08-10 Thread Michael Neuling
Please add comments to make the code more readable, especially at the start of functions/structures to describe what they do. A large readme at the start of ehea_main.c which gave an overview of the driver design would be really useful. Comments inline below... > +static void *ipz_qpageit_get_i