From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756038Ab3A2C1S (ORCPT ); Mon, 28 Jan 2013 21:27:18 -0500 Received: from mail-lb0-f175.google.com ([209.85.217.175]:58098 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751958Ab3A2C1Q (ORCPT ); Mon, 28 Jan 2013 21:27:16 -0500 MIME-Version: 1.0 In-Reply-To: References: <20130109132409.GB18395@phenom.dumpdata.com> <87d2xeul5v.fsf@xmission.com> <20130111163548.GB25620@phenom.dumpdata.com> <20130118155535.GJ9973@phenom.dumpdata.com> <20130124153924.GA5943@konrad-lan.dumpdata.com> Date: Mon, 28 Jan 2013 19:27:14 -0700 Message-ID: Subject: Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it From: Shuah Khan To: Yinghai Lu Cc: Konrad Rzeszutek Wilk , Konrad Rzeszutek Wilk , "Eric W. Biederman" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrew Morton , Borislav Petkov , Jan Kiszka , Jason Wessel , linux-kernel@vger.kernel.org, Joerg Roedel Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 24, 2013 at 2:50 PM, Yinghai Lu wrote: > On Thu, Jan 24, 2013 at 11:22 AM, Shuah Khan wrote: >>> >>> I still have the AMD system I tested earlier versions of this work. I >>> started compiles with these patches on 3.7 and will let you know the >>> status. >> >> Tested 3.8-rc4 with the patches on AMD system with IOMMU on. Looks >> good. I can't test low memory paths on this system very easily without >> mucking with the code and force it treat it as low memory. So I just >> tested the normal path. My main goal was to make sure AMD iommu driver >> can still enable switolb and it does. > > good. > >> >> If you would like to me test the error cases, please let me know. > > please check > git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git > for-x86-boot > > and boot your test setups with memmap=4095$1M > > Thanks > > Yinghai Yinghai, Your for-x86-boot git boots on AMD system I have. However, with memmap=4095$1M option, it panics very early in boot. I don't have physical access to the console and I will try to get you the panic information tomorrow. -- Shuah