<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/linux/remoteproc.h, branch v3.7.3</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>remtoteproc: maintain max notifyid</title>
<updated>2012-09-18T18:55:52+00:00</updated>
<author>
<name>Sjur Brændeland</name>
<email>sjur.brandeland@stericsson.com</email>
</author>
<published>2012-09-18T18:32:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=099a3f33c82b5153a4422eb92c648098b3f7c086'/>
<id>099a3f33c82b5153a4422eb92c648098b3f7c086</id>
<content type='text'>
Some of the rproc drivers (STE modem specifically) needs to know
the range of the notification IDs used for notifying the device.

Maintain a variable in struct rproc holding the largest allocated
notification id, so low-level rproc drivers could access it.

Signed-off-by: Sjur Brændeland &lt;sjur.brandeland@stericsson.com&gt;
[ohad: rebase, slightly edit commit log]
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some of the rproc drivers (STE modem specifically) needs to know
the range of the notification IDs used for notifying the device.

Maintain a variable in struct rproc holding the largest allocated
notification id, so low-level rproc drivers could access it.

Signed-off-by: Sjur Brændeland &lt;sjur.brandeland@stericsson.com&gt;
[ohad: rebase, slightly edit commit log]
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>remoteproc: create a 'recovery' debugfs entry</title>
<updated>2012-09-18T09:53:41+00:00</updated>
<author>
<name>Fernando Guzman Lugo</name>
<email>fernando.lugo@ti.com</email>
</author>
<published>2012-09-18T09:26:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2e37abb89a2ef13c524b0728bb9893f996a10b6b'/>
<id>2e37abb89a2ef13c524b0728bb9893f996a10b6b</id>
<content type='text'>
Add a 'recovery' debugfs entry to dynamically disable/enable recovery
at runtime. This is useful when one is trying to debug an rproc crash;
without it, a recovery will immediately take place, making it harder
to debug the crash.

Contributions from Subramaniam Chanderashekarapuram.

Examples:

- disabling recovery:
$ echo disabled &gt; &lt;debugfs&gt;/remoteproc/remoteproc0/recovery

- in case you want to recover a crash, but keep recovery disabled
  (useful in debugging sessions when you expect additional crashes
   you want to debug):
$ echo recover &gt; &lt;debugfs&gt;/remoteproc/remoteproc0/recovery

- enabling recovery:
$ echo enabled &gt; &lt;debugfs&gt;/remoteproc/remoteproc0/recovery

Signed-off-by: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
[ohad: some white space, commentary and commit log changes]
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a 'recovery' debugfs entry to dynamically disable/enable recovery
at runtime. This is useful when one is trying to debug an rproc crash;
without it, a recovery will immediately take place, making it harder
to debug the crash.

Contributions from Subramaniam Chanderashekarapuram.

Examples:

- disabling recovery:
$ echo disabled &gt; &lt;debugfs&gt;/remoteproc/remoteproc0/recovery

- in case you want to recover a crash, but keep recovery disabled
  (useful in debugging sessions when you expect additional crashes
   you want to debug):
$ echo recover &gt; &lt;debugfs&gt;/remoteproc/remoteproc0/recovery

- enabling recovery:
$ echo enabled &gt; &lt;debugfs&gt;/remoteproc/remoteproc0/recovery

Signed-off-by: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
[ohad: some white space, commentary and commit log changes]
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>remoteproc: add actual recovery implementation</title>
<updated>2012-09-18T09:53:33+00:00</updated>
<author>
<name>Fernando Guzman Lugo</name>
<email>fernando.lugo@ti.com</email>
</author>
<published>2012-08-30T18:26:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=70b85ef83ce3523f709b622d2c4cb31778686338'/>
<id>70b85ef83ce3523f709b622d2c4cb31778686338</id>
<content type='text'>
Add rproc_trigger_recovery() which takes care of the recovery itself,
by removing, and re-adding, all of the remoteproc's virtio devices.

This resets all virtio users of the remote processor, during which
the remote processor is powered off and on again.

Signed-off-by: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
[ohad: introduce rproc_add_virtio_devices to avoid 1.copying code 2.anomaly]
[ohad: some white space, naming and commit log changes]
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add rproc_trigger_recovery() which takes care of the recovery itself,
by removing, and re-adding, all of the remoteproc's virtio devices.

