Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is notenough ram for it

From: Shuah Khan
Date: Mon Jan 28 2013 - 21:27:01 EST


On Thu, Jan 24, 2013 at 2:50 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
> On Thu, Jan 24, 2013 at 11:22 AM, Shuah Khan <shuahkhan@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/