You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
(82) |
Jun
(72) |
Jul
(39) |
Aug
(104) |
Sep
(61) |
Oct
(55) |
Nov
(101) |
Dec
(48) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(52) |
Feb
(67) |
Mar
(18) |
Apr
(16) |
May
(33) |
Jun
(12) |
Jul
(102) |
Aug
(168) |
Sep
(65) |
Oct
(60) |
Nov
(43) |
Dec
(121) |
2002 |
Jan
(69) |
Feb
(32) |
Mar
(90) |
Apr
(59) |
May
(45) |
Jun
(43) |
Jul
(33) |
Aug
(21) |
Sep
(11) |
Oct
(20) |
Nov
(26) |
Dec
(3) |
2003 |
Jan
(12) |
Feb
(18) |
Mar
(11) |
Apr
(11) |
May
(41) |
Jun
(76) |
Jul
(77) |
Aug
(15) |
Sep
(38) |
Oct
(56) |
Nov
(19) |
Dec
(39) |
2004 |
Jan
(17) |
Feb
(52) |
Mar
(36) |
Apr
(34) |
May
(48) |
Jun
(85) |
Jul
(38) |
Aug
(42) |
Sep
(41) |
Oct
(77) |
Nov
(27) |
Dec
(19) |
2005 |
Jan
(32) |
Feb
(35) |
Mar
(29) |
Apr
(8) |
May
(7) |
Jun
(31) |
Jul
(46) |
Aug
(93) |
Sep
(65) |
Oct
(85) |
Nov
(219) |
Dec
(47) |
2006 |
Jan
(170) |
Feb
(103) |
Mar
(49) |
Apr
(43) |
May
(45) |
Jun
(29) |
Jul
(77) |
Aug
(82) |
Sep
(43) |
Oct
(45) |
Nov
(26) |
Dec
(85) |
2007 |
Jan
(42) |
Feb
(48) |
Mar
(64) |
Apr
(31) |
May
(88) |
Jun
(53) |
Jul
(175) |
Aug
(212) |
Sep
(91) |
Oct
(103) |
Nov
(110) |
Dec
(5) |
2008 |
Jan
(20) |
Feb
(11) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(3) |
Oct
(12) |
Nov
|
Dec
|
From: Paul M. <le...@li...> - 2007-10-14 20:45:26
|
On Sun, Oct 14, 2007 at 04:34:42PM +0100, Adrian McMenamin wrote: > Remove reference to out of date/rotting websites > I'll queue it up, thanks. |
From: Adrian M. <ad...@ne...> - 2007-10-14 15:35:15
|
Remove reference to out of date/rotting websites diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 44982c1..4316e77 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -291,9 +291,7 @@ config SH_DREAMCAST depends on CPU_SUBTYPE_SH7091 help Select Dreamcast if configuring for a SEGA Dreamcast. - More information at - <http://www.m17n.org/linux-sh/dreamcast/>. There is a - Dreamcast project is at <http://linuxdc.sourceforge.net/>. + More information at <http://www.linux-sh.org> config SH_MPC1211 bool "Interface MPC1211" |
From: Rafael I. Z. <riz...@ya...> - 2007-10-10 15:28:21
|
--- Paul Mundt <le...@li...> wrote: > > On Mon, Sep 17, 2007 at 06:02:46AM -0400, Mike > Frysinger wrote: > > if only the userland tools would get off their > asses ... > > http://git.kernel.org/?p=linux/kernel/git/horms/kexec-tools-testing.git;a=summary > > is the tree to be using, the other ones are outdated > and no longer developed. Hello, I was trying kexec in sh3 (HP jornada 660lx: SH7709 - HD64461) using those kexec-tools. But it gets frozen when run "kexec -e". I would wish to know what might be the issue. Also, I used strace with "kexec -e" to see the last reboot system call: root@jornada6xx:~$ kexec -l /boot/zImage --append="root=/dev/sda1 mem=32M" root@jornada6xx:~$ root@jornada6xx:~$ kexec -f kexec 1.101 released 15 February 2005 ... ADDRESS of empty_zero can be set SHELL environment variable KEXEC_EMPTY_ZERO as default ... ADDRESS can be get in the following method in your system. .. 3) CONFIG_MEMORY_START + CONFIG_ZERO_PAGE_OFFSET in your kernel config file. root@jornada6xx:~$ Well, The kernel (2.6.23-rc5 from jlime) was built with CONFIG_MEMORY_START=0x0d000000 CONFIG_ZERO_PAGE_OFFSET=0x00001000 in the .config file. So i did: root@jornada6xx:~$ export KEXEC_EMPTY_ZERO=0x0d001000 root@jornada6xx:~$ strace kexec -e ... reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, 0x45584543 /* LINUX_REBOOT_CMD_ ??? */Starting new kernel kexec information segment[0]: 0x0c001000 - 0x0c002000 (0x00001000) segment[1]: 0x0c210000 - 0x0c3b8000 (0x001a8000) start : 0x8c210000 nothing else happened. Regards, Rafael . ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC |
From: Paul M. <le...@li...> - 2007-10-10 10:41:15
|
Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh64-2.6.git Which contains: Paul Mundt (18): sh64: Move *_p() I/O routine variants to io.h. sh64: Tidy up includes for Cayman board. sh64: Kill off dead ROM-RAM and generic boards. sh64: Kill off duplicate frame pointer option. sh64: mach-harp: Build fixes. sh64: mach-sim: Build fixes. sh64: Some symbol exports and build fixes. sh64: Move consistent DMA routines to arch/sh64/mm/. sh64: Tidy up Kconfig dependencies. sh64: update cayman defconfig. sh64: Add defconfigs for mach-sim and mach-harp. sh64: alphanumeric display only on Cayman. sh64: Kill off dead gdb stub symbol. sh64: Kill off obsolete linux/blk.h reference. sh64: Set KBUILD_IMAGE to make the rpm target happy. sh64: linker script tidying and alignment fixups. sh64: Symbol export fixups. sh64: mach-cayman: Build fixes. Thomas Gleixner (1): sh64: cleanup struct irqaction initializers. arch/sh64/Kconfig | 51 -- arch/sh64/Kconfig.debug | 13 arch/sh64/Makefile | 6 arch/sh64/configs/cayman_defconfig | 258 ++++++++++-- arch/sh64/configs/harp_defconfig | 756 +++++++++++++++++++++++++++++++++++++ arch/sh64/configs/sim_defconfig | 566 +++++++++++++++++++++++++++ arch/sh64/kernel/Makefile | 2 arch/sh64/kernel/alphanum.c | 1 arch/sh64/kernel/pci-dma.c | 50 -- arch/sh64/kernel/sh_ksyms.c | 32 - arch/sh64/kernel/time.c | 14 arch/sh64/kernel/vmlinux.lds.S | 60 -- arch/sh64/lib/c-checksum.c | 3 arch/sh64/lib/io.c | 29 - arch/sh64/lib/iomap.c | 10 arch/sh64/mach-cayman/setup.c | 10 arch/sh64/mach-harp/Makefile | 13 arch/sh64/mach-harp/setup.c | 25 - arch/sh64/mach-romram/Makefile | 14 arch/sh64/mach-romram/setup.c | 141 ------ arch/sh64/mach-sim/Makefile | 13 arch/sh64/mach-sim/setup.c | 53 -- arch/sh64/mm/Makefile | 4 arch/sh64/mm/consistent.c | 52 ++ arch/sh64/mm/init.c | 4 arch/sh64/mm/ioremap.c | 7 include/asm-sh64/io.h | 7 27 files changed, 1690 insertions(+), 504 deletions(-) |
From: Paul M. <le...@li...> - 2007-10-10 10:40:42
|
Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.git Which contains: Adrian McMenamin (4): fb: pvr2fb: Shared IRQ for dreamcast pvr2. sh: Add maple bus support for the SEGA Dreamcast. video: pvr2fb: Add TV (RGB) support to Dreamcast PVR driver. sh: Fix SH-4 DMAC CHCR masking. Aoi Shinkai (1): sh: rts7751r2d cf_ide rework Kristoffer Ericson (9): sh: Fix OFFCHIP_IRQ_BASE compile error. sh: update hp6xx defconfig. sh: hp6xx: APM build fix and new battery values. backlight: Fix up hp680_bl build. sh: hd64461: Trivial build fixes for SH7709. sh: dma: Fix up build for SH7709 support. sh: hp6xx: Update CF IRQ for INTC changes. sh: hp6xx: Enable touchscreen and powerbutton IRQs. sh: hp6xx: Enable pata_platform in defconfig. Magnus Damm (37): sh: intc - add support for SH7705 sh: intc - add support for SH7710 sh: intc - add support for SH7706, SH7707, SH7708, SH7709 sh: intc - add missing vectors for SH7707 sh: intc - avoid SH7710 specific vector on SH7712 sh: intc - add support for SH7785 sh: intc - add support for SH7760 sh: simplify se7780 IRQ code sh: intc - fix IRQ4 and IRQ5 typo on sh3 sh: intc - add support for x3 sh: intc - remove redundant irq code for sh03, snapgear and titan sh: intc - remove redundant irq code for shmin sh: intc - add single bitmap register support sh: intc - convert voyagergx code sh: remove intc2 code sh: x3 - fix setup_bootmem_node() compile error with shx3_defconfig sh: intc - add a clear register to struct intc_prio_reg sh: intc - rework core code sh: intc - convert board specific r2d code sh: replace sh specific CONFIG_VOYAGERGX with CONFIG_MFD_SM501 sh: x3 - add ipi vectors sh: intc - mark data structures as __initdata sh: intc - primary priority masking fixes sh: fix irqs for the second serial port on sh7206 sh: intc - add support for sh7619 sh: intc - add support for sh7206 sh: defconfigs for R2D-PLUS and for R2D-1 sh: remove CONFIG_CPU_HAS_INTC_IRQ sh: intc - irl mode update for sh7780 and sh7785 sh: minor fixes sh: intc - rework higlander irq code for r7780mp and r7785rp sh: remove sh7780 interrupt controller hack from pci code sh: add writesb(), readsb(), writesw() and readsw() to io.h sh: intc - initial SMP support. sh: Hook up the SH-X3 SMP intc register groups. sh: fix r2d board detection sh: allow building for both r2d boards in same binary. Markus Brunner (4): sh: Add gpio.h stubs for PFC definitions. sh: Add SH7720 CPU support. sh: Magic Panel R2 board support. sh: Magic Panel MTD mapping update. Paul Mundt (66): sh: Support explicit L1 cache disabling. sh: Fix cache disabling build failures on nommu. sh: Initial multiple-node support for SH-X3. rtc: rtc-sh: Support 4-digit year on SH7705/SH7710/SH7712. sh: intc: Fix sense regs oops for IRL IRQs. sh: Plug in SH-X3 SCIF0 for sercon earlyprintk. sh: Initial support for SH-X3 prototype board. sh: x3proto: ILSEL IRQ support. sh: x3proto: Hook up ethernet and USB platform devices. sh: x3proto: Trivial ILSEL build fix. sh: Bump up NODES_SHIFT for SH-X3. serial: sh-sci: Shut up compiler warning for SH-X3 SCIF. sh: Wire up CSM node for SH-X3. serial: sh-sci: Tidy cpufreq printk. sh: Kill off duplicate symbol exports on SMP. sh: heartbeat driver update. sh: More license string silliness. sh: Kill off volatile silliness in sq_flush_range(). sh: Overhaul spinlocks and rwlocks for SH-4A SMP. sh: Fix up heartbeat build and resource size. sh: Fix up se7751 build. sh: nommu fault handler needs signal.h. serial: sh-sci: kgdb console build fixes. sh: INTC stubs for SH7343 and SH7770 builds. sh: dma: Fix CONFIG_SYSFS=n build. sh: Don't enable FPU for SH4AL-DSP. sh: se7206: Make the I/O port routines less stupid. sh: se7206: heartbeat needs 32-bit writes. sh: hp6xx: Trivial build fixes for INTC changes. sh: r7780rp: irq-r7780rp needs linux/io.h. sh: se7206: Handle non-SuperIO I/O ports. sh: se7206: update defconfig. sh: Wire up URAM node on SH7785. sh: Fix up extended mode TLB for SH-X2+ cores. sh: rts7751r2d: Fix up trivial build failure. sh: Enable maple by default for the Dreamcast. sh: Make cpufreq driver less noisy on SMP. sh: Kill off special boot_cpu_data. sh: Avoid smp_processor_id() in cache desc paths. sh: Add SMP tlbflush variants. sh: Bring SMP support back from the dead. sh: Plug plat_smp_setup() in to generic setup path. sh: Initial SH-X3 SMP support. sh: Fix alias calculation for non-aliasing cases. sh: nommu: Kill off dummy page fault ops for SH-3/4. sh: Calculate cache aliases on L2 caches. sh: Revert incorrect license string changes. sh: Define _ebss for uClinux MTD map driver. sh: Disable L2 reporting for present URAM only parts. sh: Disable 4kB pages on extended mode TLB. sh: processor.h needs smp.h sh: Kill off duplicate NODES_SHIFT. sh: Fix plat_irq_setup_pins() for SH7785. sh: Bump MAX_ACTIVE_REGIONS for SH7785. sh: Support extended mode TLB on SH-X3. sh: Use boot_cpu_data for CPU probe. sh: Fix URAM start address on SH7785. sh: Tidy up gUSA preempt handling. sh: Follow gUSA preempt changes in __switch_to(). sh: Conditionalize gUSA support. sh: early_printk tidying. sh: kgdb section mismatches and tidying. sh: Make kgdb i-cache flushing less inept. sh: Rip out left-over nommu cond syscall cruft. sh: Fix up some section alignments in linker script. sh: Discard .exit.text/.exit.data at runtime. Stuart Menefy (2): sh: clkfwk: Support multi-level clock propagation. sh: __copy_user() optimizations for small copies. Thomas Gleixner (1): sh: cleanup struct irqaction initializers. arch/sh/Kconfig | 53 - arch/sh/Kconfig.debug | 6 arch/sh/Makefile | 4 arch/sh/boards/hp6xx/hp6xx_apm.c | 9 arch/sh/boards/hp6xx/setup.c | 35 arch/sh/boards/magicpanelr2/Kconfig | 13 arch/sh/boards/magicpanelr2/Makefile | 5 arch/sh/boards/magicpanelr2/setup.c | 394 +++++++ arch/sh/boards/mpc1211/setup.c | 2 arch/sh/boards/renesas/r7780rp/Makefile | 5 arch/sh/boards/renesas/r7780rp/irq-r7780mp.c | 61 + arch/sh/boards/renesas/r7780rp/irq-r7780rp.c | 6 arch/sh/boards/renesas/r7780rp/irq-r7785rp.c | 46 arch/sh/boards/renesas/r7780rp/setup.c | 70 + arch/sh/boards/renesas/rts7751r2d/Kconfig | 19 arch/sh/boards/renesas/rts7751r2d/irq.c | 179 ++- arch/sh/boards/renesas/rts7751r2d/setup.c | 95 + arch/sh/boards/renesas/x3proto/Makefile | 1 arch/sh/boards/renesas/x3proto/ilsel.c | 151 +++ arch/sh/boards/renesas/x3proto/setup.c | 136 ++ arch/sh/boards/se/7206/io.c | 31 arch/sh/boards/se/7206/setup.c | 19 arch/sh/boards/se/7343/irq.c | 7 arch/sh/boards/se/7343/setup.c | 2 arch/sh/boards/se/770x/setup.c | 10 arch/sh/boards/se/7722/setup.c | 9 arch/sh/boards/se/7751/setup.c | 11 arch/sh/boards/se/7780/irq.c | 28 arch/sh/boards/se/7780/setup.c | 7 arch/sh/boards/sh03/setup.c | 28 arch/sh/boards/shmin/setup.c | 26 arch/sh/boards/snapgear/setup.c | 30 arch/sh/boards/titan/setup.c | 30 arch/sh/cchips/Kconfig | 13 arch/sh/cchips/hd6446x/hd64461.c | 13 arch/sh/cchips/hd6446x/hd64465/setup.c | 7 arch/sh/cchips/voyagergx/irq.c | 188 +-- arch/sh/configs/dreamcast_defconfig | 155 --- arch/sh/configs/hp6xx_defconfig | 559 +++++------ arch/sh/configs/magicpanelr2_defconfig | 925 ++++++++++++++++++ arch/sh/configs/rts7751r2d1_defconfig | 1167 +++++++++++++++++++++++ arch/sh/configs/rts7751r2d_defconfig | 1353 --------------------------- arch/sh/configs/rts7751r2dplus_defconfig | 1167 +++++++++++++++++++++++ arch/sh/configs/se7206_defconfig | 223 +--- arch/sh/configs/shx3_defconfig | 456 ++++----- arch/sh/drivers/dma/Kconfig | 1 arch/sh/drivers/dma/dma-sh.c | 13 arch/sh/drivers/heartbeat.c | 70 + arch/sh/drivers/pci/ops-rts7751r2d.c | 8 arch/sh/drivers/pci/pci-sh7780.c | 13 arch/sh/kernel/cpu/clock.c | 2 arch/sh/kernel/cpu/init.c | 27 arch/sh/kernel/cpu/irq/Makefile | 4 arch/sh/kernel/cpu/irq/intc.c | 562 +++++++---- arch/sh/kernel/cpu/irq/intc2.c | 86 - arch/sh/kernel/cpu/sh2/probe.c | 19 arch/sh/kernel/cpu/sh2/setup-sh7619.c | 93 + arch/sh/kernel/cpu/sh2a/probe.c | 18 arch/sh/kernel/cpu/sh2a/setup-sh7206.c | 217 +++- arch/sh/kernel/cpu/sh3/Makefile | 10 arch/sh/kernel/cpu/sh3/probe.c | 48 arch/sh/kernel/cpu/sh3/setup-sh7705.c | 172 ++- arch/sh/kernel/cpu/sh3/setup-sh7708.c | 43 arch/sh/kernel/cpu/sh3/setup-sh7709.c | 145 -- arch/sh/kernel/cpu/sh3/setup-sh770x.c | 224 ++++ arch/sh/kernel/cpu/sh3/setup-sh7710.c | 200 ++- arch/sh/kernel/cpu/sh3/setup-sh7720.c | 210 ++++ arch/sh/kernel/cpu/sh4/probe.c | 178 +-- arch/sh/kernel/cpu/sh4/setup-sh7750.c | 54 - arch/sh/kernel/cpu/sh4/setup-sh7760.c | 253 ++--- arch/sh/kernel/cpu/sh4/sq.c | 4 arch/sh/kernel/cpu/sh4a/Makefile | 6 arch/sh/kernel/cpu/sh4a/setup-sh7343.c | 4 arch/sh/kernel/cpu/sh4a/setup-sh7722.c | 38 arch/sh/kernel/cpu/sh4a/setup-sh7770.c | 4 arch/sh/kernel/cpu/sh4a/setup-sh7780.c | 91 + arch/sh/kernel/cpu/sh4a/setup-sh7785.c | 304 +++++- arch/sh/kernel/cpu/sh4a/setup-shx3.c | 234 ++++ arch/sh/kernel/cpu/sh4a/smp-shx3.c | 120 ++ arch/sh/kernel/cpufreq.c | 3 arch/sh/kernel/early_printk.c | 49 arch/sh/kernel/entry-common.S | 2 arch/sh/kernel/head.S | 18 arch/sh/kernel/kgdb_stub.c | 53 - arch/sh/kernel/process.c | 8 arch/sh/kernel/setup.c | 15 arch/sh/kernel/sh_ksyms.c | 18 arch/sh/kernel/signal.c | 10 arch/sh/kernel/smp.c | 307 ++++-- arch/sh/kernel/syscalls.S | 18 arch/sh/kernel/timers/timer-tmu.c | 3 arch/sh/kernel/traps.c | 5 arch/sh/kernel/vmlinux.lds.S | 10 arch/sh/mm/Kconfig | 67 - arch/sh/mm/Makefile | 23 arch/sh/mm/cache-sh4.c | 81 - arch/sh/mm/copy_page.S | 169 ++- arch/sh/mm/fault-nommu.c | 64 - arch/sh/mm/pmb.c | 2 arch/sh/mm/tlb-sh4.c | 55 - drivers/rtc/rtc-sh.c | 51 - drivers/serial/sh-sci.c | 39 drivers/serial/sh-sci.h | 34 drivers/sh/Makefile | 4 drivers/sh/maple/Makefile | 3 drivers/sh/maple/maple.c | 735 ++++++++++++++ drivers/video/backlight/hp680_bl.c | 4 drivers/video/pvr2fb.c | 4 include/asm-sh/cacheflush.h | 33 include/asm-sh/cpu-sh3/cache.h | 4 include/asm-sh/cpu-sh3/dma.h | 13 include/asm-sh/cpu-sh3/gpio.h | 66 + include/asm-sh/cpu-sh3/mmu_context.h | 9 include/asm-sh/cpu-sh3/timer.h | 9 include/asm-sh/cpu-sh3/ubc.h | 3 include/asm-sh/cpu-sh4/dma.h | 2 include/asm-sh/cpu-sh4/mmu_context.h | 14 include/asm-sh/dma.h | 5 include/asm-sh/dreamcast/maple.h | 37 include/asm-sh/gpio.h | 19 include/asm-sh/hd64461.h | 1 include/asm-sh/heartbeat.h | 17 include/asm-sh/hw_irq.h | 53 - include/asm-sh/ilsel.h | 45 include/asm-sh/io.h | 26 include/asm-sh/kgdb.h | 24 include/asm-sh/magicpanelr2.h | 67 + include/asm-sh/page.h | 10 include/asm-sh/pgtable.h | 115 +- include/asm-sh/processor.h | 11 include/asm-sh/r7780rp.h | 33 include/asm-sh/rtc.h | 6 include/asm-sh/rts7751r2d.h | 65 - include/asm-sh/sections.h | 1 include/asm-sh/sh03/io.h | 9 include/asm-sh/smp.h | 34 include/asm-sh/snapgear.h | 12 include/asm-sh/spinlock.h | 181 ++- include/asm-sh/spinlock_types.h | 11 include/asm-sh/system.h | 1 include/asm-sh/voyagergx.h | 39 include/asm-sh64/gpio.h | 8 include/linux/maple.h | 80 + 143 files changed, 9783 insertions(+), 4363 deletions(-) |
From: Paul M. <le...@li...> - 2007-10-10 06:04:45
|
On Wed, Oct 10, 2007 at 01:33:01PM +0900, Magnus Damm wrote: > sh: move sm501 serial port platform data into sm501.c > > This patch moves the platform data for the 8250 block in the sm501 from the > board specific code to the sm501 specific mfd driver. This seems to work > well for now on r2d but in the future we should move the interrupt demux > code as well. > > Signed-off-by: Magnus Damm <da...@ig...> Acked-by: Paul Mundt <le...@li...> > --- > > arch/sh/boards/renesas/rts7751r2d/setup.c | 61 ++++++++++++++------------ > drivers/mfd/sm501.c | 67 +++++++++++++++++++++-------- > include/linux/sm501.h | 1 > 3 files changed, 84 insertions(+), 45 deletions(-) > I'll queue up the board-specific stuff if Ben wants to take the SM501 bits separately. |
From: Magnus D. <mag...@gm...> - 2007-10-10 04:34:40
|
sh: move sm501 serial port platform data into sm501.c This patch moves the platform data for the 8250 block in the sm501 from the board specific code to the sm501 specific mfd driver. This seems to work well for now on r2d but in the future we should move the interrupt demux code as well. Signed-off-by: Magnus Damm <da...@ig...> --- arch/sh/boards/renesas/rts7751r2d/setup.c | 61 ++++++++++++++------------ drivers/mfd/sm501.c | 67 +++++++++++++++++++++-------- include/linux/sm501.h | 1 3 files changed, 84 insertions(+), 45 deletions(-) --- 0001/arch/sh/boards/renesas/rts7751r2d/setup.c +++ work/arch/sh/boards/renesas/rts7751r2d/setup.c 2007-10-10 13:01:18.000000000 +0900 @@ -11,8 +11,8 @@ #include <linux/init.h> #include <linux/platform_device.h> #include <linux/pata_platform.h> -#include <linux/serial_8250.h> #include <linux/sm501.h> +#include <linux/sm501-regs.h> #include <linux/pm.h> #include <asm/machvec.h> #include <asm/rts7751r2d.h> @@ -88,28 +88,6 @@ static struct platform_device heartbeat_ .resource = heartbeat_resources, }; -#ifdef CONFIG_MFD_SM501 -static struct plat_serial8250_port uart_platform_data[] = { - { - .membase = (void __iomem *)VOYAGER_UART_BASE, - .mapbase = VOYAGER_UART_BASE, - .iotype = UPIO_MEM, - .irq = IRQ_SM501_U0, - .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, - .regshift = 2, - .uartclk = (9600 * 16), - }, - { 0 }, -}; - -static struct platform_device uart_device = { - .name = "serial8250", - .id = PLAT8250_DEV_PLATFORM, - .dev = { - .platform_data = uart_platform_data, - }, -}; - static struct resource sm501_resources[] = { [0] = { .start = 0x10000000, @@ -127,20 +105,47 @@ static struct resource sm501_resources[] }, }; +#define MHZ (1000 * 1000) + +static struct sm501_initdata r2d_sm501_initdata = { + .gpio_high = { + .set = 0x3F000000, /* 24bit panel */ + .mask = 0x0, + }, + .misc_timing = { + .set = 0x010100, /* SDRAM timing */ + .mask = 0x1F1F00, + }, + .misc_control = { + .set = SM501_MISC_PNL_24BIT, + .mask = 0, + }, + + .devices = SM501_USE_UART0, + + /* Errata AB-3 says that 72MHz is the fastest available + * for 33MHZ PCI with proper bus-mastering operation */ + + .mclk = 72 * MHZ, + .m1xclk = 144 * MHZ, +}; + +static struct sm501_platdata r2d_sm501_platdata = { + .init = &r2d_sm501_initdata, +}; + static struct platform_device sm501_device = { .name = "sm501", .id = -1, .num_resources = ARRAY_SIZE(sm501_resources), .resource = sm501_resources, + .dev = { + .platform_data = &r2d_sm501_platdata, + }, }; -#endif /* CONFIG_MFD_SM501 */ - static struct platform_device *rts7751r2d_devices[] __initdata = { -#ifdef CONFIG_MFD_SM501 - &uart_device, &sm501_device, -#endif &heartbeat_device, }; --- 0001/drivers/mfd/sm501.c +++ work/drivers/mfd/sm501.c 2007-10-10 12:57:20.000000000 +0900 @@ -22,6 +22,7 @@ #include <linux/sm501.h> #include <linux/sm501-regs.h> +#include <linux/serial_8250.h> #include <asm/io.h> @@ -651,13 +652,14 @@ static void sm501_device_release(struct */ static struct platform_device * -sm501_create_subdev(struct sm501_devdata *sm, - char *name, unsigned int res_count) +sm501_create_subdev(struct sm501_devdata *sm, char *name, + unsigned int res_count, unsigned int platform_data_size) { struct sm501_device *smdev; smdev = kzalloc(sizeof(struct sm501_device) + - sizeof(struct resource) * res_count, GFP_KERNEL); + (sizeof(struct resource) * res_count) + + platform_data_size, GFP_KERNEL); if (!smdev) return NULL; @@ -665,11 +667,15 @@ sm501_create_subdev(struct sm501_devdata smdev->pdev.name = name; smdev->pdev.id = sm->pdev_id; - smdev->pdev.resource = (struct resource *)(smdev+1); - smdev->pdev.num_resources = res_count; - smdev->pdev.dev.parent = sm->dev; + if (res_count) { + smdev->pdev.resource = (struct resource *)(smdev+1); + smdev->pdev.num_resources = res_count; + } + if (platform_data_size) + smdev->pdev.dev.platform_data = (void *)(smdev+1); + return &smdev->pdev; } @@ -757,7 +763,7 @@ static int sm501_register_usbhost(struct { struct platform_device *pdev; - pdev = sm501_create_subdev(sm, "sm501-usb", 3); + pdev = sm501_create_subdev(sm, "sm501-usb", 3, 0); if (!pdev) return -ENOMEM; @@ -768,12 +774,37 @@ static int sm501_register_usbhost(struct return sm501_register_device(sm, pdev); } +static int sm501_register_serial(struct sm501_devdata *sm, + unsigned int offset, int irq) +{ + struct platform_device *pdev; + struct plat_serial8250_port *uart_data; + + pdev = sm501_create_subdev(sm, "serial8250", 0, + sizeof(struct plat_serial8250_port) * 2); + if (!pdev) + return -ENOMEM; + + uart_data = pdev->dev.platform_data; + uart_data->membase = sm->regs + offset; + uart_data->mapbase = sm->io_res->start + offset; + uart_data->iotype = UPIO_MEM; + uart_data->irq = irq ? irq : sm->irq; + uart_data->flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST; + uart_data->regshift = 2; + uart_data->uartclk = (9600 * 16); + + pdev->id = PLAT8250_DEV_PLATFORM; + + return sm501_register_device(sm, pdev); +} + static int sm501_register_display(struct sm501_devdata *sm, resource_size_t *mem_avail) { struct platform_device *pdev; - pdev = sm501_create_subdev(sm, "sm501-fb", 4); + pdev = sm501_create_subdev(sm, "sm501-fb", 4, 0); if (!pdev) return -ENOMEM; @@ -891,6 +922,7 @@ static unsigned int sm501_mem_local[] = static int sm501_init_dev(struct sm501_devdata *sm) { + struct sm501_initdata *idata; resource_size_t mem_avail; unsigned long dramctrl; unsigned long devid; @@ -924,15 +956,16 @@ static int sm501_init_dev(struct sm501_d /* check to see if we have some device initialisation */ - if (sm->platdata) { - struct sm501_platdata *pdata = sm->platdata; - - if (pdata->init) { - sm501_init_regs(sm, sm->platdata->init); - - if (pdata->init->devices & SM501_USE_USB_HOST) - sm501_register_usbhost(sm, &mem_avail); - } + idata = sm->platdata ? sm->platdata->init : NULL; + if (idata) { + sm501_init_regs(sm, idata); + + if (idata->devices & SM501_USE_USB_HOST) + sm501_register_usbhost(sm, &mem_avail); + if (idata->devices & SM501_USE_UART0) + sm501_register_serial(sm, 0x30000, idata->irq[12]); + if (idata->devices & SM501_USE_UART1) + sm501_register_serial(sm, 0x30020, idata->irq[13]); } ret = sm501_check_clocks(sm); --- 0001/include/linux/sm501.h +++ work/include/linux/sm501.h 2007-10-10 12:19:19.000000000 +0900 @@ -138,6 +138,7 @@ struct sm501_initdata { unsigned long devices; unsigned long mclk; /* non-zero to modify */ unsigned long m1xclk; /* non-zero to modify */ + int irq[32]; }; /* sm501_init_gpio |
From: Magnus D. <mag...@gm...> - 2007-10-10 04:24:13
|
sh: allow building for both r2d boards This patch enables building for both R2D-PLUS and R2D-1 boards. All code is already in place except for the Kconfig limitation. This is useful if you want to run the same binary on both R2D-PLUS and R2D-1 boards. Signed-off-by: Magnus Damm <da...@ig...> --- arch/sh/boards/renesas/rts7751r2d/Kconfig | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) --- 0001/arch/sh/boards/renesas/rts7751r2d/Kconfig +++ work/arch/sh/boards/renesas/rts7751r2d/Kconfig 2007-10-09 19:48:26.000000000 +0900 @@ -1,10 +1,6 @@ if SH_RTS7751R2D -menu "RTS7751R2D options" - -choice - prompt "R2D Board Revision" - default RTS7751R2D_PLUS +menu "RTS7751R2D Board Revision" config RTS7751R2D_PLUS bool "R2D-PLUS" @@ -21,9 +17,6 @@ config RTS7751R2D_1 R2D-1 is the larger of the two R2D board versions, equipped with two PCI slots. - -endchoice - endmenu endif |
From: Magnus D. <mag...@gm...> - 2007-10-10 04:22:07
|
sh: fix r2d board detection This patch fixes the R2D-PLUS and R2D-1 board detection code. Tested on two R2D-PLUS and two R2D-1 boards. Signed-off-by: Magnus Damm <da...@ig...> --- arch/sh/boards/renesas/rts7751r2d/irq.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) --- 0001/arch/sh/boards/renesas/rts7751r2d/irq.c +++ work/arch/sh/boards/renesas/rts7751r2d/irq.c 2007-10-10 10:57:57.000000000 +0900 @@ -130,7 +130,7 @@ void __init init_rts7751r2d_IRQ(void) { struct intc_desc *d; - switch (ctrl_inw(PA_BVERREG)) { + switch (ctrl_inw(PA_VERREG) & 0xf0) { #ifdef CONFIG_RTS7751R2D_PLUS case 0x10: printk(KERN_INFO "Using R2D-PLUS interrupt controller.\n"); @@ -139,13 +139,16 @@ void __init init_rts7751r2d_IRQ(void) break; #endif #ifdef CONFIG_RTS7751R2D_1 - case 0x11: + case 0x00: /* according to manual */ + case 0x30: /* in reality */ printk(KERN_INFO "Using R2D-1 interrupt controller.\n"); d = &intc_desc_r2d_1; memcpy(irl2irq, irl2irq_r2d_1, R2D_NR_IRL); break; #endif default: + printk(KERN_INFO "Unknown R2D interrupt controller 0x%04x\n", + ctrl_inw(PA_VERREG)); return; } |
From: Kristoffer E. <kri...@gm...> - 2007-10-09 18:01:00
|
Sorry, accidently sent the old message again. :( On Tue, 9 Oct 2007 19:12:23 +0900 Paul Mundt <le...@li...> wrote: > On Sun, Oct 07, 2007 at 12:46:48AM -0700, Kristoffer Ericson wrote: > > Since I've been debugging the pcmcia driver, I thought of something > > andriy said 1-2 years ago when pcmcia was buggy. In order for 2.6.17 > > to have working pcmcia we needed to add this patch below. > > > It was probably necessary because it forced all of the MMIO accesses to > the PIO address trapping/fixup that the old hd64461 I/O routines did. The > proper way to fix this is to get the port mapping right in the driver > itself and just stick with regular MMIO accesses. There's no reason why > this _requires_ non-MMIO, so it's purely a convenience thing. Thats what I thought, nice to have it confirmed though. The port mapping should be fixed, so the pcmcia driver most likely suffers from some API change. Before we created a "junk" IRQ by setting irq_desc[].chip = &blabla_type, Im guessing the irq_desc now requires an actual interrupt action now. > > If this actually fixes PCMCIA for you today, then it bears a closer > looking at, but at a quick glance I don't see it having any impact these > days. I tried it and it didn't do anything, so you are quite correct. Thanx for feedback |
From: Kristoffer E. <kri...@gm...> - 2007-10-09 17:57:08
|
Greetings, Since I've been debugging the pcmcia driver, I thought of something andriy said 1-2 years ago when pcmcia was buggy. In order for 2.6.17 to have working pcmcia we needed to add this patch below. Andriy said he knew this wasn't the best way to solve it, but we should use it until he talked to you. Currently this isn't applied to neither jlime-current.git or any other git tree. Could you please give me some quick feedback on why this might be nessecary (or was). I always assumed It would be obselete ones MMIO transition was over. --- linux-2.6.17/include/asm-sh/io.h_orig 2006-09-17 22:52:10.000000000 +0000 +++ linux-2.6.17/include/asm-sh/io.h 2006-09-17 22:54:01.000000000 +0000 @@ -138,17 +138,17 @@ #define readl_relaxed(a) readl(a) /* Simple MMIO */ -#define ioread8(a) readb(a) -#define ioread16(a) readw(a) -#define ioread16be(a) be16_to_cpu(__raw_readw((a))) -#define ioread32(a) readl(a) -#define ioread32be(a) be32_to_cpu(__raw_readl((a))) - -#define iowrite8(v,a) writeb((v),(a)) -#define iowrite16(v,a) writew((v),(a)) -#define iowrite16be(v,a) __raw_writew(cpu_to_be16((v)),(a)) -#define iowrite32(v,a) writel((v),(a)) -#define iowrite32be(v,a) __raw_writel(cpu_to_be32((v)),(a)) +#define ioread8(a) inb(a) +#define ioread16(a) inw(a) +#define ioread16be(a) be16_to_cpu(inw((a))) +#define ioread32(a) inl(a) +#define ioread32be(a) be32_to_cpu(inl((a))) + +#define iowrite8(v,a) outb((v),(a)) +#define iowrite16(v,a) outw((v),(a)) +#define iowrite16be(v,a) outw(cpu_to_be16((v)),(a)) +#define iowrite32(v,a) outl((v),(a)) +#define iowrite32be(v,a) outl(cpu_to_be32((v)),(a)) #define ioread8_rep(a,d,c) insb((a),(d),(c)) #define ioread16_rep(a,d,c) insw((a),(d),(c)) |
From: Paul M. <le...@li...> - 2007-10-09 13:48:12
|
On Tue, Oct 09, 2007 at 09:51:38PM +0900, Magnus Damm wrote: > ax88796: add superh to kconfig depencencies > > This patch adds sh architecture support to the ax88796 kconfig. > > Signed-off-by: Magnus Damm <da...@ig...> Acked-by: Paul Mundt <le...@li...> |
From: Magnus D. <mag...@gm...> - 2007-10-09 12:53:16
|
ax88796: add superh to kconfig depencencies This patch adds sh architecture support to the ax88796 kconfig. Signed-off-by: Magnus Damm <da...@ig...> --- This is a broken out version of the larger patch recently posted to netdev: http://www.mail-archive.com/ne...@vg.../msg47278.html drivers/net/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 0002/drivers/net/Kconfig +++ work/drivers/net/Kconfig 2007-10-09 19:37:27.000000000 +0900 @@ -218,7 +218,7 @@ source "drivers/net/arm/Kconfig" config AX88796 tristate "ASIX AX88796 NE2000 clone support" - depends on ARM || MIPS + depends on ARM || MIPS || SUPERH select CRC32 select MII help |
From: Paul M. <le...@li...> - 2007-10-09 10:12:45
|
On Sun, Oct 07, 2007 at 12:46:48AM -0700, Kristoffer Ericson wrote: > Since I've been debugging the pcmcia driver, I thought of something > andriy said 1-2 years ago when pcmcia was buggy. In order for 2.6.17 > to have working pcmcia we needed to add this patch below. > It was probably necessary because it forced all of the MMIO accesses to the PIO address trapping/fixup that the old hd64461 I/O routines did. The proper way to fix this is to get the port mapping right in the driver itself and just stick with regular MMIO accesses. There's no reason why this _requires_ non-MMIO, so it's purely a convenience thing. If this actually fixes PCMCIA for you today, then it bears a closer looking at, but at a quick glance I don't see it having any impact these days. |
From: Magnus D. <mag...@gm...> - 2007-10-09 09:46:46
|
Hi there, On 10/3/07, Cmmn Ml <cm...@ya...> wrote: > This may not be something interesting to the general community, because > SH7705 is not now widley used. But if someone can give some thoughts, it > will be a great help for me. [snip] > The value 32 is the irq number I'm requesting (which is relevent to IRQ0) > and I don't know what is 7. FYI : I'm setting the priority of IRQ0 as 7 in > IPRC register. > > Were there any known problems in 2.6.16 kernel with IRQ0 in 7705, If anyone > can give some thoughts on this, it'll be a great. I recommend you to use a more recent kernel to begin with. Many things have changed since 2.6.16. I suspect that older kernels didn't provide any masking and unmasking code for IRQ0. There is at least no such code in this old version: http://git.kernel.org/?p=linux/kernel/git/lethal/sh-2.6.git;a=blob;f=arch/sh/kernel/cpu/sh3/setup-sh7705.c;h=a55b8ce2c54c46e156319f674928e36f07bd7f15;hb=68abdbbb03476a60d932eeba0035dd5069afec38 There may be some board specific code that handles IRQ0 though, I'm not sure. But anyway, you need some code that masks and unmasks IRQ0 in IPRC. There is no IRQ0 interrupt in ipr_irq_table above so I suspect it is not supported in older kernels. The new intc tables should support that interrupt source out of the box though. Hope this helps! / magnus |
From: Paul M. <le...@li...> - 2007-10-09 07:03:22
|
On Sat, Oct 06, 2007 at 03:19:10PM +0100, Adrian McMenamin wrote: > On Thu, 2007-10-04 at 19:32 +0900, Paul Mundt wrote: > > On Wed, Sep 12, 2007 at 08:50:33PM +0100, Adrian McMenamin wrote: > > > I don't know if this is just G2 flakiness, but if I start playing sound > > > and then start hotplugging devices then I will sometimes get this sort > > > of oops (these don't down the system but they can make it unstable) - > > > any clues as to what might be the issue (these are now quite old -rc2? > > > kernels...)... just wondering if anybody can see anything obvious? > > > > > > [ 95.916012] Maple bus detaching at (0, 2) > > > [ 96.208858] Unable to handle kernel paging request at virtual address > > > dfff0800 > > > [ 96.215707] pc = 8c00e480 > > > [ 96.218317] *pde = 00000000 > > > [ 96.221194] Oops: 0001 [#1] > > > [ 96.224005] Modules linked in: snd_aica snd_pcm_oss snd_pcm snd_timer > > > snd_page_alloc snd_mixer_oss snd soundcore maple_keyb > > > [ 96.235500] > > > [ 96.237035] Pid : 1842, Comm: [ > > > [ 96.241993] PC is at __copy_user_page+0x28/0x54 > > > > You've faulted on a fixmap slot, perhaps you've hit a race with the page > > colouring code. Can you try with write-through caching enabled? > > Doesn't want to work.... > > 1.689829] BUG: FPU is used in kernel mode. > [ 1.694764] unaligned program counter: 00e0 [#1] > [ 1.700040] Modules linked in: > [ 1.703529] > [ 1.705268] PC : 7bffffff SP : 8c2edbe8 SR : 400080f0 TEA : > 7bffffff unaligned program counter: 00e0 [#2] > [ 1.716833] Modules linked in: > [ 1.720323] A recursive oops even, great. Write-through works fine on all of my 2-way and 4-way set associative dcaches, you're probably the only user of direct-mapped SH caches these days. I'll see if I can dig up a board with a direct-mapped cache or see if this is reproducable with EMODE disabled on 2-way. Does disabling the dcache work for you? |
From: Paul M. <le...@li...> - 2007-10-09 06:59:54
|
On Sat, Oct 06, 2007 at 09:11:08PM +0100, Adrian McMenamin wrote: > On Thu, 2007-10-04 at 19:17 +0900, Paul Mundt wrote: > > On Sat, Sep 15, 2007 at 12:19:07AM +0100, Adrian McMenamin wrote: > > > I have just turned on a whole host of debugging stuff in my kernel and > > > now it won't boot because of the issue below - is this anything I need > > > to formally file? > > > > > > [ 0.186328] ------------[ cut here ]------------ > > > [ 0.191626] Badness at kernel/fork.c:1000 > > > [ 0.196220] > > > [ 0.197930] Pid : 0, Comm: swapper > > > [ 0.203140] PC is at copy_process+0x13d2/0x1bc0 > > > [ 0.208336] PC : 8c017012 SP : 8c2d9e78 SR : 40008101 TEA : > > > 00000000 Not tainted > > > > Ho hum. So according to SR, hardirqs _are_ enabled, but the lockdep > > accounting is confused: > > > > > [ 0.284087] [<8c03d860>] trace_hardirqs_off+0x0/0xa0 > > > > in that they're implied off here. So there's at least something slightly > > broken with the irqflags tracing, it's also broken on SH-2 (in a > > different path completely) whilst attempting to do lock correctness > > proving, so it will need a bit more debugging. > > > > You may just want to disable some of the lockdep related debug options to > > get it booting in the interim. Also, if you could post your .config, it > > would be helpful, as I've not seen this particular badness anywhere. > > I cannot get seem to get this error to reappear, because other ones get > in the way: > > [ 0.195810] Pid : 6, Comm: khelper > [ 0.201013] PC is at resume_userspace+0xc/0x14 Yes, it looks like the lockdep lock proving is unhappy with some of the irqflags trace points. I'm able to reproduce this, so I'll start doing some more debugging on it.. |
From: Adrian M. <ad...@ne...> - 2007-10-07 20:47:07
|
On Mon, 2007-10-08 at 05:39 +0900, Paul Mundt wrote: > At this point you're stuck with doing all of your extensive optimizations > in something like X or DirectFB. It's still worth doing deferred I/O for > bulk page write-out via the DMAC for the framebuffer, which should at > least give you some more bandwidth for things like X and mplayer which > mmap() the device. The problem is that the DMA doesn't work for the framebuffer as such but for the TA. Direct DMA is texture DMA and, afaics - I am still hacking at this when I get the time, which has been in short supply in the last few weeks - that is still about loading in a lot of TA parameters, just not asking the TA to process them. As you suggest, what I am looking at is replacing the generic PIO bitblit etc. Just not convinced it is possible with FP |
From: Paul M. <le...@li...> - 2007-10-07 20:39:45
|
On Fri, Oct 05, 2007 at 11:51:09PM +0100, Adrian McMenamin wrote: > I am still toying with the idea of writing some accelerate 2D stuff for > the Dreamcast PVR2 (essentially using the 3D capabilities to accelerate > 2D). > > But the 3D hardware appears to natively rely on FP maths. > > Is there anyway round this? (As I have always understood SH4 kernel code > does not use FP - though this won't touch the SH4 as such). > > Or is this a classic X11 v kernel issue? > Well, using any FP from the driver itself is certainly not doable. The basic framebuffer optimizations should extend to fast writes (via DMA and so) and not much else. There are fillrect/copyarea/imageblit primitives that you could presumably interface the TA for, but if you can't find a way to do it without FP, then you'll have to stick with the generic implementations. At this point you're stuck with doing all of your extensive optimizations in something like X or DirectFB. It's still worth doing deferred I/O for bulk page write-out via the DMAC for the framebuffer, which should at least give you some more bandwidth for things like X and mplayer which mmap() the device. |
From: Kristoffer E. <kri...@gm...> - 2007-10-06 22:46:58
|
Greetings, Since I've been debugging the pcmcia driver, I thought of something andriy said 1-2 years ago when pcmcia was buggy. In order for 2.6.17 to have working pcmcia we needed to add this patch below. Andriy said he knew this wasn't the best way to solve it, but we should use it until he talked to you. Currently this isn't applied to neither jlime-current.git or any other git tree. Could you please give me some quick feedback on why this might be nessecary (or was). I always assumed It would be obselete ones MMIO transition was over. --- linux-2.6.17/include/asm-sh/io.h_orig 2006-09-17 22:52:10.000000000 +0000 +++ linux-2.6.17/include/asm-sh/io.h 2006-09-17 22:54:01.000000000 +0000 @@ -138,17 +138,17 @@ #define readl_relaxed(a) readl(a) /* Simple MMIO */ -#define ioread8(a) readb(a) -#define ioread16(a) readw(a) -#define ioread16be(a) be16_to_cpu(__raw_readw((a))) -#define ioread32(a) readl(a) -#define ioread32be(a) be32_to_cpu(__raw_readl((a))) - -#define iowrite8(v,a) writeb((v),(a)) -#define iowrite16(v,a) writew((v),(a)) -#define iowrite16be(v,a) __raw_writew(cpu_to_be16((v)),(a)) -#define iowrite32(v,a) writel((v),(a)) -#define iowrite32be(v,a) __raw_writel(cpu_to_be32((v)),(a)) +#define ioread8(a) inb(a) +#define ioread16(a) inw(a) +#define ioread16be(a) be16_to_cpu(inw((a))) +#define ioread32(a) inl(a) +#define ioread32be(a) be32_to_cpu(inl((a))) + +#define iowrite8(v,a) outb((v),(a)) +#define iowrite16(v,a) outw((v),(a)) +#define iowrite16be(v,a) outw(cpu_to_be16((v)),(a)) +#define iowrite32(v,a) outl((v),(a)) +#define iowrite32be(v,a) outl(cpu_to_be32((v)),(a)) #define ioread8_rep(a,d,c) insb((a),(d),(c)) #define ioread16_rep(a,d,c) insw((a),(d),(c)) |
From: Adrian M. <ad...@ne...> - 2007-10-06 20:11:37
|
On Thu, 2007-10-04 at 19:17 +0900, Paul Mundt wrote: > On Sat, Sep 15, 2007 at 12:19:07AM +0100, Adrian McMenamin wrote: > > I have just turned on a whole host of debugging stuff in my kernel and > > now it won't boot because of the issue below - is this anything I need > > to formally file? > > > > [ 0.186328] ------------[ cut here ]------------ > > [ 0.191626] Badness at kernel/fork.c:1000 > > [ 0.196220] > > [ 0.197930] Pid : 0, Comm: swapper > > [ 0.203140] PC is at copy_process+0x13d2/0x1bc0 > > [ 0.208336] PC : 8c017012 SP : 8c2d9e78 SR : 40008101 TEA : > > 00000000 Not tainted > > Ho hum. So according to SR, hardirqs _are_ enabled, but the lockdep > accounting is confused: > > > [ 0.284087] [<8c03d860>] trace_hardirqs_off+0x0/0xa0 > > in that they're implied off here. So there's at least something slightly > broken with the irqflags tracing, it's also broken on SH-2 (in a > different path completely) whilst attempting to do lock correctness > proving, so it will need a bit more debugging. > > You may just want to disable some of the lockdep related debug options to > get it booting in the interim. Also, if you could post your .config, it > would be helpful, as I've not seen this particular badness anywhere. I cannot get seem to get this error to reappear, because other ones get in the way: / # [ 0.000000] Linux version 2.6.23-rc9-g03dd6762-dirty (adrian@bossclass) (gcc version 4.1.1 (STMicroelectronics Special) [build Apr 30 2007]) #696 PRE7 [ 0.000000] console [sercon0] enabled [ 0.000000] Booting machvec: Sega Dreamcast [ 0.000000] Node 0: start_pfn = 0xc000, low = 0xd000 [ 0.000000] Zone PFN ranges: [ 0.000000] Normal 49152 -> 53248 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[1] active PFN ranges [ 0.000000] 0: 49152 -> 53248 [ 0.000000] Built 1 zonelists in Zone order. Total pages: 4064 [ 0.000000] Kernel command line: console=ttySC1 panic=5 root=/dev/nf rw nfsaddrs=192.168.61.55:192.168.61.50:192.168.61.50: earlyprintk=serial video=pvr20 [ 0.000000] PID hash table entries: 64 (order: 6, 256 bytes) [ 0.000000] Using tmu for system timer [ 0.004483] Using 12.469 MHz high precision timer. [ 0.010932] Console: colour dummy device 80x25 [ 0.016351] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.025298] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.030275] ... MAX_LOCK_DEPTH: 30 [ 0.035152] ... MAX_LOCKDEP_KEYS: 2048 [ 0.040227] ... CLASSHASH_SIZE: 1024 [ 0.045401] ... MAX_LOCKDEP_ENTRIES: 8192 [ 0.050476] ... MAX_LOCKDEP_CHAINS: 16384 [ 0.055651] ... CHAINHASH_SIZE: 8192 [ 0.060726] memory used by lock dependency info: 992 kB [ 0.066892] per task-struct memory footprint: 1200 bytes [ 0.073232] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.081150] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.092549] Memory: 11128k/16384k available (2243k kernel code, 620k data, 100k init) [ 0.101598] PVR=040205c1 CVR=00000000 PRR=00000000 [ 0.107174] I-cache : n_ways=1 n_sets=256 way_incr=8192 [ 0.113244] I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2 [ 0.121487] D-cache : n_ways=1 n_sets=512 way_incr=16384 [ 0.127656] D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4 [ 0.157343] Mount-cache hash table entries: 512 [ 0.174248] CPU: SH7750 [ 0.185424] Fault in unaligned fixup: 0000 [#1] [ 0.190604] Modules linked in: [ 0.194100] [ 0.195810] Pid : 6, Comm: khelper [ 0.201013] PC is at resume_userspace+0xc/0x14 [ 0.206099] PC : 8c008170 SP : 8c555f1c SR : 400080f0 TEA : 0000014d Not tainted [ 0.215178] R0 : 00000000 R1 : 0000000a R2 : 8c5523fc R3 : 8c008170 [ 0.222741] R4 : 8c2c1c64 R5 : 8c541ec0 R6 : 00000000 R7 : 8c5523bc [ 0.230303] R8 : 00000145 R9 : 8c555f74 R10 : 00000001 R11 : ffffff0f [ 0.237861] R12 : 0000027c R13 : 00000000 R14 : 8c555f7c [ 0.243935] MACH: 00000000 MACL: 00000000 GBR : 00000000 PR : 8c008170 [ 0.251485] [ 0.251497] Call trace: [ 0.256083] [<8c012a20>] sub_preempt_count+0x0/0xc0 [ 0.261700] [<8c00622a>] kernel_execve+0xa/0x20 [ 0.266906] [<8c02ccf8>] ____call_usermodehelper+0xb8/0x100 [ 0.273313] [<8c003904>] kernel_thread_helper+0x4/0x20 [ 0.279224] [<8c02cc40>] ____call_usermodehelper+0x0/0x100 [ 0.285532] [<8c003900>] kernel_thread_helper+0x0/0x20 [ 0.291433] [ 0.293138] INFO: lockdep is turned off. [ 0.297628] Process: khelper (pid: 6, stack limit = 8c554001) [ 0.304214] Stack: (0x8c555f1c to 0x8c556000) [ 0.309190] 5f00: ffffffda [ 0.318709] 5f20: 8c5348d4 ffffffff 0000000b 8c2c1c64 8c541ec0 8c53cc40 8c012a20 00000504 [ 0.328260] 5f40: 00000000 8c554000 8c524ea0 0000027c 00000000 8c555f7c 8c555f7c 8c00622a [ 0.337809] 5f60: 8c02ccf8 40000000 00000000 00000000 00000000 0000004c 00000160 8c555f80 [ 0.347354] 5f80: 8c003904 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.356889] 5fa0: 00000000 00000000 00000000 00000000 8c524ea0 8c02cc40 00000000 00000000 [ 0.366432] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 8c555fa0 [ 0.375970] 5fe0: 8c003900 00000000 40000000 00000000 00000000 00000000 00000000 00000000 [ 0.386761] Fault in unaligned fixup: 0000 [#2] [ 0.391939] Modules linked in: [ 0.395435] [ 0.397145] Pid : 7, Comm: khelper [ 0.402347] PC is at resume_userspace+0xc/0x14 [ 0.407432] PC : 8c008170 SP : 8c559f1c SR : 400080f1 TEA : 0000014d Tainted: G D [ 0.417109] R0 : 00000000 R1 : 8c558000 R2 : 00000000 R3 : 8c5570e0 [ 0.424674] R4 : 8c2c1c64 R5 : 8c541ef0 R6 : 8c53cc40 R7 : ffffffff [ 0.432236] R8 : 00000145 R9 : 8c559f74 R10 : 00000001 R11 : ffffff0f [ 0.439795] R12 : 0000027c R13 : 00000000 R14 : 8c559f7c [ 0.445869] MACH: 00000000 MACL: 00000000 GBR : 00000000 PR : 8c008170 [ 0.453421] [ 0.453433] Call trace: [ 0.458019] [<8c012a20>] sub_preempt_count+0x0/0xc0 [ 0.463636] [<8c00622a>] kernel_execve+0xa/0x20 [ 0.468842] [<8c02ccf8>] ____call_usermodehelper+0xb8/0x100 [ 0.475248] [<8c003904>] kernel_thread_helper+0x4/0x20 [ 0.481020] [<8c02cc40>] ____call_usermodehelper+0x0/0x100 [ 0.487329] [<8c003900>] kernel_thread_helper+0x0/0x20 [ 0.493229] [ 0.494935] INFO: lockdep is turned off. [ 0.499423] Process: khelper (pid: 7, stack limit = 8c558001) [ 0.505992] Stack: (0x8c559f1c to 0x8c55a000) [ 0.510969] 9f00: ffffffda [ 0.520487] 9f20: 8c5348d4 ffffffff 0000000b 8c2c1c64 8c541ef0 8c53cc40 8c012a20 00000504 [ 0.530038] 9f40: 00000000 8c558000 8c524ea0 0000027c 00000000 8c559f7c 8c559f7c 8c00622a [ 0.539585] 9f60: 8c02ccf8 40000000 00000000 00000000 00000000 0000004c 00000160 8c559f80 [ 0.549130] 9f80: 8c003904 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.558668] 9fa0: 00000000 00000000 00000000 00000000 8c524ea0 8c02cc40 00000000 00000000 [ 0.568209] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 8c559fa0 [ 0.577749] 9fe0: 8c003900 00000000 40000000 00000000 00000000 00000000 00000000 00000000 [ 0.592197] NET: Registered protocol family 16 [ 0.598351] Fault in unaligned fixup: 0000 [#3] [ 0.603530] Modules linked in: [ 0.607026] [ 0.608735] Pid : 8, Comm: khelper [ 0.613938] PC is at resume_userspace+0xc/0x14 [ 0.619026] PC : 8c008170 SP : 8c555f1c SR : 400080f1 TEA : 0000014d Tainted: G D [ 0.628707] R0 : 00000000 R1 : 8c554000 R2 : 00000000 R3 : 8c5520c0 [ 0.636272] R4 : 8c2c1c64 R5 : 8c541ed4 R6 : 8c55db60 R7 : ffffffff [ 0.643834] R8 : 00000145 R9 : 8c555f74 R10 : 00000001 R11 : ffffff0f [ 0.651392] R12 : 0000027c R13 : 00000000 R14 : 8c555f7c [ 0.657465] MACH: 00000000 MACL: 00000000 GBR : 00000000 PR : 8c008170 Here's the .config anyway: # # Automatically generated make config: don't edit # Linux kernel version: 2.6.23-rc9 # Sat Oct 6 20:42:04 2007 # CONFIG_SUPERH=y CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_GENERIC_BUG=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_SYS_SUPPORTS_PCI=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y # CONFIG_ARCH_HAS_ILOG2_U32 is not set # CONFIG_ARCH_HAS_ILOG2_U64 is not set CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y # CONFIG_POSIX_MQUEUE is not set CONFIG_BSD_PROCESS_ACCT=y # CONFIG_BSD_PROCESS_ACCT_V3 is not set # CONFIG_TASKSTATS is not set # CONFIG_USER_NS is not set # CONFIG_AUDIT is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=14 CONFIG_SYSFS_DEPRECATED=y # CONFIG_RELAY is not set # CONFIG_BLK_DEV_INITRD is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y CONFIG_EMBEDDED=y CONFIG_UID16=y # CONFIG_SYSCTL_SYSCALL is not set CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_ANON_INODES=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_SLAB=y # CONFIG_SLUB is not set # CONFIG_SLOB is not set CONFIG_RT_MUTEXES=y # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=0 CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set # CONFIG_MODVERSIONS is not set # CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_KMOD=y CONFIG_BLOCK=y # CONFIG_LBD is not set # CONFIG_BLK_DEV_IO_TRACE is not set # CONFIG_LSF is not set # CONFIG_BLK_DEV_BSG is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y CONFIG_DEFAULT_AS=y # CONFIG_DEFAULT_DEADLINE is not set # CONFIG_DEFAULT_CFQ is not set # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="anticipatory" # # System type # CONFIG_CPU_SH4=y # CONFIG_CPU_SUBTYPE_SH7619 is not set # CONFIG_CPU_SUBTYPE_SH7206 is not set # CONFIG_CPU_SUBTYPE_SH7705 is not set # CONFIG_CPU_SUBTYPE_SH7706 is not set # CONFIG_CPU_SUBTYPE_SH7707 is not set # CONFIG_CPU_SUBTYPE_SH7708 is not set # CONFIG_CPU_SUBTYPE_SH7709 is not set # CONFIG_CPU_SUBTYPE_SH7710 is not set # CONFIG_CPU_SUBTYPE_SH7712 is not set # CONFIG_CPU_SUBTYPE_SH7750 is not set CONFIG_CPU_SUBTYPE_SH7091=y # CONFIG_CPU_SUBTYPE_SH7750R is not set # CONFIG_CPU_SUBTYPE_SH7750S is not set # CONFIG_CPU_SUBTYPE_SH7751 is not set # CONFIG_CPU_SUBTYPE_SH7751R is not set # CONFIG_CPU_SUBTYPE_SH7760 is not set # CONFIG_CPU_SUBTYPE_SH4_202 is not set # CONFIG_CPU_SUBTYPE_ST40STB1 is not set # CONFIG_CPU_SUBTYPE_ST40GX1 is not set # CONFIG_CPU_SUBTYPE_SH7770 is not set # CONFIG_CPU_SUBTYPE_SH7780 is not set # CONFIG_CPU_SUBTYPE_SH7785 is not set # CONFIG_CPU_SUBTYPE_SHX3 is not set # CONFIG_CPU_SUBTYPE_SH7343 is not set # CONFIG_CPU_SUBTYPE_SH7722 is not set # # Memory management options # CONFIG_QUICKLIST=y CONFIG_MMU=y CONFIG_PAGE_OFFSET=0x80000000 CONFIG_MEMORY_START=0x0c000000 CONFIG_MEMORY_SIZE=0x01000000 CONFIG_VSYSCALL=y CONFIG_ARCH_FLATMEM_ENABLE=y CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_SPARSEMEM_DEFAULT=y CONFIG_MAX_ACTIVE_REGIONS=1 CONFIG_ARCH_POPULATES_NODE_MAP=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_PAGE_SIZE_4KB=y # CONFIG_PAGE_SIZE_8KB is not set # CONFIG_PAGE_SIZE_64KB is not set CONFIG_HUGETLB_PAGE_SIZE_64K=y # CONFIG_HUGETLB_PAGE_SIZE_256K is not set # CONFIG_HUGETLB_PAGE_SIZE_1MB is not set # CONFIG_HUGETLB_PAGE_SIZE_4MB is not set # CONFIG_HUGETLB_PAGE_SIZE_64MB is not set CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=y # CONFIG_DISCONTIGMEM_MANUAL is not set # CONFIG_SPARSEMEM_MANUAL is not set CONFIG_FLATMEM=y CONFIG_FLAT_NODE_MEM_MAP=y CONFIG_SPARSEMEM_STATIC=y CONFIG_SPLIT_PTLOCK_CPUS=4 # CONFIG_RESOURCES_64BIT is not set CONFIG_ZONE_DMA_FLAG=0 CONFIG_NR_QUICK=2 # # Cache configuration # CONFIG_SH_DIRECT_MAPPED=y # CONFIG_SH_WRITETHROUGH is not set # # Processor features # CONFIG_CPU_LITTLE_ENDIAN=y # CONFIG_CPU_BIG_ENDIAN is not set CONFIG_SH_FPU=y CONFIG_SH_STORE_QUEUES=y CONFIG_CPU_HAS_INTEVT=y CONFIG_CPU_HAS_INTC_IRQ=y CONFIG_CPU_HAS_SR_RB=y CONFIG_CPU_HAS_PTEA=y # # Board support # CONFIG_SH_DREAMCAST=y # # Timer and clock configuration # CONFIG_SH_TMU=y CONFIG_SH_TIMER_IRQ=16 CONFIG_SH_PCLK_FREQ=49876504 # CONFIG_TICK_ONESHOT is not set # CONFIG_NO_HZ is not set # CONFIG_HIGH_RES_TIMERS is not set # # CPU Frequency scaling # CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=y # CONFIG_CPU_FREQ_DEBUG is not set CONFIG_CPU_FREQ_STAT=y # CONFIG_CPU_FREQ_STAT_DETAILS is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y # CONFIG_CPU_FREQ_GOV_PERFORMANCE is not set CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set # CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set CONFIG_SH_CPU_FREQ=y # # DMA support # CONFIG_SH_DMA_API=y CONFIG_SH_DMA=y CONFIG_NR_ONCHIP_DMA_CHANNELS=4 CONFIG_NR_DMA_CHANNELS_BOOL=y CONFIG_NR_DMA_CHANNELS=9 # # Companion Chips # # # Additional SuperH Device Drivers # # CONFIG_HEARTBEAT is not set # CONFIG_PUSH_SWITCH is not set # # Kernel features # # CONFIG_HZ_100 is not set CONFIG_HZ_250=y # CONFIG_HZ_300 is not set # CONFIG_HZ_1000 is not set CONFIG_HZ=250 # CONFIG_KEXEC is not set # CONFIG_CRASH_DUMP is not set # CONFIG_PREEMPT_NONE is not set # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y CONFIG_PREEMPT_BKL=y # # Boot options # CONFIG_ZERO_PAGE_OFFSET=0x00001000 CONFIG_BOOT_LINK_OFFSET=0x00800000 # CONFIG_UBC_WAKEUP is not set CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE="console=ttySC1 panic=5 root=/dev/nf rw nfsaddrs=192.168.61.55:192.168.61.50:192.168.61.50: earlyprintk=serial video=pvr2fb:640x480-16@60" # # Bus options # CONFIG_MAPLE=y CONFIG_PCI=y CONFIG_SH_PCIDMA_NONCOHERENT=y CONFIG_PCI_AUTO=y # CONFIG_ARCH_SUPPORTS_MSI is not set # CONFIG_PCI_DEBUG is not set # # PCCARD (PCMCIA/CardBus) support # # CONFIG_PCCARD is not set # CONFIG_HOTPLUG_PCI is not set # # Executable file formats # CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_MISC is not set # # Networking # CONFIG_NET=y # # Networking options # CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set CONFIG_UNIX=y # CONFIG_NET_KEY is not set CONFIG_INET=y # CONFIG_IP_MULTICAST is not set # CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_FIB_HASH=y CONFIG_IP_PNP=y CONFIG_IP_PNP_DHCP=y # CONFIG_IP_PNP_BOOTP is not set # CONFIG_IP_PNP_RARP is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_ARPD is not set # CONFIG_SYN_COOKIES is not set # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set # CONFIG_INET_XFRM_TUNNEL is not set # CONFIG_INET_TUNNEL is not set # CONFIG_INET_XFRM_MODE_TRANSPORT is not set # CONFIG_INET_XFRM_MODE_TUNNEL is not set # CONFIG_INET_XFRM_MODE_BEET is not set # CONFIG_INET_DIAG is not set # CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic" # CONFIG_TCP_MD5SIG is not set # CONFIG_IPV6 is not set # CONFIG_INET6_XFRM_TUNNEL is not set # CONFIG_INET6_TUNNEL is not set # CONFIG_NETWORK_SECMARK is not set # CONFIG_NETFILTER is not set # CONFIG_IP_DCCP is not set # CONFIG_IP_SCTP is not set # CONFIG_TIPC is not set # CONFIG_ATM is not set # CONFIG_BRIDGE is not set # CONFIG_VLAN_8021Q is not set # CONFIG_DECNET is not set # CONFIG_LLC2 is not set # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set # # QoS and/or fair queueing # # CONFIG_NET_SCHED is not set # # Network testing # # CONFIG_NET_PKTGEN is not set # CONFIG_HAMRADIO is not set # CONFIG_IRDA is not set # CONFIG_BT is not set # CONFIG_AF_RXRPC is not set # # Wireless # # CONFIG_CFG80211 is not set # 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 # # Device Drivers # # # Generic Driver Options # # CONFIG_STANDALONE is not set CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FW_LOADER=y # CONFIG_DEBUG_DRIVER is not set # CONFIG_DEBUG_DEVRES is not set # CONFIG_SYS_HYPERVISOR is not set # CONFIG_CONNECTOR is not set # CONFIG_MTD is not set # CONFIG_PARPORT is not set CONFIG_BLK_DEV=y # CONFIG_BLK_CPQ_CISS_DA is not set # CONFIG_BLK_DEV_DAC960 is not set # CONFIG_BLK_DEV_UMEM is not set # CONFIG_BLK_DEV_COW_COMMON is not set # CONFIG_BLK_DEV_LOOP is not set # CONFIG_BLK_DEV_NBD is not set # CONFIG_BLK_DEV_SX8 is not set # CONFIG_BLK_DEV_RAM is not set # CONFIG_CDROM_PKTCDVD is not set # CONFIG_ATA_OVER_ETH is not set # CONFIG_MISC_DEVICES is not set # CONFIG_IDE is not set # # SCSI device support # # CONFIG_RAID_ATTRS is not set # CONFIG_SCSI is not set # CONFIG_SCSI_DMA is not set # CONFIG_SCSI_NETLINK is not set # CONFIG_ATA is not set # CONFIG_MD is not set # # Fusion MPT device support # # CONFIG_FUSION is not set # # IEEE 1394 (FireWire) support # # CONFIG_FIREWIRE is not set # CONFIG_IEEE1394 is not set # CONFIG_I2O is not set CONFIG_NETDEVICES=y # CONFIG_NETDEVICES_MULTIQUEUE is not set # CONFIG_DUMMY is not set # CONFIG_BONDING is not set # CONFIG_MACVLAN is not set # CONFIG_EQUALIZER is not set # CONFIG_TUN is not set # CONFIG_ARCNET is not set # CONFIG_PHYLIB is not set CONFIG_NET_ETHERNET=y CONFIG_MII=y # CONFIG_STNIC is not set # CONFIG_HAPPYMEAL is not set # CONFIG_SUNGEM is not set # CONFIG_CASSINI is not set # CONFIG_NET_VENDOR_3COM is not set # CONFIG_SMC91X is not set # CONFIG_NET_TULIP is not set # CONFIG_HP100 is not set CONFIG_NET_PCI=y # CONFIG_PCNET32 is not set # CONFIG_AMD8111_ETH is not set # CONFIG_ADAPTEC_STARFIRE is not set # CONFIG_B44 is not set # CONFIG_FORCEDETH is not set # CONFIG_DGRS is not set # CONFIG_EEPRO100 is not set # CONFIG_E100 is not set # CONFIG_FEALNX is not set # CONFIG_NATSEMI is not set # CONFIG_NE2K_PCI is not set # CONFIG_8139CP is not set CONFIG_8139TOO=y # CONFIG_8139TOO_PIO is not set # CONFIG_8139TOO_TUNE_TWISTER is not set # CONFIG_8139TOO_8129 is not set # CONFIG_8139_OLD_RX_RESET is not set # CONFIG_SIS900 is not set # CONFIG_EPIC100 is not set # CONFIG_SUNDANCE is not set # CONFIG_TLAN is not set # CONFIG_VIA_RHINE is not set # CONFIG_SC92031 is not set # CONFIG_NETDEV_1000 is not set # CONFIG_NETDEV_10000 is not set # CONFIG_TR is not set # # Wireless LAN # # CONFIG_WLAN_PRE80211 is not set # CONFIG_WLAN_80211 is not set # CONFIG_WAN is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set # CONFIG_PPP is not set # CONFIG_SLIP is not set # CONFIG_SHAPER is not set # CONFIG_NETCONSOLE is not set # CONFIG_NETPOLL is not set # CONFIG_NET_POLL_CONTROLLER is not set # CONFIG_ISDN is not set # CONFIG_PHONE is not set # # Input device support # CONFIG_INPUT=y # CONFIG_INPUT_FF_MEMLESS is not set # CONFIG_INPUT_POLLDEV is not set # # Userland interfaces # # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_JOYDEV is not set # CONFIG_INPUT_TSDEV is not set # CONFIG_INPUT_EVDEV is not set # CONFIG_INPUT_EVBUG is not set # # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y # CONFIG_KEYBOARD_ATKBD is not set # CONFIG_KEYBOARD_SUNKBD is not set # CONFIG_KEYBOARD_LKKBD is not set # CONFIG_KEYBOARD_XTKBD is not set # CONFIG_KEYBOARD_NEWTON is not set # CONFIG_KEYBOARD_STOWAWAY is not set CONFIG_KEYBOARD_MAPLE=y # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_TABLET is not set # CONFIG_INPUT_TOUCHSCREEN is not set # CONFIG_INPUT_MISC is not set # # Hardware I/O ports # CONFIG_SERIO=y # CONFIG_SERIO_I8042 is not set # CONFIG_SERIO_SERPORT is not set # CONFIG_SERIO_PCIPS2 is not set CONFIG_SERIO_LIBPS2=y # CONFIG_SERIO_RAW is not set # CONFIG_GAMEPORT is not set # # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set # CONFIG_SERIAL_NONSTANDARD is not set # # Serial drivers # # CONFIG_SERIAL_8250 is not set # # Non-8250 serial port support # CONFIG_SERIAL_SH_SCI=y CONFIG_SERIAL_SH_SCI_NR_UARTS=2 CONFIG_SERIAL_SH_SCI_CONSOLE=y CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y # CONFIG_SERIAL_JSM is not set CONFIG_UNIX98_PTYS=y CONFIG_LEGACY_PTYS=y CONFIG_LEGACY_PTY_COUNT=256 # CONFIG_IPMI_HANDLER is not set CONFIG_WATCHDOG=y # CONFIG_WATCHDOG_NOWAYOUT is not set # # Watchdog Device Drivers # # CONFIG_SOFT_WATCHDOG is not set CONFIG_SH_WDT=y # CONFIG_SH_WDT_MMAP is not set # # PCI-based Watchdog Cards # # CONFIG_PCIPCWATCHDOG is not set # CONFIG_WDTPCI is not set CONFIG_HW_RANDOM=y # CONFIG_R3964 is not set # CONFIG_APPLICOM is not set # CONFIG_DRM is not set # CONFIG_RAW_DRIVER is not set # CONFIG_TCG_TPM is not set CONFIG_DEVPORT=y # CONFIG_I2C is not set # # SPI support # # CONFIG_SPI is not set # CONFIG_SPI_MASTER is not set # CONFIG_W1 is not set # CONFIG_POWER_SUPPLY is not set # CONFIG_HWMON is not set # # Multifunction device drivers # # CONFIG_MFD_SM501 is not set # # Multimedia devices # # CONFIG_VIDEO_DEV is not set # CONFIG_DVB_CORE is not set # CONFIG_DAB is not set # # Graphics support # # CONFIG_BACKLIGHT_LCD_SUPPORT is not set # # Display device support # # CONFIG_DISPLAY_SUPPORT is not set # CONFIG_VGASTATE is not set CONFIG_VIDEO_OUTPUT_CONTROL=m CONFIG_FB=y CONFIG_FIRMWARE_EDID=y # CONFIG_FB_DDC is not set CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y # CONFIG_FB_SYS_FILLRECT is not set # CONFIG_FB_SYS_COPYAREA is not set # CONFIG_FB_SYS_IMAGEBLIT is not set # CONFIG_FB_SYS_FOPS is not set CONFIG_FB_DEFERRED_IO=y # CONFIG_FB_SVGALIB is not set # CONFIG_FB_MACMODES is not set # CONFIG_FB_BACKLIGHT is not set # CONFIG_FB_MODE_HELPERS is not set # CONFIG_FB_TILEBLITTING is not set # # Frame buffer hardware drivers # # CONFIG_FB_CIRRUS is not set # CONFIG_FB_PM2 is not set # CONFIG_FB_CYBER2000 is not set # CONFIG_FB_ASILIANT is not set # CONFIG_FB_IMSTT is not set CONFIG_FB_PVR2=y # CONFIG_FB_S1D13XXX is not set # CONFIG_FB_NVIDIA is not set # CONFIG_FB_RIVA is not set # CONFIG_FB_MATROX is not set # CONFIG_FB_RADEON is not set # CONFIG_FB_ATY128 is not set # CONFIG_FB_ATY is not set # CONFIG_FB_S3 is not set # CONFIG_FB_SAVAGE is not set # CONFIG_FB_SIS is not set # CONFIG_FB_NEOMAGIC is not set # CONFIG_FB_KYRO is not set # CONFIG_FB_3DFX is not set # CONFIG_FB_VOODOO1 is not set # CONFIG_FB_VT8623 is not set # CONFIG_FB_TRIDENT is not set # CONFIG_FB_ARK is not set # CONFIG_FB_PM3 is not set # CONFIG_FB_VIRTUAL is not set # # Console display driver support # CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set # CONFIG_FONTS is not set CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y CONFIG_LOGO=y # CONFIG_LOGO_LINUX_MONO is not set # CONFIG_LOGO_LINUX_VGA16 is not set # CONFIG_LOGO_LINUX_CLUT224 is not set # CONFIG_LOGO_SUPERH_MONO is not set # CONFIG_LOGO_SUPERH_VGA16 is not set CONFIG_LOGO_SUPERH_CLUT224=y # # Sound # CONFIG_SOUND=m # # Advanced Linux Sound Architecture # CONFIG_SND=m CONFIG_SND_TIMER=m CONFIG_SND_PCM=m # CONFIG_SND_SEQUENCER is not set CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=m CONFIG_SND_PCM_OSS=m CONFIG_SND_PCM_OSS_PLUGINS=y # CONFIG_SND_DYNAMIC_MINORS is not set # CONFIG_SND_SUPPORT_OLD_API is not set CONFIG_SND_VERBOSE_PROCFS=y # CONFIG_SND_VERBOSE_PRINTK is not set # CONFIG_SND_DEBUG is not set # # Generic devices # # CONFIG_SND_DUMMY is not set # CONFIG_SND_MTPAV is not set # CONFIG_SND_SERIAL_U16550 is not set # CONFIG_SND_MPU401 is not set # # PCI devices # # CONFIG_SND_AD1889 is not set # CONFIG_SND_ALS300 is not set # CONFIG_SND_ALI5451 is not set # CONFIG_SND_ATIIXP is not set # CONFIG_SND_ATIIXP_MODEM is not set # CONFIG_SND_AU8810 is not set # CONFIG_SND_AU8820 is not set # CONFIG_SND_AU8830 is not set # CONFIG_SND_AZT3328 is not set # CONFIG_SND_BT87X is not set # CONFIG_SND_CA0106 is not set # CONFIG_SND_CMIPCI is not set # CONFIG_SND_CS4281 is not set # CONFIG_SND_CS46XX is not set # CONFIG_SND_DARLA20 is not set # CONFIG_SND_GINA20 is not set # CONFIG_SND_LAYLA20 is not set # CONFIG_SND_DARLA24 is not set # CONFIG_SND_GINA24 is not set # CONFIG_SND_LAYLA24 is not set # CONFIG_SND_MONA is not set # CONFIG_SND_MIA is not set # CONFIG_SND_ECHO3G is not set # CONFIG_SND_INDIGO is not set # CONFIG_SND_INDIGOIO is not set # CONFIG_SND_INDIGODJ is not set # CONFIG_SND_EMU10K1 is not set # CONFIG_SND_EMU10K1X is not set # CONFIG_SND_ENS1370 is not set # CONFIG_SND_ENS1371 is not set # CONFIG_SND_ES1938 is not set # CONFIG_SND_ES1968 is not set # CONFIG_SND_FM801 is not set # CONFIG_SND_HDA_INTEL is not set # CONFIG_SND_HDSP is not set # CONFIG_SND_HDSPM is not set # CONFIG_SND_ICE1712 is not set # CONFIG_SND_ICE1724 is not set # CONFIG_SND_INTEL8X0 is not set # CONFIG_SND_INTEL8X0M is not set # CONFIG_SND_KORG1212 is not set # CONFIG_SND_MAESTRO3 is not set # CONFIG_SND_MIXART is not set # CONFIG_SND_NM256 is not set # CONFIG_SND_PCXHR is not set # CONFIG_SND_RIPTIDE is not set # CONFIG_SND_RME32 is not set # CONFIG_SND_RME96 is not set # CONFIG_SND_RME9652 is not set # CONFIG_SND_SONICVIBES is not set # CONFIG_SND_TRIDENT is not set # CONFIG_SND_VIA82XX is not set # CONFIG_SND_VIA82XX_MODEM is not set # CONFIG_SND_VX222 is not set # CONFIG_SND_YMFPCI is not set # # SUPERH devices # CONFIG_SND_AICA=m # # System on Chip audio support # # CONFIG_SND_SOC is not set # # SoC Audio support for SuperH # # # Open Sound System # # CONFIG_SOUND_PRIME is not set # CONFIG_HID_SUPPORT is not set # CONFIG_USB_SUPPORT is not set # CONFIG_MMC is not set # CONFIG_NEW_LEDS is not set # CONFIG_INFINIBAND is not set # CONFIG_RTC_CLASS is not set # # DMA Engine support # # CONFIG_DMA_ENGINE is not set # # DMA Clients # # # DMA Devices # # # Userspace I/O # # CONFIG_UIO is not set # # File systems # # CONFIG_EXT2_FS is not set # CONFIG_EXT3_FS is not set # CONFIG_EXT4DEV_FS is not set # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set CONFIG_FS_POSIX_ACL=y # CONFIG_XFS_FS is not set # CONFIG_GFS2_FS is not set # CONFIG_OCFS2_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_ROMFS_FS is not set # CONFIG_INOTIFY is not set # CONFIG_QUOTA is not set # CONFIG_DNOTIFY is not set # CONFIG_AUTOFS_FS is not set # CONFIG_AUTOFS4_FS is not set # CONFIG_FUSE_FS is not set # # CD-ROM/DVD Filesystems # # CONFIG_ISO9660_FS is not set # CONFIG_UDF_FS is not set # # DOS/FAT/NT Filesystems # # CONFIG_MSDOS_FS is not set # CONFIG_VFAT_FS is not set # CONFIG_NTFS_FS is not set # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y CONFIG_PROC_SYSCTL=y CONFIG_SYSFS=y CONFIG_TMPFS=y # CONFIG_TMPFS_POSIX_ACL is not set CONFIG_HUGETLBFS=y CONFIG_HUGETLB_PAGE=y CONFIG_RAMFS=y # CONFIG_CONFIGFS_FS is not set # # Miscellaneous filesystems # # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set # CONFIG_HFSPLUS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set # CONFIG_CRAMFS is not set # CONFIG_VXFS_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set # # Network File Systems # CONFIG_NFS_FS=y CONFIG_NFS_V3=y CONFIG_NFS_V3_ACL=y CONFIG_NFS_V4=y # CONFIG_NFS_DIRECTIO is not set # CONFIG_NFSD is not set CONFIG_ROOT_NFS=y CONFIG_LOCKD=y CONFIG_LOCKD_V4=y CONFIG_NFS_ACL_SUPPORT=y CONFIG_NFS_COMMON=y CONFIG_SUNRPC=y CONFIG_SUNRPC_GSS=y # CONFIG_SUNRPC_BIND34 is not set CONFIG_RPCSEC_GSS_KRB5=y # CONFIG_RPCSEC_GSS_SPKM3 is not set # CONFIG_SMB_FS is not set # CONFIG_CIFS is not set # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set # # Partition Types # # CONFIG_PARTITION_ADVANCED is not set CONFIG_MSDOS_PARTITION=y # # Native Language Support # # CONFIG_NLS is not set # # Distributed Lock Manager # # CONFIG_DLM is not set # # Profiling support # # CONFIG_PROFILING is not set # # Kernel hacking # CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_PRINTK_TIME=y # CONFIG_ENABLE_MUST_CHECK is not set # CONFIG_MAGIC_SYSRQ is not set # CONFIG_UNUSED_SYMBOLS is not set # CONFIG_DEBUG_FS is not set # CONFIG_HEADERS_CHECK is not set CONFIG_DEBUG_KERNEL=y # CONFIG_DEBUG_SHIRQ is not set # CONFIG_DETECT_SOFTLOCKUP is not set # CONFIG_SCHED_DEBUG is not set # CONFIG_SCHEDSTATS is not set # CONFIG_TIMER_STATS is not set # CONFIG_DEBUG_SLAB is not set CONFIG_DEBUG_PREEMPT=y # CONFIG_DEBUG_RT_MUTEXES is not set # CONFIG_RT_MUTEX_TESTER is not set CONFIG_DEBUG_SPINLOCK=y CONFIG_DEBUG_MUTEXES=y CONFIG_DEBUG_LOCK_ALLOC=y CONFIG_PROVE_LOCKING=y CONFIG_LOCKDEP=y # CONFIG_LOCK_STAT is not set # CONFIG_DEBUG_LOCKDEP is not set CONFIG_TRACE_IRQFLAGS=y CONFIG_DEBUG_SPINLOCK_SLEEP=y # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set CONFIG_STACKTRACE=y # CONFIG_DEBUG_KOBJECT is not set CONFIG_DEBUG_BUGVERBOSE=y CONFIG_DEBUG_INFO=y # CONFIG_DEBUG_VM is not set # CONFIG_DEBUG_LIST is not set CONFIG_FRAME_POINTER=y CONFIG_FORCED_INLINING=y # CONFIG_RCU_TORTURE_TEST is not set # CONFIG_FAULT_INJECTION is not set # CONFIG_SH_STANDARD_BIOS is not set CONFIG_EARLY_SCIF_CONSOLE=y CONFIG_EARLY_SCIF_CONSOLE_PORT=0xffe80000 CONFIG_EARLY_PRINTK=y # CONFIG_DEBUG_BOOTMEM is not set # CONFIG_DEBUG_STACKOVERFLOW is not set # CONFIG_DEBUG_STACK_USAGE is not set # CONFIG_4KSTACKS is not set # CONFIG_SH_KGDB is not set # # Security options # # CONFIG_KEYS is not set # CONFIG_SECURITY is not set CONFIG_CRYPTO=y CONFIG_CRYPTO_ALGAPI=y CONFIG_CRYPTO_BLKCIPHER=y CONFIG_CRYPTO_MANAGER=y # CONFIG_CRYPTO_HMAC is not set # CONFIG_CRYPTO_XCBC is not set # CONFIG_CRYPTO_NULL is not set # CONFIG_CRYPTO_MD4 is not set CONFIG_CRYPTO_MD5=y # CONFIG_CRYPTO_SHA1 is not set # CONFIG_CRYPTO_SHA256 is not set # CONFIG_CRYPTO_SHA512 is not set # CONFIG_CRYPTO_WP512 is not set # CONFIG_CRYPTO_TGR192 is not set # CONFIG_CRYPTO_GF128MUL is not set # CONFIG_CRYPTO_ECB is not set CONFIG_CRYPTO_CBC=y # CONFIG_CRYPTO_PCBC is not set # CONFIG_CRYPTO_LRW is not set # CONFIG_CRYPTO_CRYPTD is not set CONFIG_CRYPTO_DES=y # CONFIG_CRYPTO_FCRYPT is not set # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_TWOFISH is not set # CONFIG_CRYPTO_SERPENT is not set # CONFIG_CRYPTO_AES is not set # CONFIG_CRYPTO_CAST5 is not set # CONFIG_CRYPTO_CAST6 is not set # CONFIG_CRYPTO_TEA is not set # CONFIG_CRYPTO_ARC4 is not set # CONFIG_CRYPTO_KHAZAD is not set # CONFIG_CRYPTO_ANUBIS is not set # CONFIG_CRYPTO_DEFLATE is not set # CONFIG_CRYPTO_MICHAEL_MIC is not set # CONFIG_CRYPTO_CRC32C is not set # CONFIG_CRYPTO_CAMELLIA is not set # CONFIG_CRYPTO_TEST is not set # CONFIG_CRYPTO_HW is not set # # Library routines # CONFIG_BITREVERSE=y # CONFIG_CRC_CCITT is not set # CONFIG_CRC16 is not set # CONFIG_CRC_ITU_T is not set CONFIG_CRC32=y # CONFIG_CRC7 is not set # CONFIG_LIBCRC32C is not set CONFIG_PLIST=y CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAS_DMA=y |
From: Kristoffer E. <kri...@gm...> - 2007-10-06 19:50:40
|
Greetings, Well, I've gotten a better graps of the problem. Here's how it should work : please note that Im not if demux runs before or after Int 78 (I presume before). Card inserted -> Int 36 (HD64461) -> demux -> Int 78 -> demux -> Int 79 -> Interrupt -> disable IRQ Int 78 is set using request_irq while Int 79 just sets irq_desc[79] = &hd64461_ss_type; to manage disable IRQ. Now, I cannot register 79 as a proper IRQ, since the dev_id would be the same(?). Best wishes Kristoffer Ericson On Fri, 5 Oct 2007 19:29:02 -0700 Kristoffer Ericson <Kri...@gm...> wrote: > Greetings, > > Thoughts appreciated. > > IRQ 36 is main hd64461 IRQ (all IRQ between 64->80 ends up here) > IRQ 78 is setup to be used as a pcmcia_bridge. > IRQ 79 is aquired to handle PCMCIA events. > > A demux is put in place to take 78 IRQ's (since that is basicly the only thing that will happen) and transform them > into 79 IF interrupt was generated by pcmcia change. > > extracts from code: > note. irq = 78, io_irq = 79, irq_flags = IRQF_DISABLED > > request_irq(irq, hd64461_interrupt, irq_flags, "hd64461_ss-irq",sp)) > irq_desc[io_irq].chip = &hd64461_ss_irq_type; > hd64461_register_irq_demux(sp->irq, hd64461_pcmcia_irq_demux, sp); > > Now whenever I insert a pcmcia card I get: > 'unexpected IRQ trap at vector 4f' > 'irq 79, desc:8d2b8a20, depth 1, count: 0, unhandled: 0' > 'handle_irq(): 8d031180, handle_bad_irq+0x0/0x2d0' > 'chip(): 9d2e2af8, 0x8d2e2af8' > 'action() : 00000000' > 'IRQ_DISABLED set' > > Due to printk's I can see that it did run through the hd64461_pcmcia_irq_demux and there quite correctly made 78 -> 79. > > /Kristoffer > > |
From: Adrian M. <ad...@ne...> - 2007-10-06 14:19:37
|
On Thu, 2007-10-04 at 19:32 +0900, Paul Mundt wrote: > On Wed, Sep 12, 2007 at 08:50:33PM +0100, Adrian McMenamin wrote: > > I don't know if this is just G2 flakiness, but if I start playing sound > > and then start hotplugging devices then I will sometimes get this sort > > of oops (these don't down the system but they can make it unstable) - > > any clues as to what might be the issue (these are now quite old -rc2? > > kernels...)... just wondering if anybody can see anything obvious? > > > > [ 95.916012] Maple bus detaching at (0, 2) > > [ 96.208858] Unable to handle kernel paging request at virtual address > > dfff0800 > > [ 96.215707] pc = 8c00e480 > > [ 96.218317] *pde = 00000000 > > [ 96.221194] Oops: 0001 [#1] > > [ 96.224005] Modules linked in: snd_aica snd_pcm_oss snd_pcm snd_timer > > snd_page_alloc snd_mixer_oss snd soundcore maple_keyb > > [ 96.235500] > > [ 96.237035] Pid : 1842, Comm: [ > > [ 96.241993] PC is at __copy_user_page+0x28/0x54 > > You've faulted on a fixmap slot, perhaps you've hit a race with the page > colouring code. Can you try with write-through caching enabled? Doesn't want to work.... 1.689829] BUG: FPU is used in kernel mode. [ 1.694764] unaligned program counter: 00e0 [#1] [ 1.700040] Modules linked in: [ 1.703529] [ 1.705268] PC : 7bffffff SP : 8c2edbe8 SR : 400080f0 TEA : 7bffffff unaligned program counter: 00e0 [#2] [ 1.716833] Modules linked in: [ 1.720323] [ 1.722061] PC : 7bffffff SP : 8c2ed954 SR : 400080f0 TEA : 7bffffff unaligned program counter: 00e0 [#3] [ 1.733627] Modules linked in: [ 1.737116] [ 1.738853] PC : 7bffffff SP : 8c2ed6c0 SR : 400080f0 TEA : 7bffffff unaligned program counter: 00e0 [#4] [ 1.750418] Modules linked in: [ 1.753908] [ 1.755647] PC : 7bffffff SP : 8c2ed42c SR : 400080f0 TEA : 7bffffff unaligned program counter: 00e0 [#5] [ 1.767214] Modules linked in: [ 1.770703] [ 1.772441] PC : 7bffffff SP : 8c2ed198 SR : 400080f0 TEA : 7bffffff unaligned program counter: 00e0 [#6] [ 1.784008] Modules linked in: [ 1.787497] [ 1.789234] PC : 7bffffff SP : 8c2ecf04 SR : 400080f0 TEA : 7bffffff unaligned program counter: 00e0 [#7] [ 1.800798] Modules linked in: [ 1.804287] [ 1.806024] PC : 7bffffff SP : 8c2ecc70 SR : 400080f0 TEA : 7bffffff unaligned program counter: 00e0 [#8] [ 1.817590] Modules linked in: [ 1.821080] [ 1.822817] PC : 7bffffff SP : 8c2ec9dc SR : 400080f0 TEA : 7bffffff unaligned program counter: 00e0 [#9] [ 1.834383] Modules linked in: [ 1.837872] [ 1.839608] PC : 7bffffff SP : 8c2ec748 SR : 400080f0 TEA : 7bffffff unaligned program counter: 00e0 [#10] [ 1.851272] Modules linked in: [ 1.854762] [ 1.856498] PC : 7bffffff SP : 8c2ec4b4 SR : 400080f0 TEA : 7bffffff unaligned program counter: 00e0 [#11] [ 1.868164] Modules linked in: [ 1.871653] [ 1.873393] PC : 7bffffff SP : 8c2ec220 SR : 400080f0 TEA : 7bffffff insn faulting in do_address_error: 0000 [#12] [ 1.885857] Modules linked in: [ 1.889351] [ 1.891075] insn faulting in do_address_error: 0000 [#13] [ 1.897249] Modules linked in: [ 1.900744] [ 1.902469] insn faulting in do_address_error: 0000 [#14] [ 1.908642] Modules linked in: [ 1.912136] [ 1.913860] insn faulting in do_address_error: 0000 [#15] [ 1.920034] Modules linked in: [ 1.923529] [ 1.925254] insn faulting in do_address_error: 0000 [#16] [ 1.931426] Modules linked in: [ 1.934920] [ 1.936644] insn faulting in do_address_error: 0000 [#17] [ 1.942816] Modules linked in: [ 1.946310] [ 1.948033] insn faulting in do_address_error: 0000 [#18] [ 1.954205] Modules linked in: [ 1.957699] [ 1.959423] insn faulting in do_address_error: 0000 [#19] [ 1.965595] Modules linked in: and so on... |
From: Adrian M. <lkm...@gm...> - 2007-10-06 13:56:04
|
Typed the wrong address first time... ---------- Forwarded message ---------- From: Adrian McMenamin <lkm...@gm...> Date: 6 Oct 2007 14:52 Subject: [PATCH] Fix SH4 DMAC API To: Paul Mundt <le...@li...> Cc: lin...@vg..., lin...@so... This patch fixes the DMA cascade by masking the correct bits. Tested and working with Dreamcast PVR2 DMA. With this patch applied the existing mainline code in arch/sh/drivers/dma/dma-sh.c works, whereas before I was patching that to get round this problem. Signed-off by: Adrian McMenamin <ad...@mc...> diff --git a/include/asm-sh/cpu-sh4/dma.h b/include/asm-sh/cpu-sh4/dma.h index 36e26a9..aaf71b0 100644 --- a/include/asm-sh/cpu-sh4/dma.h +++ b/include/asm-sh/cpu-sh4/dma.h @@ -31,7 +31,7 @@ #define TS_32 0x00000030 #define TS_64 0x00000000 -#define CHCR_TS_MASK 0x30 +#define CHCR_TS_MASK 0x70 #define CHCR_TS_SHIFT 4 #define DMAOR_COD 0x00000008 |
From: Adrian M. <ad...@ne...> - 2007-10-05 22:51:46
|
I am still toying with the idea of writing some accelerate 2D stuff for the Dreamcast PVR2 (essentially using the 3D capabilities to accelerate 2D). But the 3D hardware appears to natively rely on FP maths. Is there anyway round this? (As I have always understood SH4 kernel code does not use FP - though this won't touch the SH4 as such). Or is this a classic X11 v kernel issue? |