This resets all virtio users of the remote processor, during which
the remote processor is powered off and on again.

Signed-off-by: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
[ohad: introduce rproc_add_virtio_devices to avoid 1.copying code 2.anomaly]
[ohad: some white space, naming and commit log changes]
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>remoteproc: add rproc_report_crash function to notify rproc crashes</title>
<updated>2012-09-18T09:53:22+00:00</updated>
<author>
<name>Fernando Guzman Lugo</name>
<email>fernando.lugo@ti.com</email>
</author>
<published>2012-08-30T18:26:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8afd519c3470f685f964deebd61aa51d83cde90a'/>
<id>8afd519c3470f685f964deebd61aa51d83cde90a</id>
<content type='text'>
Allow low-level remoteproc drivers to report rproc crashes by exporting
a new rproc_report_crash() function (invoking this from non-rproc drivers
is probably wrong, and should be carefully scrutinized if ever needed).

rproc_report_crash() can be called from any context; it offloads the
tasks of handling the crash to a separate thread.

Handling the crash from a separate thread is helpful because:
- Ability to call invoke rproc_report_crash() from atomic context, due to
  the fact that many crashes trigger an interrupt, so this function can be
  called directly from ISR context.
- Avoiding deadlocks which could happen if rproc_report_crash() is called
  from a function which indirectly holds the rproc lock.

Handling the crash might involve:
- Remoteproc register dump
- Remoteproc stack dump
- Remoteproc core dump
- Saving Remoteproc traces so they can be read after the crash
- Reseting the remoteproc in order to make it functional again (hard recovery)

Right now, we only print the crash type which was detected, and only the
mmufault type is supported. Remoteproc low-level drivers can add more types
when needed.

Signed-off-by: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
[ohad: some commentary, white space and commit log changes]
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow low-level remoteproc drivers to report rproc crashes by exporting
a new rproc_report_crash() function (invoking this from non-rproc drivers
is probably wrong, and should be carefully scrutinized if ever needed).

rproc_report_crash() can be called from any context; it offloads the
tasks of handling the crash to a separate thread.

Handling the crash from a separate thread is helpful because:
- Ability to call invoke rproc_report_crash() from atomic context, due to
  the fact that many crashes trigger an interrupt, so this function can be
  called directly from ISR context.
- Avoiding deadlocks which could happen if rproc_report_crash() is called
  from a function which indirectly holds the rproc lock.

Handling the crash might involve:
- Remoteproc register dump
- Remoteproc stack dump
- Remoteproc core dump
- Saving Remoteproc traces so they can be read after the crash
- Reseting the remoteproc in order to make it functional again (hard recovery)

Right now, we only print the crash type which was detected, and only the
mmufault type is supported. Remoteproc low-level drivers can add more types
when needed.

Signed-off-by: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
[ohad: some commentary, white space and commit log changes]
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>remoteproc: Support custom firmware handlers</title>
<updated>2012-07-15T08:39:01+00:00</updated>
<author>
<name>Sjur Brændeland</name>
<email>sjur.brandeland@stericsson.com</email>
</author>
<published>2012-06-19T07:08:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4afc89d66c60a372ec15e99eee93621f650b5d17'/>
<id>4afc89d66c60a372ec15e99eee93621f650b5d17</id>
<content type='text'>
Firmware handling is made customizable.
This is done by creating a separate ops structure for the
firmware functions that depends on a particular firmware
format (such as ELF). The ELF functions are default used
unless the HW driver explicitly injects another firmware
handler by updating rproc-&gt;fw_ops.
The function rproc_da_to_va() is exported, as custom
firmware handlers may need to use this function.

Signed-off-by: Sjur Brændeland &lt;sjur.brandeland@stericsson.com&gt;
[ohad: namespace fixes, whitespace fixes, style fixes]
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Firmware handling is made customizable.
This is done by creating a separate ops structure for the
firmware functions that depends on a particular firmware
format (such as ELF). The ELF functions are default used
unless the HW driver explicitly injects another firmware
handler by updating rproc-&gt;fw_ops.
The function rproc_da_to_va() is exported, as custom
firmware handlers may need to use this function.

