<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/Documentation/debugging-via-ohci1394.txt, branch master</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2020-05-15T17:59:17+00:00</updated>
<entry>
<title>docs: debugging-via-ohci1394.txt: add it to the core-api book</title>
<updated>2020-05-15T17:59:17+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab+huawei@kernel.org</email>
</author>
<published>2020-05-01T15:37:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a74e2a226452ea75d26b1f83860bff91a11da1ac'/>
<id>urn:sha1:a74e2a226452ea75d26b1f83860bff91a11da1ac</id>
<content type='text'>
There is an special chapter inside the core-api book about
some debug infrastructure like tracepoints and debug objects.

It sounded to me that this is the best place to add a chapter
explaining how to use a FireWire controller to do remote
kernel debugging, as explained on this document.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Link: https://lore.kernel.org/r/9b489d36d08ad89d3ad5aefef1f52a0715b29716.1588345503.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>debugging-via-ohci1394.txt: standardize document format</title>
<updated>2017-07-14T19:51:34+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@s-opensource.com</email>
</author>
<published>2017-05-17T13:29:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7c6a2d229dd6dab7cc7563f72b78dd5867d351b4'/>
<id>urn:sha1:7c6a2d229dd6dab7cc7563f72b78dd5867d351b4</id>
<content type='text'>
Each text file under Documentation follows a different
format. Some doesn't even have titles!

Change its representation to follow the adopted standard,
using ReST markups for it to be parseable by Sphinx:

- Mark and adjust titles;
- Mark and indent literal blocks.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>docs: Fix a couple typos</title>
<updated>2017-04-27T21:54:39+00:00</updated>
<author>
<name>Stan Drozd</name>
<email>drozdziak1@gmail.com</email>
</author>
<published>2017-04-21T11:16:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9bb0e9cb04c82d6bf0e72f3207307d621083b801'/>
<id>urn:sha1:9bb0e9cb04c82d6bf0e72f3207307d621083b801</id>
<content type='text'>
This commit gets rid of some minor errors in Documentation/:
* cputopology.txt: drawes -&gt; drawers
* debugging-via-ohci1394.txt: remove an unnecessary line break
* static-keys: statemnts -&gt; statements
* zorro.txt: busses -&gt; buses

Signed-off-by: Stan Drozd &lt;drozdziak1@gmail.com&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>Doc: Change wikipedia's URL from http to https</title>
<updated>2015-06-22T16:14:05+00:00</updated>
<author>
<name>Masanari Iida</name>
<email>standby24x7@gmail.com</email>
</author>
<published>2015-06-17T15:12:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ae13c65bc74a69f06b39d0124af60710ba6d0d49'/>
<id>urn:sha1:ae13c65bc74a69f06b39d0124af60710ba6d0d49</id>
<content type='text'>
Recently wikipedia announced to secure access to the servers.
Now all http access re-route to https.

Signed-off-by: Masanari Iida &lt;standby24x7@gmail.com&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>firewire: revert to 4 GB RDMA, fix protocols using Memory Space</title>
<updated>2014-05-29T13:50:30+00:00</updated>
<author>
<name>Stefan Richter</name>
<email>stefanr@s5r6.in-berlin.de</email>
</author>
<published>2014-05-29T13:23:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2fe2023adf695d08af5b598b2be3b288a95d563c'/>
<id>urn:sha1:2fe2023adf695d08af5b598b2be3b288a95d563c</id>
<content type='text'>
Undo a feature introduced in v3.14 by commit fcd46b34425d
"firewire: Enable remote DMA above 4 GB".  That change raised the
minimum address at which protocol drivers and user programs can register
for request reception from 0x0001'0000'0000 to 0x8000'0000'0000.
It turned out that at least one vendor-specific protocol exists which
uses lower addresses:  https://bugzilla.kernel.org/show_bug.cgi?id=76921

For the time being, revert most of commit fcd46b34425d so that affected
protocols work like with kernel v3.13 and before.  Just keep the valid
documentation parts from the regressing commit, and the ability to
identify controllers which could be programmed to accept &gt;32 bit
physical DMA addresses.  The rest of fcd46b34425d should probably be
brought back as an optional instead of default feature.

