Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
David van Moolenbroek a3975fbc35 Kernel: disable assert in prefetch abort handler
For a reason currently unknown to us, the qemu-linaro emulator
sometimes produces a Prefetch Abort exception with a fault location
(IFAR) rather different from the location of the instruction being
executed (LR corrected by 4).  So far it has been observed in the
__udivmodsi4 routine of various processes, where the fault address is
for the first byte of the next page after the current instruction,
which itself is 44-64 bytes away from the start of that next page.
The affected instruction does not perform any sort of memory access.

Short of debugging qemu-linaro itself, we have no choice but to
disable the assert that previously went off in case the IFAR and
corrected LR are not equal.  Since we have not yet observed this case
on actual hardware, the kernel prints a warning when detecting such a
mismatch for the first time.  For the qemu-linaro case, the kernel's
actual page fault handling logic already handles this strange case
just fine.

Change-Id: Ibd19e624149ab4e68bfe75b918ec1554b825a431
2016-03-09 12:11:23 +00:00
bin Import NetBSD ps(1) 2016-01-13 20:32:52 +01:00
common w(1): switch to libkvm 2016-01-13 20:32:50 +01:00
crypto Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
distrib moved service configuration out of system.conf 2016-02-07 19:17:43 +01:00
docs Add PTYFS, Unix98 pseudo terminal support 2015-06-23 17:43:46 +00:00
etc rc: start syslogd with -s (no UDP sockets) 2016-02-29 16:28:16 +00:00
external Cross-compilation fixes: 2016-02-08 13:05:55 +01:00
games Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
gnu NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
include Start using sysctl(3) throughout userland 2016-01-13 20:32:45 +01:00
lib Reduce sysident patches 2016-01-16 14:04:27 +01:00
libexec ld.elf_so: sysctl support uncommented 2016-01-16 14:04:24 +01:00
minix Kernel: disable assert in prefetch abort handler 2016-03-09 12:11:23 +00:00
releasetools Add MIB service, sysctl(2) support 2016-01-13 20:32:37 +01:00
sbin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
share Integrate ASR instrumentation into build system 2016-01-13 20:32:34 +01:00
sys bootloader: do not try to autoload NetBSD modules 2016-01-25 19:29:11 +01:00
tests tests: add most kyua kernel tests 2016-01-16 14:04:25 +01:00
tools Cross-compilation fixes: 2016-02-08 13:05:55 +01:00
usr.bin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
usr.sbin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview build:update 'git review' config to match gerrit.minix3.org 2014-07-28 17:05:15 +02:00
build.sh NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00