PS3: Remove unsupported wakeup sources
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/5 POWERPC: Fix slb.c compile warnings
Arrange for a syntax check to always be done on the powerpc/mm/slb.c DBG() macro by defining it to pr_debug() for non-debug builds.
Also, fix these related compile warnings:
slb.c:273: warning: format '%04x' expects type 'unsigned int', but argument 2 has type 'long unsigned int slb.c:274: warning: format '%04x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
--- arch/powerpc/mm/slb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/powerpc/mm/slb.c +3 -3
@@ -30,7 +30,7 @@#ifdef DEBUG #define DBG(fmt...) udbg_printf(fmt)#else -#define DBG(fmt...) +#define DBG pr_debug#endif extern void slb_allocate_realmode (unsigned long ea);
@@ -279,8 +279,8 @@ void slb_initialize(void)patch_slb_encoding (slb_compare_rr_to_size, mmu_slb_size); -DBG ("SLB: linear LLP = %04x\n" , linear_llp); -DBG ("SLB: io LLP = %04x\n" , io_llp); +DBG ("SLB: linear LLP = %04lx\n" , linear_llp); +DBG ("SLB: io LLP = %04lx\n" , io_llp); }get_paca ()->stab_rr =SLB_NUM_BOLTED ;
Re: [patch 1/5] POWERPC: Fix slb.c compile warnings
Quoted 9 lines · Geoff Levand
Arrange for a syntax check to always be done on the
powerpc/mm/slb.cDBG()macro by defining it topr_debug()for non-debug builds.Also, fix these related compile warnings:
slb.c:273: warning: format '%04x' expects type 'unsigned int', but argument 2 has type 'long unsigned int slb.c:274: warning: format '%04x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
Signed-off-by Geoff Levand <[email protected]>
Quoted 27 lines
--- arch/powerpc/mm/slb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)arch/powerpc/mm/slb.c +3
-3@@ -30,7 +30,7 @@#ifdef DEBUG #define DBG(fmt...) udbg_printf(fmt)#else -#define DBG(fmt...) +#define DBG pr_debug#endif extern void slb_allocate_realmode (unsigned long ea);@@ -279,8 +279,8 @@ void slb_initialize(void)patch_slb_encoding (slb_compare_rr_to_size, mmu_slb_size); -DBG ("SLB: linear LLP = %04x\n" , linear_llp); -DBG ("SLB: io LLP = %04x\n" , io_llp); +DBG ("SLB: linear LLP = %04lx\n" , linear_llp); +DBG ("SLB: io LLP = %04lx\n" , io_llp); }get_paca ()->stab_rr =SLB_NUM_BOLTED ;
PATCH 2/5 PS3: Add time include to lpm
In reply to a message not in the archiveFrom: FUJITA Tomonori <[email protected]>
Add an include <asm/time.h> statement for get_tb().
---drivers/ps3/ps3-lpm.c:192: error: implicit declaration of function 'get_tb'
I could not recreate this error. asm/time.h seems to be included from linux/module.h:
In file included from include2/asm/cputime.h:27,
from /home/geoff/projects/cell/linux-2.6/include/linux/sched.h:67,
from include2/asm/elf.h:6,
from /home/geoff/projects/cell/linux-2.6/include/linux/elf.h:8,
from /home/geoff/projects/cell/linux-2.6/include/linux/module.h:15,
from /home/geoff/projects/cell/linux-2.6/drivers/ps3/ps3-lpm.c:24:include2/asm/time.h:134
drivers/ps3/ps3-lpm.c | 1 + 1 file changed, 1 insertion(+)
drivers/ps3/ps3-lpm.c +1 -0
@@ -22,6 +22,7 @@#include <linux/module.h> #include <linux/interrupt.h> #include <linux/uaccess.h> +#include <asm/time.h> #include <asm/ps3.h> #include <asm/lv1call.h> #include <asm/cell-pmu.h>
Re: [patch 2/5] PS3: Add time include to lpm
Quoted 6 lines · On Wed, 30 Apr 2008 15:25:09 -0700 Geoff Levand <[email protected]>…
From: FUJITA Tomonori <[email protected]>
Add an include <
asm/time.h> statement forget_tb().Signed-off-by FUJITA Tomonori <[email protected]>Signed-off-by Geoff Levand <[email protected]>
Quoted 7 lines
---
drivers/ps3/ps3-lpm.c:192: error: implicit declaration of function 'get_tb'I could not recreate this error.
asm/time.hseems to be included fromlinux/module.h:In file included from
include2/asm/cputime.h:27,
Seems that if VIRT_CPU_ACCOUNTING is disabled, asm/time.h is not included here.
Quoted 25 lines
from /home/geoff/projects/cell/linux-2.6/include/linux/sched.h:67, from include2/asm/elf.h:6, from /home/geoff/projects/cell/linux-2.6/include/linux/elf.h:8, from /home/geoff/projects/cell/linux-2.6/include/linux/module.h:15, from /home/geoff/projects/cell/linux-2.6/drivers/ps3/ps3-lpm.c:24:
include2/asm/time.h:134drivers/ps3/ps3-lpm.c | 1 + 1 file changed, 1 insertion(+)drivers/ps3/ps3-lpm.c +1
-0@@ -22,6 +22,7 @@#include <linux/module.h> #include <linux/interrupt.h> #include <linux/uaccess.h> +#include <asm/time.h> #include <asm/ps3.h> #include <asm/lv1call.h> #include <asm/cell-pmu.h> Signature · 1 line
--
PATCH 3/5 PS3: Make ps3_virq_setup and ps3_virq_destroy static
In reply to a message not in the archiveFrom: Geert Uytterhoeven <[email protected]>
The routines ps3_virq_setup() and ps3_virq_destroy() are used in only one file, so make them static.
--- arch/powerpc/platforms/ps3/interrupt.c | 6 +++--- include/asm-powerpc/ps3.h | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-)
arch/powerpc/platforms/ps3/interrupt.c +3 -3
@@ -167,8 +167,8 @@ static struct irq_chip ps3_irq_chip = {* ps3_private data. */ -int ps3_virq_setup (enum ps3_cpu_binding cpu,unsigned long outlet, -unsigned int *virq) +static int ps3_virq_setup (enum ps3_cpu_binding cpu,unsigned long outlet, +unsigned int *virq) {int result;struct ps3_private *pd;
@@ -217,7 +217,7 @@ fail_create:* Clears chip data and calls irq_dispose_mapping() for the virq. */ -int ps3_virq_destroy (unsigned int virq) +static int ps3_virq_destroy (unsigned int virq) {const struct ps3_private *pd =get_irq_chip_data (virq);
include/asm-powerpc/ps3.h +0 -3
@@ -178,9 +178,6 @@ enum ps3_cpu_binding { PS3_BINDING_CPU_1 = 1, }; -int ps3_virq_setup (enum ps3_cpu_binding cpu,unsigned long outlet, -unsigned int *virq); -int ps3_virq_destroy (unsigned int virq);int ps3_irq_plug_setup (enum ps3_cpu_binding cpu,unsigned long outlet,unsigned int *virq);int ps3_irq_plug_destroy (unsigned int virq);
PATCH 4/5 PS3: Remove unsupported wakeup sources
In reply to a message not in the archiveOther OS wakeup is not supported from the IR controller, the bluetooth controller nor the RTC. Remove references to these in the PS3 sys-manager source.
--- drivers/ps3/ps3-sys-manager.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
drivers/ps3/ps3-sys-manager.c +1 -6
@@ -184,10 +184,7 @@ enum ps3_sys_manager_next_op {/** * enum ps3_sys_manager_wake_source - Next-op wakeup source (bit position mask). -* @PS3_SM_WAKE_DEFAULT: Disk insert, power button, eject button, IR -* controller, and bluetooth controller. -* @PS3_SM_WAKE_RTC: -* @PS3_SM_WAKE_RTC_ERROR: +* @PS3_SM_WAKE_DEFAULT: Disk insert, power button, eject button. * @PS3_SM_WAKE_W_O_L: Ether or wireless LAN. * @PS3_SM_WAKE_P_O_R: Power on reset. *
@@ -200,8 +197,6 @@ enum ps3_sys_manager_next_op {enum ps3_sys_manager_wake_source {/* version 3 */ PS3_SM_WAKE_DEFAULT =0 , -PS3_SM_WAKE_RTC =0x00000040 , -PS3_SM_WAKE_RTC_ERROR =0x00000080 ,PS3_SM_WAKE_W_O_L =0x00000400 ,PS3_SM_WAKE_P_O_R =0x80000000 , };
PATCH 5/5 PS3: Update ps3_defconfig
In reply to a message not in the archiveUpdate ps3_defconfig.
--- arch/powerpc/configs/ps3_defconfig | 132 +++++++++++++++++++++++-------------- 1 file changed, 84 insertions(+), 48 deletions(-)
arch/powerpc/configs/ps3_defconfig +84 -48
@@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Linux kernel version: 2.6.25-rc6 -# Thu Mar 20 11:07:04 2008 +# Linux kernel version: 2.6.25 +# Mon Apr 28 12:39:10 2008 # CONFIG_PPC64=y
@@ -30,6 +30,9 @@ CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_IRQ_PER_CPU=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_ILOG2_U64=y
@@ -73,8 +76,6 @@ CONFIG_POSIX_MQUEUE=y CONFIG_LOG_BUF_SHIFT=17 # CONFIG_CGROUPS is not set # CONFIG_GROUP_SCHED is not set -# CONFIG_USER_SCHED is not set -# CONFIG_CGROUP_SCHED is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y # CONFIG_RELAY is not set
@@ -161,7 +162,6 @@ CONFIG_PPC_MULTIPLATFORM=y # CONFIG_PPC_PMAC is not set # CONFIG_PPC_MAPLE is not set # CONFIG_PPC_PASEMI is not set -# CONFIG_PPC_CELLEB is not set CONFIG_PPC_PS3=y #
@@ -181,6 +181,7 @@ CONFIG_PS3_LPM=m CONFIG_PPC_CELL=y # CONFIG_PPC_CELL_NATIVE is not set # CONFIG_PPC_IBM_CELL_BLADE is not set +# CONFIG_PPC_CELLEB is not set # # Cell Broadband Engine options
@@ -205,9 +206,9 @@ CONFIG_SPU_BASE=y # # Kernel options # -# CONFIG_TICK_ONESHOT is not set +CONFIG_TICK_ONESHOT=y # CONFIG_NO_HZ is not set -# CONFIG_HIGH_RES_TIMERS is not set +CONFIG_HIGH_RES_TIMERS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y # CONFIG_HZ_100 is not set CONFIG_HZ_250=y
@@ -221,7 +222,6 @@ CONFIG_PREEMPT_NONE=y CONFIG_BINFMT_ELF=y CONFIG_COMPAT_BINFMT_ELF=y CONFIG_BINFMT_MISC=y -CONFIG_FORCE_MAX_ZONEORDER=13 # CONFIG_IOMMU_VMERGE is not set CONFIG_IOMMU_HELPER=y CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
@@ -255,6 +255,7 @@ CONFIG_BOUNCE=y CONFIG_ARCH_MEMORY_PROBE=y # CONFIG_PPC_HAS_HASH_64K is not set # CONFIG_PPC_64K_PAGES is not set +CONFIG_FORCE_MAX_ZONEORDER=13 # CONFIG_SCHED_SMT is not set CONFIG_PROC_DEVICETREE=y # CONFIG_CMDLINE_BOOL is not set
@@ -272,7 +273,9 @@ CONFIG_GENERIC_ISA_DMA=y # CONFIG_PCI_SYSCALL is not set # CONFIG_ARCH_SUPPORTS_MSI is not set # CONFIG_PCCARD is not set +CONFIG_PAGE_OFFSET=0xc000000000000000 CONFIG_KERNEL_START=0xc000000000000000 +CONFIG_PHYSICAL_START=0x00000000 # # Networking
@@ -292,7 +295,7 @@ CONFIG_XFRM=y # CONFIG_XFRM_STATISTICS is not set # CONFIG_NET_KEY is not set CONFIG_INET=y -# CONFIG_IP_MULTICAST is not set +CONFIG_IP_MULTICAST=y # CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_FIB_HASH=y CONFIG_IP_PNP=y
@@ -301,6 +304,7 @@ CONFIG_IP_PNP_DHCP=y # CONFIG_IP_PNP_RARP is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set +# CONFIG_IP_MROUTE is not set # CONFIG_ARPD is not set # CONFIG_SYN_COOKIES is not set # CONFIG_INET_AH is not set
@@ -332,8 +336,10 @@ CONFIG_INET6_XFRM_MODE_TUNNEL=y CONFIG_INET6_XFRM_MODE_BEET=y # CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set CONFIG_IPV6_SIT=y +CONFIG_IPV6_NDISC_NODETYPE=y # CONFIG_IPV6_TUNNEL is not set # CONFIG_IPV6_MULTIPLE_TABLES is not set +# CONFIG_IPV6_MROUTE is not set # CONFIG_NETWORK_SECMARK is not set # CONFIG_NETFILTER is not set # CONFIG_IP_DCCP is not set
@@ -392,8 +398,6 @@ CONFIG_IEEE80211=m CONFIG_IEEE80211_CRYPT_WEP=m CONFIG_IEEE80211_CRYPT_CCMP=m CONFIG_IEEE80211_CRYPT_TKIP=m -CONFIG_IEEE80211_SOFTMAC=m -# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set # CONFIG_RFKILL is not set # CONFIG_NET_9P is not set
@@ -507,6 +511,7 @@ CONFIG_WLAN_80211=y # CONFIG_LIBERTAS is not set # CONFIG_USB_ZD1201 is not set # CONFIG_USB_NET_RNDIS_WLAN is not set +# CONFIG_IWLWIFI_LEDS is not set # CONFIG_HOSTAP is not set #
@@ -578,6 +583,7 @@ CONFIG_INPUT_JOYSTICK=y # CONFIG_JOYSTICK_SPACEBALL is not set # CONFIG_JOYSTICK_STINGER is not set # CONFIG_JOYSTICK_TWIDJOY is not set +# CONFIG_JOYSTICK_ZHENHUA is not set # CONFIG_JOYSTICK_JOYDUMP is not set # CONFIG_JOYSTICK_XPAD is not set # CONFIG_INPUT_TABLET is not set
@@ -641,6 +647,7 @@ CONFIG_SSB_POSSIBLE=y # Multifunction device drivers # # CONFIG_MFD_SM501 is not set +# CONFIG_HTC_PASIC3 is not set # # Multimedia devices
@@ -761,10 +768,6 @@ CONFIG_SND_PS3_DEFAULT_START_DELAY=2000 # CONFIG_SND_SOC is not set # -# SoC Audio support for SuperH -# - -# # ALSA SoC audio for Freescale SOCs #
@@ -849,6 +852,7 @@ CONFIG_USB_STORAGE=m # CONFIG_USB_STORAGE_ALAUDA is not set # CONFIG_USB_STORAGE_ONETOUCH is not set # CONFIG_USB_STORAGE_KARMA is not set +# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set # CONFIG_USB_LIBUSUAL is not set #
@@ -893,10 +897,6 @@ CONFIG_USB_MON=y # CONFIG_EDAC is not set # CONFIG_RTC_CLASS is not set # CONFIG_DMADEVICES is not set - -# -# Userspace I/O -# # CONFIG_UIO is not set #
@@ -986,7 +986,6 @@ CONFIG_NFS_FS=y CONFIG_NFS_V3=y # CONFIG_NFS_V3_ACL is not set CONFIG_NFS_V4=y -# CONFIG_NFS_DIRECTIO is not set # CONFIG_NFSD is not set CONFIG_ROOT_NFS=y CONFIG_LOCKD=y
@@ -1059,9 +1058,10 @@ CONFIG_NLS_ISO8859_1=y # Library routines # CONFIG_BITREVERSE=y +# CONFIG_GENERIC_FIND_FIRST_BIT is not set # CONFIG_CRC_CCITT is not set # CONFIG_CRC16 is not set -# CONFIG_CRC_ITU_T is not set +CONFIG_CRC_ITU_T=m CONFIG_CRC32=y # CONFIG_CRC7 is not set # CONFIG_LIBCRC32C is not set
@@ -1071,6 +1071,7 @@ CONFIG_PLIST=y CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAS_DMA=y +CONFIG_HAVE_LMB=y # # Kernel hacking
@@ -1078,6 +1079,7 @@ CONFIG_HAS_DMA=y # CONFIG_PRINTK_TIME is not set CONFIG_ENABLE_WARN_DEPRECATED=y CONFIG_ENABLE_MUST_CHECK=y +CONFIG_FRAME_WARN=2048 CONFIG_MAGIC_SYSRQ=y # CONFIG_UNUSED_SYMBOLS is not set # CONFIG_DEBUG_FS is not set
@@ -1093,12 +1095,16 @@ CONFIG_SCHED_DEBUG=y # CONFIG_RT_MUTEX_TESTER is not set CONFIG_DEBUG_SPINLOCK=y CONFIG_DEBUG_MUTEXES=y +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_LOCK_STAT is not set CONFIG_DEBUG_SPINLOCK_SLEEP=y # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set # CONFIG_DEBUG_KOBJECT is not set CONFIG_DEBUG_BUGVERBOSE=y CONFIG_DEBUG_INFO=y # CONFIG_DEBUG_VM is not set +# CONFIG_DEBUG_WRITECOUNT is not set CONFIG_DEBUG_LIST=y # CONFIG_DEBUG_SG is not set # CONFIG_BOOT_PRINTK_DELAY is not set
@@ -1121,51 +1127,81 @@ CONFIG_IRQSTACKS=y # CONFIG_SECURITY is not set # CONFIG_SECURITY_FILE_CAPABILITIES is not set CONFIG_CRYPTO=y + +# +# Crypto core or helper +# CONFIG_CRYPTO_ALGAPI=y CONFIG_CRYPTO_AEAD=m CONFIG_CRYPTO_BLKCIPHER=y -CONFIG_CRYPTO_SEQIV=m CONFIG_CRYPTO_MANAGER=y +CONFIG_CRYPTO_GF128MUL=m +# CONFIG_CRYPTO_NULL is not set +# CONFIG_CRYPTO_CRYPTD is not set +# CONFIG_CRYPTO_AUTHENC is not set +# CONFIG_CRYPTO_TEST is not set + +# +# Authenticated Encryption with Associated Data +# +CONFIG_CRYPTO_CCM=m +CONFIG_CRYPTO_GCM=m +CONFIG_CRYPTO_SEQIV=m + +# +# Block modes +# +CONFIG_CRYPTO_CBC=y +CONFIG_CRYPTO_CTR=m +# CONFIG_CRYPTO_CTS is not set +CONFIG_CRYPTO_ECB=m +# CONFIG_CRYPTO_LRW is not set +CONFIG_CRYPTO_PCBC=m +# CONFIG_CRYPTO_XTS is not set + +# +# Hash modes +# # CONFIG_CRYPTO_HMAC is not set # CONFIG_CRYPTO_XCBC is not set -# CONFIG_CRYPTO_NULL is not set + +# +# Digest +# +# CONFIG_CRYPTO_CRC32C is not set # CONFIG_CRYPTO_MD4 is not set CONFIG_CRYPTO_MD5=y +CONFIG_CRYPTO_MICHAEL_MIC=m # 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=m -CONFIG_CRYPTO_ECB=m -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_PCBC=m -# CONFIG_CRYPTO_LRW is not set -# CONFIG_CRYPTO_XTS is not set -CONFIG_CRYPTO_CTR=m -CONFIG_CRYPTO_GCM=m -CONFIG_CRYPTO_CCM=m -# 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_WP512 is not set + +# +# Ciphers +# CONFIG_CRYPTO_AES=m +# CONFIG_CRYPTO_ANUBIS is not set +CONFIG_CRYPTO_ARC4=m +# CONFIG_CRYPTO_BLOWFISH is not set +# CONFIG_CRYPTO_CAMELLIA is not set # CONFIG_CRYPTO_CAST5 is not set # CONFIG_CRYPTO_CAST6 is not set -# CONFIG_CRYPTO_TEA is not set -CONFIG_CRYPTO_ARC4=m +CONFIG_CRYPTO_DES=y +# CONFIG_CRYPTO_FCRYPT is not set # CONFIG_CRYPTO_KHAZAD is not set -# CONFIG_CRYPTO_ANUBIS is not set -# CONFIG_CRYPTO_SEED is not set CONFIG_CRYPTO_SALSA20=m +# CONFIG_CRYPTO_SEED is not set +# CONFIG_CRYPTO_SERPENT is not set +# CONFIG_CRYPTO_TEA is not set +# CONFIG_CRYPTO_TWOFISH is not set + +# +# Compression +# # CONFIG_CRYPTO_DEFLATE is not set -CONFIG_CRYPTO_MICHAEL_MIC=m -# CONFIG_CRYPTO_CRC32C is not set -# CONFIG_CRYPTO_CAMELLIA is not set -# CONFIG_CRYPTO_TEST is not set -# CONFIG_CRYPTO_AUTHENC is not set CONFIG_CRYPTO_LZO=m CONFIG_CRYPTO_HW=y # CONFIG_PPC_CLOCK is not set +# CONFIG_VIRTUALIZATION is not set
Re: [patch 5/5] PS3: Update ps3_defconfig
Hi Geoff,
what about adding these defaults:
- CONFIG_SCHED_SMT
- CONFIG_HUGETLBFS (needed by ibm cell sdk)
not sure about:
- CONFIG_SPU_FS_64K_LS
Greetings
Marvin
Quoted 20 lines · On Thursday 01 May 2008 00:25:36 Geoff Levand wrote:
Update
ps3_defconfig.Signed-off-by Geoff Levand <[email protected]>--- arch/powerpc/configs/ps3_defconfig | 132+++++++++++++++++++++++-------------- 1 file changed, 84 insertions(+), 48 deletions(-)
arch/powerpc/configs/ps3_defconfig +2
-2@@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Linux kernel version: 2.6.25-rc6 -# Thu Mar 20 11:07:04 2008 +# Linux kernel version: 2.6.25 +# Mon Apr 28 12:39:10 2008 # CONFIG_PPC64=y
Re: [patch 5/5] PS3: Update ps3_defconfig
Quoted 6 lines · Marvin
what about adding these defaults:
-CONFIG_SCHED_SMT
-CONFIG_HUGETLBFS(needed by ibm cell sdk)not sure about:
-CONFIG_SPU_FS_64K_LS
Did you test these options? Please let me know
your results.
-Geoff
Re: [patch 5/5] PS3: Update ps3_defconfig
Hi Geoff,
Quoted 4 lines · On Monday 05 May 2008 21:00:47 you wrote:
Quoted 3 lines · Marvin
what about adding these defaults:
-CONFIG_SCHED_SMT
-CONFIG_HUGETLBFS(needed by ibm cell sdk)
I'm using these for years now ;-)
Quoted 2 lines
Quoted 2 lines
not sure about:
-CONFIG_SPU_FS_64K_LS
I also have this option enabled. I think you can forget about it, as it seems to improve performance only in some corner cases. I'm not an expert, so maybe asking at cbe-oss-dev would be a better place.
Thanks
Marvin
p.s. I installed fc9 last week and Xorg crashes when PCI is not enabled. just in case someone has the same problem.
Re: [Cbe-oss-dev] Xorg crash when PCI not enabled (was [patch 5/5] PS3: Update ps3_defconfig)
Hi
Quoted 3 lines · Marvin
p.s. I installed fc9 last week and Xorg crashes when PCI is not enabled. just
in case someone has the same problem.
The Ubuntu PS3 team is also working on an a couple of bugs relating to lack of PCI info. I don't know if these are the same issues you're facing. We're tracking them here at [0] and [2].
We had an initial crash was simple to fix [1]. Now we need to get X to automatically load the fbdev driver instead of vesa [2].
Cheers
Dan
[0] https://bugs.launchpad.net/ubuntu-ps3-port/+bug/217647
[1] http://launchpadlibrarian.net/13569440/closedir.patch
[2] https://bugs.launchpad.net/ubuntu-ps3-port/+bug/219424
Re: [Cbe-oss-dev] Xorg crash when PCI not enabled
Hi Dan,
Quoted 7 lines · On Tuesday 06 May 2008 11:44:12 Dan Munckton wrote:
Hi
Quoted 3 lines · Marvin
p.s. I installed fc9 last week and Xorg crashes when PCI is not enabled. just
in case someone has the same problem.
Quoted 6 lines
The Ubuntu PS3 team is also working on an a couple of bugs relating to lack of PCI info. I don't know if these are the same issues you're facing. We're tracking them here at [0] and [2].
We had an initial crash was simple to fix [1]. Now we need to get X to automatically load the fbdev driver instead of vesa [2].
Fedora uses a newer Xorg (1.5.0 RC1) then Ubuntu. It seems that the detection/scanning code was changed. For me, it crashes right behind "using VT number 7", where a file in /sys/bus/pci is accessed (which of course does not exist), so its not related to the other mentioned bugs. I'm hesitating to file a fedora bug report, because the default kernel works. It's more a Xorg bug to assume everyone has PCI ...
Greetings
Marvin
Re: [patch 5/5] PS3: Update ps3_defconfig
In reply to MarvinQuoted 8 lines · Marvin
Hi Geoff,
Quoted 4 lines · On Monday 05 May 2008 21:00:47 you wrote:
Quoted 3 lines · Marvin
what about adding these defaults:
-CONFIG_SCHED_SMT
-CONFIG_HUGETLBFS(needed by ibm cell sdk)
Quoted 8 lines
I'm using these for years now ;-)
Quoted 2 lines
Quoted 2 lines
not sure about:
-CONFIG_SPU_FS_64K_LSI also have this option enabled. I think you can forget about it, as it seems to improve performance only in some corner cases. I'm not an expert, so maybe asking at cbe-oss-dev would be a better place.
Assuming it works on PS3 (the HV lets us use 64k pages I take it?) I think it should be enabled.
cheers
Signature · 8 lines
Michael Ellerman OzLabs, IBM Australia Development Lab wwweb: http://michael.ellerman.id.au phone: +61 2 6212 1183 (tie line 70 21183) We do not inherit the earth from our ancestors, we borrow it from our children. - S.M.A.R.T Person