PCI reading without endian conversion

2009-02-20 Thread Matt Sealey
ioread32le() or so, which will not change behaviour across architectures, is present on ARM and PPC, and will handle both PCI address space, and normal ioremapped memory? -- Matt Sealey m...@genesi-usa.com Genesi, Manager, Developer Relations ___ Linuxppc-dev

Re: PCI reading without endian conversion

2009-02-20 Thread Matt Sealey
On Fri, Feb 20, 2009 at 1:11 PM, Ira Snyder i...@ovro.caltech.edu wrote: On Fri, Feb 20, 2009 at 12:57:36PM -0600, Matt Sealey wrote: I'm pretty sure memcpy_fromio() and memcpy_toio() will get you what you want. They don't change byte ordering. Are they guaranteed to only do 32-bit, aligned

Re: PCI reading without endian conversion

2009-02-20 Thread Matt Sealey
On Fri, Feb 20, 2009 at 3:07 PM, Ira Snyder i...@ovro.caltech.edu wrote: On Fri, Feb 20, 2009 at 02:05:08PM -0600, Matt Sealey wrote: On Fri, Feb 20, 2009 at 1:11 PM, Ira Snyder i...@ovro.caltech.edu wrote: On Fri, Feb 20, 2009 at 12:57:36PM -0600, Matt Sealey wrote: I'm pretty sure

Re: [PATCH 7/8] powerpc/5200: Refactor mpc5200 interrupt controller driver

2009-01-27 Thread Matt Sealey
this has absolutely no functional impact compared to the old one? It doesn't change any behaviour, just implements exactly the same in a much nicer way? -- Matt Sealey m...@genesi-usa.com Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list

Re: [PATCH] powerpc/5200: Bugfix for PCI mapping of memory and IMMR

2009-01-27 Thread Matt Sealey
a DMA-capable PCI card in an MPC5200B board before? :) -- Matt Sealey m...@genesi-usa.com Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 1/8] powerpc/5200: update device tree binding documentation

2009-01-27 Thread Matt Sealey
+- +The FEC node can specify one of the following properties to configure +the MII link: Is it fec or ethernet? Obviously the first one is an example only but it should least reflect real life.. -- Matt Sealey m...@genesi-usa.com Genesi, Manager, Developer Relations

Re: [PATCH 7/8] powerpc/5200: Refactor mpc5200 interrupt controller driver

2009-01-26 Thread Matt Sealey
why you broke it ... good luck ;-). I thought Grant *WAS* the MPC52xx maintainer :D -- Matt Sealey m...@genesi-usa.com Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo

Re: [PATCH 10/10] mmc: Add OpenFirmware bindings for SDHCI driver

2009-01-24 Thread Matt Sealey
controller known to exists + on OF platforms. Nit; would probably be better English as This selects the OF support for Secure Digital Host Controller Interfaces. So far, only the Freescale eSDHC controller is known to exist on OF platforms. -- Matt Sealey m

Re: ADS5121 how to use /dev/ttyPSC

2009-01-14 Thread Matt Sealey
the Hardware is ok. So you're getting debug output (udbg type stuff) on them? -- Matt Sealey ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] powerpc/mpc52xx: Properly update irq_desc when set_type() is called.

2009-01-10 Thread Matt Sealey
on why Efika ATA DMA doesn't work? :) -- Matt Sealey ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] powerpc/mpc52xx: Properly update irq_desc when set_type() is called.

2009-01-08 Thread Matt Sealey
Grant Likely wrote: On Wed, Jan 7, 2009 at 8:51 PM, Matt Sealey m...@genesi-usa.com wrote: Grant Likely wrote: From: Grant Likely grant.lik...@secretlab.ca The MPC5200 PIC driver doesn't correctly update the .status field of the irq_desc structure when the set_type hook is called. This patch

Re: [PATCH] powerpc: use common cpu_die

2009-01-05 Thread Matt Sealey
that this does not setup the cpu_die pointers in either smp_ops (request a given cpu die) or ppc_md (make this cpu die), for other platforms but there are generic versions in smp.c. Reported-By: Matt Sealey Signed-off-by: Milton Miller milt...@bga.com --- compile tested on Matt's 2.6.27.7 config, both

