Remove the CPU from the online map to prevent smp_call_function
from sending messages to a stopped CPU.
Signed-off-by: Valentine Barshak
---
arch/powerpc/kernel/smp.c |3 +++
1 file changed, 3 insertions(+)
diff -pruN linux-2.6.orig/arch/powerpc/kernel/smp.c
linux-2.6/arch/powerpc/kernel
interrupts after that
to avoid unrecoverable exceptions.
This patch also moves the "clrrdi r9,r1,THREAD_SHIFT" out of
the #ifdef CONFIG_PPC_BOOK3E scope, since r9 is clobbered
and has to be restored in both cases.
Signed-off-by: Valentine Barshak
---
arch/powerpc/kernel/entry_6
Add ethtool set settings to pasemi_mac_ethtool.
Signed-off-by: Valentine Barshak
---
drivers/net/pasemi_mac_ethtool.c | 14 ++
1 file changed, 14 insertions(+)
diff -pruN linux-2.6.orig/drivers/net/pasemi_mac_ethtool.c
linux-2.6/drivers/net/pasemi_mac_ethtool.c
--- linux-2.6
Not all pasemi mac interfaces can have a phy attached.
For example, XAUI has no phy and phydev is NULL for it.
In this case ethtool get settings causes kernel crash.
Fix it by returning -EOPNOTSUPP if there's no PHY attached.
Signed-off-by: Valentine Barshak
---
drivers/net/pasemi_mac_etht
Not all pasemi mac interfaces can have a phy attached.
For example, XAUI has no phy and phydev is NULL for it.
In this case ethtool get settings causes kernel crash.
Fix it by returning -EOPNOTSUPP if there's no PHY attached.
Signed-off-by: Valentine Barshak
---
drivers/net/pasemi_mac_etht
memory controller register DDR0_10 otherwise.
It also fixes another error in the way ibm4xx_denali_fixup_memsize
calculates memory size. When testing the DDR_REDUC bit, the polarity is
backwards. A "1" implies 32-bit wide memory while a "0" implies 64-bit
wide memory.
Sign
memory controller register DDR0_10 otherwise.
Signed-off-by: Valentine Barshak
---
arch/powerpc/boot/4xx.c | 52 +--
1 files changed, 41 insertions(+), 11 deletions(-)
diff --git a/arch/powerpc/boot/4xx.c b/arch/powerpc/boot/4xx.c
index 5c87843
Stefan Roese wrote:
On Thursday 23 April 2009, Josh Boyer wrote:
On Thu, Apr 23, 2009 at 09:36:12AM -0400, Steven A. Falco wrote:
There is an error in the way ibm4xx_denali_fixup_memsize calculates
memory size. When testing the DDR_REDUC bit, the polarity is
backwards. A "1" implies 32-bit wi
Josh Boyer wrote:
On Thu, Apr 23, 2009 at 06:40:48PM +0400, Valentine Barshak wrote:
Stefan Roese wrote:
On Thursday 23 April 2009, Josh Boyer wrote:
On Thu, Apr 23, 2009 at 09:36:12AM -0400, Steven A. Falco wrote:
There is an error in the way ibm4xx_denali_fixup_memsize calculates
memory
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 lucky to eventually get the right result,
because the effect of the
: Valentine Barshak
Signed-off-by: Mikhail Zolotaryov
--- a/arch/powerpc/boot/4xx.c 2008-04-26 02:18:34.0 +0400
+++ b/arch/powerpc/boot/4xx.c 2008-10-26 01:40:27.0 +0400
@@ -173,15 +173,20 @@ void ibm4xx_denali_fixup_memsize(void)
max_col = DDR_GET_VAL(val
Stefan Roese wrote:
On Thursday 21 August 2008, Sean MacLennan wrote:
That's all output from the wrapper, not the kernel. And the kernel
config doesn't make a difference at all to the wrapper. I wonder if
there is some weird size issue going on there or if whatever U-Boot
version you are using
Josh Boyer wrote:
The following patch series reworks the board support code for PowerPC 44x
platforms. It eliminates a number of redundant .c files and add a
ppc44x_simple.c file that has an explicit list of boards that are supported
by it. This is the same mechanism that Grant Likely has used
Josh Boyer wrote:
On Fri, 1 Aug 2008 18:14:01 +0300
Adrian Bunk <[EMAIL PROTECTED]> wrote:
arch/powerpc/platforms/44x/warp-nand.c was added this year and updated
quite recently.
warp-nand.c is empty unless CONFIG_MTD_NAND_NDFC=y.
MTD_NAND_NDFC depends on !PPC_MERGE.
!PPC_MERGE can never be
Adjust the NDFC resource end value (resource size = end - start + 1).
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/44x/warp-nand.c |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- a/arch/powerpc/platforms/44x/warp-nand.c2008-07-01
Grant Erickson wrote:
index 48c9a6e..799592d 100644
--- a/arch/powerpc/boot/dts/kilauea.dts
+++ b/arch/powerpc/boot/dts/kilauea.dts
@@ -205,7 +205,7 @@
EMAC0: [EMAIL PROTECTED] {
linux,network-index = <0>;
The "ndfc-chip" device doesn't need any resources. All resources
are handled by the "ndfc-nand" device. Registering the same memory
resource twice causes "cat /proc/iomem" to go into an infinite loop
displaying NDFC memory addresses.
Signed-off-by: Valentine Ba
Stefan Roese wrote:
On Friday 18 April 2008, Valentine Barshak wrote:
Right, I forgot to add this. But the partition names and sizes are a
little different from those we used before (e.g. kilauea). I'll send a
patch to update the Canyonlands & Glacier dts files in a short while.
I
Stefan Roese wrote:
On Thursday 17 April 2008, Valentine Barshak wrote:
This patch adds NOR flash entry to the PowerPC 460EX Canyonlands DTS.
Right, I forgot to add this. But the partition names and sizes are a little
different from those we used before (e.g. kilauea). I'll send a pat
This patch adds NOR flash entry to the PowerPC 460EX Canyonlands DTS.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/canyonlands.dts | 36 ++
1 files changed, 36 insertions(+)
diff -pruN powerpc/arch/powerpc/bo
Sergei Shtylyov wrote:
Valentine Barshak wrote:
This adds PCI entry to PowerPC 440EPx Sequoia DTS.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
--- linux-2.6.orig/arch/powerpc/boot/dts/sequoia.dts2007-12-21
17:14:17.0 +0300
+++ linux-2.6/arch/powerpc/bo
devices are registered if we run on a warp
only.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/44x/warp-nand.c |3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
--- linux-2.6.orig/arch/powerpc/platforms/44x/warp-nand.c 2008-03-06
We really need to ack interrupts at mpic_teardown, since
not all platforms reset mpic at kernel start-up. For example,
kexec'ed kernel hangs on P.A. Semi if mpic_eoi() isn't called.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/mpic.c |6 +-
n the SDR0_MFR register. This patch
does the same for "ibm,emac-440gx" compatible chips. The workaround forces
clock on -all- EMACs, so we select clock under global emac_phy_map_lock.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/net/ibm_newemac/core.c | 16
ction for 440GX.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/net/ibm_newemac/core.c | 34 --
drivers/net/ibm_newemac/core.h |6 +-
2 files changed, 37 insertions(+), 3 deletions(-)
diff -pruN linux-2.6.orig/drivers/net/ibm_new
Move the "&& skb->ip_summed == CHECKSUM_PARTIAL" part out of
emac_has_feature parameters.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/net/ibm_newemac/core.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -pruN linux-2.6.o
Josh Boyer wrote:
On Tue, 25 Mar 2008 10:22:15 +1100
Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
On Thu, 2008-03-06 at 16:43 +0300, Valentine Barshak wrote:
This patch adds ibm_newemac PHY clock workaround for 440EP/440GR EMAC
attached to a PHY which doesn't generate RX clo
Olof Johansson wrote:
Add netpoll support to allow use of netconsole.
Signed-off-by: Nate Case <[EMAIL PROTECTED]>
Signed-off-by: Olof Johansson <[EMAIL PROTECTED]>
diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c
index abb1dc4..6030ffe 100644
--- a/drivers/net/pasemi_mac.c
+++
Benjamin Herrenschmidt wrote:
http://marc.info/?l=linux-netdev&m=120449748701492&w=2
I sent it to Ben with netdev on CC because you asked the various people
sending NEWEMAC patches to you to find a single person.
So from now on, what are we going to do? It seems we're playing net
maintainer ru
Use dcri_clrset() for PCIe SDR0 read/modify/write access.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/ppc4xx_pci.c | 13 +
1 files changed, 5 insertions(+), 8 deletions(-)
diff -pruN linux-2.6.orig/arch/powerpc/sysdev/ppc4xx_pci.c
linux-2.
Oops, sorry, please discard this one.
There's a typo in it. The fixed patch is coming right away.
Thanks.
Valentine.
Valentine Barshak wrote:
> Use dcri_clrset() for PCIe SDR0 read/modify/write access.
>
> Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
> ---
Use dcri_clrset() for PCIe SDR0 read/modify/write access.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/ppc4xx_pci.c | 11 ---
1 files changed, 4 insertions(+), 7 deletions(-)
diff -pruN linux-2.6.orig/arch/powerpc/sysdev/ppc4xx_pci.c
linux-2.
ction for 440GX.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/net/ibm_newemac/core.c | 34 --
drivers/net/ibm_newemac/core.h |6 +-
2 files changed, 37 insertions(+), 3 deletions(-)
diff -pruN linux-2.6.orig/drivers/net/ibm_new
n the SDR0_MFR register. This patch
does the same for "ibm,emac-440gx" compatible chips. The workaround forces
clock on -all- EMACs, so we select clock under global emac_phy_map_lock.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/net/ibm_newemac/core.c | 16
Josh Boyer wrote:
> On Thu, 06 Mar 2008 11:06:18 +1100
> Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
>
>> On Wed, 2008-03-05 at 21:38 +0300, Valentine Barshak wrote:
>>> This adds dcri_clrset() macro which does read/modify/write
>>> on indirect dcr re
This adds dcri_clrset() macro which does read/modify/write
on indirect dcr registers while holding indirect dcr lock.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
include/asm-powerpc/dcr-native.h | 17 +
1 files changed, 17 insertions(+)
--- linux-2.6.orig/i
Benjamin Herrenschmidt wrote:
> On Tue, 2008-02-26 at 09:02 -0600, Josh Boyer wrote:
>> Seems the code will do the right thing since everything is using
>> flags. I suppose my question can be withdrawn. It is slightly
>> confusing to do it that way though. Perhaps a function to do
>> read-modify
-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/boot/cuboot-taishan.c |2 ++
1 files changed, 2 insertions(+)
diff -pruN linux-2.6.orig/arch/powerpc/boot/cuboot-taishan.c
linux-2.6/arch/powerpc/boot/cuboot-taishan.c
--- linux-2.6.orig/arch/powerpc/boot/cuboot-taishan.c 2008
Josh Boyer wrote:
> On Fri, 22 Feb 2008 22:28:17 +0300
> Valentine Barshak <[EMAIL PROTECTED]> wrote:
>
>> This patch adds ibm_newemac phy clock workaround for 440EP/440GR emacs.
>> The code is based on the previous ibm_emac driver stuff. The 440EP/440GR
>> a
This patch adds ibm_newemac phy clock workaround for 440EP/440GR emacs.
The code is based on the previous ibm_emac driver stuff. The 440EP/440GR
allows controlling each EMAC clock spearately as opposed to global clock
selection for 440GX.
Signed-off-by: Valentine Barshak <[EMAIL PROTEC
patch
does the same for "ibm,emac-440gx" compatible chips. The workaround forces
clock on -all- EMACs, so we select clock under global emac_phy_map_lock.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/net/ibm_newemac/core.c | 16 +++-
drivers/n
Move the "&& skb->ip_summed == CHECKSUM_PARTIAL" part out of
emac_has_feature parameters.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/net/ibm_newemac/core.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -pruN linux-2.6.o
Benjamin Herrenschmidt wrote:
> On Thu, 2008-02-21 at 17:46 +0300, Valentine Barshak wrote:
>> The PowerPC 440GX Taishan board fails to reset EMAC3 (reset timeout error)
>> and because of that it can't find PHY chip. The older ibm_emac driver had
>> a workaround for t
patch
does the same for "ibm,emac-440gx" compatible chips.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/net/ibm_newemac/core.c | 16 +++-
drivers/net/ibm_newemac/core.h |8 ++--
2 files changed, 21 insertions(+), 3 deletions(-)
diff
In order to get the proper bd_info structure for PowerPC 440,
both TARGET_4xx and TARGET_44x should be defined.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/boot/cuboot-taishan.c |1 +
1 files changed, 1 insertion(+)
diff -pruN linux-2.6.orig/arch/powerp
Imre Kaloz wrote:
> On Thu, 07 Feb 2008 15:05:23 +0100, Valentine Barshak
> <[EMAIL PROTECTED]> wrote:
>
>>> Well, arch/ppc calculates the mtd2 dynamically and doesn't create
>>> a separate partition for kozio.
>>
>> That dynamic size calculation
size). So AFAIU if such board exists,
we'll need a cuboot flash-size fixup.
Thanks,
Valentine.
>
> I've based this on how it's currently done for the Sequoia, too.
>
>
> Imre
>
> On Thu, 07 Feb 2008 14:46:43 +0100, Valentine Barshak
> <[EMAIL PROTECTE
Josh Boyer wrote:
> On Thu, 07 Feb 2008 11:29:55 +0100
> "Imre Kaloz" <[EMAIL PROTECTED]> wrote:
>
>> *bump*? :) If anything is wrong with it, please let me know.
The arch/ppc had a bit different partition table.
Something like this:
mtd0: 0018 0004 "kernel"
mtd1: 0020 0004 "root"
twice. To avoid this error, I've added
__mfdcri()/__mtdcri() inline functions that take the lock after register name
fix-up.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
include/asm-powerpc/dcr-native.h | 49 +++
1 files changed, 30 inser
To avoid this error, I've added
set_dcri() and clr_dcri() macros which set/clear the specified bits.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/ppc4xx_pci.c | 13 +
include/asm-powerpc/dcr-native.h | 22 ++
2 fil
The include/asm-powerpc/dcr-native.h declares extern spinlock_t dcr_ind_lock;
but it's actually isn't defined. This patch adds a missing dcr_ind_lock.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/dcr.c |5 +++--
1 files changed, 3 insertions
Oops, sorry, please discard this one.
DEFINE_SPINLOCK should be used here.
Valentine Barshak wrote:
> The include/asm-powerpc/dcr-native.h declares extern spinlock_t dcr_ind_lock,
> but it's actually isn't defined. This patch adds a missing dcr_ind_lock.
>
> Signed-off
The include/asm-powerpc/dcr-native.h declares extern spinlock_t dcr_ind_lock,
but it's actually isn't defined. This patch adds a missing dcr_ind_lock.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/dcr.c |5 +++--
1 files changed, 3 insertions
Josh Boyer wrote:
> On Wed, 23 Jan 2008 23:37:33 +0100
> Roel Kluin <[EMAIL PROTECTED]> wrote:
>
>> logical/bitand typo
>>
>> Signed-off-by: Roel Kluin <[EMAIL PROTECTED]>
>> ---
>> diff --git a/arch/powerpc/boot/4xx.c b/arch/powerpc/boot/4xx.c
>> index ebf9e21..dcfb459 100644
>> --- a/arch/powerp
Stefan Roese wrote:
> Hi Valentine,
>
> On Friday 21 December 2007, Valentine Barshak wrote:
>>> Good catch. I'll have to look more closely to see if anything else
>>> would be broken by changing the cpu node name from "PowerPC,[EMAIL
>>> PROTEC
Josh Boyer wrote:
> On Fri, 21 Dec 2007 19:24:02 +0300
> Valentine Barshak <[EMAIL PROTECTED]> wrote:
>
>> Commit 3ee133269861dc449ad5be761aa8570b1b05571f introduced
>> a CPU "model" property and thus broke PowerPC 440EP(x)/440GR(x)
>> identical PVR work
This adds PCI entry to PowerPC 440GRx Rainier DTS.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/rainier.dts | 27 +++
1 files changed, 27 insertions(+)
--- linux-2.6.orig/arch/powerpc/boot/dts/rainier.dts2007-12-19
> + reg = <1 eec0 8 /* Config space access */
> +1 eed8 4 /* IACK */
> +1 eed8 4 /* Special cycle */
Please, discard this one, since it contains the typos pasted from
previous bamboo dts, which hav
This adds PCI entry to PowerPC 440GRx Rainier DTS.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/rainier.dts | 27 +++
1 files changed, 27 insertions(+)
--- linux-2.6.orig/arch/powerpc/boot/dts/rainier.dts2007-12-19
This adds PCI entry to PowerPC 440EPx Sequoia DTS.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/sequoia.dts | 27 +++
1 files changed, 27 insertions(+)
--- linux-2.6.orig/arch/powerpc/boot/dts/sequoia.dts2007-12-21
Commit 3ee133269861dc449ad5be761aa8570b1b05571f introduced
a CPU "model" property and thus broke PowerPC 440EP(x)/440GR(x)
identical PVR workaround. The patch updates it to use the new
model property for CPU identification.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
-
Correct the PowerPC 440GRx machine check callback.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/kernel/cputable.c |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -pruN linux-2.6.orig/arch/powerpc/kernel/cputable.c
linux-2.6/arch/powerpc/kernel/cput
This patch series has a couple of PowerPC 440EPx/GRx fixes and
adds PCI to Sequoia/Rainier DTS.
Thanks,
Valentine.
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
Benjamin Herrenschmidt wrote:
> On Wed, 2007-12-19 at 16:34 +0300, Valentine Barshak wrote:
>
>>> --- linux-work.orig/arch/powerpc/boot/dts/bamboo.dts2007-12-10
>>> 15:56:59.0 +1100
>>> +++ linux-work/arch/powerpc/boot/dts/bamboo.dts 2007-12
Benjamin Herrenschmidt wrote:
> This adds the device-tree bits & call to ppc4xx_pci_find_bridges()
> to make PCI work on the Bamboo board
>
> Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
> ---
>
> arch/powerpc/boot/dts/bamboo.dts | 40
> ++-
>
rq.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/uic.c | 36 +++-
1 files changed, 19 insertions(+), 17 deletions(-)
diff -pruN linux-2.6.orig/arch/powerpc/sysdev/uic.c
linux-2.6/arch/powerpc/sysdev/uic.c
--- linux-2.6.ori
The patch moves dev_set_drvdata(&ofdev->dev, dev) up before tah_reset(ofdev)
is called to avoid a NULL pointer dereference, since tah_reset uses drvdata.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/net/ibm_newemac/tah.c |3 ++-
1 files changed, 2 ins
This patch fixes a typo in ibm_newemac/core.c
(tah_port should be used instead of tah_ph)
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/net/ibm_newemac/core.c |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -pruN linux-2.6.orig/drivers/net/ibm_newemac/
The EMAC4_MR1_OBCI(freq) macro expects freg in MHz,
while opb_bus_freq is kept in Hz. Correct this.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/net/ibm_newemac/core.c |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -pruN linux-2.6.orig/drivers/net/ibm_n
These patches have some minor ibm_newemac fixes.
Thanks,
Valentine.
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
ral source.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/uic.c | 81 ++
1 files changed, 19 insertions(+), 62 deletions(-)
--- linux-2.6.orig/arch/powerpc/sysdev/uic.c2007-11-14 15:57:37.0
+0300
++
Benjamin Herrenschmidt wrote:
> On Wed, 2007-11-14 at 13:13 +1100, David Gibson wrote:
>> Hrm. I *think* I'm convinced this is safe, although acking in a
>> callback which doesn't say it acks is rather yucky. Essentially this
>> code is trading flow readability (because just reading
>> handle_lev
after the ISR has de-asserted the external interrupt source.
Even if we ack the interrupt that we didn't handle (unmask/ack it at
the end of the handler, while next irq is already pending) it will not
de-assert the irq, untill we de-assert its exteral source.
Signed-off-by: Valentine Barsh
This adds uic_mask_ack_irq() callback to PowerPC 4xx uic code
to avoid kernel crash. It is used for edge-triggered interrupts
by handle_uic_irq().
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/uic.c | 18 +-
1 files changed, 17 insertions
These patches update 4xx uic code. The first one
fixes a minor issue with edge-triggered interrupts,
while the second one makes it use generic level and edge irq
handlers. I've added irq ack'ing to the unmask callback for
level-triggered interrupts, because to de-assert them we have
to do 2 things
Roel Kluin wrote:
> I guess it should be done after the last usage of kb_data or fpga_status?
I think no iounmap(kb_data) needed. Looks like the pointer kn_cs (kb_cs
= kb_data + 1) is used by the serio driver
(drivers/input/serio/i8042-ppcio.h).
Please note that we just ioremap and assign pointe
Thomas Gleixner wrote:
> Valentine,
>> You know, you're really too tense Thomas. I'm not sure of the reason why
>> you're being a complete nerve, but I'm feeling sorry for you.
>
> You have a perception problem. I'm not tense, I'm grumpy.
:)
>
> Rest assured, that my nerves are completely fine
[EMAIL PROTECTED] wrote:
>>> USB_OHCI_BIG_ENDIAN_DESC/MMIO should always be enabled for ppc
>>> and USB_OHCI_LITTLE_ENDIAN is selected for USB_OHCI_HCD_PCI by default.
>
> I don't find those options useless. If you think the defauts are not the
> best change them but I find these options relevant.
Olof Johansson wrote:
> On Wed, Oct 31, 2007 at 10:08:05AM +1100, David Gibson wrote:
>> On Tue, Oct 30, 2007 at 07:56:50PM +0300, Valentine Barshak wrote:
>>> PowerPC 440GRx Rainier DTS.
>> [snip]
>>> + SDRAM0: sdram {
>>> +
Stephen Rothwell wrote:
> On Tue, 30 Oct 2007 19:57:39 +0300 Valentine Barshak <[EMAIL PROTECTED]>
> wrote:
>> +++ linux-2.6/arch/powerpc/platforms/44x/rainier.c 2007-10-30
>> 18:00:15.0 +0300
>> +#include
>> +#include
>> +#include
Josh Boyer wrote:
> On Tue, 30 Oct 2007 19:45:11 +0300
> Valentine Barshak <[EMAIL PROTECTED]> wrote:
>
>> The following patches add PowerPC 440GRx Rainier board support.
>> The board is almost identical to Sequoia, but doesn't have USB
>> and FPU is not supp
Josh Boyer wrote:
> On Tue, 30 Oct 2007 19:45:11 +0300
> Valentine Barshak <[EMAIL PROTECTED]> wrote:
>
>> The following patches add PowerPC 440GRx Rainier board support.
>> The board is almost identical to Sequoia, but doesn't have USB
>> and FPU is not sup
PowerPC 440GRx Rainier default config.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/configs/rainier_defconfig | 868 +
1 files changed, 868 insertions(+)
diff -pruN linux-2.6.orig/arch/powerpc/configs/rainier_defconfig
linux-2.
PowerPC 440GRx Rainier board support.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/44x/Kconfig | 16 -
arch/powerpc/platforms/44x/Makefile |3 +
arch/powerpc/platforms/44x/rainier.c | 61 +++
3 files c
PowerPC 440GRx Rainier DTS.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/rainier.dts | 312 ++
1 files changed, 312 insertions(+)
diff -pruN linux-2.6.orig/arch/powerpc/boot/dts/rainier.dts
linux-2.6/arch/powerpc/bo
Bootwrapper code for PowerPC 440GRx Rainier board.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/boot/Makefile |3 +
arch/powerpc/boot/cuboot-rainier.c | 56 +
2 files changed, 58 insertions(+), 1 deletion(-)
diff
The following patches add PowerPC 440GRx Rainier board support.
The board is almost identical to Sequoia, but doesn't have USB
and FPU is not supported.
Thanks,
Valentine.
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/li
Thomas Gleixner wrote:
> On Mon, 29 Oct 2007, Valentine Barshak wrote:
>
>> This adds a device-tree aware PowerPC 44x NanD Flash Controller driver
>> The code is based on the original NDFC driver by Thomas Gleixner, but
>> since it's been changed much and has initi
Use of_get_next_child for proper ref counting as suggested by Stephen Rothwell
and remove add_mtd_partitions from parse_partitions to avoid duplicate
mtd device registration for RedBoot partitions.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/mtd/maps/physmap_of.c
NDFC DTS entry for PowerPC 440EPx Sequoia board.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/sequoia.dts | 23 +++
1 files changed, 23 insertions(+)
diff -pruN linux-2.6.orig/arch/powerpc/boot/dts/sequoia.dts
linux-2.6/arch/powerp
PowerPC 44x NanD Flash Controller (NDFC) bindings.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
Documentation/powerpc/booting-without-of.txt | 64 +++
1 files changed, 64 insertions(+)
--- linux-2.6.orig/Documentation/powerpc/booting-without-of.txt 2
original NDFC
driver by Thomas Gleixner, but since a lot of things have been reworked it's
been put to a separate ndfc_of file.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/mtd/nand/Kconfig |7
drivers/mtd/nand/Makefile |1
drivers/mtd/nand/ndfc_
This adds a device-tree aware PowerPC 44x NanD Flash Controller driver
The code is based on the original NDFC driver by Thomas Gleixner, but
since it's been changed much and has initialization/clean-up completely
reworked it's been put into a separate ndfc_of.c file. This version
supports both sepa
Thomas Gleixner wrote:
> On Fri, 26 Oct 2007, Valentine Barshak wrote:
>> The major difference is that the original implements each chip connected
>> NDFC banks as a
>> separate MTD device. Here I try to have one MTD device spread on all chips
>> found.
>> How
PowerPC 44x NAND Flash Controller (NDFC) bindings
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
Documentation/powerpc/booting-without-of.txt | 43 +++
1 files changed, 43 insertions(+)
--- linux-2.6.orig/Documentation/powerpc/booting-without-of.txt 2
NDFC (NAND Flash Controller) DTS entry for PowerPC 440EPx Sequoia board.
The NDFC is relocatable in EBC space.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/sequoia.dts | 20
1 files changed, 20 insertions(+)
diff -pruN linux-2.6.ori
handling code is based on the physmap_of one.
The the first 4 bits of the "bank-mask" property show which of the 4 NDFC
banks have chips attached. The "bank-width" property is 1 for 8-bit flash
and 2 for a 16-bit one.
Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
Signed
I've worked in parallel with Stefan Roese on the new OF NDFC support.
This version (as well as Stefan's) is based on the original NDFC driver by
Thomas Gleixner.
The major difference is that the original implements each chip connected NDFC
banks as a
separate MTD device. Here I try to have one MT
Benjamin Herrenschmidt wrote:
> On Fri, 2007-10-26 at 15:05 +0400, Valentine Barshak wrote:
>> It's not enough. We need to enable APU instruction broadcast for
>> EP(x)
>> (call __init_fpu_44x in arch/powerpc/kernel/cpu_setup_44x.S).
>> Or do you suggest to or-in
USB_OHCI_HCD_PCI by default.
The compatible "mpc5200-ohci" property is kept for old bindings support.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
drivers/usb/host/Kconfig | 17 ++--
drivers/usb/host/ohci-ppc-of.c | 42 ++
1 - 100 of 237 matches
Mail list logo