boot it didn't seem worth adding a per node valid bit.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6/arch/powerpc/include/asm/topology.h
===
--- linux-2.6.orig/arch/powerpc/include/asm/topology.h 2010-04-29
15:58:58.
Hi Ben,
> I sent your previous version of that one to Linus, it's already up. Can
> you check it's allright ?
No change to this patch, but I thought I would send them as a series since they
build on each other. I'll double check mainline looks good.
Anton
__
CONFIG_SYSFS_DEPRECATED can cause issues with newer distros and should not
be required for any distro in the last 3 or 4 years, so disable it.
Signed-off-by: Anton Blanchard
---
diff --git a/arch/powerpc/configs/40x/acadia_defconfig
b/arch/powerpc/configs/40x/acadia_defconfig
index 8e95f8d
Hi Josh,
> I'd like to run a few tests with this disabled on the 4xx boards first please.
> I can't say that all the boards I have will have any sort of "distro" to begin
> with, and if they did they might not be running something from the last 3 or
> 4 years. I do run -git kernels on them freq
scanning the bus and before the pci_dn
to pcidev mapping has been created. Since we only need the pcidev to work
out the type of reset and that only gets set after the module for the
device loads, lets just do a hot reset if the pcidev is NULL.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6/arch
With sparse irqs we have to check if we have a descriptor before dereferencing
it.
Signed-off-by: Anton Blanchard
---
diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c
index 6f4613d..5182439 100644
--- a/arch/powerpc/kernel/crash.c
+++ b/arch/powerpc/kernel/crash.c
cal CPU id.
Eventually we should switch the order and marshall all CPUs before doing the
crash_shutdown_handles[] calls, but that is a bigger fix.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6/arch/powerpc/kernel/crash.c
===
--- linux-2.6
>mask(irq);
desc->status |= IRQ_MASKED;
}
Not sure why we don't implement a ->disable action for xics.c, or why
default_disable doesn't mask the interrupt.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6
box, this fixes a panic at boot when the crashkernel=
option is specified (previously we would run out of memory below 256MB).
Signed-off-by: Milton Miller
Signed-off-by: Anton Blanchard
---
Some things we should add:
- Specify a more intelligent limit for BookE
- The allocation of the PACAs
There are a few places we patch instructions without using
patch_instruction and patch_branch, probably because they
predated it. Fix it.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/mm/hash_utils_64.c
definitely
be decreased, but even if we slept 1ms each iteration this would
take 32s.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6/arch/powerpc/kernel/rtas.c
===
--- linux-2.6.orig/arch/powerpc/kernel/rtas.c 2011-04-05 11:19
.irq_enter+0x88/0xc0
.do_IRQ+0x48/0x230
The patch below adds a check to scan_dispatch_log to ensure the
dispatch log has been allocated.
Signed-off-by: Anton Blanchard
Cc:
---
Index: powerpc.git/arch/powerpc/kernel/time.c
Signed-off-by: Anton Blanchard
---
Changes:
- By including linux/spinlock_types.h we can remove the dynamic allocation
of the spinlock hack and simplify things a lot.
- We had a nasty bug with threaded applications. We weren't ensuring all
running threads saw the updates from a use_c
Signed-off-by: Anton Blanchard
---
Changes:
- Go back to dynamically allocating the spinlock to avoid the mmu_context.h
and spinlock_types.h include mess.
Index: linux-powerpc/arch/powerpc/include/asm/cputable.h
===
--- linux
Hi Ben,
> My only comment (sorry Anton :-) would have been that we could lazily
> allocate the spinlock on the first use_cop() ... or do we have that
> potentially called in the wrong context ?
I worry what might happen in a threaded app. It would be a strange
thing to do, but the program may ca
Enable the Qlogic and Emulex 10Gbit adapters.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/configs/pseries_defconfig
===
--- linux-powerpc.orig/arch/powerpc/configs/pseries_defconfig 2011-05-09
09:14
Enable iSCSI support for a number of cards. We had the base
networking devices enabled but forgot to enable iSCSI.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/configs/pseries_defconfig
===
--- linux
To make it easier to add optimised versions of copy_page, remove
the 4kB loop for 64kB pages and just do all the work in copy_page.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/include/asm/page_64.h
A static branch hint will override dynamic branch prediction on
recent POWER CPUs. Since we are about to use more altivec in the
kernel remove the static hint in giveup_altivec that assumes
a userspace task is using altivec.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc
cycles sd = 0.138
modified: mean = 404.1 cycles sd = 0.109
So we have 1.77% improvement on POWER7 which looks significant. The
POWER6 suggest a 0.25% slowdown, but the results are within 1
standard deviation and may be in the noise.
Signed-off-by: Anton Blanchard
---
Index
Add ioremap_wc so drivers can request write combining on kernel
mappings.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/include/asm/io.h
===
--- linux-powerpc.orig/arch/powerpc/include/asm/io.h2011-05-09
We have a confusing number of ioremap functions. Make things just a
bit simpler by merging ioremap_flags and ioremap_prot.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/include/asm/io.h
===
--- linux
I have a report of an FWNMI with an r3 value that we think is
corrupt, but since we don't print r3 we have no idea what was
wrong with it.
Signed-off-by: Anton Blanchard
---
Index: linux-net/arch/powerpc/platforms/pseries/
Enable iSCSI support for a number of cards. We had the base
networking devices enabled but forgot to enable iSCSI.
Signed-off-by: Anton Blanchard
---
v2: I added the bnx2 iscsi twice.
Index: junk/arch/powerpc/configs/pseries_defconfig
Here are POWER7 optimised versions of copy_page, memcpy and
copy_tofrom_user.
Anton
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
Implement a POWER7 optimised copy_page using VMX. We copy a cacheline
at a time using VMX loads and stores.
Signed-off-by: Anton Blanchard
---
How do we want to handle per machine optimised functions? I create
yet another feature bit, but feature bits might get out of control
at some point
ltivec.
- We could have two VMX breakpoints, one for when we know the user VMX
state is loaded into the registers and one when it isn't. This could
be a second bit in the paca so we can calculate the break points quickly.
Signed-off-by: Anton Blanchard
---
Index: linux-powe
o the registers and one when it isn't. This could
be a second bit in the paca so we can calculate the break points quickly.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/lib/copyuser_64.S
===
--- linux-p
Hi,
> Yeah, I'm pretty against CPU_FTR_POWER7. Every loon is going to
> attach anything POWER7 to it.
>
> I'm keen to see it setup in __setup_cpu_power7. Either a function
> pointer or use the patch_instruction infrastructure to avoid indirect
> function calls on small copies.
Instruction
ld
match. Switch to using -mtraceback=no should work everywhere.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/Makefile
===
--- linux-powerpc.orig/arch/powerpc/Makefile2011-07-01 09:40:57.902255472
+1000
Hi,
We've been struggling to debug a hang on a large ppc64 box. Every time
we collect oops output there are pieces of the oops output missing and
in some cases entire CPUs are missing.
Eventually I realised the hvc_console driver is dropping characters.
The commit that caused this is:
commit 3
We check for timeout expiry in the outer loop, but we also need to
check it in the inner loop or we can lock up forever waiting for a
CPU to hit real mode.
Signed-off-by: Anton Blanchard
Cc:
---
Index: linux-powerpc/arch/powerpc/kernel/crash.c
Hi Hendrik,
> So with the patch below, the backend can now indirectly control the
> way console output is handled for it. I still have to think if this
> solution is ok or if it is better to introduce a new callback to
> console output only (and might provide a default implemenatation
> similar
nsole output is
handled through the hvc console layer.
Signed-off-by: Hendrik Brueckner
Acked-by: Anton Blanchard
Cc:
---
Index: linux-powerpc/drivers/tty/hvc/hvc_console.c
===
--- linux-powerpc.orig/drivers/tty/hvc/hvc_cons
Return -EAGAIN when we get H_BUSY back from the hypervisor. This
makes the hvc console driver retry, avoiding dropped printks.
Signed-off-by: Anton Blanchard
Cc:
---
Index: linux-powerpc/arch/powerpc/platforms/pseries/hvconsole.c
On Tue, 05 Jul 2011 16:40:10 +1000
Michael Neuling wrote:
> The existing code it pretty ugly. How about we clean it up even more
> like this?
Looks good and it passed my kdump test cases.
Anton
> From: Anton Blanchard
>
> We check for timeout expiry in the outer loop, but
Here are a few defconfig updates I had lying around in my tree.
Anton
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
The pseries defconfig had a number of drivers enabled and we may
as well add them to the ppc64 defconfig.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/configs/ppc64_defconfig
===
--- linux-powerpc.orig/arch
The IRQs off tracer enables mcount which has a big impact on
performance. Disable it.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/configs/ppc64_defconfig
===
--- linux-powerpc.orig/arch/powerpc/configs
Add mpt2sas driver to pseries and ppc64 defconfig.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/configs/ppc64_defconfig
===
--- linux-powerpc.orig/arch/powerpc/configs/ppc64_defconfig 2011-07-07
09:07
As a result of changes to Kconfig files, we no longer enable
the lockup and hung task detectors. Both are very light weight
and provide useful information in the event of a hang, so
reenable them.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/configs/ppc64_defconfig
debugfs now so we may as well turn it into a pr_debug.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/kernel/irq.c
===
--- linux-powerpc.orig/arch/powerpc/kernel/irq.c2011-07-08
08:49:44.288874115
into
and give it out as requested.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/drivers/tty/hvc/hvc_vio.c
===
--- linux-powerpc.orig/drivers/tty/hvc/hvc_vio.c2011-07-13
14:37:16.251635811 +1000
+++ linux-powerpc
Add poll_get_char and poll_put_char for kdb. Enable kdb at boot with:
kgdboc=hvc0
or at runtime with:
echo hvc0 > /sys/module/kgdboc/parameters/kgdboc
Signed-off-by: Anton Blanchard
---
A couple of things:
- I needed to enable CONFIG_KGDB_SERIAL_CONSOLE in order to
ena
Hi,
> > Add poll_get_char and poll_put_char for kdb. Enable kdb at boot
> > with:
>
> Did you mean "...for kgdb. Enable kgdb at boot.." ?
>
> I thought kdb and kgdb shared some infrastructure now, but your patch
> and comments seem to be all about kgdb.
No I do mean kdb :) From the Documentat
Hi Peter,
> Surely this isn't the first multi-node P7 to boot a kernel with this
> patch? If my git foo is any good it hit -next on 23rd of May.
>
> I guess I'm asking is, do smaller P7 machines boot? And if so, is
> there any difference except size?
>
> How many nodes does the thing have anywa
> I took a quick look and we are stuck in update_group_power:
>
> do {
> power += group->cpu_power;
> group = group->next;
> } while (group != child->groups);
>
> I looked at the linked list:
>
> child->groups = c07b2f74ff00
>
> and dumping g
Hi,
> Urgh.. so those spans are generated by sched_domain_node_span(), and
> it looks like that simply picks the 15 nearest nodes to the one we've
> got without consideration for overlap with previously generated spans.
I do wonder if we need this extra level at all on ppc64. From memory
SGI add
On Mon, 18 Jul 2011 23:35:56 +0200
Peter Zijlstra wrote:
> Anton, could you test the below two patches on that machine?
>
> It should make things boot again, while I don't have a machine nearly
> big enough to trigger any of this, I tested the new code paths by
> setting FORCE_SD_OVERLAP in /deb
Hi David,
> > As a result of changes to Kconfig files, we no longer enable
> > the lockup and hung task detectors. Both are very light weight
> > and provide useful information in the event of a hang, so
> > reenable them.
> ...
> > +CONFIG_LOCKUP_DETECTOR=y
> > +CONFIG_DETECT_HUNG_TASK=y
>
> Is
Hi,
> That looks very strange indeed.. up to node 23 there is the normal
> symmetric matrix with all the trace elements on 10 (as we would expect
> for local access), and some 4x4 sub-matrix stacked around the trace
> with 20, suggesting a single hop distance, and the rest on 40 being
> out-there
Hi Peter,
> That looks very strange indeed.. up to node 23 there is the normal
> symmetric matrix with all the trace elements on 10 (as we would expect
> for local access), and some 4x4 sub-matrix stacked around the trace
> with 20, suggesting a single hop distance, and the rest on 40 being
> out
Hi Peter,
> So with that fix the patch makes the machine happy again?
Yes, the machine looks fine with the patches applied. Thanks!
Anton
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
lked to Ben about this last week and he pointed me at
pagefault_disable/enable. Untested patch below.
Anton
--
We need to disable pagefaults when reading the stack otherwise
we can lock up trying to take the mmap_sem when the code we are
profiling already has a write lock taken.
This will no
Here are a few pseries kexec fixes after testing on a recent version
version.
Anton
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
ignored by firmware on unregister so we
may as well remove it.
Signed-off-by: Anton Blanchard
Cc:
---
Index: linux-powerpc/arch/powerpc/platforms/pseries/kexec.c
===
--- linux-powerpc.orig/arch/powerpc/platforms/pseries/kexec.c
Make the VPA, SLB shadow and DTL registration and deregistration
functions print consistent messages on error. I needed the firmware
error code while chasing a kexec bug but we weren't printing it.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/platforms/pseries/ke
The VPA, SLB shadow and DTL degistration functions do not need an
address, so simplify things and remove it.
Also cleanup pseries_kexec_cpu_down a bit by storing the cpu IDs
in local variables.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/platforms/pseries/hotplug-cpu.c
Here are a set of ppc64 scheduler fixes that help with some
multi node performance issues.
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
Signed-off-by: Anton Blanchard
---
Cc-ing arch maintainers who might need to look at their SD_NODE_INIT
definitions
Index: linux-2.6-work/arch/powerpc/include/asm/topology.h
===
--- linux-2.6-work.orig/arch/powerpc/include/asm
We want to override the default value of SD_NODES_PER_DOMAIN on ppc64,
so move it into linux/topology.h.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6-work/include/linux/topology.h
===
--- linux-2.6-work.orig/include/linux
The largest POWER7 boxes have 32 nodes. SD_NODES_PER_DOMAIN groups
nodes into chunks of 16 and adds a global balancing domain
(SD_ALLNODES) above it.
If we bump SD_NODES_PER_DOMAIN to 32, then we avoid this extra
level of balancing on our largest boxes.
Signed-off-by: Anton Blanchard
scheduler tick to
rebalance across nodes.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6-work/arch/powerpc/include/asm/topology.h
===
--- linux-2.6-work.orig/arch/powerpc/include/asm/topology.h 2011-07-25
12:14:25.448671947
We have two identical definitions of RECLAIM_DISTANCE, looks like
the patch got applied twice. Remove one.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6-work/arch/powerpc/include/asm/topology.h
===
--- linux-2.6-work.orig
oot, but we at least fail with
an obvious error. We could relocate the device tree in a future
patch.
Signed-off-by: Anton Blanchard
Cc:
---
Index: linux-powerpc/arch/powerpc/kernel/prom_init.c
===
--- linux-powerpc.orig/arch/powerp
Add a newline to the panic messages in make_room. Also fix a
comment that suggested our chunk size is 4Mb. It's 1MB.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/kernel/prom_init.c
===
---
00ad0a20: c0 00 00 00 lfs f0,0(0)
c0ad0a24: 00 ac a4 20 .long 0xaca420
And the jump table sort code gets very confused and writes into the
wrong spot. Remove the alignment and also remove the padding since
we it saves some space and we shouldn't need it.
Sig
00 ac a4 20 .long 0xaca420
And the jump table sort code gets very confused and writes into the
wrong spot. Remove the alignment, and also remove the padding since
we it saves some space and we shouldn't need it.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/include
On a box with 8TB of RAM the MMU hashtable is 64GB in size. That
means we have 4G PTEs. pSeries_lpar_hptab_clear was using a signed
int to store the index which will overflow at 2G.
Signed-off-by: Anton Blanchard
Cc:
---
Index: linux-powerpc/arch/powerpc/platforms/pseries/lpar.c
will get 128MB.
We cap it at 256MB (small SLB size) since some early allocations need
to be in the bolted SLB region. We could relax this on machines with
1TB SLBs in a future patch.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/include/asm/kdump.h
The ibm,io-events code is a bit verbose with its error messages.
Reverse the reporting so we only print when we successfully enable
I/O event interrupts.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/platforms/pseries/io_event_irq.c
-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/platforms/Kconfig
===
--- linux-powerpc.orig/arch/powerpc/platforms/Kconfig 2011-08-01
17:33:46.120121554 +1000
+++ linux-powerpc/arch/powerpc/platforms/Kconfig
the
duplicate one inside the loop.
Signed-off-by: Anton Blanchard
Cc: sta...@kernel.org
---
Index: linux-powerpc/arch/powerpc/mm/numa.c
===
--- linux-powerpc.orig/arch/powerpc/mm/numa.c 2011-06-06 08:07:35.148708089
+1000
+++ linux
Use for_each_node_by_type instead of open coding it.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/kernel/machine_kexec_64.c
===
--- linux-powerpc.orig/arch/powerpc/kernel/machine_kexec_64.c 2011-08-10
16
While converting code to use for_each_node_by_type I noticed a
number of coding style issues.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/kernel/setup_64.c
===
--- linux-powerpc.orig/arch/powerpc/kernel
Hi Stephen,
> > Index: linux-powerpc/arch/powerpc/mm/numa.c
> > ===
> > --- linux-powerpc.orig/arch/powerpc/mm/numa.c 2011-06-06
> > 08:07:35.148708089 +1000 +++
> > linux-powerpc/arch/powerpc/mm/numa.c2011-08-10
> > 11:
only
need the handle the case where we terminate the loop early.
As suggested by Stephen Rothwell we can do the of_node_put
unconditionally outside of the loop since of_node_put handles a
NULL argument fine.
Signed-off-by: Anton Blanchard
Cc: sta...@kernel.org
---
Index: linux-powerpc/arch
Use for_each_node_by_type instead of open coding it.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/kernel/machine_kexec_64.c
===
--- linux-powerpc.orig/arch/powerpc/kernel/machine_kexec_64.c 2011-08-10
16
While converting code to use for_each_node_by_type I noticed a
number of coding style issues.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/kernel/setup_64.c
===
--- linux-powerpc.orig/arch/powerpc/kernel
sys/devices/system/memory/probe
-bash: echo: write error: Invalid argument
Signed-off-by: Anton Blanchard
Cc: sta...@kernel.org
---
Index: linux-build/arch/powerpc/mm/hash_utils_64.c
===
--- linux-build.orig/arch/powerpc/mm/hash_utils_64.c
During hotplug CPU add we get the following error:
Unexpected Error (0) returned from configure-connector
ibm,configure-connector returns 0 for configuration complete, so
catch this and avoid the error.
Signed-off-by: Anton Blanchard
---
Index: linux-powerpc/arch/powerpc/platforms/pseries
I'm not sure why we have code for parsing an ibm,smt-snooze-delay OF
property. Since we have a smt-snooze-delay= boot option and we can
also set it at runtime via sysfs, it should be safe to get rid of
this code.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/kernel/sy
erspace tools (eg ppc64_cpu), but
I'm cc-ing Nathan just to be sure.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/kernel/sysfs.c
===
--- powerpc.git.orig/arch/powerpc/kernel/sysfs.c2010-05-17
15:18:
reate
FW_FEATURE_* bits.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/mm/numa.c
===
--- powerpc.git.orig/arch/powerpc/mm/numa.c 2010-05-17 12:56:02.0
+1000
+++ powerpc.git/arch/powerpc/mm/numa.c 2010-05-
boot it didn't seem worth adding a per node valid bit.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/mm/numa.c
===
--- powerpc.git.orig/arch/powerpc/mm/numa.c 2010-05-17 15:01:40.345954329
ode.
The patch below sets a smaller value for RECLAIM_DISTANCE and thus enables
zone reclaim.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/include/asm/topology.h
===
--- powerpc.git.orig/arch/powerpc/include/
reate
FW_FEATURE_* bits.
Signed-off-by: Anton Blanchard
---
v2: I said "fifth byte of the ibm,client-architecture" when I should have
said "fifth vector of the ibm,client-architecture"
Index: powerpc.g
each cacheline.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/include/asm/percpu.h
===
--- powerpc.git.orig/arch/powerpc/include/asm/percpu.h 2010-06-01
11:10:16.225954322 +1000
+++ powerpc.git/arch/powerpc/includ
rminate in the first place.
That can be fixed in a follow up patch.
Signed-off-by: Anton Blanchard
---
Index: linux.trees.git/drivers/scsi/ipr.c
===
--- linux.trees.git.orig/drivers/scsi/ipr.c 2010-05-31 08:51:20.0
+1000
Hi Wayne,
> We also saw a variation of this problem last week and I have an alternative
> patch that I'd prefer over this one. I'll post the patch in a separate
> email.
Thanks. Can you get it into -stable too? As you can see users are hitting it.
Anton
Hi Josh,
> I'd like to run a few tests with this disabled on the 4xx boards first please.
> I can't say that all the boards I have will have any sort of "distro" to begin
> with, and if they did they might not be running something from the last 3 or
> 4 years. I do run -git kernels on them frequ
Hi Josh,
> Yes actually. I've tested on a few boards and it seems to be working well
> enough. My apologies for not replying sooner.
>
> Acked-by: Josh Boyer
Thanks for testing!
Anton
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
htt
ted towards the top of our RMO, so if we were to go any
higher we risk not having enough RMO memory for the kdump kernel on boxes
with a 128MB RMO.
Signed-off-by: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/incl
be in the kernel data and could be above 4GB.
Change RTAS_FLASH to a bool. If we are worried about kernel footprint we
could move the problem variables out of the module and export them.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6/arch/powerpc/platfor
Hi,
> So we should use that rtas_data_buf with its lock ...
>
> Oh look, the driver already uses that buffer for the call to verify_flash
>
> untested patch to follow
Thanks, it built and tested OK with the following patch. Will send a
complete patch with these changes in a minute.
Anton
--
means the variable
may not be in the kernel data and could be above 4GB.
Instead of relying on the data segment being below 4GB, use the static
data buffer allocated by the kernel for use by rtas. Since we don't
use the header struct directly anymore, convert it to a simple pointer.
Reported-By:
handle not only the CONFIG_SMP=n case but also the
case where NR_CPUS isn't a multiple of the number of SMT threads.
Signed-off-by: Anton Blanchard
---
Index: linux-2.6/arch/powerpc/kernel/prom_init.c
===
--- linux-2.6.orig
: Anton Blanchard
---
Index: powerpc.git/arch/powerpc/mm/hugetlbpage-hash64.c
===
--- powerpc.git.orig/arch/powerpc/mm/hugetlbpage-hash64.c 2010-07-15
15:24:19.520742137 +1000
+++ powerpc.git/arch/powerpc/mm/hugetlbpage-hash64.c
this patch.
Signed-off-by: Anton Blanchard
--
Index: powerpc.git/arch/powerpc/lib/checksum_64.S
===
--- powerpc.git.orig/arch/powerpc/lib/checksum_64.S 2010-08-03
13:32:45.291991557 +1000
+++ powerpc.git/arch/powerpc/lib
benchmark from being cache bandwidth limited
to cpu limited), adding this patch improved performance by 55%
Signed-off-by: Anton Blanchard
--
Index: powerpc.git/arch/powerpc/lib/checksum_64.S
===
--- powerpc.git.orig/arch/powerpc
901 - 1000 of 1205 matches
Mail list logo