};
chosen {
- xen,dom0-bootargs = "console=hvc0,115200n8 console=tty1 debug root=/dev/mmcblk0p7 rw rootwait init=/bin/bash"; /*root=/dev/mmcblk0p4 */
+ xen,dom0-bootargs = "console=tty1 debug root=/dev/mmcblk0p7 rw rootwait init=/bin/bash"; /*root=/dev/mmcblk0p4 */
};
aliases {
#ifdef CONFIG_SMP
void gic_raise_softirq(const struct cpumask *mask, unsigned int irq)
{
+ printk("DEBUG %s %d, mask: %p, irq %d\n", __func__, __LINE__, *mask, irq);
+#if 0
int cpu;
unsigned long map = 0;
/* this always happens on GIC0 */
writel_relaxed(map << 16 | irq, gic_data_dist_base(&gic_data[0]) + GIC_DIST_SOFTINT);
+#endif
}
#endif
};
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
static int exynos5_clock_suspend(void)
{
s3c_pm_do_save(exynos5_clock_save, ARRAY_SIZE(exynos5_clock_save));
int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle)
{
unsigned long timeout;
+ printk("DEBUG %s %d, cpu %i\n", __func__, __LINE__, cpu);
/*
* Set synchronisation state between this boot processor
else
ncores = scu_base ? scu_get_core_count(scu_base) : 1;
+ ncores = 1;
/* sanity check */
if (ncores > nr_cpu_ids) {
pr_warn("SMP: %u cores greater than maximum (%u), clipping\n",
cxt->volatile_chunk.start = virt_to_phys(cxt->pstore.buf);
cxt->volatile_chunk.num_bytes = cxt->pstore.bufsize;
+#ifdef CONFIG_PM_SLEEP
pm_register_suspend_volatile(&cxt->volatile_chunk);
+#endif
if (!request_mem_region(cxt->phys_addr, cxt->size, "ramoops")) {
pr_err("request mem region failed\n");
.map = &exynos_iommu_map,
.unmap = &exynos_iommu_unmap,
.iova_to_phys = &exynos_iommu_iova_to_phys,
- .pgsize_bitmap = SECT_SIZE | LPAGE_SIZE | SPAGE_SIZE,
+ .pgsize_bitmap = SPAGE_SIZE,
};
static int __init exynos_iommu_init(void)
* battery charging and regulator control, firmware update.
*/
+/* #define DEBUG */
+/* #define VERBOSE_DEBUG */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/kobject.h>
+#include <linux/err.h>
#include <asm/xen/hypervisor.h>
#include <asm/xen/hypercall.h>
r = vprintk(fmt, args);
va_end(args);
+#if 1
+ {
+ static char buf[512];
+ va_list ap;
+
+ va_start(ap, fmt);
+ vsnprintf(buf, sizeof(buf), fmt, ap);
+ va_end(ap);
+
+ xen_raw_console_write(buf);
+ }
+#endif
return r;
#else
static char buf[512];