From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759746AbXLLTJn (ORCPT ); Wed, 12 Dec 2007 14:09:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750873AbXLLTJg (ORCPT ); Wed, 12 Dec 2007 14:09:36 -0500 Received: from sj-iport-5.cisco.com ([171.68.10.87]:14969 "EHLO sj-iport-5.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750773AbXLLTJe (ORCPT ); Wed, 12 Dec 2007 14:09:34 -0500 To: Or Gerlitz Cc: Joachim Fenkes , Arnd Bergmann , LKML , linuxppc-dev@ozlabs.org, Christoph Raisch , OF-General , Stefan Roscher Subject: Re: [ewg] Re: [PATCH] IB/ehca: Serialize HCA-related hCalls on POWER5 X-Message-Flag: Warning: May contain useful information References: <475FD0A1.3090304@voltaire.com> From: Roland Dreier Date: Wed, 12 Dec 2007 11:09:27 -0800 In-Reply-To: <475FD0A1.3090304@voltaire.com> (Or Gerlitz's message of "Wed, 12 Dec 2007 14:14:25 +0200") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.20 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 12 Dec 2007 19:09:28.0721 (UTC) FILETIME=[84C36810:01C83CF2] Authentication-Results: sj-dkim-4; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > What is the fix you suggest, to add a device query that tells you for > which verbs the documentation does not apply? or enhance the code of the > map_phys_fmr verb within the ehca driver to return error if called > from non-sleepable context? I think the right fix for iSER would be to make iSER work even for devices that don't support FMRs. For example cxgb3 doesn't implement FMRs so if anyone ever updates iSER to work on iWARP and not just IB, then this is something that has to be tackled anyway. Then ehca could just get rid of the FMR support it has.