Re: [PATCH v3 2/2] x86/kdump: Reserve extra memory when SME or SEV is active

2019-10-15 Thread Kairui Song
thiOn Tue, Oct 15, 2019 at 10:18 AM Dave Young wrote: > > On 10/14/19 at 07:05pm, Dave Young wrote: > > On 10/12/19 at 05:24pm, Kairui Song wrote: > > > On 9/27/19 1:42 PM, Dave Young wrote: > > > > On 09/25/19 at 06:36pm, Kairui Song wrote: > > > > > On Wed, Sep 11, 2019 at 1:56 PM Ingo Molnar

Re: [PATCH v3 2/2] x86/kdump: Reserve extra memory when SME or SEV is active

2019-10-14 Thread Dave Young
On 10/14/19 at 07:05pm, Dave Young wrote: > On 10/12/19 at 05:24pm, Kairui Song wrote: > > On 9/27/19 1:42 PM, Dave Young wrote: > > > On 09/25/19 at 06:36pm, Kairui Song wrote: > > > > On Wed, Sep 11, 2019 at 1:56 PM Ingo Molnar wrote: > > > > > * Kairui Song wrote: > > > > > > > > > > > Since

Re: [PATCH v3 2/2] x86/kdump: Reserve extra memory when SME or SEV is active

2019-10-14 Thread Dave Young
On 10/14/19 at 07:05pm, Dave Young wrote: > On 10/12/19 at 05:24pm, Kairui Song wrote: > > On 9/27/19 1:42 PM, Dave Young wrote: > > > On 09/25/19 at 06:36pm, Kairui Song wrote: > > > > On Wed, Sep 11, 2019 at 1:56 PM Ingo Molnar wrote: > > > > > * Kairui Song wrote: > > > > > > > > > > > Since

Re: [PATCH v3 2/2] x86/kdump: Reserve extra memory when SME or SEV is active

2019-10-14 Thread Dave Young
On 10/12/19 at 05:24pm, Kairui Song wrote: > On 9/27/19 1:42 PM, Dave Young wrote: > > On 09/25/19 at 06:36pm, Kairui Song wrote: > > > On Wed, Sep 11, 2019 at 1:56 PM Ingo Molnar wrote: > > > > * Kairui Song wrote: > > > > > > > > > Since commit c7753208a94c ("x86, swiotlb: Add memory encryptio

Re: [PATCH v3 2/2] x86/kdump: Reserve extra memory when SME or SEV is active

2019-10-12 Thread Kairui Song
On 9/27/19 1:42 PM, Dave Young wrote: On 09/25/19 at 06:36pm, Kairui Song wrote: On Wed, Sep 11, 2019 at 1:56 PM Ingo Molnar wrote: * Kairui Song wrote: Since commit c7753208a94c ("x86, swiotlb: Add memory encryption support"), SWIOTLB will be enabled even if there is less than 4G of memory

Re: [PATCH v3 2/2] x86/kdump: Reserve extra memory when SME or SEV is active

2019-09-27 Thread Kairui Song
On Fri, Sep 27, 2019 at 1:42 PM Dave Young wrote: > > On 09/25/19 at 06:36pm, Kairui Song wrote: > > On Wed, Sep 11, 2019 at 1:56 PM Ingo Molnar wrote: > > > * Kairui Song wrote: > > > > > > > Since commit c7753208a94c ("x86, swiotlb: Add memory encryption > > > > support"), > > > > SWIOTLB wil

Re: [PATCH v3 2/2] x86/kdump: Reserve extra memory when SME or SEV is active

2019-09-26 Thread Dave Young
On 09/25/19 at 06:36pm, Kairui Song wrote: > On Wed, Sep 11, 2019 at 1:56 PM Ingo Molnar wrote: > > * Kairui Song wrote: > > > > > Since commit c7753208a94c ("x86, swiotlb: Add memory encryption support"), > > > SWIOTLB will be enabled even if there is less than 4G of memory when SME > > > is act

Re: [PATCH v3 2/2] x86/kdump: Reserve extra memory when SME or SEV is active

2019-09-25 Thread Kairui Song
On Wed, Sep 11, 2019 at 1:56 PM Ingo Molnar wrote: > * Kairui Song wrote: > > > Since commit c7753208a94c ("x86, swiotlb: Add memory encryption support"), > > SWIOTLB will be enabled even if there is less than 4G of memory when SME > > is active, to support DMA of devices that not support address

Re: [PATCH v3 2/2] x86/kdump: Reserve extra memory when SME or SEV is active

2019-09-10 Thread Ingo Molnar
* Kairui Song wrote: > Since commit c7753208a94c ("x86, swiotlb: Add memory encryption support"), > SWIOTLB will be enabled even if there is less than 4G of memory when SME > is active, to support DMA of devices that not support address with the > encrypt bit. > > And commit aba2d9a6385a ("iom

[PATCH v3 2/2] x86/kdump: Reserve extra memory when SME or SEV is active

2019-09-10 Thread Kairui Song
Since commit c7753208a94c ("x86, swiotlb: Add memory encryption support"), SWIOTLB will be enabled even if there is less than 4G of memory when SME is active, to support DMA of devices that not support address with the encrypt bit. And commit aba2d9a6385a ("iommu/amd: Do not disable SWIOTLB if SME