[PATCH 1/6] IB/ehca: Serialize hypervisor calls in ehca_register_mr()
Joachim Fenkes
fenkes at de.ibm.com
Thu May 10 18:55:46 EST 2007
On Wednesday 09 May 2007 13:47, Joachim Fenkes wrote:
> --- a/drivers/infiniband/hw/ehca/hcp_if.c
> +++ b/drivers/infiniband/hw/ehca/hcp_if.c
> @@ -154,7 +154,9 @@ static long ehca_plpar_hcall9(unsigned l
> unsigned long arg9)
> {
> long ret;
> - int i, sleep_msecs;
> + int i, sleep_msecs, lock_is_set = 0;
> + unsigned long flags;
> +
>
> ehca_gen_dbg("opcode=%lx arg1=%lx arg2=%lx arg3=%lx arg4=%lx "
> "arg5=%lx arg6=%lx arg7=%lx arg8=%lx arg9=%lx",
> @@ -162,10 +164,18 @@ static long ehca_plpar_hcall9(unsigned l
Whoops, that's one too many empty line...
Roland, when you apply this patch, could you apply the following patch on top:
--- a/drivers/infiniband/hw/ehca/hcp_if.c
+++ b/drivers/infiniband/hw/ehca/hcp_if.c
@@ -157,7 +157,6 @@ static long ehca_plpar_hcall9(unsigned l
int i, sleep_msecs, lock_is_set = 0;
unsigned long flags;
-
ehca_gen_dbg("opcode=%lx arg1=%lx arg2=%lx arg3=%lx arg4=%lx "
"arg5=%lx arg6=%lx arg7=%lx arg8=%lx arg9=%lx",
opcode, arg1, arg2, arg3, arg4, arg5, arg6, arg7,
Thanks!
Joachim
--
Joachim Fenkes -- eHCA Linux Driver Developer and Hardware Tamer
IBM Deutschland Entwicklung GmbH -- Dept. 3627 (I/O Firmware Dev. 2)
Schoenaicher Strasse 220 -- 71032 Boeblingen -- Germany
eMail: fenkes at de.ibm.com -- Phone: +49 7031 16 1239
More information about the Linuxppc-dev
mailing list