Re: yaboot: text mode or graphics mode?

2009-01-05 Thread Matt Sealey
around, you can still output to it (check prom_init.c) and if not, the open firmware framebuffer console driver is your best friend.. sumedh tirodkar wrote: Isn't there any other way that i can access the VGA registers? So as to reconfigure them... -Sumedh On Wed, Dec 31, 2008 at 4:15 AM, Matt

cpu_die on MPC8641D

2009-01-04 Thread Matt Sealey
? -- Matt Sealey m...@genesi-usa.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] powerpc: Update 8641hpcn dts file to match latest u-boot

2008-12-30 Thread Matt Sealey
be a perfectly workable kernel on previous U-Boot versions. Isn't there any documentation on this apart from git changesets hidden behind obscure many-digit hashes? -- Matt Sealey m...@genesi-usa.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-26 Thread Matt Sealey
different filesystem codes in 3 alternative loaders and the kernel). But unfortunately most systems have crap CIF support (ours included) which do not come up to the task. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc

Re: [PATCH]: [MPC5200] Add ATA DMA support

2008-11-25 Thread Matt Sealey
like this? -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Matt Sealey
Nitpick, really.. shouldn't the logbuffer location(s) be some device tree property(ies), perhaps something in the /chosen node that U-Boot etc. can then fill out? -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations On Tue, Nov 25, 2008 at 12:34 PM, Grant Erickson [EMAIL

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Matt Sealey
On Tue, Nov 25, 2008 at 12:55 PM, Josh Boyer [EMAIL PROTECTED]wrote: On Tue, 25 Nov 2008 12:53:12 -0600 Matt Sealey [EMAIL PROTECTED] wrote: Nitpick, really.. shouldn't the logbuffer location(s) be some device tree property(ies), perhaps something in the /chosen node that U-Boot etc. can

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Matt Sealey
seems wasteful. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations On Tue, Nov 25, 2008 at 1:04 PM, Grant Erickson [EMAIL PROTECTED]wrote: On 11/25/08 10:55 AM, Josh Boyer wrote: On Tue, 25 Nov 2008 12:53:12 -0600 Matt Sealey [EMAIL PROTECTED] wrote: Nitpick, really

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Matt Sealey
On Tue, Nov 25, 2008 at 1:51 PM, Bill Gatliff [EMAIL PROTECTED] wrote: Matt Sealey wrote: I can think of a bunch of reasons why it's a good idea.. Can you point to a GPL/LGPL/BSD/etc. source code for an OpenFirmware implementation? Yes, there's FirmWorks, CodeGen SmartFirmware, IBM SLOF

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Matt Sealey
On Tue, Nov 25, 2008 at 2:17 PM, Grant Likely [EMAIL PROTECTED]wrote: On Tue, Nov 25, 2008 at 1:07 PM, Matt Sealey [EMAIL PROTECTED] wrote: But here's the real question; why do you need an opensource implementation? Curiosity? Umm, so that it can be ported to new boards perhaps? So

Re: AW: [PATCH]: [MPC5200] Add ATA DMA support

2008-11-11 Thread Matt Sealey
and another interrupt controller patch crippled performance so it wasn't a really good test.. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations Lehmann, Hans (Ritter Elektronik) wrote: We take a vanilla kernel with rt11 patches from Ingo Mollnar. Here are the section of my

Re: [PATCH]: [MPC5200] Add ATA DMA support

2008-11-11 Thread Matt Sealey
/mailman/listinfo/linuxppc-dev -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Building dtc etc. for packaging

2008-11-11 Thread Matt Sealey
of it - make tools/mkimage doesn't work and I got tired of reverse engineering the chickenscratch..) -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo

Re: [PATCH V2] workaround for mpc52xx erratum #364 (serial may not be reset in break state)

2008-11-06 Thread Matt Sealey
René Bürgel wrote: Matt Sealey schrieb: Alternativly, if you have more control over your serial device, just send breaks continuously, open and close the serial port. Open it again and receiving data fails, if the bug is present. Well I have a couple systems I can write data from here

Re: [PATCH] workaround for mpc52xx erratum #364 (serial may not be reset in break state)

