Received: from eggs.gnu.org ([2001:4830:134:3::10]:35061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ee6ne-0006k9-Nj for qemu-devel@nongnu.org; Tue, 23 Jan 2018 17:12:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ee6nd-0003sF-SP for qemu-devel@nongnu.org; Tue, 23 Jan 2018 17:12:14 -0500 References: <20180118193846.24953-1-laurent@vivier.eu> <20180118193846.24953-2-laurent@vivier.eu> From: Laurent Vivier Message-ID: Date: Tue, 23 Jan 2018 23:11:28 +0100 MIME-Version: 1.0 In-Reply-To: <20180118193846.24953-2-laurent@vivier.eu> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v4 1/7] accel/tcg: add size paremeter in tlb_fill() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Thomas Huth , Richard Henderson , Paolo Bonzini , Peter Maydell , "Edgar E . Iglesias" , Eduardo Habkost , Michael Walle , Aurelien Jarno , Anthony Green , Chris Wulff , Stafford Horne , Alexander Graf , Artyom Tarasenko , Bastian Koppelmann , Guan Xuetao , Max Filippov , qemu-arm@nongnu.org, qemu-ppc@nongnu.org, qemu-s390x@nongnu.org Le 18/01/2018 à 20:38, Laurent Vivier a écrit : > The MC68040 MMU provides the size of the access that > triggers the page fault. > > This size is set in the Special Status Word which > is written in the stack frame of the access fault > exception. > > So we need the size in m68k_cpu_unassigned_access() and > m68k_cpu_handle_mmu_fault(). > > To be able to do that, this patch modifies the prototype of > handle_mmu_fault handler, tlb_fill() and probe_write(). > do_unassigned_access() already includes a size parameter. I'd like to send a pull request for m68k MMU series, and 68040 MMU relies on this patch. If someone disagrees with this change, it's time to say it! Thanks, Laurent