[PATCH] small bug-fixes

From: Konrad Rzeszutek Wilk
Date: Thu Mar 10 2011 - 15:37:26 EST


During testing (git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git #linux-next)

I found that ballooning of PV guests stopped working and traced it down to
2f14ddc3a7146ea4cd5a3d1ecd993f85f2e4f948
"xen/setup: Inhibit resource API from using System RAM E820 gaps as PCI mem gaps"
which is correct for the initial domain, but not for true PV guests. This patch:

"xen/e820: Don't mark balloon memory as E820_UNUSABLE when running as guest."
fixes that.

The second I found when running 2.6.32 pvops tree when we swapped over from
using level_irq handler for VIRQ to percpu irq handler. There is a race window
that I was able to hit 66% of time. With 2.6.38 I can't seem to hit this and I am
not sure why - but it still makes sense to add this patch in. The patch in
question is:

xen/hvc: Disable probe_irq_on/off from poking the hvc-console IRQ line.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/