.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/kernel/mpc7450-pmu.c |2 +-
arch/powerpc/kernel/perf_event.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/kernel/mpc7450-pmu.c
b/arch/powerpc/kernel/mpc7450-pmu.c
index 09d7202
0x1000 (MEM2).
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
include/linux/swiotlb.h |1 +
lib/swiotlb.c | 10 --
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h
index 8550d6b..c769939 100644
buffers.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
lib/swiotlb.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/swiotlb.c b/lib/swiotlb.c
index ab1622a..9ce5cd2 100644
--- a/lib/swiotlb.c
+++ b/lib/swiotlb.c
@@ -328,7 +328,7 @@ EXPORT_SYMBOL_GPL
console
which has limitations performing DMA to memory below 0x1000 (MEM1).
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/include/asm/device.h |1 +
arch/powerpc/include/asm/dma-mapping.h |2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git
are checked too at unmap_urb_for_dma() time to determine how
to unmap the setup packet and/or the transfer buffer. The flags are cleared
when the actual unmap happens.
No functional change.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
drivers/usb/core/hcd.c | 211
,
hardware descriptors are accessed in 32-bit (or 64-bit) chunks, causing
no problems in the described scenario.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
drivers/usb/core/buffer.c | 29 +++--
drivers/usb/core/hcd.c| 32
Use the generic per-device dma coherent allocator on powerpc.
This allows a driver to declare coherent memory area from where
a device can allocate coherent memory chunks.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/include/asm/dma-mapping.h |1 +
arch/powerpc
Let the Nintendo Wii gaming console use per-device dma coherent allocations.
This will be used later by some of its drivers.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/embedded6xx/Kconfig |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git
Tomonori.
- swiotlb support for the Wii is now based on top of the swiotlb-0.6
patches from Konrad Rzeszutek Wilk.
- Keeps using v4 of the USB HCD_NO_COHERENT_MEM patch
Alan: I think you are also working in a patchset to make {un}map_urb_for_dma
remember how the urb was mapped, right?
Albert
.
Such restrictions do not apply when using the second contiguous RAM
region (known as MEM2).
Add a set of DMA mapping operations which said devices can use to make
sure that DMA transfers are always performed to/from memory buffers
within MEM2.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Enable the use of a software IO TLB on the Nintendo Wii video game console.
This is used by the platform DMA support code to overcome the limitations
found in some of the devices within the Hollywood chipset.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/boot/dts
Add support for the USB Enhanced Host Controller Interface included
in the Hollywood chipset of the Nintendo Wii video game console.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/embedded6xx/Kconfig |1 +
drivers/usb/host/Kconfig |8
Alan Stern wrote:
Alan: I think you are also working in a patchset to make {un}map_urb_for_dma
remember how the urb was mapped, right?
Yes; you can see an initial version here:
http://marc.info/?l=linux-usbm=126901183419219w=2
This is a bug fix, so it's likely to be merged before
Konrad Rzeszutek Wilk wrote:
+/*
+ * The mem2_dma device.
+ *
+ * This device owns a pool of coherent MEM2 memory that can be shared
among
+ * several devices requiring MEM2 DMA buffers, instead of dedicating
specific
+ * pools for each device.
+ *
+ * A device can use the shared
Konrad Rzeszutek Wilk wrote:
+int wii_set_mem2_dma_constraints(struct device *dev)
+{
+struct dev_archdata *sd;
+
+sd = dev-archdata;
+sd-max_direct_dma_addr = 0;
+sd-min_direct_dma_addr = wii_hole_start + wii_hole_size;
+
+set_dma_ops(dev, wii_mem2_dma_ops);
+
boot
options, mem_init (as x86 does).
Signed-off-by: FUJITA Tomonori fujita.tomon...@lab.ntt.co.jp
Tested-by: Becky Bruce bec...@kernel.crashing.org
Thanks!
Tested-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/kernel/setup_32.c |6 --
arch/powerpc/kernel/setup_64.c
FUJITA Tomonori wrote:
On Fri, 12 Mar 2010 20:12:39 +0100
Albert Herranz albert_herr...@yahoo.es wrote:
The current SWIOTLB code does not support NOT_COHERENT_CACHE platforms.
This patch adds support for NOT_COHERENT_CACHE platforms to SWIOTLB by
adding two platform specific functions
FUJITA Tomonori wrote:
If we want to make swiotlb generic (make on any architectures), we
need to handle more cache issues here, I think. So it's better to have
more generic ways instead of adding hooks to some archs.
Ok. So what would be an acceptable way of handling this in a generic way?
FUJITA Tomonori wrote:
On Fri, 12 Mar 2010 20:12:40 +0100
Albert Herranz albert_herr...@yahoo.es wrote:
The current SWIOTLB code uses a default of 64MB for the IO TLB area.
This size can be influenced using a kernel command line parameter swiotlb.
Unfortunately, the parsing of the kernel
console
which has limitations performing DMA to memory below 0x1000 (MEM1).
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/include/asm/device.h |1 +
arch/powerpc/include/asm/dma-mapping.h |2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git
Use the generic per-device dma coherent allocator on powerpc.
This allows a driver to declare coherent memory area from where
a device can allocate coherent memory chunks.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/include/asm/dma-mapping.h |1 +
arch/powerpc
HCD_NO_COHERENT_MEM patch
Albert Herranz (11):
powerpc: add per-device dma coherent support
powerpc: add min_direct_dma_addr
swiotbl: add back swiotlb_alloc_boot()
swiotlb: support NOT_COHERENT_CACHE PowerPC platforms
swiotlb: add swiotlb_set_default_size()
USB: refactor unmap_urb_for_dma
0x1000 (MEM2).
CC: linuxppc-dev@lists.ozlabs.org
CC: linux-ker...@vger.kernel.org
CC: x...@kernel.org
CC: linux-i...@vger.kernel.org
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
include/linux/swiotlb.h |2 ++
lib/swiotlb.c | 10 --
2 files changed, 10
...@vger.kernel.org
CC: x...@kernel.org
CC: linux-i...@vger.kernel.org
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
include/linux/swiotlb.h |2 ++
lib/swiotlb.c | 20
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/include/linux
are checked too at unmap_urb_for_dma() time to determine how
to unmap the setup packet and/or the transfer buffer. The flags are cleared
when the actual unmap happens.
No functional change.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
drivers/usb/core/hcd.c | 211
...@vger.kernel.org
CC: x...@kernel.org
CC: linux-i...@vger.kernel.org
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/ia64/include/asm/swiotlb.h| 10 ++
arch/powerpc/include/asm/swiotlb.h |3 +++
arch/x86/include/asm/swiotlb.h | 10 ++
lib/swiotlb.c
,
hardware descriptors are accessed in 32-bit (or 64-bit) chunks, causing
no problems in the described scenario.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
drivers/usb/core/buffer.c | 29 +++--
drivers/usb/core/hcd.c| 32
Let the Nintendo Wii gaming console use per-device dma coherent allocations.
This will be used later by some of its drivers.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/embedded6xx/Kconfig |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git
.
Such restrictions do not apply when using the second contiguous RAM
region (known as MEM2).
Add a set of DMA mapping operations which said devices can use to make
sure that DMA transfers are always performed to/from memory buffers
within MEM2.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Enable the use of a software IO TLB on the Nintendo Wii video game console.
This is used by the platform DMA support code to overcome the limitations
found in some of the devices within the Hollywood chipset.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms
Add support for the USB Enhanced Host Controller Interface included
in the Hollywood chipset of the Nintendo Wii video game console.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/embedded6xx/Kconfig |1 +
drivers/usb/host/Kconfig |8
Konrad Rzeszutek Wilk wrote:
Hey Albert,
I've been doing some posting in this area to split the physical / bus
address translation so that multiple platforms can utilize it. I was
wondering if it makes sense to utilize some of those concepts (ie, extend it
for DMA coherency) for your code:
Konrad Rzeszutek Wilk wrote:
On Sun, Mar 07, 2010 at 01:11:46PM +0100, Albert Herranz wrote:
The current SWIOTLB code uses a default of 64MB for the IO TLB area.
This size can be influenced using a kernel command line parameter swiotlb.
Unfortunately, the parsing of the kernel command line
platforms
- use SWIOTLB instead of dmabounce to implement Wii MEM2 dma ops
- use v4 of the USB HCD_NO_COHERENT_MEM patch
Albert Herranz (11):
powerpc: add per-device dma coherent support
powerpc: add min_direct_dma_addr
swiotbl: add back swiotlb_alloc_boot()
swiotlb: support
Use the generic per-device dma coherent allocator on powerpc.
This allows a driver to declare coherent memory area from where
a device can allocate coherent memory chunks.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/include/asm/dma-mapping.h |1 +
arch/powerpc
0x1000 (MEM2).
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
CC: linuxppc-dev@lists.ozlabs.org
CC: linux-ker...@vger.kernel.org
CC: x...@kernel.org
CC: linux-i...@vger.kernel.org
---
include/linux/swiotlb.h |2 ++
lib/swiotlb.c | 10 --
2 files changed, 10
these functions are mapped to their corresponding
__dma_sync_page() and __dma_sync() functions.
On other architectures using SWIOTLB these functions are optimized out.
This will be used later to support SWIOTLB on the Nintendo Wii video game
console.
Signed-off-by: Albert Herranz albert_herr
swiotlb_set_default_size() which can be used
before swiotlb_init() to indicate the desired IO TLB area size in bytes.
This will be used later to implement a smaller IO TLB on the Nintendo Wii
video game console which just comes with 24MB + 64MB of RAM.
Signed-off-by: Albert Herranz albert_herr
are checked too at unmap_urb_for_dma() time to determine how
to unmap the setup packet and/or the transfer buffer. The flags are cleared
when the actual unmap happens.
No functional change.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
drivers/usb/core/hcd.c | 211
.
Such restrictions do not apply when using the second contiguous RAM
region (known as MEM2).
Add a set of DMA mapping operations which said devices can use to make
sure that DMA transfers are always performed to/from memory buffers
within MEM2.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Enable the use of a software IO TLB on the Nintendo Wii video game console.
This is used by the platform DMA support code to overcome the limitations
found in some of the devices within the Hollywood chipset.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms
,
hardware descriptors are accessed in 32-bit (or 64-bit) chunks, causing
no problems in the described scenario.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
drivers/usb/core/buffer.c | 29 +++--
drivers/usb/core/hcd.c| 32
Let the Nintendo Wii gaming console use per-device dma coherent allocations.
This will be used later by some of its drivers.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/embedded6xx/Kconfig |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git
Add support for the USB Enhanced Host Controller Interface included
in the Hollywood chipset of the Nintendo Wii video game console.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/embedded6xx/Kconfig |1 +
drivers/usb/host/Kconfig |8
Alan Stern wrote:
On Mon, 1 Mar 2010, Albert Herranz wrote:
If transfer_buffer_length is 0 then do nothing.
Otherwise if num_sgs 0 then do nothing.
Otherwise if URB_NO_TRANSFER_DMA_MAP and transfer_dma
are both set (this avoids your HCD_NO_COHERENT_MEM
Alan Stern wrote:
--- a/drivers/usb/core/hcd.c
+++ b/drivers/usb/core/hcd.c
@@ -1260,6 +1260,34 @@ static void hcd_free_coherent(struct usb_bus *bus,
dma_addr_t *dma_handle,
*dma_handle = 0;
}
+static int urb_needs_setup_dma_map(struct usb_hcd *hcd, struct urb *urb)
+{
+
Alan Stern wrote:
If urb-num_sgs 0 then urb has been s-g mapped. Although we don't
currently check for it, quite a few URBs have transfer_buffer_length ==
0 (a number of control requests are like this, for example) so they
don't need a mapping either.
Ok, I'll use urb-num_sgs 0 to check
Alan Stern wrote:
On Mon, 1 Mar 2010, Albert Herranz wrote:
Am I on the right path?
More or less. I would do it somewhat differently:
If URB_NO_TRANSFER_DMA_MAP is set then no map is needed.
Otherwise if num_sgs 0 then no map is needed.
Otherwise if HCD_NO_COHERENT_MEM
Use the generic per-device dma coherent allocator on powerpc.
This allows a driver to declare coherent memory area from where
a device can allocate coherent memory chunks.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/include/asm/dma-mapping.h |1 +
arch/powerpc
controller use HCD_NO_COHERENT_MEM and honor
MEM2 DMA constraints to solve the platform restrictions accessing
coherent memory.
Albert Herranz (9):
powerpc: add per-device dma coherent support
wii: have generic dma coherent
dma-coherent: fix bitmap access races
add generic dmabounce support
Let the Nintendo Wii gaming console use per-device dma coherent allocations.
This will be used later by some of its drivers.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/embedded6xx/Kconfig |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git
for streaming DMA mappings/unmappings via bounce buffers.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
drivers/base/dma-coherent.c | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/drivers/base/dma-coherent.c b/drivers/base/dma-coherent.c
index 962a3b5
DMA memory access restrictions
on the Nintendo Wii video game console.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/Kconfig |3 +
include/linux/dmabounce.h | 77 +
lib/Kconfig | 10 ++
lib/Makefile |2 +
lib/dmabounce.c
Update ARM dmabounce to use the generic dmabounce support.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/arm/Kconfig |4 +-
arch/arm/common/Kconfig |6 +-
arch/arm/common/dmabounce.c | 376 +++-
arch/arm/include
Add support for the USB Enhanced Host Controller Interface included
in the Hollywood chipset of the Nintendo Wii video game console.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/embedded6xx/Kconfig |1 +
drivers/usb/host/Kconfig |8
Russell King - ARM Linux wrote:
On Sun, Feb 28, 2010 at 03:07:57PM +0100, Albert Herranz wrote:
This patch makes part of the ARM dmabounce code available to other
architectures as a generic API.
There is already a generic dma bounce implementation - it's called
swiotlb - lib/swiotlb.c. We
Alan Stern wrote:
On a 64-bit processor, some of the accesses will be 64 bits wide
instead of 32. Does that matter for your purposes?
The wii uses a 32-bit processor, so this is safe in this case.
What about ohci-hcd and uhci-hcd? They both use non-32-bit accesses to
structures in coherent
Alan Stern wrote:
On Sun, 7 Feb 2010, Albert Herranz wrote:
The wii has no uhci, but has 2 ohci controllers.
For ohci we need a similar approach as done for ehci.
So you'll need to write a patch splitting up the OHCI data structures
in the same way the EHCI qh was split up.
Yes
Hi Alan,
Alan Stern wrote:
This description sounds hopelessly confused. Maybe you're just
misusing the term coherent. The patch itself doesn't affect the
coherent DMA mappings anyway; it affects the streaming mappings. Or to
put it another way, what's the justification for replacing a call
The following patch series adds USB 2.0 support for the Wii powerpc
platform via the EHCI controller present in the Hollywood chipset
of the video game console.
Albert Herranz (2):
USB: add HCD_BOUNCE_BUFFERS host controller driver flag
wii: hollywood ehci controller support
arch/powerpc
drivers.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
drivers/usb/core/hcd.c | 337 +++
drivers/usb/core/hcd.h | 13 +-
2 files changed, 286 insertions(+), 64 deletions(-)
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index
Add support for the USB Enhanced Host Controller Interface included
in the Hollywood chipset of the Nintendo Wii video game console.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/embedded6xx/Kconfig |1 +
drivers/usb/host/Kconfig |8
-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/embedded6xx/flipper-pic.c |2 +-
arch/powerpc/platforms/embedded6xx/hlwd-pic.c|2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/embedded6xx/flipper-pic.c
b/arch/powerpc/platforms
incompatible pointer type
These failures are caused by the changes introduced in commit
genirq: Convert irq_desc.lock to raw_spinlock. The reason this driver
was not updated is that it wasn't merged yet.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/embedded6xx/hlwd
Leppanen juha_motorsport...@luukku.com
Signed-off-by: Juha Leppanen juha_motorsport...@luukku.com
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/boot/ugecon.c |2 +-
arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c |2 +-
2 files changed, 2
Grant Likely wrote:
On Fri, Dec 11, 2009 at 5:18 PM, Albert Herranz albert_herr...@yahoo.es
wrote:
Grant Likely wrote:
Hi Albert.
Hi,
I'm ready to pick up your Gamecube and Wii patch sets for merging.
You seem to have 4 distinct patch sets. What order do they need to be
applied
support
- platform support
The Nintendo Wii patches also include support for:
- recognition of the broadway processor
- workarounds to enable the use of the second discontiguous RAM block
With these patches both video game consoles can fully boot up to the
root filesystem mount phase.
Albert Herranz
Add a device tree source file for the Nintendo GameCube video game console.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Segher Boessenkool seg...@kernel.crashing.org
---
.../powerpc/dts-bindings/nintendo/gamecube.txt | 109 +++
arch/powerpc/boot/dts
Add support for using the USB Gecko adapter as a bootwrapper console on
the Nintendo GameCube and Wii video game consoles.
The USB Gecko is a 3rd party memory card interface adapter that provides
a EXI (External Interface) to USB serial converter.
Signed-off-by: Albert Herranz albert_herr
Add support for the Nintendo GameCube video game console to the powerpc
bootwrapper.
dtbImage.gamecube is a wrapped image that contains a flat device tree,
an entry point compatible with SDload, and an optional initrd.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Segher
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 albert_herr...@yahoo.es
Acked-by: Grant Likely grant.lik...@secretlab.ca
---
arch/powerpc/platforms/embedded6xx/Kconfig |4
The processors bundled in the Nintendo GameCube and Wii video game consoles
require explicit cache handling when DMA engines are used.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/Kconfig.cputype |2 +-
1 files changed, 1 insertions(+), 1 deletions
The Nintendo GameCube and Wii video game consoles do not have PCI hardware.
Avoid wasting their scarce memory by not including PCI support into the
kernel.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Grant Likely grant.lik...@secretlab.ca
---
arch/powerpc/Kconfig |2 +-
1
Add support for using the USB Gecko adapter via the udbg facility on
the Nintendo GameCube and Wii video game consoles.
The USB Gecko is a 3rd party memory card interface adapter that provides
a EXI (External Interface) to USB serial converter.
Signed-off-by: Albert Herranz albert_herr
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 Nintendo Wii.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Segher Boessenkool seg
Add platform support for the Nintendo GameCube video game console.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/embedded6xx/Kconfig|8 ++
arch/powerpc/platforms/embedded6xx/Makefile |1 +
arch/powerpc/platforms/embedded6xx/gamecube.c | 118
Add a default configuration for the Nintendo GameCube video game console.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/configs/gamecube_defconfig | 1061 +++
1 files changed, 1061 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc
Add a device tree source file for the Nintendo Wii video game console.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Segher Boessenkool seg...@kernel.crashing.org
Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org
---
.../powerpc/dts-bindings/nintendo/wii.txt
Add support for the Nintendo Wii video game console to the powerpc
bootwrapper.
dtbImage.wii is a wrapped image that contains a flat device tree,
an entry point compatible with the Homebrew Channel and BootMii,
and an optional initrd.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked
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 in the wild:
- DD1.2 (87102)
- DD2.0 (87200)
Signed-off-by: Albert Herranz albert_herr
-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org
Acked-by: Segher Boessenkool seg...@kernel.crashing.org
---
arch/powerpc/platforms/embedded6xx/Makefile |1 +
arch/powerpc/platforms/embedded6xx/hlwd-pic.c | 241
Add platform support for the Nintendo Wii video game console.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org
Acked-by: Segher Boessenkool seg...@kernel.crashing.org
---
RFC v2 - v2
- turn off blue led and ir light on boot
Note
Add a set of entries to the fixmap table to allow usage of known
reserved virtual address space by early debug code.
The address space reserved is the top 128K of the 32-bit address
space. This allows, if required, the use of a BAT to do the mappings.
Signed-off-by: Albert Herranz albert_herr
Add a default configuration for the Nintendo Wii video game console.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org
---
arch/powerpc/configs/wii_defconfig | 1406
1 files changed, 1406
Add support for using the USB Gecko adapter as an early debugging
console on the Nintendo GameCube and Wii video game consoles.
The USB Gecko is a 3rd party memory card interface adapter that provides
a EXI (External Interface) to USB serial converter.
Signed-off-by: Albert Herranz albert_herr
determined from an in-memory header. Otherwise, a safe default
is used.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org
---
arch/powerpc/boot/wii.c | 118 +-
1 files changed, 115 insertions(+), 3
RAM and not
just ~27% of it.
This will no longer be needed when proper discontig memory support
for 32-bit PowerPC is added to the kernel.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org
---
RFC v2 - v2
- add __init to page_aligned
be needed when proper discontig memory support
for 32-bit PowerPC is added to the kernel.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org
---
arch/powerpc/mm/init_32.c|5 +
arch/powerpc/mm/mmu_decl.h |1 +
arch
PowerPC is added to the kernel.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org
---
arch/powerpc/platforms/embedded6xx/wii.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/platforms/embedded6xx
Grant Likely wrote:
Hi Albert.
Hi,
I'm ready to pick up your Gamecube and Wii patch sets for merging.
You seem to have 4 distinct patch sets. What order do they need to be
applied in, and what kernel version are they based on?
The patches were based on 2.6.32-rc8.
The apply order
Benjamin Herrenschmidt wrote:
On Tue, 2009-12-08 at 19:43 +0100, Albert Herranz wrote:
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org
---
v1 - v2
- use a run-time flag to allow/disallow remapping reserved regions
- use
determined from an in-memory header. Otherwise, a safe default
is used.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/boot/wii.c | 118 +-
1 files changed, 115 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/boot/wii.c b/arch
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/mm/init_32.c|4 ++
arch/powerpc/mm/mmu_decl.h | 10 -
arch/powerpc/mm/pgtable_32.c | 32 +--
arch/powerpc/mm/ppc_mmu_32.c |4 +-
arch/powerpc
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
v1 - v2
- use a run-time flag to allow/disallow remapping reserved regions
- use lmbs to determine reserved regions
arch/powerpc/mm/init_32.c|5 +
arch/powerpc/mm/mmu_decl.h |1 +
arch/powerpc/mm/pgtable_32.c |4
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
---
arch/powerpc/platforms/embedded6xx/wii.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/platforms/embedded6xx/wii.c
b/arch/powerpc/platforms/embedded6xx/wii.c
index 5eaed86..0df8a91 100644
Segher Boessenkool wrote:
+#ifdef CONFIG_PPC_EARLY_DEBUG_USBGECKO
+setup_usbgecko_bat:
+/* prepare a BAT for early io */
+#if defined(CONFIG_GAMECUBE)
+lisr8, 0x0c00
+#elif defined(CONFIG_WII)
+lisr8, 0x0d00
+#else
+#error Invalid platform for USB Gecko based early
Segher Boessenkool wrote:
Add a device tree source file for the Nintendo Wii video game console.
Signed-off-by: Albert Herranz albert_herr...@yahoo.es
Acked-by: Segher Boessenkool seg...@kernel.crashing.org
Great work Albert!
Thanks!
Cheers,
Albert
Add a set of entries to the fixmap table to allow usage of known
reserved virtual address space by early debug code.
The address space reserved is the top 128K of the 32-bit address
space. This allows, if required, the use of a BAT to do the mappings.
Signed-off-by: Albert Herranz albert_herr
This is v4 of the early debugging using usbgecko patch.
It tries to implement the ideas suggested by Benjamin Herrenschmidt
regarding the use of a set of fixmap entries to provide safe
virtual address space for an early mapping.
Albert Herranz (2):
powerpc: reserve fixmap entries for early
Add support for using the USB Gecko adapter as an early debugging
console on the Nintendo GameCube and Wii video game consoles.
The USB Gecko is a 3rd party memory card interface adapter that provides
a EXI (External Interface) to USB serial converter.
Signed-off-by: Albert Herranz albert_herr
1 - 100 of 198 matches
Mail list logo