<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/sysdev/qe_lib/qe.c, branch linux-2.6.25.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-03-10T18:07:27Z</updated>
<entry>
<title>[POWERPC] QE: Make qe_get_firmware_info reentrant</title>
<updated>2008-03-10T18:07:27Z</updated>
<author>
<name>Ionut Nicu</name>
</author>
<published>2008-03-07T17:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=86f4e5d4335556191b436b41b0ad2f719c4a98d4'/>
<id>urn:sha1:86f4e5d4335556191b436b41b0ad2f719c4a98d4</id>
<content type='text'>
The function was returning NULL the second time it was
called if the firmware was uploaded from the boot loader
or the first time it was called if the firmware was
uploaded from the kernel.

Signed-off-by: Ionut Nicu &lt;ionut.nicu@freescale.com&gt;
Acked-By: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] QE: Fix QE firmware uploading limit</title>
<updated>2008-03-07T14:55:02Z</updated>
<author>
<name>Timur Tabi</name>
</author>
<published>2008-03-03T17:11:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f913160fa8e8de5ea2746a2f6b1d65c67e092b0'/>
<id>urn:sha1:6f913160fa8e8de5ea2746a2f6b1d65c67e092b0</id>
<content type='text'>
Fix a typo in qe_upload_firmware() that prevented uploading firmware on
systems with more than one RISC core.

Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] qe_lib: fix few fluffy negligences</title>
<updated>2008-02-06T05:57:31Z</updated>
<author>
<name>Anton Vorontsov</name>
</author>
<published>2008-02-04T13:46:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d8985fd2b8ef8994399ea33f7e5b24395f5a7cab'/>
<id>urn:sha1:d8985fd2b8ef8994399ea33f7e5b24395f5a7cab</id>
<content type='text'>
One is intoduced by me (of_node_put() absence) and another was
present already (not checking for NULL).

Found by Stephen Rothwell.

Signed-off-by: Anton Vorontsov &lt;avorontsov@ru.mvista.com&gt;
Acked-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] QE: get rid of most device_types and model</title>
<updated>2008-01-28T14:32:55Z</updated>
<author>
<name>Anton Vorontsov</name>
</author>
<published>2008-01-24T15:39:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a2dd70a11d4c9cb8a4e4bb41f53a9b430e08559b'/>
<id>urn:sha1:a2dd70a11d4c9cb8a4e4bb41f53a9b430e08559b</id>
<content type='text'>
Now we're searching for "fsl,qe", "fsl,qe-muram", "fsl,qe-muram-data"
and "fsl,qe-ic".

Unfortunately it's still impossible to remove device_type = "qe"
from the existing device trees because older u-boots are looking for it.

Signed-off-by: Anton Vorontsov &lt;avorontsov@ru.mvista.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] QE: Add ability to upload QE firmware</title>
<updated>2008-01-24T01:34:06Z</updated>
<author>
<name>Timur Tabi</name>
</author>
<published>2008-01-08T16:30:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bc556ba940085e46e0ab1b5ed7c31428dc86dd03'/>
<id>urn:sha1:bc556ba940085e46e0ab1b5ed7c31428dc86dd03</id>
<content type='text'>
Define the layout of a binary blob that contains a QE firmware and instructions
on how to upload it.  Add function qe_upload_firmware() to parse the blob
and perform the actual upload.  Fully define 'struct rsp' in immap_qe.h to
include the actual RISC Special Registers.  Added description of a new
QE firmware node to booting-without-of.txt.

Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] qe: add function qe_clock_source()</title>
<updated>2007-12-14T04:59:27Z</updated>
<author>
<name>Timur Tabi</name>
</author>
<published>2007-12-03T21:17:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=174b0da23199c4ae1ed06263dafd9a2e85e97d34'/>
<id>urn:sha1:174b0da23199c4ae1ed06263dafd9a2e85e97d34</id>
<content type='text'>
Add function qe_clock_source() which takes a string containing the name of a
QE clock source (as is typically found in device trees) and returns the
matching enum qe_clock value.