Signed-off-by: Sjur Brændeland &lt;sjur.brandeland@stericsson.com&gt;
[ohad: namespace fixes, whitespace fixes, style fixes]
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>remoteproc: adopt the driver core's alloc/add/del/put naming</title>
<updated>2012-07-05T21:53:27+00:00</updated>
<author>
<name>Ohad Ben-Cohen</name>
<email>ohad@wizery.com</email>
</author>
<published>2012-07-04T13:25:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=160e7c840fe85836040c43e0058d5afced470c85'/>
<id>160e7c840fe85836040c43e0058d5afced470c85</id>
<content type='text'>
To make remoteproc's API more intuitive for developers, we adopt
the driver core's naming, i.e. alloc -&gt; add -&gt; del -&gt; put. We'll also
add register/unregister when their first user shows up.

Otherwise - there's no functional change here.

Suggested by Russell King &lt;linux@arm.linux.org.uk&gt;.

Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
Cc: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
Cc: Sjur Brændeland &lt;sjur.brandeland@stericsson.com&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To make remoteproc's API more intuitive for developers, we adopt
the driver core's naming, i.e. alloc -&gt; add -&gt; del -&gt; put. We'll also
add register/unregister when their first user shows up.

Otherwise - there's no functional change here.

Suggested by Russell King &lt;linux@arm.linux.org.uk&gt;.

Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
Cc: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
Cc: Sjur Brændeland &lt;sjur.brandeland@stericsson.com&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>remoteproc: remove the get_by_name/put API</title>
<updated>2012-07-05T21:53:27+00:00</updated>
<author>
<name>Ohad Ben-Cohen</name>
<email>ohad@wizery.com</email>
</author>
<published>2012-07-02T17:20:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=40e575b1d0b34b38519d361c10bdf8e0c688957b'/>
<id>40e575b1d0b34b38519d361c10bdf8e0c688957b</id>
<content type='text'>
Remove rproc_get_by_name() and rproc_put(), and the associated
remoteproc infrastructure that supports it (i.e. klist and friends),
because:

1. No one uses them
2. Using them is highly discouraged, and any potential user
   will be deeply scrutinized and encouraged to move.

If a user, that absolutely can't live with the direct boot/shutdown
model, does show up one day, then bringing this functionality back
is going to be trivial.

At this point though, keeping this functionality around is way too
much of a maintenance burden.

Cc: Sjur Brændeland &lt;sjur.brandeland@stericsson.com&gt;
Cc: Loic Pallardy &lt;loic.pallardy@stericsson.com&gt;
Cc: Ludovic BARRE &lt;ludovic.barre@stericsson.com&gt;
Cc: Michal Simek &lt;monstr@monstr.eu&gt;
Cc: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
Cc: Suman Anna &lt;s-anna@ti.com&gt;
Cc: Mark Grosen &lt;mgrosen@ti.com&gt;
Acked-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove rproc_get_by_name() and rproc_put(), and the associated
remoteproc infrastructure that supports it (i.e. klist and friends),
because:

1. No one uses them
2. Using them is highly discouraged, and any potential user
   will be deeply scrutinized and encouraged to move.

If a user, that absolutely can't live with the direct boot/shutdown
model, does show up one day, then bringing this functionality back
is going to be trivial.

At this point though, keeping this functionality around is way too
much of a maintenance burden.

Cc: Sjur Brændeland &lt;sjur.brandeland@stericsson.com&gt;
Cc: Loic Pallardy &lt;loic.pallardy@stericsson.com&gt;
Cc: Ludovic BARRE &lt;ludovic.barre@stericsson.com&gt;
Cc: Michal Simek &lt;monstr@monstr.eu&gt;
Cc: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
Cc: Suman Anna &lt;s-anna@ti.com&gt;
Cc: Mark Grosen &lt;mgrosen@ti.com&gt;
Acked-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>remoteproc: remove the now-redundant kref</title>
<updated>2012-07-05T21:53:25+00:00</updated>
<author>
<name>Ohad Ben-Cohen</name>
<email>ohad@wizery.com</email>
</author>
<published>2012-05-30T19:02:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7183a2a799b81490354973117ecd810c23cdc668'/>
<id>7183a2a799b81490354973117ecd810c23cdc668</id>
<content type='text'>
Now that every rproc instance contains a device, we don't need a
kref anymore to maintain the refcount of the rproc instances:
that's what device are good with!

