Re: [PATCH v28 9/9] Documentation: dt: chosen properties for arm64 kdump

2016-11-30 Thread Rob Herring
On Thu, Nov 24, 2016 at 05:14:13PM +, Catalin Marinas wrote: > On Thu, Nov 24, 2016 at 06:59:44PM +0900, AKASHI Takahiro wrote: > > From: James Morse > > > > Add documentation for > > linux,crashkernel-base and crashkernel-size, > > linux,usable-memory-range > >

[PATCHv4 00/10] CONFIG_DEBUG_VIRTUAL for arm64

2016-11-30 Thread Laura Abbott
Hi, This is v4 of the series to add CONFIG_DEBUG_VIRTUAL for arm64. This mostly expanded on __pa_symbol conversion with a few new sites found. There's also some reworking done to avoid calling __va too early. __va relies on having memstart_addr set so very early code in early_fixmap_init and

Re: [PATCH] iommu/vt-d: Flush old iotlb for kdump when the device gets context mapped

2016-11-30 Thread Xunlei Pang
On 11/29/2016 at 10:35 PM, Joerg Roedel wrote: > On Thu, Nov 17, 2016 at 10:47:28AM +0800, Xunlei Pang wrote: >> As per the comment, the code here only needs to flush context caches >> for the special domain 0 which is used to tag the >> non-present/erroneous caches, seems we should flush the old

Re: [PATCH] iommu/vt-d: Flush old iotlb for kdump when the device gets context mapped

2016-11-30 Thread Baoquan He
On 11/30/16 at 05:03pm, Baoquan He wrote: > On 11/30/16 at 04:15pm, Xunlei Pang wrote: > > On 11/29/2016 at 10:35 PM, Joerg Roedel wrote: > > > On Thu, Nov 17, 2016 at 10:47:28AM +0800, Xunlei Pang wrote: > > >> As per the comment, the code here only needs to flush context caches > > >> for the

Re: [PATCH] iommu/vt-d: Flush old iotlb for kdump when the device gets context mapped

2016-11-30 Thread Baoquan He
On 11/30/16 at 04:15pm, Xunlei Pang wrote: > On 11/29/2016 at 10:35 PM, Joerg Roedel wrote: > > On Thu, Nov 17, 2016 at 10:47:28AM +0800, Xunlei Pang wrote: > >> As per the comment, the code here only needs to flush context caches > >> for the special domain 0 which is used to tag the > >>

Re: [PATCH] purgatory: Change default sha256 optimization to -O2

2016-11-30 Thread Simon Horman
On Mon, Nov 28, 2016 at 11:14:38AM +0530, Pratyush Anand wrote: > On Thu, Nov 24, 2016 at 1:23 PM, Simon Horman wrote: > > On Wed, Nov 23, 2016 at 09:57:09AM -0800, Geoff Levand wrote: > >> Change the default purgatory sha256 code optimization from -O0 to -O2, and > >> add a

Re: [PATCHv4 07/10] kexec: Switch to __pa_symbol

2016-11-30 Thread Eric W. Biederman
Dave Young writes: > Hi, Laura > On 11/29/16 at 10:55am, Laura Abbott wrote: >> >> __pa_symbol is the correct api to get the physical address of kernel >> symbols. Switch to it to allow for better debug checking. >> > > I assume __pa_symbol is faster than __pa, but it still

Re: [PATCHv4 07/10] kexec: Switch to __pa_symbol

2016-11-30 Thread Dave Young
Hi, Laura On 11/29/16 at 10:55am, Laura Abbott wrote: > > __pa_symbol is the correct api to get the physical address of kernel > symbols. Switch to it to allow for better debug checking. > I assume __pa_symbol is faster than __pa, but it still need some testing on all arches which support

Re: [PATCHv4 07/10] kexec: Switch to __pa_symbol

2016-11-30 Thread Dave Young
On 11/30/16 at 09:13pm, Eric W. Biederman wrote: > Dave Young writes: > > > Hi, Laura > > On 11/29/16 at 10:55am, Laura Abbott wrote: > >> > >> __pa_symbol is the correct api to get the physical address of kernel > >> symbols. Switch to it to allow for better debug checking.

Re: [PATCH] iommu/vt-d: Flush old iotlb for kdump when the device gets context mapped

2016-11-30 Thread Xunlei Pang
On 11/30/2016 at 10:26 PM, Joerg Roedel wrote: > On Wed, Nov 30, 2016 at 06:23:34PM +0800, Baoquan He wrote: >> OK, talked with Xunlei. The old cache could be entry with present bit >> set. > -EPARSE > > Anyway, what I was trying to say is, that the IOMMU TLB is tagged with > domain-ids, and that

Re: [PATCH v2 2/5] ia64: reuse append_elf_note() and final_note() functions

2016-11-30 Thread Dave Young
Hi Hari Personally I like V1 more, but split the patch 2 is easier for ia64 people to reivew. I did basic x86 testing, it runs ok. On 11/25/16 at 05:24pm, Hari Bathini wrote: > Get rid of multiple definitions of append_elf_note() & final_note() > functions. Reuse these functions compiled under