Re: [PATCH 1/2] powerpc/405ex: provide necessary fixup function to support cuImage

2009-08-20 Thread Josh Boyer
On Tue, Aug 18, 2009 at 10:28:03AM +0800, Tiejun Chen wrote: For cuImage format it's necessary to provide clock fixups since u-boot will not pass necessary clock frequency into the dtb included into cuImage so we implement the clock fixups as defined in the technical documentation for the board

Re: [PATCH 2/2] powerpc/405ex: support cuImage via included dtb

2009-08-20 Thread Josh Boyer
On Tue, Aug 18, 2009 at 10:28:04AM +0800, Tiejun Chen wrote: To support cuImage, we need to initialize the required sections and ensure that it is built. - cuboot-acadia.c cuboot-amigaone.c + cuboot-acadia.c cuboot-amigaone.c cuboot-kilauea.c src-boot := $(src-wlib)

Re: [PATCH] Add support for the ESTeem 195E (PPC405EP) SBC

2009-08-20 Thread Josh Boyer
On Thu, Aug 20, 2009 at 01:45:19PM -0400, Solomon Peachy wrote: On Mon, Aug 17, 2009 at 11:13:59AM -0400, Josh Boyer wrote: There is another way. Perhaps you could just copy ppcboot.h to a new file called hotfoot.h and just use that. It's a duplication of ppcboot.h to some degree

Re: [PATCH 1/2] powerpc/405ex: provide necessary fixup function to support cuImage

2009-08-21 Thread Josh Boyer
On Fri, Aug 21, 2009 at 02:00:20PM +0800, tiejun.chen wrote: as I know. So I prefer to prefix with ibm405ex as you suggestion. diff --git a/arch/powerpc/boot/dcr.h b/arch/powerpc/boot/dcr.h index 95b9f53..ba41624 100644 --- a/arch/powerpc/boot/dcr.h +++ b/arch/powerpc/boot/dcr.h @@ -153,6

Re: [PATCH 2/2] powerpc/405ex: support cuImage via included dtb

2009-08-21 Thread Josh Boyer
On Fri, Aug 21, 2009 at 01:41:42PM +0800, tiejun.chen wrote: Josh Boyer wrote: On Tue, Aug 18, 2009 at 10:28:04AM +0800, Tiejun Chen wrote: To support cuImage, we need to initialize the required sections and ensure that it is built. - cuboot-acadia.c cuboot-amigaone.c

4xx next branch updated

2009-08-21 Thread Josh Boyer
Hi all, I've rebased the next branch of the 4xx tree to Ben's next branch, and added the following commits: Solomon Peachy (1): powerpc/40x: Add support for the ESTeem 195E (PPC405EP) SBC Stefan Roese (2): powerpc/44x: Update Arches dts powerpc/44x: Update Arches defconfig

Re: [git pull] Please pull powerpc.git merge branch

2009-08-27 Thread Josh Boyer
On Thu, Aug 27, 2009 at 01:33:48PM +1000, Benjamin Herrenschmidt wrote: Hi Linus ! Here are a couple of last minute patches for 2.6.31. One is a regression fix (afaik) where a PS3 driver gets incorrectly loaded on other platforms and crashes, along with a PS3 defconfig update. The following

Re: [PATCH] fix book E watchdog to take WDIOC_SETTIMEOUT arg in seconds

2009-08-27 Thread Josh Boyer
On Thu, Aug 27, 2009 at 01:14:58PM +0200, Wim Van Sebroeck wrote: Hi Chris, The WDIOC_SETTIMEOUT argument is supposed to be a seconds value. However, the book E wdt currently treats it as a period which is interpreted in a board-specific way. This patch allows the user to pass in a seconds

Re: [RFC] Clock binding

2009-08-28 Thread Josh Boyer
On Fri, Aug 28, 2009 at 12:43:08PM +1000, Benjamin Herrenschmidt wrote: On Thu, 2009-08-27 at 16:36 -1000, Mitch Bradley wrote: The idea of a wiki as a registration authority is a good one, but I'm not volunteering to maintain it :-) here goes my hope :-) Do we have wiki's we could use on

Please pull 'next' branch of 4xx tree

2009-08-31 Thread Josh Boyer
Hi Ben, Please pull the 'next' branch of the 4xx tree to get the following changes. Thanks, josh The following changes since commit 77c0a700c1c292edafa11c1e52821ce4636f81b0: Benjamin Herrenschmidt (1): powerpc: Properly start decrementer on BookE secondary CPUs are available in the

Re: AW: PowerPC PCI DMA issues (prefetch/coherency?)

2009-09-03 Thread Josh Boyer
On Thu, Sep 03, 2009 at 12:04:50PM -0400, Adam Zilkie wrote: Ben, Thanks for your info. Are you sure there is L2 cache on the 440? It depends on which 440 SoC you have. It also depends on that being configured in the kernel even if it does exist. I am seeing this problem with our custom IDE

Re: Oops in IDE probing on ppc_440 when PCI is enabled in strapping

2009-09-14 Thread Josh Boyer
On Mon, Sep 14, 2009 at 02:36:15PM +0200, Ludo Van Put wrote: Hi, we're working with a PPC440GX on a board that has a.o. a compact flash slot. We had the PCI subsystem of the ppc disabled in strapping for quite a while, until we wanted to start using it. However, when we enabled PCI in the

Re: [PATCH] powerpc: Fix bug where perf_counters breaks oprofile