This patch removes the now-redundant kref, and switches to
{get, put}_device instead of kref_{get, put}.

We also don't need the kref's release function anymore, and instead,
we just utilize the class's release handler (which is now responsible
for all memory de-allocations).

Cc: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Cc: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that every rproc instance contains a device, we don't need a
kref anymore to maintain the refcount of the rproc instances:
that's what device are good with!

This patch removes the now-redundant kref, and switches to
{get, put}_device instead of kref_{get, put}.

We also don't need the kref's release function anymore, and instead,
we just utilize the class's release handler (which is now responsible
for all memory de-allocations).

Cc: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Cc: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>remoteproc: maintain a generic child device for each rproc</title>
<updated>2012-07-05T21:53:03+00:00</updated>
<author>
<name>Ohad Ben-Cohen</name>
<email>ohad@wizery.com</email>
</author>
<published>2012-05-30T19:01:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b5ab5e24e960b9f780a4cc96815cfd4b0d412720'/>
<id>b5ab5e24e960b9f780a4cc96815cfd4b0d412720</id>
<content type='text'>
For each registered rproc, maintain a generic remoteproc device whose
parent is the low level platform-specific device (commonly a pdev, but
it may certainly be any other type of device too).

With this in hand, the resulting device hierarchy might then look like:

omap-rproc.0
 |
 - remoteproc0  &lt;---- new !
    |
    - virtio0
    |
    - virtio1
       |
       - rpmsg0
       |
       - rpmsg1
       |
       - rpmsg2

Where:
- omap-rproc.0 is the low level device that's bound to the
  driver which invokes rproc_register()
- remoteproc0 is the result of this patch, and will be added by the
  remoteproc framework when rproc_register() is invoked
- virtio0 and virtio1 are vdevs that are registered by remoteproc
  when it realizes that they are supported by the firmware
  of the physical remote processor represented by omap-rproc.0
- rpmsg0, rpmsg1 and rpmsg2 are rpmsg devices that represent rpmsg
  channels, and are registerd by the rpmsg bus when it gets notified
  about their existence

Technically, this patch:
- changes 'struct rproc' to contain this generic remoteproc.x device
- creates a new "remoteproc" type, to which this new generic remoteproc.x
  device belong to.
- adds a super simple enumeration method for the indices of the
  remoteproc.x devices
- updates all dev_* messaging to use the generic remoteproc.x device
  instead of the low level platform-specific device
- updates all dma_* allocations to use the parent of remoteproc.x (where
  the platform-specific memory pools, most commonly CMA, are to be found)

Adding this generic device has several merits:
- we can now add remoteproc runtime PM support simply by hooking onto the
  new "remoteproc" type
- all remoteproc log messages will now carry a common name prefix
  instead of having a platform-specific one
- having a device as part of the rproc struct makes it possible to simplify
  refcounting (see subsequent patch)

Thanks to Stephen Boyd &lt;sboyd@codeaurora.org&gt; for suggesting and
discussing these ideas in one of the remoteproc review threads and
to Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt; for trying them out
with the (upcoming) runtime PM support for remoteproc.

Cc: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
Reviewed-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For each registered rproc, maintain a generic remoteproc device whose
parent is the low level platform-specific device (commonly a pdev, but
it may certainly be any other type of device too).

With this in hand, the resulting device hierarchy might then look like:

omap-rproc.0
 |
 - remoteproc0  &lt;---- new !
    |
    - virtio0
    |
    - virtio1
       |
       - rpmsg0
       |
       - rpmsg1
       |
       - rpmsg2

Where:
- omap-rproc.0 is the low level device that's bound to the
  driver which invokes rproc_register()
- remoteproc0 is the result of this patch, and will be added by the
  remoteproc framework when rproc_register() is invoked
- virtio0 and virtio1 are vdevs that are registered by remoteproc
  when it realizes that they are supported by the firmware
  of the physical remote processor represented by omap-rproc.0
- rpmsg0, rpmsg1 and rpmsg2 are rpmsg devices that represent rpmsg
  channels, and are registerd by the rpmsg bus when it gets notified
  about their existence

Technically, this patch:
- changes 'struct rproc' to contain this generic remoteproc.x device
- creates a new "remoteproc" type, to which this new generic remoteproc.x
  device belong to.
