NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/54720: pagein problem by prefetching Thumb 32bit instruction on a page boundary



The following reply was made to PR port-arm/54720; it has been noted by GNATS.

From: Ryo Shimizu <ryo%nerv.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: port-arm-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost
Subject: Re: port-arm/54720: pagein problem by prefetching Thumb 32bit instruction on a page boundary
Date: Thu, 28 Nov 2019 14:27:24 +0900

 Additional information.
 There is another way to resolve this:
 
 #if 1
 	__asm __volatile ("mrc p15, 0, %0, c6, c0, 2" : "=r"(fault_pc));	/* ifar */
 #else
 	fault_pc = tf->tf_pc;
 #endif
 
 However, the ifar (instruction fault address register) is an optional implementation in ARMv6.
 So I think the first patch is reasonable.
 
 -- 
 ryo shimizu
 


Home | Main Index | Thread Index | Old Index