2009-09-14 Thread Josh Boyer
On Mon, Sep 14, 2009 at 03:14:02PM -0500, Maynard Johnson wrote: Maynard Johnson wrote: Paul Mackerras wrote: Currently there is a bug where if you use oprofile on a pSeries machine, then use perf_counters, then use oprofile again, oprofile will not work correctly; it will lose the PMU

Re: [PATCH] powerpc: Fix bug where perf_counters breaks oprofile

2009-09-14 Thread Josh Boyer
On Tue, Sep 15, 2009 at 10:56:47AM +1000, Benjamin Herrenschmidt wrote: On Mon, 2009-09-14 at 16:43 -0400, Josh Boyer wrote: On Mon, Sep 14, 2009 at 03:14:02PM -0500, Maynard Johnson wrote: Maynard Johnson wrote: Paul Mackerras wrote: Currently there is a bug where if you use oprofile

Re: RFC: delete UART current-speed from 4xx DTS?

2009-09-15 Thread Josh Boyer
On Tue, Sep 15, 2009 at 10:31:36AM -0400, Paul Gortmaker wrote: One of the guys here was getting a messed up console on a bamboo board (on linux boot), which he traced to the fact that the default dts has a 9600 baudrate coded into it (board was running 115k2, not 9600). Either deleting the line,

Re: RFC: delete UART current-speed from 4xx DTS?

2009-09-15 Thread Josh Boyer
On Tue, Sep 15, 2009 at 03:32:05PM -0400, Paul Gortmaker wrote: [Re: RFC: delete UART current-speed from 4xx DTS?] On 15/09/2009 (Tue 11:32) Josh Boyer wrote: On Tue, Sep 15, 2009 at 10:31:36AM -0400, Paul Gortmaker wrote: One of the guys here was getting a messed up console on a bamboo board

Re: RFC: delete UART current-speed from 4xx DTS?

2009-09-16 Thread Josh Boyer
On Wed, Sep 16, 2009 at 07:44:07AM +1000, Benjamin Herrenschmidt wrote: On Tue, 2009-09-15 at 11:32 -0400, Josh Boyer wrote: On Tue, Sep 15, 2009 at 10:31:36AM -0400, Paul Gortmaker wrote: One of the guys here was getting a messed up console on a bamboo board (on linux boot), which he traced

Re: RFC: delete UART current-speed from 4xx DTS?

2009-09-16 Thread Josh Boyer
On Thu, Sep 17, 2009 at 07:31:06AM +1000, Benjamin Herrenschmidt wrote: Ok, so I think that is related to what I originally hit. I played around with removing the current-speed property on canyonlands today, and noticed that I would get no console output at all unless I specified a

[PATCH 0/2] 4xx xmon fixes

2009-09-23 Thread Josh Boyer
Hi All, A couple of simple fixes to improve xmon usage on 4xx boards. I have no idea if anyone else even uses this, but I find it handy from time to time. josh ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

[PATCH 1/2] powerpc/4xx: Fix erroneous xmon warning on PowerPC 4xx

2009-09-23 Thread Josh Boyer
to determine if an exception is recoverable or not. This gets rid of the erroneous warnings on 4xx. Signed-off-by: Josh Boyer jwbo...@linux.vnet.ibm.com --- arch/powerpc/xmon/xmon.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/xmon/xmon.c b/arch

[PATCH 2/2] powerpc/44x: Fix xmon single step on PowerPC 44x

2009-09-23 Thread Josh Boyer
Prior to the arch/ppc - arch/powerpc transition, xmon had support for single stepping on 4xx boards. The functionality was lost when arch/ppc was removed. This patch restores single step support for 44x boards. Signed-off-by: Josh Boyer jwbo...@linux.vnet.ibm.com --- arch/powerpc/xmon/xmon.c

Re: RFC: delete UART current-speed from 4xx DTS?

2009-09-23 Thread Josh Boyer
On Wed, Sep 16, 2009 at 09:19:43AM -0400, Josh Boyer wrote: On Wed, Sep 16, 2009 at 07:44:07AM +1000, Benjamin Herrenschmidt wrote: On Tue, 2009-09-15 at 11:32 -0400, Josh Boyer wrote: Ok, so I think that is related to what I originally hit. I played around with removing the current-speed

Re: [PATCH 2/2] powerpc/44x: Fix xmon single step on PowerPC 44x

2009-09-23 Thread Josh Boyer
On Thu, Sep 24, 2009 at 07:34:34AM +1000, Benjamin Herrenschmidt wrote: On Wed, 2009-09-23 at 09:51 -0400, Josh Boyer wrote: Prior to the arch/ppc - arch/powerpc transition, xmon had support for single stepping on 4xx boards. The functionality was lost when arch/ppc was removed. This patch

[PATCH v2] powerpc/booke: Fix xmon single step on PowerPC Book-E

2009-10-05 Thread Josh Boyer
Prior to the arch/ppc - arch/powerpc transition, xmon had support for single stepping on 4xx boards. The functionality was lost when arch/ppc was removed. This patch restores single step support for 44x boards, and Book-E in general. Signed-off-by: Josh Boyer jwbo...@linux.vnet.ibm.com --- arch

Re: [PATCH][v2] powerpc/4xx: Add 16K FIFO size DTS entries on supported platforms

2009-10-09 Thread Josh Boyer
On Fri, Oct 09, 2009 at 01:15:54PM +1100, Benjamin Herrenschmidt wrote: On Thu, 2009-10-08 at 11:33 -0500, Dave Mitchell wrote: Adding tx/rx-fifo-size-gige to EMAC fields for evaluation kit DTS files where appropriate. Signed-off-by: Dave Mitchell dmitch...@appliedmicro.com Acked-by: Prodyut