- adds a super simple enumeration method for the indices of the
  remoteproc.x devices
- updates all dev_* messaging to use the generic remoteproc.x device
  instead of the low level platform-specific device
- updates all dma_* allocations to use the parent of remoteproc.x (where
  the platform-specific memory pools, most commonly CMA, are to be found)

Adding this generic device has several merits:
- we can now add remoteproc runtime PM support simply by hooking onto the
  new "remoteproc" type
- all remoteproc log messages will now carry a common name prefix
  instead of having a platform-specific one
- having a device as part of the rproc struct makes it possible to simplify
  refcounting (see subsequent patch)

Thanks to Stephen Boyd &lt;sboyd@codeaurora.org&gt; for suggesting and
discussing these ideas in one of the remoteproc review threads and
to Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt; for trying them out
with the (upcoming) runtime PM support for remoteproc.

Cc: Fernando Guzman Lugo &lt;fernando.lugo@ti.com&gt;
Reviewed-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>remoteproc: remove the hardcoded vring alignment</title>
<updated>2012-03-06T17:14:37+00:00</updated>
<author>
<name>Ohad Ben-Cohen</name>
<email>ohad@wizery.com</email>
</author>
<published>2012-02-29T12:42:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=63140e0ed2e69bdafe62bc19fd6551d9213f80a7'/>
<id>63140e0ed2e69bdafe62bc19fd6551d9213f80a7</id>
<content type='text'>
Remove the hardcoded vring alignment of 4096 bytes,
and instead utilize tha vring alignment as specified in
the resource table.

This is needed for remote processors that have rigid
memory requirement, and which have found the alignment of
4096 bytes to be excessively big.

Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
Cc: Brian Swetland &lt;swetland@google.com&gt;
Cc: Iliyan Malchev &lt;malchev@google.com&gt;
Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Cc: Mark Grosen &lt;mgrosen@ti.com&gt;
Cc: John Williams &lt;john.williams@petalogix.com&gt;
Cc: Michal Simek &lt;monstr@monstr.eu&gt;
Cc: Loic PALLARDY &lt;loic.pallardy@stericsson.com&gt;
Cc: Ludovic BARRE &lt;ludovic.barre@stericsson.com&gt;
Cc: Omar Ramirez Luna &lt;omar.luna@linaro.org&gt;
Cc: Guzman Lugo Fernando &lt;fernando.lugo@ti.com&gt;
Cc: Anna Suman &lt;s-anna@ti.com&gt;
Cc: Clark Rob &lt;rob@ti.com&gt;
Cc: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Cc: Saravana Kannan &lt;skannan@codeaurora.org&gt;
Cc: David Brown &lt;davidb@codeaurora.org&gt;
Cc: Kieran Bingham &lt;kieranbingham@gmail.com&gt;
Cc: Tony Lindgren &lt;tony@atomide.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the hardcoded vring alignment of 4096 bytes,
and instead utilize tha vring alignment as specified in
the resource table.

This is needed for remote processors that have rigid
memory requirement, and which have found the alignment of
4096 bytes to be excessively big.

Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
Cc: Brian Swetland &lt;swetland@google.com&gt;
Cc: Iliyan Malchev &lt;malchev@google.com&gt;
Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Cc: Mark Grosen &lt;mgrosen@ti.com&gt;
Cc: John Williams &lt;john.williams@petalogix.com&gt;
Cc: Michal Simek &lt;monstr@monstr.eu&gt;
Cc: Loic PALLARDY &lt;loic.pallardy@stericsson.com&gt;
Cc: Ludovic BARRE &lt;ludovic.barre@stericsson.com&gt;
Cc: Omar Ramirez Luna &lt;omar.luna@linaro.org&gt;
Cc: Guzman Lugo Fernando &lt;fernando.lugo@ti.com&gt;
Cc: Anna Suman &lt;s-anna@ti.com&gt;
Cc: Clark Rob &lt;rob@ti.com&gt;
Cc: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Cc: Saravana Kannan &lt;skannan@codeaurora.org&gt;
Cc: David Brown &lt;davidb@codeaurora.org&gt;
Cc: Kieran Bingham &lt;kieranbingham@gmail.com&gt;
Cc: Tony Lindgren &lt;tony@atomide.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
