From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753994AbbCFAng (ORCPT ); Thu, 5 Mar 2015 19:43:36 -0500 Received: from mail-by2on0104.outbound.protection.outlook.com ([207.46.100.104]:42016 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752592AbbCFAnc (ORCPT ); Thu, 5 Mar 2015 19:43:32 -0500 Date: Thu, 5 Mar 2015 18:38:14 -0600 From: Kim Phillips To: Cristian Stoica CC: , , Subject: Re: [PATCH 1/3] crypto: caam: fix some compile warnings Message-ID: <20150305183814.a8d8254e8fd99750f846317c@freescale.com> In-Reply-To: <54F801CD.7040706@freescale.com> References: <1425365453-19358-1-git-send-email-yanjiang.jin@windriver.com> <1425365453-19358-2-git-send-email-yanjiang.jin@windriver.com> <20150303125953.8585904680288a9734566b42@freescale.com> <54F66EA3.7080506@windriver.com> <54F6909D.8040002@windriver.com> <54F6CA60.5030905@freescale.com> <20150304123419.7baecac7320d5b3483449dab@freescale.com> <54F801CD.7040706@freescale.com> Organization: Freescale Semiconductor, Inc. X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.13; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=kim.phillips@freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none; X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:NLI;EFV:NLI;BMV:1;SFV:NSPM;SFS:(10019020)(6009001)(339900001)(377454003)(24454002)(479174004)(51704005)(189002)(199003)(50986999)(6806004)(450100001)(110136001)(105606002)(104016003)(76176999)(19580405001)(46102003)(92566002)(47776003)(33646002)(87936001)(50226001)(50466002)(100306002)(23726002)(86362001)(2950100001)(19580395003)(77156002)(46406003)(36756003)(106466001)(62966003)(85426001)(77096005);DIR:OUT;SFP:1102;SCL:1;SRVR:BL2PR03MB387;H:az84smr01.freescale.net;FPR:;SPF:Fail;MLV:sfv;MX:1;A:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB387; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5002007)(5005006);SRVR:BL2PR03MB387;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB387; X-Forefront-PRVS: 05079D8470 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2015 00:43:30.1425 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.158.2] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB387 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 5 Mar 2015 09:12:13 +0200 Cristian Stoica wrote: > On 03/04/2015 08:34 PM, Kim Phillips wrote: > > > I don't see how, e.g., for one, dma_map_sg is I/O TLB > > implementation-dependent. > > I'll need some remedial classes on this topic, but for the moment I > don't see how this matters for mapping sg chains. Can you share some > pointers? I think it's better the driver not depend on whether the dma_map_sg implementation supports chains, but you're welcome to try... Kim