config
docs
include
package
scripts
target
imagebuilder
linux
adm5120
adm8668
amazon
ar7
ar71xx
arc770
archs38
arm64
at91
ath25
atheros
au1000
avr32
bcm53xx
brcm2708
brcm47xx
brcm63xx
cns21xx
cns3xxx
cobalt
coldfire
image
patches
001-Coldfire-architecture-support-in-Linux-2.6.38.patch
002-MCF54451-and-MCF54455-support-in-Linux-2.6.38.patch
003-MCF547x-and-MCF548x-support-in-Linux-2.6.38.patch
004-MCF54418-support-in-Linux-2.6.38.patch
005-Add-serial-driver-and-irda-driver-support-for-MCF544.patch
006-Add-FEC-driver-support-for-MCF5445x-MCF5441x-MCF547x.patch
007-Add-eDMA-support-for-MCF5445x.patch
008-Add-DSPI-driver-support-for-MCF5445x-MCF5441x.patch
009-Add-ALSA-driver-for-MCF5445x.patch
010-Add-SRAM-char-device-driver-support-for-MCF5445x.patch
011-Add-CAU-driver-for-MCF5445x-and-MCF5441x.patch
012-Add-vDSO-support-for-Coldfire-platform.patch
013-Add-MCD-DMA-driver-for-MCF547x-MCF548x.patch
014-Add-CFV4E-FPU-support-for-MCF547x-MCF548x.patch
015-Add-driver-to-support-ten-UART-devices-on-MCF5441x.patch
016-Add-nand-driver-support-for-M54418TWR-board.patch
017-Add-cpu-dma-sync-function-for-coldfire-platform.patch
018-Add-SSD1289-TFT-LCD-framebuffer-driver-on-TWR-MCF544.patch
019-Fix-the-format-field-for-the-Coldfire-exception-fram.patch
020-Add-dual-FEC-1588-timer-support.patch
021-Add-ethernet-switch-driver-for-MCF54418.patch
022-Redefine-I-O-read-and-write-functions.patch
023-Replace-readl-and-writel-for-FEC-driver.patch
024-Add-SEC-1.1-support-for-MCF547x-and-MCF548x.patch
025-Add-I2C-driver-for-MCF5445x-MCF547x-MCF548x.patch
026-Add-RTC-driver-support-for-MCF5445x.patch
027-Add-RTC-driver-support-on-MCF5441x-platform.patch
028-Add-SD-MMC-SDIO-over-SPI-support-for-MCF54451-and-MC.patch
029-Add-eSDHC-driver-for-MCF5441x.patch
030-Add-SPI-device-configuration-for-FXS-and-FXO-on-MCF5.patch
031-Add-watchdog-driver-support-for-MCF5445x-and-MCF547x.patch
032-Change-some-jffs2-warning-to-debug-info.patch
033-Fix-structure-fsl_ssd1289_data-definition-bug-for-SS.patch
034-Enable-the-NFC-driver-for-soft_ecc.patch
036-Add-FlexCAN-support-on-ColdFire-M548X-M54418-platfor.patch
037-Add-ColdFire-MCF54455-PATA-interface-support.patch
038-Add-PCI-Framebuffer-support-for-Silicon-Motion-s-Lyn.patch
039-Add-PCI-bus-driver-for-M54455EVB-and-M547X_8X.patch
040-Add-USB-support-for-MCF5445x-and-MCF54418.patch
041-Fix-CAU-driver-bug-for-SHA1-digest-algorithm.patch
042-Fix-NEED_MULTIPLE_NODES-unmet-direct-dependencies-wa.patch
043-workaround-for-zero-page-used-on-ColdFire-platform.patch
044-Fix-Max3353-otg-toggle-bug.patch
045-Add-high-resolution-kernel-timer-support.patch
046-Convert-rtc-drivers-to-use-the-alarm_irq_enable-meth.patch
047-Fix-DSPI-compile-error-for-MCF547x-MCF548x.patch
048-Fix-i2c-driver-bug-when-reinserting-as-module.patch
049-Update-FEC-driver-for-MCF5445x-and-MCF54418.patch
050-Update-the-DMA-map-function-for-CF-platform.patch
051-Update-SD-MMC-over-SPI-driver-for-MCF54451-and-MCF54.patch
052-Update-the-default-configurations-for-ColdFire-V4-bo.patch
100-kernel-2.6.38-Fix-FEC-driver-bugs-for-MCF547x-MCF548x.patch
101-kernel-2.6.38-Fix-LCD-framebuffer-driver-data-swap-bug-for-MCF5441.patch
102-kernel-2.6.38-Fix-SD-MMC-SDIO-over-SPI-driver-bug-when-reinserting.patch
103-kernel-2.6.38-Fix-i2c-driver-could-not-work-as-module.patch
200-fec_select_phylib.patch
Makefile
config-default
ep93xx
etrax
gemini
generic
goldfish
imx21
imx6
iop32x
ipq806x
ixp4xx
kirkwood
lantiq
leon
malta
mcs814x
mediatek
mpc52xx
mpc83xx
mpc85xx
mvebu
mxs
netlogic
octeon
omap
omap24xx
omap35xx
omap4
orion
oxnas
ppc40x
ppc44x
ps3
pxa
pxcab
ramips
rb532
rdc
realview
s3c24xx
sibyte
socfpga
sparc
sunxi
ubicom32
uml
x86
xburst
zynq
Makefile
sdk
toolchain
Config.in
Makefile
toolchain
tools
.gitattributes
.gitignore
BSDmakefile
Config.in
LICENSE
Makefile
README
feeds.conf.default
rules.mk
28 lines
890 B
Diff
28 lines
890 B
Diff
From 53cfdf92d9b68f5dac006853dd6727d7bf666b17 Mon Sep 17 00:00:00 2001
|
|
From: Alison Wang <b18965@freescale.com>
|
|
Date: Thu, 4 Aug 2011 09:59:44 +0800
|
|
Subject: [PATCH 19/52] Fix the format field for the Coldfire exception frame
|
|
|
|
Different with M68K, the correct format field encoding
|
|
for ColdFire should be 4, 5, 6 or 7.
|
|
|
|
Signed-off-by: Alison Wang <b18965@freescale.com>
|
|
---
|
|
arch/m68k/mm/fault.c | 4 ++++
|
|
1 files changed, 4 insertions(+), 0 deletions(-)
|
|
|
|
--- a/arch/m68k/mm/fault.c
|
|
+++ b/arch/m68k/mm/fault.c
|
|
@@ -45,7 +45,11 @@ int send_fault_sig(struct pt_regs *regs)
|
|
regs->stkadj = frame_extra_sizes[regs->format];
|
|
tregs = (struct pt_regs *)((ulong)regs + regs->stkadj);
|
|
tregs->vector = regs->vector;
|
|
+#ifdef CONFIG_COLDFIRE
|
|
+ tregs->format = regs->stkadj + 4;
|
|
+#else
|
|
tregs->format = 0;
|
|
+#endif
|
|
tregs->pc = fixup->fixup;
|
|
tregs->sr = regs->sr;
|
|
return -1;
|