• Charlie Jacobsen's avatar
    Two simple IPC tests are passing. Still getting mysterious hang. · c667fea5
    Charlie Jacobsen authored
    Working on moving Linux's mm into lcd's.
    
    I gave up trying to debug the hang. Confirmed the pages for the lcd's
    vm are the ones I expect. Turned on red zones. All tests are passing.
    Hang happens after insmod/rmmod of the lcd module about 10 - 20 times, it
    varies. Sometimes one core just silently dies / doesn't even respond to
    an NMI. Sometimes the ethernet driver complains (this could be an
    unrelated bug that was fixed upstream).
    
    Few things in this commit:
    
      1
    =====
    
    Updated documentation in Documentation/lcd-domains/.
    
      2
    =====
    
    Baby version of lib kernel, inside arch/x86/lcd-domains/liblcd.c.
    Unfortunately due to the recursive make, this needs to be textually
    included inside the modules destined for lcd's, for now.
    
      3
    =====
    
    Added new test modules and modified directory structure and
    build system. See documentation in Documentation/lcd-domains.
    
      4
    =====
    
    A few tweaks to the nmi handler to print a backtrace. May remove that in
    the future, as it's probably not safe to do inside an nmi handler (but if
    we're in that error state, we might be desperate to know what's happening ...).
    
      5
    =====
    
    Changed interrupt handling in arch-dependent code. The KVM code we were using
    is probably wrong for 64-bit - it doesn't properly switch stacks, etc., which
    is super important for 64-bit and may be impossible to emulate in
    software. I think this could be stale code inside KVM, but not sure. Dune
    doesn't use it. KVM doesn't ack external interrutps on vm exit, so I think
    this interrupt emulation code is always skipped (at least for non-nested
    VMs).
    
    Instead, we're not ack'ing interrupts on exit, and letting the native code
    do the right thing, like Dune.
    
    I was thinking this might be the source of the bad hang (stack
    overflow, e.g.), but not true.
    
    Conflicts:
    	include/linux/sched.h
    	kernel/watchdog.c
    	virt/lcd-domains/lcd-cspace-tests2.c
    Resolved-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
    c667fea5
