Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760508AbbEEQOc (ORCPT ); Tue, 5 May 2015 12:14:32 -0400 Received: from mail-by2on0137.outbound.protection.outlook.com ([207.46.100.137]:28576 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752834AbbEEQO1 (ORCPT ); Tue, 5 May 2015 12:14:27 -0400 Authentication-Results: spf=none (sender IP is 165.204.84.222) smtp.mailfrom=amd.com; arm.com; dkim=none (message not signed) header.d=none; X-WSS-ID: 0NNVX3O-08-K05-02 X-M-MSG: Message-ID: <5548EC47.3020501@amd.com> Date: Tue, 5 May 2015 11:13:59 -0500 From: Suravee Suthikulanit User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Arnd Bergmann , CC: , , , , , , , , , , Subject: Re: [Linaro-acpi] [V2 PATCH 2/5] arm64 : Introduce support for ACPI _CCA object References: <1430838729-21572-1-git-send-email-Suravee.Suthikulpanit@amd.com> <5126612.k0u2CL2zi5@wuerfel> <5548EB42.5010800@amd.com> <8157862.NJP1L4Rh25@wuerfel> In-Reply-To: <8157862.NJP1L4Rh25@wuerfel> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.222;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(428002)(24454002)(377454003)(189002)(199003)(51704005)(479174004)(65806001)(5001770100001)(36756003)(62966003)(47776003)(4001350100001)(50986999)(93886004)(77156002)(33656002)(105586002)(92566002)(101416001)(120886001)(87936001)(83506001)(50466002)(106466001)(76176999)(80316001)(46102003)(2950100001)(77096005)(23746002)(86362001)(54356999);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3PR02MB1109;H:atltwp02.amd.com;FPR:;SPF:None;MLV:sfv;MX:1;A:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR02MB1109;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR02MB1238; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BN3PR02MB1109;BCL:0;PCL:0;RULEID:;SRVR:BN3PR02MB1109; X-Forefront-PRVS: 0567A15835 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2015 16:14:17.9491 (UTC) X-MS-Exchange-CrossTenant-Id: fde4dada-be84-483f-92cc-e026cbee8e96 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fde4dada-be84-483f-92cc-e026cbee8e96;Ip=[165.204.84.222];Helo=[atltwp02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR02MB1109 X-OriginatorOrg: amd4.onmicrosoft.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 847 Lines: 26 On 5/5/2015 11:12 AM, Arnd Bergmann wrote: > On Tuesday 05 May 2015 11:09:38 Suravee Suthikulanit wrote: >> >> However, codes in several places are making use of dma_map_ops without >> checking if the ops are NULL (i.e. >> include/asm-generic/dma-mapping-common.h and in arch-specific >> implementation). If setting it to NULL is what we are planning to >> support, we would need to scrub the current code to put NULL check. >> Also, would you consider if that is safe to do going forward? >> >> > > I mean the dma_mask pointer, not dma_map_ops. > > Arnd > Ah, got it. Sorry for confusion. Suravee -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/