Update booting-without-of.txt to indicate that the UCC properties rx-clock
and tx-clock are deprecated and replaced with rx-clock-name and tx-clock-name,
which use strings instead of numbers to indicate QE clock sources.

Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] QE: change qe_setbrg() to take an enum qe_clock instead of an integer</title>
<updated>2007-12-11T19:57:18Z</updated>
<author>
<name>Timur Tabi</name>
</author>
<published>2007-11-29T23:26:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7264ec4454e3a18d06a8949ecbe9e1b55e4f4685'/>
<id>urn:sha1:7264ec4454e3a18d06a8949ecbe9e1b55e4f4685</id>
<content type='text'>
qe_setbrg() currently takes an integer to indicate the BRG number.  Change that
to take an enum qe_clock instead, since this enum is intended to represent
clock sources.

Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] qe: miscellaneous code improvements and fixes to the QE library</title>
<updated>2007-10-08T13:38:15Z</updated>
<author>
<name>Timur Tabi</name>
</author>
<published>2007-10-03T16:34:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6b0b594bb81f86dbc7b0829ee5102abaab242913'/>
<id>urn:sha1:6b0b594bb81f86dbc7b0829ee5102abaab242913</id>
<content type='text'>
This patch makes numerous miscellaneous code improvements to the QE library.

1. Remove struct ucc_common and merge ucc_init_guemr() into ucc_set_type()
   (every caller of ucc_init_guemr() also calls ucc_set_type()).  Modify all
   callers of ucc_set_type() accordingly.

2. Remove the unused enum ucc_pram_initial_offset.

3. Refactor qe_setbrg(), also implement work-around for errata QE_General4.

4. Several printk() calls were missing the terminating \n.

5. Add __iomem where needed, and change u16 to __be16 and u32 to __be32 where
   appropriate.

6. In ucc_slow_init() the RBASE and TBASE registers in the PRAM were programmed
   with the wrong value.

7. Add the protocol type to struct us_info and updated ucc_slow_init() to
   use it, instead of always programming QE_CR_PROTOCOL_UNSPECIFIED.

8. Rename ucc_slow_restart_x() to ucc_slow_restart_tx()

9. Add several macros in qe.h (mostly for slow UCC support, but also to
   standardize some naming convention) and remove several unused macros.

10. Update ucc_geth.c to use the new macros.

11. Add ucc_slow_info.protocol to specify which QE_CR_PROTOCOL_xxx protcol
    to use when initializing the UCC in ucc_slow_init().

12. Rename ucc_slow_pram.rfcr to rbmr and ucc_slow_pram.tfcr to tbmr, since
    these are the real names of the registers.

13. Use the setbits, clrbits, and clrsetbits where appropriate.

14. Refactor ucc_set_qe_mux_rxtx().

15. Remove all instances of 'volatile'.

16. Simplify get_cmxucr_reg();

17. Replace qe_mux.cmxucrX with qe_mux.cmxucr[].

18. Updated struct ucc_geth because struct ucc_fast is not padded any more.

Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Change rheap functions to use ulongs instead of pointers</title>
<updated>2007-05-10T04:01:43Z</updated>
<author>
<name>Timur Tabi</name>
</author>
<published>2007-05-08T19:46:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c35630ccda56ed494f6102d2e147fefe14b78d2'/>
<id>urn:sha1:4c35630ccda56ed494f6102d2e147fefe14b78d2</id>
<content type='text'>
The rheap allocation functions return a pointer, but the actual value is based
on how the heap was initialized, and so it can be anything, e.g. an offset
into a buffer.  A ulong is a better representation of the value returned by
the allocation functions.

This patch changes all of the relevant rheap functions to use a unsigned long
integers instead of a pointer.  In case of an error, the value returned is
a negative error code that has been cast to an unsigned long.  The caller can
use the IS_ERR_VALUE() macro to check for this.

All code which calls the rheap functions is updated accordingly.  Macros
IS_MURAM_ERR() and IS_DPERR(), have been deleted in favor of IS_ERR_VALUE().

Also added error checking to rh_attach_region().

Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Rename get_property to of_get_property: arch/powerpc</title>
<updated>2007-04-12T17:55:19Z</updated>
<author>
<name>Stephen Rothwell</name>
</author>
<published>2007-04-03T12:26:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2eb63927bfcb54232163bfec32440246fd44457'/>
<id>urn:sha1:e2eb63927bfcb54232163bfec32440246fd44457</id>
<content type='text'>
Signed-off-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Acked-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
</feed>
