This list is closed, nobody may subscribe to it.
2004 |
Jan
(53) |
Feb
(78) |
Mar
(34) |
Apr
(26) |
May
(25) |
Jun
(34) |
Jul
(16) |
Aug
(16) |
Sep
(2) |
Oct
(58) |
Nov
(13) |
Dec
(32) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(62) |
Feb
(4) |
Mar
(40) |
Apr
(9) |
May
(13) |
Jun
(26) |
Jul
(32) |
Aug
(24) |
Sep
(18) |
Oct
(18) |
Nov
(14) |
Dec
|
2006 |
Jan
(15) |
Feb
(2) |
Mar
(23) |
Apr
(2) |
May
(2) |
Jun
(13) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2007 |
Jan
(1) |
Feb
(45) |
Mar
|
Apr
(13) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(31) |
Dec
(5) |
2008 |
Jan
(6) |
Feb
(34) |
Mar
(113) |
Apr
(40) |
May
(19) |
Jun
(5) |
Jul
(41) |
Aug
(13) |
Sep
(53) |
Oct
(4) |
Nov
(53) |
Dec
|
2009 |
Jan
(1) |
Feb
(29) |
Mar
(66) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(163) |
Nov
|
Dec
(91) |
From: Albert H. <he...@us...> - 2009-10-25 18:33:55
|
Update of /cvsroot/gc-linux/linux/drivers/misc In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28099/drivers/misc Modified Files: Kconfig Makefile Log Message: Rewind to v2.6.29. Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/misc/Makefile,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Makefile 2 Mar 2009 19:26:37 -0000 1.11 --- Makefile 25 Oct 2009 18:33:47 -0000 1.12 *************** *** 20,24 **** obj-$(CONFIG_HP_ILO) += hpilo.o obj-$(CONFIG_C2PORT) += c2port/ - obj-$(CONFIG_GAMECUBE_GQR) += gcn-gqr.o - obj-$(CONFIG_GAMECUBE_MI) += gcn-mi.o obj-y += eeprom/ --- 20,22 ---- Index: Kconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/misc/Kconfig,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Kconfig 2 Mar 2009 19:26:37 -0000 1.15 --- Kconfig 25 Oct 2009 18:33:47 -0000 1.16 *************** *** 56,81 **** interval timing. - config GAMECUBE_GQR - tristate "Nintendo GameCube/Wii Graphic Quantization Registers (GQR)" - depends on GAMECUBE_COMMON - help - This option enables device driver support for the Gekko/Broadway - processors' Graphic Quantization Registers. - These registers are used with the psql and psqst instructions. - The registers will appear in /proc/sys/gqr. - - config GAMECUBE_MI - tristate "Nintendo GameCube Memory Interface (MI)" - depends on GAMECUBE - help - If you say yes to this option, support will be included for the - Memory Interface (MI) of the Nintendo GameCube. - - The MI allows one to setup up to four protected memory regions, - catching invalid accesses to them. The MI catches out of bounds - memory accesses too. - - If in doubt, say N here. - config IBM_ASM tristate "Device driver for IBM RSA service processor" --- 56,59 ---- |
From: Albert H. <he...@us...> - 2009-10-25 18:33:55
|
Update of /cvsroot/gc-linux/linux/arch/powerpc/platforms/embedded6xx In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28099/arch/powerpc/platforms/embedded6xx Modified Files: Kconfig Makefile Log Message: Rewind to v2.6.29. Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/platforms/embedded6xx/Makefile,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Makefile 1 Feb 2009 18:29:35 -0000 1.8 --- Makefile 25 Oct 2009 18:33:46 -0000 1.9 *************** *** 8,18 **** obj-$(CONFIG_PPC_PRPMC2800) += prpmc2800.o obj-$(CONFIG_PPC_C2K) += c2k.o - obj-$(CONFIG_GAMECUBE) += gamecube.o gamecube_dev.o - obj-$(CONFIG_WII) += wii.o wii_dev.o \ - starlet-ipc.o starlet-malloc.o \ - starlet-stm.o starlet-es.o - obj-$(CONFIG_FLIPPER_PIC) += flipper-pic.o - obj-$(CONFIG_USBGECKO_UDBG) += usbgecko_udbg.o - obj-$(CONFIG_GAMECUBE_VIDEO_UDBG) += gcnvi_udbg.o - obj-$(CONFIG_GAMECUBE_RSW) += gcn-rsw.o - obj-$(CONFIG_WII_GPIO) += starlet-gpio.o --- 8,9 ---- Index: Kconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/platforms/embedded6xx/Kconfig,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Kconfig 1 Feb 2009 18:29:35 -0000 1.7 --- Kconfig 25 Oct 2009 18:33:46 -0000 1.8 *************** *** 91,179 **** bool "Enable MPC10x store gathering" depends on MPC10X_BRIDGE - - config GAMECUBE - bool "Nintendo-GameCube" - depends on EMBEDDED6xx - select GAMECUBE_COMMON - help - Select GAMECUBE if configuring for the Nintendo GameCube. - More information at: <http://gc-linux.sourceforge.net/> - - config WII - bool "Nintendo-Wii" - depends on EMBEDDED6xx - select GAMECUBE_COMMON - select PPC_LIB_RHEAP - help - Select WII if configuring for the Nintendo Wii. - More information at: <http://gc-linux.sourceforge.net/> - - config FLIPPER_PIC - bool - default n - - config GAMECUBE_COMMON - bool - select NOT_COHERENT_CACHE - select FLIPPER_PIC - default n - - config GAMECUBE_UDBG - bool "Nintendo GameCube/Wii udbg support" - depends on GAMECUBE_COMMON - default n - help - If you say yes to this option, you will be able to choose between - several udbg drivers available for the Nintendo GameCube/Wii. - - If in doubt, say N here. - - choice - prompt "Nintendo GameCube/Wii udbg drivers" - depends on GAMECUBE_UDBG - - config USBGECKO_UDBG - bool "USB Gecko udbg console for the Nintendo GameCube/Wii" - help - 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. - - This driver bypasses the EXI layer completely. - - If in doubt, say N here. - - config GAMECUBE_VIDEO_UDBG - bool "Nintendo GameCube/Wii framebuffer udbg console" - select FONTS - select FONT_8x16 - help - If you say yes to this option, support will be included for a - framebuffer based udbg console for the Nintendo GameCube/Wii. - - If in doubt, say N here. - - endchoice - - config GAMECUBE_RSW - bool "Nintendo GameCube/Wii reset switch/button" - depends on GAMECUBE_COMMON - default y - help - If you say yes to this option, support will be included for the - reset switch/button of the Nintendo GameCube/Wii. - - If in doubt, say Y here. - - config WII_GPIO - bool "Nintendo Wii GPIO support" - depends on GPIOLIB - default y - help - If you say yes to this option, support will be included for the - Nintendo Wii GPIO lines that control, for example, the sensor - bar IR leds, the front led, or the eject switch of the disk unit. - - If in doubt, say Y here. - --- 91,92 ---- |
From: Albert H. <he...@us...> - 2009-10-25 18:33:54
|
Update of /cvsroot/gc-linux/linux/drivers/block In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28099/drivers/block Modified Files: Kconfig Makefile Log Message: Rewind to v2.6.29. Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/block/Makefile,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** Makefile 28 Mar 2009 20:44:19 -0000 1.24 --- Makefile 25 Oct 2009 18:33:47 -0000 1.25 *************** *** 13,21 **** obj-$(CONFIG_ATARI_FLOPPY) += ataflop.o obj-$(CONFIG_AMIGA_Z2RAM) += z2ram.o - obj-$(CONFIG_GAMECUBE_SD) += gcn-sd.o - obj-$(CONFIG_GAMECUBE_ARAM) += gcn-aram.o - obj-$(CONFIG_GAMECUBE_DI) += gcn-di/ - obj-$(CONFIG_WII_MEM2) += rvl-mem2.o - obj-$(CONFIG_WII_SD) += rvl-stsd.o obj-$(CONFIG_BLK_DEV_RAM) += brd.o obj-$(CONFIG_BLK_DEV_LOOP) += loop.o --- 13,16 ---- Index: Kconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/block/Kconfig,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** Kconfig 5 Mar 2009 19:57:30 -0000 1.36 --- Kconfig 25 Oct 2009 18:33:46 -0000 1.37 *************** *** 57,125 **** module will be called z2ram. - config GAMECUBE_SD - tristate "Nintendo GameCube/Wii MMC/SD card" - depends on GAMECUBE_EXI - help - This enables support for using SD and MMC cards through - the Nintendo SD Card Adapter (DOL-019) or compatible hardware. - - You probably want to compile FAT support, and the required - codepages, or mount will complain. See Filesystems -> DOS/FAT/NT - filesystems and Filesystems -> Native Language Support - - Say Y if you want to include this driver in the kernel. - - To compile this driver as a module, choose M here: the - module will be called gcn-sd. - - config GAMECUBE_ARAM - tristate "Nintendo GameCube Auxiliary RAM (ARAM)" - depends on GAMECUBE - help - This enables support for using the 16MB of ARAM found in the - Nintendo GameCube as a block device. - Say Y if you want to include this driver in the kernel. - - To compile this driver as a module, choose M here: the - module will be called gcn-aram. - - config GAMECUBE_DI - tristate "Nintendo GameCube Disk Interface (DI)" - depends on GAMECUBE - help - This enables support for using the DVD drive unit found - in the Nintendo GameCube. - Say Y if you want to include this driver in the kernel. - - To compile this driver as a module, choose M here: the - module will be called gcn-di. - - config WII_MEM2 - tristate "Nintendo Wii MEM2" - depends on WII - help - This enables support for using the MEM2 found in the - Nintendo Wii as a block device. - Say Y if you want to include this driver in the kernel. - - To compile this driver as a module, choose M here: the - module will be called rvl-mem2. - - config WII_SD - tristate "Nintendo Wii front slot MMC/SD" - depends on WII - help - This enables support for MMC/SD cards using the front SD card - slot of the Nintendo Wii. - - You probably want to compile FAT support, and the required - codepages, or mount will complain. See Filesystems -> DOS/FAT/NT - filesystems and Filesystems -> Native Language Support - - Say Y if you want to include this driver in the kernel. - - To compile this driver as a module, choose M here: the - module will be called rvl-stsd. - config BLK_DEV_XD tristate "XT hard disk support" --- 57,60 ---- |
From: Albert H. <he...@us...> - 2009-10-25 18:33:54
|
Update of /cvsroot/gc-linux/linux/arch/powerpc/boot In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28099/arch/powerpc/boot Modified Files: Makefile Log Message: Rewind to v2.6.29. Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/boot/Makefile,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Makefile 2 Mar 2009 19:26:37 -0000 1.8 --- Makefile 25 Oct 2009 18:33:46 -0000 1.9 *************** *** 61,65 **** 4xx.c ebony.c mv64x60.c mpsc.c mv64x60_i2c.c cuboot.c bamboo.c \ cpm-serial.c stdlib.c mpc52xx-psc.c planetcore.c uartlite.c \ ! fsl-soc.c mpc8xx.c pq2.c ugecon.c src-plat := of.c cuboot-52xx.c cuboot-824x.c cuboot-83xx.c cuboot-85xx.c holly.c \ cuboot-ebony.c treeboot-ebony.c prpmc2800.c \ --- 61,65 ---- 4xx.c ebony.c mv64x60.c mpsc.c mv64x60_i2c.c cuboot.c bamboo.c \ cpm-serial.c stdlib.c mpc52xx-psc.c planetcore.c uartlite.c \ ! fsl-soc.c mpc8xx.c pq2.c src-plat := of.c cuboot-52xx.c cuboot-824x.c cuboot-83xx.c cuboot-85xx.c holly.c \ cuboot-ebony.c treeboot-ebony.c prpmc2800.c \ *************** *** 71,75 **** cuboot-warp.c cuboot-85xx-cpm2.c cuboot-yosemite.c simpleboot.c \ virtex405-head.S virtex.c redboot-83xx.c cuboot-sam440ep.c \ ! cuboot-acadia.c gamecube.c wii.c src-boot := $(src-wlib) $(src-plat) empty.c --- 71,75 ---- cuboot-warp.c cuboot-85xx-cpm2.c cuboot-yosemite.c simpleboot.c \ virtex405-head.S virtex.c redboot-83xx.c cuboot-sam440ep.c \ ! cuboot-acadia.c src-boot := $(src-wlib) $(src-plat) empty.c *************** *** 274,279 **** image-$(CONFIG_MPC7448HPC2) += cuImage.mpc7448hpc2 image-$(CONFIG_PPC_C2K) += cuImage.c2k - image-$(CONFIG_GAMECUBE) += dtbImage.gamecube - image-$(CONFIG_WII) += dtbImage.wii # For 32-bit powermacs, build the COFF and miboot images --- 274,277 ---- |
From: Albert H. <he...@us...> - 2009-03-28 20:44:28
|
Update of /cvsroot/gc-linux/linux/drivers/input/si In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15781/drivers/input/si Modified Files: gcn-si.c Log Message: ** Import git changes up to 2.6.29 merge ** commit 82670a7d050e5001f723a056e4827750c0f65dfc Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:57:29 2009 +0100 gamecube: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/gamecube_defconfig | 72 +++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 22 deletions(-) commit e28f75ea563c7c9e3fdec767ce029b4b1803172b Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:48:31 2009 +0100 wii: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/wii_defconfig | 167 ++++++++++++++++++++++++++++++------ 1 files changed, 140 insertions(+), 27 deletions(-) commit 51a7be2130487abc9f47dc201d55b8049b0e8fba Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 19:28:44 2009 +0100 wii: kexec: save/restore lowmem stub Add a save/restore mechanism to preserve the lowest 16KiB of memory and make them available again after a kexec reboot. This is useful to preserve the "resident" reloader stubs installed by the existing bootloaders. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/dts/wii.dts | 6 +++ arch/powerpc/boot/wii.c | 38 ++++++++++++++++++++++ arch/powerpc/platforms/embedded6xx/wii.c | 51 +++++++++++++++++++++++++++++- 3 files changed, 94 insertions(+), 1 deletions(-) commit 0dc2ea8a60ff7f96091393d999add383f3d15cbf Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 18:13:12 2009 +0100 kexec: add preserved region This patch allows kexec to copy back a previously preserved memory region to its original location at kexec time. For example, the preserved region can be saved during boot time to a safe area and then restored back during the final kexec phase. The caller is responsible to ensure that the destination memory area can be safely overwritten. The source memory area must be available during the kexec relocation stage. One immediate use is preserving the lowest 16KiB in the Nintendo GameCube and Wii video game consoles which are traditionally used to host reloader stubs. Signed-off-by: Albert Herranz <alb...@ya...> include/linux/kexec.h | 11 +++++++---- kernel/kexec.c | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) commit e163fdd92acdf7a903fce2a1e5249dd386ff712c Author: Albert Herranz <alb...@ya...> Date: Thu Mar 26 20:26:46 2009 +0100 wii: enhance bootwrapper entry The bootloaders used on the Nintendo Wii may load the kernel and transfer control to it in a variety of environments. This patch modifies the entry point of the bootwrapper to not make any particular assumption about the initial state of the MMU. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/wii.c | 98 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 84 insertions(+), 14 deletions(-) commit 8034bd01f7068191d0f1044e942b8067d4f046e1 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:14:18 2009 +0100 flipper-pic: add quiesce method Add a quiesce method to the "flipper" interrupt controller driver to inhibit all interrupt sources before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/flipper-pic.c | 24 +++++++++++++++++++-- arch/powerpc/platforms/embedded6xx/flipper-pic.h | 1 + arch/powerpc/platforms/embedded6xx/wii.c | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) commit c75c681771ab387ee53ca6cfaed9a432ee99f0d9 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:05:33 2009 +0100 exi: add quiesce method Add a quiesce method to the EXternal Interface (EXI) driver to calm down the EXI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/wii.c | 3 ++- drivers/exi/exi-driver.c | 10 ++++++++++ drivers/exi/exi-hw.c | 5 +++++ drivers/exi/exi-hw.h | 2 ++ include/linux/exi.h | 12 ++++++++++++ 5 files changed, 31 insertions(+), 1 deletions(-) commit f063156b4a5ff84206d0b79a5ae25d50262fc010 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:27:19 2009 +0100 gcn-si: add shutdown method Add a shutdown method to the Serial Interface (SI) driver to quiesce the SI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) commit afebd827733d7a76f323a59c8797b983d9e3655f Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 14:37:11 2009 +0100 gcn-vi: re-detect tv mode if cable type changes Force a video mode detection cycle when setting up a video mode if the cable type has changed (component vs non-component). Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) commit 584224e2479475edb51a399b419205f7e2368bc2 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:56:48 2009 +0100 gcn-vi: add shutdown method Add a shutdown method to the Video Interface (VI) driver to quiesce the VI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit a6e357287734b326ce05de38f8588fc4526d11a5 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:46:03 2009 +0100 gcn-vi: reset video hardware before initiating detection Issue a hardware reset of the Video Interface (VI) hardware before performing the TV video mode autodetection. This fixes graphics glitches (swapped colors, green-red artifacts) seen after an incomplete video initialization. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 2d13698e4014c461351658ee3a2c3f923f51cf3a Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 21:11:38 2009 +0100 wii: platform restart rework Use the new IOS reload helpers in the platform restart code and kexec path. A platform restart tries now to load The Homebrew Channel and falls back to a normal STM restart if the former fails. On the other hand, the kexec reboot path reloads IOS before the final kexec phase to ensure that the kexec'ed image will get IOS in a known clean state. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 2 + arch/powerpc/platforms/embedded6xx/wii.c | 36 ++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 7 deletions(-) commit e11bbe78fc0c212db0ff18553dbf7841e190f828 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:38:02 2009 +0100 wii: starlet/ios: add ios reload helpers Add helpers for reloading IOS and optionally launching titles from NAND. These helpers will be used later in the platform code to implement a clean "direct reboot to channel" method, which finally will allow rebooting to The Homebrew Channel. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 5 ++ arch/powerpc/platforms/embedded6xx/starlet-es.c | 86 +++++++++++++++++++++++ 2 files changed, 91 insertions(+), 0 deletions(-) commit e4d9d4e747632a6657f650c537e6e10a06f2747b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:25:42 2009 +0100 wii: starlet/ios: use polled ipc api on title launch This patch converts the title launch helper code to the new polled IPC call interface, and prepares it to be called from non-sleeping contexts. This change is required to implement later the new IOS reload helpers. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-es.c | 184 +++++++++++------------ 1 files changed, 89 insertions(+), 95 deletions(-) commit e09ea011b5c14e16b6498d7063abf54751901878 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:08:26 2009 +0100 wii: starlet/ios: use polled ipc api on platform restart This patch fixes some known restart failure scenarios by switching the platform restart code to the new polled IPC call interface. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-stm.c | 25 ++++++++++++++++----- 1 files changed, 19 insertions(+), 6 deletions(-) commit 644ec5f6c15bbdb275bd9b485f7a811d8eb67e2b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 19:57:08 2009 +0100 wii: starlet/ios: add polled ipc api Add a new set of functions enabling the use of IOS IPC calls from non-sleeping contexts or critical paths. The *_polled functions actively sample the status of their related IPC requests until they complete. Execution of this family of calls is serialized and use processor resources so they should be only used for very specific contexts where the other existing functions are not suitable. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 37 +++-- arch/powerpc/platforms/embedded6xx/starlet-ipc.c | 197 +++++++++++++++++----- 2 files changed, 179 insertions(+), 55 deletions(-) commit fc5f68b629dbe6706fbabedf15e340428b196d5e Author: Albert Herranz <alb...@ya...> Date: Tue Mar 10 18:14:20 2009 +0100 gcn-si: fix named module parameter declaration This patch fixes the following build error due to an incorrect module parameter declaration. drivers/input/si/gcn-si.c:130: error: expected ')' before 'int' make[2]: *** [drivers/input/si/gcn-si.o] Error 1 make[1]: *** [drivers/input/si] Error 2 make: *** [drivers] Error 2 Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: gcn-si.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/input/si/gcn-si.c,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** gcn-si.c 1 Feb 2009 18:29:35 -0000 1.13 --- gcn-si.c 28 Mar 2009 20:44:19 -0000 1.14 *************** *** 115,118 **** --- 115,121 ---- struct si_drvdata { + unsigned long flags; + #define SI_QUIESCE (1<<0) + struct si_port ports[SI_MAX_PORTS]; *************** *** 128,132 **** #ifdef MODULE ! module_psi_named(force_keyboard_port, si_force_keyboard_port, int, 0644); MODULE_PARM_DESC(force_keyboard_port, "port n becomes a keyboard port if" " automatic identification fails"); --- 131,135 ---- #ifdef MODULE ! module_param_named(force_keyboard_port, si_force_keyboard_port, int, 0644); MODULE_PARM_DESC(force_keyboard_port, "port n becomes a keyboard port if" " automatic identification fails"); *************** *** 149,153 **** */ ! static void si_reset(void __iomem *io_base) { int i; --- 152,156 ---- */ ! static void si_reset_all(void __iomem *io_base) { int i; *************** *** 352,356 **** input_sync(port->idev); ! mod_timer(&port->timer, jiffies + SI_REFRESH_TIME); } --- 355,360 ---- input_sync(port->idev); ! if (!(port->drvdata->flags & SI_QUIESCE)) ! mod_timer(&port->timer, jiffies + SI_REFRESH_TIME); } *************** *** 488,493 **** int retval = 0; - si_reset(io_base); - /* * Determine input device type from SI id. --- 492,495 ---- *************** *** 578,581 **** --- 580,584 ---- drvdata->io_base = ioremap(mem->start, mem->end - mem->start + 1); + si_reset_all(drvdata->io_base); for (index = 0; index < SI_MAX_PORTS; ++index) { port = &drvdata->ports[index]; *************** *** 660,663 **** --- 663,680 ---- } + static int si_do_shutdown(struct device *dev) + { + struct si_drvdata *drvdata = dev_get_drvdata(dev); + int i; + + if (drvdata) { + drvdata->flags |= SI_QUIESCE; + for (i = 0; i < SI_MAX_PORTS; ++i) + del_timer_sync(&drvdata->ports[i].timer); + si_reset_all(drvdata->io_base); + } + return 0; + } + /* *************** *** 686,689 **** --- 703,711 ---- } + static int si_of_shutdown(struct of_device *odev) + { + return si_do_shutdown(&odev->dev); + } + static struct of_device_id si_of_match[] = { { .compatible = "nintendo,flipper-serial" }, *************** *** 701,704 **** --- 723,727 ---- .probe = si_of_probe, .remove = si_of_remove, + .shutdown = si_of_shutdown, }; |
From: Albert H. <he...@us...> - 2009-03-28 20:44:28
|
Update of /cvsroot/gc-linux/linux/arch/powerpc/kernel In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15781/arch/powerpc/kernel Modified Files: head_32.S Log Message: ** Import git changes up to 2.6.29 merge ** commit 82670a7d050e5001f723a056e4827750c0f65dfc Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:57:29 2009 +0100 gamecube: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/gamecube_defconfig | 72 +++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 22 deletions(-) commit e28f75ea563c7c9e3fdec767ce029b4b1803172b Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:48:31 2009 +0100 wii: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/wii_defconfig | 167 ++++++++++++++++++++++++++++++------ 1 files changed, 140 insertions(+), 27 deletions(-) commit 51a7be2130487abc9f47dc201d55b8049b0e8fba Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 19:28:44 2009 +0100 wii: kexec: save/restore lowmem stub Add a save/restore mechanism to preserve the lowest 16KiB of memory and make them available again after a kexec reboot. This is useful to preserve the "resident" reloader stubs installed by the existing bootloaders. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/dts/wii.dts | 6 +++ arch/powerpc/boot/wii.c | 38 ++++++++++++++++++++++ arch/powerpc/platforms/embedded6xx/wii.c | 51 +++++++++++++++++++++++++++++- 3 files changed, 94 insertions(+), 1 deletions(-) commit 0dc2ea8a60ff7f96091393d999add383f3d15cbf Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 18:13:12 2009 +0100 kexec: add preserved region This patch allows kexec to copy back a previously preserved memory region to its original location at kexec time. For example, the preserved region can be saved during boot time to a safe area and then restored back during the final kexec phase. The caller is responsible to ensure that the destination memory area can be safely overwritten. The source memory area must be available during the kexec relocation stage. One immediate use is preserving the lowest 16KiB in the Nintendo GameCube and Wii video game consoles which are traditionally used to host reloader stubs. Signed-off-by: Albert Herranz <alb...@ya...> include/linux/kexec.h | 11 +++++++---- kernel/kexec.c | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) commit e163fdd92acdf7a903fce2a1e5249dd386ff712c Author: Albert Herranz <alb...@ya...> Date: Thu Mar 26 20:26:46 2009 +0100 wii: enhance bootwrapper entry The bootloaders used on the Nintendo Wii may load the kernel and transfer control to it in a variety of environments. This patch modifies the entry point of the bootwrapper to not make any particular assumption about the initial state of the MMU. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/wii.c | 98 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 84 insertions(+), 14 deletions(-) commit 8034bd01f7068191d0f1044e942b8067d4f046e1 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:14:18 2009 +0100 flipper-pic: add quiesce method Add a quiesce method to the "flipper" interrupt controller driver to inhibit all interrupt sources before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/flipper-pic.c | 24 +++++++++++++++++++-- arch/powerpc/platforms/embedded6xx/flipper-pic.h | 1 + arch/powerpc/platforms/embedded6xx/wii.c | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) commit c75c681771ab387ee53ca6cfaed9a432ee99f0d9 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:05:33 2009 +0100 exi: add quiesce method Add a quiesce method to the EXternal Interface (EXI) driver to calm down the EXI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/wii.c | 3 ++- drivers/exi/exi-driver.c | 10 ++++++++++ drivers/exi/exi-hw.c | 5 +++++ drivers/exi/exi-hw.h | 2 ++ include/linux/exi.h | 12 ++++++++++++ 5 files changed, 31 insertions(+), 1 deletions(-) commit f063156b4a5ff84206d0b79a5ae25d50262fc010 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:27:19 2009 +0100 gcn-si: add shutdown method Add a shutdown method to the Serial Interface (SI) driver to quiesce the SI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) commit afebd827733d7a76f323a59c8797b983d9e3655f Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 14:37:11 2009 +0100 gcn-vi: re-detect tv mode if cable type changes Force a video mode detection cycle when setting up a video mode if the cable type has changed (component vs non-component). Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) commit 584224e2479475edb51a399b419205f7e2368bc2 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:56:48 2009 +0100 gcn-vi: add shutdown method Add a shutdown method to the Video Interface (VI) driver to quiesce the VI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit a6e357287734b326ce05de38f8588fc4526d11a5 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:46:03 2009 +0100 gcn-vi: reset video hardware before initiating detection Issue a hardware reset of the Video Interface (VI) hardware before performing the TV video mode autodetection. This fixes graphics glitches (swapped colors, green-red artifacts) seen after an incomplete video initialization. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 2d13698e4014c461351658ee3a2c3f923f51cf3a Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 21:11:38 2009 +0100 wii: platform restart rework Use the new IOS reload helpers in the platform restart code and kexec path. A platform restart tries now to load The Homebrew Channel and falls back to a normal STM restart if the former fails. On the other hand, the kexec reboot path reloads IOS before the final kexec phase to ensure that the kexec'ed image will get IOS in a known clean state. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 2 + arch/powerpc/platforms/embedded6xx/wii.c | 36 ++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 7 deletions(-) commit e11bbe78fc0c212db0ff18553dbf7841e190f828 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:38:02 2009 +0100 wii: starlet/ios: add ios reload helpers Add helpers for reloading IOS and optionally launching titles from NAND. These helpers will be used later in the platform code to implement a clean "direct reboot to channel" method, which finally will allow rebooting to The Homebrew Channel. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 5 ++ arch/powerpc/platforms/embedded6xx/starlet-es.c | 86 +++++++++++++++++++++++ 2 files changed, 91 insertions(+), 0 deletions(-) commit e4d9d4e747632a6657f650c537e6e10a06f2747b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:25:42 2009 +0100 wii: starlet/ios: use polled ipc api on title launch This patch converts the title launch helper code to the new polled IPC call interface, and prepares it to be called from non-sleeping contexts. This change is required to implement later the new IOS reload helpers. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-es.c | 184 +++++++++++------------ 1 files changed, 89 insertions(+), 95 deletions(-) commit e09ea011b5c14e16b6498d7063abf54751901878 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:08:26 2009 +0100 wii: starlet/ios: use polled ipc api on platform restart This patch fixes some known restart failure scenarios by switching the platform restart code to the new polled IPC call interface. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-stm.c | 25 ++++++++++++++++----- 1 files changed, 19 insertions(+), 6 deletions(-) commit 644ec5f6c15bbdb275bd9b485f7a811d8eb67e2b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 19:57:08 2009 +0100 wii: starlet/ios: add polled ipc api Add a new set of functions enabling the use of IOS IPC calls from non-sleeping contexts or critical paths. The *_polled functions actively sample the status of their related IPC requests until they complete. Execution of this family of calls is serialized and use processor resources so they should be only used for very specific contexts where the other existing functions are not suitable. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 37 +++-- arch/powerpc/platforms/embedded6xx/starlet-ipc.c | 197 +++++++++++++++++----- 2 files changed, 179 insertions(+), 55 deletions(-) commit fc5f68b629dbe6706fbabedf15e340428b196d5e Author: Albert Herranz <alb...@ya...> Date: Tue Mar 10 18:14:20 2009 +0100 gcn-si: fix named module parameter declaration This patch fixes the following build error due to an incorrect module parameter declaration. drivers/input/si/gcn-si.c:130: error: expected ')' before 'int' make[2]: *** [drivers/input/si/gcn-si.o] Error 1 make[1]: *** [drivers/input/si] Error 2 make: *** [drivers] Error 2 Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: head_32.S =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/kernel/head_32.S,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** head_32.S 2 Mar 2009 19:26:37 -0000 1.7 --- head_32.S 28 Mar 2009 20:44:19 -0000 1.8 *************** *** 515,520 **** rlwimi r3,r3,32-1,30,30 /* _PAGE_USER -> PP msb */ rlwimi r3,r3,32-1,31,31 /* _PAGE_USER -> PP lsb */ ! ori r1,r1,0xe14 /* clear out reserved bits and M */ andc r1,r3,r1 /* PP = user? (rw&dirty? 2: 3): 0 */ mtspr SPRN_RPA,r1 mfspr r3,SPRN_IMISS --- 515,523 ---- rlwimi r3,r3,32-1,30,30 /* _PAGE_USER -> PP msb */ rlwimi r3,r3,32-1,31,31 /* _PAGE_USER -> PP lsb */ ! ori r1,r1,0xe04 /* clear out reserved bits */ andc r1,r3,r1 /* PP = user? (rw&dirty? 2: 3): 0 */ + BEGIN_FTR_SECTION + rlwinm r1,r1,0,~_PAGE_COHERENT /* clear M (coherence not required) */ + END_FTR_SECTION_IFCLR(CPU_FTR_NEED_COHERENT) mtspr SPRN_RPA,r1 mfspr r3,SPRN_IMISS *************** *** 589,594 **** rlwimi r3,r3,32-1,30,30 /* _PAGE_USER -> PP msb */ rlwimi r3,r3,32-1,31,31 /* _PAGE_USER -> PP lsb */ ! ori r1,r1,0xe14 /* clear out reserved bits and M */ andc r1,r3,r1 /* PP = user? (rw&dirty? 2: 3): 0 */ mtspr SPRN_RPA,r1 mfspr r3,SPRN_DMISS --- 592,600 ---- rlwimi r3,r3,32-1,30,30 /* _PAGE_USER -> PP msb */ rlwimi r3,r3,32-1,31,31 /* _PAGE_USER -> PP lsb */ ! ori r1,r1,0xe04 /* clear out reserved bits */ andc r1,r3,r1 /* PP = user? (rw&dirty? 2: 3): 0 */ + BEGIN_FTR_SECTION + rlwinm r1,r1,0,~_PAGE_COHERENT /* clear M (coherence not required) */ + END_FTR_SECTION_IFCLR(CPU_FTR_NEED_COHERENT) mtspr SPRN_RPA,r1 mfspr r3,SPRN_DMISS *************** *** 657,662 **** /* Convert linux-style PTE to low word of PPC-style PTE */ rlwimi r3,r3,32-1,30,30 /* _PAGE_USER -> PP msb */ ! li r1,0xe15 /* clear out reserved bits and M */ andc r1,r3,r1 /* PP = user? 2: 0 */ mtspr SPRN_RPA,r1 mfspr r3,SPRN_DMISS --- 663,671 ---- /* Convert linux-style PTE to low word of PPC-style PTE */ rlwimi r3,r3,32-1,30,30 /* _PAGE_USER -> PP msb */ ! li r1,0xe05 /* clear out reserved bits & PP lsb */ andc r1,r3,r1 /* PP = user? 2: 0 */ + BEGIN_FTR_SECTION + rlwinm r1,r1,0,~_PAGE_COHERENT /* clear M (coherence not required) */ + END_FTR_SECTION_IFCLR(CPU_FTR_NEED_COHERENT) mtspr SPRN_RPA,r1 mfspr r3,SPRN_DMISS |
From: Albert H. <he...@us...> - 2009-03-28 20:44:28
|
Update of /cvsroot/gc-linux/linux/arch/powerpc/boot/dts In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15781/arch/powerpc/boot/dts Modified Files: wii.dts Log Message: ** Import git changes up to 2.6.29 merge ** commit 82670a7d050e5001f723a056e4827750c0f65dfc Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:57:29 2009 +0100 gamecube: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/gamecube_defconfig | 72 +++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 22 deletions(-) commit e28f75ea563c7c9e3fdec767ce029b4b1803172b Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:48:31 2009 +0100 wii: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/wii_defconfig | 167 ++++++++++++++++++++++++++++++------ 1 files changed, 140 insertions(+), 27 deletions(-) commit 51a7be2130487abc9f47dc201d55b8049b0e8fba Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 19:28:44 2009 +0100 wii: kexec: save/restore lowmem stub Add a save/restore mechanism to preserve the lowest 16KiB of memory and make them available again after a kexec reboot. This is useful to preserve the "resident" reloader stubs installed by the existing bootloaders. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/dts/wii.dts | 6 +++ arch/powerpc/boot/wii.c | 38 ++++++++++++++++++++++ arch/powerpc/platforms/embedded6xx/wii.c | 51 +++++++++++++++++++++++++++++- 3 files changed, 94 insertions(+), 1 deletions(-) commit 0dc2ea8a60ff7f96091393d999add383f3d15cbf Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 18:13:12 2009 +0100 kexec: add preserved region This patch allows kexec to copy back a previously preserved memory region to its original location at kexec time. For example, the preserved region can be saved during boot time to a safe area and then restored back during the final kexec phase. The caller is responsible to ensure that the destination memory area can be safely overwritten. The source memory area must be available during the kexec relocation stage. One immediate use is preserving the lowest 16KiB in the Nintendo GameCube and Wii video game consoles which are traditionally used to host reloader stubs. Signed-off-by: Albert Herranz <alb...@ya...> include/linux/kexec.h | 11 +++++++---- kernel/kexec.c | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) commit e163fdd92acdf7a903fce2a1e5249dd386ff712c Author: Albert Herranz <alb...@ya...> Date: Thu Mar 26 20:26:46 2009 +0100 wii: enhance bootwrapper entry The bootloaders used on the Nintendo Wii may load the kernel and transfer control to it in a variety of environments. This patch modifies the entry point of the bootwrapper to not make any particular assumption about the initial state of the MMU. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/wii.c | 98 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 84 insertions(+), 14 deletions(-) commit 8034bd01f7068191d0f1044e942b8067d4f046e1 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:14:18 2009 +0100 flipper-pic: add quiesce method Add a quiesce method to the "flipper" interrupt controller driver to inhibit all interrupt sources before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/flipper-pic.c | 24 +++++++++++++++++++-- arch/powerpc/platforms/embedded6xx/flipper-pic.h | 1 + arch/powerpc/platforms/embedded6xx/wii.c | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) commit c75c681771ab387ee53ca6cfaed9a432ee99f0d9 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:05:33 2009 +0100 exi: add quiesce method Add a quiesce method to the EXternal Interface (EXI) driver to calm down the EXI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/wii.c | 3 ++- drivers/exi/exi-driver.c | 10 ++++++++++ drivers/exi/exi-hw.c | 5 +++++ drivers/exi/exi-hw.h | 2 ++ include/linux/exi.h | 12 ++++++++++++ 5 files changed, 31 insertions(+), 1 deletions(-) commit f063156b4a5ff84206d0b79a5ae25d50262fc010 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:27:19 2009 +0100 gcn-si: add shutdown method Add a shutdown method to the Serial Interface (SI) driver to quiesce the SI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) commit afebd827733d7a76f323a59c8797b983d9e3655f Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 14:37:11 2009 +0100 gcn-vi: re-detect tv mode if cable type changes Force a video mode detection cycle when setting up a video mode if the cable type has changed (component vs non-component). Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) commit 584224e2479475edb51a399b419205f7e2368bc2 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:56:48 2009 +0100 gcn-vi: add shutdown method Add a shutdown method to the Video Interface (VI) driver to quiesce the VI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit a6e357287734b326ce05de38f8588fc4526d11a5 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:46:03 2009 +0100 gcn-vi: reset video hardware before initiating detection Issue a hardware reset of the Video Interface (VI) hardware before performing the TV video mode autodetection. This fixes graphics glitches (swapped colors, green-red artifacts) seen after an incomplete video initialization. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 2d13698e4014c461351658ee3a2c3f923f51cf3a Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 21:11:38 2009 +0100 wii: platform restart rework Use the new IOS reload helpers in the platform restart code and kexec path. A platform restart tries now to load The Homebrew Channel and falls back to a normal STM restart if the former fails. On the other hand, the kexec reboot path reloads IOS before the final kexec phase to ensure that the kexec'ed image will get IOS in a known clean state. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 2 + arch/powerpc/platforms/embedded6xx/wii.c | 36 ++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 7 deletions(-) commit e11bbe78fc0c212db0ff18553dbf7841e190f828 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:38:02 2009 +0100 wii: starlet/ios: add ios reload helpers Add helpers for reloading IOS and optionally launching titles from NAND. These helpers will be used later in the platform code to implement a clean "direct reboot to channel" method, which finally will allow rebooting to The Homebrew Channel. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 5 ++ arch/powerpc/platforms/embedded6xx/starlet-es.c | 86 +++++++++++++++++++++++ 2 files changed, 91 insertions(+), 0 deletions(-) commit e4d9d4e747632a6657f650c537e6e10a06f2747b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:25:42 2009 +0100 wii: starlet/ios: use polled ipc api on title launch This patch converts the title launch helper code to the new polled IPC call interface, and prepares it to be called from non-sleeping contexts. This change is required to implement later the new IOS reload helpers. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-es.c | 184 +++++++++++------------ 1 files changed, 89 insertions(+), 95 deletions(-) commit e09ea011b5c14e16b6498d7063abf54751901878 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:08:26 2009 +0100 wii: starlet/ios: use polled ipc api on platform restart This patch fixes some known restart failure scenarios by switching the platform restart code to the new polled IPC call interface. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-stm.c | 25 ++++++++++++++++----- 1 files changed, 19 insertions(+), 6 deletions(-) commit 644ec5f6c15bbdb275bd9b485f7a811d8eb67e2b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 19:57:08 2009 +0100 wii: starlet/ios: add polled ipc api Add a new set of functions enabling the use of IOS IPC calls from non-sleeping contexts or critical paths. The *_polled functions actively sample the status of their related IPC requests until they complete. Execution of this family of calls is serialized and use processor resources so they should be only used for very specific contexts where the other existing functions are not suitable. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 37 +++-- arch/powerpc/platforms/embedded6xx/starlet-ipc.c | 197 +++++++++++++++++----- 2 files changed, 179 insertions(+), 55 deletions(-) commit fc5f68b629dbe6706fbabedf15e340428b196d5e Author: Albert Herranz <alb...@ya...> Date: Tue Mar 10 18:14:20 2009 +0100 gcn-si: fix named module parameter declaration This patch fixes the following build error due to an incorrect module parameter declaration. drivers/input/si/gcn-si.c:130: error: expected ')' before 'int' make[2]: *** [drivers/input/si/gcn-si.o] Error 1 make[1]: *** [drivers/input/si] Error 2 make: *** [drivers] Error 2 Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: wii.dts =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/boot/dts/wii.dts,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** wii.dts 2 Mar 2009 18:44:59 -0000 1.12 --- wii.dts 28 Mar 2009 20:44:19 -0000 1.13 *************** *** 14,17 **** --- 14,18 ---- + /memreserve/ 01694000-01697fff; /* lowmem stub save area */ /memreserve/ 01698000-017fffff; /* framebuffer, see video@0c002000 */ /memreserve/ 01800000-0fffffff; /* memory hole */ *************** *** 36,39 **** --- 37,45 ---- }; + lowmem-stub { + reg = <00000000 4000>; + save-area = <01694000>; /* must be memreserve'd */ + }; + memory { device_type = "memory"; |
From: Albert H. <he...@us...> - 2009-03-28 20:44:28
|
Update of /cvsroot/gc-linux/linux/arch/powerpc/boot In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15781/arch/powerpc/boot Modified Files: wii.c Log Message: ** Import git changes up to 2.6.29 merge ** commit 82670a7d050e5001f723a056e4827750c0f65dfc Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:57:29 2009 +0100 gamecube: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/gamecube_defconfig | 72 +++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 22 deletions(-) commit e28f75ea563c7c9e3fdec767ce029b4b1803172b Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:48:31 2009 +0100 wii: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/wii_defconfig | 167 ++++++++++++++++++++++++++++++------ 1 files changed, 140 insertions(+), 27 deletions(-) commit 51a7be2130487abc9f47dc201d55b8049b0e8fba Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 19:28:44 2009 +0100 wii: kexec: save/restore lowmem stub Add a save/restore mechanism to preserve the lowest 16KiB of memory and make them available again after a kexec reboot. This is useful to preserve the "resident" reloader stubs installed by the existing bootloaders. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/dts/wii.dts | 6 +++ arch/powerpc/boot/wii.c | 38 ++++++++++++++++++++++ arch/powerpc/platforms/embedded6xx/wii.c | 51 +++++++++++++++++++++++++++++- 3 files changed, 94 insertions(+), 1 deletions(-) commit 0dc2ea8a60ff7f96091393d999add383f3d15cbf Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 18:13:12 2009 +0100 kexec: add preserved region This patch allows kexec to copy back a previously preserved memory region to its original location at kexec time. For example, the preserved region can be saved during boot time to a safe area and then restored back during the final kexec phase. The caller is responsible to ensure that the destination memory area can be safely overwritten. The source memory area must be available during the kexec relocation stage. One immediate use is preserving the lowest 16KiB in the Nintendo GameCube and Wii video game consoles which are traditionally used to host reloader stubs. Signed-off-by: Albert Herranz <alb...@ya...> include/linux/kexec.h | 11 +++++++---- kernel/kexec.c | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) commit e163fdd92acdf7a903fce2a1e5249dd386ff712c Author: Albert Herranz <alb...@ya...> Date: Thu Mar 26 20:26:46 2009 +0100 wii: enhance bootwrapper entry The bootloaders used on the Nintendo Wii may load the kernel and transfer control to it in a variety of environments. This patch modifies the entry point of the bootwrapper to not make any particular assumption about the initial state of the MMU. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/wii.c | 98 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 84 insertions(+), 14 deletions(-) commit 8034bd01f7068191d0f1044e942b8067d4f046e1 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:14:18 2009 +0100 flipper-pic: add quiesce method Add a quiesce method to the "flipper" interrupt controller driver to inhibit all interrupt sources before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/flipper-pic.c | 24 +++++++++++++++++++-- arch/powerpc/platforms/embedded6xx/flipper-pic.h | 1 + arch/powerpc/platforms/embedded6xx/wii.c | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) commit c75c681771ab387ee53ca6cfaed9a432ee99f0d9 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:05:33 2009 +0100 exi: add quiesce method Add a quiesce method to the EXternal Interface (EXI) driver to calm down the EXI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/wii.c | 3 ++- drivers/exi/exi-driver.c | 10 ++++++++++ drivers/exi/exi-hw.c | 5 +++++ drivers/exi/exi-hw.h | 2 ++ include/linux/exi.h | 12 ++++++++++++ 5 files changed, 31 insertions(+), 1 deletions(-) commit f063156b4a5ff84206d0b79a5ae25d50262fc010 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:27:19 2009 +0100 gcn-si: add shutdown method Add a shutdown method to the Serial Interface (SI) driver to quiesce the SI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) commit afebd827733d7a76f323a59c8797b983d9e3655f Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 14:37:11 2009 +0100 gcn-vi: re-detect tv mode if cable type changes Force a video mode detection cycle when setting up a video mode if the cable type has changed (component vs non-component). Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) commit 584224e2479475edb51a399b419205f7e2368bc2 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:56:48 2009 +0100 gcn-vi: add shutdown method Add a shutdown method to the Video Interface (VI) driver to quiesce the VI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit a6e357287734b326ce05de38f8588fc4526d11a5 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:46:03 2009 +0100 gcn-vi: reset video hardware before initiating detection Issue a hardware reset of the Video Interface (VI) hardware before performing the TV video mode autodetection. This fixes graphics glitches (swapped colors, green-red artifacts) seen after an incomplete video initialization. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 2d13698e4014c461351658ee3a2c3f923f51cf3a Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 21:11:38 2009 +0100 wii: platform restart rework Use the new IOS reload helpers in the platform restart code and kexec path. A platform restart tries now to load The Homebrew Channel and falls back to a normal STM restart if the former fails. On the other hand, the kexec reboot path reloads IOS before the final kexec phase to ensure that the kexec'ed image will get IOS in a known clean state. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 2 + arch/powerpc/platforms/embedded6xx/wii.c | 36 ++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 7 deletions(-) commit e11bbe78fc0c212db0ff18553dbf7841e190f828 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:38:02 2009 +0100 wii: starlet/ios: add ios reload helpers Add helpers for reloading IOS and optionally launching titles from NAND. These helpers will be used later in the platform code to implement a clean "direct reboot to channel" method, which finally will allow rebooting to The Homebrew Channel. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 5 ++ arch/powerpc/platforms/embedded6xx/starlet-es.c | 86 +++++++++++++++++++++++ 2 files changed, 91 insertions(+), 0 deletions(-) commit e4d9d4e747632a6657f650c537e6e10a06f2747b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:25:42 2009 +0100 wii: starlet/ios: use polled ipc api on title launch This patch converts the title launch helper code to the new polled IPC call interface, and prepares it to be called from non-sleeping contexts. This change is required to implement later the new IOS reload helpers. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-es.c | 184 +++++++++++------------ 1 files changed, 89 insertions(+), 95 deletions(-) commit e09ea011b5c14e16b6498d7063abf54751901878 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:08:26 2009 +0100 wii: starlet/ios: use polled ipc api on platform restart This patch fixes some known restart failure scenarios by switching the platform restart code to the new polled IPC call interface. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-stm.c | 25 ++++++++++++++++----- 1 files changed, 19 insertions(+), 6 deletions(-) commit 644ec5f6c15bbdb275bd9b485f7a811d8eb67e2b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 19:57:08 2009 +0100 wii: starlet/ios: add polled ipc api Add a new set of functions enabling the use of IOS IPC calls from non-sleeping contexts or critical paths. The *_polled functions actively sample the status of their related IPC requests until they complete. Execution of this family of calls is serialized and use processor resources so they should be only used for very specific contexts where the other existing functions are not suitable. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 37 +++-- arch/powerpc/platforms/embedded6xx/starlet-ipc.c | 197 +++++++++++++++++----- 2 files changed, 179 insertions(+), 55 deletions(-) commit fc5f68b629dbe6706fbabedf15e340428b196d5e Author: Albert Herranz <alb...@ya...> Date: Tue Mar 10 18:14:20 2009 +0100 gcn-si: fix named module parameter declaration This patch fixes the following build error due to an incorrect module parameter declaration. drivers/input/si/gcn-si.c:130: error: expected ')' before 'int' make[2]: *** [drivers/input/si/gcn-si.o] Error 1 make[1]: *** [drivers/input/si] Error 2 make: *** [drivers] Error 2 Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: wii.c =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/boot/wii.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** wii.c 1 Feb 2009 18:29:34 -0000 1.2 --- wii.c 28 Mar 2009 20:44:19 -0000 1.3 *************** *** 36,47 **** _zimage_start:\n\ \n\ isync\n\ ! /* IBAT3,DBAT3 for first 16Mbytes */\n\ ! li 8, 0x01ff /* 16MB */\n\ ! li 9, 0x0002 /* rw */\n\ ! mtspr 0x216, 8 /* IBAT3U */\n\ ! mtspr 0x217, 9 /* IBAT3L */\n\ ! mtspr 0x21e, 8 /* DBAT3U */\n\ ! mtspr 0x21f, 9 /* DBAT3L */\n\ \n\ sync\n\ --- 36,114 ---- _zimage_start:\n\ \n\ + mfmsr 9\n\ + andi. 0, 9, (1<<4)|(1<<5) /* MSR_DR|MSR_IR */\n\ + bcl 20,31,1f\n\ + 1:\n\ + mflr 8\n\ + clrlwi 8, 8, 3 /* convert to a real address */\n\ + addi 8, 8, _mmu_off - 1b\n\ + andc 9, 9, 0\n\ + mtspr 0x01a, 8 /* SRR0 */\n\ + mtspr 0x01b, 9 /* SRR1 */\n\ + sync\n\ + rfi\n\ + _mmu_off:\n\ + /* MMU disabled */\n\ + \n\ + /* Setup BATs */\n\ isync\n\ ! li 8, 0\n\ ! mtspr 0x210, 8 /* IBAT0U */\n\ ! mtspr 0x211, 8 /* IBAT0L */\n\ ! mtspr 0x212, 8 /* IBAT1U */\n\ ! mtspr 0x213, 8 /* IBAT1L */\n\ ! mtspr 0x214, 8 /* IBAT2U */\n\ ! mtspr 0x215, 8 /* IBAT2L */\n\ ! mtspr 0x216, 8 /* IBAT3U */\n\ ! mtspr 0x217, 8 /* IBAT3L */\n\ ! mtspr 0x218, 8 /* DBAT0U */\n\ ! mtspr 0x219, 8 /* DBAT0L */\n\ ! mtspr 0x21a, 8 /* DBAT1U */\n\ ! mtspr 0x21b, 8 /* DBAT1L */\n\ ! mtspr 0x21c, 8 /* DBAT2U */\n\ ! mtspr 0x21d, 8 /* DBAT2L */\n\ ! mtspr 0x21e, 8 /* DBAT3U */\n\ ! mtspr 0x21f, 8 /* DBAT3L */\n\ ! \n\ ! mtspr 0x230, 8 /* IBAT4U */\n\ ! mtspr 0x231, 8 /* IBAT4L */\n\ ! mtspr 0x232, 8 /* IBAT5U */\n\ ! mtspr 0x233, 8 /* IBAT5L */\n\ ! mtspr 0x234, 8 /* IBAT6U */\n\ ! mtspr 0x235, 8 /* IBAT6L */\n\ ! mtspr 0x236, 8 /* IBAT7U */\n\ ! mtspr 0x237, 8 /* IBAT7L */\n\ ! mtspr 0x238, 8 /* DBAT4U */\n\ ! mtspr 0x239, 8 /* DBAT4L */\n\ ! mtspr 0x23a, 8 /* DBAT5U */\n\ ! mtspr 0x23b, 8 /* DBAT5L */\n\ ! mtspr 0x23c, 8 /* DBAT6U */\n\ ! mtspr 0x23d, 8 /* DBAT6L */\n\ ! mtspr 0x23e, 8 /* DBAT7U */\n\ ! mtspr 0x23f, 8 /* DBAT7L */\n\ ! \n\ ! isync\n\ ! li 8, 0x01ff /* first 16MiB */\n\ ! li 9, 0x0002 /* rw */\n\ ! mtspr 0x210, 8 /* IBAT0U */\n\ ! mtspr 0x211, 9 /* IBAT0L */\n\ ! mtspr 0x218, 8 /* DBAT0U */\n\ ! mtspr 0x219, 9 /* DBAT0L */\n\ ! \n\ ! lis 8, 0xcc00 /* I/O mem */\n\ ! ori 8,8, 0x3ff /* 32MiB */\n\ ! lis 9, 0x0c00\n\ ! ori 9, 9, 0x002a /* uncached, guarded, rw */\n\ ! mtspr 0x21a, 8 /* DBAT1U */\n\ ! mtspr 0x21b, 9 /* DBAT1L */\n\ ! \n\ ! lis 8, 0x0100 /* next 8MiB */\n\ ! ori 8, 8, 0x00ff /* 8MiB */\n\ ! lis 9, 0x0100 /* next 8MiB */\n\ ! ori 9, 9, 0x0002 /* rw */\n\ ! mtspr 0x214, 8 /* IBAT2U */\n\ ! mtspr 0x215, 9 /* IBAT2L */\n\ ! mtspr 0x21c, 8 /* DBAT2U */\n\ ! mtspr 0x21d, 9 /* DBAT2L */\n\ \n\ sync\n\ *************** *** 52,66 **** li 5, 0\n\ \n\ ! bcl- 20,4*cr7+so,1f\n\ 1:\n\ mflr 8\n\ ! clrlwi 8, 8, 3\n\ ! addi 8, 8, 2f - 1b\n\ ! mtlr 8\n\ ! blr\n\ ! 2:\n\ b _zimage_start_lib\n\ "); /* * --- 119,172 ---- li 5, 0\n\ \n\ ! bcl 20,31,1f\n\ 1:\n\ mflr 8\n\ ! addi 8, 8, _mmu_on - 1b\n\ ! mfmsr 9\n\ ! ori 9, 9, (1<<4)|(1<<5) /* MSR_DR|MSR_IR */\n\ ! mtspr 0x01a, 8 /* SRR0 */\n\ ! mtspr 0x01b, 9 /* SRR1 */\n\ ! sync\n\ ! rfi\n\ ! _mmu_on:\n\ b _zimage_start_lib\n\ "); + static int save_lowmem_stub(void) + { + void *src, *dst; + size_t size; + u32 reg[2]; + u32 v; + void *devp; + + devp = finddevice("/lowmem-stub"); + if (devp == NULL) { + printf("lowmem-stub: none\n"); + goto err_out; + } + + if (getprop(devp, "reg", reg, sizeof(reg)) != sizeof(reg)) { + printf("unable to find %s property\n", "reg"); + goto err_out; + } + src = (void *)reg[0]; + size = reg[1]; + if (getprop(devp, "save-area", &v, sizeof(v)) != sizeof(v)) { + printf("unable to find %s property\n", "save-area"); + goto err_out; + } + dst = (void *)v; + + printf("lowmem-stub: relocating from %08lX to %08lX (%u bytes)\n", + (unsigned long)src, (unsigned long)dst, size); + memcpy(dst, src, size); + flush_cache(dst, size); + + return 0; + err_out: + return -1; + } + /* * *************** *** 68,72 **** void platform_init(unsigned long r3, unsigned long r4, unsigned long r5) { ! u32 heapsize = 16*1024*1024 - (u32)_end; simple_alloc_init(_end, heapsize, 32, 64); --- 174,178 ---- void platform_init(unsigned long r3, unsigned long r4, unsigned long r5) { ! u32 heapsize = 24*1024*1024 - (u32)_end; simple_alloc_init(_end, heapsize, 32, 64); *************** *** 75,78 **** --- 181,186 ---- if (!ug_grab_io_base() && ug_is_adapter_present()) console_ops.write = ug_console_write; + + save_lowmem_stub(); } |
From: Albert H. <he...@us...> - 2009-03-28 20:44:25
|
Update of /cvsroot/gc-linux/linux/drivers/exi In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15781/drivers/exi Modified Files: exi-driver.c exi-hw.c exi-hw.h Log Message: ** Import git changes up to 2.6.29 merge ** commit 82670a7d050e5001f723a056e4827750c0f65dfc Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:57:29 2009 +0100 gamecube: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/gamecube_defconfig | 72 +++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 22 deletions(-) commit e28f75ea563c7c9e3fdec767ce029b4b1803172b Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:48:31 2009 +0100 wii: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/wii_defconfig | 167 ++++++++++++++++++++++++++++++------ 1 files changed, 140 insertions(+), 27 deletions(-) commit 51a7be2130487abc9f47dc201d55b8049b0e8fba Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 19:28:44 2009 +0100 wii: kexec: save/restore lowmem stub Add a save/restore mechanism to preserve the lowest 16KiB of memory and make them available again after a kexec reboot. This is useful to preserve the "resident" reloader stubs installed by the existing bootloaders. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/dts/wii.dts | 6 +++ arch/powerpc/boot/wii.c | 38 ++++++++++++++++++++++ arch/powerpc/platforms/embedded6xx/wii.c | 51 +++++++++++++++++++++++++++++- 3 files changed, 94 insertions(+), 1 deletions(-) commit 0dc2ea8a60ff7f96091393d999add383f3d15cbf Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 18:13:12 2009 +0100 kexec: add preserved region This patch allows kexec to copy back a previously preserved memory region to its original location at kexec time. For example, the preserved region can be saved during boot time to a safe area and then restored back during the final kexec phase. The caller is responsible to ensure that the destination memory area can be safely overwritten. The source memory area must be available during the kexec relocation stage. One immediate use is preserving the lowest 16KiB in the Nintendo GameCube and Wii video game consoles which are traditionally used to host reloader stubs. Signed-off-by: Albert Herranz <alb...@ya...> include/linux/kexec.h | 11 +++++++---- kernel/kexec.c | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) commit e163fdd92acdf7a903fce2a1e5249dd386ff712c Author: Albert Herranz <alb...@ya...> Date: Thu Mar 26 20:26:46 2009 +0100 wii: enhance bootwrapper entry The bootloaders used on the Nintendo Wii may load the kernel and transfer control to it in a variety of environments. This patch modifies the entry point of the bootwrapper to not make any particular assumption about the initial state of the MMU. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/wii.c | 98 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 84 insertions(+), 14 deletions(-) commit 8034bd01f7068191d0f1044e942b8067d4f046e1 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:14:18 2009 +0100 flipper-pic: add quiesce method Add a quiesce method to the "flipper" interrupt controller driver to inhibit all interrupt sources before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/flipper-pic.c | 24 +++++++++++++++++++-- arch/powerpc/platforms/embedded6xx/flipper-pic.h | 1 + arch/powerpc/platforms/embedded6xx/wii.c | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) commit c75c681771ab387ee53ca6cfaed9a432ee99f0d9 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:05:33 2009 +0100 exi: add quiesce method Add a quiesce method to the EXternal Interface (EXI) driver to calm down the EXI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/wii.c | 3 ++- drivers/exi/exi-driver.c | 10 ++++++++++ drivers/exi/exi-hw.c | 5 +++++ drivers/exi/exi-hw.h | 2 ++ include/linux/exi.h | 12 ++++++++++++ 5 files changed, 31 insertions(+), 1 deletions(-) commit f063156b4a5ff84206d0b79a5ae25d50262fc010 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:27:19 2009 +0100 gcn-si: add shutdown method Add a shutdown method to the Serial Interface (SI) driver to quiesce the SI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) commit afebd827733d7a76f323a59c8797b983d9e3655f Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 14:37:11 2009 +0100 gcn-vi: re-detect tv mode if cable type changes Force a video mode detection cycle when setting up a video mode if the cable type has changed (component vs non-component). Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) commit 584224e2479475edb51a399b419205f7e2368bc2 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:56:48 2009 +0100 gcn-vi: add shutdown method Add a shutdown method to the Video Interface (VI) driver to quiesce the VI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit a6e357287734b326ce05de38f8588fc4526d11a5 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:46:03 2009 +0100 gcn-vi: reset video hardware before initiating detection Issue a hardware reset of the Video Interface (VI) hardware before performing the TV video mode autodetection. This fixes graphics glitches (swapped colors, green-red artifacts) seen after an incomplete video initialization. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 2d13698e4014c461351658ee3a2c3f923f51cf3a Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 21:11:38 2009 +0100 wii: platform restart rework Use the new IOS reload helpers in the platform restart code and kexec path. A platform restart tries now to load The Homebrew Channel and falls back to a normal STM restart if the former fails. On the other hand, the kexec reboot path reloads IOS before the final kexec phase to ensure that the kexec'ed image will get IOS in a known clean state. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 2 + arch/powerpc/platforms/embedded6xx/wii.c | 36 ++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 7 deletions(-) commit e11bbe78fc0c212db0ff18553dbf7841e190f828 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:38:02 2009 +0100 wii: starlet/ios: add ios reload helpers Add helpers for reloading IOS and optionally launching titles from NAND. These helpers will be used later in the platform code to implement a clean "direct reboot to channel" method, which finally will allow rebooting to The Homebrew Channel. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 5 ++ arch/powerpc/platforms/embedded6xx/starlet-es.c | 86 +++++++++++++++++++++++ 2 files changed, 91 insertions(+), 0 deletions(-) commit e4d9d4e747632a6657f650c537e6e10a06f2747b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:25:42 2009 +0100 wii: starlet/ios: use polled ipc api on title launch This patch converts the title launch helper code to the new polled IPC call interface, and prepares it to be called from non-sleeping contexts. This change is required to implement later the new IOS reload helpers. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-es.c | 184 +++++++++++------------ 1 files changed, 89 insertions(+), 95 deletions(-) commit e09ea011b5c14e16b6498d7063abf54751901878 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:08:26 2009 +0100 wii: starlet/ios: use polled ipc api on platform restart This patch fixes some known restart failure scenarios by switching the platform restart code to the new polled IPC call interface. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-stm.c | 25 ++++++++++++++++----- 1 files changed, 19 insertions(+), 6 deletions(-) commit 644ec5f6c15bbdb275bd9b485f7a811d8eb67e2b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 19:57:08 2009 +0100 wii: starlet/ios: add polled ipc api Add a new set of functions enabling the use of IOS IPC calls from non-sleeping contexts or critical paths. The *_polled functions actively sample the status of their related IPC requests until they complete. Execution of this family of calls is serialized and use processor resources so they should be only used for very specific contexts where the other existing functions are not suitable. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 37 +++-- arch/powerpc/platforms/embedded6xx/starlet-ipc.c | 197 +++++++++++++++++----- 2 files changed, 179 insertions(+), 55 deletions(-) commit fc5f68b629dbe6706fbabedf15e340428b196d5e Author: Albert Herranz <alb...@ya...> Date: Tue Mar 10 18:14:20 2009 +0100 gcn-si: fix named module parameter declaration This patch fixes the following build error due to an incorrect module parameter declaration. drivers/input/si/gcn-si.c:130: error: expected ')' before 'int' make[2]: *** [drivers/input/si/gcn-si.o] Error 1 make[1]: *** [drivers/input/si] Error 2 make: *** [drivers] Error 2 Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: exi-driver.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/exi/exi-driver.c,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** exi-driver.c 1 Feb 2009 18:29:35 -0000 1.18 --- exi-driver.c 28 Mar 2009 20:44:19 -0000 1.19 *************** *** 422,425 **** --- 422,435 ---- } + /** + * exi_quiesce() - quiesce EXI hardware + * + * Put the EXI hardware into a calm state. + */ + void exi_quiesce(void) + { + exi_hw_quiesce(); + } + /* * Index: exi-hw.h =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/exi/exi-hw.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** exi-hw.h 1 Feb 2009 18:29:35 -0000 1.12 --- exi-hw.h 28 Mar 2009 20:44:19 -0000 1.13 *************** *** 131,134 **** --- 131,136 ---- extern void exi_update_ext_status(struct exi_channel *exi_channel); + extern void exi_hw_quiesce(void); + extern int exi_hw_init(char *name, struct resource *mem, unsigned int irq); extern void exi_hw_exit(struct resource *mem, unsigned int irq); Index: exi-hw.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/exi/exi-hw.c,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** exi-hw.c 1 Feb 2009 18:29:35 -0000 1.19 --- exi-hw.c 28 Mar 2009 20:44:19 -0000 1.20 *************** *** 1365,1368 **** --- 1365,1373 ---- } + void exi_hw_quiesce(void) + { + exi_quiesce_all_channels(0); + } + /* * Pseudo-Internal. Initialize basic channel structures and hardware. |
From: Albert H. <he...@us...> - 2009-03-28 20:44:24
|
Update of /cvsroot/gc-linux/linux/arch/powerpc/configs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15781/arch/powerpc/configs Modified Files: gamecube_defconfig wii_defconfig Log Message: ** Import git changes up to 2.6.29 merge ** commit 82670a7d050e5001f723a056e4827750c0f65dfc Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:57:29 2009 +0100 gamecube: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/gamecube_defconfig | 72 +++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 22 deletions(-) commit e28f75ea563c7c9e3fdec767ce029b4b1803172b Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:48:31 2009 +0100 wii: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/wii_defconfig | 167 ++++++++++++++++++++++++++++++------ 1 files changed, 140 insertions(+), 27 deletions(-) commit 51a7be2130487abc9f47dc201d55b8049b0e8fba Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 19:28:44 2009 +0100 wii: kexec: save/restore lowmem stub Add a save/restore mechanism to preserve the lowest 16KiB of memory and make them available again after a kexec reboot. This is useful to preserve the "resident" reloader stubs installed by the existing bootloaders. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/dts/wii.dts | 6 +++ arch/powerpc/boot/wii.c | 38 ++++++++++++++++++++++ arch/powerpc/platforms/embedded6xx/wii.c | 51 +++++++++++++++++++++++++++++- 3 files changed, 94 insertions(+), 1 deletions(-) commit 0dc2ea8a60ff7f96091393d999add383f3d15cbf Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 18:13:12 2009 +0100 kexec: add preserved region This patch allows kexec to copy back a previously preserved memory region to its original location at kexec time. For example, the preserved region can be saved during boot time to a safe area and then restored back during the final kexec phase. The caller is responsible to ensure that the destination memory area can be safely overwritten. The source memory area must be available during the kexec relocation stage. One immediate use is preserving the lowest 16KiB in the Nintendo GameCube and Wii video game consoles which are traditionally used to host reloader stubs. Signed-off-by: Albert Herranz <alb...@ya...> include/linux/kexec.h | 11 +++++++---- kernel/kexec.c | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) commit e163fdd92acdf7a903fce2a1e5249dd386ff712c Author: Albert Herranz <alb...@ya...> Date: Thu Mar 26 20:26:46 2009 +0100 wii: enhance bootwrapper entry The bootloaders used on the Nintendo Wii may load the kernel and transfer control to it in a variety of environments. This patch modifies the entry point of the bootwrapper to not make any particular assumption about the initial state of the MMU. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/wii.c | 98 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 84 insertions(+), 14 deletions(-) commit 8034bd01f7068191d0f1044e942b8067d4f046e1 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:14:18 2009 +0100 flipper-pic: add quiesce method Add a quiesce method to the "flipper" interrupt controller driver to inhibit all interrupt sources before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/flipper-pic.c | 24 +++++++++++++++++++-- arch/powerpc/platforms/embedded6xx/flipper-pic.h | 1 + arch/powerpc/platforms/embedded6xx/wii.c | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) commit c75c681771ab387ee53ca6cfaed9a432ee99f0d9 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:05:33 2009 +0100 exi: add quiesce method Add a quiesce method to the EXternal Interface (EXI) driver to calm down the EXI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/wii.c | 3 ++- drivers/exi/exi-driver.c | 10 ++++++++++ drivers/exi/exi-hw.c | 5 +++++ drivers/exi/exi-hw.h | 2 ++ include/linux/exi.h | 12 ++++++++++++ 5 files changed, 31 insertions(+), 1 deletions(-) commit f063156b4a5ff84206d0b79a5ae25d50262fc010 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:27:19 2009 +0100 gcn-si: add shutdown method Add a shutdown method to the Serial Interface (SI) driver to quiesce the SI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) commit afebd827733d7a76f323a59c8797b983d9e3655f Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 14:37:11 2009 +0100 gcn-vi: re-detect tv mode if cable type changes Force a video mode detection cycle when setting up a video mode if the cable type has changed (component vs non-component). Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) commit 584224e2479475edb51a399b419205f7e2368bc2 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:56:48 2009 +0100 gcn-vi: add shutdown method Add a shutdown method to the Video Interface (VI) driver to quiesce the VI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit a6e357287734b326ce05de38f8588fc4526d11a5 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:46:03 2009 +0100 gcn-vi: reset video hardware before initiating detection Issue a hardware reset of the Video Interface (VI) hardware before performing the TV video mode autodetection. This fixes graphics glitches (swapped colors, green-red artifacts) seen after an incomplete video initialization. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 2d13698e4014c461351658ee3a2c3f923f51cf3a Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 21:11:38 2009 +0100 wii: platform restart rework Use the new IOS reload helpers in the platform restart code and kexec path. A platform restart tries now to load The Homebrew Channel and falls back to a normal STM restart if the former fails. On the other hand, the kexec reboot path reloads IOS before the final kexec phase to ensure that the kexec'ed image will get IOS in a known clean state. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 2 + arch/powerpc/platforms/embedded6xx/wii.c | 36 ++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 7 deletions(-) commit e11bbe78fc0c212db0ff18553dbf7841e190f828 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:38:02 2009 +0100 wii: starlet/ios: add ios reload helpers Add helpers for reloading IOS and optionally launching titles from NAND. These helpers will be used later in the platform code to implement a clean "direct reboot to channel" method, which finally will allow rebooting to The Homebrew Channel. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 5 ++ arch/powerpc/platforms/embedded6xx/starlet-es.c | 86 +++++++++++++++++++++++ 2 files changed, 91 insertions(+), 0 deletions(-) commit e4d9d4e747632a6657f650c537e6e10a06f2747b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:25:42 2009 +0100 wii: starlet/ios: use polled ipc api on title launch This patch converts the title launch helper code to the new polled IPC call interface, and prepares it to be called from non-sleeping contexts. This change is required to implement later the new IOS reload helpers. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-es.c | 184 +++++++++++------------ 1 files changed, 89 insertions(+), 95 deletions(-) commit e09ea011b5c14e16b6498d7063abf54751901878 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:08:26 2009 +0100 wii: starlet/ios: use polled ipc api on platform restart This patch fixes some known restart failure scenarios by switching the platform restart code to the new polled IPC call interface. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-stm.c | 25 ++++++++++++++++----- 1 files changed, 19 insertions(+), 6 deletions(-) commit 644ec5f6c15bbdb275bd9b485f7a811d8eb67e2b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 19:57:08 2009 +0100 wii: starlet/ios: add polled ipc api Add a new set of functions enabling the use of IOS IPC calls from non-sleeping contexts or critical paths. The *_polled functions actively sample the status of their related IPC requests until they complete. Execution of this family of calls is serialized and use processor resources so they should be only used for very specific contexts where the other existing functions are not suitable. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 37 +++-- arch/powerpc/platforms/embedded6xx/starlet-ipc.c | 197 +++++++++++++++++----- 2 files changed, 179 insertions(+), 55 deletions(-) commit fc5f68b629dbe6706fbabedf15e340428b196d5e Author: Albert Herranz <alb...@ya...> Date: Tue Mar 10 18:14:20 2009 +0100 gcn-si: fix named module parameter declaration This patch fixes the following build error due to an incorrect module parameter declaration. drivers/input/si/gcn-si.c:130: error: expected ')' before 'int' make[2]: *** [drivers/input/si/gcn-si.o] Error 1 make[1]: *** [drivers/input/si] Error 2 make: *** [drivers] Error 2 Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: wii_defconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/configs/wii_defconfig,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** wii_defconfig 1 Feb 2009 18:29:34 -0000 1.10 --- wii_defconfig 28 Mar 2009 20:44:19 -0000 1.11 *************** *** 1,6 **** # # Automatically generated make config: don't edit ! # Linux kernel version: 2.6.28 ! # Mon Jan 12 20:19:45 2009 # # CONFIG_PPC64 is not set --- 1,6 ---- # # Automatically generated make config: don't edit ! # Linux kernel version: 2.6.29 ! # Sat Mar 28 19:45:24 2009 # # CONFIG_PPC64 is not set *************** *** 46,50 **** CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y ! CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y --- 46,50 ---- CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y ! CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y *************** *** 75,82 **** # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=14 - # CONFIG_CGROUPS is not set CONFIG_GROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y --- 75,90 ---- # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set + + # + # RCU Subsystem + # + CONFIG_CLASSIC_RCU=y + # CONFIG_TREE_RCU is not set + # CONFIG_PREEMPT_RCU is not set + # CONFIG_TREE_RCU_TRACE is not set + # CONFIG_PREEMPT_RCU_TRACE is not set CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=14 CONFIG_GROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y *************** *** 84,87 **** --- 92,96 ---- CONFIG_USER_SCHED=y # CONFIG_CGROUP_SCHED is not set + # CONFIG_CGROUPS is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y *************** *** 92,95 **** --- 101,105 ---- # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y + CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y *************** *** 101,108 **** CONFIG_BUG=y # CONFIG_ELF_CORE is not set - CONFIG_COMPAT_BRK=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y - CONFIG_ANON_INODES=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y --- 111,116 ---- *************** *** 112,115 **** --- 120,124 ---- CONFIG_AIO=y # CONFIG_VM_EVENT_COUNTERS is not set + CONFIG_COMPAT_BRK=y CONFIG_SLAB=y # CONFIG_SLUB is not set *************** *** 128,132 **** CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y - # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=0 CONFIG_MODULES=y --- 137,140 ---- *************** *** 136,144 **** # CONFIG_MODVERSIONS is not set # CONFIG_MODULE_SRCVERSION_ALL is not set - CONFIG_KMOD=y CONFIG_BLOCK=y CONFIG_LBD=y # CONFIG_BLK_DEV_IO_TRACE is not set - # CONFIG_LSF is not set # CONFIG_BLK_DEV_BSG is not set # CONFIG_BLK_DEV_INTEGRITY is not set --- 144,150 ---- *************** *** 156,160 **** # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="anticipatory" - CONFIG_CLASSIC_RCU=y # CONFIG_FREEZER is not set --- 162,165 ---- *************** *** 186,193 **** CONFIG_FLIPPER_PIC=y CONFIG_GAMECUBE_COMMON=y - CONFIG_GAMECUBE_RSW=y CONFIG_GAMECUBE_UDBG=y CONFIG_USBGECKO_UDBG=y # CONFIG_GAMECUBE_VIDEO_UDBG is not set CONFIG_WII_GPIO=y # CONFIG_IPIC is not set --- 191,198 ---- CONFIG_FLIPPER_PIC=y CONFIG_GAMECUBE_COMMON=y CONFIG_GAMECUBE_UDBG=y CONFIG_USBGECKO_UDBG=y # CONFIG_GAMECUBE_VIDEO_UDBG is not set + CONFIG_GAMECUBE_RSW=y CONFIG_WII_GPIO=y # CONFIG_IPIC is not set *************** *** 204,207 **** --- 209,213 ---- # CONFIG_TAU is not set # CONFIG_FSL_ULI1575 is not set + # CONFIG_SIMPLE_GPIO is not set # *************** *** 221,234 **** # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y - # CONFIG_PREEMPT_RCU is not set CONFIG_BINFMT_ELF=y - # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set # CONFIG_HAVE_AOUT is not set CONFIG_BINFMT_MISC=m # CONFIG_IOMMU_HELPER is not set CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y CONFIG_ARCH_HAS_WALK_MEMORY=y CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y CONFIG_KEXEC=y CONFIG_ARCH_FLATMEM_ENABLE=y CONFIG_ARCH_POPULATES_NODE_MAP=y --- 227,240 ---- # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y CONFIG_BINFMT_ELF=y # CONFIG_HAVE_AOUT is not set CONFIG_BINFMT_MISC=m # CONFIG_IOMMU_HELPER is not set + CONFIG_PPC_NEED_DMA_SYNC_OPS=y CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y CONFIG_ARCH_HAS_WALK_MEMORY=y CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y CONFIG_KEXEC=y + # CONFIG_CRASH_DUMP is not set CONFIG_ARCH_FLATMEM_ENABLE=y CONFIG_ARCH_POPULATES_NODE_MAP=y *************** *** 242,246 **** CONFIG_SPLIT_PTLOCK_CPUS=4 # CONFIG_MIGRATION is not set - # CONFIG_RESOURCES_64BIT is not set # CONFIG_PHYS_ADDR_T_64BIT is not set CONFIG_ZONE_DMA_FLAG=1 --- 248,251 ---- *************** *** 248,251 **** --- 253,259 ---- CONFIG_VIRT_TO_BUS=y CONFIG_UNEVICTABLE_LRU=y + CONFIG_PPC_4K_PAGES=y + # CONFIG_PPC_16K_PAGES is not set + # CONFIG_PPC_64K_PAGES is not set CONFIG_FORCE_MAX_ZONEORDER=11 CONFIG_PROC_DEVICETREE=y *************** *** 290,293 **** --- 298,302 ---- # Networking options # + CONFIG_COMPAT_NET_DEV_OPS=y CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set *************** *** 339,342 **** --- 348,352 ---- # CONFIG_WAN_ROUTER is not set # CONFIG_NET_SCHED is not set + # CONFIG_DCB is not set # *************** *** 352,356 **** CONFIG_BT_RFCOMM=y # CONFIG_BT_RFCOMM_TTY is not set ! # CONFIG_BT_BNEP is not set CONFIG_BT_HIDP=y --- 362,368 ---- CONFIG_BT_RFCOMM=y # CONFIG_BT_RFCOMM_TTY is not set ! CONFIG_BT_BNEP=y ! CONFIG_BT_BNEP_MC_FILTER=y ! # CONFIG_BT_BNEP_PROTO_FILTER is not set CONFIG_BT_HIDP=y *************** *** 370,375 **** CONFIG_WIRELESS_OLD_REGULATORY=y # CONFIG_WIRELESS_EXT is not set # CONFIG_MAC80211 is not set ! # CONFIG_IEEE80211 is not set # CONFIG_RFKILL is not set # CONFIG_NET_9P is not set --- 382,388 ---- CONFIG_WIRELESS_OLD_REGULATORY=y # CONFIG_WIRELESS_EXT is not set + # CONFIG_LIB80211 is not set # CONFIG_MAC80211 is not set ! # CONFIG_WIMAX is not set # CONFIG_RFKILL is not set # CONFIG_NET_9P is not set *************** *** 393,402 **** CONFIG_OF_DEVICE=y CONFIG_OF_GPIO=y # CONFIG_PARPORT is not set CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_FD is not set CONFIG_GAMECUBE_SD=y - CONFIG_WII_SD=y CONFIG_WII_MEM2=m # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=y --- 406,416 ---- CONFIG_OF_DEVICE=y CONFIG_OF_GPIO=y + CONFIG_OF_I2C=y # CONFIG_PARPORT is not set CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_FD is not set CONFIG_GAMECUBE_SD=y CONFIG_WII_MEM2=m + CONFIG_WII_SD=y # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=y *************** *** 413,419 **** CONFIG_MISC_DEVICES=y CONFIG_GAMECUBE_GQR=m ! # CONFIG_EEPROM_93CX6 is not set # CONFIG_ENCLOSURE_SERVICES is not set # CONFIG_C2PORT is not set CONFIG_HAVE_IDE=y # CONFIG_IDE is not set --- 427,440 ---- CONFIG_MISC_DEVICES=y CONFIG_GAMECUBE_GQR=m ! # CONFIG_ICS932S401 is not set # CONFIG_ENCLOSURE_SERVICES is not set # CONFIG_C2PORT is not set + + # + # EEPROM support + # + # CONFIG_EEPROM_AT24 is not set + # CONFIG_EEPROM_LEGACY is not set + # CONFIG_EEPROM_93CX6 is not set CONFIG_HAVE_IDE=y # CONFIG_IDE is not set *************** *** 458,461 **** --- 479,483 ---- CONFIG_SCSI_LOWLEVEL=y # CONFIG_ISCSI_TCP is not set + # CONFIG_LIBFC is not set # CONFIG_SCSI_DEBUG is not set # CONFIG_SCSI_DH is not set *************** *** 473,476 **** --- 495,499 ---- CONFIG_NET_ETHERNET=y CONFIG_MII=y + # CONFIG_DNET is not set # CONFIG_IBM_NEW_EMAC_ZMII is not set # CONFIG_IBM_NEW_EMAC_RGMII is not set *************** *** 492,495 **** --- 515,522 ---- # + # Enable WiMAX (Networking options) to see the WiMAX drivers + # + + # # USB Network Adapters # *************** *** 622,627 **** --- 649,656 ---- # CONFIG_SERIAL_USBGECKO is not set CONFIG_UNIX98_PTYS=y + # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set CONFIG_LEGACY_PTYS=y CONFIG_LEGACY_PTY_COUNT=64 + # CONFIG_HVC_UDBG is not set # CONFIG_IPMI_HANDLER is not set # CONFIG_HW_RANDOM is not set *************** *** 630,634 **** # CONFIG_RAW_DRIVER is not set # CONFIG_TCG_TPM is not set ! # CONFIG_I2C is not set # --- 659,709 ---- # CONFIG_RAW_DRIVER is not set # CONFIG_TCG_TPM is not set ! CONFIG_I2C=y ! CONFIG_I2C_BOARDINFO=y ! CONFIG_I2C_CHARDEV=y ! CONFIG_I2C_HELPER_AUTO=y ! CONFIG_I2C_ALGOBIT=y ! ! # ! # I2C Hardware Bus support ! # ! ! # ! # I2C system bus drivers (mostly embedded / system-on-chip) ! # ! CONFIG_I2C_GPIO_COMMON=y ! CONFIG_I2C_GPIO=y ! CONFIG_I2C_GPIO_OF=y ! # CONFIG_I2C_MPC is not set ! # CONFIG_I2C_OCORES is not set ! # CONFIG_I2C_SIMTEC is not set ! ! # ! # External I2C/SMBus adapter drivers ! # ! # CONFIG_I2C_PARPORT_LIGHT is not set ! # CONFIG_I2C_TAOS_EVM is not set ! # CONFIG_I2C_TINY_USB is not set ! ! # ! # Other I2C/SMBus bus drivers ! # ! # CONFIG_I2C_PCA_PLATFORM is not set ! # CONFIG_I2C_STUB is not set ! ! # ! # Miscellaneous I2C Chip support ! # ! # CONFIG_DS1682 is not set ! # CONFIG_SENSORS_PCF8574 is not set ! # CONFIG_PCF8575 is not set ! # CONFIG_SENSORS_PCA9539 is not set ! # CONFIG_SENSORS_PCF8591 is not set ! # CONFIG_SENSORS_MAX6875 is not set ! # CONFIG_SENSORS_TSL2550 is not set ! # CONFIG_I2C_DEBUG_CORE is not set ! # CONFIG_I2C_DEBUG_ALGO is not set ! # CONFIG_I2C_DEBUG_BUS is not set ! # CONFIG_I2C_DEBUG_CHIP is not set # *************** *** 650,653 **** --- 725,731 ---- # I2C GPIO expanders: # + # CONFIG_GPIO_MAX732X is not set + # CONFIG_GPIO_PCA953X is not set + # CONFIG_GPIO_PCF857X is not set # *************** *** 677,681 **** --- 755,765 ---- # CONFIG_MFD_SM501 is not set # CONFIG_HTC_PASIC3 is not set + # CONFIG_TPS65010 is not set + # CONFIG_TWL4030_CORE is not set # CONFIG_MFD_TMIO is not set + # CONFIG_PMIC_DA903X is not set + # CONFIG_MFD_WM8400 is not set + # CONFIG_MFD_WM8350_I2C is not set + # CONFIG_MFD_PCF50633 is not set # CONFIG_REGULATOR is not set *************** *** 727,730 **** --- 811,815 ---- # CONFIG_FB_S1D13XXX is not set CONFIG_FB_GAMECUBE=y + CONFIG_WII_AVE_RVL=y # CONFIG_FB_IBM_GXT4500 is not set # CONFIG_FB_VIRTUAL is not set *************** *** 798,806 **** CONFIG_HID_APPLE=m CONFIG_HID_BELKIN=m - CONFIG_HID_BRIGHT=m CONFIG_HID_CHERRY=m CONFIG_HID_CHICONY=m CONFIG_HID_CYPRESS=m - CONFIG_HID_DELL=m CONFIG_HID_EZKEY=m CONFIG_HID_GYRATION=m --- 883,889 ---- *************** *** 810,813 **** --- 893,897 ---- CONFIG_HID_MICROSOFT=m CONFIG_HID_MONTEREY=m + # CONFIG_HID_NTRIG is not set CONFIG_HID_PANTHERLORD=m # CONFIG_PANTHERLORD_FF is not set *************** *** 816,819 **** --- 900,905 ---- CONFIG_HID_SONY=m CONFIG_HID_SUNPLUS=m + # CONFIG_GREENASIA_FF is not set + # CONFIG_HID_TOPSEED is not set CONFIG_THRUSTMASTER_FF=m CONFIG_ZEROPLUS_FF=m *************** *** 843,846 **** --- 929,933 ---- # # CONFIG_USB_C67X00_HCD is not set + # CONFIG_USB_OXU210HP_HCD is not set # CONFIG_USB_ISP116X_HCD is not set # CONFIG_USB_ISP1760_HCD is not set *************** *** 870,874 **** # CONFIG_USB_STORAGE_FREECOM is not set # CONFIG_USB_STORAGE_ISD200 is not set - # CONFIG_USB_STORAGE_DPCM is not set # CONFIG_USB_STORAGE_USBAT is not set # CONFIG_USB_STORAGE_SDDR09 is not set --- 957,960 ---- *************** *** 917,920 **** --- 1003,1011 ---- # CONFIG_USB_VST is not set # CONFIG_USB_GADGET is not set + + # + # OTG and related infrastructure + # + # CONFIG_USB_GPIO_VBUS is not set # CONFIG_MMC is not set # CONFIG_MEMSTICK is not set *************** *** 938,941 **** --- 1029,1049 ---- # + # I2C RTC drivers + # + # CONFIG_RTC_DRV_DS1307 is not set + # CONFIG_RTC_DRV_DS1374 is not set + # CONFIG_RTC_DRV_DS1672 is not set + # CONFIG_RTC_DRV_MAX6900 is not set + # CONFIG_RTC_DRV_RS5C372 is not set + # CONFIG_RTC_DRV_ISL1208 is not set + # CONFIG_RTC_DRV_X1205 is not set + # CONFIG_RTC_DRV_PCF8563 is not set + # CONFIG_RTC_DRV_PCF8583 is not set + # CONFIG_RTC_DRV_M41T80 is not set + # CONFIG_RTC_DRV_S35390A is not set + # CONFIG_RTC_DRV_FM3130 is not set + # CONFIG_RTC_DRV_RX8581 is not set + + # # SPI RTC drivers # *************** *** 981,985 **** --- 1089,1095 ---- CONFIG_FILE_LOCKING=y # CONFIG_XFS_FS is not set + # CONFIG_GFS2_FS is not set # CONFIG_OCFS2_FS is not set + # CONFIG_BTRFS_FS is not set CONFIG_DNOTIFY=y CONFIG_INOTIFY=y *************** *** 997,1001 **** # CONFIG_ZISOFS is not set # CONFIG_UDF_FS is not set - # CONFIG_GCDVD_FS is not set # --- 1107,1110 ---- *************** *** 1021,1028 **** # CONFIG_HUGETLB_PAGE is not set # CONFIG_CONFIGFS_FS is not set ! ! # ! # Miscellaneous filesystems ! # # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set --- 1130,1134 ---- # CONFIG_HUGETLB_PAGE is not set # CONFIG_CONFIGFS_FS is not set ! CONFIG_MISC_FILESYSTEMS=y # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set *************** *** 1033,1036 **** --- 1139,1143 ---- # CONFIG_EFS_FS is not set # CONFIG_CRAMFS is not set + # CONFIG_SQUASHFS is not set # CONFIG_VXFS_FS is not set # CONFIG_MINIX_FS is not set *************** *** 1112,1115 **** --- 1219,1223 ---- # CONFIG_BITREVERSE=y + CONFIG_GENERIC_FIND_LAST_BIT=y CONFIG_CRC_CCITT=y # CONFIG_CRC16 is not set *************** *** 1161,1164 **** --- 1269,1273 ---- # CONFIG_DEBUG_LIST is not set # CONFIG_DEBUG_SG is not set + # CONFIG_DEBUG_NOTIFIERS is not set # CONFIG_BOOT_PRINTK_DELAY is not set # CONFIG_RCU_TORTURE_TEST is not set *************** *** 1171,1174 **** --- 1280,1285 ---- CONFIG_NOP_TRACER=y CONFIG_HAVE_FUNCTION_TRACER=y + CONFIG_HAVE_DYNAMIC_FTRACE=y + CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_RING_BUFFER=y CONFIG_TRACING=y *************** *** 1182,1185 **** --- 1293,1297 ---- CONFIG_CONTEXT_SWITCH_TRACER=y CONFIG_BOOT_TRACER=y + # CONFIG_TRACE_BRANCH_PROFILING is not set # CONFIG_STACK_TRACER is not set # CONFIG_DYNAMIC_PRINTK_DEBUG is not set *************** *** 1187,1190 **** --- 1299,1303 ---- CONFIG_HAVE_ARCH_KGDB=y # CONFIG_KGDB is not set + CONFIG_PRINT_STACK_DEPTH=64 # CONFIG_DEBUG_STACKOVERFLOW is not set # CONFIG_DEBUG_STACK_USAGE is not set Index: gamecube_defconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/configs/gamecube_defconfig,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** gamecube_defconfig 1 Feb 2009 18:29:34 -0000 1.6 --- gamecube_defconfig 28 Mar 2009 20:44:19 -0000 1.7 *************** *** 1,6 **** # # Automatically generated make config: don't edit ! # Linux kernel version: 2.6.28 ! # Mon Jan 12 20:23:50 2009 # # CONFIG_PPC64 is not set --- 1,6 ---- # # Automatically generated make config: don't edit ! # Linux kernel version: 2.6.29 ! # Sat Mar 28 19:52:22 2009 # # CONFIG_PPC64 is not set *************** *** 45,49 **** CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y ! CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y --- 45,49 ---- CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y ! CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y *************** *** 74,81 **** # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=14 - # CONFIG_CGROUPS is not set CONFIG_GROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y --- 74,89 ---- # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set + + # + # RCU Subsystem + # + CONFIG_CLASSIC_RCU=y + # CONFIG_TREE_RCU is not set + # CONFIG_PREEMPT_RCU is not set + # CONFIG_TREE_RCU_TRACE is not set + # CONFIG_PREEMPT_RCU_TRACE is not set CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=14 CONFIG_GROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y *************** *** 83,86 **** --- 91,95 ---- CONFIG_USER_SCHED=y # CONFIG_CGROUP_SCHED is not set + # CONFIG_CGROUPS is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y *************** *** 91,94 **** --- 100,104 ---- # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y + CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y *************** *** 100,107 **** CONFIG_BUG=y # CONFIG_ELF_CORE is not set - CONFIG_COMPAT_BRK=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y - CONFIG_ANON_INODES=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y --- 110,115 ---- *************** *** 111,114 **** --- 119,123 ---- CONFIG_AIO=y # CONFIG_VM_EVENT_COUNTERS is not set + CONFIG_COMPAT_BRK=y CONFIG_SLAB=y # CONFIG_SLUB is not set *************** *** 127,131 **** CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y - # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=0 CONFIG_MODULES=y --- 136,139 ---- *************** *** 135,143 **** # CONFIG_MODVERSIONS is not set # CONFIG_MODULE_SRCVERSION_ALL is not set - CONFIG_KMOD=y CONFIG_BLOCK=y CONFIG_LBD=y # CONFIG_BLK_DEV_IO_TRACE is not set - # CONFIG_LSF is not set # CONFIG_BLK_DEV_BSG is not set # CONFIG_BLK_DEV_INTEGRITY is not set --- 143,149 ---- *************** *** 155,159 **** # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="anticipatory" - CONFIG_CLASSIC_RCU=y # CONFIG_FREEZER is not set --- 161,164 ---- *************** *** 185,192 **** CONFIG_FLIPPER_PIC=y CONFIG_GAMECUBE_COMMON=y - CONFIG_GAMECUBE_RSW=y CONFIG_GAMECUBE_UDBG=y CONFIG_USBGECKO_UDBG=y # CONFIG_GAMECUBE_VIDEO_UDBG is not set # CONFIG_IPIC is not set # CONFIG_MPIC is not set --- 190,197 ---- CONFIG_FLIPPER_PIC=y CONFIG_GAMECUBE_COMMON=y CONFIG_GAMECUBE_UDBG=y CONFIG_USBGECKO_UDBG=y # CONFIG_GAMECUBE_VIDEO_UDBG is not set + CONFIG_GAMECUBE_RSW=y # CONFIG_IPIC is not set # CONFIG_MPIC is not set *************** *** 202,205 **** --- 207,211 ---- # CONFIG_TAU is not set # CONFIG_FSL_ULI1575 is not set + # CONFIG_SIMPLE_GPIO is not set # *************** *** 219,232 **** # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y - # CONFIG_PREEMPT_RCU is not set CONFIG_BINFMT_ELF=y - # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set # CONFIG_HAVE_AOUT is not set CONFIG_BINFMT_MISC=m # CONFIG_IOMMU_HELPER is not set CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y CONFIG_ARCH_HAS_WALK_MEMORY=y CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y CONFIG_KEXEC=y CONFIG_ARCH_FLATMEM_ENABLE=y CONFIG_ARCH_POPULATES_NODE_MAP=y --- 225,238 ---- # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y CONFIG_BINFMT_ELF=y # CONFIG_HAVE_AOUT is not set CONFIG_BINFMT_MISC=m # CONFIG_IOMMU_HELPER is not set + CONFIG_PPC_NEED_DMA_SYNC_OPS=y CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y CONFIG_ARCH_HAS_WALK_MEMORY=y CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y CONFIG_KEXEC=y + # CONFIG_CRASH_DUMP is not set CONFIG_ARCH_FLATMEM_ENABLE=y CONFIG_ARCH_POPULATES_NODE_MAP=y *************** *** 240,244 **** CONFIG_SPLIT_PTLOCK_CPUS=4 # CONFIG_MIGRATION is not set - # CONFIG_RESOURCES_64BIT is not set # CONFIG_PHYS_ADDR_T_64BIT is not set CONFIG_ZONE_DMA_FLAG=1 --- 246,249 ---- *************** *** 246,249 **** --- 251,257 ---- CONFIG_VIRT_TO_BUS=y CONFIG_UNEVICTABLE_LRU=y + CONFIG_PPC_4K_PAGES=y + # CONFIG_PPC_16K_PAGES is not set + # CONFIG_PPC_64K_PAGES is not set CONFIG_FORCE_MAX_ZONEORDER=11 CONFIG_PROC_DEVICETREE=y *************** *** 288,291 **** --- 296,300 ---- # Networking options # + CONFIG_COMPAT_NET_DEV_OPS=y CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set *************** *** 337,340 **** --- 346,350 ---- # CONFIG_WAN_ROUTER is not set # CONFIG_NET_SCHED is not set + # CONFIG_DCB is not set # *************** *** 349,352 **** --- 359,363 ---- # CONFIG_PHONET is not set # CONFIG_WIRELESS is not set + # CONFIG_WIMAX is not set # CONFIG_RFKILL is not set # CONFIG_NET_9P is not set *************** *** 372,378 **** CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_FD is not set - CONFIG_GAMECUBE_DI=y - CONFIG_GAMECUBE_ARAM=y CONFIG_GAMECUBE_SD=y # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=y --- 383,389 ---- CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_FD is not set CONFIG_GAMECUBE_SD=y + CONFIG_GAMECUBE_ARAM=y + CONFIG_GAMECUBE_DI=y # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=y *************** *** 388,394 **** CONFIG_MISC_DEVICES=y CONFIG_GAMECUBE_GQR=y ! # CONFIG_EEPROM_93CX6 is not set # CONFIG_ENCLOSURE_SERVICES is not set # CONFIG_C2PORT is not set CONFIG_HAVE_IDE=y # CONFIG_IDE is not set --- 399,410 ---- CONFIG_MISC_DEVICES=y CONFIG_GAMECUBE_GQR=y ! # CONFIG_GAMECUBE_MI is not set # CONFIG_ENCLOSURE_SERVICES is not set # CONFIG_C2PORT is not set + + # + # EEPROM support + # + # CONFIG_EEPROM_93CX6 is not set CONFIG_HAVE_IDE=y # CONFIG_IDE is not set *************** *** 415,418 **** --- 431,435 ---- # CONFIG_MII is not set CONFIG_GAMECUBE_BBA=y + # CONFIG_DNET is not set # CONFIG_IBM_NEW_EMAC_ZMII is not set # CONFIG_IBM_NEW_EMAC_RGMII is not set *************** *** 432,435 **** --- 449,456 ---- # CONFIG_WLAN_80211 is not set # CONFIG_IWLWIFI_LEDS is not set + + # + # Enable WiMAX (Networking options) to see the WiMAX drivers + # # CONFIG_WAN is not set # CONFIG_PPP is not set *************** *** 526,531 **** --- 547,554 ---- # CONFIG_SERIAL_USBGECKO is not set CONFIG_UNIX98_PTYS=y + # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set CONFIG_LEGACY_PTYS=y CONFIG_LEGACY_PTY_COUNT=64 + # CONFIG_HVC_UDBG is not set # CONFIG_IPMI_HANDLER is not set # CONFIG_HW_RANDOM is not set *************** *** 742,746 **** --- 765,771 ---- CONFIG_FILE_LOCKING=y # CONFIG_XFS_FS is not set + # CONFIG_GFS2_FS is not set # CONFIG_OCFS2_FS is not set + # CONFIG_BTRFS_FS is not set CONFIG_DNOTIFY=y CONFIG_INOTIFY=y *************** *** 758,762 **** # CONFIG_ZISOFS is not set # CONFIG_UDF_FS is not set - # CONFIG_GCDVD_FS is not set # --- 783,786 ---- *************** *** 782,789 **** # CONFIG_HUGETLB_PAGE is not set # CONFIG_CONFIGFS_FS is not set ! ! # ! # Miscellaneous filesystems ! # # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set --- 806,810 ---- # CONFIG_HUGETLB_PAGE is not set # CONFIG_CONFIGFS_FS is not set ! CONFIG_MISC_FILESYSTEMS=y # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set *************** *** 794,797 **** --- 815,819 ---- # CONFIG_EFS_FS is not set # CONFIG_CRAMFS is not set + # CONFIG_SQUASHFS is not set # CONFIG_VXFS_FS is not set # CONFIG_MINIX_FS is not set *************** *** 878,881 **** --- 900,904 ---- # CONFIG_BITREVERSE=y + CONFIG_GENERIC_FIND_LAST_BIT=y CONFIG_CRC_CCITT=y # CONFIG_CRC16 is not set *************** *** 927,930 **** --- 950,954 ---- # CONFIG_DEBUG_LIST is not set # CONFIG_DEBUG_SG is not set + # CONFIG_DEBUG_NOTIFIERS is not set # CONFIG_BOOT_PRINTK_DELAY is not set # CONFIG_RCU_TORTURE_TEST is not set *************** *** 937,940 **** --- 961,966 ---- CONFIG_NOP_TRACER=y CONFIG_HAVE_FUNCTION_TRACER=y + CONFIG_HAVE_DYNAMIC_FTRACE=y + CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_RING_BUFFER=y CONFIG_TRACING=y *************** *** 948,951 **** --- 974,978 ---- CONFIG_CONTEXT_SWITCH_TRACER=y CONFIG_BOOT_TRACER=y + # CONFIG_TRACE_BRANCH_PROFILING is not set # CONFIG_STACK_TRACER is not set # CONFIG_DYNAMIC_PRINTK_DEBUG is not set *************** *** 953,956 **** --- 980,984 ---- CONFIG_HAVE_ARCH_KGDB=y # CONFIG_KGDB is not set + CONFIG_PRINT_STACK_DEPTH=64 # CONFIG_DEBUG_STACKOVERFLOW is not set # CONFIG_DEBUG_STACK_USAGE is not set |
From: Albert H. <he...@us...> - 2009-03-28 20:44:24
|
Update of /cvsroot/gc-linux/linux/drivers/video In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15781/drivers/video Modified Files: gcnfb.c Log Message: ** Import git changes up to 2.6.29 merge ** commit 82670a7d050e5001f723a056e4827750c0f65dfc Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:57:29 2009 +0100 gamecube: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/gamecube_defconfig | 72 +++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 22 deletions(-) commit e28f75ea563c7c9e3fdec767ce029b4b1803172b Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:48:31 2009 +0100 wii: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/wii_defconfig | 167 ++++++++++++++++++++++++++++++------ 1 files changed, 140 insertions(+), 27 deletions(-) commit 51a7be2130487abc9f47dc201d55b8049b0e8fba Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 19:28:44 2009 +0100 wii: kexec: save/restore lowmem stub Add a save/restore mechanism to preserve the lowest 16KiB of memory and make them available again after a kexec reboot. This is useful to preserve the "resident" reloader stubs installed by the existing bootloaders. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/dts/wii.dts | 6 +++ arch/powerpc/boot/wii.c | 38 ++++++++++++++++++++++ arch/powerpc/platforms/embedded6xx/wii.c | 51 +++++++++++++++++++++++++++++- 3 files changed, 94 insertions(+), 1 deletions(-) commit 0dc2ea8a60ff7f96091393d999add383f3d15cbf Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 18:13:12 2009 +0100 kexec: add preserved region This patch allows kexec to copy back a previously preserved memory region to its original location at kexec time. For example, the preserved region can be saved during boot time to a safe area and then restored back during the final kexec phase. The caller is responsible to ensure that the destination memory area can be safely overwritten. The source memory area must be available during the kexec relocation stage. One immediate use is preserving the lowest 16KiB in the Nintendo GameCube and Wii video game consoles which are traditionally used to host reloader stubs. Signed-off-by: Albert Herranz <alb...@ya...> include/linux/kexec.h | 11 +++++++---- kernel/kexec.c | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) commit e163fdd92acdf7a903fce2a1e5249dd386ff712c Author: Albert Herranz <alb...@ya...> Date: Thu Mar 26 20:26:46 2009 +0100 wii: enhance bootwrapper entry The bootloaders used on the Nintendo Wii may load the kernel and transfer control to it in a variety of environments. This patch modifies the entry point of the bootwrapper to not make any particular assumption about the initial state of the MMU. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/wii.c | 98 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 84 insertions(+), 14 deletions(-) commit 8034bd01f7068191d0f1044e942b8067d4f046e1 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:14:18 2009 +0100 flipper-pic: add quiesce method Add a quiesce method to the "flipper" interrupt controller driver to inhibit all interrupt sources before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/flipper-pic.c | 24 +++++++++++++++++++-- arch/powerpc/platforms/embedded6xx/flipper-pic.h | 1 + arch/powerpc/platforms/embedded6xx/wii.c | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) commit c75c681771ab387ee53ca6cfaed9a432ee99f0d9 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:05:33 2009 +0100 exi: add quiesce method Add a quiesce method to the EXternal Interface (EXI) driver to calm down the EXI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/wii.c | 3 ++- drivers/exi/exi-driver.c | 10 ++++++++++ drivers/exi/exi-hw.c | 5 +++++ drivers/exi/exi-hw.h | 2 ++ include/linux/exi.h | 12 ++++++++++++ 5 files changed, 31 insertions(+), 1 deletions(-) commit f063156b4a5ff84206d0b79a5ae25d50262fc010 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:27:19 2009 +0100 gcn-si: add shutdown method Add a shutdown method to the Serial Interface (SI) driver to quiesce the SI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) commit afebd827733d7a76f323a59c8797b983d9e3655f Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 14:37:11 2009 +0100 gcn-vi: re-detect tv mode if cable type changes Force a video mode detection cycle when setting up a video mode if the cable type has changed (component vs non-component). Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) commit 584224e2479475edb51a399b419205f7e2368bc2 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:56:48 2009 +0100 gcn-vi: add shutdown method Add a shutdown method to the Video Interface (VI) driver to quiesce the VI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit a6e357287734b326ce05de38f8588fc4526d11a5 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:46:03 2009 +0100 gcn-vi: reset video hardware before initiating detection Issue a hardware reset of the Video Interface (VI) hardware before performing the TV video mode autodetection. This fixes graphics glitches (swapped colors, green-red artifacts) seen after an incomplete video initialization. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 2d13698e4014c461351658ee3a2c3f923f51cf3a Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 21:11:38 2009 +0100 wii: platform restart rework Use the new IOS reload helpers in the platform restart code and kexec path. A platform restart tries now to load The Homebrew Channel and falls back to a normal STM restart if the former fails. On the other hand, the kexec reboot path reloads IOS before the final kexec phase to ensure that the kexec'ed image will get IOS in a known clean state. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 2 + arch/powerpc/platforms/embedded6xx/wii.c | 36 ++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 7 deletions(-) commit e11bbe78fc0c212db0ff18553dbf7841e190f828 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:38:02 2009 +0100 wii: starlet/ios: add ios reload helpers Add helpers for reloading IOS and optionally launching titles from NAND. These helpers will be used later in the platform code to implement a clean "direct reboot to channel" method, which finally will allow rebooting to The Homebrew Channel. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 5 ++ arch/powerpc/platforms/embedded6xx/starlet-es.c | 86 +++++++++++++++++++++++ 2 files changed, 91 insertions(+), 0 deletions(-) commit e4d9d4e747632a6657f650c537e6e10a06f2747b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:25:42 2009 +0100 wii: starlet/ios: use polled ipc api on title launch This patch converts the title launch helper code to the new polled IPC call interface, and prepares it to be called from non-sleeping contexts. This change is required to implement later the new IOS reload helpers. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-es.c | 184 +++++++++++------------ 1 files changed, 89 insertions(+), 95 deletions(-) commit e09ea011b5c14e16b6498d7063abf54751901878 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:08:26 2009 +0100 wii: starlet/ios: use polled ipc api on platform restart This patch fixes some known restart failure scenarios by switching the platform restart code to the new polled IPC call interface. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-stm.c | 25 ++++++++++++++++----- 1 files changed, 19 insertions(+), 6 deletions(-) commit 644ec5f6c15bbdb275bd9b485f7a811d8eb67e2b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 19:57:08 2009 +0100 wii: starlet/ios: add polled ipc api Add a new set of functions enabling the use of IOS IPC calls from non-sleeping contexts or critical paths. The *_polled functions actively sample the status of their related IPC requests until they complete. Execution of this family of calls is serialized and use processor resources so they should be only used for very specific contexts where the other existing functions are not suitable. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 37 +++-- arch/powerpc/platforms/embedded6xx/starlet-ipc.c | 197 +++++++++++++++++----- 2 files changed, 179 insertions(+), 55 deletions(-) commit fc5f68b629dbe6706fbabedf15e340428b196d5e Author: Albert Herranz <alb...@ya...> Date: Tue Mar 10 18:14:20 2009 +0100 gcn-si: fix named module parameter declaration This patch fixes the following build error due to an incorrect module parameter declaration. drivers/input/si/gcn-si.c:130: error: expected ')' before 'int' make[2]: *** [drivers/input/si/gcn-si.o] Error 1 make[1]: *** [drivers/input/si] Error 2 make: *** [drivers] Error 2 Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: gcnfb.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/video/gcnfb.c,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** gcnfb.c 2 Mar 2009 18:44:59 -0000 1.24 --- gcnfb.c 28 Mar 2009 20:44:19 -0000 1.25 *************** *** 442,445 **** --- 442,446 ---- struct vi_tv_mode *mode; struct vi_mode_timings timings; + int has_component_cable:1; /* at last detection time */ struct fb_info *info; *************** *** 981,984 **** --- 982,995 ---- } + static void vi_reset_video(struct vi_ctl *ctl) + { + void __iomem *io_base = ctl->io_base; + u16 dcr; + + dcr = in_be16(io_base + VI_DCR); + out_be16(io_base + VI_DCR, vi_dcr_set_rst(dcr, 1)); + out_be16(io_base + VI_DCR, vi_dcr_clear_rst(dcr)); + } + /* * Try to determine current TV video mode. *************** *** 996,1003 **** dcr = in_be16(io_base + VI_DCR); if ((force_scan == VI_SCAN_PROGRESSIVE && ! vi_has_component_cable(ctl)) || (force_scan != VI_SCAN_INTERLACED && ! vi_has_component_cable(ctl) && vi_dcr_get_nin(dcr))) { /* progressive modes */ --- 1007,1016 ---- dcr = in_be16(io_base + VI_DCR); + ctl->has_component_cable = vi_has_component_cable(ctl); + if ((force_scan == VI_SCAN_PROGRESSIVE && ! ctl->has_component_cable) || (force_scan != VI_SCAN_INTERLACED && ! ctl->has_component_cable && vi_dcr_get_nin(dcr))) { /* progressive modes */ *************** *** 1065,1073 **** void __iomem *io_base = ctl->io_base; struct vi_mode_timings *timings = &ctl->timings; - struct vi_tv_mode *mode = ctl->mode; struct fb_var_screeninfo *var = &ctl->info->var; unsigned int bytes_per_pixel = var->bits_per_pixel / 8; u16 std, ppl; out_be16(io_base + VI_DCR, vi_dcr_fmt((mode->lines == 625) ? VI_FMT_PAL : VI_FMT_NTSC) | --- 1078,1095 ---- void __iomem *io_base = ctl->io_base; struct vi_mode_timings *timings = &ctl->timings; struct fb_var_screeninfo *var = &ctl->info->var; unsigned int bytes_per_pixel = var->bits_per_pixel / 8; + struct vi_tv_mode *mode; + int has_component_cable; u16 std, ppl; + /* we need to re-detect the tv mode if the cable type changes */ + has_component_cable = vi_has_component_cable(ctl); + if ((ctl->has_component_cable && !has_component_cable) || + (!ctl->has_component_cable && has_component_cable)) + vi_detect_tv_mode(ctl); + + mode = ctl->mode; + out_be16(io_base + VI_DCR, vi_dcr_fmt((mode->lines == 625) ? VI_FMT_PAL : VI_FMT_NTSC) | *************** *** 1410,1414 **** struct i2c_client *client; u8 macrovision[26]; - int has_component; u8 component, format, pal60; --- 1432,1435 ---- *************** *** 1419,1424 **** memset(macrovision, 0, sizeof(macrovision)); - has_component = vi_has_component_cable(ctl); - /* * Magic initialization sequence borrowed from libogc. --- 1440,1443 ---- *************** *** 1437,1441 **** if ((ctl->mode->flags & VI_VMF_PAL_COLOR) != 0) format = 2; /* PAL */ ! component = (has_component) ? 1<<5 : 0; vi_ave_out8(client, 0x01, component | format); --- 1456,1460 ---- if ((ctl->mode->flags & VI_VMF_PAL_COLOR) != 0) format = 2; /* PAL */ ! component = (ctl->has_component_cable) ? 1<<5 : 0; vi_ave_out8(client, 0x01, component | format); *************** *** 1458,1462 **** /* clear bit 1 otherwise red and blue get swapped */ ! if (has_component) vi_ave_out8(client, 0x62, 0); --- 1477,1481 ---- /* clear bit 1 otherwise red and blue get swapped */ ! if (ctl->has_component_cable) vi_ave_out8(client, 0x62, 0); *************** *** 1752,1756 **** /* enable non-interlaced mode if supported */ ! if (force_scan != VI_SCAN_INTERLACED && vi_has_component_cable(ctl)) { var->vmode = (mode->flags & VI_VMF_PROGRESSIVE) ? FB_VMODE_NONINTERLACED : --- 1771,1775 ---- /* enable non-interlaced mode if supported */ ! if (force_scan != VI_SCAN_INTERLACED && ctl->has_component_cable) { var->vmode = (mode->flags & VI_VMF_PROGRESSIVE) ? FB_VMODE_NONINTERLACED : *************** *** 1969,1972 **** --- 1988,1992 ---- init_waitqueue_head(&ctl->vtrace_waitq); + vi_reset_video(ctl); vi_detect_tv_mode(ctl); *************** *** 2072,2075 **** --- 2092,2108 ---- } + static int vifb_do_shutdown(struct device *dev) + { + struct fb_info *info = dev_get_drvdata(dev); + struct vi_ctl *ctl = info->par; + void __iomem *io_base = ctl->io_base; + + vi_enable_interrupts(ctl, 0); + vi_reset_video(ctl); + out_be16(io_base + VI_DCR, vi_dcr_enb(0)); + + return 0; + } + #ifndef MODULE *************** *** 2160,2163 **** --- 2193,2201 ---- } + static int vifb_of_shutdown(struct of_device *odev) + { + return vifb_do_shutdown(&odev->dev); + } + static struct of_device_id vifb_of_match[] = { *************** *** 2175,2178 **** --- 2213,2217 ---- .probe = vifb_of_probe, .remove = vifb_of_remove, + .shutdown = vifb_of_shutdown, }; |
From: Albert H. <he...@us...> - 2009-03-28 20:44:24
|
Update of /cvsroot/gc-linux/linux/arch/powerpc/include/asm In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15781/arch/powerpc/include/asm Modified Files: starlet.h Log Message: ** Import git changes up to 2.6.29 merge ** commit 82670a7d050e5001f723a056e4827750c0f65dfc Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:57:29 2009 +0100 gamecube: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/gamecube_defconfig | 72 +++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 22 deletions(-) commit e28f75ea563c7c9e3fdec767ce029b4b1803172b Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:48:31 2009 +0100 wii: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/wii_defconfig | 167 ++++++++++++++++++++++++++++++------ 1 files changed, 140 insertions(+), 27 deletions(-) commit 51a7be2130487abc9f47dc201d55b8049b0e8fba Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 19:28:44 2009 +0100 wii: kexec: save/restore lowmem stub Add a save/restore mechanism to preserve the lowest 16KiB of memory and make them available again after a kexec reboot. This is useful to preserve the "resident" reloader stubs installed by the existing bootloaders. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/dts/wii.dts | 6 +++ arch/powerpc/boot/wii.c | 38 ++++++++++++++++++++++ arch/powerpc/platforms/embedded6xx/wii.c | 51 +++++++++++++++++++++++++++++- 3 files changed, 94 insertions(+), 1 deletions(-) commit 0dc2ea8a60ff7f96091393d999add383f3d15cbf Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 18:13:12 2009 +0100 kexec: add preserved region This patch allows kexec to copy back a previously preserved memory region to its original location at kexec time. For example, the preserved region can be saved during boot time to a safe area and then restored back during the final kexec phase. The caller is responsible to ensure that the destination memory area can be safely overwritten. The source memory area must be available during the kexec relocation stage. One immediate use is preserving the lowest 16KiB in the Nintendo GameCube and Wii video game consoles which are traditionally used to host reloader stubs. Signed-off-by: Albert Herranz <alb...@ya...> include/linux/kexec.h | 11 +++++++---- kernel/kexec.c | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) commit e163fdd92acdf7a903fce2a1e5249dd386ff712c Author: Albert Herranz <alb...@ya...> Date: Thu Mar 26 20:26:46 2009 +0100 wii: enhance bootwrapper entry The bootloaders used on the Nintendo Wii may load the kernel and transfer control to it in a variety of environments. This patch modifies the entry point of the bootwrapper to not make any particular assumption about the initial state of the MMU. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/wii.c | 98 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 84 insertions(+), 14 deletions(-) commit 8034bd01f7068191d0f1044e942b8067d4f046e1 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:14:18 2009 +0100 flipper-pic: add quiesce method Add a quiesce method to the "flipper" interrupt controller driver to inhibit all interrupt sources before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/flipper-pic.c | 24 +++++++++++++++++++-- arch/powerpc/platforms/embedded6xx/flipper-pic.h | 1 + arch/powerpc/platforms/embedded6xx/wii.c | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) commit c75c681771ab387ee53ca6cfaed9a432ee99f0d9 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:05:33 2009 +0100 exi: add quiesce method Add a quiesce method to the EXternal Interface (EXI) driver to calm down the EXI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/wii.c | 3 ++- drivers/exi/exi-driver.c | 10 ++++++++++ drivers/exi/exi-hw.c | 5 +++++ drivers/exi/exi-hw.h | 2 ++ include/linux/exi.h | 12 ++++++++++++ 5 files changed, 31 insertions(+), 1 deletions(-) commit f063156b4a5ff84206d0b79a5ae25d50262fc010 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:27:19 2009 +0100 gcn-si: add shutdown method Add a shutdown method to the Serial Interface (SI) driver to quiesce the SI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) commit afebd827733d7a76f323a59c8797b983d9e3655f Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 14:37:11 2009 +0100 gcn-vi: re-detect tv mode if cable type changes Force a video mode detection cycle when setting up a video mode if the cable type has changed (component vs non-component). Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) commit 584224e2479475edb51a399b419205f7e2368bc2 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:56:48 2009 +0100 gcn-vi: add shutdown method Add a shutdown method to the Video Interface (VI) driver to quiesce the VI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit a6e357287734b326ce05de38f8588fc4526d11a5 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:46:03 2009 +0100 gcn-vi: reset video hardware before initiating detection Issue a hardware reset of the Video Interface (VI) hardware before performing the TV video mode autodetection. This fixes graphics glitches (swapped colors, green-red artifacts) seen after an incomplete video initialization. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 2d13698e4014c461351658ee3a2c3f923f51cf3a Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 21:11:38 2009 +0100 wii: platform restart rework Use the new IOS reload helpers in the platform restart code and kexec path. A platform restart tries now to load The Homebrew Channel and falls back to a normal STM restart if the former fails. On the other hand, the kexec reboot path reloads IOS before the final kexec phase to ensure that the kexec'ed image will get IOS in a known clean state. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 2 + arch/powerpc/platforms/embedded6xx/wii.c | 36 ++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 7 deletions(-) commit e11bbe78fc0c212db0ff18553dbf7841e190f828 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:38:02 2009 +0100 wii: starlet/ios: add ios reload helpers Add helpers for reloading IOS and optionally launching titles from NAND. These helpers will be used later in the platform code to implement a clean "direct reboot to channel" method, which finally will allow rebooting to The Homebrew Channel. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 5 ++ arch/powerpc/platforms/embedded6xx/starlet-es.c | 86 +++++++++++++++++++++++ 2 files changed, 91 insertions(+), 0 deletions(-) commit e4d9d4e747632a6657f650c537e6e10a06f2747b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:25:42 2009 +0100 wii: starlet/ios: use polled ipc api on title launch This patch converts the title launch helper code to the new polled IPC call interface, and prepares it to be called from non-sleeping contexts. This change is required to implement later the new IOS reload helpers. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-es.c | 184 +++++++++++------------ 1 files changed, 89 insertions(+), 95 deletions(-) commit e09ea011b5c14e16b6498d7063abf54751901878 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:08:26 2009 +0100 wii: starlet/ios: use polled ipc api on platform restart This patch fixes some known restart failure scenarios by switching the platform restart code to the new polled IPC call interface. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-stm.c | 25 ++++++++++++++++----- 1 files changed, 19 insertions(+), 6 deletions(-) commit 644ec5f6c15bbdb275bd9b485f7a811d8eb67e2b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 19:57:08 2009 +0100 wii: starlet/ios: add polled ipc api Add a new set of functions enabling the use of IOS IPC calls from non-sleeping contexts or critical paths. The *_polled functions actively sample the status of their related IPC requests until they complete. Execution of this family of calls is serialized and use processor resources so they should be only used for very specific contexts where the other existing functions are not suitable. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 37 +++-- arch/powerpc/platforms/embedded6xx/starlet-ipc.c | 197 +++++++++++++++++----- 2 files changed, 179 insertions(+), 55 deletions(-) commit fc5f68b629dbe6706fbabedf15e340428b196d5e Author: Albert Herranz <alb...@ya...> Date: Tue Mar 10 18:14:20 2009 +0100 gcn-si: fix named module parameter declaration This patch fixes the following build error due to an incorrect module parameter declaration. drivers/input/si/gcn-si.c:130: error: expected ')' before 'int' make[2]: *** [drivers/input/si/gcn-si.o] Error 1 make[1]: *** [drivers/input/si] Error 2 make: *** [drivers] Error 2 Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: starlet.h =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/include/asm/starlet.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** starlet.h 1 Feb 2009 18:29:34 -0000 1.2 --- starlet.h 28 Mar 2009 20:44:19 -0000 1.3 *************** *** 26,31 **** #include <asm/rheap.h> ! #define STARLET_EINVAL -4 #define STARLET_IPC_DMA_ALIGN 0x1f /* 32 bytes */ --- 26,32 ---- #include <asm/rheap.h> ! #define STARLET_TITLE_HBC 0x0001000148415858ULL + #define STARLET_EINVAL -4 #define STARLET_IPC_DMA_ALIGN 0x1f /* 32 bytes */ *************** *** 185,198 **** extern int starlet_open(const char *pathname, int flags); extern int starlet_close(int fd); extern int starlet_ioctl(int fd, int request, ! void *ibuf, size_t ilen, ! void *obuf, size_t olen); extern int starlet_ioctl_nowait(int fd, int request, ! void *ibuf, size_t ilen, ! void *obuf, size_t olen, ! starlet_ipc_callback_t callback, ! void *arg); extern int starlet_ioctlv(int fd, int request, --- 186,205 ---- extern int starlet_open(const char *pathname, int flags); + extern int starlet_open_polled(const char *pathname, int flags, + unsigned long usecs); extern int starlet_close(int fd); + extern int starlet_close_polled(int fd, unsigned long usecs); extern int starlet_ioctl(int fd, int request, ! void *ibuf, size_t ilen, ! void *obuf, size_t olen); extern int starlet_ioctl_nowait(int fd, int request, ! void *ibuf, size_t ilen, ! void *obuf, size_t olen, ! starlet_ipc_callback_t callback, ! void *arg); ! extern int starlet_ioctl_polled(int fd, int request, ! void *ibuf, size_t ilen, ! void *obuf, size_t olen, unsigned long usecs); extern int starlet_ioctlv(int fd, int request, *************** *** 202,211 **** struct scatterlist *sgl_out); extern int starlet_ioctlv_nowait(int fd, int request, ! unsigned int nents_in, ! struct scatterlist *sgl_in, ! unsigned int nents_out, ! struct scatterlist *sgl_out, ! starlet_ipc_callback_t callback, ! void *arg); extern int starlet_ioctlv_and_reboot(int fd, int request, unsigned int nents_in, --- 209,224 ---- struct scatterlist *sgl_out); extern int starlet_ioctlv_nowait(int fd, int request, ! unsigned int nents_in, ! struct scatterlist *sgl_in, ! unsigned int nents_out, ! struct scatterlist *sgl_out, ! starlet_ipc_callback_t callback, ! void *arg); ! extern int starlet_ioctlv_polled(int fd, int request, ! unsigned int nents_in, ! struct scatterlist *sgl_in, ! unsigned int nents_out, ! struct scatterlist *sgl_out, ! unsigned long usecs); extern int starlet_ioctlv_and_reboot(int fd, int request, unsigned int nents_in, *************** *** 227,230 **** --- 240,248 ---- void *arg); + /* from starlet-es.c */ + + extern int starlet_es_reload_ios_and_discard(void); + extern int starlet_es_reload_ios_and_launch(u64 title); + /* from starlet-stm.c */ |
From: Albert H. <he...@us...> - 2009-03-28 20:44:23
|
Update of /cvsroot/gc-linux/linux/arch/powerpc/platforms/embedded6xx In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15781/arch/powerpc/platforms/embedded6xx Modified Files: flipper-pic.c flipper-pic.h starlet-es.c starlet-ipc.c starlet-stm.c wii.c Log Message: ** Import git changes up to 2.6.29 merge ** commit 82670a7d050e5001f723a056e4827750c0f65dfc Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:57:29 2009 +0100 gamecube: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/gamecube_defconfig | 72 +++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 22 deletions(-) commit e28f75ea563c7c9e3fdec767ce029b4b1803172b Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:48:31 2009 +0100 wii: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/wii_defconfig | 167 ++++++++++++++++++++++++++++++------ 1 files changed, 140 insertions(+), 27 deletions(-) commit 51a7be2130487abc9f47dc201d55b8049b0e8fba Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 19:28:44 2009 +0100 wii: kexec: save/restore lowmem stub Add a save/restore mechanism to preserve the lowest 16KiB of memory and make them available again after a kexec reboot. This is useful to preserve the "resident" reloader stubs installed by the existing bootloaders. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/dts/wii.dts | 6 +++ arch/powerpc/boot/wii.c | 38 ++++++++++++++++++++++ arch/powerpc/platforms/embedded6xx/wii.c | 51 +++++++++++++++++++++++++++++- 3 files changed, 94 insertions(+), 1 deletions(-) commit 0dc2ea8a60ff7f96091393d999add383f3d15cbf Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 18:13:12 2009 +0100 kexec: add preserved region This patch allows kexec to copy back a previously preserved memory region to its original location at kexec time. For example, the preserved region can be saved during boot time to a safe area and then restored back during the final kexec phase. The caller is responsible to ensure that the destination memory area can be safely overwritten. The source memory area must be available during the kexec relocation stage. One immediate use is preserving the lowest 16KiB in the Nintendo GameCube and Wii video game consoles which are traditionally used to host reloader stubs. Signed-off-by: Albert Herranz <alb...@ya...> include/linux/kexec.h | 11 +++++++---- kernel/kexec.c | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) commit e163fdd92acdf7a903fce2a1e5249dd386ff712c Author: Albert Herranz <alb...@ya...> Date: Thu Mar 26 20:26:46 2009 +0100 wii: enhance bootwrapper entry The bootloaders used on the Nintendo Wii may load the kernel and transfer control to it in a variety of environments. This patch modifies the entry point of the bootwrapper to not make any particular assumption about the initial state of the MMU. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/wii.c | 98 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 84 insertions(+), 14 deletions(-) commit 8034bd01f7068191d0f1044e942b8067d4f046e1 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:14:18 2009 +0100 flipper-pic: add quiesce method Add a quiesce method to the "flipper" interrupt controller driver to inhibit all interrupt sources before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/flipper-pic.c | 24 +++++++++++++++++++-- arch/powerpc/platforms/embedded6xx/flipper-pic.h | 1 + arch/powerpc/platforms/embedded6xx/wii.c | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) commit c75c681771ab387ee53ca6cfaed9a432ee99f0d9 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:05:33 2009 +0100 exi: add quiesce method Add a quiesce method to the EXternal Interface (EXI) driver to calm down the EXI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/wii.c | 3 ++- drivers/exi/exi-driver.c | 10 ++++++++++ drivers/exi/exi-hw.c | 5 +++++ drivers/exi/exi-hw.h | 2 ++ include/linux/exi.h | 12 ++++++++++++ 5 files changed, 31 insertions(+), 1 deletions(-) commit f063156b4a5ff84206d0b79a5ae25d50262fc010 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:27:19 2009 +0100 gcn-si: add shutdown method Add a shutdown method to the Serial Interface (SI) driver to quiesce the SI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) commit afebd827733d7a76f323a59c8797b983d9e3655f Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 14:37:11 2009 +0100 gcn-vi: re-detect tv mode if cable type changes Force a video mode detection cycle when setting up a video mode if the cable type has changed (component vs non-component). Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) commit 584224e2479475edb51a399b419205f7e2368bc2 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:56:48 2009 +0100 gcn-vi: add shutdown method Add a shutdown method to the Video Interface (VI) driver to quiesce the VI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit a6e357287734b326ce05de38f8588fc4526d11a5 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:46:03 2009 +0100 gcn-vi: reset video hardware before initiating detection Issue a hardware reset of the Video Interface (VI) hardware before performing the TV video mode autodetection. This fixes graphics glitches (swapped colors, green-red artifacts) seen after an incomplete video initialization. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 2d13698e4014c461351658ee3a2c3f923f51cf3a Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 21:11:38 2009 +0100 wii: platform restart rework Use the new IOS reload helpers in the platform restart code and kexec path. A platform restart tries now to load The Homebrew Channel and falls back to a normal STM restart if the former fails. On the other hand, the kexec reboot path reloads IOS before the final kexec phase to ensure that the kexec'ed image will get IOS in a known clean state. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 2 + arch/powerpc/platforms/embedded6xx/wii.c | 36 ++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 7 deletions(-) commit e11bbe78fc0c212db0ff18553dbf7841e190f828 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:38:02 2009 +0100 wii: starlet/ios: add ios reload helpers Add helpers for reloading IOS and optionally launching titles from NAND. These helpers will be used later in the platform code to implement a clean "direct reboot to channel" method, which finally will allow rebooting to The Homebrew Channel. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 5 ++ arch/powerpc/platforms/embedded6xx/starlet-es.c | 86 +++++++++++++++++++++++ 2 files changed, 91 insertions(+), 0 deletions(-) commit e4d9d4e747632a6657f650c537e6e10a06f2747b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:25:42 2009 +0100 wii: starlet/ios: use polled ipc api on title launch This patch converts the title launch helper code to the new polled IPC call interface, and prepares it to be called from non-sleeping contexts. This change is required to implement later the new IOS reload helpers. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-es.c | 184 +++++++++++------------ 1 files changed, 89 insertions(+), 95 deletions(-) commit e09ea011b5c14e16b6498d7063abf54751901878 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:08:26 2009 +0100 wii: starlet/ios: use polled ipc api on platform restart This patch fixes some known restart failure scenarios by switching the platform restart code to the new polled IPC call interface. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-stm.c | 25 ++++++++++++++++----- 1 files changed, 19 insertions(+), 6 deletions(-) commit 644ec5f6c15bbdb275bd9b485f7a811d8eb67e2b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 19:57:08 2009 +0100 wii: starlet/ios: add polled ipc api Add a new set of functions enabling the use of IOS IPC calls from non-sleeping contexts or critical paths. The *_polled functions actively sample the status of their related IPC requests until they complete. Execution of this family of calls is serialized and use processor resources so they should be only used for very specific contexts where the other existing functions are not suitable. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 37 +++-- arch/powerpc/platforms/embedded6xx/starlet-ipc.c | 197 +++++++++++++++++----- 2 files changed, 179 insertions(+), 55 deletions(-) commit fc5f68b629dbe6706fbabedf15e340428b196d5e Author: Albert Herranz <alb...@ya...> Date: Tue Mar 10 18:14:20 2009 +0100 gcn-si: fix named module parameter declaration This patch fixes the following build error due to an incorrect module parameter declaration. drivers/input/si/gcn-si.c:130: error: expected ')' before 'int' make[2]: *** [drivers/input/si/gcn-si.o] Error 1 make[1]: *** [drivers/input/si] Error 2 make: *** [drivers] Error 2 Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: flipper-pic.c =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/platforms/embedded6xx/flipper-pic.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** flipper-pic.c 1 Feb 2009 18:29:35 -0000 1.3 --- flipper-pic.c 28 Mar 2009 20:44:19 -0000 1.4 *************** *** 113,116 **** --- 113,123 ---- */ + static void __flipper_quiesce(void __iomem *io_base) + { + /* mask and ack all IRQs */ + out_be32(io_base + FLIPPER_IMR, 0x00000000); + out_be32(io_base + FLIPPER_ICR, 0xffffffff); + } + struct irq_host * __init flipper_pic_init(struct device_node *np) { *************** *** 130,136 **** res.start, io_base); ! /* mask and ack all IRQs */ ! out_be32(io_base + FLIPPER_IMR, 0x00000000); ! out_be32(io_base + FLIPPER_ICR, 0xffffffff); irq_host = irq_alloc_host(np, IRQ_HOST_MAP_LINEAR, FLIPPER_NR_IRQS, --- 137,141 ---- res.start, io_base); ! __flipper_quiesce(io_base); irq_host = irq_alloc_host(np, IRQ_HOST_MAP_LINEAR, FLIPPER_NR_IRQS, *************** *** 186,189 **** --- 191,207 ---- */ + /** + * flipper_quiesce() - quiesce flipper irq controller + * + * Mask and ack all interrupt sources. + * + */ + void flipper_quiesce(void) + { + void __iomem *io_base = flipper_irq_host->host_data; + + __flipper_quiesce(io_base); + } + /* * Resets the platform. Index: flipper-pic.h =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/platforms/embedded6xx/flipper-pic.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** flipper-pic.h 1 Feb 2009 18:29:35 -0000 1.3 --- flipper-pic.h 28 Mar 2009 20:44:19 -0000 1.4 *************** *** 36,39 **** --- 36,40 ---- void __init flipper_pic_probe(void); + void flipper_quiesce(void); void flipper_platform_reset(void); int flipper_is_reset_button_pressed(void); Index: starlet-stm.c =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/platforms/embedded6xx/starlet-stm.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** starlet-stm.c 1 Feb 2009 18:29:35 -0000 1.5 --- starlet-stm.c 28 Mar 2009 20:44:19 -0000 1.6 *************** *** 28,31 **** --- 28,33 ---- #define STARLET_STM_SHUTDOWN 0x2003 + #define STARLET_STM_TIMEOUT 1000000 /* usecs */ + #define STARLET_DEV_STM_IMMEDIATE "/dev/stm/immediate" *************** *** 45,48 **** --- 47,51 ---- static void starlet_stm_common_restart(int request, u32 value) { + static int already_in_restart; u32 *buf = starlet_stm_buf; size_t len = sizeof(starlet_stm_buf); *************** *** 50,59 **** int error; ! /* REVISIT, use polled ipc calls here */ ! drv_printk(KERN_INFO, "trying IPC restart...\n"); ! fd = starlet_open(dev_stm_immediate, 0); if (fd < 0) { drv_printk(KERN_ERR, "failed to open %s\n", dev_stm_immediate); --- 53,66 ---- int error; ! if (already_in_restart) { ! drv_printk(KERN_ERR, "previous restart attempt failed," ! " halting\n"); ! goto halt; ! } drv_printk(KERN_INFO, "trying IPC restart...\n"); + already_in_restart = 1; ! fd = starlet_open_polled(dev_stm_immediate, 0, STARLET_STM_TIMEOUT); if (fd < 0) { drv_printk(KERN_ERR, "failed to open %s\n", dev_stm_immediate); *************** *** 63,70 **** *buf = value; ! error = starlet_ioctl(fd, request, buf, len, buf, len); ! if (error < 0) drv_printk(KERN_ERR, "ioctl %d failed\n", request); ! starlet_close(fd); done: --- 70,83 ---- *buf = value; ! error = starlet_ioctl_polled(fd, request, buf, len, buf, len, ! STARLET_STM_TIMEOUT); ! if (error < 0) { drv_printk(KERN_ERR, "ioctl %d failed\n", request); ! starlet_close_polled(fd, STARLET_STM_TIMEOUT); ! } else { ! halt: ! for(;;) ! cpu_relax(); ! } done: Index: starlet-es.c =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/platforms/embedded6xx/starlet-es.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** starlet-es.c 1 Feb 2009 18:29:35 -0000 1.5 --- starlet-es.c 28 Mar 2009 20:44:19 -0000 1.6 *************** *** 31,36 **** --- 31,44 ---- printk(level DRV_MODULE_NAME ": " format , ## arg) + + #define STARLET_ES_IOS_MIN 30 + #define STARLET_ES_IOS_MAX 36 + + #define STARLET_ES_TIMEOUT 1000000 /* usecs */ + + struct starlet_es_device { int fd; + u64 ios_title; struct device *dev; *************** *** 54,74 **** } __attribute__((packed)); - #if 0 - struct starlet_es_ticket { - char issuer[0x40]; - u8 fill[63]; /* TODO: not really fill */ - u8 title_key[16]; - u8 fill2; - u64 ticketid; - u32 devicetype; - u64 title; - u16 access_mask; - u8 reserved[0x3c]; - u8 cidx_mask[0x40]; - u16 padding; - struct starlet_es_ticket_limit limits[8]; - } __attribute__((packed)); - #endif - /* * /dev/es --- 62,65 ---- *************** *** 101,105 **** if (!mutex_trylock(&es_small_buf_lock)) ! buf = starlet_kzalloc(es_small_buf_size, GFP_KERNEL); else { memset(es_small_buf, 0, es_small_buf_size); --- 92,96 ---- if (!mutex_trylock(&es_small_buf_lock)) ! buf = starlet_kzalloc(es_small_buf_size, GFP_ATOMIC); else { memset(es_small_buf, 0, es_small_buf_size); *************** *** 118,135 **** } - #if 0 - static void es_small_buf_dump(void) - { - int i; - size_t nelems = sizeof(es_small_buf) / sizeof(u32); - - drv_printk(KERN_INFO, "es_small_buf[%d]= {\n", nelems); - for (i = 0; i < nelems; i++) - drv_printk(KERN_INFO, "%08x, ", es_small_buf[i]); - drv_printk(KERN_INFO, "\n}\n"); - - } - #endif - /* * --- 109,112 ---- *************** *** 140,144 **** --- 117,123 ---- /** + * starlet_es_get_device() - get ES device handle * + * Returns the handle for the Encryption Services (ES) device instance. */ struct starlet_es_device *starlet_es_get_device(void) *************** *** 150,157 **** EXPORT_SYMBOL_GPL(starlet_es_get_device); ! /** * */ ! int starlet_es_get_title_count(unsigned long *count) { struct starlet_es_device *es_dev = starlet_es_get_device(); --- 129,136 ---- EXPORT_SYMBOL_GPL(starlet_es_get_device); ! /* * */ ! static int starlet_es_get_title_count(unsigned long *count) { struct starlet_es_device *es_dev = starlet_es_get_device(); *************** *** 182,189 **** } ! /** * */ ! int starlet_es_get_titles(u64 *titles, unsigned long count) { struct starlet_es_device *es_dev = starlet_es_get_device(); --- 161,168 ---- } ! /* * */ ! static int starlet_es_get_titles(u64 *titles, unsigned long count) { struct starlet_es_device *es_dev = starlet_es_get_device(); *************** *** 213,220 **** } ! /** ! * */ ! int starlet_es_get_ticket_view_count(u64 title, unsigned long *count) { struct starlet_es_device *es_dev = starlet_es_get_device(); --- 192,199 ---- } ! /* ! * This call may be used in a non-sleeping context */ ! static int starlet_es_get_ticket_view_count(u64 title, unsigned long *count) { struct starlet_es_device *es_dev = starlet_es_get_device(); *************** *** 227,231 **** return -ENODEV; ! title_buf = starlet_kzalloc(sizeof(*title_buf), GFP_KERNEL); if (!title_buf) return -ENOMEM; --- 206,210 ---- return -ENODEV; ! title_buf = starlet_kzalloc(sizeof(*title_buf), GFP_ATOMIC); if (!title_buf) return -ENOMEM; *************** *** 241,246 **** sg_init_one(io, count_buf, sizeof(*count_buf)); ! error = starlet_ioctlv(es_dev->fd, ES_IOCTLV_GETTICKETVIEWCOUNT, ! 1, in, 1, io); if (error) DBG("%s: error=%d (%08x)\n", __func__, error, error); --- 220,225 ---- sg_init_one(io, count_buf, sizeof(*count_buf)); ! error = starlet_ioctlv_polled(es_dev->fd, ES_IOCTLV_GETTICKETVIEWCOUNT, ! 1, in, 1, io, STARLET_ES_TIMEOUT); if (error) DBG("%s: error=%d (%08x)\n", __func__, error, error); *************** *** 254,263 **** } ! /** ! * */ ! int starlet_es_get_ticket_views(u64 title, ! struct starlet_es_ticket_view *views, ! unsigned long count) { struct starlet_es_device *es_dev = starlet_es_get_device(); --- 233,242 ---- } ! /* ! * This call may be used in a non-sleeping context */ ! static int starlet_es_get_ticket_views(u64 title, ! struct starlet_es_ticket_view *views, ! unsigned long count) { struct starlet_es_device *es_dev = starlet_es_get_device(); *************** *** 270,274 **** return -ENODEV; ! title_buf = starlet_kzalloc(sizeof(*title_buf), GFP_KERNEL); if (!title_buf) return -ENOMEM; --- 249,253 ---- return -ENODEV; ! title_buf = starlet_kzalloc(sizeof(*title_buf), GFP_ATOMIC); if (!title_buf) return -ENOMEM; *************** *** 288,293 **** sg_init_one(io, views, sizeof(*views)*count); ! error = starlet_ioctlv(es_dev->fd, ES_IOCTLV_GETTICKETVIEWS, ! 2, in, 1, io); if (error) DBG("%s: error=%d (%08x)\n", __func__, error, error); --- 267,272 ---- sg_init_one(io, views, sizeof(*views)*count); ! error = starlet_ioctlv_polled(es_dev->fd, ES_IOCTLV_GETTICKETVIEWS, ! 2, in, 1, io, STARLET_ES_TIMEOUT); if (error) DBG("%s: error=%d (%08x)\n", __func__, error, error); *************** *** 299,306 **** } ! /** ! * */ ! int starlet_es_launch_title_view(u64 title, struct starlet_es_ticket_view *view) { struct starlet_es_device *es_dev = starlet_es_get_device(); --- 278,286 ---- } ! /* ! * This call may be used in a non-sleeping context */ ! static int starlet_es_launch_title_view(u64 title, ! struct starlet_es_ticket_view *view) { struct starlet_es_device *es_dev = starlet_es_get_device(); *************** *** 312,316 **** return -ENODEV; ! title_buf = starlet_kzalloc(sizeof(*title_buf), GFP_KERNEL); if (!title_buf) return -ENOMEM; --- 292,296 ---- return -ENODEV; ! title_buf = starlet_kzalloc(sizeof(*title_buf), GFP_ATOMIC); if (!title_buf) return -ENOMEM; *************** *** 322,327 **** error = starlet_ioctlv_and_reboot(es_dev->fd, ! ES_IOCTLV_LAUNCHTITLE, ! 2, in, 0, NULL); if (error) DBG("%s: error=%d (%08x)\n", __func__, error, error); --- 302,307 ---- error = starlet_ioctlv_and_reboot(es_dev->fd, ! ES_IOCTLV_LAUNCHTITLE, ! 2, in, 0, NULL); if (error) DBG("%s: error=%d (%08x)\n", __func__, error, error); *************** *** 332,344 **** } /* ! * Setup routines. * */ ! #define STARLET_ES_IOS_MIN 30 ! #define STARLET_ES_IOS_MAX 36 static int starlet_es_find_newest_title(struct starlet_es_device *es_dev, --- 312,451 ---- } + /* + * This call may be used in a non-sleeping context + */ + static int starlet_es_launch_title(struct starlet_es_device *es_dev, u64 title) + { + struct starlet_es_ticket_view *views; + unsigned long count; + int error; + error = starlet_es_get_ticket_view_count(title, &count); + if (error) + return error; + + views = starlet_kzalloc(sizeof(*views)*count, GFP_ATOMIC); + if (!views) { + DBG("%s: out of memory\n", __func__); + return -ENOMEM; + } + + error = starlet_es_get_ticket_views(title, views, count); + if (error) { + starlet_kfree(views); + return error; + } + + drv_printk(KERN_INFO, "launching title %u-%u\n", + (u32)(title >> 32), (u32)title); + error = starlet_es_launch_title_view(title, views); /* first view */ + + starlet_kfree(views); + + return error; + } /* ! * This call may be used in a non-sleeping context ! */ ! static int starlet_es_reopen(struct starlet_es_device *es_dev) ! { ! int error; ! ! error = starlet_open_polled(dev_es, 0, STARLET_ES_TIMEOUT); ! if (error < 0) { ! drv_printk(KERN_ERR, "unable to reopen %s (%d)\n", ! dev_es, error); ! goto out; ! } ! es_dev->fd = error; ! error = 0; ! out: ! return error; ! } ! ! /* ! * This call may be used in a non-sleeping context ! */ ! static int __starlet_es_reload_ios(struct starlet_es_device *es_dev) ! { ! int error = -EINVAL; ! ! if (!es_dev->ios_title) { ! drv_printk(KERN_ERR, "no IOS previously loaded\n"); ! goto out; ! } ! ! error = starlet_es_launch_title(es_dev, es_dev->ios_title); ! if (!error) ! es_dev->fd = -1; ! out: ! return error; ! } ! ! /* ! * This call may be used in a non-sleeping context ! */ ! static int starlet_es_reload_ios(struct starlet_es_device *es_dev) ! { ! int error; ! ! error = __starlet_es_reload_ios(es_dev); ! if (!error) ! error = starlet_es_reopen(es_dev); ! ! if (error) ! DBG("%s: error=%d (%08x)\n", __func__, error, error); ! return error; ! } ! ! ! /** ! * starlet_es_reload_ios_and_discard() - reload IOS and stop using it ! * ! * Reloads the version of IOS loaded at boot time. ! * All IOS dependent devices will fail after this call unless they are ! * reinitialized. * + * This call may be used in a non-sleeping context */ + int starlet_es_reload_ios_and_discard(void) + { + struct starlet_es_device *es_dev = starlet_es_get_device(); + int error = -EINVAL; ! if (!es_dev) ! goto err_out; ! ! error = starlet_es_reload_ios(es_dev); ! err_out: ! return error; ! } ! EXPORT_SYMBOL_GPL(starlet_es_reload_ios_and_discard); ! ! /** ! * starlet_es_reload_ios_and_launch() - reload IOS and launch a title ! * ! * Reload the version of IOS loaded at boot time and launch a title. ! * If the title loaded is a non-IOS title, this function will not return and ! * is equivalent to a platform restart. ! * ! * This call may be used in a non-sleeping context ! */ ! int starlet_es_reload_ios_and_launch(u64 title) ! { ! struct starlet_es_device *es_dev = starlet_es_get_device(); ! int error = -EINVAL; ! ! if (!es_dev) ! goto err_out; ! ! error = starlet_es_reload_ios(es_dev); ! if (!error) ! error = starlet_es_launch_title(es_dev, title); ! err_out: ! return error; ! } ! EXPORT_SYMBOL_GPL(starlet_es_reload_ios_and_launch); static int starlet_es_find_newest_title(struct starlet_es_device *es_dev, *************** *** 387,421 **** } ! static int starlet_es_launch_title(struct starlet_es_device *es_dev, u64 title) ! { ! struct starlet_es_ticket_view *views; ! unsigned long count; ! int error; ! ! error = starlet_es_get_ticket_view_count(title, &count); ! if (error) ! return error; ! ! views = starlet_kzalloc(sizeof(*views)*count, GFP_KERNEL); ! if (!views) { ! DBG("%s: out of memory\n", __func__); ! return -ENOMEM; ! } ! ! error = starlet_es_get_ticket_views(title, views, count); ! if (error) { ! starlet_kfree(views); ! return error; ! } ! ! drv_printk(KERN_INFO, "launching IOS%u\n", (u32)(title & 0xffffffff)); ! error = starlet_es_launch_title_view(title, views); /* first view */ ! ! starlet_kfree(views); ! ! return error; ! } ! ! static int starlet_es_load_preferred(struct starlet_es_device *es_dev, u64 ios_min, u64 ios_max) { --- 494,498 ---- } ! static int starlet_es_load_preferred_ios(struct starlet_es_device *es_dev, u64 ios_min, u64 ios_max) { *************** *** 426,431 **** if (!error) return -EINVAL; ! if (error > 0) error = starlet_es_launch_title(es_dev, title); return error; --- 503,512 ---- if (!error) return -EINVAL; ! if (error > 0) { ! es_dev->ios_title = title; error = starlet_es_launch_title(es_dev, title); + if (!error) + error = starlet_es_reopen(es_dev); + } return error; *************** *** 469,478 **** ios_max = 0x100000000ULL | STARLET_ES_IOS_MAX; ! error = starlet_es_load_preferred(es_dev, ios_min, ios_max); ! if (error) { drv_printk(KERN_WARNING, "unable to load preferred" " IOS version (min %llx, max %llx)\n", ios_min, ios_max); - } } --- 550,558 ---- ios_max = 0x100000000ULL | STARLET_ES_IOS_MAX; ! error = starlet_es_load_preferred_ios(es_dev, ios_min, ios_max); ! if (error) drv_printk(KERN_WARNING, "unable to load preferred" " IOS version (min %llx, max %llx)\n", ios_min, ios_max); } Index: wii.c =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/platforms/embedded6xx/wii.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** wii.c 1 Feb 2009 18:29:35 -0000 1.4 --- wii.c 28 Mar 2009 20:44:19 -0000 1.5 *************** *** 18,21 **** --- 18,22 ---- #include <linux/seq_file.h> #include <linux/kexec.h> + #include <linux/exi.h> #include <asm/io.h> *************** *** 33,39 **** static void wii_restart(char *cmd) { - starlet_stm_restart(); local_irq_disable(); ! /* spin until power button pressed */ for (;;) cpu_relax(); --- 34,45 ---- static void wii_restart(char *cmd) { local_irq_disable(); ! ! /* try first to launch The Homebrew Channel... */ ! starlet_es_reload_ios_and_launch(STARLET_TITLE_HBC); ! /* ..and if that fails, try an assisted restart */ ! starlet_stm_restart(); ! ! /* fallback to spinning until the power button pressed */ for (;;) cpu_relax(); *************** *** 42,48 **** static void wii_power_off(void) { - starlet_stm_power_off(); local_irq_disable(); ! /* spin until power button pressed */ for (;;) cpu_relax(); --- 48,57 ---- static void wii_power_off(void) { local_irq_disable(); ! ! /* try an assisted poweroff */ ! starlet_stm_power_off(); ! ! /* fallback to spinning until the power button pressed */ for (;;) cpu_relax(); *************** *** 84,94 **** static void wii_shutdown(void) { ! /* currently not used */ } ! static int wii_kexec_prepare(struct kimage *image) { ! return 0; } #endif /* CONFIG_KEXEC */ --- 93,167 ---- static void wii_shutdown(void) { ! exi_quiesce(); ! flipper_quiesce(); } ! static int restore_lowmem_stub(struct kimage *image) { ! struct device_node *node; ! struct resource res; ! const unsigned long *prop; ! unsigned long dst, src; ! size_t size; ! int error; ! ! node = of_find_node_by_name(NULL, "lowmem-stub"); ! if (!node) { ! printk(KERN_ERR "unable to find node %s\n", "lowmem-stub"); ! error = -ENODEV; ! goto out; ! } ! ! error = of_address_to_resource(node, 0, &res); ! if (error) { ! printk(KERN_ERR "no lowmem-stub range found\n"); ! goto out_put; ! } ! dst = res.start; ! size = res.end - res.start + 1; ! ! prop = of_get_property(node, "save-area", NULL); ! if (!prop) { ! printk(KERN_ERR "unable to find %s property\n", "save-area"); ! error = -EINVAL; ! goto out_put; ! } ! src = *prop; ! ! printk(KERN_DEBUG "lowmem-stub: preparing restore from %08lX to %08lX" ! " (%u bytes)\n", src, dst, size); ! ! /* schedule a copy of the lowmem stub to its original location */ ! error = kimage_add_preserved_region(image, dst, src, PAGE_ALIGN(size)); ! ! out_put: ! of_node_put(node); ! out: ! return error; } + + static int wii_machine_kexec_prepare(struct kimage *image) + { + int error; + + error = restore_lowmem_stub(image); + if (error) + printk(KERN_ERR "%s: error %d\n", __func__, error); + return error; + } + + static void wii_machine_kexec(struct kimage *image) + { + local_irq_disable(); + + /* + * Reload IOS to make sure that I/O resources are freed before + * the final kexec phase. + */ + starlet_es_reload_ios_and_discard(); + + default_machine_kexec(image); + } + #endif /* CONFIG_KEXEC */ *************** *** 109,114 **** #ifdef CONFIG_KEXEC .machine_shutdown = wii_shutdown, ! .machine_kexec_prepare = wii_kexec_prepare, ! .machine_kexec = default_machine_kexec, #endif }; --- 182,187 ---- #ifdef CONFIG_KEXEC .machine_shutdown = wii_shutdown, ! .machine_kexec_prepare = wii_machine_kexec_prepare, ! .machine_kexec = wii_machine_kexec, #endif }; Index: starlet-ipc.c =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/platforms/embedded6xx/starlet-ipc.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** starlet-ipc.c 1 Feb 2009 18:29:35 -0000 1.7 --- starlet-ipc.c 28 Mar 2009 20:44:19 -0000 1.8 *************** *** 32,36 **** #include <asm/io.h> #include <asm/bitops.h> ! #include <asm/starlet.h> --- 32,36 ---- #include <asm/io.h> #include <asm/bitops.h> ! #include <asm/time.h> #include <asm/starlet.h> *************** *** 40,44 **** #define DRV_AUTHOR "Albert Herranz" ! static char starlet_ipc_driver_version[] = "0.2i"; #define drv_printk(level, format, arg...) \ --- 40,44 ---- #define DRV_AUTHOR "Albert Herranz" ! static char starlet_ipc_driver_version[] = "0.3i"; #define drv_printk(level, format, arg...) \ *************** *** 51,58 **** #define STARLET_IPC_CSR 0x04 ! #define STARLET_IPC_CSR_TSTART (1<<0) /* start transmit */ #define STARLET_IPC_CSR_TBEI (1<<1) /* tx buf empty int */ #define STARLET_IPC_CSR_RBFI (1<<2) /* rx buf full int */ ! #define STARLET_IPC_CSR_INT (1<<3) /* interrupt ack */ #define STARLET_IPC_CSR_RBFIMASK (1<<4) /* rx buf full int mask */ #define STARLET_IPC_CSR_TBEIMASK (1<<5) /* tx buf empty int mask */ --- 51,58 ---- #define STARLET_IPC_CSR 0x04 ! #define STARLET_IPC_CSR_TXSTART (1<<0) /* start transmit */ #define STARLET_IPC_CSR_TBEI (1<<1) /* tx buf empty int */ #define STARLET_IPC_CSR_RBFI (1<<2) /* rx buf full int */ ! #define STARLET_IPC_CSR_RXRDY (1<<3) /* receiver ready */ #define STARLET_IPC_CSR_RBFIMASK (1<<4) /* rx buf full int mask */ #define STARLET_IPC_CSR_TBEIMASK (1<<5) /* tx buf empty int mask */ *************** *** 113,119 **** * Issue an end-of-interrupt sequence. */ ! static void starlet_ipc_eoi(void __iomem *io_base) { ! starlet_ipc_update_csr(io_base, STARLET_IPC_CSR_INT); } --- 113,119 ---- * Issue an end-of-interrupt sequence. */ ! static void starlet_ipc_rx_ready(void __iomem *io_base) { ! starlet_ipc_update_csr(io_base, STARLET_IPC_CSR_RXRDY); } *************** *** 223,227 **** starlet_ipc_sendto(io_base, (u32) req->dma_addr); ! starlet_ipc_update_csr(io_base, STARLET_IPC_CSR_TSTART); } --- 223,227 ---- starlet_ipc_sendto(io_base, (u32) req->dma_addr); ! starlet_ipc_update_csr(io_base, STARLET_IPC_CSR_TXSTART); } *************** *** 234,237 **** --- 234,238 ---- list_del_init(&req->node); ipc_dev->nr_outstanding--; + req->jiffies = 0; spin_unlock_irqrestore(&ipc_dev->list_lock, flags); *************** *** 257,263 **** ipc_dev->nr_pending++; spin_unlock_irqrestore(&ipc_dev->list_lock, flags); ! } else { starlet_ipc_start_request(req); - } } --- 258,263 ---- ipc_dev->nr_pending++; spin_unlock_irqrestore(&ipc_dev->list_lock, flags); ! } else starlet_ipc_start_request(req); } *************** *** 273,276 **** --- 273,277 ---- if (req && req->sig != ipc_dev->random_id) { drv_printk(KERN_ERR, "IPC trash detected\n"); + /* leak memory, we can't safely use it */ ipc_dev->nr_outstanding = 0; INIT_LIST_HEAD(&ipc_dev->outstanding_list); *************** *** 311,317 **** } spin_unlock_irqrestore(&ipc_dev->list_lock, flags); ! if (req) { starlet_ipc_start_request(req); ! } else { if (!test_and_clear_bit(__TX_INUSE, &ipc_dev->flags)) { /* we get two consecutive TBEIs on reboot */ --- 312,318 ---- } spin_unlock_irqrestore(&ipc_dev->list_lock, flags); ! if (req) starlet_ipc_start_request(req); ! else { if (!test_and_clear_bit(__TX_INUSE, &ipc_dev->flags)) { /* we get two consecutive TBEIs on reboot */ *************** *** 320,327 **** ipc_dev->req = NULL; if (req) { - starlet_ipc_complete_request(req); req->result = 0; } ! starlet_ipc_eoi(io_base); } } --- 321,328 ---- ipc_dev->req = NULL; if (req) { req->result = 0; + starlet_ipc_complete_request(req); } ! starlet_ipc_rx_ready(io_base); } } *************** *** 345,355 **** req = starlet_ipc_find_request_by_bus_addr(ipc_dev, req_bus_addr); ! if (req) { starlet_ipc_complete_request(req); ! } else { drv_printk(KERN_WARNING, "unknown request, bus=%p\n", (void *)req_bus_addr); ! } ! starlet_ipc_eoi(io_base); return IRQ_HANDLED; } --- 346,355 ---- req = starlet_ipc_find_request_by_bus_addr(ipc_dev, req_bus_addr); ! if (req) starlet_ipc_complete_request(req); ! else drv_printk(KERN_WARNING, "unknown request, bus=%p\n", (void *)req_bus_addr); ! starlet_ipc_rx_ready(io_base); return IRQ_HANDLED; } *************** *** 433,436 **** --- 433,478 ---- } + static DEFINE_SPINLOCK(starlet_ipc_poll_lock); + + #define __spin_event_timeout(condition, usecs, result, __end_ts) \ + for (__end_ts = get_tbl() + tb_ticks_per_usec * usecs; \ + !(result = (condition)) && __end_ts - get_tbl() > 0;) + + static int __starlet_ipc_poll_req(struct starlet_ipc_request *req, + unsigned long usecs) + { + struct starlet_ipc_device *ipc_dev = req->ipc_dev; + unsigned long counter; + int result; + + __spin_event_timeout(req->jiffies == 0 && + !test_bit(__REBOOT, &ipc_dev->flags), + usecs, result, counter) + starlet_ipc_handler(0, ipc_dev); + + if (!result) + req->result = -ETIME; + + /* debug */ + if (req->result < 0) + drv_printk(KERN_ERR, "%s: result %d\n", __func__, + req->result); + return req->result; + } + + static int starlet_ipc_call_polled(struct starlet_ipc_request *req, + unsigned long usecs) + { + unsigned long flags; + int error; + + req->done = NULL; + spin_lock_irqsave(&starlet_ipc_poll_lock, flags); + starlet_ipc_submit_request(req); + error = __starlet_ipc_poll_req(req, usecs); + spin_unlock_irqrestore(&starlet_ipc_poll_lock, flags); + return error; + } + /* * *************** *** 454,458 **** * */ ! int starlet_open(const char *pathname, int flags) { #define STSD_OPEN_BUF_SIZE 64 --- 496,501 ---- * */ ! static int _starlet_open(const char *pathname, int flags, ! gfp_t gfp_flags, int poll, unsigned long usecs) { #define STSD_OPEN_BUF_SIZE 64 *************** *** 471,475 **** return -ENODEV; ! req = starlet_ipc_alloc_request(ipc_dev, GFP_KERNEL); if (req) { len = strlen(pathname) + 1; --- 514,518 ---- return -ENODEV; ! req = starlet_ipc_alloc_request(ipc_dev, gfp_flags); if (req) { len = strlen(pathname) + 1; *************** *** 479,483 **** } if (!local_pathname) { ! local_pathname = starlet_kzalloc(len, GFP_KERNEL); if (!local_pathname) { starlet_ipc_free_request(req); --- 522,526 ---- } if (!local_pathname) { ! local_pathname = starlet_kzalloc(len, gfp_flags); if (!local_pathname) { starlet_ipc_free_request(req); *************** *** 494,498 **** req->open.pathname = dma_addr; /* bus address */ req->open.mode = flags; ! error = starlet_ipc_call(req); dma_unmap_single(ipc_dev->dev, dma_addr, len, DMA_TO_DEVICE); --- 537,542 ---- req->open.pathname = dma_addr; /* bus address */ req->open.mode = flags; ! error = (poll) ? starlet_ipc_call_polled(req, usecs) : ! starlet_ipc_call(req); dma_unmap_single(ipc_dev->dev, dma_addr, len, DMA_TO_DEVICE); *************** *** 506,518 **** } if (error < 0) ! DBG("%s: error=%d (%x)\n", __func__, error, error); return error; } EXPORT_SYMBOL_GPL(starlet_open); /* * */ ! int starlet_close(int fd) { struct starlet_ipc_device *ipc_dev = starlet_ipc_get_device(); --- 550,576 ---- } if (error < 0) ! DBG("%s: %s: error=%d (%x)\n", __func__, pathname, ! error, error); return error; } + + int starlet_open(const char *pathname, int flags) + { + return _starlet_open(pathname, flags, GFP_KERNEL, 0, 0); + } EXPORT_SYMBOL_GPL(starlet_open); + int starlet_open_polled(const char *pathname, int flags, + unsigned long usecs) + { + return _starlet_open(pathname, flags, GFP_ATOMIC, 1, usecs); + } + EXPORT_SYMBOL_GPL(starlet_open_polled); + /* * */ ! static int _starlet_close(int fd, gfp_t gfp_flags, int poll, ! unsigned long usecs) { struct starlet_ipc_device *ipc_dev = starlet_ipc_get_device(); *************** *** 523,537 **** return -ENODEV; ! req = starlet_ipc_alloc_request(ipc_dev, GFP_KERNEL); if (req) { req->cmd = STARLET_IOS_CLOSE; req->fd = fd; ! error = starlet_ipc_call(req); starlet_ipc_free_request(req); } return error; } EXPORT_SYMBOL_GPL(starlet_close); /* --- 581,608 ---- return -ENODEV; ! req = starlet_ipc_alloc_request(ipc_dev, gfp_flags); if (req) { req->cmd = STARLET_IOS_CLOSE; req->fd = fd; ! error = (poll) ? starlet_ipc_call_polled(req, usecs) : ! starlet_ipc_call(req); starlet_ipc_free_request(req); } return error; } + + int starlet_close(int fd) + { + return _starlet_close(fd, GFP_KERNEL, 0, 0); + } EXPORT_SYMBOL_GPL(starlet_close); + int starlet_close_polled(int fd, unsigned long usecs) + { + return _starlet_close(fd, GFP_ATOMIC, 1, usecs); + } + EXPORT_SYMBOL_GPL(starlet_close_polled); + + /* *************** *** 688,694 **** * */ ! int starlet_ioctl(int fd, int request, ! void *ibuf, size_t ilen, ! void *obuf, size_t olen) { struct starlet_ipc_device *ipc_dev = starlet_ipc_get_device(); --- 759,766 ---- * */ ! static int _starlet_ioctl(int fd, int request, ! void *ibuf, size_t ilen, ! void *obuf, size_t olen, ! int poll, unsigned long usecs) { struct starlet_ipc_device *ipc_dev = starlet_ipc_get_device(); *************** *** 703,707 **** ibuf, ilen, obuf, olen); if (!error) ! error = starlet_ipc_call(req); starlet_ipc_free_request(req); --- 775,780 ---- ibuf, ilen, obuf, olen); if (!error) ! error = (poll) ? starlet_ipc_call_polled(req, usecs) : ! starlet_ipc_call(req); starlet_ipc_free_request(req); *************** *** 710,715 **** --- 783,804 ---- return error; } + + int starlet_ioctl(int fd, int request, + void *ibuf, size_t ilen, + void *obuf, size_t olen) + { + return _starlet_ioctl(fd, request, ibuf, ilen, obuf, olen, 0, 0); + } EXPORT_SYMBOL_GPL(starlet_ioctl); + int starlet_ioctl_polled(int fd, int request, + void *ibuf, size_t ilen, + void *obuf, size_t olen, + unsigned long usecs) + { + return _starlet_ioctl(fd, request, ibuf, ilen, obuf, olen, 1, usecs); + } + EXPORT_SYMBOL_GPL(starlet_ioctl_polled); + /** * *************** *** 881,889 **** * */ ! int starlet_ioctlv(int fd, int request, ! unsigned int nents_in, ! struct scatterlist *sgl_in, ! unsigned int nents_io, ! struct scatterlist *sgl_io) { struct starlet_ipc_device *ipc_dev = starlet_ipc_get_device(); --- 970,979 ---- * */ ! static int _starlet_ioctlv(int fd, int request, ! unsigned int nents_in, ! struct scatterlist *sgl_in, ! unsigned int nents_io, ! struct scatterlist *sgl_io, ! int poll, unsigned long usecs) { struct starlet_ipc_device *ipc_dev = starlet_ipc_get_device(); *************** *** 899,903 **** nents_io, sgl_io); if (!error) ! error = starlet_ipc_call(req); starlet_ipc_free_request(req); --- 989,994 ---- nents_io, sgl_io); if (!error) ! error = (poll) ? starlet_ipc_call_polled(req, usecs) : ! starlet_ipc_call(req); starlet_ipc_free_request(req); *************** *** 906,911 **** --- 997,1024 ---- return error; } + + int starlet_ioctlv(int fd, int request, + unsigned int nents_in, + struct scatterlist *sgl_in, + unsigned int nents_io, + struct scatterlist *sgl_io) + { + return _starlet_ioctlv(fd, request, + nents_in, sgl_in, nents_io, sgl_io, 0, 0); + } EXPORT_SYMBOL_GPL(starlet_ioctlv); + int starlet_ioctlv_polled(int fd, int request, + unsigned int nents_in, + struct scatterlist *sgl_in, + unsigned int nents_io, + struct scatterlist *sgl_io, + unsigned long usecs) + { + return _starlet_ioctlv(fd, request, + nents_in, sgl_in, nents_io, sgl_io, 1, usecs); + } + EXPORT_SYMBOL_GPL(starlet_ioctlv_polled); + /** * *************** *** 944,951 **** */ int starlet_ioctlv_and_reboot(int fd, int request, ! unsigned int nents_in, ! struct scatterlist *sgl_in, ! unsigned int nents_io, ! struct scatterlist *sgl_io) { struct starlet_ipc_device *ipc_dev = starlet_ipc_get_device(); --- 1057,1064 ---- */ int starlet_ioctlv_and_reboot(int fd, int request, ! unsigned int nents_in, ! struct scatterlist *sgl_in, ! unsigned int nents_io, ! struct scatterlist *sgl_io) { struct starlet_ipc_device *ipc_dev = starlet_ipc_get_device(); *************** *** 958,967 **** error = starlet_ioctlv_prepare(req, fd, request, ! nents_in, sgl_in, ! nents_io, sgl_io); if (!error) { ipc_dev->req = req; set_bit(__REBOOT, &ipc_dev->flags); ! error = starlet_ipc_call(req); } starlet_ipc_free_request(req); --- 1071,1080 ---- error = starlet_ioctlv_prepare(req, fd, request, ! nents_in, sgl_in, ! nents_io, sgl_io); if (!error) { ipc_dev->req = req; set_bit(__REBOOT, &ipc_dev->flags); ! error = starlet_ipc_call_polled(req, 10000000 /* usecs */); } starlet_ipc_free_request(req); |
From: Albert H. <he...@us...> - 2009-03-28 20:44:23
|
Update of /cvsroot/gc-linux/linux/drivers/block In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15781/drivers/block Modified Files: Makefile Log Message: ** Import git changes up to 2.6.29 merge ** commit 82670a7d050e5001f723a056e4827750c0f65dfc Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:57:29 2009 +0100 gamecube: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/gamecube_defconfig | 72 +++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 22 deletions(-) commit e28f75ea563c7c9e3fdec767ce029b4b1803172b Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:48:31 2009 +0100 wii: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/wii_defconfig | 167 ++++++++++++++++++++++++++++++------ 1 files changed, 140 insertions(+), 27 deletions(-) commit 51a7be2130487abc9f47dc201d55b8049b0e8fba Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 19:28:44 2009 +0100 wii: kexec: save/restore lowmem stub Add a save/restore mechanism to preserve the lowest 16KiB of memory and make them available again after a kexec reboot. This is useful to preserve the "resident" reloader stubs installed by the existing bootloaders. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/dts/wii.dts | 6 +++ arch/powerpc/boot/wii.c | 38 ++++++++++++++++++++++ arch/powerpc/platforms/embedded6xx/wii.c | 51 +++++++++++++++++++++++++++++- 3 files changed, 94 insertions(+), 1 deletions(-) commit 0dc2ea8a60ff7f96091393d999add383f3d15cbf Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 18:13:12 2009 +0100 kexec: add preserved region This patch allows kexec to copy back a previously preserved memory region to its original location at kexec time. For example, the preserved region can be saved during boot time to a safe area and then restored back during the final kexec phase. The caller is responsible to ensure that the destination memory area can be safely overwritten. The source memory area must be available during the kexec relocation stage. One immediate use is preserving the lowest 16KiB in the Nintendo GameCube and Wii video game consoles which are traditionally used to host reloader stubs. Signed-off-by: Albert Herranz <alb...@ya...> include/linux/kexec.h | 11 +++++++---- kernel/kexec.c | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) commit e163fdd92acdf7a903fce2a1e5249dd386ff712c Author: Albert Herranz <alb...@ya...> Date: Thu Mar 26 20:26:46 2009 +0100 wii: enhance bootwrapper entry The bootloaders used on the Nintendo Wii may load the kernel and transfer control to it in a variety of environments. This patch modifies the entry point of the bootwrapper to not make any particular assumption about the initial state of the MMU. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/wii.c | 98 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 84 insertions(+), 14 deletions(-) commit 8034bd01f7068191d0f1044e942b8067d4f046e1 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:14:18 2009 +0100 flipper-pic: add quiesce method Add a quiesce method to the "flipper" interrupt controller driver to inhibit all interrupt sources before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/flipper-pic.c | 24 +++++++++++++++++++-- arch/powerpc/platforms/embedded6xx/flipper-pic.h | 1 + arch/powerpc/platforms/embedded6xx/wii.c | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) commit c75c681771ab387ee53ca6cfaed9a432ee99f0d9 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:05:33 2009 +0100 exi: add quiesce method Add a quiesce method to the EXternal Interface (EXI) driver to calm down the EXI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/wii.c | 3 ++- drivers/exi/exi-driver.c | 10 ++++++++++ drivers/exi/exi-hw.c | 5 +++++ drivers/exi/exi-hw.h | 2 ++ include/linux/exi.h | 12 ++++++++++++ 5 files changed, 31 insertions(+), 1 deletions(-) commit f063156b4a5ff84206d0b79a5ae25d50262fc010 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:27:19 2009 +0100 gcn-si: add shutdown method Add a shutdown method to the Serial Interface (SI) driver to quiesce the SI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) commit afebd827733d7a76f323a59c8797b983d9e3655f Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 14:37:11 2009 +0100 gcn-vi: re-detect tv mode if cable type changes Force a video mode detection cycle when setting up a video mode if the cable type has changed (component vs non-component). Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) commit 584224e2479475edb51a399b419205f7e2368bc2 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:56:48 2009 +0100 gcn-vi: add shutdown method Add a shutdown method to the Video Interface (VI) driver to quiesce the VI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit a6e357287734b326ce05de38f8588fc4526d11a5 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:46:03 2009 +0100 gcn-vi: reset video hardware before initiating detection Issue a hardware reset of the Video Interface (VI) hardware before performing the TV video mode autodetection. This fixes graphics glitches (swapped colors, green-red artifacts) seen after an incomplete video initialization. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 2d13698e4014c461351658ee3a2c3f923f51cf3a Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 21:11:38 2009 +0100 wii: platform restart rework Use the new IOS reload helpers in the platform restart code and kexec path. A platform restart tries now to load The Homebrew Channel and falls back to a normal STM restart if the former fails. On the other hand, the kexec reboot path reloads IOS before the final kexec phase to ensure that the kexec'ed image will get IOS in a known clean state. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 2 + arch/powerpc/platforms/embedded6xx/wii.c | 36 ++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 7 deletions(-) commit e11bbe78fc0c212db0ff18553dbf7841e190f828 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:38:02 2009 +0100 wii: starlet/ios: add ios reload helpers Add helpers for reloading IOS and optionally launching titles from NAND. These helpers will be used later in the platform code to implement a clean "direct reboot to channel" method, which finally will allow rebooting to The Homebrew Channel. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 5 ++ arch/powerpc/platforms/embedded6xx/starlet-es.c | 86 +++++++++++++++++++++++ 2 files changed, 91 insertions(+), 0 deletions(-) commit e4d9d4e747632a6657f650c537e6e10a06f2747b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:25:42 2009 +0100 wii: starlet/ios: use polled ipc api on title launch This patch converts the title launch helper code to the new polled IPC call interface, and prepares it to be called from non-sleeping contexts. This change is required to implement later the new IOS reload helpers. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-es.c | 184 +++++++++++------------ 1 files changed, 89 insertions(+), 95 deletions(-) commit e09ea011b5c14e16b6498d7063abf54751901878 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:08:26 2009 +0100 wii: starlet/ios: use polled ipc api on platform restart This patch fixes some known restart failure scenarios by switching the platform restart code to the new polled IPC call interface. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-stm.c | 25 ++++++++++++++++----- 1 files changed, 19 insertions(+), 6 deletions(-) commit 644ec5f6c15bbdb275bd9b485f7a811d8eb67e2b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 19:57:08 2009 +0100 wii: starlet/ios: add polled ipc api Add a new set of functions enabling the use of IOS IPC calls from non-sleeping contexts or critical paths. The *_polled functions actively sample the status of their related IPC requests until they complete. Execution of this family of calls is serialized and use processor resources so they should be only used for very specific contexts where the other existing functions are not suitable. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 37 +++-- arch/powerpc/platforms/embedded6xx/starlet-ipc.c | 197 +++++++++++++++++----- 2 files changed, 179 insertions(+), 55 deletions(-) commit fc5f68b629dbe6706fbabedf15e340428b196d5e Author: Albert Herranz <alb...@ya...> Date: Tue Mar 10 18:14:20 2009 +0100 gcn-si: fix named module parameter declaration This patch fixes the following build error due to an incorrect module parameter declaration. drivers/input/si/gcn-si.c:130: error: expected ')' before 'int' make[2]: *** [drivers/input/si/gcn-si.o] Error 1 make[1]: *** [drivers/input/si] Error 2 make: *** [drivers] Error 2 Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/block/Makefile,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** Makefile 5 Mar 2009 19:57:31 -0000 1.23 --- Makefile 28 Mar 2009 20:44:19 -0000 1.24 *************** *** 10,13 **** --- 10,14 ---- obj-$(CONFIG_AMIGA_FLOPPY) += amiflop.o obj-$(CONFIG_PS3_DISK) += ps3disk.o + obj-$(CONFIG_PS3_VRAM) += ps3vram.o obj-$(CONFIG_ATARI_FLOPPY) += ataflop.o obj-$(CONFIG_AMIGA_Z2RAM) += z2ram.o |
From: Albert H. <he...@us...> - 2009-03-28 20:44:23
|
Update of /cvsroot/gc-linux/linux/include/linux In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15781/include/linux Modified Files: exi.h Log Message: ** Import git changes up to 2.6.29 merge ** commit 82670a7d050e5001f723a056e4827750c0f65dfc Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:57:29 2009 +0100 gamecube: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/gamecube_defconfig | 72 +++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 22 deletions(-) commit e28f75ea563c7c9e3fdec767ce029b4b1803172b Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:48:31 2009 +0100 wii: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/wii_defconfig | 167 ++++++++++++++++++++++++++++++------ 1 files changed, 140 insertions(+), 27 deletions(-) commit 51a7be2130487abc9f47dc201d55b8049b0e8fba Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 19:28:44 2009 +0100 wii: kexec: save/restore lowmem stub Add a save/restore mechanism to preserve the lowest 16KiB of memory and make them available again after a kexec reboot. This is useful to preserve the "resident" reloader stubs installed by the existing bootloaders. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/dts/wii.dts | 6 +++ arch/powerpc/boot/wii.c | 38 ++++++++++++++++++++++ arch/powerpc/platforms/embedded6xx/wii.c | 51 +++++++++++++++++++++++++++++- 3 files changed, 94 insertions(+), 1 deletions(-) commit 0dc2ea8a60ff7f96091393d999add383f3d15cbf Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 18:13:12 2009 +0100 kexec: add preserved region This patch allows kexec to copy back a previously preserved memory region to its original location at kexec time. For example, the preserved region can be saved during boot time to a safe area and then restored back during the final kexec phase. The caller is responsible to ensure that the destination memory area can be safely overwritten. The source memory area must be available during the kexec relocation stage. One immediate use is preserving the lowest 16KiB in the Nintendo GameCube and Wii video game consoles which are traditionally used to host reloader stubs. Signed-off-by: Albert Herranz <alb...@ya...> include/linux/kexec.h | 11 +++++++---- kernel/kexec.c | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) commit e163fdd92acdf7a903fce2a1e5249dd386ff712c Author: Albert Herranz <alb...@ya...> Date: Thu Mar 26 20:26:46 2009 +0100 wii: enhance bootwrapper entry The bootloaders used on the Nintendo Wii may load the kernel and transfer control to it in a variety of environments. This patch modifies the entry point of the bootwrapper to not make any particular assumption about the initial state of the MMU. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/wii.c | 98 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 84 insertions(+), 14 deletions(-) commit 8034bd01f7068191d0f1044e942b8067d4f046e1 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:14:18 2009 +0100 flipper-pic: add quiesce method Add a quiesce method to the "flipper" interrupt controller driver to inhibit all interrupt sources before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/flipper-pic.c | 24 +++++++++++++++++++-- arch/powerpc/platforms/embedded6xx/flipper-pic.h | 1 + arch/powerpc/platforms/embedded6xx/wii.c | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) commit c75c681771ab387ee53ca6cfaed9a432ee99f0d9 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:05:33 2009 +0100 exi: add quiesce method Add a quiesce method to the EXternal Interface (EXI) driver to calm down the EXI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/wii.c | 3 ++- drivers/exi/exi-driver.c | 10 ++++++++++ drivers/exi/exi-hw.c | 5 +++++ drivers/exi/exi-hw.h | 2 ++ include/linux/exi.h | 12 ++++++++++++ 5 files changed, 31 insertions(+), 1 deletions(-) commit f063156b4a5ff84206d0b79a5ae25d50262fc010 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:27:19 2009 +0100 gcn-si: add shutdown method Add a shutdown method to the Serial Interface (SI) driver to quiesce the SI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) commit afebd827733d7a76f323a59c8797b983d9e3655f Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 14:37:11 2009 +0100 gcn-vi: re-detect tv mode if cable type changes Force a video mode detection cycle when setting up a video mode if the cable type has changed (component vs non-component). Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) commit 584224e2479475edb51a399b419205f7e2368bc2 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:56:48 2009 +0100 gcn-vi: add shutdown method Add a shutdown method to the Video Interface (VI) driver to quiesce the VI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit a6e357287734b326ce05de38f8588fc4526d11a5 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:46:03 2009 +0100 gcn-vi: reset video hardware before initiating detection Issue a hardware reset of the Video Interface (VI) hardware before performing the TV video mode autodetection. This fixes graphics glitches (swapped colors, green-red artifacts) seen after an incomplete video initialization. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 2d13698e4014c461351658ee3a2c3f923f51cf3a Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 21:11:38 2009 +0100 wii: platform restart rework Use the new IOS reload helpers in the platform restart code and kexec path. A platform restart tries now to load The Homebrew Channel and falls back to a normal STM restart if the former fails. On the other hand, the kexec reboot path reloads IOS before the final kexec phase to ensure that the kexec'ed image will get IOS in a known clean state. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 2 + arch/powerpc/platforms/embedded6xx/wii.c | 36 ++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 7 deletions(-) commit e11bbe78fc0c212db0ff18553dbf7841e190f828 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:38:02 2009 +0100 wii: starlet/ios: add ios reload helpers Add helpers for reloading IOS and optionally launching titles from NAND. These helpers will be used later in the platform code to implement a clean "direct reboot to channel" method, which finally will allow rebooting to The Homebrew Channel. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 5 ++ arch/powerpc/platforms/embedded6xx/starlet-es.c | 86 +++++++++++++++++++++++ 2 files changed, 91 insertions(+), 0 deletions(-) commit e4d9d4e747632a6657f650c537e6e10a06f2747b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:25:42 2009 +0100 wii: starlet/ios: use polled ipc api on title launch This patch converts the title launch helper code to the new polled IPC call interface, and prepares it to be called from non-sleeping contexts. This change is required to implement later the new IOS reload helpers. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-es.c | 184 +++++++++++------------ 1 files changed, 89 insertions(+), 95 deletions(-) commit e09ea011b5c14e16b6498d7063abf54751901878 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:08:26 2009 +0100 wii: starlet/ios: use polled ipc api on platform restart This patch fixes some known restart failure scenarios by switching the platform restart code to the new polled IPC call interface. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-stm.c | 25 ++++++++++++++++----- 1 files changed, 19 insertions(+), 6 deletions(-) commit 644ec5f6c15bbdb275bd9b485f7a811d8eb67e2b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 19:57:08 2009 +0100 wii: starlet/ios: add polled ipc api Add a new set of functions enabling the use of IOS IPC calls from non-sleeping contexts or critical paths. The *_polled functions actively sample the status of their related IPC requests until they complete. Execution of this family of calls is serialized and use processor resources so they should be only used for very specific contexts where the other existing functions are not suitable. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 37 +++-- arch/powerpc/platforms/embedded6xx/starlet-ipc.c | 197 +++++++++++++++++----- 2 files changed, 179 insertions(+), 55 deletions(-) commit fc5f68b629dbe6706fbabedf15e340428b196d5e Author: Albert Herranz <alb...@ya...> Date: Tue Mar 10 18:14:20 2009 +0100 gcn-si: fix named module parameter declaration This patch fixes the following build error due to an incorrect module parameter declaration. drivers/input/si/gcn-si.c:130: error: expected ')' before 'int' make[2]: *** [drivers/input/si/gcn-si.o] Error 1 make[1]: *** [drivers/input/si] Error 2 make: *** [drivers] Error 2 Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: exi.h =================================================================== RCS file: /cvsroot/gc-linux/linux/include/linux/exi.h,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** exi.h 1 Feb 2009 18:29:35 -0000 1.17 --- exi.h 28 Mar 2009 20:44:19 -0000 1.18 *************** *** 18,21 **** --- 18,23 ---- #define __EXI_H + #ifdef CONFIG_GAMECUBE_EXI + #include <linux/device.h> #include <linux/io.h> *************** *** 113,116 **** --- 115,120 ---- extern u32 exi_get_id(struct exi_device *exi_device); + extern void exi_quiesce(void); + /* * EXpansion Interface channels. *************** *** 328,331 **** --- 332,343 ---- } + #else + + static inline void exi_quiesce(void) + { + } + + #endif /* CONFIG_GAMECUBE_EXI */ + #endif /* __EXI_H */ |
From: Albert H. <he...@us...> - 2009-03-28 20:44:23
|
Update of /cvsroot/gc-linux/linux/drivers/net In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15781/drivers/net Modified Files: Kconfig Makefile Log Message: ** Import git changes up to 2.6.29 merge ** commit 82670a7d050e5001f723a056e4827750c0f65dfc Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:57:29 2009 +0100 gamecube: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/gamecube_defconfig | 72 +++++++++++++++++++++--------- 1 files changed, 50 insertions(+), 22 deletions(-) commit e28f75ea563c7c9e3fdec767ce029b4b1803172b Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 19:48:31 2009 +0100 wii: update defconfig Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/configs/wii_defconfig | 167 ++++++++++++++++++++++++++++++------ 1 files changed, 140 insertions(+), 27 deletions(-) commit 51a7be2130487abc9f47dc201d55b8049b0e8fba Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 19:28:44 2009 +0100 wii: kexec: save/restore lowmem stub Add a save/restore mechanism to preserve the lowest 16KiB of memory and make them available again after a kexec reboot. This is useful to preserve the "resident" reloader stubs installed by the existing bootloaders. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/dts/wii.dts | 6 +++ arch/powerpc/boot/wii.c | 38 ++++++++++++++++++++++ arch/powerpc/platforms/embedded6xx/wii.c | 51 +++++++++++++++++++++++++++++- 3 files changed, 94 insertions(+), 1 deletions(-) commit 0dc2ea8a60ff7f96091393d999add383f3d15cbf Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 18:13:12 2009 +0100 kexec: add preserved region This patch allows kexec to copy back a previously preserved memory region to its original location at kexec time. For example, the preserved region can be saved during boot time to a safe area and then restored back during the final kexec phase. The caller is responsible to ensure that the destination memory area can be safely overwritten. The source memory area must be available during the kexec relocation stage. One immediate use is preserving the lowest 16KiB in the Nintendo GameCube and Wii video game consoles which are traditionally used to host reloader stubs. Signed-off-by: Albert Herranz <alb...@ya...> include/linux/kexec.h | 11 +++++++---- kernel/kexec.c | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) commit e163fdd92acdf7a903fce2a1e5249dd386ff712c Author: Albert Herranz <alb...@ya...> Date: Thu Mar 26 20:26:46 2009 +0100 wii: enhance bootwrapper entry The bootloaders used on the Nintendo Wii may load the kernel and transfer control to it in a variety of environments. This patch modifies the entry point of the bootwrapper to not make any particular assumption about the initial state of the MMU. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/boot/wii.c | 98 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 84 insertions(+), 14 deletions(-) commit 8034bd01f7068191d0f1044e942b8067d4f046e1 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:14:18 2009 +0100 flipper-pic: add quiesce method Add a quiesce method to the "flipper" interrupt controller driver to inhibit all interrupt sources before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/flipper-pic.c | 24 +++++++++++++++++++-- arch/powerpc/platforms/embedded6xx/flipper-pic.h | 1 + arch/powerpc/platforms/embedded6xx/wii.c | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) commit c75c681771ab387ee53ca6cfaed9a432ee99f0d9 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:05:33 2009 +0100 exi: add quiesce method Add a quiesce method to the EXternal Interface (EXI) driver to calm down the EXI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/wii.c | 3 ++- drivers/exi/exi-driver.c | 10 ++++++++++ drivers/exi/exi-hw.c | 5 +++++ drivers/exi/exi-hw.h | 2 ++ include/linux/exi.h | 12 ++++++++++++ 5 files changed, 31 insertions(+), 1 deletions(-) commit f063156b4a5ff84206d0b79a5ae25d50262fc010 Author: Albert Herranz <alb...@ya...> Date: Wed Mar 25 00:27:19 2009 +0100 gcn-si: add shutdown method Add a shutdown method to the Serial Interface (SI) driver to quiesce the SI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) commit afebd827733d7a76f323a59c8797b983d9e3655f Author: Albert Herranz <alb...@ya...> Date: Sat Mar 28 14:37:11 2009 +0100 gcn-vi: re-detect tv mode if cable type changes Force a video mode detection cycle when setting up a video mode if the cable type has changed (component vs non-component). Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) commit 584224e2479475edb51a399b419205f7e2368bc2 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:56:48 2009 +0100 gcn-vi: add shutdown method Add a shutdown method to the Video Interface (VI) driver to quiesce the VI hardware before a restart or kexec. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit a6e357287734b326ce05de38f8588fc4526d11a5 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 23:46:03 2009 +0100 gcn-vi: reset video hardware before initiating detection Issue a hardware reset of the Video Interface (VI) hardware before performing the TV video mode autodetection. This fixes graphics glitches (swapped colors, green-red artifacts) seen after an incomplete video initialization. Signed-off-by: Albert Herranz <alb...@ya...> drivers/video/gcnfb.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 2d13698e4014c461351658ee3a2c3f923f51cf3a Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 21:11:38 2009 +0100 wii: platform restart rework Use the new IOS reload helpers in the platform restart code and kexec path. A platform restart tries now to load The Homebrew Channel and falls back to a normal STM restart if the former fails. On the other hand, the kexec reboot path reloads IOS before the final kexec phase to ensure that the kexec'ed image will get IOS in a known clean state. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 2 + arch/powerpc/platforms/embedded6xx/wii.c | 36 ++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 7 deletions(-) commit e11bbe78fc0c212db0ff18553dbf7841e190f828 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:38:02 2009 +0100 wii: starlet/ios: add ios reload helpers Add helpers for reloading IOS and optionally launching titles from NAND. These helpers will be used later in the platform code to implement a clean "direct reboot to channel" method, which finally will allow rebooting to The Homebrew Channel. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 5 ++ arch/powerpc/platforms/embedded6xx/starlet-es.c | 86 +++++++++++++++++++++++ 2 files changed, 91 insertions(+), 0 deletions(-) commit e4d9d4e747632a6657f650c537e6e10a06f2747b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:25:42 2009 +0100 wii: starlet/ios: use polled ipc api on title launch This patch converts the title launch helper code to the new polled IPC call interface, and prepares it to be called from non-sleeping contexts. This change is required to implement later the new IOS reload helpers. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-es.c | 184 +++++++++++------------ 1 files changed, 89 insertions(+), 95 deletions(-) commit e09ea011b5c14e16b6498d7063abf54751901878 Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 20:08:26 2009 +0100 wii: starlet/ios: use polled ipc api on platform restart This patch fixes some known restart failure scenarios by switching the platform restart code to the new polled IPC call interface. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/platforms/embedded6xx/starlet-stm.c | 25 ++++++++++++++++----- 1 files changed, 19 insertions(+), 6 deletions(-) commit 644ec5f6c15bbdb275bd9b485f7a811d8eb67e2b Author: Albert Herranz <alb...@ya...> Date: Tue Mar 24 19:57:08 2009 +0100 wii: starlet/ios: add polled ipc api Add a new set of functions enabling the use of IOS IPC calls from non-sleeping contexts or critical paths. The *_polled functions actively sample the status of their related IPC requests until they complete. Execution of this family of calls is serialized and use processor resources so they should be only used for very specific contexts where the other existing functions are not suitable. Signed-off-by: Albert Herranz <alb...@ya...> arch/powerpc/include/asm/starlet.h | 37 +++-- arch/powerpc/platforms/embedded6xx/starlet-ipc.c | 197 +++++++++++++++++----- 2 files changed, 179 insertions(+), 55 deletions(-) commit fc5f68b629dbe6706fbabedf15e340428b196d5e Author: Albert Herranz <alb...@ya...> Date: Tue Mar 10 18:14:20 2009 +0100 gcn-si: fix named module parameter declaration This patch fixes the following build error due to an incorrect module parameter declaration. drivers/input/si/gcn-si.c:130: error: expected ')' before 'int' make[2]: *** [drivers/input/si/gcn-si.o] Error 1 make[1]: *** [drivers/input/si] Error 2 make: *** [drivers] Error 2 Signed-off-by: Albert Herranz <alb...@ya...> drivers/input/si/gcn-si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/net/Makefile,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** Makefile 5 Mar 2009 19:58:46 -0000 1.31 --- Makefile 28 Mar 2009 20:44:19 -0000 1.32 *************** *** 23,26 **** --- 23,27 ---- obj-$(CONFIG_ENIC) += enic/ obj-$(CONFIG_JME) += jme.o + obj-$(CONFIG_BE2NET) += benet/ gianfar_driver-objs := gianfar.o \ *************** *** 233,236 **** --- 234,238 ---- obj-$(CONFIG_XTENSA_XT2000_SONIC) += xtsonic.o + obj-$(CONFIG_DNET) += dnet.o obj-$(CONFIG_MACB) += macb.o Index: Kconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/net/Kconfig,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** Kconfig 5 Mar 2009 19:58:46 -0000 1.37 --- Kconfig 28 Mar 2009 20:44:19 -0000 1.38 *************** *** 1050,1053 **** --- 1050,1064 ---- will be called ni65. + config DNET + tristate "Dave ethernet support (DNET)" + depends on NET_ETHERNET && HAS_IOMEM + select PHYLIB + help + The Dave ethernet interface (DNET) is found on Qong Board FPGA. + Say Y to include support for the DNET chip. + + To compile this driver as a module, choose M here: the module + will be called dnet. + source "drivers/net/tulip/Kconfig" *************** *** 2629,2632 **** --- 2640,2645 ---- source "drivers/net/sfc/Kconfig" + source "drivers/net/benet/Kconfig" + endif # NETDEV_10000 |
From: Albert H. <he...@us...> - 2009-03-05 20:00:20
|
Update of /cvsroot/gc-linux/linux/fs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv10543/fs Modified Files: Makefile Log Message: Merge 2.6.29-rc7. Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/fs/Makefile,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Makefile 2 Mar 2009 19:26:37 -0000 1.13 --- Makefile 5 Mar 2009 19:58:47 -0000 1.14 *************** *** 70,77 **** obj-$(CONFIG_REISERFS_FS) += reiserfs/ obj-$(CONFIG_EXT3_FS) += ext3/ # Before ext2 so root fs can be ext3 ! obj-$(CONFIG_EXT4_FS) += ext4/ # Before ext2 so root fs can be ext4 obj-$(CONFIG_JBD) += jbd/ obj-$(CONFIG_JBD2) += jbd2/ - obj-$(CONFIG_EXT2_FS) += ext2/ obj-$(CONFIG_CRAMFS) += cramfs/ obj-$(CONFIG_SQUASHFS) += squashfs/ --- 70,79 ---- obj-$(CONFIG_REISERFS_FS) += reiserfs/ obj-$(CONFIG_EXT3_FS) += ext3/ # Before ext2 so root fs can be ext3 ! obj-$(CONFIG_EXT2_FS) += ext2/ ! # We place ext4 after ext2 so plain ext2 root fs's are mounted using ext2 ! # unless explicitly requested by rootfstype ! obj-$(CONFIG_EXT4_FS) += ext4/ obj-$(CONFIG_JBD) += jbd/ obj-$(CONFIG_JBD2) += jbd2/ obj-$(CONFIG_CRAMFS) += cramfs/ obj-$(CONFIG_SQUASHFS) += squashfs/ |
From: Albert H. <he...@us...> - 2009-03-05 19:58:50
|
Update of /cvsroot/gc-linux/linux/drivers/net/usb In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv10543/drivers/net/usb Modified Files: usbnet.c Log Message: Merge 2.6.29-rc7. Index: usbnet.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/net/usb/usbnet.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** usbnet.c 2 Mar 2009 18:08:43 -0000 1.2 --- usbnet.c 5 Mar 2009 19:58:46 -0000 1.3 *************** *** 726,731 **** return mii_link_ok(&dev->mii); ! /* Otherwise, say we're up (to avoid breaking scripts) */ ! return 1; } EXPORT_SYMBOL_GPL(usbnet_get_link); --- 726,731 ---- return mii_link_ok(&dev->mii); ! /* Otherwise, dtrt for drivers calling netif_carrier_{on,off} */ ! return ethtool_op_get_link(net); } EXPORT_SYMBOL_GPL(usbnet_get_link); |
From: Albert H. <he...@us...> - 2009-03-05 19:58:50
|
Update of /cvsroot/gc-linux/linux/drivers/net In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv10543/drivers/net Modified Files: Kconfig Makefile Log Message: Merge 2.6.29-rc7. Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/net/Makefile,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** Makefile 2 Mar 2009 19:26:37 -0000 1.30 --- Makefile 5 Mar 2009 19:58:46 -0000 1.31 *************** *** 18,21 **** --- 18,22 ---- obj-$(CONFIG_ATL2) += atlx/ obj-$(CONFIG_ATL1E) += atl1e/ + obj-$(CONFIG_ATL1C) += atl1c/ obj-$(CONFIG_GIANFAR) += gianfar_driver.o obj-$(CONFIG_TEHUTI) += tehuti.o Index: Kconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/net/Kconfig,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** Kconfig 2 Mar 2009 19:26:37 -0000 1.36 --- Kconfig 5 Mar 2009 19:58:46 -0000 1.37 *************** *** 2352,2355 **** --- 2352,2366 ---- will be called atl1e. + config ATL1C + tristate "Atheros L1C Gigabit Ethernet support (EXPERIMENTAL)" + depends on PCI && EXPERIMENTAL + select CRC32 + select MII + help + This driver supports the Atheros L1C gigabit ethernet adapter. + + To compile this driver as a module, choose M here. The module + will be called atl1c. + config JME tristate "JMicron(R) PCI-Express Gigabit Ethernet support" |
From: Albert H. <he...@us...> - 2009-03-05 19:57:41
|
Update of /cvsroot/gc-linux/linux/drivers/block In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8257/drivers/block Modified Files: Kconfig Makefile Log Message: Remove our marked-as-broken block drivers from Kbuild. The actual source code is left as is. Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/block/Makefile,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** Makefile 1 Feb 2009 18:29:35 -0000 1.22 --- Makefile 5 Mar 2009 19:57:31 -0000 1.23 *************** *** 15,20 **** obj-$(CONFIG_GAMECUBE_ARAM) += gcn-aram.o obj-$(CONFIG_GAMECUBE_DI) += gcn-di/ - obj-$(CONFIG_GAMECUBE_DVD) += gcn-dvd/ - obj-$(CONFIG_GAMECUBE_MEMCARD) += gcn-memcard.o obj-$(CONFIG_WII_MEM2) += rvl-mem2.o obj-$(CONFIG_WII_SD) += rvl-stsd.o --- 15,18 ---- Index: Kconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/block/Kconfig,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** Kconfig 1 Feb 2009 18:29:35 -0000 1.35 --- Kconfig 5 Mar 2009 19:57:30 -0000 1.36 *************** *** 95,120 **** module will be called gcn-di. - config GAMECUBE_DVD - tristate "Nintendo Gamecube DVD" - depends on GAMECUBE && !GAMECUBE_DI && BROKEN - help - This enables support for using the mini-DVD drive on the - Nintendo Gamecube. - Say Y if you want to include this driver in the kernel. - - To compile this driver as a module, choose M here: the - module will be called gcn-dvd - - config GAMECUBE_MEMCARD - tristate "Nintendo GameCube/Wii memory card (EXPERIMENTAL)" - depends on GAMECUBE_EXI && EXPERIMENTAL && BROKEN - help - This enables support for using memory cards compatible with the - Nintendo GameCube. - Say Y if you want to include this driver in the kernel. - - To compile this driver as a module, choose M here: the - module will be called gcn-memcard. - config WII_MEM2 tristate "Nintendo Wii MEM2" --- 95,98 ---- |
From: Albert H. <he...@us...> - 2009-03-02 19:26:51
|
Update of /cvsroot/gc-linux/linux/drivers/net In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6933/drivers/net Modified Files: Kconfig Makefile Log Message: Merge v2.6.29-rc6. NOTE: Some of the Kconfig options and Makefile entries for the drivers marked as "broken" will disappear with this commit. Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/net/Makefile,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** Makefile 1 Feb 2009 18:29:35 -0000 1.29 --- Makefile 2 Mar 2009 19:26:37 -0000 1.30 *************** *** 54,61 **** obj-$(CONFIG_NE2K_PCI) += ne2k-pci.o 8390.o obj-$(CONFIG_PCNET32) += pcnet32.o - obj-$(CONFIG_EEPRO100) += eepro100.o obj-$(CONFIG_E100) += e100.o obj-$(CONFIG_TLAN) += tlan.o obj-$(CONFIG_EPIC100) += epic100.o obj-$(CONFIG_SIS190) += sis190.o obj-$(CONFIG_SIS900) += sis900.o --- 54,61 ---- obj-$(CONFIG_NE2K_PCI) += ne2k-pci.o 8390.o obj-$(CONFIG_PCNET32) += pcnet32.o obj-$(CONFIG_E100) += e100.o obj-$(CONFIG_TLAN) += tlan.o obj-$(CONFIG_EPIC100) += epic100.o + obj-$(CONFIG_SMSC9420) += smsc9420.o obj-$(CONFIG_SIS190) += sis190.o obj-$(CONFIG_SIS900) += sis900.o *************** *** 99,103 **** obj-$(CONFIG_SEEQ8005) += seeq8005.o obj-$(CONFIG_NET_SB1000) += sb1000.o ! obj-$(CONFIG_MAC8390) += mac8390.o obj-$(CONFIG_APNE) += apne.o 8390.o obj-$(CONFIG_PCMCIA_PCNET) += 8390.o --- 99,103 ---- obj-$(CONFIG_SEEQ8005) += seeq8005.o obj-$(CONFIG_NET_SB1000) += sb1000.o ! obj-$(CONFIG_MAC8390) += mac8390.o 8390.o obj-$(CONFIG_APNE) += apne.o 8390.o obj-$(CONFIG_PCMCIA_PCNET) += 8390.o *************** *** 126,130 **** obj-$(CONFIG_B44) += b44.o obj-$(CONFIG_FORCEDETH) += forcedeth.o ! obj-$(CONFIG_NE_H8300) += ne-h8300.o obj-$(CONFIG_AX88796) += ax88796.o --- 126,130 ---- obj-$(CONFIG_B44) += b44.o obj-$(CONFIG_FORCEDETH) += forcedeth.o ! obj-$(CONFIG_NE_H8300) += ne-h8300.o 8390.o obj-$(CONFIG_AX88796) += ax88796.o *************** *** 192,196 **** obj-$(CONFIG_ETH16I) += eth16i.o ! obj-$(CONFIG_ZORRO8390) += zorro8390.o obj-$(CONFIG_HPLANCE) += hplance.o 7990.o obj-$(CONFIG_MVME147_NET) += mvme147.o 7990.o --- 192,196 ---- obj-$(CONFIG_ETH16I) += eth16i.o ! obj-$(CONFIG_ZORRO8390) += zorro8390.o 8390.o obj-$(CONFIG_HPLANCE) += hplance.o 7990.o obj-$(CONFIG_MVME147_NET) += mvme147.o 7990.o *************** *** 204,208 **** obj-$(CONFIG_ATARILANCE) += atarilance.o obj-$(CONFIG_A2065) += a2065.o ! obj-$(CONFIG_HYDRA) += hydra.o obj-$(CONFIG_ARIADNE) += ariadne.o obj-$(CONFIG_CS89x0) += cs89x0.o --- 204,208 ---- obj-$(CONFIG_ATARILANCE) += atarilance.o obj-$(CONFIG_A2065) += a2065.o ! obj-$(CONFIG_HYDRA) += hydra.o 8390.o obj-$(CONFIG_ARIADNE) += ariadne.o obj-$(CONFIG_CS89x0) += cs89x0.o *************** *** 221,224 **** --- 221,225 ---- obj-$(CONFIG_SMC91X) += smc91x.o obj-$(CONFIG_SMC911X) += smc911x.o + obj-$(CONFIG_SMSC911X) += smsc911x.o obj-$(CONFIG_BFIN_MAC) += bfin_mac.o obj-$(CONFIG_DM9000) += dm9000.o *************** *** 264,265 **** --- 265,267 ---- obj-$(CONFIG_SFC) += sfc/ + obj-$(CONFIG_WIMAX) += wimax/ Index: Kconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/net/Kconfig,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** Kconfig 1 Feb 2009 18:29:35 -0000 1.35 --- Kconfig 2 Mar 2009 19:26:37 -0000 1.36 *************** *** 62,65 **** --- 62,66 ---- tristate "Bonding driver support" depends on INET + depends on IPV6 || IPV6=n ---help--- Say 'Y' or 'M' if you wish to be able to 'bond' multiple Ethernet *************** *** 839,843 **** config BFIN_MAC tristate "Blackfin on-chip MAC support" ! depends on NET_ETHERNET && (BF526 || BF527 || BF536 || BF537) select CRC32 select MII --- 840,844 ---- config BFIN_MAC tristate "Blackfin on-chip MAC support" ! depends on NET_ETHERNET && (BF516 || BF518 || BF526 || BF527 || BF536 || BF537) select CRC32 select MII *************** *** 988,991 **** --- 989,1006 ---- here and read <file:Documentation/kbuild/modules.txt> + config SMSC911X + tristate "SMSC LAN911x/LAN921x families embedded ethernet support" + depends on ARM || SUPERH + select CRC32 + select MII + select PHYLIB + ---help--- + Say Y here if you want support for SMSC LAN911x and LAN921x families + of ethernet controllers. + + To compile this driver as a module, choose M here and read + <file:Documentation/networking/net-modules.txt>. The module + will be called smsc911x. + config NET_VENDOR_RACAL bool "Racal-Interlan (Micom) NI cards" *************** *** 1424,1440 **** select PHYLIB - config EEPRO100 - tristate "EtherExpressPro/100 support (eepro100, original Becker driver)" - depends on NET_PCI && PCI - select MII - help - If you have an Intel EtherExpress PRO/100 PCI network (Ethernet) - card, say Y and read the Ethernet-HOWTO, available from - <http://www.tldp.org/docs.html#howto>. - - To compile this driver as a module, choose M here. The module - will be called eepro100. - - config E100 tristate "Intel(R) PRO/100+ support" --- 1439,1442 ---- *************** *** 1608,1612 **** config R6040 ! tristate "RDC R6040 Fast Ethernet Adapter support (EXPERIMENTAL)" depends on NET_PCI && PCI select CRC32 --- 1610,1614 ---- config R6040 ! tristate "RDC R6040 Fast Ethernet Adapter support" depends on NET_PCI && PCI select CRC32 *************** *** 1646,1649 **** --- 1648,1667 ---- <http://www.scyld.com/network/epic100.html>. + config SMSC9420 + tristate "SMSC LAN9420 PCI ethernet adapter support" + depends on NET_PCI && PCI + select CRC32 + select PHYLIB + select SMSC_PHY + help + This is a driver for SMSC's LAN9420 PCI ethernet adapter. + Say Y if you want it compiled into the kernel, + and read the Ethernet-HOWTO, available from + <http://www.linuxdoc.org/docs.html#howto>. + + This driver is also available as a module. The module will be + called smsc9420. If you want to compile it as a module, say M + here and read <file:Documentation/kbuild/modules.txt> + config SUNDANCE tristate "Sundance Alta support" *************** *** 1821,1825 **** config FEC bool "FEC ethernet controller (of ColdFire CPUs)" ! depends on M523x || M527x || M5272 || M528x || M520x help Say Y here if you want to use the built-in 10/100 Fast ethernet --- 1839,1843 ---- config FEC bool "FEC ethernet controller (of ColdFire CPUs)" ! depends on M523x || M527x || M5272 || M528x || M520x || M532x help Say Y here if you want to use the built-in 10/100 Fast ethernet *************** *** 1991,1998 **** config IGB ! tristate "Intel(R) 82575 PCI-Express Gigabit Ethernet support" depends on PCI ---help--- ! This driver supports Intel(R) 82575 gigabit ethernet family of adapters. For more information on how to identify your adapter, go to the Adapter & Driver ID Guide at: --- 2009,2016 ---- config IGB ! tristate "Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support" depends on PCI ---help--- ! This driver supports Intel(R) 82575/82576 gigabit ethernet family of adapters. For more information on how to identify your adapter, go to the Adapter & Driver ID Guide at: *************** *** 2286,2293 **** depends on UCC_GETH - config UGETH_FILTERING - bool "Mac address filtering support" - depends on UCC_GETH - config UGETH_TX_ON_DEMAND bool "Transmit on Demand support" --- 2304,2307 ---- *************** *** 2395,2401 **** are using only 10G cards say 'N' here. config CHELSIO_T3 tristate "Chelsio Communications T3 10Gb Ethernet support" ! depends on PCI && INET select FW_LOADER select INET_LRO --- 2409,2420 ---- are using only 10G cards say 'N' here. + config CHELSIO_T3_DEPENDS + tristate + depends on PCI && INET + default y + config CHELSIO_T3 tristate "Chelsio Communications T3 10Gb Ethernet support" ! depends on CHELSIO_T3_DEPENDS select FW_LOADER select INET_LRO *************** *** 2460,2463 **** --- 2479,2492 ---- is used, with the intent of lessening the impact of cache misses. + config IXGBE_DCB + bool "Data Center Bridging (DCB) Support" + default n + depends on IXGBE && DCB + ---help--- + Say Y here if you want to use Data Center Bridging (DCB) in the + driver. + + If unsure, say N. + config IXGB tristate "Intel(R) PRO/10GbE support" *************** *** 2595,2598 **** --- 2624,2629 ---- source "drivers/net/wireless/Kconfig" + source "drivers/net/wimax/Kconfig" + source "drivers/net/usb/Kconfig" *************** *** 2636,2640 **** config FDDI ! bool "FDDI driver support" depends on (PCI || EISA || TC) help --- 2667,2671 ---- config FDDI ! tristate "FDDI driver support" depends on (PCI || EISA || TC) help |
From: Albert H. <he...@us...> - 2009-03-02 19:26:48
|
Update of /cvsroot/gc-linux/linux/drivers/input/keyboard In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6933/drivers/input/keyboard Modified Files: Kconfig Makefile Log Message: Merge v2.6.29-rc6. NOTE: Some of the Kconfig options and Makefile entries for the drivers marked as "broken" will disappear with this commit. Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/input/keyboard/Makefile,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Makefile 14 Sep 2008 19:20:28 -0000 1.6 --- Makefile 2 Mar 2009 19:26:37 -0000 1.7 *************** *** 21,24 **** --- 21,25 ---- obj-$(CONFIG_KEYBOARD_OMAP) += omap-keypad.o obj-$(CONFIG_KEYBOARD_PXA27x) += pxa27x_keypad.o + obj-$(CONFIG_KEYBOARD_PXA930_ROTARY) += pxa930_rotary.o obj-$(CONFIG_KEYBOARD_AAED2000) += aaed2000_kbd.o obj-$(CONFIG_KEYBOARD_GPIO) += gpio_keys.o Index: Kconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/input/keyboard/Kconfig,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Kconfig 1 Feb 2009 18:29:35 -0000 1.9 --- Kconfig 2 Mar 2009 19:26:37 -0000 1.10 *************** *** 269,272 **** --- 269,281 ---- module will be called pxa27x_keypad. + config KEYBOARD_PXA930_ROTARY + tristate "PXA930/PXA935 Enhanced Rotary Controller Support" + depends on CPU_PXA930 || CPU_PXA935 + help + Enable support for PXA930/PXA935 Enhanced Rotary Controller. + + To compile this driver as a module, choose M here: the + module will be called pxa930_rotary. + config KEYBOARD_AAED2000 tristate "AAED-2000 keyboard" |
From: Albert H. <he...@us...> - 2009-03-02 19:26:47
|
Update of /cvsroot/gc-linux/linux/drivers/rtc In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6933/drivers/rtc Modified Files: Kconfig Makefile Log Message: Merge v2.6.29-rc6. NOTE: Some of the Kconfig options and Makefile entries for the drivers marked as "broken" will disappear with this commit. Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/rtc/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Makefile 1 Feb 2009 18:29:35 -0000 1.5 --- Makefile 2 Mar 2009 19:26:37 -0000 1.6 *************** *** 21,26 **** --- 21,28 ---- obj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o obj-$(CONFIG_RTC_DRV_AT91SAM9) += rtc-at91sam9.o + obj-$(CONFIG_RTC_DRV_AU1XXX) += rtc-au1xxx.o obj-$(CONFIG_RTC_DRV_BFIN) += rtc-bfin.o obj-$(CONFIG_RTC_DRV_CMOS) += rtc-cmos.o + obj-$(CONFIG_RTC_DRV_DM355EVM) += rtc-dm355evm.o obj-$(CONFIG_RTC_DRV_DS1216) += rtc-ds1216.o obj-$(CONFIG_RTC_DRV_DS1286) += rtc-ds1286.o *************** *** 49,52 **** --- 51,55 ---- obj-$(CONFIG_RTC_DRV_MAX6900) += rtc-max6900.o obj-$(CONFIG_RTC_DRV_MAX6902) += rtc-max6902.o + obj-$(CONFIG_RTC_DRV_MV) += rtc-mv.o obj-$(CONFIG_RTC_DRV_OMAP) += rtc-omap.o obj-$(CONFIG_RTC_DRV_PCF8563) += rtc-pcf8563.o *************** *** 56,59 **** --- 59,63 ---- obj-$(CONFIG_RTC_DRV_PARISC) += rtc-parisc.o obj-$(CONFIG_RTC_DRV_PPC) += rtc-ppc.o + obj-$(CONFIG_RTC_DRV_PXA) += rtc-pxa.o obj-$(CONFIG_RTC_DRV_R9701) += rtc-r9701.o obj-$(CONFIG_RTC_DRV_RS5C313) += rtc-rs5c313.o *************** *** 68,73 **** --- 72,79 ---- obj-$(CONFIG_RTC_DRV_TEST) += rtc-test.o obj-$(CONFIG_RTC_DRV_TWL4030) += rtc-twl4030.o + obj-$(CONFIG_RTC_DRV_TX4939) += rtc-tx4939.o obj-$(CONFIG_RTC_DRV_V3020) += rtc-v3020.o obj-$(CONFIG_RTC_DRV_VR41XX) += rtc-vr41xx.o obj-$(CONFIG_RTC_DRV_WM8350) += rtc-wm8350.o obj-$(CONFIG_RTC_DRV_X1205) += rtc-x1205.o + obj-$(CONFIG_RTC_DRV_PCF50633) += rtc-pcf50633.o Index: Kconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/rtc/Kconfig,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Kconfig 1 Feb 2009 18:29:35 -0000 1.5 --- Kconfig 2 Mar 2009 19:26:37 -0000 1.6 *************** *** 36,41 **** help The RTC device that will be used to (re)initialize the system ! clock, usually rtc0. Initialization is done when the system ! starts up, and when it resumes from a low power state. This device should record time in UTC, since the kernel won't do timezone correction. --- 36,41 ---- help The RTC device that will be used to (re)initialize the system ! clock, usually rtc0. Initialization is done when the system ! starts up, and when it resumes from a low power state. This device should record time in UTC, since the kernel won't do timezone correction. *************** *** 45,49 **** This clock should be battery-backed, so that it reads the correct ! time when the system boots from a power-off state. Otherwise, your system will need an external clock source (like an NTP server). --- 45,49 ---- This clock should be battery-backed, so that it reads the correct ! time when the system boots from a power-off state. Otherwise, your system will need an external clock source (like an NTP server). *************** *** 70,75 **** /sys/class/rtc/rtc0 through /sys/.../rtcN. ! This driver can also be built as a module. If so, the module ! will be called rtc-sysfs. config RTC_INTF_PROC --- 70,74 ---- /sys/class/rtc/rtc0 through /sys/.../rtcN. ! If unsure, say Y. config RTC_INTF_PROC *************** *** 79,87 **** help Say yes here if you want to use your first RTC through the proc ! interface, /proc/driver/rtc. Other RTCs will not be available through that API. ! This driver can also be built as a module. If so, the module ! will be called rtc-proc. config RTC_INTF_DEV --- 78,85 ---- help Say yes here if you want to use your first RTC through the proc ! interface, /proc/driver/rtc. Other RTCs will not be available through that API. ! If unsure, say Y. config RTC_INTF_DEV *************** *** 91,100 **** Say yes here if you want to use your RTCs using the /dev interfaces, which "udev" sets up as /dev/rtc0 through ! /dev/rtcN. You may want to set up a symbolic link so one ! of these can be accessed as /dev/rtc, which is a name ! expected by "hwclock" and some other programs. ! This driver can also be built as a module. If so, the module ! will be called rtc-dev. config RTC_INTF_DEV_UIE_EMUL --- 89,100 ---- Say yes here if you want to use your RTCs using the /dev interfaces, which "udev" sets up as /dev/rtc0 through ! /dev/rtcN. ! You may want to set up a symbolic link so one of these ! can be accessed as /dev/rtc, which is a name ! expected by "hwclock" and some other programs. Recent ! versions of "udev" are known to set up the symlink for you. ! ! If unsure, say Y. config RTC_INTF_DEV_UIE_EMUL *************** *** 103,109 **** help Provides an emulation for RTC_UIE if the underlying rtc chip ! driver does not expose RTC_UIE ioctls. Those requests generate once-per-second update interrupts, used for synchronization. config RTC_DRV_TEST tristate "Test driver/device" --- 103,113 ---- help Provides an emulation for RTC_UIE if the underlying rtc chip ! driver does not expose RTC_UIE ioctls. Those requests generate once-per-second update interrupts, used for synchronization. + The emulation code will read the time from the hardware + clock several times per second, please enable this option + only if you know that you really need it. + config RTC_DRV_TEST tristate "Test driver/device" *************** *** 129,140 **** help If you say yes here you get support for various compatible RTC ! chips (often with battery backup) connected with I2C. This driver should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00, ! and probably other chips. In some cases the RTC must already have been initialized (by manufacturing or a bootloader). The first seven registers on these chips hold an RTC, and other registers may add features such as NVRAM, a trickle charger for ! the RTC/NVRAM backup power, and alarms. NVRAM is visible in sysfs, but other chip features may not be available. --- 133,144 ---- help If you say yes here you get support for various compatible RTC ! chips (often with battery backup) connected with I2C. This driver should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00, ! and probably other chips. In some cases the RTC must already have been initialized (by manufacturing or a bootloader). The first seven registers on these chips hold an RTC, and other registers may add features such as NVRAM, a trickle charger for ! the RTC/NVRAM backup power, and alarms. NVRAM is visible in sysfs, but other chip features may not be available. *************** *** 147,154 **** help If you say yes here you get support for Dallas Semiconductor ! DS1374 real-time clock chips. If an interrupt is associated with the device, the alarm functionality is supported. ! This driver can also be built as a module. If so, the module will be called rtc-ds1374. --- 151,158 ---- help If you say yes here you get support for Dallas Semiconductor ! DS1374 real-time clock chips. If an interrupt is associated with the device, the alarm functionality is supported. ! This driver can also be built as a module. If so, the module will be called rtc-ds1374. *************** *** 238,241 **** --- 242,251 ---- watchdog timer in the ST M41T60 and M41T80 RTC chips series. + config RTC_DRV_DM355EVM + tristate "TI DaVinci DM355 EVM RTC" + depends on MFD_DM355EVM_MSP + help + Supports the RTC firmware in the MSP430 on the DM355 EVM. + config RTC_DRV_TWL92330 boolean "TI TWL92330/Menelaus" *************** *** 244,248 **** If you say yes here you get support for the RTC on the TWL92330 "Menelaus" power management chip, used with OMAP2 ! platforms. The support is integrated with the rest of the Menelaus driver; it's not separate module. --- 254,258 ---- If you say yes here you get support for the RTC on the TWL92330 "Menelaus" power management chip, used with OMAP2 ! platforms. The support is integrated with the rest of the Menelaus driver; it's not separate module. *************** *** 305,309 **** help Select this driver to get support for the Dallas/Maxim DS1305 ! and DS1306 real time clock chips. These support a trickle charger, alarms, and NVRAM in addition to the clock. --- 315,319 ---- help Select this driver to get support for the Dallas/Maxim DS1305 ! and DS1306 real time clock chips. These support a trickle charger, alarms, and NVRAM in addition to the clock. *************** *** 314,318 **** tristate "Dallas/Maxim DS1390/93/94" help ! If you say yes here you get support for the DS1390/93/94 chips. This driver only supports the RTC feature, and not other chip --- 324,329 ---- tristate "Dallas/Maxim DS1390/93/94" help ! If you say yes here you get support for the ! Dallas/Maxim DS1390/93/94 chips. This driver only supports the RTC feature, and not other chip *************** *** 378,382 **** Your system will need to define the platform device used by ! this driver, otherwise it won't be accessible. This means you can safely enable this driver if you don't know whether or not your board has this kind of hardware. --- 389,393 ---- Your system will need to define the platform device used by ! this driver, otherwise it won't be accessible. This means you can safely enable this driver if you don't know whether or not your board has this kind of hardware. *************** *** 498,501 **** --- 509,519 ---- will be called "rtc-wm8350". + config RTC_DRV_PCF50633 + depends on MFD_PCF50633 + tristate "NXP PCF50633 RTC" + help + If you say yes here you get support for the RTC subsystem of the + NXP PCF50633 used in embedded systems. + config RTC_DRV_GCN bool "Nintendo GameCube/Wii Real Time Clock and SRAM" *************** *** 605,609 **** help Driver for the internal RTC (Realtime Clock) module found on ! Atmel AT91RM9200's and AT91SAM9RL chips. On SAM9RL chips this is powered by the backup power supply. --- 623,627 ---- help Driver for the internal RTC (Realtime Clock) module found on ! Atmel AT91RM9200's and AT91SAM9RL chips. On SAM9RL chips this is powered by the backup power supply. *************** *** 627,632 **** depends on RTC_DRV_AT91SAM9 help ! More than one RTT module is available. You can choose which ! one will be used as an RTC. The default of zero is normally OK to use, though some systems use that for non-RTC purposes. --- 645,650 ---- depends on RTC_DRV_AT91SAM9 help ! More than one RTT module is available. You can choose which ! one will be used as an RTC. The default of zero is normally OK to use, though some systems use that for non-RTC purposes. *************** *** 640,647 **** help The RTC driver needs to use one of the General Purpose Backup ! Registers (GPBRs) as well as the RTT. You can choose which one ! will be used. The default of zero is normally OK to use, but on some systems other software needs to use that register. config RTC_DRV_BFIN tristate "Blackfin On-Chip RTC" --- 658,675 ---- help The RTC driver needs to use one of the General Purpose Backup ! Registers (GPBRs) as well as the RTT. You can choose which one ! will be used. The default of zero is normally OK to use, but on some systems other software needs to use that register. + config RTC_DRV_AU1XXX + tristate "Au1xxx Counter0 RTC support" + depends on SOC_AU1X00 + help + This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year + counter) to be used as a RTC. + + This driver can also be built as a module. If so, the module + will be called rtc-au1xxx. + config RTC_DRV_BFIN tristate "Blackfin On-Chip RTC" *************** *** 676,679 **** --- 704,718 ---- class. + config RTC_DRV_PXA + tristate "PXA27x/PXA3xx" + depends on ARCH_PXA + help + If you say Y here you will get access to the real time clock + built into your PXA27x or PXA3xx CPU. + + This RTC driver uses PXA RTC registers available since pxa27x + series (RDxR, RYxR) instead of legacy RCNR, RTAR. + + config RTC_DRV_SUN4V bool "SUN4V Hypervisor RTC" *************** *** 690,692 **** --- 729,749 ---- Starfire systems. + config RTC_DRV_TX4939 + tristate "TX4939 SoC" + depends on SOC_TX4939 + help + Driver for the internal RTC (Realtime Clock) module found on + Toshiba TX4939 SoC. + + config RTC_DRV_MV + tristate "Marvell SoC RTC" + depends on ARCH_KIRKWOOD + help + If you say yes here you will get support for the in-chip RTC + that can be found in some of Marvell's SoC devices, such as + the Kirkwood 88F6281 and 88F6192. + + This driver can also be built as a module. If so, the module + will be called rtc-mv. + endif # RTC_CLASS |
From: Albert H. <he...@us...> - 2009-03-02 19:26:46
|
Update of /cvsroot/gc-linux/linux/drivers/serial In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6933/drivers/serial Modified Files: Kconfig Makefile Log Message: Merge v2.6.29-rc6. NOTE: Some of the Kconfig options and Makefile entries for the drivers marked as "broken" will disappear with this commit. Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/serial/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Makefile 1 Feb 2009 18:29:35 -0000 1.5 --- Makefile 2 Mar 2009 19:26:37 -0000 1.6 *************** *** 42,45 **** --- 42,47 ---- obj-$(CONFIG_SERIAL_S3C2412) += s3c2412.o obj-$(CONFIG_SERIAL_S3C2440) += s3c2440.o + obj-$(CONFIG_SERIAL_S3C24A0) += s3c24a0.o + obj-$(CONFIG_SERIAL_S3C6400) += s3c6400.o obj-$(CONFIG_SERIAL_IP22_ZILOG) += ip22zilog.o obj-$(CONFIG_SERIAL_MUX) += mux.o *************** *** 71,74 **** --- 73,77 ---- obj-$(CONFIG_SERIAL_NETX) += netx-serial.o obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o + obj-$(CONFIG_SERIAL_OF_PLATFORM_NWPSERIAL) += nwpserial.o obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o obj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o Index: Kconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/serial/Kconfig,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Kconfig 1 Feb 2009 18:29:35 -0000 1.6 --- Kconfig 2 Mar 2009 19:26:37 -0000 1.7 *************** *** 448,452 **** config SERIAL_SAMSUNG tristate "Samsung SoC serial support" ! depends on ARM && PLAT_S3C24XX select SERIAL_CORE help --- 448,452 ---- config SERIAL_SAMSUNG tristate "Samsung SoC serial support" ! depends on ARM && PLAT_S3C select SERIAL_CORE help *************** *** 456,459 **** --- 456,469 ---- pins are configured. + config SERIAL_SAMSUNG_UARTS + int + depends on ARM && PLAT_S3C + default 2 if ARCH_S3C2400 + default 4 if ARCH_S3C64XX || CPU_S3C2443 + default 3 + help + Select the number of available UART ports for the Samsung S3C + serial driver + config SERIAL_SAMSUNG_DEBUG bool "Samsung SoC serial debug" *************** *** 509,513 **** --- 519,536 ---- Serial port support for the Samsung S3C2440 and S3C2442 SoC + config SERIAL_S3C24A0 + tristate "Samsung S3C24A0 Serial port support" + depends on SERIAL_SAMSUNG && CPU_S3C24A0 + default y if CPU_S3C24A0 + help + Serial port support for the Samsung S3C24A0 SoC + config SERIAL_S3C6400 + tristate "Samsung S3C6400/S3C6410 Serial port support" + depends on SERIAL_SAMSUNG && (CPU_S3C600 || CPU_S3C6410) + default y + help + Serial port support for the Samsung S3C6400 and S3C6410 + SoCs config SERIAL_DZ *************** *** 960,964 **** config SERIAL_PNX8XXX bool "Enable PNX8XXX SoCs' UART Support" ! depends on MIPS && SOC_PNX8550 select SERIAL_CORE help --- 983,987 ---- config SERIAL_PNX8XXX bool "Enable PNX8XXX SoCs' UART Support" ! depends on MIPS && (SOC_PNX8550 || SOC_PNX833X) select SERIAL_CORE help *************** *** 1298,1302 **** tristate "Serial port on Open Firmware platform bus" depends on PPC_OF ! depends on SERIAL_8250 help If you have a PowerPC based system that has serial ports --- 1321,1325 ---- tristate "Serial port on Open Firmware platform bus" depends on PPC_OF ! depends on SERIAL_8250 || SERIAL_OF_PLATFORM_NWPSERIAL help If you have a PowerPC based system that has serial ports *************** *** 1305,1308 **** --- 1328,1348 ---- others can easily be added. + config SERIAL_OF_PLATFORM_NWPSERIAL + tristate "NWP serial port driver" + depends on PPC_OF && PPC_DCR + select SERIAL_OF_PLATFORM + select SERIAL_CORE_CONSOLE + select SERIAL_CORE + help + This driver supports the cell network processor nwp serial + device. + + config SERIAL_OF_PLATFORM_NWPSERIAL_CONSOLE + bool "Console on NWP serial port" + depends on SERIAL_OF_PLATFORM_NWPSERIAL=y + select SERIAL_CORE_CONSOLE + help + Support for Console on the NWP serial ports. + config SERIAL_QE tristate "Freescale QUICC Engine serial port support" |
From: Albert H. <he...@us...> - 2009-03-02 19:26:46
|
Update of /cvsroot/gc-linux/linux/drivers/usb In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6933/drivers/usb Modified Files: Kconfig Makefile Log Message: Merge v2.6.29-rc6. NOTE: Some of the Kconfig options and Makefile entries for the drivers marked as "broken" will disappear with this commit. Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/usb/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile 1 Feb 2009 18:29:35 -0000 1.3 --- Makefile 2 Mar 2009 19:26:37 -0000 1.4 *************** *** 12,17 **** --- 12,19 ---- obj-$(CONFIG_USB_EHCI_HCD) += host/ obj-$(CONFIG_USB_ISP116X_HCD) += host/ + obj-$(CONFIG_USB_ISP1760_HCD) += host/ obj-$(CONFIG_USB_OHCI_HCD) += host/ obj-$(CONFIG_USB_UHCI_HCD) += host/ + obj-$(CONFIG_USB_FHCI_HCD) += host/ obj-$(CONFIG_USB_SL811_HCD) += host/ obj-$(CONFIG_USB_U132_HCD) += host/ Index: Kconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/usb/Kconfig,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Kconfig 1 Feb 2009 18:29:35 -0000 1.4 --- Kconfig 2 Mar 2009 19:26:37 -0000 1.5 *************** *** 152,154 **** --- 152,156 ---- source "drivers/usb/gadget/Kconfig" + source "drivers/usb/otg/Kconfig" + endif # USB_SUPPORT |