Re: [PATCH 1/1] powerpc/40x: Add new PPC440EPx based board HCU5 of Netstal Maschinen

2009-10-12 Thread Josh Boyer
On Fri, Oct 09, 2009 at 10:11:05AM +0200, Niklaus Giger wrote: Adds support for a HCU5 PPC405EPx based board from Netstal Maschinen AG. Should be 440EPx, no? Also, the subject should probably be powerpc/44x. These are minor things, not really a big deal. Overall, nice patch. See below for a

Re: [PATCH] powerpc/40x: Cleanups for HCU4 board

2009-10-12 Thread Josh Boyer
On Fri, Oct 09, 2009 at 09:47:38PM +0200, Niklaus Giger wrote: - hcu4.dts: Added definitions for 2 CAN (Intel 82527) - hcu4.c: Some code for CPLD (special HW clock) and 2 CAN (Intel 82527) Same comments here as in the HCU5 patch. Drop the device_type for cpld and can, and use compatible

Re: Accessing flash directly from User Space

2009-10-28 Thread Josh Boyer
On Tue, Oct 27, 2009 at 04:24:53PM -0600, Jonathan Haws wrote: How can I get that pointer? Unfortunately I cannot simply use the address of the flash. Is there some magical function call that gives me access to that portion of the memory space? $ man 2 mmap You want MAP_SHARED

Please pull 'next' branch of 4xx tree

2009-11-04 Thread Josh Boyer
Hi Ben, Please pull the next branch of the 4xx tree to get the following commits. I have some other things in the middle of being worked that may or may not make it in time for the next release, so I wanted to get these commits into your tree now rather than wait. josh The following changes

Re: Invalidate Data Cache from User Space

2009-11-09 Thread Josh Boyer
On Mon, Nov 09, 2009 at 11:10:42AM -0700, Jonathan Haws wrote: All, What is happening is the dcbi instruction will fail. I get an Illegal Instruction message on the console and my program exits. Is there a reason I cannot call dbci from a user space application, or is there something wrong in

Re: [PATCH 2/4] xilinx_spi: Switch to iomem functions and support little endian.

2009-11-11 Thread Josh Boyer
On Wed, Nov 11, 2009 at 03:38:34PM +0100, Richard Röjfors wrote: This patch changes the out_(be)(8|16|32) and in_(be)(8|16|32) calls to iowrite(8|16|32) and ioread(8|16|32). This to be able to build on platforms not supporting the in/out calls for instance x86. Support is also added for little

Re: kexec for powerpc

2009-11-12 Thread Josh Boyer
On Thu, Nov 12, 2009 at 04:08:07PM -0700, James Black wrote: Are there efforts in this area or is it already working for powerpc? I cross compiled kexec and tried it on an old kernel with kexec support compiled in. 'powerpc' is a bit too vague. It works on lots of ppc64 machines already. What

Re: [PATCH] [PPC4xx] Fix device tree dts file for katmai board.

2009-11-17 Thread Josh Boyer
On Tue, Nov 17, 2009 at 04:19:48PM -0800, pbath...@amcc.com wrote: From: Pravin Bathija pbath...@amcc.com Set size cell value to 2 for 4GB memory support in katmai. Also set PCI-E node inbound DMA ranges size to 4GB for correct boot up of katmai. Content-Type: text/plain; charset=utf-8

Re: Please pull 'next' branch of 4xx tree

2009-11-19 Thread Josh Boyer
On Wed, Nov 04, 2009 at 01:55:19PM -0500, Josh Boyer wrote: Hi Ben, Please pull the next branch of the 4xx tree to get the following commits. I have some other things in the middle of being worked that may or may not make it in time for the next release, so I wanted to get these commits

Re: [PATCH] ppc440spe-adma: adds updated ppc440spe adma driver

2009-11-20 Thread Josh Boyer
On Tue, Nov 17, 2009 at 03:17:05PM +0100, Anatolij Gustschin wrote: This patch adds new version of the PPC440SPe ADMA driver. Signed-off-by: Anatolij Gustschin ag...@denx.de The driver author is listed as Yuri Tikhonov y...@emcraft.com. Shouldn't this include a sign-off from Yuri, or perhaps

[RESEND] [PATCH] Fix wrong error code from ppc32 select syscall

2009-11-23 Thread Josh Boyer
From: Arnd Bergmann a...@arndb.de, Paul Mackerras pau...@samba.org This patch was submitted, discussed, and eventually Acked by everyone, yet still isn't in the tree. See: http://patchwork.ozlabs.org/patch/1240/ Signed-off-by: Josh Boyer jwbo...@linux.vnet.ibm.com Cc: Arnd Bergmann

Re: [PATCH] POWERPC 4xx: Fix PCI in AMCC 440EP Yosemite DTS

2009-11-30 Thread Josh Boyer
On Mon, Nov 16, 2009 at 11:36:40AM -0600, Curtis Wald wrote: Yosemite.dts stanza for PCI was copied from Bamboo which has four PCI slots; Yosemite only has one PCI slot which is mapped to IDSEL 12, ADDR 22, IRQ2 Vector 25, INTA. Signed-off-by: Curtis Wald cw...@watchguardvideo.com Your patch

Re: [PATCH] powerpc: Fix DEBUG_HIGHMEM build break from d4515646699

2009-11-30 Thread Josh Boyer
On Mon, Nov 23, 2009 at 04:28:53PM -0600, Becky Bruce wrote: Code was added to mm/higmem.c that depends on several kmap types that powerpc does not support. We add dummy invalid definitions for KM_NMI, KM_NM_PTE, and KM_IRQ_PTE. According to list discussion, this fix should not be needed anymore