2008-11-04 Thread Matt Sealey
Wolfram Sang wrote: On Mon, Nov 03, 2008 at 03:57:09PM -0600, Matt Sealey wrote: Optionally you can further reduce impact by checking if CONFIG_PPC_MPC5200_BUGFIX is defined. I would much prefer this. I submitted a patch to enable pipelining on a MPC5200B recently. It was disabled because

Re: [PATCH V2] workaround for mpc52xx erratum #364 (serial may not be reset in break state)

2008-11-04 Thread Matt Sealey
over a serial console, how are you supposed to test serial port operation? USB doesn't work in 2.6.24 so I guess I have to hope netconsole works :) -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc

Re: [PATCH] workaround for mpc52xx erratum #364 (serial may not be reset in break state)

2008-11-03 Thread Matt Sealey
follows it as best as I can, and then make a release.. that won't fix anything for people who don't run the script, however. Optionally you can further reduce impact by checking if CONFIG_PPC_MPC5200_BUGFIX is defined. I would much prefer this. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager

PowerPC USB controller support - ohci-ppc-of.c and ohci-ppc-soc.c

2008-10-30 Thread Matt Sealey
based on what I hear here.. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH]: [MPC5200] Add ATA DMA support

2008-10-29 Thread Matt Sealey
, the biggest problem is that if nobody writes a driver for it, nobody experiences the problem! Once the patch is in maybe someone will be willing to use the BestComm-assisted PIO idea as implemented in the bplan 2.6.19 kernel and compare results? -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager

defconfig doesn't work with MPC8610HPCD

2008-10-29 Thread Matt Sealey
don't think it is any fault of that). Any clues why we would get this? I've had the same problem with my MPC8641D but since I broke it last week I've not had a chance to actually test it since. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations

Re: [PATCH RFC v2] net: add PCINet driver

2008-10-29 Thread Matt Sealey
EVER seen submitted to mainline :) -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: GPIO - marking individual pins (not) available in device tree

2008-10-28 Thread Matt Sealey
Anton Vorontsov wrote: On Mon, Oct 27, 2008 at 08:11:12PM -0500, Matt Sealey wrote: Anton Vorontsov wrote: On Mon, Oct 27, 2008 at 04:56:57PM -0500, Matt Sealey wrote: A bunch of things spring to mind: * How do you define a GPIO bank in a device tree, not a controller Not a controller

Re: GPIO - marking individual pins (not) available in device tree

2008-10-28 Thread Matt Sealey
and description of the device tree back into userspace, where let's be honest, they do not give a crap about device tree bindings, only what pin does what action :D -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev

Re: GPIO - marking individual pins (not) available in device tree

2008-10-28 Thread Matt Sealey
in a driver.. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: GPIO - marking individual pins (not) available in device tree

2008-10-27 Thread Matt Sealey
because the current GPIO spec stops after specifying a controller bank (the 32-bit register). -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo

Re: GPIO - marking individual pins (not) available in device tree

2008-10-27 Thread Matt Sealey
David Gibson wrote: On Sun, Oct 26, 2008 at 04:13:26PM -0500, Matt Sealey wrote: Mitch Bradley wrote: device_type in 1275 defines the runtime method interface. It's *not* for declaring the general class of the device, although it often matches that in practice. It *is* for declaring

Re: GPIO - marking individual pins (not) available in device tree

2008-10-27 Thread Matt Sealey
Scott Wood wrote: Matt Sealey wrote: Nobody is saying that device_type should not be used in real OF when an appropriate method interface exists. What we're saying is that flat device trees, which are incapable of providing a method interface, should not lie and claim that they have one

Re: GPIO - marking individual pins (not) available in device tree

2008-10-27 Thread Matt Sealey
the mysterious i2c binding going to be published under this TSC? -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: GPIO - marking individual pins (not) available in device tree

2008-10-27 Thread Matt Sealey
of having a descriptive device tree. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: GPIO - marking individual pins (not) available in device tree

2008-10-27 Thread Matt Sealey
are pretty much the industry standard. GPIO device tree does not seem to have gotten the same amount of attention. Yes, your idea, Mitch's discussion was great, I just don't think anything will get done about it (emotional moment) as usual. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager

Re: GPIO - marking individual pins (not) available in device tree

