Jean Delvare writes:
> The legacy i2c binding model is going away soon, so convert the
> macintosh windfarm drivers to the new model or they will break.
All works OK on my quad G5 (PowerMac11,2).
Tested-by: Paul Mackerras
Paul.
___
Linuxppc-dev maili
"H. Peter Anvin" writes:
> Sam Ravnborg wrote:
>>>
>>> What's wrong with @?
>> arm does not support it :-(
>> I recall it denote a comment in arm assembler.
>>
>> I could do some magic to detect the ARM case but I'm reluctant to do so.
>> I could also ignore the arm issue for now as it is not us
Jean Delvare writes:
> The legacy i2c binding model is going away soon, so convert the ppc
> therm_adt746x driver to the new model or it will break.
>
> Signed-off-by: Jean Delvare
Seems to work OK on my powerbook (PowerBook5,4).
Tested-by: Paul Mackerras
Paul.
__
For serial flash support we need to:
- Add QE Par IO Bank E device tree node, a GPIO from this bank is
used for SPI chip-select line;
- Add serial-flash node;
- Add proper module alias into of/base.c.
Signed-off-by: Anton Vorontsov
---
arch/powerpc/boot/dts/mpc8569mds.dts | 26 +
Select HAS_RAPIDIO symbol and add rio nodes for MPC8568E-MDS
and MPC8569E-MDS boards.
Signed-off-by: Anton Vorontsov
---
arch/powerpc/boot/dts/mpc8568mds.dts | 17 +
arch/powerpc/boot/dts/mpc8569mds.dts | 17 +
arch/powerpc/platforms/85xx/Kconfig |1 +
3
Note that eSDHC and DUART0 are mutually exclusive on MPC8569E-MDS
boards. Default option is DUART0, so eSDHC is disabled by default.
U-Boot will fixup device tree if eSDHC should be used instead of
DUART0.
Signed-off-by: Anton Vorontsov
---
arch/powerpc/boot/dts/mpc8569mds.dts | 10 ++
This patch fixes bogus reg = <> property in the localbus node,
and fixes interrupt property (should be "interrupts").
Also add node for NAND support.
Signed-off-by: Anton Vorontsov
---
arch/powerpc/boot/dts/mpc8569mds.dts | 11 +--
1 files changed, 9 insertions(+), 2 deletions(-)
dif
fsl,exec-units-mask should be 0xbfe to include SNOW unit in
MPC8569E's security engine.
Signed-off-by: Anton Vorontsov
---
arch/powerpc/boot/dts/mpc8569mds.dts |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8569mds.dts
b/arch/powerpc/boot/dts/
This patch adds PCI IDs for MPC8569 and MPC8569E processors,
plus adds appropriate quirks for these IDs, and thus makes
PCI-E actually work on MPC8569E-MDS boards.
Signed-off-by: Anton Vorontsov
---
arch/powerpc/sysdev/fsl_pci.c |2 ++
include/linux/pci_ids.h |2 ++
2 files changed
Hi all,
Here are few fixes and improvements for MPC8569E-MDS boards.
Thanks,
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc
On Sun, Apr 05, 2009 at 11:07:56PM +0200, Sam Ravnborg wrote:
> On Fri, Mar 20, 2009 at 07:44:29PM +0300, Anton Vorontsov wrote:
> > This patch introduces ARCH_HAS_NORMAL_FRAME_POINTERS Kconfig symbol.
> > When defined, the top level Makefile won't add -fno-omit-frame-pointer
> > cflag (the flag is
Irqsoff, switch and preempt tracers use CALLER_ADDR macros, so they
should select FRAME_POINTER. Otherwise traces are meaningless.
Signed-off-by: Anton Vorontsov
---
kernel/trace/Kconfig |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/kernel/trace/Kconfig b/kernel/trac
The workarounds aren't needed any longer since the top level Makefile
doesn't pass -fno-omit-frame-pointer cflag for PowerPC builds.
Signed-off-by: Anton Vorontsov
---
arch/powerpc/Makefile|5 -
arch/powerpc/kernel/Makefile | 12 ++--
arch/powerp
This patch introduces HAVE_NORMAL_FRAME_POINTER Kconfig symbol. When
defined, the top level Makefile won't add -fno-omit-frame-pointer
cflag (the flag is useless for PowerPC kernels, and also makes gcc
generate wrong code).
Also move ARCH_WANT_FRAME_POINTERS's help text.
Signed-off-by: Anton Voro
Hi all,
In v5 there are few fixes suggested by Sam Ravnborg:
- Use 8 spaces for indentation in Makefile;
- Rename ARCH_HAS_NORMAL_FRAME_POINTERS to HAVE_NORMAL_FRAME_POINTER;
Thanks,
---
Preface for those who don't know or forgot what the problem is:
Gcc frame pointers do nothing useful on P
Wolfgang Denk wrote:
Dear Feng Kan,
In message <1241211767-32697-1-git-send-email-f...@amcc.com> you wrote:
This adds support for the Designware SATA controller.
Signed-off-by: Feng Kan
Signed-off-by: Mark Miesfeld
---
drivers/ata/Kconfig| 10 +
drivers/ata/Makefile |1 +
driver
Dear Feng Kan,
In message <1241211767-32697-1-git-send-email-f...@amcc.com> you wrote:
> This adds support for the Designware SATA controller.
>
> Signed-off-by: Feng Kan
> Signed-off-by: Mark Miesfeld
> ---
> drivers/ata/Kconfig| 10 +
> drivers/ata/Makefile |1 +
> drivers/ata/sa
On Fri, May 01, 2009 at 09:52:18AM -0400, Christoph Lameter wrote:
> On Fri, 1 May 2009, Sam Ravnborg wrote:
>
> > Are there any specific reason why we do not support read_mostly on all
> > architectures?
>
> Not that I know of.
>
> > read_mostly is about grouping rarely written data together
>
Sam Ravnborg wrote:
>>
>> What's wrong with @?
> arm does not support it :-(
> I recall it denote a comment in arm assembler.
>
> I could do some magic to detect the ARM case but I'm reluctant to do so.
> I could also ignore the arm issue for now as it is not used by arm,
> but that strikes me as
On Fri, May 01, 2009 at 10:18:20AM -0700, H. Peter Anvin wrote:
> Sam Ravnborg wrote:
> > On Fri, May 01, 2009 at 09:33:13AM -0700, H. Peter Anvin wrote:
> >> Tim Abbott wrote:
> >>> On Fri, 1 May 2009, Sam Ravnborg wrote:
> >>>
> On Thu, Apr 30, 2009 at 03:54:08PM -0400, Tim Abbott wrote:
> >
Sam Ravnborg wrote:
> On Fri, May 01, 2009 at 09:33:13AM -0700, H. Peter Anvin wrote:
>> Tim Abbott wrote:
>>> On Fri, 1 May 2009, Sam Ravnborg wrote:
>>>
On Thu, Apr 30, 2009 at 03:54:08PM -0400, Tim Abbott wrote:
> +#define __PAGE_ALIGNED_DATA .section ".data.page_aligned", "aw",
>
On Fri, May 01, 2009 at 09:33:13AM -0700, H. Peter Anvin wrote:
> Tim Abbott wrote:
> > On Fri, 1 May 2009, Sam Ravnborg wrote:
> >
> >> On Thu, Apr 30, 2009 at 03:54:08PM -0400, Tim Abbott wrote:
> >>> +#define __PAGE_ALIGNED_DATA .section ".data.page_aligned", "aw",
> >>> @progbits
> >>> +
On May 1, 2009, at 2:40 PM, Haiying Wang wrote:
Signed-off-by: Haiying Wang
---
v2 change: rename "num-riscs" to "fsl,qe-num-riscs", and "num-snums"
to
"fsl,qe-num-snums".
arch/powerpc/boot/dts/mpc8569mds.dts | 514
+
arch/powerpc/platforms/85xx/mpc85xx_
On May 1, 2009, at 2:40 PM, Haiying Wang wrote:
in the case the QE has 46 SNUMs for the threads to support four UCC
Ethernet at
1000Base-T simultaneously.
Signed-off-by: Haiying Wang
---
v2 change: Add comments for the Rx threads change.
drivers/net/ucc_geth.c | 10 +-
1 files chan
On May 1, 2009, at 2:40 PM, Haiying Wang wrote:
Add fsl,qe-num-riscs and fsl,qe-num-snums to all the devices trees
which have qe
node.
Signed-off-by: Haiying Wang
---
arch/powerpc/boot/dts/mpc832x_mds.dts |2 ++
arch/powerpc/boot/dts/mpc832x_rdb.dts |2 ++
arch/powerpc/boot/dts/mpc836
On May 1, 2009, at 2:40 PM, Haiying Wang wrote:
The latest QE chip may have more Serial Number(SNUM)s of thread to
use. We will
get the number of SNUMs from device tree by reading the new property
"fsl,qe-num-snums", and set 28 as the default number of SNUMs so
that it is
compatible with th
On May 1, 2009, at 3:15 PM, Timur Tabi wrote:
On Fri, May 1, 2009 at 2:40 PM, Haiying Wang > wrote:
Change the RISC allocation to macros instead of enum, add function
to read the
number of risc engines from the new property "fsl,qe-num-riscs"
under qe node
in dts. Add new property "fsl,qe-n
From: Kumar Gala
Date: Fri, 1 May 2009 16:56:19 -0500
>
> On May 1, 2009, at 2:40 PM, Haiying Wang wrote:
>
>> in the case the QE has 46 SNUMs for the threads to support four UCC
>> Ethernet at
>> 1000Base-T simultaneously.
>>
>> Signed-off-by: Haiying Wang
>> ---
>> v2 change: Add comments fo
This adds the OF platform support for the AMCC 460EX Canyonlands SATA port.
Signed-off-by: Feng Kan
---
arch/powerpc/boot/dts/canyonlands.dts |8 ++
arch/powerpc/platforms/44x/Makefile|4 +
arch/powerpc/platforms/44x/amcc-sata.c | 125
3 files chang
On May 1, 2009, at 2:40 PM, Haiying Wang wrote:
in the case the QE has 46 SNUMs for the threads to support four UCC
Ethernet at
1000Base-T simultaneously.
Signed-off-by: Haiying Wang
---
v2 change: Add comments for the Rx threads change.
drivers/net/ucc_geth.c | 10 +-
1 files chan
Sean MacLennan wrote:
> Would cpu_relax be a good thing to put here?
>
> Something like:
>
> while (!(rc = (condition)) && (tb_ticks_since(__start) <= __loops)) \
> if (delay) \
> udelay(delay); \
> else \
> cpu_relax(); \
>
I had that at one point, but
Fixed comment issue. Change goto statements to lower case. Also
fixed the Kconfig problem.
I don't know if I need to add Stefan Roese for the signoff, since he
did the of platform part.
Stefan, if you see this please let me know.
Feng Kan
___
Linuxppc-d
On Thu, Apr 30, 2009 at 5:48 PM, Anton Vorontsov
wrote:
> Since we renamed the file, we might want to rename the file
> internals too.
>
> Though we don't bother with changing platform driver name and
> platform module alias. The stuff is legacy and hopefully we'll
> remove it soon.
>
I'd say no
Feng Kan wrote:
This adds support for the Designware SATA controller.
Signed-off-by: Feng Kan
Signed-off-by: Mark Miesfeld
---
drivers/ata/Kconfig| 10 +
drivers/ata/Makefile |1 +
drivers/ata/sata_dwc.c | 2053
3 files changed, 206
On Fri, May 1, 2009 at 3:02 PM, Feng Kan wrote:
> This adds the OF platform support for the AMCC 460EX Canyonlands SATA port.
>
> Signed-off-by: Feng Kan
> ---
> arch/powerpc/boot/dts/canyonlands.dts | 8 ++
> arch/powerpc/platforms/44x/Makefile | 4 +
> arch/powerpc/platforms/44x/amcc
On Mon, 27 Apr 2009 14:05:44 -0500
"Timur Tabi" wrote:
> +#define spin_event_timeout(condition, timeout, delay,
> rc) \
> +{ \
> + unsigned long __loops = tb_ticks_per_usec *
> timeout;
Kumar Gala wrote:
> I wouldn't call it spin_event_timeout as its a bit too generic of a
> name for something that is arch specific.
Well, I'm hoping it won't be arch-specific forever. I'd like to see
other architectures implement something like tb_ticks_per_usec. I'm
only tackling PowerPC for
Kumar Gala wrote:
I wouldn't call it spin_event_timeout as its a bit too generic of a name
for something that is arch specific.
The concept is not arch-specific -- ideally, other architectures could
add their own implementations (or it could be made
non-architecture-specific in the future).
On Apr 27, 2009, at 2:05 PM, 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 the result of the condition when
the loop
was terminated.
Thi
On Fri, May 1, 2009 at 2:40 PM, Haiying Wang wrote:
> in the case the QE has 46 SNUMs for the threads to support four UCC Ethernet
> at
> 1000Base-T simultaneously.
>
> Signed-off-by: Haiying Wang
Acked-by: Timur Tabi
FYI, this should have been cross-posted to the netdev mailing list.
--
Ti
On Fri, May 1, 2009 at 2:40 PM, Haiying Wang wrote:
> Change the RISC allocation to macros instead of enum, add function to read the
> number of risc engines from the new property "fsl,qe-num-riscs" under qe node
> in dts. Add new property "fsl,qe-num-riscs" description in qe.txt
>
> Signed-off-by
On Fri, May 1, 2009 at 2:40 PM, Haiying Wang wrote:
> The latest QE chip may have more Serial Number(SNUM)s of thread to use. We
> will
> get the number of SNUMs from device tree by reading the new property
> "fsl,qe-num-snums", and set 28 as the default number of SNUMs so that it is
> compatible
On Fri, 2009-05-01 at 11:37 -0700, Dave Hansen wrote:
.../...
> So, it looks like ppc32 never actually allocates highmem pte pages, but
> it *does* go to the trouble of at least trying to kmap_atomic() them.
> Should we just give ppc32 unconditional direct-mapped ptes? Or, should
> we remove th
On Fri, May 1, 2009 at 2:40 PM, Haiying Wang wrote:
> Add fsl,qe-num-riscs and fsl,qe-num-snums to all the devices trees which have
> qe
> node.
>
> Signed-off-by: Haiying Wang
Acked-by: Timur Tabi
--
Timur Tabi
Linux kernel developer at Freescale
Add fsl,qe-num-riscs and fsl,qe-num-snums to all the devices trees which have qe
node.
Signed-off-by: Haiying Wang
---
arch/powerpc/boot/dts/mpc832x_mds.dts |2 ++
arch/powerpc/boot/dts/mpc832x_rdb.dts |2 ++
arch/powerpc/boot/dts/mpc836x_mds.dts |2 ++
arch/powerpc/boot/dts/mpc836x_
Signed-off-by: Haiying Wang
---
v2 change: rename "num-riscs" to "fsl,qe-num-riscs", and "num-snums" to
"fsl,qe-num-snums".
arch/powerpc/boot/dts/mpc8569mds.dts | 514 +
arch/powerpc/platforms/85xx/mpc85xx_mds.c | 23 ++
2 files changed, 537 insertions(+), 0
The latest QE chip may have more Serial Number(SNUM)s of thread to use. We will
get the number of SNUMs from device tree by reading the new property
"fsl,qe-num-snums", and set 28 as the default number of SNUMs so that it is
compatible with the old QE chips' device trees which don't have this new
p
in the case the QE has 46 SNUMs for the threads to support four UCC Ethernet at
1000Base-T simultaneously.
Signed-off-by: Haiying Wang
---
v2 change: Add comments for the Rx threads change.
drivers/net/ucc_geth.c | 10 +-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/d
Change the RISC allocation to macros instead of enum, add function to read the
number of risc engines from the new property "fsl,qe-num-riscs" under qe node
in dts. Add new property "fsl,qe-num-riscs" description in qe.txt
Signed-off-by: Haiying Wang
---
v2 change: rename the new property to "fsl
arch/powerpc/mm/pgtable_32.c has the following function:
pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address)
{
struct page *ptepage;
#ifdef CONFIG_HIGHPTE
gfp_t flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_REPEAT | __GFP_ZERO;
#else
gfp_t flags = GFP_KERNEL
Description
---
Change ppc64 oprofile kernel driver to use the SLOT bits (MMCRA[37:39]only on
older processors where those bits are defined.
Background
--
The performance monitor unit of the 64-bit POWER processor family has the
ability to collect accurate instruction-level sam
Tim Abbott wrote:
> On Fri, 1 May 2009, Sam Ravnborg wrote:
>
>> On Thu, Apr 30, 2009 at 03:54:08PM -0400, Tim Abbott wrote:
>>> +#define __PAGE_ALIGNED_DATA.section ".data.page_aligned", "aw",
>>> @progbits
>>> +#define __PAGE_ALIGNED_BSS .section ".bss.page_aligned", "aw", @nobits
>> It
Wolfram Sang wrote:
>> Post this on the i2c list. Jean has made an effort to convert all
>> drivers. He must have missed that one.
>
> What Jean did was converting all drivers who used the legacy i2c-binding to
> use
> the new binding which is a lot better suited to the driver model. The above
>
> Post this on the i2c list. Jean has made an effort to convert all
> drivers. He must have missed that one.
What Jean did was converting all drivers who used the legacy i2c-binding to use
the new binding which is a lot better suited to the driver model. The above
mentioned driver already uses the
From: Grant Likely
Signed-off-by: Grant Likely
---
arch/powerpc/boot/Makefile |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 4458abb..bff7f12 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boo
On Fri, 1 May 2009, Sam Ravnborg wrote:
> Are there any specific reason why we do not support read_mostly on all
> architectures?
Not that I know of.
> read_mostly is about grouping rarely written data together
> so what is needed is to introduce this section in the remaining
> archtectures.
>
>
On Thu, Apr 30, 2009 at 03:54:07PM -0400, Tim Abbott wrote:
> (this patch series differs from v1 only in the CC list; some of the
> architecture lists I sent the previous one to are moderated against
> non-members; all replies should go to this version).
>
> Here are the architecture-independent m
On Fri, 1 May 2009, Sam Ravnborg wrote:
> On Thu, Apr 30, 2009 at 03:54:08PM -0400, Tim Abbott wrote:
> > +#define __PAGE_ALIGNED_DATA.section ".data.page_aligned", "aw",
> > @progbits
> > +#define __PAGE_ALIGNED_BSS .section ".bss.page_aligned", "aw", @nobits
>
> It is my understanding
On Fri, May 1, 2009 at 10:50 AM, Gary Thomas wrote:
> Jon Smirl wrote:
>> On Fri, May 1, 2009 at 10:39 AM, Jon Smirl wrote:
>>> On Fri, May 1, 2009 at 9:04 AM, Gary Thomas wrote:
I'd like to use an existing I2C driver (a touchscreen device)
with my 834x based platform. How do I arrang
Could someone tell me how to mmap a dma buffer allocated with
dma_alloc_coherent? I have found some patches that Takashi Iwai
submitted to create a dma_mmap_coherent function but it doesn't look
like its been accepted upstream, is there a reason why? Is there a
better way for mmaping a dma addres
Jon Smirl wrote:
> On Fri, May 1, 2009 at 10:39 AM, Jon Smirl wrote:
>> On Fri, May 1, 2009 at 9:04 AM, Gary Thomas wrote:
>>> I'd like to use an existing I2C driver (a touchscreen device)
>>> with my 834x based platform. How do I arrange to provide
>>> platform data (i2c_client->dev.platform_da
On Fri, May 1, 2009 at 10:39 AM, Jon Smirl wrote:
> On Fri, May 1, 2009 at 9:04 AM, Gary Thomas wrote:
>> I'd like to use an existing I2C driver (a touchscreen device)
>> with my 834x based platform. How do I arrange to provide
>> platform data (i2c_client->dev.platform_data) from my OF world?
>
On Fri, May 1, 2009 at 9:04 AM, Gary Thomas wrote:
> I'd like to use an existing I2C driver (a touchscreen device)
> with my 834x based platform. How do I arrange to provide
> platform data (i2c_client->dev.platform_data) from my OF world?
It is easier to convert the i2c driver to work in the cu
Benjamin Herrenschmidt wrote:
Patch 2/2 is just adding the device-tree bits to the platform for
this driver to match against, so it's no big deal. However, Feng,
we already mentioned that you do a lot of unrelated changes to the
Kconfig file that shouldn't be part of this patch, just add the
entr
I'd like to use an existing I2C driver (a touchscreen device)
with my 834x based platform. How do I arrange to provide
platform data (i2c_client->dev.platform_data) from my OF world?
--
Gary Thomas | Consulting for the
On Thu, Apr 30, 2009 at 11:16:44PM -0500, Timur Tabi wrote:
>The mktree utility defines some variables as "uint", although this is not a
>standard C type, and so cross-compiling on Mac OS X fails. Change this to
>"unsigned int".
>
>Signed-off-by: Timur Tabi
I believe this is only used by the 4xx
On Thu, Apr 30, 2009 at 03:32:36PM -0400, Tim Abbott wrote:
> Signed-off-by: Tim Abbott
> ---
> include/linux/cache.h |6 ++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/cache.h b/include/linux/cache.h
> index 97e2488..99d8a6f 100644
> --- a/include/l
On Thu, Apr 30, 2009 at 03:54:09PM -0400, Tim Abbott wrote:
> This patch is preparation for replacing most ".data.nosave" in the
> kernel with macros, so that the section name can later be changed
> without having to touch a lot of the kernel.
>
> The long-term goal here is to be able to change th
On Thu, Apr 30, 2009 at 03:54:08PM -0400, Tim Abbott wrote:
> This patch is preparation for replacing most uses of
> ".bss.page_aligned" and ".data.page_aligned" in the kernel with
> macros, so that the section name can later be changed without having
> to touch a lot of the kernel.
>
> The long-t
On Thu, Apr 30, 2009 at 03:54:07PM -0400, Tim Abbott wrote:
> (this patch series differs from v1 only in the CC list; some of the
> architecture lists I sent the previous one to are moderated against
> non-members; all replies should go to this version).
>
> Here are the architecture-independent m
On Fri, 2009-05-01 at 03:26 -0400, Jeff Garzik wrote:
> Feng Kan wrote:
> > Signed-off-by: Feng Kan
> > ---
> > drivers/ata/Kconfig| 76 +-
> > drivers/ata/Makefile |1 +
> > drivers/ata/sata_dwc.c | 2047
> >
> > 3 files changed, 2091
The mktree utility defines some variables as "uint", although this is not a
standard C type, and so cross-compiling on Mac OS X fails. Change this to
"unsigned int".
Signed-off-by: Timur Tabi
---
arch/powerpc/boot/mktree.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
dif
Hi,
I will soon have 460EX board with twin die NAND device having
2 chip selects. A comment in ndfc driver says that several NAND
chips are not supported. What should be modified in the driver to
support such configuration ? I'd like to have a separate mtd device
per chip select, and then concate
Feng Kan wrote:
Signed-off-by: Feng Kan
---
drivers/ata/Kconfig| 76 +-
drivers/ata/Makefile |1 +
drivers/ata/sata_dwc.c | 2047
3 files changed, 2091 insertions(+), 33 deletions(-)
create mode 100644 drivers/ata/sata_dwc.c
I don'
74 matches
Mail list logo