Re: [PATCH] powerpc: Fix DEBUG_HIGHMEM build break from d4515646699

2009-11-30 Thread Josh Boyer
On Tue, Dec 01, 2009 at 06:49:43AM +1100, Benjamin Herrenschmidt wrote: On Mon, 2009-11-30 at 12:57 -0500, Josh Boyer wrote: On Mon, Nov 23, 2009 at 04:28:53PM -0600, Becky Bruce wrote: Code was added to mm/higmem.c that depends on several kmap types that powerpc does not support. We add dummy

Re: BUG: Bad page map in process

2009-12-04 Thread Josh Boyer
On Fri, Dec 04, 2009 at 08:08:27PM +1100, Benjamin Herrenschmidt wrote: On Thu, 2009-12-03 at 14:18 -0500, Sean MacLennan wrote: With 2.6.32 I sometimes get lots and lots of Bad page map errors as shown below. I believe these started in 2.6.32-rc8 or possibly 2.6.32-rc7. Pika just switched to

Re: [PATCH] POWERPC 4xx: Fix PCI in AMCC 440EP Yosemite DTS

2009-12-04 Thread Josh Boyer
On Mon, Nov 30, 2009 at 09:25:51AM -0600, Curtis Wald wrote: Josh, Here is a resend of the Yosemite.dts patch, deleting tabs and spaces in the IDSEL section that should look better when viewing as 80 column. Something is still eating your patches when you send them out. They get corrupted to

Please pull 'next' branch of 4xx tree

2009-12-04 Thread Josh Boyer
Hi Ben, A couple of DTS fixups for you. Thanks. josh The following changes since commit 5a7b4193e564d1611ecf1cd859aed60d5612d78f: Benjamin Herrenschmidt (1): Revert powerpc/mm: Fix bug in pagetable cache cleanup with CONFIG_PPC_SUBPAGE_PROT are available in the git repository at:

Re: [PATCH] MAINTAINERS: Add PowerPC patterns

2009-12-04 Thread Josh Boyer
On Fri, Dec 04, 2009 at 09:16:59AM -0800, Joe Perches wrote: LINUX FOR POWERPC EMBEDDED PPC4XX M:Josh Boyer jwbo...@linux.vnet.ibm.com @@ -3221,6 +3228,8 @@ W: http://www.penguinppc.org/ L:linuxppc-...@ozlabs.org T:git git://git.kernel.org/pub/scm/linux/kernel/git/jwboyer

Re: patch status

2009-12-07 Thread Josh Boyer
On Mon, Dec 07, 2009 at 02:01:58PM -0800, Tirumala Reddy Marri wrote: Hi Ben, Did you get the chance to review the patch I sent it on Dec-1 2009 http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-December/078436.html Ben has to review lots of patches. Please be patient. Also, your patch

Re: patch status

2009-12-07 Thread Josh Boyer
On Mon, Dec 07, 2009 at 05:41:35PM -0800, Tirumala Reddy Marri wrote: Josh, Sorry for my ignorance that I did not copy you first. From now on I No reason to apologize. Working with the Linux community is a learning process. will make sure you are cc'ed . I will send you the copy of user

Re: DTS parsing and kernel bus support query

2009-12-08 Thread Josh Boyer
On Tue, Dec 08, 2009 at 01:53:41PM +, vinayak.k...@gmail.com wrote: Hi I have following queries about DTS parsing and kernel bus support. I would really appreciate any help. I have a PowerPC 440 core based board. We are porting Linux kernel – 2.6.31. 1) For other PowerPC 4xx based

Re: [PATCH] powerpc: Increase warp SD buffer

2009-12-09 Thread Josh Boyer
On Wed, Dec 09, 2009 at 12:04:37AM -0500, Sean MacLennan wrote: Newer revs of the FPGA have a larger SD buffer. How does that impact the older revisions? You're using a cuImage with Warp, so the device tree is bundled with that. If you boot a new kernel with this change to the DTS on a older

Re: [PATCH] powerpc: Increase warp SD buffer

2009-12-09 Thread Josh Boyer
On Wed, Dec 09, 2009 at 10:36:45AM -0500, Sean MacLennan wrote: On Wed, 9 Dec 2009 09:40:55 -0500 Josh Boyer jwbo...@linux.vnet.ibm.com wrote: How does that impact the older revisions? You're using a cuImage with Warp, so the device tree is bundled with that. If you boot a new kernel

Re: [RFC:PATCH 02/03] powerpc: Add definitions for Debug Registers on BookE Platforms

2009-12-10 Thread Josh Boyer
On Thu, Dec 10, 2009 at 01:57:21PM -0200, Dave Kleikamp wrote: diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index 9eed29e..1393307 100644 --- a/arch/powerpc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h @@ -161,9 +161,35 @@ struct

Re: [RFC:PATCH 03/03] powerpc: Add support for BookE Debug Reg. traps, exceptions and ptrace

2009-12-10 Thread Josh Boyer
On Thu, Dec 10, 2009 at 01:57:27PM -0200, Dave Kleikamp wrote: powerpc: Add support for BookE Debug Reg. traps, exceptions and ptrace From: Torez Smith lnxto...@linux.vnet.ibm.com This patch defines context switch and trap related functionality for BookE specific Debug Registers. It adds support

Re: [RFC:PATCH 03/03] powerpc: Add support for BookE Debug Reg. traps, exceptions and ptrace