Reported-by: Fabien Spindler &lt;fabien.spindler@inria.fr&gt;
Cc: &lt;stable@vger.kernel.org&gt; # 3.14+
Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>firewire: Enable remote DMA above 4 GB</title>
<updated>2014-01-20T00:11:13+00:00</updated>
<author>
<name>Stefan Richter</name>
<email>stefanr@s5r6.in-berlin.de</email>
</author>
<published>2014-01-18T16:32:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fcd46b34425da52703fe65b7f08850c509dcb0ed'/>
<id>urn:sha1:fcd46b34425da52703fe65b7f08850c509dcb0ed</id>
<content type='text'>
This makes all of a machine's memory accessible to remote debugging via
FireWire, using the physical response unit (i.e. RDMA) of OHCI-1394 link
layer controllers.

This requires actual support by the controller.  The only ones currently
known to support it are Agere/LSI FW643.  Most if not all other OHCI-1394
controllers do not implement the optional Physical Upper Bound register.
With them, RDMA will continue to be limited to the lowermost 4 GB.

firewire-ohci's startup message in the kernel log is augmented to tell
whether the controller does expose more than 4 GB to RDMA.

While OHCI-1394 allows for a maximum Physical Upper Bound of
0xffff'0000'0000 (near 256 TB), this implementation sets it to
0x8000'0000'0000 (128 TB) in order to avoid interference with applications
that require interrupt-served asynchronous request reception at
respectively low addresses.

Note, this change does not switch remote DMA on.  It only increases the
range of remote access to all memory (instead of just 4 GB) whenever
remote DMA was switched on by other means.  The latter is achieved by
setting firewire-ohci's remote_dma parameter, or if the physical DMA
filter is opened through firewire-sbp2.

Derived from patch "firewire: Enable physical DMA above 4GB" by
Peter Hurley &lt;peter@hurleysoftware.com&gt; from March 27, 2013.

Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>firewire: ohci: Turn remote DMA support into a module parameter</title>
<updated>2014-01-12T17:54:38+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2013-12-22T10:34:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8bc588e0e585bc9085df75e84d4d5635f45cf360'/>
<id>urn:sha1:8bc588e0e585bc9085df75e84d4d5635f45cf360</id>
<content type='text'>
This makes it possible to debug kernel over FireWire without the need to
recompile it.

[Stefan R: changed description from "...0" to "...N"]

Cc: Dave Hansen &lt;dave.hansen@linux.intel.com&gt;
Signed-off-by: Lubomir Rintel &lt;lkundrak@v3.sk&gt;
Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>Documentation/: update FireWire debugging documentation</title>
<updated>2014-01-12T17:54:38+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2013-12-22T10:31:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a9954ce769e2c8b450b00ab2a4e208f447996b2d'/>
<id>urn:sha1:a9954ce769e2c8b450b00ab2a4e208f447996b2d</id>
<content type='text'>
The old firewire stack is long dead now and a new version firescope has
been released with support for current kernels.

Signed-off-by: Lubomir Rintel &lt;lkundrak@v3.sk&gt;
Cc: Rob Landley &lt;rob@landley.net&gt;
Cc: Justin P. Mattock &lt;justinmattock@gmail.com&gt;
Cc: Bernhard Kaindl &lt;bk@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>ieee1394: update URLs in debugging-via-ohci1394.txt</title>
<updated>2009-10-03T07:28:11+00:00</updated>
<author>
<name>Justin P. Mattock</name>
<email>justinmattock@gmail.com</email>
</author>
<published>2009-09-29T22:13:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=211a641770c2ae191c9589fee69a8fb67f67fffd'/>
<id>urn:sha1:211a641770c2ae191c9589fee69a8fb67f67fffd</id>
<content type='text'>
Update URLs of the userspace tools to use ohci1394_dma=early for
debugging.

Seems the address ftp://ftp.suse.de/private/bk/firewire/tools/* is not
very helpful.  After a quick search, seems this was talked about:
http://www.mail-archive.com/kgdb-bugreport@lists.sourceforge.net/msg02761.html
(can't find the original thread).

Signed-off-by: Justin P. Mattock &lt;justinmattock@gmail.com&gt;
Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>firewire: fw-ohci: add option for remote debugging</title>
<updated>2008-04-18T15:55:33+00:00</updated>
<author>
<name>Stefan Richter</name>
<email>stefanr@s5r6.in-berlin.de</email>
</author>
<published>2008-02-28T19:54:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=080de8c2c57e3199eee837fe8b6d35a43679f8c1'/>
<id>urn:sha1:080de8c2c57e3199eee837fe8b6d35a43679f8c1</id>
<content type='text'>
This way firewire-ohci can be used for remote debugging like ohci1394.
Version with amendment from Fri, 11 Apr 2008 00:08:08 +0200.

Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
Acked-by: Bernhard Kaindl &lt;bk@suse.de&gt;
</content>
</entry>
</feed>
