Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375675
b: refs/heads/master
c: 186f27f
h: refs/heads/master
i:
  375673: 7719572
  375671: d42c62a
v: v3
  • Loading branch information
Jon Mason committed May 15, 2013
1 parent b8e6df1 commit 299c7e3
Show file tree
Hide file tree
Showing 181 changed files with 1,614 additions and 2,950 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e2a978ec72cffe4739f5ef7618961d6a6209fa66
refs/heads/master: 186f27ff9f9ec5c110739ced88ce9f8fca053882
202 changes: 0 additions & 202 deletions trunk/Documentation/kernel-per-CPU-kthreads.txt

This file was deleted.

2 changes: 1 addition & 1 deletion trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -7854,7 +7854,7 @@ L: linux-scsi@vger.kernel.org
L: target-devel@vger.kernel.org
L: http://groups.google.com/group/linux-iscsi-target-dev
W: http://www.linux-iscsi.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master
T: git git://git.kernel.org/pub/scm/linux/kernel/git/nab/lio-core.git master
S: Supported
F: drivers/target/
F: include/target/
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,6 @@ config USE_GENERIC_SMP_HELPERS
config GENERIC_SMP_IDLE_THREAD
bool

config GENERIC_IDLE_POLL_SETUP
bool

# Select if arch init_task initializer is different to init/init_task.c
config ARCH_INIT_TASK
bool
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ config ARM
select HAVE_GENERIC_HARDIRQS
select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7))
select HAVE_IDE if PCI || ISA || PCMCIA
select HAVE_IRQ_TIME_ACCOUNTING
select HAVE_KERNEL_GZIP
select HAVE_KERNEL_LZMA
select HAVE_KERNEL_LZO
Expand Down Expand Up @@ -489,7 +488,7 @@ config ARCH_IXP4XX
config ARCH_DOVE
bool "Marvell Dove"
select ARCH_REQUIRE_GPIOLIB
select CPU_PJ4
select CPU_V7
select GENERIC_CLOCKEVENTS
select MIGHT_HAVE_PCI
select PINCTRL
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ define archhelp
echo ' Image - Uncompressed kernel image (arch/$(ARCH)/boot/Image)'
echo '* xipImage - XIP kernel image, if configured (arch/$(ARCH)/boot/xipImage)'
echo ' uImage - U-Boot wrapped zImage'
echo ' bootpImage - Combined zImage and initial RAM disk'
echo ' bootpImage - Combined zImage and initial RAM disk'
echo ' (supply initrd image via make variable INITRD=<path>)'
echo '* dtbs - Build device tree blobs for enabled boards'
echo ' install - Install uncompressed kernel'
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/arm/common/mcpm_platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include <linux/smp.h>
#include <linux/spinlock.h>

#include <linux/irqchip/arm-gic.h>

#include <asm/mcpm.h>
#include <asm/smp.h>
#include <asm/smp_plat.h>
Expand Down Expand Up @@ -47,6 +49,7 @@ static int __cpuinit mcpm_boot_secondary(unsigned int cpu, struct task_struct *i
static void __cpuinit mcpm_secondary_init(unsigned int cpu)
{
mcpm_cpu_powered_up();
gic_secondary_init(0);
}

#ifdef CONFIG_HOTPLUG_CPU
Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/arm/include/asm/cmpxchg.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,15 +233,15 @@ static inline unsigned long __cmpxchg_local(volatile void *ptr,
((__typeof__(*(ptr)))atomic64_cmpxchg(container_of((ptr), \
atomic64_t, \
counter), \
(unsigned long long)(o), \
(unsigned long long)(n)))
(unsigned long)(o), \
(unsigned long)(n)))

#define cmpxchg64_local(ptr, o, n) \
((__typeof__(*(ptr)))local64_cmpxchg(container_of((ptr), \
local64_t, \
a), \
(unsigned long long)(o), \
(unsigned long long)(n)))
(unsigned long)(o), \
(unsigned long)(n)))

#endif /* __LINUX_ARM_ARCH__ >= 6 */

Expand Down
33 changes: 19 additions & 14 deletions trunk/arch/arm/xen/enlighten.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,11 @@ int xen_unmap_domain_mfn_range(struct vm_area_struct *vma,
}
EXPORT_SYMBOL_GPL(xen_unmap_domain_mfn_range);

static void __init xen_percpu_init(void *unused)
static int __init xen_secondary_init(unsigned int cpu)
{
struct vcpu_register_vcpu_info info;
struct vcpu_info *vcpup;
int err;
int cpu = get_cpu();

pr_info("Xen: initializing cpu%d\n", cpu);
vcpup = per_cpu_ptr(xen_vcpu_info, cpu);
Expand All @@ -166,10 +165,14 @@ static void __init xen_percpu_init(void *unused)
info.offset = offset_in_page(vcpup);

err = HYPERVISOR_vcpu_op(VCPUOP_register_vcpu_info, cpu, &info);
BUG_ON(err);
per_cpu(xen_vcpu, cpu) = vcpup;

enable_percpu_irq(xen_events_irq, 0);
if (err) {
pr_debug("register_vcpu_info failed: err=%d\n", err);
} else {
/* This cpu is using the registered vcpu info, even if
later ones fail to. */
per_cpu(xen_vcpu, cpu) = vcpup;
}
return 0;
}

static void xen_restart(char str, const char *cmd)
Expand Down Expand Up @@ -205,6 +208,7 @@ static int __init xen_guest_init(void)
const char *version = NULL;
const char *xen_prefix = "xen,xen-";
struct resource res;
int i;

node = of_find_compatible_node(NULL, NULL, "xen,xen");
if (!node) {
Expand Down Expand Up @@ -261,30 +265,31 @@ static int __init xen_guest_init(void)
sizeof(struct vcpu_info));
if (xen_vcpu_info == NULL)
return -ENOMEM;
for_each_online_cpu(i)
xen_secondary_init(i);

gnttab_init();
if (!xen_initial_domain())
xenbus_probe(NULL);

return 0;
}
core_initcall(xen_guest_init);

static int __init xen_pm_init(void)
{
pm_power_off = xen_power_off;
arm_pm_restart = xen_restart;

return 0;
}
subsys_initcall(xen_pm_init);
core_initcall(xen_guest_init);

static irqreturn_t xen_arm_callback(int irq, void *arg)
{
xen_hvm_evtchn_do_upcall();
return IRQ_HANDLED;
}

static __init void xen_percpu_enable_events(void *unused)
{
enable_percpu_irq(xen_events_irq, 0);
}

static int __init xen_init_events(void)
{
if (!xen_domain() || xen_events_irq < 0)
Expand All @@ -298,7 +303,7 @@ static int __init xen_init_events(void)
return -EINVAL;
}

on_each_cpu(xen_percpu_init, NULL, 0);
on_each_cpu(xen_percpu_enable_events, NULL, 0);

return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/parisc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ config SMP

config IRQSTACKS
bool "Use separate kernel stacks when processing interrupts"
default y
default n
help
If you say Y here the kernel will use separate kernel stacks
for handling hard and soft interrupts. This can help avoid
Expand Down
Loading

0 comments on commit 299c7e3

Please sign in to comment.