On Thu, 2009-11-19 at 08:49 -0600, Kumar Gala wrote:
> On Nov 19, 2009, at 8:45 AM, Josh Boyer wrote:
>
> > On Wed, Nov 04, 2009 at 01:55:19PM -0500, Josh Boyer wrote:
> >> Hi Ben,
> >>
> >> Please pull the next branch of the 4xx tree to get the following
> >> commits.
> >>
> >> I have some othe
On Fri, 2009-11-20 at 11:00 +0800, Li Yang-R58472 wrote:
> Because there is no way to set mapped memory as cacheable if the
> memory
> is not managed by Linux kernel. While, it's not rare in real system
> to
> allocate some dedicated memory to a certain application which is not
> managed by kernel
On Fri, Nov 20, 2009 at 5:03 PM, Benjamin Herrenschmidt
wrote:
> On Fri, 2009-11-20 at 11:00 +0800, Li Yang-R58472 wrote:
>> Because there is no way to set mapped memory as cacheable if the
>> memory
>> is not managed by Linux kernel. While, it's not rare in real system
>> to
>> allocate some ded
Yet again an iteration of the series.
Rex & Scott, please test and signoff.
Changes since last version:
- Fix rlwimi insn(from Scott)
Joakim Tjernlund (10):
8xx: invalidate non present TLBs
8xx: Update TLB asm so it behaves as linux mm expects.
8xx: Tag DAR with 0x00f0 to catch buggy instru
8xx sometimes need to load a invalid/non-present TLBs in
it DTLB asm handler.
These must be invalidated separaly as linux mm don't.
Signed-off-by: Joakim Tjernlund
---
arch/powerpc/mm/fault.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/mm/fault.c
Update the TLB asm to make proper use of _PAGE_DIRY and _PAGE_ACCESSED.
Get rid of _PAGE_HWWRITE too.
Pros:
- I/D TLB Miss never needs to write to the linux pte.
- _PAGE_ACCESSED is only set on TLB Error fixing accounting
- _PAGE_DIRTY is mapped to 0x100, the changed bit, and is set directly
dcbz, dcbf, dcbi, dcbst and icbi do not set DAR when they
cause a DTLB Error. Dectect this by tagging DAR with 0x00f0
at every exception exit that modifies DAR.
Test for DAR=0x00f0 in DataTLBError and bail
to handle_page_fault().
Signed-off-by: Joakim Tjernlund
---
arch/powerpc/kernel/head_8xx.S
Various kernel asm modifies SRR0/SRR1 just before executing
a rfi. If such code crosses a page boundary you risk a TLB miss
which will clobber SRR0/SRR1. Avoid this by always pinning
kernel instruction TLB space.
Signed-off-by: Joakim Tjernlund
---
arch/powerpc/kernel/head_8xx.S |2 +-
1 fil
This is an assembler version to fixup DAR not being set
by dcbX, icbi instructions. There are two versions, one
uses selfmodifing code, the other uses a
jump table but is much bigger(default).
Signed-off-by: Joakim Tjernlund
---
arch/powerpc/kernel/head_8xx.S | 147 +
only DTLB Miss did set this bit, DTLB Error needs too otherwise
the setting is lost when the page becomes dirty.
Signed-off-by: Joakim Tjernlund
---
arch/powerpc/kernel/head_8xx.S | 13 ++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/kernel/head_8xx.S
8xx has not had WRITETHRU due to lack of bits in the pte.
After the recent rewrite of the 8xx TLB code, there are
two bits left. Use one of them to WRITETHRU.
Perhaps use the last SW bit to PAGE_SPECIAL or PAGE_FILE?
Signed-off-by: Joakim Tjernlund
---
arch/powerpc/include/asm/pte-8xx.h |5
Now that 8xx can fixup dcbX instructions, start using them
where possible like every other PowerPc arch do.
Signed-off-by: Joakim Tjernlund
---
arch/powerpc/kernel/misc_32.S | 18 --
arch/powerpc/lib/copy_32.S| 24
2 files changed, 0 insertions(+)
There is no need to do set the DIRTY bit directly in DTLB Error.
Trap to do_page_fault() and let the generic MM code do the work.
Signed-off-by: Joakim Tjernlund
---
arch/powerpc/kernel/head_8xx.S | 96
1 files changed, 0 insertions(+), 96 deletions(-)
Use symbolic constant for PRESENT and avoid branching.
Signed-off-by: Joakim Tjernlund
---
arch/powerpc/kernel/head_8xx.S | 17 +++--
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S
index 36af721..ce327
On Tue, Nov 17, 2009 at 03:17:05PM +0100, Anatolij Gustschin wrote:
>This patch adds new version of the PPC440SPe ADMA driver.
>
>Signed-off-by: Anatolij Gustschin
The driver author is listed as Yuri Tikhonov . Shouldn't
this include a sign-off from Yuri, or perhaps even a From?
>Before applyin
This set of patches merges the common dynamic device tree
updating routines of_attach_node() and of_detach_node() to
drivers/of/of_dynamic.c.
Built and tested on powerpc, I have no access to build/test
this on microblaze.
-Nathan Fontenot
---
1/4 - Merge of_attach_node
2/4 - Merge of_detach_nod
Merge the common of_attach_node() routine from powerpc and microblaze to
drivers/of/of_dynamic.c
Signed-off-by: Nathan Fontenot
---
arch/microblaze/include/asm/prom.h |1 -
arch/microblaze/kernel/prom.c | 15 ---
arch/powerpc/include/asm/prom.h|1 -
arch/powerpc/kern
Merge the common of_detach_node() from powerpc and microblaze into the common
drivers/of/of_dynamic.c
Signed-off-by: Nathan Fontenot
---
arch/microblaze/include/asm/prom.h |3 --
arch/microblaze/kernel/prom.c | 44 -
arch/powerpc/include/asm/prom.h
Update the Kconfig and Makefile files for drivers/of, powerpc and microblaze
to properly configure for CONFIG_OF_DYNAMIC to build the of_dynamic code.
Signed-off-by: Nathan Fontenot
---
arch/microblaze/Kconfig |1 +
arch/powerpc/Kconfig|1 +
drivers/of/Kconfig |4
drivers
Include the newly created linux/of_dynamic.h to pick up the
of_[attach,detach]_node declarations.
Signed-off-by: Nathan Fontenot
---
arch/powerpc/platforms/pseries/reconfig.c |1 +
1 file changed, 1 insertion(+)
Index: test-devicetree/arch/powerpc/platforms/pseries/reconfig.c
=
* Andrew Morton (a...@linux-foundation.org) wrote:
> On Wed, 18 Nov 2009 12:59:08 -0600
> Robert Jennings wrote:
>
> > The Collaborative Memory Manager (CMM) module allocates individual pages
> > over time that are not migratable. On a long running system this can
> > severely impact the ability
On Thu, Nov 19, 2009 at 10:32 AM, Stephen Neuendorffer
wrote:
>> Of course, one obvious thing that must be done is move this code out
> of
>> arch/powerpc/platforms/44x/virtex.c and into (e.g.)
>> arch/powerpc/kernel/setup-common.c, and add some
>> "set_machine_restart_function" wrapper to access
On Thu, Nov 19, 2009 at 11:45:32PM -0700, Mahajan Vivek-B08308 wrote:
> > I really don't like setting the physical address this way,
> > can we not do this via the device tree?
>
> Cache-sram does not have any device tree entry since it is not a
> hardware as such. Putting it under chosen can be
Thus spake Joakim Tjernlund (joakim.tjernl...@transmode.se):
> Yet again an iteration of the series.
> Rex & Scott, please test and signoff.
> Changes since last version:
> - Fix rlwimi insn(from Scott)
Hi Joakim,
Things look much better with this patch set, I see none
of the random crashes tha
On Tue, Nov 17, 2009 at 8:42 AM, Dmitry Eremin-Solenikov
wrote:
> This patch improves OF GPIO bindings so, that most non-OF-specific gpio
> controllers don't need to call any of OF binding function:
>
> 0) Move of_gpio_chip into main gpio_chip structure.
> 1) Call of_gpio_init/destroy from gpiochi
On Fri, Nov 20, 2009 at 1:37 PM, Grant Likely wrote:
> On Tue, Nov 17, 2009 at 8:42 AM, Dmitry Eremin-Solenikov
> wrote:
>> This patch improves OF GPIO bindings so, that most non-OF-specific gpio
>> controllers don't need to call any of OF binding function:
>>
>> 0) Move of_gpio_chip into main gp
Add basic support for the P4080 DS reference board. None of the data
path devices (ethernet, crypto, pme) are support at this time.
Signed-off-by: Kumar Gala
---
arch/powerpc/boot/dts/p4080ds.dts| 554 ++
arch/powerpc/platforms/85xx/Kconfig | 12 +
ar
On Fri, Nov 20, 2009 at 8:01 AM, Nathan Fontenot wrote:
> This set of patches merges the common dynamic device tree
> updating routines of_attach_node() and of_detach_node() to
> drivers/of/of_dynamic.c.
>
> Built and tested on powerpc, I have no access to build/test
> this on microblaze.
Heh. A
On Wed, Nov 18, 2009 at 2:58 AM, Wolfram Sang wrote:
>> > - rc |= request_irq(ms->irq1, mpc52xx_spi_irq,
>> > IRQF_SAMPLE_RANDOM,
>> > + rc |= request_irq(ms->irq1, mpc52xx_spi_irq, 0,
>> > "mpc5200-spi-spiF", ms);
>>
>> The "spiF" here is probabl
[fixed top-posting nonsense :-) ]
On Thu, Nov 19, 2009 at 10:22 AM, Stephen Neuendorffer
wrote:
>> diff --git a/drivers/serial/of_serial.c b/drivers/serial/of_serial.c
>> index 02406ba..241be77 100644
>> --- a/drivers/serial/of_serial.c
>> +++ b/drivers/serial/of_serial.c
>> @@ -161,7 +161,9 @@
On Thu, Nov 19, 2009 at 10:42 AM, Stephen Neuendorffer
wrote:
>
>
>> -Original Message-
>> From: linuxppc-dev-bounces+stephen=neuendorffer.n...@lists.ozlabs.org
> [mailto:linuxppc-dev-
>> bounces+stephen=neuendorffer.n...@lists.ozlabs.org] On Behalf Of Arnd
> Bergmann
>> Sent: Thursday, No
On Sun, Nov 15, 2009 at 10:17 AM, Albrecht Dreà wrote:
> Hi all,
>
> I tried to use a '5200B internal timer for a very simple task - as pwm to
> make a led blink, but apparently the current gpt implementation from Grant's
> tree does only support internal (cpu timer) modes which do not use the
> -Original Message-
> From: glik...@secretlab.ca [mailto:glik...@secretlab.ca] On Behalf Of Grant
> Likely
> Sent: Friday, November 20, 2009 2:58 PM
> To: Stephen Neuendorffer
> Cc: Arnd Bergmann; John Linn; Alon Ziv; linuxppc-dev@lists.ozlabs.org
> Subject: Re: Bug in drivers/serial/of_
On Fri, Nov 20, 2009 at 3:11 PM, John Linn wrote:
>
>> -Original Message-
>> From: glik...@secretlab.ca [mailto:glik...@secretlab.ca] On Behalf Of Grant
>> Likely
>> Sent: Friday, November 20, 2009 2:58 PM
>> To: Stephen Neuendorffer
>> Cc: Arnd Bergmann; John Linn; Alon Ziv; linuxppc-dev
On Mon, Nov 9, 2009 at 8:36 PM, Ravi Shekhar wrote:
>
>
> I'm attempting to get SPI to work on my embedded design
> that is based on the mpc8313erbd reference board wiht a
> 2.6.27 kernel.
Are you able to use a more recent kernel? A lot of work has gone into
SPI drivers in the last 5 releases
35 matches
Mail list logo