Name
Last commit
Last update
..
ABI Loading commit data...
DocBook Loading commit data...
EDID Loading commit data...
PCI Loading commit data...
RCU Loading commit data...
accounting Loading commit data...
acpi Loading commit data...
aoe Loading commit data...
arm Loading commit data...
arm64 Loading commit data...
auxdisplay Loading commit data...
backlight Loading commit data...
blackfin Loading commit data...
block Loading commit data...
blockdev Loading commit data...
bus-devices Loading commit data...
capability Loading commit data...
cdrom Loading commit data...
cgroup-v1 Loading commit data...
cma Loading commit data...
connector Loading commit data...
console Loading commit data...
cpu-freq Loading commit data...
cpuidle Loading commit data...
cris Loading commit data...
crypto Loading commit data...
development-process Loading commit data...
device-mapper Loading commit data...
devicetree Loading commit data...
dmaengine Loading commit data...
driver-model Loading commit data...
early-userspace Loading commit data...
extcon Loading commit data...
fault-injection Loading commit data...
fb Loading commit data...
features Loading commit data...
filesystems Loading commit data...
firmware_class Loading commit data...
fmc Loading commit data...
fpga Loading commit data...
frv Loading commit data...
gpio Loading commit data...
gpu Loading commit data...
hid Loading commit data...
hwmon Loading commit data...
i2c Loading commit data...
ia64 Loading commit data...
ide Loading commit data...
iio Loading commit data...
infiniband Loading commit data...
input Loading commit data...
ioctl Loading commit data...
isdn Loading commit data...
ja_JP Loading commit data...
kbuild Loading commit data...
kdump Loading commit data...
ko_KR Loading commit data...
laptops Loading commit data...
lcd-domains Loading commit data...
leds Loading commit data...
livepatch Loading commit data...
locking Loading commit data...
m68k Loading commit data...
media Loading commit data...
memory-devices Loading commit data...
metag Loading commit data...
mic Loading commit data...
mips Loading commit data...
misc-devices Loading commit data...
mmc Loading commit data...
mn10300 Loading commit data...
mtd Loading commit data...
namespaces Loading commit data...
netlabel Loading commit data...
networking Loading commit data...
nfc Loading commit data...
nios2 Loading commit data...
nvdimm Loading commit data...
nvmem Loading commit data...
parisc Loading commit data...
pcmcia Loading commit data...
phy Loading commit data...
platform Loading commit data...
power Loading commit data...
powerpc Loading commit data...
pps Loading commit data...
prctl Loading commit data...
pti Loading commit data...
ptp Loading commit data...
rapidio Loading commit data...
s390 Loading commit data...
scheduler Loading commit data...
scsi Loading commit data...
security Loading commit data...
serial Loading commit data...
sh Loading commit data...
sound Loading commit data...
sphinx Loading commit data...
sphinx-static Loading commit data...
spi Loading commit data...
sysctl Loading commit data...
target Loading commit data...
thermal Loading commit data...
timers Loading commit data...
tpm Loading commit data...
trace Loading commit data...
usb Loading commit data...
vDSO Loading commit data...
virtual Loading commit data...
vm Loading commit data...
w1 Loading commit data...
watchdog Loading commit data...
wimax Loading commit data...
x86 Loading commit data...
xtensa Loading commit data...
zh_CN Loading commit data...
.gitignore Loading commit data...
00-INDEX Loading commit data...
BUG-HUNTING Loading commit data...
Changes Loading commit data...
CodeOfConflict Loading commit data...
CodingStyle Loading commit data...
DMA-API-HOWTO.txt Loading commit data...
DMA-API.txt Loading commit data...
DMA-ISA-LPC.txt Loading commit data...
DMA-attributes.txt Loading commit data...
HOWTO Loading commit data...
IPMI.txt Loading commit data...
IRQ-affinity.txt Loading commit data...
IRQ-domain.txt Loading commit data...
IRQ.txt Loading commit data...
Intel-IOMMU.txt Loading commit data...
Makefile Loading commit data...
Makefile.sphinx Loading commit data...
ManagementStyle Loading commit data...
SAK.txt Loading commit data...
SM501.txt Loading commit data...
SecurityBugs Loading commit data...
SubmitChecklist Loading commit data...
SubmittingDrivers Loading commit data...
SubmittingPatches Loading commit data...
VGA-softcursor.txt Loading commit data...
adding-syscalls.txt Loading commit data...
applying-patches.txt Loading commit data...
assoc_array.txt Loading commit data...
atomic_ops.txt Loading commit data...
bad_memory.txt Loading commit data...
basic_profiling.txt Loading commit data...
bcache.txt Loading commit data...
binfmt_misc.txt Loading commit data...
braille-console.txt Loading commit data...
bt8xxgpio.txt Loading commit data...
btmrvl.txt Loading commit data...
bus-virt-phys-mapping.txt Loading commit data...
cachetlb.txt Loading commit data...
cec.txt Loading commit data...
cgroup-v2.txt Loading commit data...
circular-buffers.txt Loading commit data...
clk.txt Loading commit data...
coccinelle.txt Loading commit data...
conf.py Loading commit data...
cpu-hotplug.txt Loading commit data...
cpu-load.txt Loading commit data...
cputopology.txt Loading commit data...
crc32.txt Loading commit data...
dcdbas.txt Loading commit data...
debugging-modules.txt Loading commit data...
debugging-via-ohci1394.txt Loading commit data...
dell_rbu.txt Loading commit data...
devices.txt Loading commit data...
digsig.txt Loading commit data...
dma-buf-sharing.txt Loading commit data...
dontdiff Loading commit data...
dynamic-debug-howto.txt Loading commit data...
edac.txt Loading commit data...
efi-stub.txt Loading commit data...
eisa.txt Loading commit data...
email-clients.txt Loading commit data...
flexible-arrays.txt Loading commit data...
futex-requeue-pi.txt Loading commit data...
gcc-plugins.txt Loading commit data...
gcov.txt Loading commit data...
gdb-kernel-debugging.txt Loading commit data...
highuid.txt Loading commit data...
hsi.txt Loading commit data...
hw_random.txt Loading commit data...
hwspinlock.txt Loading commit data...
index.rst Loading commit data...
init.txt Loading commit data...
initrd.txt Loading commit data...
intel_txt.txt Loading commit data...
io-mapping.txt Loading commit data...
io_ordering.txt Loading commit data...
iostats.txt Loading commit data...
irqflags-tracing.txt Loading commit data...
isa.txt Loading commit data...
isapnp.txt Loading commit data...
java.txt Loading commit data...
kasan.txt Loading commit data...
kcov.txt Loading commit data...
kernel-doc-nano-HOWTO.txt Loading commit data...
kernel-docs.txt Loading commit data...
kernel-documentation.rst Loading commit data...
kernel-parameters.txt Loading commit data...
kernel-per-CPU-kthreads.txt Loading commit data...
kmemcheck.txt Loading commit data...
kmemleak.txt Loading commit data...
kobject.txt Loading commit data...
kprobes.txt Loading commit data...
kref.txt Loading commit data...
kselftest.txt Loading commit data...
ldm.txt Loading commit data...
local_ops.txt Loading commit data...
lockup-watchdogs.txt Loading commit data...
logo.gif Loading commit data...
logo.txt Loading commit data...
lzo.txt Loading commit data...
magic-number.txt Loading commit data...
mailbox.txt Loading commit data...
md-cluster.txt Loading commit data...
md.txt Loading commit data...
memory-barriers.txt Loading commit data...
memory-hotplug.txt Loading commit data...
men-chameleon-bus.txt Loading commit data...
module-signing.txt Loading commit data...
mono.txt Loading commit data...
nommu-mmap.txt Loading commit data...
ntb.txt Loading commit data...
numastat.txt Loading commit data...
oops-tracing.txt Loading commit data...
padata.txt Loading commit data...
parport-lowlevel.txt Loading commit data...
parport.txt Loading commit data...
percpu-rw-semaphore.txt Loading commit data...
phy.txt Loading commit data...
pi-futex.txt Loading commit data...
pinctrl.txt Loading commit data...
pnp.txt Loading commit data...
preempt-locking.txt Loading commit data...
printk-formats.txt Loading commit data...
pwm.txt Loading commit data...
ramoops.txt Loading commit data...
rbtree.txt Loading commit data...
remoteproc.txt Loading commit data...
rfkill.txt Loading commit data...
robust-futex-ABI.txt Loading commit data...
robust-futexes.txt Loading commit data...
rpmsg.txt Loading commit data...
rtc.txt Loading commit data...
serial-console.txt Loading commit data...
sgi-ioc4.txt Loading commit data...
smsc_ece1099.txt Loading commit data...
sparse.txt Loading commit data...
stable_api_nonsense.txt Loading commit data...
stable_kernel_rules.txt Loading commit data...
static-keys.txt Loading commit data...
svga.txt Loading commit data...
sync_file.txt Loading commit data...
sysfs-rules.txt Loading commit data...
sysrq.txt Loading commit data...
this_cpu_ops.txt Loading commit data...
ubsan.txt Loading commit data...
unaligned-memory-access.txt Loading commit data...
unicode.txt Loading commit data...
unshare.txt Loading commit data...
vfio.txt Loading commit data...
vgaarbiter.txt Loading commit data...
video-output.txt Loading commit data...
vme_api.txt Loading commit data...
volatile-considered-harmful.txt Loading commit data...
workqueue.txt Loading commit data...
xillybus.txt Loading commit data...
xz.txt Loading commit data...
zorro.txt Loading commit data...