Hi,
> Breaks the cell code with:
>
> arch/powerpc/platforms/cell/iommu.c:521:15: error: 'struct
> iommu_table' has no member named 'it_hint'
Yuck, I'll spin a fix. There's no need for the code to bump the hint.
Anton
___
Linuxppc-dev mailing list
Lin
improved 69% with this patch applied.
Signed-off-by: Anton Blanchard
---
All patches combined improve performance by 178%
v2.0: Fix cell build, noticed by mpe.
Index: linux-build/arch/powerpc/kernel/iommu.c
===
--- linux-build.orig
cycles
Signed-off-by: Anton Blanchard
---
Outstanding issues:
- Do we have any KVM issues?
- This will only work with 64 bit kernels for now, do we need to come up
with a scheme for 32 bit?
- Implement 32 bit userspace version (running on 64 bit kernels)
Index: linux-build/arch/powerpc
a DMA window.
Signed-off-by: Anton Blanchard
---
Index: linux-build/arch/powerpc/kernel/vio.c
===
--- linux-build.orig/arch/powerpc/kernel/vio.c 2012-06-08 14:02:05.548512941
+1000
+++ linux-build/arch/powerpc/kernel/vio.c
Similar to PCI, separate the bus probe from device probe. This allows
us to attach bus notifiers for DMA debug and IOMMU fault injection
before devices have been probed.
Signed-off-by: Anton Blanchard
---
Index: linux-build/arch/powerpc/kernel/vio.c
The DMA API debug code has hooks to verify all DMA entries have been
freed at time of hot unplug. We need to call dma_debug_add_bus for
this to work.
Signed-off-by: Anton Blanchard
---
Index: linux-build/arch/powerpc/kernel/vio.c
2net 0003:01:00.1: Unrecoverable error in the card
Signed-off-by: Anton Blanchard
---
Index: linux-build/arch/powerpc/kernel/iommu.c
===
--- linux-build.orig/arch/powerpc/kernel/iommu.c2012-06-08
09:01:02.785709100 +1000
We want to access the MMCRA_SIHV and MMCRA_SIPR bits elsewhere so
create mmcra_sihv and mmcra_sipr which hide the differences between
the old and new layout of the bits.
Signed-off-by: Anton Blanchard
---
Index: linux-build/arch/powerpc/perf/core-book3s.c
The logic to choose whether to use the SIAR or get the information
out of pt_regs is going to get more complicated, so do it once in
perf_read_regs.
We overload regs->result which is gross but we are already doing it
with regs->dsisr.
Signed-off-by: Anton Blanchard
---
Other archite
unable to profile any of our early exception code for example.
Signed-off-by: Anton Blanchard
---
Index: linux-build/arch/powerpc/perf/core-book3s.c
===
--- linux-build.orig/arch/powerpc/perf/core-book3s.c2012-06-26
10:45
We use SIAR or regs->nip for the instruction pointer depending on
the PMU configuration, but we always use regs->nip in the callchain.
Use perf_instruction_pointer so the backtrace is consistent.
Signed-off-by: Anton Blanchard
---
Index: linux-build/arch/powerpc/perf/callc
Hi Scott,
> Won't this break core-fsl-emb, which doesn't define
> perf_instruction_pointer()?
It links ok for me. You should get the default version:
#ifndef perf_misc_flags
# define perf_misc_flags(regs) \
(user_mode(regs) ? PERF_RECORD_MISC_USER :
PERF_RECORD_MISC_KERNEL)
# d
d back in the lazy interrupt handling rework
of 3.4 but was hidden until recently because hard_irq_disable did
nothing.
This issue will eventually appear in 3.4 stable since the
hard_irq_disable fix is marked stable, so mark this one for stable
too.
Signed-off-by: Anton Blanchard
Cc: sta...@vg
_disable did
nothing.
This issue will eventually appear in 3.4 stable since the
hard_irq_disable fix is marked stable, so mark this one for stable
too.
Signed-off-by: Anton Blanchard
Cc: sta...@vger.kernel.org
---
v2: create a helper, suggested by Ben.
Index: linux-build/arch/powerpc/platfor
artition but were never started (eg kexec into a kernel with an
nr_cpus= boot option). They are going to die way before we get into
xmon since we haven't set any kernel state up for them.
Signed-off-by: Anton Blanchard
---
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
when transitioning from the guest to the host.
I have a glibc patch that implements sched_getcpu on top of this.
Testing on a POWER7:
baseline: 538 cycles
vdso: 30 cycles
Signed-off-by: Anton Blanchard
---
v2:
- Fix kvm
- add vdso32 version on 64bit kernel
Index: linux-build/arch/powerpc
ocks on shared processor partitions use H_YIELD to notify the
hypervisor we are waiting on another virtual CPU. Unfortunately this means
the hcall tracepoints can recurse.
The patch below adds a percpu depth and checks it on both the entry and
exit hcall tracepoints.
Signed-off-by: Anton Blanchard
---
Hi,
> > Now, I think this is the problem.
> >
> > The "assigned-addresses" property seems to indicate that the
> > firmware only assigned BAR 4 and didn't assign anything to the
> > other ones.
> >
> > I don't know why, but it definitely looks like a firmware bug to me.
> > On those machines, P
avoid the SPR write.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/include/asm/emulated_ops.h
===
--- powerpc.git.orig/arch/powerpc/include/asm/emulated_ops.h2010-10-26
08:27:15.241519117 +1100
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/kernel/iommu.c
===
--- powerpc.git.orig/arch/powerpc/kernel/iommu.c2010-12-08
11:28:39.055483332 +1100
+++ powerpc.git/arch/powerpc/kernel/iommu.c 2010
The popcnt instructions went into binutils relatively recently. As with a
number of other instructions, create macros and hardcode them.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/include/asm/ppc-opcode.h
We now allow interrupt stacks anywhere in the first segment which can be
256M or 1TB. Fix the comment.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/kernel/setup_64.c
===
--- powerpc.git.orig/arch/powerpc
Hi,
These patches have been sitting around in my tree for a while. Back
when I was trying to understand the twisty maze of powerpc kexec/kdump
I did a number of cleanups. Here they are.
Anton
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
Move all the kexec handlers together.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/include/asm/machdep.h
===
--- powerpc.git.orig/arch/powerpc/include/asm/machdep.h 2011-01-07
12:50:52.020438276 +1100
No one uses ppc_md.machine_kexec_cleanup, so remove it.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/include/asm/machdep.h
===
--- powerpc.git.orig/arch/powerpc/include/asm/machdep.h 2011-01-07
12:51
No one uses ppc_md.machine_kexec, so remove it.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/include/asm/machdep.h
===
--- powerpc.git.orig/arch/powerpc/include/asm/machdep.h 2011-01-07
12:51:51.352308248
No one uses ppc_md.machine_crash_shutdown, so remove it.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/include/asm/machdep.h
===
--- powerpc.git.orig/arch/powerpc/include/asm/machdep.h 2011-01-07
12:51
There's no need to initialise ppc_md.machine_kexec and
ppc_md.machine_kexec_prepare to the default handlers.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/platforms/cell/qpace_setup.c
===
--- powerpc.git
We check for a valid handler before calling ppc_md.machine_kexec_prepare
so we can just remove these empty handlers.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/platforms/embedded6xx/wii.c
Use the crash handler hooks to run the SPU stop code, just like we do for
ehea and cell RAS code.
While I'm here I noticed "CPUSs reliabally"
so fix the spelling MISTAKESs reliabally.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc
CONFIG_KEXEC_JUMP), add the restore code in case we do one day.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/kernel/machine_kexec.c
===
--- powerpc.git.orig/arch/powerpc/kernel/machine_kexec.c2011-01-07
Here are a number of fixes to our machine check handling, found when
testing our memory uncorrectable error handling.
Anton
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
We were printing 64 bits of DSISR in show_regs even though it is 32 bit.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/kernel/process.c
===
--- powerpc.git.orig/arch/powerpc/kernel/process.c 2010-10-15
We should never force MSR_RI on. If we take a machine check with MSR_RI off
then we have no chance of recovering safely.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/kernel/traps.c
===
--- powerpc.git.orig
machine
check handler.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/platforms/pseries/ras.c
===
--- powerpc.git.orig/arch/powerpc/platforms/pseries/ras.c 2010-09-27
21:19:32.805480948 +1000
+++ powerpc.git
We are calling debugger_fault_handler twice in machine_check_exception.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/kernel/traps.c
===
--- powerpc.git.orig/arch/powerpc/kernel/traps.c2011-01-11
13
ation, potentially causing a lot
of confusion.
Signed-off-by: Anton Blanchard
---
I seem to remember this might be here for X on 32bit. If necessary I can
wrap it in an ifdef CONFIG_PPC32.
Index: powerpc.git/arch/powerpc/kernel/tr
ields when receiving a synchronous
machine check. Recent versions of the pseries firmware do not fill them
in during a machine check and instead send a follow up error log with
the detailed information. If we see a synchronous machine check, and we
came from userspace then kill the task.
Signed-off
do receive an extended
RTAS log then we fall back to the old behaviour of using the global buffer.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/platforms/pseries/ras.c
===
--- powerpc.git.orig/arch/powerpc
The spec suggests we should first check the extended log flag before checking
the length field.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/kernel/rtasd.c
===
--- powerpc.git.orig/arch/powerpc/kernel
as
well remove machine_check_generic from 64bit archs.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/kernel/cputable.c
===
--- powerpc.git.orig/arch/powerpc/kernel/cputable.c 2011-01-07
12:50:52.0204382
IRQSOFF_TRACER and STACK_TRACER force the kernel to be built with -pg
which is a substantial overhead.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/configs/pseries_defconfig
===
--- powerpc.git.orig
- Enable 64kB pages so it gets some regular testing.
- The largest POWER7 has 1024 threads so bump NR_CPUS it to match.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/configs/pseries_defconfig
ollowing patch we find the correct period after a few interrupts and
stay there. I also see no more throttle events.
Signed-off-by: Anton Blanchard
---
diff --git a/arch/powerpc/kernel/perf_event.c b/arch/powerpc/kernel/perf_event.c
index 5674807..ab6f6be 100644
--- a/arch/powerpc/kernel/perf_event
Hi,
I was testing 2.6.37-git17 on a POWER7 with virtual IO and hit this:
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 7446k freed
vio 3000: Warning: IOMMU dma not supported: mask
0x, table unavailable
vio 4000: Warning: IOMMU dma not supported: mask 0xf
e frequency to period calculations
in perf go haywire and we continually throttle/unthrottle the PMU.
Signed-off-by: Anton Blanchard
---
This is only compile tested.
Index: powerpc.git/arch/powerpc/kernel/perf_event_fsl_emb.c
===
---
And here's a version that actually compiles. Sorry Ben :)
Anton
--
Use the crash handler hooks to run the SPU stop code, just like we do for
ehea and cell RAS code.
While I'm here I noticed "CPUSs reliabally"
so fix the spelling MISTAKESs reliabally.
Signed-off
Hi,
> FWIW, I looked at Anton's logs, and I don't think the boot failed, per
> se. I think it may have timed out (but not positive on that). I was
> able to boot 2.6.27-git17 on the exact same box, albeit it locks up
> at a later point (the sd abort I e-mailed about in a follow-up).
This fail bi
e the VPHN arrays and add a BUILD_BUG_ON to avoid it growing
larger than the VPHN maximum of 8.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6/arch/powerpc/mm/numa.c
===
--- linux-2.6.orig/arch/powerpc/mm/numa.c 2011-01-
The hypervisor uses unsigned 1 byte counters to signal topology changes to
the OS. Since they can wrap we need to check for any difference, not just if
the hypervisor count is greater than the previous count.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6/arch/powerpc/mm/numa.c
The rest of the NUMA code expects an OF associativity property with
the first cell containing the length. Without this fix all topology changes
cause us to misparse the property and put the cpu into node 0.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6/arch/powerpc/mm/numa.c
There is no need to start up the timer and monitor topology changes on a
dedicated processor partition, so disable it.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6/arch/powerpc/mm/numa.c
===
--- linux-2.6.orig/arch/powerpc
, node_to_cpumask_map[node]);
This was introduced in commit 25863de07af9 (powerpc/cpumask: Convert NUMA code
to new cpumask API)
Fix it.
Signed-off-by: Anton Blanchard
Cc:
---
Index: linux-2.6/arch/powerpc/mm/numa.c
===
--- linux-2.6.orig/arch
he following patch
must be applied to fix it.
Anton
--
commit 320718ee074acce5ffced6506cb51af1388942aa
Author: Anton Blanchard
Date: Tue Apr 6 21:42:38 2010 +1000
hvc_console: Fix race between hvc_close and hvc_remove
I don't claim to understand the tty layer, but it
Hi Kyle,
> As far as I can tell, "machine_kexec" was removed in commit c9486878
> (powerpc/kexec: Remove ppc_md.machine_kexec) on Jan 6th, 2011, which
> claims that it was not used.
>
> Unfortunately it looks like it *is* used by the mpc85xx kexec()
> support (commit f933a41e), added on Jul 21,
Kyle Moffett points out that mpc85xx has started using the
ppc_md.machine_kexec hook. As such, revert patch c94868788cf2
(powerpc/kexec: Remove ppc_md.machine_kexec).
Signed-off-by: Anton Blanchard
---
diff --git a/arch/powerpc/include/asm/machdep.h
b/arch/powerpc/include/asm/machdep.h
index
A number of drivers are using pgprot_writecombine() to enable write
combining on userspace mappings. Implement it on powerpc.
Signed-off-by: Anton Blanchard
---
diff --git a/arch/powerpc/include/asm/pgtable.h
b/arch/powerpc/include/asm/pgtable.h
index 89f1587..88b0bd9 100644
--- a/arch
Ensure the Chelsio T3/T4 network drivers and iWARP drivers are
enabled in the pseries config.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6/arch/powerpc/configs/pseries_defconfig
===
--- linux-2.6.orig/arch/powerpc/configs
ff-by: Anton Blanchard
Cc: sta...@kernel.org
---
I would prefer not to add the PVR check, but I think we want to limit
this workaround to POWER7. Would a cpu feature be preferable?
Index: linux-2.6/arch/powerpc/kernel/perf_ev
Hi,
> The crashkernel region is specified via kernel cmdline, so why
> not just drop a failure when it overlaps with RMO region?
> Am I missing something?
Unfortunately a ppc64 kernel requires a chunk of RMO memory. We would
need the ability to specify multiple crashkernel regions - about 32MB
i
0.0%ni, 5.3%id, 0.0%wa, 13.3%hi, 81.3%si, 0.0%st
Signed-off-by: Anton Blanchard
Cc: sta...@kernel.org
---
Index: linux-2.6/arch/powerpc/kernel/time.c
===
--- linux-2.6.orig/arch/powerpc/kernel/time.c 2011-03-21 12:05:12.056482258
Signed-off-by: Anton Blanchard
---
This is the v4 patch with a few changes:
- Remove the lazy option. If we see overhead in the context switch path
we can add it back in once we have the basic patch working and merged.
- Remove comment and ifdef around spinlock forward declaration. We don't
Signed-off-by: Anton Blanchard
---
- Changed CONFIG_ICSWX to CONFIG_PPC_ICSWX
Index: powerpc.git/arch/powerpc/include/asm/cputable.h
===
--- powerpc.git.orig/arch/powerpc/include/asm/cputable.h2011-03-29
06:02:13.659904041
ys/kernel/randomize_va_space
# time ./test
1.70s
Signed-off-by: Anton Blanchard
---
I've cc-ed Mel on this one. As you can see it definitely helps the base
page size performance, but I'm a bit worried of the impact of taking away
another of our 1TB slices.
Index: linux.trees.git/
When we take an exception and the SDAR isn't synchronised we currently
log 0 as the address. Unfortunately this is a pretty common value, so
use ~OUL instead.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/kernel/perf_ev
perf_counter uses arch_vma_name() to detect a vdso region which in turn uses
current->mm->context.vdso_base. We need to initialise this before doing
the mmap or else we fail to detect the vdso.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/kernel/
In continuous sampling mode we want the SDAR to update. While we can
select between dcache misses and erat misses, a decent default is to
enable both.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/kernel/power7-pmu.c
with that fixed we have a few data structures that grow:
< 896 bootmem_node_data
> 14336 bootmem_node_data
< 1280 node_devices
> 20480 node_devices
< 25088 kmalloc_caches
> 59648 kmalloc_caches
< 1632 hstates
> 21792 hstates
Signed-off-by: Anton Blanchard
---
Index: lin
will write out ibm,client-architecture-support 100 times.
Before:
Calling ibm,client-architecture...command line: root=/dev/sda6 console=hvc0
quiet
After:
Calling ibm,client-architecture-support... not implemented
command line: root=/dev/sda6 console=hvc0
Signed-off-by: Anton Blanchard
Hi,
I've found at least one machine that wont boot 2.6.31-rc* with a
pseries_defconfig. If I move real-base from 0xc0 to 0xd0 it
boots fine.
# size vmlinux
textdata bss dec hex filename
9812942 1982496 1105228 12900666 c4d93a vmlinux
Looks like we blow right
x27;d like to make
sure we agree on naming. The tracepoints live in events/powerpc/*, but I'm
wondering if the tracepoint name should also contain the arch name, eg
powerpc_irq_entry/powerpc_irq_exit. Thoughts?
Signed-off-by: Anton Blanchard
--
Index: linux.trees.git/arch/powerpc/ke
arch name, eg
powerpc_irq_entry/powerpc_irq_exit. Thoughts?
Signed-off-by: Anton Blanchard
--
Index: linux.trees.git/arch/powerpc/include/asm/trace.h
===
--- /dev/null 1970-01-01 00:00:00.0 +
+++ linux.trees.git/arch/po
and always do individual invalidates.
The patch below removes the duplicate and shifts FW_FEATURE_CMO to close
the gap. With the patch applied the single threaded page fault rate improves
from 217169 to 238755 per second on a POWER5 test box, a 10% improvement.
Signed-off-by: Anton Blanchard
but I'm
wondering if the tracepoint name should also contain the arch name, eg
powerpc_irq_entry/powerpc_irq_exit. Thoughts?
Signed-off-by: Anton Blanchard
--
Index: linux.trees.git/arch/powerpc/include/asm/trace.h
===
--- /dev/n
Hook up the alignment-faults and emulation-faults events for powerpc.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/include/asm/emulated_ops.h
===
--- linux.trees.git.orig/arch/powerpc/include/asm
perf_event wants a separate event for alignment and emulation faults,
so create another PPC_WARN_* define. This will make it easy to hook in
perf_event at one spot.
We pass in regs which will be required for these events.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc
-off-by: Anton Blanchard
---
Index: linux.trees.git/include/linux/perf_event.h
===
--- linux.trees.git.orig/include/linux/perf_event.h 2009-10-16
11:17:17.0 +1100
+++ linux.trees.git/include/linux/perf_event.h 2009-10-16
If CONFIG_PPC_ISERIES isn't defined we end up with iseries_check_pending_irqs
and do_work at the same address. perf ends up picking
iseries_check_pending_irqs which creates confusing backtraces. Hide it.
Signed-off-by: Anton Blanchard
--
Index: linux.trees.git/arch/powerpc/kernel/entry
A lot of hits in "setup" doesn't make much sense, so hide this symbol and
allow all the hits to end up in copy_4k_page.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/li
Add some dummy symbols for the branches at 0xf00, 0xf20 and 0xf40,
otherwise hits end up in trap_0e which is confusing to the user.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/kernel/exceptions-64s.S
Hi,
> > +#define PPC_WARN_ALIGNMENT(type, regs) \
> > + do {\
> > + perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, \
> > + 1, 0, regs, regs->dar);
Hi Ingo,
> Just to confirm - these 3 symbol fixes are for the PowerPC tree, not for
> the perf events tree, right? There's nothing perf specific about the
> fixes - kgdb, systemtap and other debugging/instrumentation frameworks
> will benefit from more precise symbol generation too.
Yeah, wh
Move ehea hcall definitions into hvcall.h.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/include/asm/hvcall.h
===
--- linux.trees.git.orig/arch/powerpc/include/asm/hvcall.h 2009-10-19
17:59
Kernel modules should be able to place their debug output inside our powerpc
debugfs directory.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/kernel/setup-common.c
===
--- linux.trees.git.orig/arch/powerpc
a minimum. Time taken for a null hcall:
No tracepoint code: 135.79 cycles
Disabled tracepoints: 137.95 cycles
For reference, before this patch enabling HCALL_STATS resulted in a null
hcall of 201.44 cycles!
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/platforms
] 3244.021897408: irq_exit: pt_regs=c0a63aa0
Here we see two phantom interrupts (no handler was invoked), followed
by a real interrupt for eth0. Without the tracepoints in this patch we
would have missed the phantom interrupts.
Signed-off-by: Anton Blanchard
Acked-by: Steven Rostedt
The overhead of HCALL_STATS is quite high and the functionality is very
rarely used. Key statistics are also missing (eg min/max).
With the new hcall tracepoints much more powerful tracing can be done in
a kernel module. Lets disable this by default.
Signed-off-by: Anton Blanchard
---
Index
: timer_interrupt_exit: pt_regs=c000ce1e7b10
Since we have a 207MHz decrementer it will go negative and fire every 10.37s
even if Linux is completely idle.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/kernel/time.c
While most users of the hcall tracepoints will only want the opcode and return
code, some will want all the arguments. To avoid the complexity of using
varargs we pass a pointer to the register save area which contain all
arguments.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git
$(shell pwd)
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
clean:
rm -rf *.mod.c *.ko *.o .*.cmd .tmp_versions Module.markers
modules.order Module.symvers
/*
* Hypervisor hcall trace
*
* Look for output in /sys/kernel/debug/powerpc/hcall_trace/
*
* Copyright (C) 2009 Anto
In continuous sampling mode we want the SDAR to update. While we can
select between dcache misses and erat misses, a decent default is to
enable both.
Signed-off-by: Anton Blanchard
---
Moved MMCRA definitions into asm/reg.h.
Index: linux.trees.git/arch/powerpc/kernel/power7-pmu.c
ese events.
Signed-off-by: Anton Blanchard
---
Updated to remove unused define, as suggested by Stephen.
Index: linux.trees.git/arch/powerpc/include/asm/emulated_ops.h
===
--- linux.trees.git.orig/arch/powerpc/include/asm/emulated_op
Hi Will,
> The tb_total and purr_total values reported via the hcall_stats code
> should be cumulative, rather than being replaced by the latest delta tb
> or purr value.
>
> Tested-by: Will Schmidt
> Signed-off-by: Will Schmidt
Ouch! Nice catch.
Acked-by: Anton Blanchard
Hi Gautham,
> + call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1,
> + NULL,
> + CEDE_LATENCY_TOKEN,
> + __pa(cede_parameters),
> + CEDE_LATENCY_PARAM_MAX_LENGTH)
vmlinux~
8134997 1727588 1188836 11051421 a8a19d vmlinux
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/configs/g5_defconfig
===
--- linux.trees.git.orig/arch/powerpc/configs/g5_defconfig 2009-11-25
modules.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/configs/ppc64_defconfig
===
--- linux.trees.git.orig/arch/powerpc/configs/ppc64_defconfig 2009-11-26
12:38:30.0 +1100
+++ linux.trees.git
Token what? Lets save some space in our powerpc kernels and remove token
ring support.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/configs/g5_defconfig
===
--- linux.trees.git.orig/arch/powerpc/configs
reduce
HZ then we reduce the amount of work the timer code has to do when coming
out of idle.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/arch/powerpc/configs/ppc64_defconfig
===
--- linux.trees.git.orig/arch/powerpc
Hi,
> Also no NUMA is going to hurt Cell too. I think we should leave that in.
It was never enabled in the ppc64 defconfig :) I'm happy to turn it on though.
Anton
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/li
.9.so
7ffc000-7fff000 rw-p 00028000 08:06 130663 /lib64/ld-2.9.so
7fff000-800 rw-p 7fff000 00:00 0
fc59000-fc6e000 rw-p ffeb000 00:00 0 [stack]
Signed-off-by: Anton Blanchard
---
diff --git a/arch/powerpc/mm/mmap.c b/arch/powerpc/mm/mmap.c
701 - 800 of 1205 matches
Mail list logo