Received: from eggs.gnu.org ([2001:4830:134:3::10]:46563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btzVs-0005IA-CP for qemu-devel@nongnu.org; Tue, 11 Oct 2016 12:02:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btzVp-0005DY-4U for qemu-devel@nongnu.org; Tue, 11 Oct 2016 12:02:44 -0400 Received: from mail-it0-x243.google.com ([2607:f8b0:4001:c0b::243]:33083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btzVo-0005CT-SU for qemu-devel@nongnu.org; Tue, 11 Oct 2016 12:02:41 -0400 Received: by mail-it0-x243.google.com with SMTP id m138so1899529itm.0 for ; Tue, 11 Oct 2016 09:02:40 -0700 (PDT) Sender: Richard Henderson References: <1474047287-145701-1-git-send-email-thomas.hanson@linaro.org> <1474047287-145701-3-git-send-email-thomas.hanson@linaro.org> <57F57641.3090104@linaro.org> From: Richard Henderson Message-ID: Date: Tue, 11 Oct 2016 11:02:36 -0500 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/3] target-arm: Code changes to implement overwrite of tag field on PC load List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Hanson , Peter Maydell Cc: QEMU Developers , Grant Likely On 10/11/2016 10:51 AM, Thomas Hanson wrote: > > As a separate issue, we now have functions to load the PC from an immediate > value and from a register. Where else could we legitimately load the PC from? E.g. an internal cpu register holding an exception return address? I don't know the supervisor state of ARM well enough to name it off hand. While it's true that quite a lot of qemu handles privilege transitions in helper functions, it's not required. (At least Alpha handles return from interrupt and return from PALmode completely inline.) r~