[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151019180214.GH11226@e104818-lin.cambridge.arm.com>
Date: Mon, 19 Oct 2015 19:02:15 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Jungseok Lee <jungseoklee85@...il.com>
Cc: will.deacon@....com, linux-arm-kernel@...ts.infradead.org,
Mark Rutland <mark.rutland@....com>,
AKASHI Takahiro <takahiro.akashi@...aro.org>,
James Morse <james.morse@....com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] arm64: Synchronise dump_backtrace() with perf
callchain
On Sat, Oct 17, 2015 at 02:28:11PM +0000, Jungseok Lee wrote:
> Note that this patch does not cover a case where MMU is disabled. The
> last stack frame of swapper, for example, has PC in a form of physical
> address. Unfortunately, a simple conversion using phys_to_virt() cannot
> cover all scenarios since PC is retrieved from LR - 4, not LR. It is
> a big tradeoff to change both head.S and unwind_frame() for only a few
> of symbols in *.S. Thus, this hunk does not take care of the case.
That's fine, I think we can cope with a physical address as the last
entry in the trace.
Patch queued for 4.4. Thanks.
--
Catalin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists