Currently userspace has no chance to find out which virtual address space we're
in and resolve addresses. While that is a big problem for migration, it's also
unpleasent when debugging, as gdb and the monitor don't work on virtual
addresses.
This patch exports enough of the MMU segment state to us
_context_t.
Signed-off-by: David Gibson
Thanks David for the patch. With this patch on top of next-20091123
my test machine boots fine.
Regards
-Sachin
--
-
Sachin Sant
IBM Linux Technology Center
India Systems and Technology Labs
Bangal
Hi David,
On Tue, 24 Nov 2009 17:03:40 +1100 David Gibson
wrote:
>
> Commit a4fe3ce7699bfe1bd88f816b55d42d8fe1dac655 introduced a new
When you quote a SHA1, please also quote the summary line for the commit
so those without git access may find it.
--
Cheers,
Stephen Rothwell
Commit a4fe3ce7699bfe1bd88f816b55d42d8fe1dac655 introduced a new
get_user_pages() path for hugepages on powerpc. Unfortunately, there
is a bug in it's loop logic, which can cause it to overrun the end of
the intended region. This came about by copying the logic from the
normal page path, which as
Commit a0668cdc154e54bf0c85182e0535eea237d53146 cleans up the handling
of kmem_caches for allocating various levels of pagetables.
Unfortunately, it conflicts badly with CONFIG_PPC_SUBPAGE_PROT, due to
the latter's cleverly hidden technique of adding some extra allocation
space to the top level pag
On Thu, 2009-11-05 at 07:47 -0600, Kumar Gala wrote:
> On Oct 12, 2009, at 11:49 AM, Anton Vorontsov wrote:
>
> > Soon there will be more flags introduced in subsequent patches, so
> > let's turn qe_mode into flags.
> >
> > Also introduce mpc8xxx_spi_strmode() and print current SPI mode.
> >
> > S
* Benjamin Herrenschmidt [2009-11-24 14:35:09]:
> On Fri, 2009-10-30 at 10:52 +0530, Gautham R Shenoy wrote:
> > Hi,
> >
> > This is version 5 of patch series that provides a framework to choose the
> > state a pseries CPU must be put to when it is offlined.
> >
> > Previous versions can be fou
Neil Horman writes:
> Before anyone flames me for what a oddball solution this is, let me just
> say I'm trying to get the ball rolling here. I think there may be better
> solutions that can be impemented in reloc_64.S, but I've yet to make any of
> the
> ones I've tried work successfully.
On Fri, 2009-10-30 at 10:52 +0530, Gautham R Shenoy wrote:
> Hi,
>
> This is version 5 of patch series that provides a framework to choose the
> state a pseries CPU must be put to when it is offlined.
>
> Previous versions can be found here:
> Version 4: http://lkml.org/lkml/2009/10/9/59
> Versio
On Tue, 2009-11-10 at 10:00 +0100, Joakim Tjernlund wrote:
> JFFS2 uses lesser compression ratio and inflate always
> ends up in "copy direct from output" case.
> This patch tries to optimize the direct copy procedure.
> Uses get_unaligned() but only in one place.
> The copy loop just above this on
You set up DBAT1 here...
+setup_usbgecko_bat:
+ /* prepare a BAT for early io */
+ lis r8, 0x0c00
+ ori r8, r8, 0x002a /* uncached, guarded ,rw */
+ lis r11, 0xcc00
+ ori r11, r11, 0x3 /* 128K */
+#ifdef CONFIG_WII
+ orisr8, r8, 0x0100
+
+ If you say yes to this option, support will be included for the
+ USB Gecko adapter as an udbg console.
+ The USB Gecko is a EXI to USB Serial converter that can be plugged
+ into a memcard slot in the Nintendo GameCube/Wii.
Not "a" memcard slot, only the first
Add a config option GAMECUBE_COMMON to be used as a dependency for all
options common to the Nintendo GameCube and Wii video game consoles.
Maybe something like GAMECUBE_OR_WII instead? "COMMON" is so
common it's meaningless.
Segher
___
Linuxppc-de
+ * We enter with an unknown cache, high BATs and MMU status.
What does this mean? You know the low four BATs on entry and
nothing else?
+asm ("\n\
Global asm() is evil.
+ mfmsr 9\n\
+ andi. 0, 9, (1<<4)|(1<<5) /* MSR_DR|MSR_IR */\n\
+ andc9, 9, 0\n\
mfmsr 9
Roel,
> size_t len cannot be less than 0.
>
> Signed-off-by: Roel Kluin
Acked-by: Jeremy Kerr
Thanks!
Jeremy
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
Hi Albert,
+asm ("\n\
A file scope asm?! Please don't.
+ * We enter with the cache enabled, the MMU enabled and some known
legacy
+ * memory mappings active. xBAT3 is unused
It would be good if you could depend as little as possible on these
things;
that makes writing another bootlo
On Mon, 2009-11-23 at 21:16 +0100, Albert Herranz wrote:
> >> arch/powerpc/mm/pgtable_32.c | 19 ---
> >> 1 files changed, 16 insertions(+), 3 deletions(-)
> >>
> >> diff --git a/arch/powerpc/mm/pgtable_32.c b/arch/powerpc/mm/pgtable_32.c
> >> index cb96cb2..ba00cb1 100644
> >> -
Description: Set PCI-E node inbound DMA ranges size to 4GB for correct
boot up of katmai. Including only changes for PCI-E DMA ranges as
suggested by Stefan.
Signed-off-by: Pravin Bathija
Acked-by: Feng Kan
Acked-by: Prodyut Hazarika
Acked-by: Loc Ho
Acked-by: Tirumala Reddy Marri
Acked-by
Code was added to mm/higmem.c that depends on several
kmap types that powerpc does not support. We add dummy
invalid definitions for KM_NMI, KM_NM_PTE, and KM_IRQ_PTE.
According to list discussion, this fix should not be needed
anymore starting with 2.6.33. The code is commented to this
effect s
On Monday 23 November 2009 19:10:55 Albert Herranz wrote:
>
> Arnd Bergmann wrote:
> > On Sunday 22 November 2009, Albert Herranz wrote:
> >> +#ifdef CONFIG_PPC_EARLY_DEBUG_USBGECKO
> >> +setup_usbgecko_bat:
> >> +/* prepare a BAT for early io */
> >> +lis r8, 0x0c00
> >> +ori
Grant Likely wrote:
> This looks pretty good to me. The documentation format isn't strict,
> just follow the pattern seen in other bindings. Make sure you post
> new bindings to devicetree-disc...@lists.ozlabs.org for review. A
> couple of comments below.
>
Ok. I know it now for the next time
On Mon, Nov 23, 2009 at 1:16 PM, Albert Herranz wrote:
> Grant Likely wrote:
>> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz
>> wrote:
>>> The Nintendo Wii has two discontiguous RAM memory areas called
>>> MEM1 and MEM2.
>>> MEM1 starts at 0x and contains 24MB of 1T-SRAM.
>>> MEM2 sta
On Mon, Nov 23, 2009 at 12:54 PM, Albert Herranz
wrote:
> Grant Likely wrote:
>> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz
>> wrote:
>>> + i2c-video {
>>> + #address-cells = <1>;
>>> + #size-cells = <0>;
>>> +
Grant Likely wrote:
> On Mon, Nov 23, 2009 at 12:44 PM, Albert Herranz
>> Can you please elaborate more on this or point me to documentation?
>> The soc node here tries to represent the big multi-function chip that
>> integrates most of the devices of the video game consoles ("Flipper" on the
>>
Grant Likely wrote:
> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz
> wrote:
>> Add platform support for the Nintendo Wii video game console.
>>
>> Signed-off-by: Albert Herranz
>> ---
>> +static int wii_setup_hw_resets(void)
>> +{
>> + struct device_node *np;
>> + struct resource
On Mon, Nov 23, 2009 at 12:44 PM, Albert Herranz
wrote:
> Grant Likely wrote:
>> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz
>> wrote:
>>> + /* devices contained int the flipper chipset */
>>> + soc {
>>
>> It would be better to rename this as IMMR or the bus type. This node
>>
Grant Likely wrote:
> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz
> wrote:
>> Add support for the dual interrupt controller included in the "Hollywood"
>> chipset of the Nintendo Wii video game console.
>> This interrupt controller serves both the Broadway processor (as a cascade)
>> and the
Grant Likely wrote:
> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz
> wrote:
>> This patch extends the cputable entry of the 750CL to also match
>> the 750CL-based "Broadway" cpu found on the Nintendo Wii.
>>
>> As of this patch, the following "Broadway" design revision levels have
>> been seen
Grant Likely wrote:
> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz
> wrote:
>> The Nintendo Wii has two discontiguous RAM memory areas called
>> MEM1 and MEM2.
>> MEM1 starts at 0x and contains 24MB of 1T-SRAM.
>> MEM2 starts at 0x1000 and contains 64MB of DDR2 RAM.
>> Between both
Grant Likely wrote:
> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz
> wrote:
>> Add platform support for the Nintendo GameCube video game console.
>>
>> Signed-off-by: Albert Herranz
>> ---
>> +static void gamecube_show_cpuinfo(struct seq_file *m)
>> +{
>> + seq_printf(m, "vendor\t\t: IB
Grant Likely wrote:
> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz
> wrote:
>> Add support for the interrupt controller included in the "Flipper"
>> chipset of the Nintendo GameCube video game console.
>> The same interrupt controller is also present in the "Hollywood" chipset
>> of the Ninten
Grant Likely wrote:
> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz
> wrote:
>> Add a config option GAMECUBE_COMMON to be used as a dependency for all
>> options common to the Nintendo GameCube and Wii video game consoles.
>>
>> Signed-off-by: Albert Herranz
>
> This could just be rolled into
Grant Likely wrote:
> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz
> wrote:
>> Add a device tree source file for the Nintendo Wii video game console.
>>
>> Signed-off-by: Albert Herranz
>
> Same comments apply here as for the gamecube.dts file, plus a few more below.
>
Ok, I'll try to addr
Grant Likely wrote:
> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz
> wrote:
>> Add a device tree source file for the Nintendo GameCube video game console.
>>
>> Signed-off-by: Albert Herranz
>
> Mostly looks good. A few comments below. Biggest comment is you need
> to add a brief blurb for
Arnd Bergmann wrote:
>
> Very nice series, well done!
>
> Time for me to invest in some new hardware ;-)
>
> Arnd <><
>
Thanks for review :)
Cheers,
Albert
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/l
Arnd Bergmann wrote:
> On Sunday 22 November 2009, Albert Herranz wrote:
>> + *
>> + */
>> +struct mipc_device {
>> +void __iomem *io_base;
>> +int irq;
>> +
>> +struct device *dev;
>> +
>> +spinlock_t call_lock; /* serialize firmware calls */
>> +spinlock_t io_lock; /* se
Arnd Bergmann wrote:
> On Sunday 22 November 2009, Albert Herranz wrote:
>> +#ifdef CONFIG_PPC_EARLY_DEBUG_USBGECKO
>> +setup_usbgecko_bat:
>> +/* prepare a BAT for early io */
>> +lis r8, 0x0c00
>> +ori r8, r8, 0x002a /* uncached, guarded ,rw */
>> +lis r11, 0xcc00
>>
Arnd Bergmann wrote:
> On Sunday 22 November 2009, Albert Herranz wrote:
>> config NOT_COHERENT_CACHE
>> bool
>> - depends on 4xx || 8xx || E200 || PPC_MPC512x
>> + depends on 4xx || 8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON
>> default y
>>
>> config CHECK_CACHE_
On Monday 23 November 2009, Chris Friesen wrote:
> We've had a mechanism sort of like this for quite a while. Hasn't been
> pushed to mainline because it used board-specific hardware and we're
> usually multiple kernel versions behind mainline.
>
> Anyways, a couple things that we've found to be
Anatolij Gustschin wrote:
This patch adds new version of the PPC440SPe ADMA driver.
Signed-off-by: Anatolij Gustschin
As Josh said please don't drop attribution tags. If you borrowed from
Yuri's implementation you can forward his signed-off-by.
---
Before applying this patch the followin
On Mon, Nov 23, 2009 at 12:29 AM, wrote:
> Hi,
>
> David, Grant thank you for providing the info.
> From your reply and the other sources what I gather is as below. Please
> confirm whether I am on the right track.
>
> 1) Bootloader passing BDInfo:
> Here, I have to create a .dts file inside /arc
On Wednesday 04 November 2009 02:37:38 Jonathan Haws wrote:
> All,
>
> I have what may be an unconventional question:
>
> Our application consists of data being captured by an FPGA, processed, and
> transferred to SDRAM. I simply give the FPGA an address of where I want
> it stored in SDRAM an
Grant Likely wrote:
But I'm really close to posting my 3rd series, so it may be better to
wait until that is published and build a patch on top of that to move
them into of_dynamic.c
Works for me.
-Nathan Fontenot
___
Linuxppc-dev mailing list
Linu
On Fri, 2009-11-13 at 14:12 -0600, Scott Wood wrote:
> When a NAND operation is in progress, all other localbus operations
> (including NOR flash) will have to wait for access to the bus. However, the
> NAND operation may take longer to complete than the default timeout. Thus,
> if NOR is accesse
Grant Likely wrote:
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 microbla
From: Arnd Bergmann , Paul Mackerras
This patch was submitted, discussed, and eventually Acked by everyone, yet
still isn't in the tree. See:
http://patchwork.ozlabs.org/patch/1240/
Signed-off-by: Josh Boyer
Cc: Arnd Bergmann
Cc: Paul Mackerras
---
diff --git a/arch/powerpc/include/asm/sy
On Fri, 20 Nov 2009 08:00:26 -0500
Josh Boyer wrote:
> 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 i
47 matches
Mail list logo