2008-10-27 Thread Matt Sealey
there is no standard way to expose it. And people just grab a pin they know is free on their particular board. Are you sure you do NOT see any shortcomings here? -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list

Re: GPIO - marking individual pins (not) available in device tree

2008-10-27 Thread Matt Sealey
David Gibson wrote: On Mon, Oct 27, 2008 at 10:40:12AM -0500, Matt Sealey wrote: Uh.. no. The gpio specifier has a format that's gpio controller specific, but it must include the actual pin number, although exactly how it's encoded might vary. So, you use gpios = controller pin1

Re: GPIO - marking individual pins (not) available in device tree

2008-10-27 Thread Matt Sealey
Anton Vorontsov wrote: On Mon, Oct 27, 2008 at 04:56:57PM -0500, Matt Sealey wrote: A bunch of things spring to mind: * How do you define a GPIO bank in a device tree, not a controller Not a controller? What do you mean by bank? There is no such thing. There are GPIO controllers

Re: GPIO - marking individual pins (not) available in device tree

2008-10-26 Thread Matt Sealey
at without delving. There is already too much needless cross-referencing in Linux as it is. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo

Re: GPIO - marking individual pins (not) available in device tree

2008-10-26 Thread Matt Sealey
there :) * http://www.powerdeveloper.org/platforms/efika/devicetree -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: GPIO - marking individual pins (not) available in device tree

2008-10-24 Thread Matt Sealey
with 8 devices on it, I suppose you could have more than 100 if you got your addresses right) and having a device tree that goes on for 8 screens would not be so bad to maintain. And no, I did NOT just volunteer to write one, I'm happy coding my device tree updates in Forth :) -- Matt Sealey [EMAIL

Re: GPIO - marking individual pins (not) available in device tree

2008-10-24 Thread Matt Sealey
pin) with the current system? -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: GPIO - marking individual pins (not) available in device tree

2008-10-24 Thread Matt Sealey
give individual GPIOs some names so they are detectable and not just programmable as a bank, do you have any ideas about that? :/ -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org

GPIO - marking individual pins (not) available in device tree

2008-10-23 Thread Matt Sealey
but supporting only a subset of that controller, needs addressing. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] powerpc: Specify GPIO number base for controller in DT

2008-10-23 Thread Matt Sealey
to a controller and usable (these may be pin 5, pin 9 and pin 20, so a base of pin 5 would be outrageously inadequate). -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https

Re: GPIO - marking individual pins (not) available in device tree

2008-10-23 Thread Matt Sealey
out of GPIO. Am I nuts?) -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] powerpc: Remove device_type = rtc properties in .dts files

2008-10-22 Thread Matt Sealey
but, just concerned about your comment and it's impact...) -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations Anton Vorontsov wrote: We don't want to encourage the device_type usage. It isn't used in the code, so we can simply remove it from the dts files. Suggested-by: Scott

Re: Extended Addressing Mode

2008-10-22 Thread Matt Sealey
enough granularity to map between 2GB and 4GB into a window (you can have 2GB or 4GB but not some more arbitrary value?) -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https

Re: Extended Addressing Mode

2008-10-22 Thread Matt Sealey
Kumar Gala wrote: On Oct 22, 2008, at 8:42 AM, Matt Sealey wrote: So to confirm, XAEN support through Becky's patches does support the MPC8641D/e600 cores? Yes, its the only part that has XAEN. Okay I saw a lot of e500/BookE support go past but nothing specific :) NOT supported

Re: Extended Addressing Mode

2008-10-22 Thread Matt Sealey
non-contiguous memory..? -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: Extended Addressing Mode

2008-10-22 Thread Matt Sealey
Kumar Gala wrote: On Oct 22, 2008, at 9:19 AM, Matt Sealey wrote: Kumar Gala wrote: On Oct 22, 2008, at 8:42 AM, Matt Sealey wrote: So to confirm, XAEN support through Becky's patches does support the MPC8641D/e600 cores? Yes, its the only part that has XAEN. Okay I saw a lot of e500

Re: Extended Addressing Mode

2008-10-22 Thread Matt Sealey
Kumar Gala wrote: On Oct 22, 2008, at 9:22 AM, Matt Sealey wrote: ~~ The CCSR window always takes precedence over all local access windows. However, the CCSR window must not overlap an LAW that maps to the DDR controller. Otherwise, undefined behavior occurs. ~~ So, it's not really

