From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752877AbcFLHTV (ORCPT ); Sun, 12 Jun 2016 03:19:21 -0400 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:9488 "EHLO mx0a-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752050AbcFLHTU (ORCPT ); Sun, 12 Jun 2016 03:19:20 -0400 Date: Sun, 12 Jun 2016 15:14:55 +0800 From: Jisheng Zhang To: Catalin Marinas CC: , , Subject: Re: [PATCH] arm64: mm: only initialize swiotlb when necessary Message-ID: <20160612151455.66e6cb7b@xhacker> In-Reply-To: <20160608121356.GC16322@e104818-lin.cambridge.arm.com> References: <1465372426-4077-1-git-send-email-jszhang@marvell.com> <20160608121356.GC16322@e104818-lin.cambridge.arm.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-06-12_04:,, signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1606120087 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Catalin, On Wed, 8 Jun 2016 13:13:56 +0100 Catalin Marinas wrote: > On Wed, Jun 08, 2016 at 03:53:46PM +0800, Jisheng Zhang wrote: > > --- a/arch/arm64/mm/dma-mapping.c > > +++ b/arch/arm64/mm/dma-mapping.c > > @@ -19,6 +19,7 @@ > > > > #include > > #include > > +#include > > #include > > #include > > #include > > Why is this include needed? > This is for max_pfn Thanks, Jisheng