* (no subject)
@ 2007-02-08 21:50 Kumar Gala
2007-02-08 21:52 ` Please pull from 'for_paulus' branch Kumar Gala
0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2007-02-08 21:50 UTC (permalink / raw)
To: Paul Mackerras; +Cc: Guennadi Liakhovetski, linuxppc-dev, Li Yang, Timur Tabi
Please pull from 'for_paulus' branch of
master.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git
to receive the following updates:
Documentation/powerpc/booting-without-of.txt | 4
arch/powerpc/boot/dts/kuroboxHD.dts | 148 ++
arch/powerpc/boot/dts/mpc8313erdb.dts | 219 +++
arch/powerpc/boot/dts/mpc8349emds.dts | 328 -----
arch/powerpc/boot/dts/mpc834x_mds.dts | 334 +++++
arch/powerpc/configs/linkstation_defconfig | 118 +
arch/powerpc/configs/mpc8313_rdb_defconfig | 1409 +++++++++++++++++++++++
arch/powerpc/configs/mpc834x_mds_defconfig | 9
arch/powerpc/kernel/of_platform.c | 1
arch/powerpc/platforms/83xx/Kconfig | 24
arch/powerpc/platforms/83xx/Makefile | 3
arch/powerpc/platforms/83xx/mpc8313_rdb.c | 99 +
arch/powerpc/platforms/83xx/mpc834x_mds.c | 213 +++
arch/powerpc/platforms/83xx/mpc834x_sys.c | 140 --
arch/powerpc/platforms/83xx/mpc834x_sys.h | 23
arch/powerpc/platforms/83xx/mpc83xx.h | 18
arch/powerpc/platforms/embedded6xx/linkstation.c | 12
arch/powerpc/sysdev/fsl_soc.c | 78 -
arch/powerpc/sysdev/qe_lib/ucc_slow.c | 6
include/asm-powerpc/ucc_slow.h | 2
20 files changed, 2611 insertions(+), 577 deletions(-)
Andy Fleming (1):
[POWERPC] QE: Added QE to the list of default scanned OF devices
Guennadi Liakhovetski (1):
[POWERPC] Update to linkstation / kurobox support
Kim Phillips (2):
[POWERPC] 83xx: Add base support for the MPC8313E RDB
[POWERPC] 83xx: add the mpc8313erdb defconfig
Kumar Gala (1):
[POWERPC] 83xx: Updated and renamed MPC834x SYS to MPC834x MDS
Li Yang (3):
[POWERPC] 83xx: Added new dr_mode property for usb controller on 83xx
[POWERPC] 83xx: Add USB setup code for MPC8349E MDS-PB
[POWERPC] 83xx: Add platform_device for USB DR peripheral driver
Timur Tabi (1):
[POWERPC] QE: Rename ucc_slow_info.us_regs to ucc_slow_info.regs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Please pull from 'for_paulus' branch
2007-02-08 21:50 Kumar Gala
@ 2007-02-08 21:52 ` Kumar Gala
2007-02-08 23:41 ` [UPDATED] " Kumar Gala
0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2007-02-08 21:52 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev, Li Yang, Guennadi Liakhovetski, Timur Tabi
(initial email was missing the subject).
- k
On Thu, 8 Feb 2007, Kumar Gala wrote:
> Please pull from 'for_paulus' branch of
> master.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git
>
> to receive the following updates:
>
> Documentation/powerpc/booting-without-of.txt | 4
> arch/powerpc/boot/dts/kuroboxHD.dts | 148 ++
> arch/powerpc/boot/dts/mpc8313erdb.dts | 219 +++
> arch/powerpc/boot/dts/mpc8349emds.dts | 328 -----
> arch/powerpc/boot/dts/mpc834x_mds.dts | 334 +++++
> arch/powerpc/configs/linkstation_defconfig | 118 +
> arch/powerpc/configs/mpc8313_rdb_defconfig | 1409 +++++++++++++++++++++++
> arch/powerpc/configs/mpc834x_mds_defconfig | 9
> arch/powerpc/kernel/of_platform.c | 1
> arch/powerpc/platforms/83xx/Kconfig | 24
> arch/powerpc/platforms/83xx/Makefile | 3
> arch/powerpc/platforms/83xx/mpc8313_rdb.c | 99 +
> arch/powerpc/platforms/83xx/mpc834x_mds.c | 213 +++
> arch/powerpc/platforms/83xx/mpc834x_sys.c | 140 --
> arch/powerpc/platforms/83xx/mpc834x_sys.h | 23
> arch/powerpc/platforms/83xx/mpc83xx.h | 18
> arch/powerpc/platforms/embedded6xx/linkstation.c | 12
> arch/powerpc/sysdev/fsl_soc.c | 78 -
> arch/powerpc/sysdev/qe_lib/ucc_slow.c | 6
> include/asm-powerpc/ucc_slow.h | 2
> 20 files changed, 2611 insertions(+), 577 deletions(-)
>
> Andy Fleming (1):
> [POWERPC] QE: Added QE to the list of default scanned OF devices
>
> Guennadi Liakhovetski (1):
> [POWERPC] Update to linkstation / kurobox support
>
> Kim Phillips (2):
> [POWERPC] 83xx: Add base support for the MPC8313E RDB
> [POWERPC] 83xx: add the mpc8313erdb defconfig
>
> Kumar Gala (1):
> [POWERPC] 83xx: Updated and renamed MPC834x SYS to MPC834x MDS
>
> Li Yang (3):
> [POWERPC] 83xx: Added new dr_mode property for usb controller on 83xx
> [POWERPC] 83xx: Add USB setup code for MPC8349E MDS-PB
> [POWERPC] 83xx: Add platform_device for USB DR peripheral driver
>
> Timur Tabi (1):
> [POWERPC] QE: Rename ucc_slow_info.us_regs to ucc_slow_info.regs
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [UPDATED] Please pull from 'for_paulus' branch
2007-02-08 21:52 ` Please pull from 'for_paulus' branch Kumar Gala
@ 2007-02-08 23:41 ` Kumar Gala
0 siblings, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2007-02-08 23:41 UTC (permalink / raw)
To: Paul Mackerras; +Cc: Timur Tabi, linuxppc-dev, Li Yang, Guennadi Liakhovetski
Please pull from 'for_paulus' branch of
master.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git
--
I dropped the patch that added 'qe' to the of_default_bus_ids at benh's
requested. After looking at that more I agree with him that we should
remove the list completely.
- k
to receive the following updates:
Documentation/powerpc/booting-without-of.txt | 4
arch/powerpc/boot/dts/kuroboxHD.dts | 148 ++
arch/powerpc/boot/dts/mpc8313erdb.dts | 219 +++
arch/powerpc/boot/dts/mpc8349emds.dts | 328 -----
arch/powerpc/boot/dts/mpc834x_mds.dts | 334 +++++
arch/powerpc/configs/linkstation_defconfig | 118 +
arch/powerpc/configs/mpc8313_rdb_defconfig | 1409 +++++++++++++++++++++++
arch/powerpc/configs/mpc834x_mds_defconfig | 9
arch/powerpc/platforms/83xx/Kconfig | 24
arch/powerpc/platforms/83xx/Makefile | 3
arch/powerpc/platforms/83xx/mpc8313_rdb.c | 99 +
arch/powerpc/platforms/83xx/mpc834x_mds.c | 213 +++
arch/powerpc/platforms/83xx/mpc834x_sys.c | 140 --
arch/powerpc/platforms/83xx/mpc834x_sys.h | 23
arch/powerpc/platforms/83xx/mpc83xx.h | 18
arch/powerpc/platforms/embedded6xx/linkstation.c | 12
arch/powerpc/sysdev/fsl_soc.c | 78 -
arch/powerpc/sysdev/qe_lib/ucc_slow.c | 6
include/asm-powerpc/ucc_slow.h | 2
19 files changed, 2610 insertions(+), 577 deletions(-)
Guennadi Liakhovetski (1):
[POWERPC] Update to linkstation / kurobox support
Kim Phillips (2):
[POWERPC] 83xx: Add base support for the MPC8313E RDB
[POWERPC] 83xx: add the mpc8313erdb defconfig
Kumar Gala (1):
[POWERPC] 83xx: Updated and renamed MPC834x SYS to MPC834x MDS
Li Yang (3):
[POWERPC] 83xx: Added new dr_mode property for usb controller on 83xx
[POWERPC] 83xx: Add USB setup code for MPC8349E MDS-PB
[POWERPC] 83xx: Add platform_device for USB DR peripheral driver
Timur Tabi (1):
[POWERPC] QE: Rename ucc_slow_info.us_regs to ucc_slow_info.regs
^ permalink raw reply [flat|nested] 4+ messages in thread
* [UPDATED] Please pull from 'for_paulus' branch
@ 2006-12-08 18:13 Kumar Gala
0 siblings, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2006-12-08 18:13 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev
Added a patch to build issue on MPC85xx.
Please pull from 'for_paulus' branch of
master.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git
to receive the following updates:
arch/powerpc/Kconfig | 2 +-
arch/powerpc/kernel/cputable.c | 5 ++---
arch/powerpc/kernel/head_32.S | 7 +++++++
arch/powerpc/kernel/of_device.c | 4 +---
arch/powerpc/kernel/ppc_ksyms.c | 2 +-
arch/powerpc/kernel/traps.c | 2 ++
include/asm-powerpc/cputable.h | 10 ++++++++--
7 files changed, 22 insertions(+), 10 deletions(-)
Kim Phillips:
[POWERPC] Add support for FP emulation for the e300c2 core
Kumar Gala:
[POWERPC] of_device_register: propagate device_create_file return code
[POWERPC] Fix 440SPe CPU table entry
[POWERPC] Only export __mtdcr/__mfdcr if CONFIG_PPC_DCR is set
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 291c95a..0b2d05d 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -706,7 +706,7 @@ config FORCE_MAX_ZONEORDER
config MATH_EMULATION
bool "Math emulation"
- depends on 4xx || 8xx || E200 || E500
+ depends on 4xx || 8xx || E200 || PPC_83xx || E500
---help---
Some PowerPC chips designed for embedded applications do not have
a floating-point unit and therefore do not implement the
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 9d1614c..b742013 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -833,7 +833,7 @@ #if CLASSIC_PPC
.pvr_mask = 0x7fff0000,
.pvr_value = 0x00840000,
.cpu_name = "e300c2",
- .cpu_features = CPU_FTRS_E300,
+ .cpu_features = CPU_FTRS_E300C2,
.cpu_user_features = PPC_FEATURE_32 | PPC_FEATURE_HAS_MMU,
.icache_bsize = 32,
.dcache_bsize = 32,
@@ -1136,8 +1136,7 @@ #ifdef CONFIG_44x
.pvr_mask = 0xff000fff,
.pvr_value = 0x53000890,
.cpu_name = "440SPe Rev. A",
- .cpu_features = CPU_FTR_SPLIT_ID_CACHE |
- CPU_FTR_USE_TB,
+ .cpu_features = CPU_FTRS_44X,
.cpu_user_features = COMMON_USER_BOOKE,
.icache_bsize = 32,
.dcache_bsize = 32,
diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S
index d88e182..9417cf5 100644
--- a/arch/powerpc/kernel/head_32.S
+++ b/arch/powerpc/kernel/head_32.S
@@ -437,6 +437,13 @@ Alignment:
/* Floating-point unavailable */
. = 0x800
FPUnavailable:
+BEGIN_FTR_SECTION
+/*
+ * Certain Freescale cores don't have a FPU and treat fp instructions
+ * as a FP Unavailable exception. Redirect to illegal/emulation handling.
+ */
+ b ProgramCheck
+END_FTR_SECTION_IFSET(CPU_FTR_FPU_UNAVAILABLE)
EXCEPTION_PROLOG
bne load_up_fpu /* if from user, just load it up */
addi r3,r1,STACK_FRAME_OVERHEAD
diff --git a/arch/powerpc/kernel/of_device.c b/arch/powerpc/kernel/of_device.c
index 8a06724..e921514 100644
--- a/arch/powerpc/kernel/of_device.c
+++ b/arch/powerpc/kernel/of_device.c
@@ -109,9 +109,7 @@ int of_device_register(struct of_device
if (rc)
return rc;
- device_create_file(&ofdev->dev, &dev_attr_devspec);
-
- return 0;
+ return device_create_file(&ofdev->dev, &dev_attr_devspec);
}
void of_device_unregister(struct of_device *ofdev)
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c
index 9179f07..87ab327 100644
--- a/arch/powerpc/kernel/ppc_ksyms.c
+++ b/arch/powerpc/kernel/ppc_ksyms.c
@@ -208,7 +208,7 @@ #endif /* CONFIG_SMP */
extern long *intercept_table;
EXPORT_SYMBOL(intercept_table);
#endif /* CONFIG_PPC_STD_MMU_32 */
-#if defined(CONFIG_40x) || defined(CONFIG_BOOKE)
+#ifdef CONFIG_PPC_DCR
EXPORT_SYMBOL(__mtdcr);
EXPORT_SYMBOL(__mfdcr);
#endif
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index 0d4e203..fde820e 100644
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -782,6 +782,8 @@ void __kprobes program_check_exception(s
unsigned int reason = get_reason(regs);
extern int do_mathemu(struct pt_regs *regs);
+ /* We can now get here via a FP Unavailable exception if the core
+ * has no FPU, in that case no reason flags will be set */
#ifdef CONFIG_MATH_EMULATION
/* (reason & REASON_ILLEGAL) would be the obvious thing here,
* but there seems to be a hardware bug on the 405GP (RevD)
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h
index 6fe5c9d..aca72f9 100644
--- a/include/asm-powerpc/cputable.h
+++ b/include/asm-powerpc/cputable.h
@@ -126,6 +126,7 @@ #define CPU_FTR_BIG_PHYS ASM_CONST(0x00
#define CPU_FTR_NODSISRALIGN ASM_CONST(0x0000000000100000)
#define CPU_FTR_PPC_LE ASM_CONST(0x0000000000200000)
#define CPU_FTR_REAL_LE ASM_CONST(0x0000000000400000)
+#define CPU_FTR_FPU_UNAVAILABLE ASM_CONST(0x0000000000800000)
/*
* Add the 64-bit processor unique features in the top half of the word;
@@ -295,6 +296,9 @@ #define CPU_FTRS_G2_LE (CPU_FTR_SPLIT_ID
#define CPU_FTRS_E300 (CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_MAYBE_CAN_DOZE | \
CPU_FTR_USE_TB | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_HAS_HIGH_BATS | \
CPU_FTR_COMMON)
+#define CPU_FTRS_E300C2 (CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_MAYBE_CAN_DOZE | \
+ CPU_FTR_USE_TB | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_HAS_HIGH_BATS | \
+ CPU_FTR_COMMON | CPU_FTR_FPU_UNAVAILABLE)
#define CPU_FTRS_CLASSIC32 (CPU_FTR_COMMON | CPU_FTR_SPLIT_ID_CACHE | \
CPU_FTR_USE_TB | CPU_FTR_HPTE_TABLE)
#define CPU_FTRS_8XX (CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB)
@@ -364,7 +368,8 @@ #if CLASSIC_PPC
CPU_FTRS_7450_21 | CPU_FTRS_7450_23 | CPU_FTRS_7455_1 |
CPU_FTRS_7455_20 | CPU_FTRS_7455 | CPU_FTRS_7447_10 |
CPU_FTRS_7447 | CPU_FTRS_7447A | CPU_FTRS_82XX |
- CPU_FTRS_G2_LE | CPU_FTRS_E300 | CPU_FTRS_CLASSIC32 |
+ CPU_FTRS_G2_LE | CPU_FTRS_E300 | CPU_FTRS_E300C2 |
+ CPU_FTRS_CLASSIC32 |
#else
CPU_FTRS_GENERIC_32 |
#endif
@@ -403,7 +408,8 @@ #if CLASSIC_PPC
CPU_FTRS_7450_21 & CPU_FTRS_7450_23 & CPU_FTRS_7455_1 &
CPU_FTRS_7455_20 & CPU_FTRS_7455 & CPU_FTRS_7447_10 &
CPU_FTRS_7447 & CPU_FTRS_7447A & CPU_FTRS_82XX &
- CPU_FTRS_G2_LE & CPU_FTRS_E300 & CPU_FTRS_CLASSIC32 &
+ CPU_FTRS_G2_LE & CPU_FTRS_E300 & CPU_FTRS_E300C2 &
+ CPU_FTRS_CLASSIC32 &
#else
CPU_FTRS_GENERIC_32 &
#endif
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-08 23:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-08 21:50 Kumar Gala
2007-02-08 21:52 ` Please pull from 'for_paulus' branch Kumar Gala
2007-02-08 23:41 ` [UPDATED] " Kumar Gala
-- strict thread matches above, loose matches on Subject: below --
2006-12-08 18:13 Kumar Gala
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.