Re: [PATCH] powerpc: Remove device_type = rtc properties in .dts files

2008-10-22 Thread Matt Sealey
Anton Vorontsov wrote: On Wed, Oct 22, 2008 at 08:38:03AM -0500, Matt Sealey wrote: I'm extremely troubled that it is not used in the code, surely device_type is checked as a legacy for Open Firmware (otherwise a lot of devices may never be detected!), Checked where

Re: [PATCH] powerpc: Remove device_type = rtc properties in .dts files

2008-10-22 Thread Matt Sealey
Anton Vorontsov wrote: On Wed, Oct 22, 2008 at 01:40:50PM -0500, Matt Sealey wrote: I think I got it. ;-) You think that I'm not aware of that we _can_ use the device_type for matching the nodes. Well, I'm aware of it, sure we can. ;-) I'm sure you are aware, I am just a little jumpy

Re: Extended Addressing Mode

2008-10-22 Thread Matt Sealey
Becky Bruce wrote: On Oct 22, 2008, at 1:11 PM, Matt Sealey wrote: Yeah so I saw BookE and e500 stuff go past but nothing specific for e600/XAEN. I mailed Becky and got no response. I'm glad to know it's in there though, somewhere. Huh? I have one mail from you, on Sep 1, to which I

Re: Extended Addressing Mode

2008-10-22 Thread Matt Sealey
32-bit pointers in the unlikely event that someone actually uses the client interface (besides yaboot!). Having I/O in the 36-bit range could cause all sorts of explosions, and we're running real-mode so trapping and faking I/O accesses is REALLy difficult :} -- Matt Sealey [EMAIL PROTECTED

Re: powerpc: find and destroy possible stale kernel added properties

2008-10-21 Thread Matt Sealey
Milton Miller wrote: + /* remove any stale propertys so ours can be found */ s/propertys/properties ? -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org

Re: performance: memcpy vs. __copy_tofrom_user

2008-10-14 Thread Matt Sealey
copy with checksum? Probably absolutely definitely.. Straight memcpy? I am not so sure. Like I said I am far more worried about how you'd get a reasonable benchmark out of it. Profiling kernels is a messy business.. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations

Re: performance: memcpy vs. __copy_tofrom_user

2008-10-13 Thread Matt Sealey
the differences here? -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: performance: memcpy vs. __copy_tofrom_user

2008-10-11 Thread Matt Sealey
Benjamin Herrenschmidt wrote: On Thu, 2008-10-09 at 10:37 -0500, Matt Sealey wrote: Ahem, but nobody here wants AltiVec in the kernel do they? It depends. We do use altivec in the kernel for example for RAID accelerations. The reason where we require a -real-good- reason to do it is simply

Re: [RFC 0/6] Proposal for a Generic PWM Device API

2008-10-11 Thread Matt Sealey
that discussion if it's being codified into a proper standard? Someone should just submit a reasonable extension to a reasonable extension-managing body :) -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list

Re: performance: memcpy vs. __copy_tofrom_user

2008-10-09 Thread Matt Sealey
- or whatever your page size happens to be, the number of errors that can occur are absolutely tiny and performance can go through the roof). Ahem, but nobody here wants AltiVec in the kernel do they? -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Matt Sealey
Timur Tabi wrote: On Thu, Oct 9, 2008 at 10:59 AM, Matt Sealey [EMAIL PROTECTED] wrote: If you really want to build a single-cpu single-board kernel, disable CHRP and PMAC for those board configs, but the default definitely should be to enable them all within reason The problem

Re: [RFC 0/6] Proposal for a Generic PWM Device API

2008-10-09 Thread Matt Sealey
other things.. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations Bill Gatliff wrote: This series proposes a generic PWM driver API. This proposed API is motivated by the author's need to support pluggable devices; a secondary objective is to consolidate the existing PWM

Re: [PATCH 0/3] MPC5121 add pci support

2008-10-08 Thread Matt Sealey
If this patchset is okay with everyone, is it possible that it could be rushed into 2.6.27 before it hits rc10 or release? :/ -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations John Rigby wrote: The following three patches add pci support for MPC5121 These got no NACKs back