2009-12-10 Thread Josh Boyer
On Thu, Dec 10, 2009 at 12:27:11PM -0500, Josh Boyer wrote: On Thu, Dec 10, 2009 at 01:57:27PM -0200, Dave Kleikamp wrote: +static void prime_debug_regs(struct thread_struct *thread) +{ + mtspr(SPRN_IAC1, thread-iac1); + mtspr(SPRN_IAC2, thread-iac2); + mtspr(SPRN_IAC3, thread-iac3

Re: [PATCH 2/2 v4] powerpc/44x: Extend Katmai dts for ADMA and RAID56 support

2009-12-11 Thread Josh Boyer
On Fri, Dec 11, 2009 at 02:39:53PM +0100, Anatolij Gustschin wrote: Add nodes for PPC440SPe DMA, I2O, XOR engines and Memory Queue module which are used in the updated PPC440SPe ADMA driver. Also extend plb ranges property to specify address ranges for DMA0/1 and I2O engines. Signed-off-by: Yuri

Re: [PATCH] Adding PCI-E support for 460SX based redwood board.

2009-12-18 Thread Josh Boyer
On Mon, Nov 30, 2009 at 02:58:23PM -0800, tma...@amcc.com wrote: + PCIE0: pc...@d { + device_type = pci; + #interrupt-cells = 1; + #size-cells = 2; +

Please pull 'next' branch of 4xx tree

2009-12-18 Thread Josh Boyer
Hi Ben, A couple more small commits for .33 below. I'd like to get the 460SX patch in still, but it's not quite ready. I also plan on doing some defconfig updates around -rc2. Other than that, I don't have any outstanding patches other than those below. thx, josh The following changes since

Re: [PATCH 1/2] Adding PCI-E support for PowerPC 460SX based SOC.

2009-12-22 Thread Josh Boyer
On Tue, Dec 22, 2009 at 12:49:41AM -0800, tma...@amcc.com wrote: From: Tirumala Marri tma...@amcc.com Signed-off-by: Tirumala Marri tma...@amcc.com Acked-by: Josh Boyer jwbo...@linux.vnet.ibm.com Ben, do you want to take this through your tree or mine? josh --- Kerenl:2.6.33-rc1 Testing

Re: [PATCH 2/2] Adding PCI-E MSI support for PowerPC 460SX SOC.

2009-12-22 Thread Josh Boyer
On Tue, Dec 22, 2009 at 12:49:51AM -0800, tma...@amcc.com wrote: From: Tirumala Marri tma...@amcc.com Signed-off-by: Tirumala Marri tma...@amcc.com --- Kernel version: 2.6.33-rc1 Testing: When 460SX configured as root as a end point E1000(Intell Ethernet card) was plugged into

Re: msi / msix on PPC405EX?

2009-12-23 Thread Josh Boyer
On Wed, Dec 23, 2009 at 09:50:39AM +0100, Weirich, Bernhard wrote: Hello, I am wondering whether msi / msix should work on PPC405EX. A call to pci_enable_msi returns: -38 / ENOSYS, function not implemented. Can someone tell me if I am missing out something or if msi is indeed not implemented on

Re: Defconfig support

2009-01-20 Thread Josh Boyer
On Tue, Jan 20, 2009 at 08:09:36PM -0500, Sean MacLennan wrote: On Tue, 20 Jan 2009 06:29:30 -0500 Josh Boyer jwbo...@linux.vnet.ibm.com wrote: Since I'll be doing defconfig updates today, just tell me which options you need set or disabled. Let's try this patch and see how it goes

Please pull 'merge' branch of 4xx git tree

2009-01-23 Thread Josh Boyer
/infiniband are available in the git repository at: ssh://master.kernel.org/pub/scm/linux/kernel/git/jwboyer/powerpc-4xx.git merge Grant Erickson (1): powerpc/4xx: DTS: Add Add'l SDRAM0 Compatible and Interrupt Info Josh Boyer (3): powerpc/40x: Update PowerPC 40x defconfigs

Re: Broken PCI on Sequoia

2009-01-29 Thread Josh Boyer
On Fri, Jan 30, 2009 at 09:11:01AM +1100, Benjamin Herrenschmidt wrote: On Thu, 2009-01-29 at 18:37 +0100, Geert Uytterhoeven wrote: Hi Ben, Josh, .../... Git-reverting this commit on top of 2.6.29-rc3 makes the crash go away. Perhaps sequoia.dts (and other 44x DTS files) had to be

Re: 2.6.28-rt on PowerPC

2009-01-30 Thread Josh Boyer
On Thu, Jan 29, 2009 at 06:00:43PM -0500, Steven Rostedt wrote: On Fri, 2009-01-30 at 00:34 +0300, Anton Vorontsov wrote: Hi Steven, I know 2.6.28-rt isn't yet ready, but I could not resist to try it anyway. ;-) Here are few issues and ways to solve them: Currently the -rt tree doesn't

Re: [PATCH 1/1 v2] AMCC PPC 460SX redwood SoC platform initial framework

2009-01-30 Thread Josh Boyer
On Thu, Jan 29, 2009 at 01:05:08PM -0800, Madhulika Madishetty wrote: Resubmitting patch without the confidentiality notice. From: Madhulika Madishetty mmadishe...@amcc.com This patch contains initial framework for the AMCC Redwood board. Signed-off-by: Madhulika Madishetty

Re: [PATCH] powerpc/44x: Fix address decoding setup of PCI 2.x cells

2009-02-03 Thread Josh Boyer
fixes outstanding, so feel free to pull it in yourself. Acked-by: Josh Boyer jwbo...@linux.vnet.ibm.com josh ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [ANN] Introducing new test branch in powerpc.git tree

2009-02-05 Thread Josh Boyer
On Thu, Feb 05, 2009 at 03:01:33PM +1100, Benjamin Herrenschmidt wrote: Hoy ! So I've been annoyed for some time by the way we do our preparation for the next merge window. The next branch is defined as not being rebased ever (well, as much as possible), which makes it impossible to just stash

Re: [ANN] Introducing new test branch in powerpc.git tree

2009-02-05 Thread Josh Boyer
On Fri, Feb 06, 2009 at 07:56:22AM +1100, Benjamin Herrenschmidt wrote: Which begs the question of what master is for. So far, it's just been a mirror of next from what I can tell. Maybe it should just track Linus' tree? I've been wondering myself what to do with it ... I may just leave it

Re: [PATCH 1/1] edac: new ppc4xx driver module

2009-02-09 Thread Josh Boyer
On Fri, Feb 06, 2009 at 11:49:47AM -0800, Andrew Morton wrote: On Fri, 06 Feb 2009 11:40:41 -0800 Grant Erickson gerick...@nuovations.com wrote: On 1/30/09 2:05 PM, Andrew Morton wrote: On Fri, 30 Jan 2009 09:54:42 -0700 dougthomp...@xmission.com wrote: From: Grant Erickson

Re: linux2.6.23-rc2 build errors--kernel/traps.c

2009-02-10 Thread Josh Boyer
On Tue, Feb 10, 2009 at 12:30:11PM +0800, Li Jun (Aaron) wrote: Hi, When I make zImage, the errors below came out. Any tips? [linux-2.6-virtex]$ make zImage CHK include/linux/version.h CHK include/linux/utsrelease.h CALLscripts/checksyscalls.sh CHK

Re: [PATCH v2] powerpc/fsl-booke: Add new ISA 2.06 page sizes and MAS defines

2009-02-12 Thread Josh Boyer
On Thu, Feb 12, 2009 at 01:21:24PM -0600, Kumar Gala wrote: On Feb 10, 2009, at 6:26 PM, Kumar Gala wrote: The Power ISA 2.06 added power of two page sizes to the embedded MMU architecture. Its done it such a way to be code compatiable with the existing HW. Made the minor code changes to

Re: [PATCH v2] powerpc/fsl-booke: Add new ISA 2.06 page sizes and MAS defines

2009-02-12 Thread Josh Boyer
On Thu, Feb 12, 2009 at 03:58:15PM -0600, Kumar Gala wrote: On Feb 12, 2009, at 2:34 PM, Josh Boyer wrote: On Thu, Feb 12, 2009 at 01:21:24PM -0600, Kumar Gala wrote: On Feb 10, 2009, at 6:26 PM, Kumar Gala wrote: The Power ISA 2.06 added power of two page sizes to the embedded MMU

Re: [PATCH 0/7][RFC] function graph tracer port to PowerPC

2009-02-12 Thread Josh Boyer
On Thu, Feb 12, 2009 at 06:41:26PM -0500, Steven Rostedt wrote: On Thu, 12 Feb 2009, Geoff Levand wrote: On 02/11/2009 05:10 PM, Steven Rostedt wrote: This is the port to PowerPC of the function graph tracer that was written by Frederic Weisbecker for the x86 architecture. It is broken up

4xx tree updates

2009-02-14 Thread Josh Boyer
Hi All, I've been rather busy lately and have unfortunately gotten behind on updating the 4xx tree. I spent some time this weekend looking over the patches queued up, and fortunately there were not too many. I'm doing some build testing of these 4 today: commit

Re: 4xx tree updates

2009-02-15 Thread Josh Boyer
On Sun, Feb 15, 2009 at 05:31:40AM -0800, Felix Radensky wrote: What about 4xx SPI driver ? Is it planned for inclusion in 2.6.30 ? I really hope so. I've Acked it twice now I think. However, that needs to go in through the SPI tree, which isn't mine. josh

Re: [PATCH] fix the interrupt loss problem on powerpc IPIC (2.6.23)

2009-02-17 Thread Josh Boyer
On Tue, Feb 17, 2009 at 08:12:33AM -0600, Kumar Gala wrote: On Feb 17, 2009, at 6:44 AM, d...@datangmobile.cn d...@datangmobile.cn wrote: From: Da Yu d...@datangmobile.cn Date: Tue, 17 Feb 2009 19:58:20 +0800 Subject: [PATCH] fix the interrupt loss problem on powerpc IPIC (2.6.23)

Please pull 'next' branch

2009-02-24 Thread Josh Boyer
Hi Ben, Please pull the next branch of the 4xx tree. It has a few small commits for 2.6.30, as well as the 256K page size patch for 44x. josh The following changes since commit 6071ed0487c6ea8dcfadd9844b9b90944cd9de1e: Michael Ellerman (1): powerpc/pseries: Return the number of MSIs

Re: [git pull] Please pull powerpc.git merge branch

2009-02-26 Thread Josh Boyer
On Thu, Feb 26, 2009 at 03:07:24PM +1100, Benjamin Herrenschmidt wrote: Hi Linus ! Please pull a few regression fixes for powerpc. Cheers, Ben. The following changes since commit 169d418b127b98a3e464e9c4b807ad083760f98c: Linus Torvalds (1): Merge branch 'for-linus' of

Re: [git pull] Please pull powerpc.git merge branch

2009-02-26 Thread Josh Boyer
On Fri, Feb 27, 2009 at 07:30:21AM +1100, Benjamin Herrenschmidt wrote: On Thu, 2009-02-26 at 06:28 -0500, Josh Boyer wrote: On Thu, Feb 26, 2009 at 03:07:24PM +1100, Benjamin Herrenschmidt wrote: Hi Linus ! Please pull a few regression fixes for powerpc. Cheers, Ben. The following

Re: Please pull 'next' branch

2009-03-02 Thread Josh Boyer
On Tue, Feb 24, 2009 at 09:08:00AM -0500, Josh Boyer wrote: Hi Ben, Please pull the next branch of the 4xx tree. It has a few small commits for 2.6.30, as well as the 256K page size patch for 44x. Ben, ping? josh ___ Linuxppc-dev mailing list

Re: [PATCH, RFC]

2009-03-06 Thread Josh Boyer
On Fri, Mar 06, 2009 at 10:41:48AM -0700, Eddie Dawydiuk wrote: Hello, The patch below resolves the following issues. The build system for the AMCC Yosemite eval board is not including the proper fixups(e.g. RAM initialization, timer initialization). In addition the wrapper script was

Re: Machine check in 4xx ethernet driver

2009-03-09 Thread Josh Boyer
On Mon, Mar 09, 2009 at 12:47:02AM -0700, Felix Radensky wrote: Hi, I'm getting machine check exception when trying to dump emac registers on 405EX Kilauea board. The kernel is 2.6.29-rc7 The problem seems not new, I can reproduce it on 2.6.25 Denx kernel I've not looked at what that code path

Re: Machine check in 4xx ethernet driver

2009-03-09 Thread Josh Boyer
On Mon, Mar 09, 2009 at 03:53:25AM -0700, Felix Radensky wrote: Josh Boyer-4 wrote: On Mon, Mar 09, 2009 at 12:47:02AM -0700, Felix Radensky wrote: Hi, I'm getting machine check exception when trying to dump emac registers on 405EX Kilauea board. The kernel is 2.6.29-rc7 The problem seems

Re: [PATCH] powerpc 4xx: DDR0_14[REDUC] decoded incorrectly

2009-03-09 Thread Josh Boyer
On Mon, Mar 09, 2009 at 06:21:36PM +0200, Mikhail Zolotaryov wrote: Hi, according to the PPC440EPx Embedded Processor User Manual (rev 1.14) DDR0_14[REDUC] bit has the following meaning: REDUC - Enable the half data path feature of the controller 0 = Standard operation using full

Oops with 2.6.29-rc7 on POWER5

2009-03-09 Thread Josh Boyer
I get the following oops on a ppc64 machine using a Fedora rawhide kernel, which is very close to 2.6.29-rc7. It's a POWER5, pSeries CHRP IBM,9123-710. Haven't looked into it just quite yet, but I found it interesting and was wondering if anyone had seen anything like this or could recreate.

Re: Oops with 2.6.29-rc7 on POWER5

2009-03-10 Thread Josh Boyer
On Tue, Mar 10, 2009 at 11:36:15AM +1100, Benjamin Herrenschmidt wrote: On Mon, 2009-03-09 at 20:05 -0400, Josh Boyer wrote: [cfffb830] [c05fe504] .mutex_lock_nested+0x78/0x4b0 (unreliable) [cfffb950] [c039d520] .echo_char_raw+0x40/0x98 [cfffb9f0

Re: [PATCH v5] introduce macro spin_event_timeout()

2009-03-10 Thread Josh Boyer
On Tue, Mar 10, 2009 at 05:33:08PM -0500, Scott Wood wrote: Timur Tabi wrote: The macro spin_event_timeout() takes a condition and timeout value (in microseconds) as parameters. It spins until either the condition is true or the timeout expires. It returns zero if the timeout expires first,

Re: [PATCH v5] introduce macro spin_event_timeout()

2009-03-10 Thread Josh Boyer
On Tue, Mar 10, 2009 at 05:58:58PM -0500, Scott Wood wrote: Josh Boyer wrote: On Tue, Mar 10, 2009 at 05:33:08PM -0500, Scott Wood wrote: Timur Tabi wrote: The macro spin_event_timeout() takes a condition and timeout value (in microseconds) as parameters. It spins until either the condition

Re: [PATCH v5] introduce macro spin_event_timeout()

2009-03-10 Thread Josh Boyer
On Wed, Mar 11, 2009 at 10:59:11AM +1100, Benjamin Herrenschmidt wrote: On Tue, 2009-03-10 at 18:37 -0400, Josh Boyer wrote: On Tue, Mar 10, 2009 at 05:33:08PM -0500, Scott Wood wrote: Timur Tabi wrote: The macro spin_event_timeout() takes a condition and timeout value (in microseconds

Re: [PATCH] PowerPC 440EPx/GRx fix memory size calculation

2009-03-11 Thread Josh Boyer
On Tue, Mar 10, 2009 at 10:50:13PM +0300, Valentine Barshak wrote: I was just going to submit a patch for that too. Indeed, the denali_fixup_memsize() miscalculated a couple of address field widths. We were lucky to eventually get the right result, because the effect of the first error was killed

Re: [PATCH] PowerPC 440EPx/GRx fix memory size calculation

2009-03-11 Thread Josh Boyer
On Wed, Mar 11, 2009 at 10:06:11PM +0300, Valentine Barshak wrote: Josh Boyer wrote: On Tue, Mar 10, 2009 at 10:50:13PM +0300, Valentine Barshak wrote: I was just going to submit a patch for that too. Indeed, the denali_fixup_memsize() miscalculated a couple of address field widths. We were

Re: [PATCH] PowerPC 440EPx/GRx fix memory size calculation

2009-03-11 Thread Josh Boyer
On Thu, Mar 12, 2009 at 01:08:59AM +0300, Valentine wrote: So, probably the best way would be to fix that in u-boot amcc/sequoia/sdram.c by doing mtsdram(DDR0_10, 0x0100); instead of mtsdram(DDR0_10, 0x0300); Sorry, for confusion, but after reviewing the docs, I think that only

Re: [PATCH] PowerPC 440EPx/GRx fix memory size calculation

2009-03-12 Thread Josh Boyer
On Thu, Mar 12, 2009 at 09:24:13AM +0100, Stefan Roese wrote: On Thursday 12 March 2009, Benjamin Herrenschmidt wrote: On Thu, 2009-03-12 at 09:05 +0100, Stefan Roese wrote: Both is possible. Older U-Boot versions only passed the bd_t struct to the kernel. For those U-Boot's the wrapper is

Re: [RFC] Moving toward smarter disabling of FPRs, VRs, and VSRs in the MSR

2009-03-13 Thread Josh Boyer
On Sat, Mar 14, 2009 at 09:45:51AM +1100, Benjamin Herrenschmidt wrote: If these applications are aware they are heavy users (of FP, VMX, VSX) can we not use a sysctl()? Doing so wouldn't be that difficult. I think trying to do something based on a runtime heuristic sounds a bit iffy.

Re: [newbie] uboot relevant !

2009-03-19 Thread Josh Boyer
On Thu, Mar 19, 2009 at 11:44:54AM +0530, Manish D wrote: Hi all, please bear these probably newbie questions. I am trying to port a BSP from 2.4 to 2.6 for a mpc834x based platform. I am building and working on the device tree now. Is there a way build this bsp, without taking the device tree

[PATCH] powerpc: Sanitize stack pointer in signal handling code

2009-03-25 Thread Josh Boyer
. The callers are know to be 32 or 64-bit statically. Signed-off-by: Josh Boyer jwbo...@linux.vnet.ibm.com --- arch/powerpc/include/asm/processor.h | 19 +++ arch/powerpc/kernel/signal.c |4 ++-- arch/powerpc/kernel/signal.h |2 +- arch/powerpc/kernel

Re: [PATCH] powerpc: Sanitize stack pointer in signal handling code

2009-03-25 Thread Josh Boyer
On Wed, Mar 25, 2009 at 12:23:59PM -0400, Josh Boyer wrote: On powerpc64 machines running 32-bit userspace, we can get garbage bits in the stack pointer passed into the kernel. Most places handle this correctly, but the signal handling code uses the passed value directly for allocating signal

Re: [PATCH] hvc_console: prevent wrapping in hvc_console_print()

2009-03-30 Thread Josh Boyer
On Mon, Mar 30, 2009 at 01:35:31PM -0700, Andrew Morton wrote: Guys, could we have a MAINTAINERS entry for this driver please? To my knowledge, there isn't one. Would be Ben now by default I guess. The previous developers have disclaimed ownership for a while from what I remember. josh

[PATCH] powerpc: Make LOWMEM_CAM_NUM depend on FSL_BOOKE

2009-03-31 Thread Josh Boyer
The recent addition of CONFIG_LOWMEM_CAM_BOOL and CONFIG_LOWMEM_CAM_NUM cause the latter to show up in configs that do not need it during 'make oldconfig'. Make LOWMEM_CAM_NUM depend on FSL_BOOKE. Signed-off-by: Josh Boyer jwbo...@linux.vnet.ibm.com --- diff --git a/arch/powerpc/Kconfig b/arch

Re: please disable several items in 44x/canyonlands_defconfig

2009-03-31 Thread Josh Boyer
On Tue, Mar 31, 2009 at 10:16:01AM +0800, Cheng Renquan wrote: These 3 items are generally not used in 44x/canyonlands board, please consider disable them when you change 44x/canyonlands_defconfig next time, CONFIG_PCI_LEGACY CONFIG_DAB CONFIG_VIDEO_OUTPUT_CONTROL I've done a bit broader patch

[PATCH] Add hvc_console to MAINTAINERS

2009-03-31 Thread Josh Boyer
Add a MAINTAINERS entry for the hypervisor virtual console support used on IBM POWER servers. Signed-off-by: Josh Boyer jwbo...@linux.vnet.ibm.com --- diff --git a/MAINTAINERS b/MAINTAINERS index c5f4e9d..387ad45 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2176,6 +2176,11 @@ W: http

Re: [PATCH] Add hvc_console to MAINTAINERS

2009-03-31 Thread Josh Boyer
On Wed, Apr 01, 2009 at 10:44:00AM +1100, Michael Ellerman wrote: On Tue, 2009-03-31 at 09:29 -0400, Josh Boyer wrote: Add a MAINTAINERS entry for the hypervisor virtual console support used on IBM POWER servers. Signed-off-by: Josh Boyer jwbo...@linux.vnet.ibm.com --- diff --git

Re: [PATCH] Add hvc_console to MAINTAINERS

2009-03-31 Thread Josh Boyer
On Tue, Mar 31, 2009 at 02:40:58PM -0700, Joe Perches wrote: On Tue, 2009-03-31 at 14:22 -0700, Andrew Morton wrote: On Tue, 31 Mar 2009 14:10:23 -0700 Joe Perches j...@perches.com wrote: On Tue, 2009-03-31 at 09:29 -0400, Josh Boyer wrote: Add a MAINTAINERS entry for the hypervisor virtual

  1   2   3   4   5   6   7   8   9   10   >