Re: [PATCH 0/3] MPC5121 add pci support

2008-10-08 Thread Matt Sealey
Grant Likely wrote: On Wed, Oct 8, 2008 at 9:29 AM, Matt Sealey [EMAIL PROTECTED] wrote: If this patchset is okay with everyone, is it possible that it could be rushed into 2.6.27 before it hits rc10 or release? :/ no Shucks :( At least it'll patch cleanly against 2.6.27 though right

Re: [PATCH] pata_of_platform: fix no irq handling

2008-10-06 Thread Matt Sealey
correct. The problem is the check against an unsigned value for interrupts (is there any reason why you would need 4 billion interrupts possible instead of just 2 billion?) although I must say, the patch will work, and probably 99.999% of people will never see a problem with it :) -- Matt Sealey

Re: USB support on mpc5200 broken

2008-10-06 Thread Matt Sealey
. But as you said, there are uses for it; and the APUS swap implementation did allow raw access, 16-bit and 32-bit swaps through mirrored memory regions - you could write any way you wanted if you so pleased, or just handle the difference yourself, or do both if you were a masochist :D -- Matt

Re: Device Tree

2008-10-01 Thread Matt Sealey
Benjamin Herrenschmidt wrote: On Tue, 2008-09-30 at 18:08 -0500, Matt Sealey wrote: It's far more common than people might think at first glance. With x86 I am sure it would benefit the platform a little more if the OF support was in-line with the shared code between PPC and SPARC (and now I

Re: USB support on mpc5200 broken

2008-09-30 Thread Matt Sealey
, people just implemented the workarounds.. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: USB support on mpc5200 broken

2008-09-30 Thread Matt Sealey
for you :) -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: Device Tree

2008-09-30 Thread Matt Sealey
runs Open Firmware and contains patches to support OF device trees. I dare say there might be an x86 box or two out there, too. But they have ACPI tables too which is far more common.. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations

Re: Device Tree

2008-09-30 Thread Matt Sealey
Gerald Van Baren wrote: Matt Sealey wrote: The Toshiba TOPAS910 ARM development board also runs Open Firmware and contains patches to support OF device trees. I dare say there might be an x86 box or two out there, too. But they have ACPI tables too which is far more common.. More than

Re: USB support on mpc5200 broken

2008-09-28 Thread Matt Sealey
and can buses exposed. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: MPC5200 PCI interrupt routing

2008-09-22 Thread Matt Sealey
contain some errors. There seems to be a lot less data in our tree... I can't vouch for the correctness of your tree, though, or tell you what might be wrong (looks fine as far as I am concerned, but what do I know? :) -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations

Re: [PATCH, RFC] mv643xx_eth: move sram window setting code into the driver

2008-09-05 Thread Matt Sealey
Lennert Buytenhek wrote: On Thu, Sep 04, 2008 at 08:44:31AM -0500, Matt Sealey wrote: script, but in either case, wouldn't a real sram node in the device tree be the proper solution here? Hardcoding addresses for devices Probably. I guess you don't want to pass that info _directly_

Re: [PATCH, RFC] mv643xx_eth: move sram window setting code into the driver

2008-09-04 Thread Matt Sealey
right now to test but I will, as soon as possible, make sure this works first. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations Lennert Buytenhek wrote: This gets rid of a big mv643xx_eth annoyance of mine where the driver exports the offsets of some of its internal registers

Re: Efficient memcpy()/memmove() for G2/G3 cores...

2008-08-25 Thread Matt Sealey
) for embedded processors which nobody is really taking on. But, not many people want to do this kind of work.. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations David Jander wrote: Hello, I was wondering if there is a good replacement for GLibc memcpy() functions, that doesn't have

Re: radeonfb, dedicate memory to something else

2008-07-22 Thread Matt Sealey
Jon Smirl wrote: On 7/20/08, Matt Sealey [EMAIL PROTECTED] wrote: Hi guys, I know this isn't a PPC question, but since some of the RadeonFB developers live here I thought best (and it's about a PPC platform). Is there any way to hack up the RadeonFB driver - or anything related

Re: radeonfb, dedicate memory to something else

2008-07-22 Thread Matt Sealey
Michel Dänzer wrote: On Tue, 2008-07-22 at 09:31 +0100, Matt Sealey wrote: or other graphics drivers can be told please only use the first 32MB and then either manually or automatically, map the rest as ramdisk. You can limit the amount of video RAM used by X using the VideoRam directive

radeonfb, dedicate memory to something else

2008-07-20 Thread Matt Sealey
is to use some kind of in-kernel subsystem to allocate and return a 32MB segment of PCI memory (and put it in an named rheap) but I assume other drivers can and will simply walk all over it? -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations

Re: 2.6.26 does not boot on Pegasos

2008-07-18 Thread Matt Sealey
Gabriel Paubert wrote: On Tue, Jul 15, 2008 at 04:27:49PM +0100, Matt Sealey wrote: If you built this kernel yourself, you need to do it from a system with an up-to-date binutils (2.18) otherwise, it does this. Note to the linux-ppc guys; is there any changelog entry which reports

Re: MPC52xx generic DMA using bestcomm

2008-07-07 Thread Matt Sealey
benefit.. On a related note does anyone know of the status or what is going on with Clifford Wolf's dmatransfer API? -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https

Re: MPC52xx generic DMA using bestcomm

2008-07-07 Thread Matt Sealey
Jon Smirl wrote: On 7/7/08, Matt Sealey [EMAIL PROTECTED] wrote: to do that the samples have to be alternated as they are fed into the AC97 stream. I think the codec can capture that way too but you didn't put a transceiver on the S/PDIF line. OT, but the IDT STAC9766 doesn't support S

Re: e600 core power management

2008-07-07 Thread Matt Sealey
I think I'll reiterate here as it got lost in my rambling, that I am wondering if NAP is enabled *by default* and if not, why not on processors that don't doze? (powersave-nap is 0 here) -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations Matt Sealey wrote: Hi guys, Quick

Re: New fsl device bindings file

2008-07-04 Thread Matt Sealey
all the docs altogether and produce a well-commented example set if that is the route this is going down. I think having everything as a plaintext file, while nice and accessible for everyone, might have something to do with that though. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager

rh_init exported twice (rheap vs. dm-region_hash)

2008-06-23 Thread Matt Sealey
and compile test just so my kernel builds are cleaner.. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: cntlzw

2008-06-06 Thread Matt Sealey
pin it to my wall) -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations Scott Wood wrote: Kevin Diggs wrote: Hi, x86 has bsf and bsr. PPC has cntlzw which I think is equivalent to bsr. Anyone know of a sneaky algorithm to do bsf? wordsize - 1 - cntlzw(x ~(x - 1

Re: [PATCH] add gpiolib support for mpc5200

2008-04-25 Thread Matt Sealey
is important.. flipping bits here and there without something in the way in the API is kind of clumsy) -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations Grant Likely wrote: On Thu, Apr 24, 2008 at 9:36 AM, Sascha Hauer [EMAIL PROTECTED] wrote: Hi all, Feel free to comment

Re: missing current-speed property prevents autoconsole on pegasos

2008-04-24 Thread Matt Sealey
Why not just have users who wish to use console serial port autodetection add 3 lines to their nvramrc? -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations Olaf Hering wrote: Pegasos2 has no current-speed property in /[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED

Re: RFC: MPC5200 PSC AC97 driver

2008-04-21 Thread Matt Sealey
, the matchlist is 5200b only..? No alarms and no surprises.. :) -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: RFC: MPC5200 PSC AC97 driver

2008-04-19 Thread Matt Sealey
Grant Likely wrote: On Fri, Apr 18, 2008 at 12:11 PM, Matt Sealey [EMAIL PROTECTED] wrote: Juergen Beisert wrote: BTW, is anyone trying to shepherd this driver into the ALSA tree? Its out of my area of expertise and responsibility, so I haven't been pursuing it. We (well, I) were going

Re: [PATCH] [POWERPC] mpc5200: Switch mpc5200 dts files to dts-v1 format

2008-04-19 Thread Matt Sealey
experience with device trees and BSPs, and can work with the device vendors and board manufacturers (Freescale for example) directly, with them on the committee, who can give the docs a run though before any board ever hits the streets... -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer

  1   2   >